claudes-office
Version:
CLI tool to initialize Claude's office in your project
33 lines (32 loc) • 1.07 kB
TypeScript
/**
* Update notifier utility for the update command
* Appends update information to the user's CLAUDE.md file
*/
/**
* Update notification to append to CLAUDE.md
*/
export interface UpdateNotification {
/** Version that was updated to */
version: string;
/** List of new features */
newFeatures: string[];
/** List of breaking changes */
breakingChanges: string[];
/** List of other changes */
otherChanges: string[];
}
/**
* Append update information to user's CLAUDE.md file
*
* @param claudeMdPath - Path to the user's CLAUDE.md file
* @param notification - Update notification to append
* @returns Whether the notification was successfully appended
*/
export declare function appendUpdateNotification(claudeMdPath: string, notification: UpdateNotification): Promise<boolean>;
/**
* Get notification for a specific version
*
* @param version - Version to get notification for
* @returns Update notification for the specified version
*/
export declare function getVersionNotification(version: string): UpdateNotification;