UNPKG

@code-yeongyu/senpi

Version:

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

17 lines • 1.1 kB
export interface KernelProcessIdentity { readonly ppid: number; readonly startedAtMs: number; /** The boot this start time is relative to (linux); undefined where the start time is a wall-clock stamp. */ readonly bootId: string | undefined; /** Exited but not yet reaped: the pid is still taken, but nothing runs under it. */ readonly zombie: boolean; } export declare function readKernelProcessIdentity(pid: number): Promise<KernelProcessIdentity | undefined>; /** * The darwin-on-Node `ps` reader; exported so the spawn-failure regression (#6990) can pin its never-throw contract. * `execFile` throws synchronously when the spawn itself fails (EPERM, EAGAIN), inside the Promise executor. */ export declare function darwinPsIdentity(pid: number): Promise<KernelProcessIdentity | undefined>; /** One `ps -o ppid=,stat=,lstart=` line printed under `TZ=UTC`; the start time is read as UTC whatever the reader's zone. */ export declare function parseDarwinPsIdentity(stdout: string): KernelProcessIdentity | undefined; //# sourceMappingURL=kernel-process-identity.d.ts.map