@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
7 lines • 666 B
TypeScript
import type { MonitorSpillResult } from "./monitor-overflow.ts";
export declare function monitorOverflowPath(terminalDir: string, monitorId: string): string;
/** Append `lines` to the watch's overflow file. Throws on a filesystem error. */
export declare function appendMonitorOverflow(terminalDir: string, monitorId: string, lines: readonly string[], maxBytes?: number): MonitorSpillResult;
/** Remove overflow files (and rotated copies) not written for longer than a durable watch lives. */
export declare function sweepMonitorOverflowFiles(terminalDir: string, now?: number, maxAgeMs?: number): Promise<number>;
//# sourceMappingURL=monitor-overflow-file.d.ts.map