Skip to content

Fix macOS transcription hotkey reliability#482

Open
basnijholt wants to merge 1 commit into
mainfrom
fix-macos-transcription-hotkey
Open

Fix macOS transcription hotkey reliability#482
basnijholt wants to merge 1 commit into
mainfrom
fix-macos-transcription-hotkey

Conversation

@basnijholt
Copy link
Copy Markdown
Owner

Summary

  • debounce the macOS transcription hotkey so repeated skhd key-down events cannot immediately start and stop recording
  • keep transcription hotkey diagnostics in cache logs instead of discarding stderr
  • patch skhd.app during macOS hotkey setup with a microphone usage description, re-sign it, reset stale TCC grants, and re-register the service when needed
  • document the Accessibility and Microphone permission requirements

Verification

  • bash -n scripts/macos-hotkeys/toggle-transcription.sh scripts/setup-macos-hotkeys.sh scripts/macos-hotkeys/toggle-autocorrect.sh scripts/macos-hotkeys/toggle-voice-edit.sh
  • uv run ruff check agent_cli/install/hotkeys.py
  • uv run pytest tests/install/test_extras.py tests/test_requires_extras.py -q
  • stubbed debounce smoke test with NOTIFIER=/usr/bin/true and AGENT_CLI=/usr/bin/true

@basnijholt basnijholt force-pushed the fix-macos-transcription-hotkey branch from d2eb38e to 97d9d25 Compare May 13, 2026 22:55
@basnijholt basnijholt force-pushed the fix-macos-transcription-hotkey branch from 97d9d25 to 1c2d07d Compare May 29, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant