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

Function createSession

packages/node-sdk/src/rpc.ts:132–137  ·  view source on GitHub ↗
(input: CreateSessionOptions)

Source from the content-addressed store, hash-verified

130 protected abstract getRpc(): Promise<ResolvedCoreAPI>;
131
132 async createSession(input: CreateSessionOptions): Promise<SessionSummary> {
133 const rpc = await this.getRpc();
134 const { planMode, ...coreInput } = input;
135 void planMode;
136 return rpc.createSession(coreInput);
137 }
138
139 async createSessionWithKaos(
140 input: CreateSessionOptions,

Callers

nothing calls this directly

Calls 2

createSessionMethod · 0.65
getRpcMethod · 0.45

Tested by

no test coverage detected