UNPKG

@code-yeongyu/senpi

Version:

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

10 lines • 798 B
import type { Epoch } from "./compact-admission-types.ts"; /** RULING-113: a terminal row stays answerable as the most recent LRU entry; a live row is never retained. */ export declare function retainDone(epoch: Epoch, key: string, admissionId: string): void; /** * Evict least-recent terminal rows (file and reservation) until one more row fits; each leaves its digest. A row * whose admission still routes a stream is skipped (#5274: `reset_stream` reads it), yet still counts, so rows on * disk never exceed `capacity` and a fresh attempt is refused only when every row is live. */ export declare function reserveRow(epoch: Epoch, capacity: number, routed: (admissionId: string) => boolean, overflowed: () => void): Promise<boolean>; //# sourceMappingURL=compact-admission-retention.d.ts.map