SMOODEV-2674: Speaker toggle (STT-only voice) + voice-first thread adoption#41
Merged
Conversation
…option A speaker button beside the mic flips agent speech per-session: off sends tts:false in the start frame so the server skips TTS entirely and the visitor speaks-and-reads. voice.tts config sets the default. startVoice now connects the text session first when no conversation exists, so voice-first visitors land in a real thread that text turns continue. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tz7j9eqPBBL36CEFZpjoWz
🦋 Changeset detectedLatest commit: 134c95b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Two voice UX features from the Chakra TP pilot feedback:
tts:falseand the server skips TTS entirely (server side: SmooAI/smooai#3172); replies still land as chat bubbles.voice.ttsconfig sets the default; turning speech off mid-session also cuts current playback, and the full flag applies at the next session (titles say so).startVoicenow connects the text session first when no conversation exists, so voice turns land in a REAL conversation the text thread owns; leaving voice continues seamlessly in text. (Adopting the server-mintedbrowser:<uuid>id was rejected: it has no conversations row and the text protocol can't resume it.)Verification: 182/182 tests (new: tts start-frame framing, toggle render/flip/config-default, voice-first connect adoption);
pnpm checkgreen.🤖 Generated with Claude Code
https://claude.ai/code/session_01Tz7j9eqPBBL36CEFZpjoWz