diff --git a/apps/macos/Sources/Clawdis/GatewayProcessManager.swift b/apps/macos/Sources/Clawdis/GatewayProcessManager.swift index 2196f0aed..3bef40228 100644 --- a/apps/macos/Sources/Clawdis/GatewayProcessManager.swift +++ b/apps/macos/Sources/Clawdis/GatewayProcessManager.swift @@ -231,8 +231,4 @@ final class GatewayProcessManager: ObservableObject { func projectRootPath() -> String { CommandResolver.projectRootPath() } - - func clearLog() { - self.log = "" - } } diff --git a/apps/macos/Sources/Clawdis/VoiceWakeOverlay.swift b/apps/macos/Sources/Clawdis/VoiceWakeOverlay.swift index aa1051579..7f0f9d385 100644 --- a/apps/macos/Sources/Clawdis/VoiceWakeOverlay.swift +++ b/apps/macos/Sources/Clawdis/VoiceWakeOverlay.swift @@ -271,6 +271,8 @@ final class VoiceWakeOverlayController: ObservableObject { active=\(active.uuidString, privacy: .public) \ got=\(token.uuidString, privacy: .public) """) + // If tokens diverge, clear the stale overlay so the UI can resync. + self.dismiss(reason: .explicit, outcome: .empty) return false } return true