MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / rightClient

Function rightClient

packages/agent-core/src/rpc/client.ts:99–102  ·  view source on GitHub ↗
(self: PromisableMethods<Right>)

Source from the content-addressed store, hash-verified

97 }
98
99 async function rightClient(self: PromisableMethods<Right>): Promise<RPCMethods<Left>> {
100 right.resolve(bindAllFunctions(self));
101 return objectMap(await left, (key, fn) => [key, mapRpcFunction(fn)]) as RPCMethods<Left>;
102 }
103
104 return [leftClient, rightClient];
105}

Callers

nothing calls this directly

Calls 3

bindAllFunctionsFunction · 0.85
mapRpcFunctionFunction · 0.85
resolveMethod · 0.65

Tested by

no test coverage detected