UNPKG

@hugsylabs/hugsy

Version:

🐧 Hugsy - Configuration management for Claude Code. Transform complex settings into simple, shareable team standards.

55 lines 1.17 kB
/** * Claude Code settings.json utilities */ interface HookEntry { matcher: string; hooks: { type: string; command: string; timeout?: number; }[]; } interface ClaudeSettings { hooks?: Record<string, HookEntry[]>; [key: string]: unknown; } export declare class ClaudeConfig { /** * Check if Claude Code settings exist */ static exists(): boolean; /** * Read Claude Code settings */ static read(): ClaudeSettings | null; /** * Write Claude Code settings */ static write(settings: ClaudeSettings): boolean; /** * Backup current settings */ static backup(): boolean; /** * Restore from backup */ static restore(): boolean; /** * Check if Hugsy is installed */ static isHugsyInstalled(): boolean; /** * Add Hugsy hook */ static addHugsyHook(hookPath: string): boolean; /** * Remove Hugsy hook */ static removeHugsyHook(): boolean; /** * Get Hugsy hook path if installed */ static getHugsyHookPath(): string | null; } export {}; //# sourceMappingURL=claude-config.d.ts.map