Session Sync Repair

Nucleic-Session: 0C7BC346-0002-4533-ADDD-3B4C92E58527
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 04:30:00 -07:00
co-authored by Nucleic
parent 628f26bdfb
commit e650bdff4c
@@ -453,7 +453,9 @@ final class HostConnection {
callbacks.didUpdate()
send(.listSessions)
send(.listDashboard)
if let id = openSessionID { send(.subscribe(Subscribe(sessionID: id, sinceSeq: nil, verbosity: .full))) }
// Warm-resubscribe from what we already have, so a reconnect on a long transcript replays
// only the gap rather than snapping back to the host's 200-event tail.
if let id = openSessionID { send(.subscribe(Subscribe(sessionID: id, sinceSeq: openMaxSeq, verbosity: .full))) }
case .sessionList(let list):
sessions = list
callbacks.didUpdate()