feat: add authenticated durable native Hope chat

This commit is contained in:
snowspeeder committed 2026-10-03 09:06:06 -04:00
1 parent 74d2b63614
commit 7dcd06c911
15 files changed
+1675 -9

No files matched your search

+6
View File
@@ -112,6 +112,12 @@ final class VoiceSession: ObservableObject {
NotificationCenter.default.removeObserver(self)
}
/// Explicit chat-to-Talk navigation tears down the prior room first.
func bindConversation(_ id: String?) async {
await disconnect()
tokenClient.conversationID = id
}
private func handleControlEvent(_ event: ControlChannel.InboundEvent) {
// Restrict inbound control-event application to active lifecycle states
// so late events from a failed/tearing-down room cannot repopulate stale