Skip to content

Epic: choose dictation providers, including Gemini 3.5 Transcribe Live #3705

Open
6 of 7 issues completed

Description

@schlessera

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):

Upstream evidence checked 2026-11-08

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 speechProvider by-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-12 example 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-live path 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

  1. added
    type: feat
    area: ui-sdk
    area: ui-server
    area: ui-react
    priority: p2
    epic
    on Nov 8, 2026
  2. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Epic status, 2026-11-08

    Done, all in milestone 0.45.0:

    Open:

    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.

  3. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    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.

  4. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ui-reactarea: ui-sdkarea: ui-serverepicpriority: p2type: feat

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions