Skip to content
This repository was archived by the owner on Oct 27, 2026. It is now read-only.

v0: remove voice (calls, dictation, TTS, and stored credentials) - #51

Merged
shubhook merged 2 commits into
mainfrom
v0-c2-remove-voice
Oct 21, 2026
Merged

shubhook merged 2 commits into
mainfrom
v0-c2-remove-voice

Conversation

@shubhook

@shubhook shubhook commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Why

Voice mode (live calls, dictation, TTS, and per-bot auto-speak) is not part of Milo v0. Leaving the feature in the product keeps API surface, adapters, settings, and stored secrets that the v0 shell no longer offers. This PR deletes voice instead of hiding it.

This migration permanently deletes every stored encrypted voice API key (secrets rows with kind = 'voice'), along with user_voice_credentials, space_voice_preferences, and bot voiceId / autoSpeak columns.

What changed

  • Database: Prisma models and a forward migration that drops voice tables/columns, deletes voice secrets, and narrows secrets_scope_check to model credentials as the only account-level secret kind. Old migrations are untouched. Historical voice_call message blocks remain parseable so old threads still load.
  • Contracts / adapters / core / db: Removed rpc.voice, threads.endCall, voice credential helpers, voice provider adapters (Cartesia, ElevenLabs, Fish, OpenAI, scripted), and call/TTS support modules. Account AI consent no longer has a voice use.
  • API: Removed /api/voice/* HTTP routes and voice RPC handlers; bot patch no longer accepts voice fields.
  • Web: Removed Voice settings, composer Voice control, Speak/Stop, call cards, dictation, and TTS. Desktop session permissions no longer grant microphone for dictation.
  • Mobile: Removed the voice route, call/dictation libs, Voice settings row, mic/speech permissions and Expo speech packages.
  • Docs / env / i18n: Dropped Fish TTS env notes, self-host voice credential SQL, and voice strings from Lingui catalogs and translation memory.
  • Tests / e2e: Deleted voice specs and stripped voice steps from golden, settings-shell, group-chats, and bot-organization.

Stacked on #47 (simplify the shell).

Tests

  • pnpm check and pnpm lint pass locally.
  • Unit tests pass locally (full vitest suite aside from one flaky sandbox focus-or-launch case that passes when re-run alone; unrelated to voice).
  • Integration tests need a container runtime; not run locally. CI will cover them.
  • Desktop Playwright not run locally per AGENTS.md.
  • Acceptance: git grep -il '\bvoice\b' -- apps packages (excluding old migrations) only hits the historical voice_call contract/test path and a mobile test that asserts mic/speech permissions are absent.

Copy

No new user-facing copy. Removed Voice / Call / Speak / dictation strings from settings, composer, and catalogs.

Screenshots

Screenshots are in the CI run's playwright-artifacts artifact (kept for 7 days):

  • Settings without Voice: settings-shell-general.png, settings-shell-usage.png, settings-shell-memory.png (deep links are Models / Memory / Usage only)
  • Composer without Voice / Speak (shell after voice removal): 14-active-bot-work.png in golden-sign-in-spawn-and-stop-work-in-the-shell-chromium/
  • No voice-*.png or settings-shell-voice.png remain in this run

@shubhook
shubhook changed the base branch from v0-c1-simplify-shell to main October 20, 2026 19:31
shubhook and others added 2 commits October 21, 2026 01:44
Voice mode is out of v0. This deletes the call/dictation/TTS surfaces and
adapters, and adds a migration that drops voice tables and permanently
deletes encrypted voice provider secrets.

Co-authored-by: Cursor <cursoragent@cursor.com>
…o main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shubhook
shubhook merged commit a09a825 into main Oct 21, 2026
14 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant