Skip to content

feat(voice): hold a key and speak orders - #3

Open
leorivastech wants to merge 2 commits into
mainfrom
feature/voice-orders
Open

leorivastech wants to merge 2 commits into
mainfrom
feature/voice-orders

Conversation

@leorivastech

@leorivastech leorivastech commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Voice orders let users hold a key and control T3 Code without moving between the keyboard and chat. Right Ctrl is the default, with a per-device key setting. Navigation and scrolling execute after pauses while the key stays held; other orders wait for release.

Demo (56s, English): t3-voice-orders.mp4

https://github.com/leorivastech/t3code/releases/download/voice-orders-demo/t3-voice-orders.mp4

Changing chats

Hold Right Ctrl and say the chat. The highlight moves, and the key stays down.

Say the number: Two, Next, Four

Two opens chat 2 Next opens the following chat Four opens chat 4

Scrolling

Same hold. “Go to the top”, then “Down”, then “Up”. The numbered list is the proof: items 1–9, then 8–22, then back to 1–9.

The list moves: Go to the top, Down, Up

Go to the top shows item 1 Down shows items 8 through 22 Up returns to item 1

• Live navigation & scrolling: Jump to numbered threads, move next/previous, and scroll repeatedly while holding the key.
• Composer & actions: Write a draft, send, stop or settle, select a model or effort, and combine navigation/new-thread/model/message actions.
• Desktop screen capture: Capture the desktop screen and attach the last capture to a draft.
• Local & cloud: Use Groq or OpenAI for transcription and interpretation, or the included optional local Whisper helper for navigation/scrolling without any cloud request.
• Privacy & hygiene: Store the voice key in the environment secret store and redact it for clients. Cancel recordings on blur, another key, hidden window, or the 60-second limit.

This PR is against my fork and contains only voice changes. Mods and Telegram are excluded.

Try it

Use Node 24 and Vite+ (vp). From a clone of this fork:

git checkout feature/voice-orders
vp i
vp run dev --home-dir /tmp/t3-voice-test

Add a project, connect an agent provider, and open Settings → Integrations → Voice. Save a Groq/OpenAI key for all orders, or turn on Local Whisper for offline navigation/scrolling.

Validation

• 113 focused TypeScript tests and 5 Python helper tests pass.
• Scoped typechecks passed for contracts, client-runtime, server, web and desktop.
• Changed-file lint passes; server/web/desktop builds passed.
• The demo above is a real UI recording: “Two”, “Next” and “Four” change the open chat while Right Ctrl stays held, and “Go to the top”, “Down” and “Up” move the list.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Oct 9, 2026

This branch has not been deployed

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

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant