UNPKG

@code-yeongyu/senpi

Version:

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

21 lines • 957 B
/** * The public admission authority lives on the supervisor's loop. A ready probe is * informational: every open must still pass this gate, including on held sockets. */ export declare class HostAdmission { private stopped; private readonly listeners; private replies; private info; constructor(info: Readonly<Record<string, unknown>>); get stopping(): boolean; protocol(): Readonly<Record<string, unknown>>; observe(info: Readonly<Record<string, unknown>>): void; /** Synchronous and monotonic; runs before any child signal or awaited teardown. */ stop(): void; /** Flush within the caller's existing five-second cleanup allowance; a stalled reader cannot pin exit. */ flush(): Promise<void>; onStop(listener: () => Promise<void>): () => void; } export declare function hostStoppingResponse(id: unknown, command: string, admission: HostAdmission): object; //# sourceMappingURL=host-admission.d.ts.map