Skip to content

feat(tui): add voice recording support to TUI prompt #22591

Description

@ncylich

The voice mode branch (#20677) adds STT support for the web UI (Cmd+Shift+M, Cmd+Shift+V) but the TUI has no voice input capability. The voice.ts utility exists but is not wired into the TUI prompt.

Expected behavior

Users should be able to record voice and get transcribed text in the TUI prompt, similar to the web UI.

Proposed solution

  • Add /record slash command and command palette entry
  • Record via ffmpeg/sox/arecord on the system
  • Send audio to the server's /voice/transcribe endpoint for transcription
  • Insert transcribed text into the prompt

Activity

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

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions