Skip to content

feat(agent): voice language switch availability and opt-in auto docs - #102

Merged
akirilyuk merged 2 commits into
mainfrom
feature/language-switch-chunk5
Sep 29, 2026
Merged

akirilyuk merged 2 commits into
mainfrom
feature/language-switch-chunk5

Conversation

@akirilyuk

Copy link
Copy Markdown
Contributor

Summary

  • Add session_start.voiceLanguageSwitchAvailable, isVoiceLanguageSwitchAvailable, getVoiceLanguage, and onVoiceLanguageChanged for runner-forwarded voice_language_changed events.
  • Optional timeoutMs on setVoiceLanguage; cache last ISO from acks and LID events.
  • language-switch template skips manual setVoiceLanguage when SHERPA_LID_AUTO_SWITCH is truthy in session env; README documents manual vs project auto-switch modes.

Verified

Verified locally: npm test, npm run typecheck (see agent worktree .test-logs/).

Expose session_start voiceLanguageSwitchAvailable, getVoiceLanguage,
onVoiceLanguageChanged, and runner auto-switch helpers. Update the
language-switch template and README for manual vs project auto-switch.
@akirilyuk
akirilyuk merged commit fb187c5 into main Sep 29, 2026
6 checks passed
@akirilyuk
akirilyuk deleted the feature/language-switch-chunk5 branch September 29, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant