UNPKG

@code-yeongyu/senpi

Version:

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

14 lines • 833 B
/** `/proc/<pid>/stat` field 22 (start time in clock ticks since boot), or `undefined` when unreadable or off Linux. */ export declare function readProcessStartTicks(pid: number, platform?: NodeJS.Platform): string | undefined; export interface RecordedStart { readonly ticks?: string; readonly time?: string; } export interface StartProbe { ticks(pid: number): string | undefined; time(pid: number): Promise<string | undefined>; } /** `unknown` whenever either side is missing or unreadable: an unreadable identity is never evidence of reuse. */ export type StartComparison = "same" | "changed" | "unknown"; export declare function compareRecordedStart(pid: number, recorded: RecordedStart, platform: NodeJS.Platform, probe: StartProbe): Promise<StartComparison>; //# sourceMappingURL=process-start-identity.d.ts.map