UNPKG

@code-yeongyu/senpi

Version:

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

15 lines • 1.01 kB
/** * Whether this platform can record a process start time at registration. On Windows the CIM probe often * outlives its 1 s budget while a host starts, so engine hosts record `processStartTime: null` (measured * on a Windows runner) and a generation-bound stop cannot compare start times (omo-desktop-app#3561). */ export declare function processStartTimeIsUnreadable(): boolean; /** The live start time of `pid` now, or undefined when the process is gone. Throws when unreadable. */ export declare function readLiveStartTime(pid: number): Promise<string | undefined>; /** * Proves, without a recorded start time, that `pid` is still the process that wrote `registrationFile`: * that process started before it wrote the file, so a live start time LATER than the file's mtime is a * reused pid. Gone, unreadable or unparseable is not proven. */ export declare function startedBeforeRegistration(pid: number, registrationFile: string): Promise<boolean>; //# sourceMappingURL=host-stop-start-time.d.ts.map