UNPKG

@code-yeongyu/senpi

Version:

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

12 lines • 882 B
import { type KeyObject } from "node:crypto"; import type { Duplex } from "node:stream"; export declare function signed(value: unknown, transcript: string, key: KeyObject): boolean; /** The control challenge each signed command proves; a fresh nonce pair binds it to one exchange. */ export declare function challengeTranscript(hostInstance: string, backendGeneration: string, command: unknown): string; export declare function send(stream: Duplex, value: object): void; /** * Bound before parsing. Neither malformed bodies nor parser exceptions enter diagnostics. `"parked"`: the channel * waits up to `PRESENTER_PARKING_MS` for its first frame, and the exchange window starts with that frame. */ export declare function privateFrames(stream: Duplex, receive: (value: unknown) => void, deadline?: boolean | "parked"): () => void; //# sourceMappingURL=mcp-presenter-wire.d.ts.map