Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
feat(speech): default dictation shortcut → Cmd+Alt+D
enes5419a578dec0
diff --git a/docs/SERVER.md b/docs/SERVER.mdindex 122d8ece3..3e5547c1a 100644--- a/docs/SERVER.md+++ b/docs/SERVER.md@@ -151,7 +151,7 @@ would otherwise be blocked) — rebuild the renderer or update the rewrite.### Dictation-Voice-to-text input works in the browser via the **same core speech service** the desktop app uses. Dictate with ⌘⇧D (or the dock mic button); transcribed text goes into the overlay's editable field and is sent only via explicit Send/Insert into the node that was selected when the overlay opened — nothing auto-submits. **Browser constraints:** `getUserMedia` requires a **secure context** — HTTPS or `localhost`; the microphone permission prompt is the browser's own. **Model storage:** Downloaded models (tiny free tier; larger Pro models) are stored on the **server's data dir** under `speech-models/`, persisted across sessions and server restarts.+Voice-to-text input works in the browser via the **same core speech service** the desktop app uses. Dictate with ⌘⌥D (or the dock mic button); transcribed text goes into the overlay's editable field and is sent only via explicit Send/Insert into the node that was selected when the overlay opened — nothing auto-submits. **Browser constraints:** `getUserMedia` requires a **secure context** — HTTPS or `localhost`; the microphone permission prompt is the browser's own. **Model storage:** Downloaded models (tiny free tier; larger Pro models) are stored on the **server's data dir** under `speech-models/`, persisted across sessions and server restarts.## Documented deviations from the specdiff --git a/src/core/settings-store.test.ts b/src/core/settings-store.test.tsindex 725264680..bb0cb9358 100644--- a/src/core/settings-store.test.ts+++ b/src/core/settings-store.test.ts@@ -40,7 +40,10 @@ describe('SettingsStore nested-default merge', () => {it('leaves an already-modern speech object alone', () => {writeFileSync(path.join(dir, 'settings.json'),- JSON.stringify({ speech: { engine: 'cloud', model: 'base', language: 'tr', shortcut: 'Cmd+Alt+D' } }),+ // Deliberately a different combo than DEFAULT_SETTINGS.speech.shortcut, so this test can't+ // pass by accident if the merge ever silently fell back to the default instead of preserving+ // the file's explicit value.+ JSON.stringify({ speech: { engine: 'cloud', model: 'base', language: 'tr', shortcut: 'Cmd+Shift+D' } }),'utf-8')const store = new SettingsStore()@@ -49,7 +52,7 @@ describe('SettingsStore nested-default merge', () => {engine: 'cloud',model: 'base',language: 'tr',- shortcut: 'Cmd+Alt+D'+ shortcut: 'Cmd+Shift+D'})})diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsxindex 614e9cedc..ff7c5600d 100644--- a/src/renderer/canvas/Canvas.tsx+++ b/src/renderer/canvas/Canvas.tsx@@ -992,7 +992,7 @@ export function Canvas() {}}, [sessionsPinned])- // ⌘⇧D / Dock mic button: press-to-talk toggle. Closed → opens the dictation pill targeting the+ // ⌘⌥D / Dock mic button: press-to-talk toggle. Closed → opens the dictation pill targeting the// first selected terminal/chat node (agent nodes are `type: 'terminal'` with `data.agentId`// set — no separate case needed) and starts recording immediately (or, with no such node// selected, shows a brief warning pill — see DictationOverlay's mount effect). Already open →@@ -2508,7 +2508,7 @@ export function Canvas() {requireProOr('Remote SSH terminals', () => setRemotePicker(screenPos))}, [])- // ⌘T = new terminal, ⌘⇧C = new default agent, configured dictation shortcut (default ⌘⇧D) =+ // ⌘T = new terminal, ⌘⇧C = new default agent, configured dictation shortcut (default ⌘⌥D) =// toggle dictation (ignored while typing in a field/terminal).useEffect(() => {const onKey = (e: KeyboardEvent) => {diff --git a/src/shared/speech.test.ts b/src/shared/speech.test.tsindex 31869ac62..a22759809 100644--- a/src/shared/speech.test.ts+++ b/src/shared/speech.test.ts@@ -26,7 +26,7 @@ describe('whisper model catalog', () => {engine: 'whisper',model: 'tiny',language: 'auto',- shortcut: 'Cmd+Shift+D'+ shortcut: 'Cmd+Alt+D'})})})diff --git a/src/shared/types.ts b/src/shared/types.tsindex 1f7b9c671..5d9d703d4 100644--- a/src/shared/types.ts+++ b/src/shared/types.ts@@ -477,7 +477,7 @@ export interface SpeechSettings {model: string/** BCP-47-ish hint or 'auto'. */language: string- /** Press-to-talk shortcut, canonical form e.g. "Cmd+Shift+D" (see `shared/shortcut.ts`).+ /** Press-to-talk shortcut, canonical form e.g. "Cmd+Alt+D" (see `shared/shortcut.ts`).* "Cmd" is platform-abstracted: metaKey on mac, ctrlKey elsewhere. Drives the Canvas* listener, the Dock mic tooltip, and the ShortcutsPanel row. */shortcut: string@@ -585,7 +585,7 @@ export const DEFAULT_SETTINGS: Settings = {claudePermissionMode: 'auto',telemetryEnabled: false,phoneAccessEnabled: false,- speech: { engine: 'whisper', model: 'tiny', language: 'auto', shortcut: 'Cmd+Shift+D' },+ speech: { engine: 'whisper', model: 'tiny', language: 'auto', shortcut: 'Cmd+Alt+D' },}export interface SettingsApi {