/** * Result of orphan cleanup */ export interface CleanupResult { /** .sum files that were deleted */ deletedSumFiles: string[]; /** AGENTS.md files that were deleted (from empty directories) */ deletedAgentsMd: string[]; } /** * Options for the update command */ export interface UpdatePlanOptions { /** Include uncommitted changes (staged + working directory) */ includeUncommitted?: boolean; /** Dry run - show what would change without making changes */ dryRun?: boolean; /** Eval variant (e.g., "claude.haiku") — checks variant-specific .sum files */ variant?: string; } /** * Result of an update run */ export interface UpdateResult { /** Files that were analyzed (added or modified) */ analyzedFiles: string[]; /** Files that were skipped (unchanged) */ skippedFiles: string[]; /** Cleanup result (deleted .sum and AGENTS.md files) */ cleanup: CleanupResult; /** Directories whose AGENTS.md was regenerated */ regeneratedDirs: string[]; /** Git commit hash at start of update */ baseCommit: string; /** Git commit hash at end of update */ currentCommit: string; /** Whether this was a dry run */ dryRun: boolean; } /** * Progress callback for update operations */ export interface UpdateProgress { /** Called when a file is about to be processed */ onFileStart?: (path: string, status: 'analyzing' | 'skipping') => void; /** Called when a file is done processing */ onFileDone?: (path: string, status: 'analyzed' | 'skipped' | 'error') => void; /** Called when cleanup deletes a file */ onCleanup?: (path: string, type: 'sum' | 'agents-md') => void; /** Called when a directory AGENTS.md is regenerated */ onDirRegenerate?: (path: string) => void; } //# sourceMappingURL=types.d.ts.map