feat(webchat): add server-side dictation#76021
Conversation
05c682a to
520e7fe
Compare
|
@clawsweeper automerge |
|
Codex review: passed. Summary Reproducibility: yes. Current main reproduces the missing feature by inspection: the Gateway method list, write scopes, docs, and WebChat voice-control test have no Next step before merge Security Review detailsBest possible solution: Land this PR through the automerge path after exact-head CI is green, then let the linked WebChat STT feature request close through the merge. Do we have a high-confidence way to reproduce the issue? Yes. Current main reproduces the missing feature by inspection: the Gateway method list, write scopes, docs, and WebChat voice-control test have no Is this the best way to solve the issue? Yes, pending CI. Reusing the existing What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 15bbf4f2f304. |
|
ClawSweeper 🐠 automerge status ClawSweeper took another look; no safe branch change was available on this pass. Executor outcome: no planned fix actions. Worker actions:
No push, rebase, replacement PR, merge, or ClawSweeper re-review happened on this pass. fish notes: model gpt-5.5, reasoning high. Automerge progress:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 05c682ae3d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
89ae12f to
1d2dd49
Compare
1d2dd49 to
2513eab
Compare
2513eab to
8505713
Compare
Summary: - This PR adds WebChat server-side dictation through a new authenticated `chat.transcribeAudio` Gateway RPC, MediaRecorder composer controls, docs/changelog updates, and focused gateway/UI tests. - Reproducibility: yes. Current main reproduces the missing feature by inspection: the Gateway method list, write scopes, docs, and WebChat voice-control test have no `chat.transcribeAudio` server-dictation path. ClawSweeper fixups: - Included follow-up commit: feat(webchat): add server-side dictation - Included follow-up commit: fix(clawsweeper): address review for automerge-openclaw-openclaw-7602… Validation: - ClawSweeper review passed for head 8505713. - Required merge gates passed before the squash merge. Prepared head SHA: 8505713 Review: openclaw#76021 (comment) Co-authored-by: Peter Steinberger <steipete@gmail.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Summary: - This PR adds WebChat server-side dictation through a new authenticated `chat.transcribeAudio` Gateway RPC, MediaRecorder composer controls, docs/changelog updates, and focused gateway/UI tests. - Reproducibility: yes. Current main reproduces the missing feature by inspection: the Gateway method list, write scopes, docs, and WebChat voice-control test have no `chat.transcribeAudio` server-dictation path. ClawSweeper fixups: - Included follow-up commit: feat(webchat): add server-side dictation - Included follow-up commit: fix(clawsweeper): address review for automerge-openclaw-openclaw-7602… Validation: - ClawSweeper review passed for head 8505713. - Required merge gates passed before the squash merge. Prepared head SHA: 8505713 Review: openclaw#76021 (comment) Co-authored-by: Peter Steinberger <steipete@gmail.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Summary
Adds server-side microphone dictation for Control UI/WebChat chat drafts.
chat.transcribeAudioGateway RPC that decodes browser audio, writes a temporary local file, runs the existingtools.media.audiotranscription pipeline, and returns draft text without starting an agent run.MediaRecorder, with safe stop/cancel handling on disconnect and client-side oversized-audio rejection before WebSocket send.Validation
pnpm test src/gateway/server-methods/chat-transcribe-audio.test.tspnpm --dir ui test src/ui/app-chat.test.ts src/ui/views/chat.test.tspnpm tsgo:test:uipnpm tsgo:prodOPENCLAW_TESTBOX=1 pnpm check:changedFixes #47311