UNPKG

@code-yeongyu/senpi

Version:

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

9 lines • 779 B
import type { PayloadRef } from "./protocol.ts"; export declare function refGenerationDir(root: string, generation: number): string; export declare function refFilePath(root: string, ref: Pick<PayloadRef, "refId" | "generation">): string; export declare function spoolDir(root: string, generation: number): string; /** Generation teardown: every ref of that generation, acknowledged or not, and its `spool/`. */ export declare function teardownRefGeneration(root: string, generation: number): Promise<void>; /** Removes the directory of every generation not in `live` (left by a dead child or server); returns them, sorted. */ export declare function sweepRefGenerations(root: string, live: ReadonlySet<number>): Promise<number[]>; //# sourceMappingURL=payload-ref-paths.d.ts.map