UNPKG

@code-yeongyu/senpi

Version:

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

8 lines • 924 B
import type { RpcInboundRecord } from "./rpc-types.ts"; import type { RpcSessionBinding } from "./session-binding.ts"; import { type RpcSessionEntry } from "./session-registry-types.ts"; /** Fresh leases at each boundary; daemon identity resolution is lazy and scoped to one command. */ export declare function sessionHeldCheck(resolveDaemonPids?: (observedStarts: ReadonlyMap<number, number | undefined>) => Promise<readonly number[]>): (sessionFile: string | undefined, sessionId?: string) => Promise<void>; /** The session-command admission boundary shared by in-process and worker hosts. */ export declare function dispatchSessionBinding(command: RpcInboundRecord, entry: RpcSessionEntry, binding: RpcSessionBinding | undefined, acknowledgePrompt: () => void, daemonPids?: (observedStarts: ReadonlyMap<number, number | undefined>) => Promise<readonly number[]>): Promise<void>; //# sourceMappingURL=session-held.d.ts.map