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

Function exportSession

packages/node-sdk/src/rpc.ts:200–210  ·  view source on GitHub ↗
(input: ExportSessionInput)

Source from the content-addressed store, hash-verified

198 }
199
200 async exportSession(input: ExportSessionInput): Promise<ExportSessionResult> {
201 const rpc = await this.getRpc();
202 return rpc.exportSession({
203 sessionId: input.id,
204 outputPath: input.outputPath,
205 includeGlobalLog: input.includeGlobalLog,
206 version: input.version,
207 installSource: input.installSource,
208 shellEnv: input.shellEnv,
209 });
210 }
211
212 async getConfig(input?: GetConfigOptions): Promise<KimiConfig> {
213 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45
exportSessionMethod · 0.45

Tested by

no test coverage detected