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

Method constructor

packages/node-sdk/src/config-rpc.ts:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 private readonly ready: Promise<RPCMethods<KimiConfigCoreRpc>>;
60
61 constructor() {
62 const [coreRpc, clientRpc] = createRPC<KimiConfigCoreRpc, KimiConfigClientRpc>();
63 void coreRpc(new KimiConfigCoreRpcImpl());
64 this.ready = clientRpc({});
65 }
66
67 async resolveConfigPath(input: ResolveKimiConfigPathInput = {}): Promise<string> {
68 const rpc = await this.ready;

Callers

nothing calls this directly

Calls 1

createRPCFunction · 0.90

Tested by

no test coverage detected