mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Race microphone startup against a 10s timeout to prevent the voice button from getting stuck in a loading state when the microphone never actually starts. On timeout, abort the recorder/recognizer, reset all STT state, and return false so the UI can recover.