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

Method undoSession

packages/server-e2e/src/http.ts:235–244  ·  view source on GitHub ↗
(
    sid: string,
    body: UndoSessionRequest = { count: 1 },
  )

Source from the content-addressed store, hash-verified

233 );
234 }
235 undoSession(
236 sid: string,
237 body: UndoSessionRequest = { count: 1 },
238 ): Promise<UndoSessionResponse> {
239 return this.request(
240 'POST',
241 `/sessions/${encodeURIComponent(sid)}:undo`,
242 body,
243 );
244 }
245 archiveSession(sid: string): Promise<{ archived: true }> {
246 return this.request('POST', `/sessions/${encodeURIComponent(sid)}:archive`, {});
247 }

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected