rowboat/apps/x/packages/shared/src
Prakhar Pandey 7f70275c70 fix: resolve macOS mic permission on first click in voice mode
On macOS, the first getUserMedia({audio:true}) call hits TCC permission
status 'not-determined' — the OS prompt appears but the in-flight call
rejects, is silently swallowed, and the UI snaps back to idle. Second
click works because permission is already granted.

Fix: add voice:ensureMicAccess IPC channel (mirroring the existing
meeting:checkScreenPermission pattern) that calls
systemPreferences.askForMediaAccess('microphone') before getUserMedia,
so the same first click proceeds once the user grants access.

Also fixes a secondary bug: on the failure path, the code only called
setState('idle'), leaking the WebSocket that connectWs() had already
opened. Now calls stopAudioCapture() for proper cleanup.
2026-06-10 21:06:03 +05:30
..
agent-schedule-state.ts feat: add background agents with scheduling support 2026-02-05 16:43:09 +05:30
agent-schedule.ts feat: add background agents with scheduling support 2026-02-05 16:43:09 +05:30
agent.ts bootstrap new electron app 2026-01-16 12:05:33 +05:30
background-task.ts feat: background tasks 2026-05-12 17:43:25 +05:30
bases.ts app navigation 2026-03-13 10:39:05 +05:30
billing.ts Show split monthly and daily credits 2026-05-24 12:48:23 +05:30
blocks.ts Gmail send, archive and delete (#573) 2026-05-25 09:47:08 +05:30
browser-control.ts pull browser-harness skills (#519) 2026-05-06 12:25:10 +05:30
code-mode.ts feat: run code mode on an in-app ACP client with live approvals (#593) 2026-06-05 14:45:08 +05:30
composio.ts Feature/composio tools library (#461) 2026-04-06 13:30:46 +05:30
events.ts feat: background tasks 2026-05-12 17:43:25 +05:30
example.ts bootstrap new electron app 2026-01-16 12:05:33 +05:30
frontmatter.ts app navigation 2026-03-13 10:39:05 +05:30
index.ts Update Electron billing UI for free plan 2026-05-18 11:12:39 +05:30
inline-task.ts Livenote2 (#440) 2026-03-19 01:34:10 +05:30
ipc.ts fix: resolve macOS mic permission on first click in voice mode 2026-06-10 21:06:03 +05:30
live-note.ts feat: background tasks 2026-05-12 17:43:25 +05:30
llm-step-events.ts feat(ui): surface LLM stream errors in chat 2026-02-16 08:34:51 +05:30
mcp.ts bootstrap new electron app 2026-01-16 12:05:33 +05:30
message.ts Persist per-message context for prompt caching 2026-05-28 23:00:44 +05:30
models.ts Add run-level auto permission mode 2026-06-03 07:58:04 +05:30
prefix-logger.ts bootstrap new electron app 2026-01-16 12:05:33 +05:30
prompt-block.ts add prompt block 2026-04-20 14:42:13 +05:30
rowboat-account.ts use deepgram ws proxy, simplify env vars 2026-03-24 11:50:22 +05:30
runs.ts feat: run code mode on an in-app ACP client with live approvals (#593) 2026-06-05 14:45:08 +05:30
service-events.ts Memory2 (#444) 2026-03-23 22:30:02 +05:30
workspace.ts bootstrap new electron app 2026-01-16 12:05:33 +05:30