UNPKG

@code-yeongyu/senpi

Version:

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

10 lines • 573 B
import { type HostOutcome } from "./host-outcome.ts"; import type { RpcClient, RpcTransportGoneError } from "./rpc-client.ts"; export interface HostSessionWait { readonly until: "idle" | "done"; readonly timeoutMs: number; } type TransportLossHandler = ((error: RpcTransportGoneError) => void) | undefined; export declare function waitForHostSession(client: RpcClient, sessionId: string | undefined, request: HostSessionWait, onTransportLoss: (handler: TransportLossHandler) => void): Promise<HostOutcome>; export {}; //# sourceMappingURL=host-session-wait.d.ts.map