@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 543 B
TypeScript
import type { Socket } from "node:net";
import type { Duplex } from "node:stream";
type Frame = Record<string, unknown>;
/** `timeoutMs` bounds the whole client handshake on a monotonic timer; omitted, there is no deadline. */
export declare function connectInternalConnection(socket: Socket, key: Buffer, options?: {
readonly timeoutMs?: number;
}): Promise<Duplex>;
export declare function acceptInternalConnection(socket: Socket, key: Buffer, protocol?: Frame): Promise<Duplex>;
export {};
//# sourceMappingURL=internal-channel.d.ts.map