fix(talk): fix ensure permissions on first execution of Talk Mode in MacOS (#62459)

* fix(talk): fix ensure permissions on first execution of Talk Mode in MacOS

* macos: fix talk mode formatting

* test: fix CI shard regressions

* docs: add talk mode changelog

---------

Co-authored-by: ImLukeF <92253590+ImLukeF@users.noreply.github.com>
This commit is contained in:
Gustavo Garcia
2026-04-11 10:08:45 +02:00
committed by GitHub
parent 2681bbd9e7
commit bb543f71d9
5 changed files with 12 additions and 7 deletions

View File

@@ -128,8 +128,9 @@ actor TalkModeRuntime {
private func start() async {
let gen = self.lifecycleGeneration
guard voiceWakeSupported else { return }
guard PermissionManager.voiceWakePermissionsGranted() else {
self.logger.debug("talk runtime not starting: permissions missing")
guard await PermissionManager.ensureVoiceWakePermissions(interactive: true) else {
self.logger.error("talk runtime not starting: permissions missing")
return
}
await self.reloadConfig()