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

Function closeSession

packages/node-sdk/src/rpc.ts:182–185  ·  view source on GitHub ↗
(input: SessionIdRpcInput)

Source from the content-addressed store, hash-verified

180 }
181
182 async closeSession(input: SessionIdRpcInput): Promise<void> {
183 const rpc = await this.getRpc();
184 return rpc.closeSession({ sessionId: input.sessionId });
185 }
186
187 async listSessions(input: ListSessionsOptions = {}): Promise<readonly SessionSummary[]> {
188 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

closeSessionMethod · 0.65
getRpcMethod · 0.45

Tested by

no test coverage detected