Dictating a coding prompt and dictating an email can involve the same microphone and speech recognizer. They should not necessarily involve the same writing style—or the same action after the text appears.
We build Clavio, hands-free dictation for Mac, at Just Tools LTD. This is a developer's explanation of one part of the app: how we separate application identity, writing preferences, listening mode, and delivery. The implementation details below are based on our Mac code; the short pseudocode is illustrative, not a drop-in library.
The video above is our existing walkthrough, including wake-word setup and a separate profile for Claude.
1. “The active app” is more than one value
On macOS, NSWorkspace exposes the frontmost application and an application-activation notification. That gives a useful starting point: identify an app by its bundle identifier, not its display name.
But reading the frontmost app only when transcription finishes is too late. Someone can st
Discussion
Break the silence
Take the opportunity to kick things off.