MCPcopy Create free account
hub / github.com/tiann/hapi / mergeSessions

Method mergeSessions

hub/src/sync/sessionCache.ts:666–668  ·  view source on GitHub ↗
(oldSessionId: string, newSessionId: string, namespace: string)

Source from the content-addressed store, hash-verified

664 }
665
666 async mergeSessions(oldSessionId: string, newSessionId: string, namespace: string): Promise<void> {
667 await this.mergeSessionData(oldSessionId, newSessionId, namespace, { deleteOldSession: true })
668 }
669
670 async mergeSessionHistory(
671 oldSessionId: string,

Callers 3

resumeSessionMethod · 0.80

Calls 1

mergeSessionDataMethod · 0.95

Tested by

no test coverage detected