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

Method compactSession

packages/server-e2e/src/http.ts:225–234  ·  view source on GitHub ↗
(
    sid: string,
    body: CompactSessionRequest = {},
  )

Source from the content-addressed store, hash-verified

223 return this.request('POST', `/sessions/${encodeURIComponent(sid)}:fork`, body);
224 }
225 compactSession(
226 sid: string,
227 body: CompactSessionRequest = {},
228 ): Promise<CompactSessionResponse> {
229 return this.request(
230 'POST',
231 `/sessions/${encodeURIComponent(sid)}:compact`,
232 body,
233 );
234 }
235 undoSession(
236 sid: string,
237 body: UndoSessionRequest = { count: 1 },

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected