@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
7 lines • 535 B
TypeScript
import type { RpcCommand, RpcResponse } from "./rpc-types.ts";
import type { RouterContext } from "./session-router-context.ts";
/** Effect-based reads only. New session commands require attachment by default. */
export declare const ATTACH_GATE_EXEMPT: ReadonlySet<RpcCommand["type"]>;
/** Socket ownership is checked before lifecycle routing AND before worker dispatch. */
export declare function attachmentGate(host: RouterContext, command: RpcCommand): RpcResponse | undefined;
//# sourceMappingURL=session-attachment-gate.d.ts.map