Repository navigation
Description
Outcome
Users can choose among configured dictation providers, independently of the live-conversation provider and ordinary task/chat model. Gemini 3.5 Transcribe Live is a supported alternative alongside the existing dictation providers, including its documented SMART transcription mode for cleaned, formatted dictation. Recorded words remain editable composer text until the user sends them.
Why now
The maintainer requests alternative/switchable dictation providers analogous to alternative live-conversation providers, specifically the API behind Android/Pixel Rambler. Google's 2026-08-26 announcement identifies that model family as Gemini 3.5 Transcribe; its dedicated streaming model is gemini-3.5-transcribe-live. This is a concrete request for the existing speech seams, not a new provider/plugin abstraction.
Shared context
Current source navigation at inspected main (2026-11-08):
- Public speech/client seams remain
SpeechProvider(packages/ui-sdk/src/server/speech.ts:26) andAsrClient(packages/ui-sdk/src/client/asr.ts:21). The multi-provider registry and selection contract are delivered by ui-server: register and resolve selectable dictation providers #3707, recorded indocs/decisions/dictation-speech.md. createVoiceRoutes(packages/ui-server/src/routes/voice.ts:26) serves provider discovery, independent dictation settings/revisions, explicit session choice and missing-choice refusals. Session creation freezes the selected provider; selection does not authorize a capture.registerAsrClients(packages/ui-react/src/voice/asr-clients.ts:17) registers clients, andSpeechCapabilities(packages/ui-sdk/src/protocol.ts:2064) plusAsrEvent(packages/ui-sdk/src/protocol.ts:2098) define capabilities and transcript events.VoiceTab(packages/ui-react/src/components/settings/voice-tab.tsx:13) now holds DictationSettings in the shared Voice pane. ui-react: configure the default live-conversation provider through Settings #3616/ui-react: configure and select live-conversation personas through Settings #3617 have delivered the independent live groups through CONTRACT: feat(ui-server, ui-react): configure the default live-conversation service in Settings › Voice (#3616) #3956/CONTRACT: feat(ui-sdk,ui-server,ui-react): live-conversation personas in Settings › Voice #3955; dictation and live defaults are not coupled. Epic: unified voice experience — one mic, one field (dictation + live conversation) #3690 owns unified voice presentation, not this provider infrastructure.- The saved-recording route (
app.put(path,packages/ui-server/src/routes/transcriptions.ts:84) preserves disclosed provider identity and permanent receipt/retry semantics. Gemini streaming availability does not imply saved-audio transcription.
Upstream evidence checked 2026-11-08
- Google announcement: Gemini 3.5 Transcribe and Rambler.
- Live transcription protocol and SMART mode.
- Transcribe model reference.
- Live API ephemeral-token contract.
- Separate recorded-audio API.
The live guide documents text-only transcription, raw PCM input, distinct interim/final fields, SMART formatting and constrained browser credentials. These are upstream interface facts, not local latency/accuracy/device qualification. Reverify model availability and exact protocol against current docs/installed dependencies before implementation. Google's prerecorded gemini-3.5-transcribe path is separate; streaming support does not imply saved-audio support.
Constraints and non-goals
Binding: ROADMAP.md, “What binds future work”; docs/decisions/dictation-speech.md; docs/decisions/provider-history.md; docs/decisions/voice-permission.md including later supersessions; docs/extending/speech.md; docs/integration-contract.md, its authoritative package/HTTP/wire components and docs/http-api.md; and the design-kit Settings/input/accessibility rules. Verify actual authoritative component names at pickup.
- Reuse
SpeechProvider/AsrClient; no new plugin loader, speech framework, generic relay or TTS interface. No dictation tool execution, voice approval or changes to provider-facing conversation history. - Keep permanent Google credentials server-side. A browser receives only constrained short-lived session credentials; discovery/Settings never mints them or opens the microphone. Provider selection and audio destination must be explicit; no automatic vendor/browser-speech fallback on missing credentials or failure.
- Preserve
speechProviderby-value consumers,VOICE_PROVIDER, legacy single-provider behavior and external client registration. New supported API/HTTP/config/schema behavior follows CONTRACT/minor rules, with a prior ruling for a break. - First delivery is live/streaming Gemini dictation. Do not advertise or implement Gemini saved-recording transcription by replaying saved audio into a live socket. Keep local capture and explicit upload consent/receipts intact; show saved-audio unavailability honestly for providers without that capability.
- No full Rambler product clone: screen/history context ingestion, voice commands, executing tasks, arbitrary rewriting of existing chat, speaker analytics and TTS are outside scope. SMART transcription affects the current unsent dictation text only.
- No deployment, release publication or paid/live-provider calls are authorized by creating these issues. Qualification has a separate bounded authorization handoff. Fixtures/public receipts use Odysseus and the pinned
2026-07-12example date.
Breakdown
Native sub-issues carry the plan: first define the selection/transport/formatting contract and Settings interaction; then implement multi-provider server/SDK selection and the Gemini pair; add the Settings/capture selection flow; finally qualify the real provider/device path after keyless proof and explicit test authorization. Each implementation retains its own meaningful tests; final qualification is additional evidence.
The design foundation also seeds this epic in the Voice track in scripts/sync-project.ts; issue events handle board membership/derived status. This epic is standalone, unscheduled p2 and never agent-ready.
Definition of done
- Configured Deepgram, explicitly enabled browser speech, external supplied providers and Gemini can coexist and be selected under the approved contract; dictation and live-conversation defaults remain independent.
- Gemini uses the verified
gemini-3.5-transcribe-livepath with SMART support, correct partial/final handling, graceful final drain and bounded microphone/socket cleanup. - Settings and the next-capture flow show the actual selected destination; a saved/unavailable choice never silently falls through. An active take and any recording receipt retain their original provider identity.
- Public docs, schemas/API reports and conformance/compatibility proof cover the added surfaces. Unsupported saved-audio behavior is explicit.
- Keyless mounted-route and real-browser proof passes with named failing-first/restored mutations. Live-provider/device qualification is recorded with its actual conditions and approved budget before claiming that qualification or closing the epic.
Current native delivery: #3706/#3707/#3708/#3709 are closed with their individual 0.45.0 attribution. Two defects found by #3710's Phase A are also closed in 0.45.0 through #3770 (81f1240dd): #3768 (Done now ends on the generationComplete that follows audioStreamEnd instead of always waiting the 3 s drain) and #3769 (the minted token locks an en-US language hint, repeated in the client setup). #3710 remains the sole open child for separately authorized real-provider and physical-device qualification. The merged keyless/browser implementation alone does not prove vendor or device behavior. #3710 now records the separate 2026-11-09 authorization and real-Google scripted Phase A observations (token/endpoint acceptance, partial lock evidence, SMART/interim/final-drain samples, with explicit limitations). Physical Android/Chrome and desktop real-UI qualification is still open; no accuracy/latency threshold or broad device/model/language pass is inferred. The reserved operator step and cumulative limits remain on #3710.
Triage 2026-11-08 at main 8752570331ffebdbb9233196412781f6cd71f3d9: Replaced the pre-registry/pre-Voice-pane baseline with verified shipped source and the one remaining qualification child. Preserved all unmeasured provider/device claims, exclusions and human authorization requirements.
Triage 2026-11-09 at main 9c7eb25825fdad5f4485db0df472188805edb450: Reconciled the sole open child’s later authorization and source-bound scripted provider evidence. Keyless delivery, actual provider samples and missing physical/UI qualification remain distinct; no new run or epic completion is claimed.
Triage 2026-11-10 at main 3aadc8df5: Recorded the two Phase A follow-up children #3768/#3769, closed through #3770, in the delivery line. #3710 remains the sole open child; no device or real-UI qualification is claimed.
2026-11-15 triage at main 3f8ff29341fbe25665cea42659f92e6f3d3ccef0: Corrected current-source navigation by inspecting the named declaration or guard. Existing decisions, historical receipts and remaining prerequisites are unchanged; no new runtime qualification is claimed.
2026-11-17 triage at main 9e7429a914a8aaf5967f074fa9e09984968fc9dc: Refreshed the current capability and transcript-event declarations. The reserved #3710 physical-device/UI qualification and its existing authorization and cumulative caps are unchanged; no new provider or device result is claimed.
Activity
docs(voice): design selectable dictation providers and Gemini Transcr…
CONTRACT: feat(ui-server,ui-react): add Gemini 3.5 Transcribe Live di…
CONTRACT: feat(ui-react): select the dictation provider in Voice sett…
schlessera commentedon Nov 8, 2026
Epic status, 2026-11-08
Done, all in milestone 0.45.0:
a3ca546)18a0ba3)723280e)8752570)Open:
needs: human). It needs authorization, a budget, an audio set and a device route. Until it runs, Google's acceptance of the constrained token, the endpoint version, SMART output and device behaviour are documented claims, not measured ones.Found during this work and filed separately: #3720 (an order-dependent render test) and #3723 (the safety-history WS fixture's 3 s deadline under CI load).
Not yet done for the definition of done: closing this epic still requires #3710's recorded qualification. Once the plan's remaining unproven items are qualified, its durable parts should move into the decision record.
schlessera commentedon Nov 10, 2026
2026-11-10 triage at main
3aadc8df5: the delivery line in the body now includes #3768 and #3769, the two Phase A defects closed through #3770 (81f1240dd, 0.45.0). #3710 remains the sole open child, for the reserved Phase B real-UI and physical-device run. The rest of the breakdown and the definition of done are unchanged.schlessera commentedon Nov 11, 2026
2026-11-11 triage: corrected the stale future-tense Settings reference. The live-service/persona groups are delivered, while #3710 remains this epic’s sole open child for the separately authorized physical-device/operator qualification. No new provider or device run was performed.