@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 796 B
TypeScript
import type { Socket } from "node:net";
import type { Duplex } from "node:stream";
import { type HostAdmission } from "./host-admission.ts";
import type { PublicRpcConnection } from "./rpc-public-auth.ts";
/**
* Requests are size-bounded; each direction awaits downstream socket backpressure.
* Opens remain concurrent with control commands. Stop refuses every pending open,
* while other commands retain their wire order and child-owned semantics.
*/
export declare function proxyWithAdmission(client: Socket, internal: Duplex | undefined, admission: HostAdmission, auth?: PublicRpcConnection,
/** The client proved the launch credential at admission (the Windows public secret): say so to the host first. */
launchProven?: boolean): void;
//# sourceMappingURL=host-admission-proxy.d.ts.map