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

Function forkSession

packages/node-sdk/src/rpc.ts:172–180  ·  view source on GitHub ↗
(input: ForkSessionInput)

Source from the content-addressed store, hash-verified

170 }
171
172 async forkSession(input: ForkSessionInput): Promise<SessionSummary> {
173 const rpc = await this.getRpc();
174 return rpc.forkSession({
175 sessionId: input.id,
176 id: input.forkId,
177 title: input.title,
178 metadata: input.metadata,
179 });
180 }
181
182 async closeSession(input: SessionIdRpcInput): Promise<void> {
183 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

forkSessionMethod · 0.65
getRpcMethod · 0.45

Tested by

no test coverage detected