mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
Preserve history when deduplicating agent sessions (#471)
* fix(hub): merge histories for duplicate agent sessions * fix(hub,web): refresh active duplicate history merges * fix(hub): avoid active-active history merges * fix(web): reset message window on history invalidation --------- Co-authored-by: Liu-KM <Liu-KM@users.noreply.github.com>
This commit is contained in:
@@ -202,6 +202,7 @@ export class SyncEngine {
|
||||
collaborationMode?: CodexCollaborationMode
|
||||
}): void {
|
||||
this.sessionCache.handleSessionAlive(payload)
|
||||
this.triggerDedupIfNeeded(payload.sid)
|
||||
}
|
||||
|
||||
handleSessionEnd(payload: { sid: string; time: number }): void {
|
||||
|
||||
Reference in New Issue
Block a user