UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

10 lines • 774 B
import { type SweepOutcome } from "./group-ownership.ts"; /** Sweeps the owned groups one ledger names. */ export declare function sweepLedger(path: string): Promise<SweepOutcome[]>; /** Sweeps and removes every generation ledger left in a session's tool-child directory. */ /** The file in a generation's directory naming the pid of the child that generation started. */ export declare const GENERATION_CHILD_FILE = "child.pid"; /** Records the child a generation started, so a later start can tell a live generation from a stale one. */ export declare function recordGenerationChild(dir: string, generation: number, pid: number): Promise<void>; export declare function sweepStaleGenerations(dir: string): Promise<SweepOutcome[]>; //# sourceMappingURL=orphan-sweep.d.ts.map