Repository navigation
Conversation
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No actionable issues were found in the reviewed changes.
No open issues 🎉
What changed in this PR
Removes built-in /speak dictation from Docker Agent’s TUI, reducing maintenance by dropping the macOS audio capture and OpenAI transcription integration.
Changes:
- Removes dictation commands, speech lifecycle handling, and editor recording mode.
- Deletes audio capture/transcription packages and related tests.
- Removes dictation documentation and obsolete build flags.
| File | Description |
|---|---|
pkg/tui/tui.go |
Removes speech state, options, and event handling. |
pkg/tui/tui_speak_test.go |
Deletes speech integration tests. |
pkg/tui/tui_exit_test.go |
Removes speech-related test scaffolding. |
pkg/tui/speech.go |
Deletes speech lifecycle implementation. |
pkg/tui/messages/input.go |
Removes speech messages. |
pkg/tui/help.go |
Removes transcription-specific help. |
pkg/tui/composer_height_test.go |
Removes speech-send resizing test. |
pkg/tui/components/editor/editor.go |
Removes recording mode and speech-only methods. |
pkg/tui/commands/defaults/speak_other.go |
Deletes unsupported-platform command stub. |
pkg/tui/commands/defaults/speak_darwin.go |
Deletes macOS /speak command. |
pkg/tui/commands/defaults/speak_darwin_test.go |
Deletes command tests. |
pkg/tui/commands/defaults/commands.go |
Removes speech command registration. |
pkg/audio/transcribe/transcribe.go |
Deletes OpenAI transcription implementation. |
pkg/audio/transcribe/transcribe_test.go |
Deletes transcription tests. |
pkg/audio/transcribe/transcribe_other.go |
Deletes unsupported-platform flag. |
pkg/audio/transcribe/transcribe_darwin.go |
Deletes macOS support flag. |
pkg/audio/transcribe/finish_test.go |
Deletes transcription finalization tests. |
pkg/audio/capture/capture.go |
Deletes shared capture types. |
pkg/audio/capture/capture_other.go |
Deletes unsupported-platform capture stub. |
pkg/audio/capture/capture_other_test.go |
Deletes capture stub tests. |
pkg/audio/capture/capture_darwin.go |
Deletes CoreAudio capture implementation. |
pkg/audio/capture/capture_darwin_test.go |
Deletes macOS capture tests. |
docs/guides/secrets/index.md |
Removes dictation API-key reference. |
docs/features/tui/index.md |
Removes voice-input documentation. |
Dockerfile |
Removes obsolete no_audio build tags. |
cmd/root/run.go |
Stops passing the speech-only environment option. |
Review effort: Balanced
rumpl
enabled auto-merge
December 6, 2026 22:19
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the TUI dictation (
/speak) feature and all related audio capture and transcription code (pkg/audio, TUI speech handlers/commands/editor recording mode,-tags no_audioinDockerfile, and docs).There are many, many dedicated dictation apps out there that already do this well — some can even run local models and are actually pretty good — so maintaining our own macOS-only CoreAudio + OpenAI Realtime API integration in the TUI isn't worth the extra complexity.