@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
20 lines • 905 B
TypeScript
/**
* What a host child removes when its supervisor dies without cleaning up, in the order it removes
* them. The registration pointer comes LAST: every reader takes "no pointer" to mean "this endpoint
* has no host", so the pointer may only disappear once everything it describes is already gone
* (senpi#2241).
*/
export interface HostCleanupTargets {
readonly pointerFile: string;
readonly generationPidFile: string;
readonly settingsFile: string;
readonly publicSocket: string;
/**
* A successor writes no registration of its own until the ensure that spawned it does, and the
* files under these paths still describe the generation being replaced.
*/
readonly successor: boolean;
readonly platform: NodeJS.Platform;
}
export declare function hostCrashCleanupPaths(targets: HostCleanupTargets): string[];
//# sourceMappingURL=host-cleanup-paths.d.ts.map