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

Method onResync

apps/kimi-web/src/api/daemon/ws.ts:39–39  ·  view source on GitHub ↗

Called when server says client is out of sync for a session

(sessionId: string, currentSeq: number, epoch?: string)

Source from the content-addressed store, hash-verified

37 }): void;
38 /** Called when server says client is out of sync for a session */
39 onResync(sessionId: string, currentSeq: number, epoch?: string): void;
40 /** Called when the WS connection opens or closes */
41 onConnectionState(connected: boolean): void;
42 /** Called on error frames or JSON parse failures */

Callers 2

connectEventsMethod · 0.65
handleFrameMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected