@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 834 B
TypeScript
import type { CompactContentIndex } from "./compact-content-index.ts";
type Index = Pick<CompactContentIndex<object>, "store" | "values" | "bases" | "overlays" | "base" | "overrides" | "pages" | "pending" | "ready" | "residentPages" | "peakResidentPages" | "readPage" | "freeze" | "release" | "drop" | "status">;
/** One bounded selection and one optional small page, with a single atomic representation swap. */
export declare class CompactIndexCompactor {
private readonly index;
private readonly threshold;
private running;
constructor(index: Index, threshold: number);
schedule(): void;
/** Key-ordered ready keys preserve page locality without looking up the pending backlog (senpi#4575). */
private readyEntries;
private compact;
}
export {};
//# sourceMappingURL=compact-index-compactor.d.ts.map