MCPcopy Create free account
hub / github.com/clawbot7/cli-gateway /

Class

test/bindingRuntime.prompt.test.ts:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19import type { JsonRpcMessage, JsonRpcRequest, JsonRpcResponse } from '../src/acp/jsonrpc.js';
20
21class FakeRpc implements StdioProcess {
22 private messageHandlers: Array<(m: JsonRpcMessage) => void> = [];
23 private stderrHandlers: Array<(line: string) => void> = [];
24 written: JsonRpcMessage[] = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected