@pimzino/claude-code-spec-workflow
Version: 
Automated workflows for Claude Code. Includes spec-driven development (Requirements → Design → Tasks → Implementation) with intelligent task execution, optional steering documents and streamlined bug fix workflow (Report → Analyze → Fix → Verify). We have
35 lines • 1.03 kB
TypeScript
/**
 * Automatic update functionality
 * Checks for newer versions and auto-updates the package
 */
/**
 * Get the current package version
 */
export declare function getCurrentVersion(): string;
/**
 * Get the latest version from npm registry
 */
export declare function getLatestVersion(packageName: string): Promise<string | null>;
/**
 * Compare two semantic versions
 * Returns: 1 if v1 > v2, -1 if v1 < v2, 0 if equal
 */
export declare function compareVersions(v1: string, v2: string): number;
/**
 * Check if an update is available
 */
export declare function checkForUpdate(packageName: string): Promise<{
    hasUpdate: boolean;
    currentVersion: string;
    latestVersion: string | null;
}>;
/**
 * Perform automatic update
 */
export declare function performAutoUpdate(packageName: string): Promise<boolean>;
/**
 * Main auto-update function
 * Checks for updates and auto-updates if available
 */
export declare function autoUpdate(packageName?: string): Promise<boolean>;
//# sourceMappingURL=auto-update.d.ts.map