@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
12 lines (11 loc) • 577 B
TypeScript
import { type RunStoreGit } from "./store-merge.js";
/** Git state untouched this long is abandoned: no Phren step holds a merge open for minutes. */
export declare const STALE_GIT_STATE_MS: number;
export declare const STALE_INDEX_LOCK_MS: number;
export declare const BACKUP_REF_KEEP_DAYS = 14;
export interface CleanupOptions {
now?: number;
backupKeepDays?: number;
}
/** Removes abandoned sync leftovers and says what it removed, one line each. */
export declare function cleanupStore(store: string, git: RunStoreGit, options?: CleanupOptions): Promise<string[]>;