QVAC-20550 feat[api]: separate TTS language validation per engine#2581
Merged
ishanvohra2 merged 2 commits intoJun 15, 2026
Conversation
Validate chatterbox and supertonic languages with distinct enums instead of a shared list. Expose all 18 chatterbox multilingual languages and restrict supertonic to its actual subset (en/es/fr/pt/ko). Co-authored-by: Cursor <cursoragent@cursor.com>
14cbbb0 to
73081e8
Compare
GustavoA1604
approved these changes
Jun 15, 2026
RamazTs
approved these changes
Jun 15, 2026
Contributor
Author
|
/review |
Contributor
Tier-based Approval Status |
opaninakuffo
added a commit
to opaninakuffo/qvac
that referenced
this pull request
Jun 15, 2026
Release metadata for @qvac/sdk + @qvac/bare-sdk 0.13.2: - bump sdk + bare-sdk 0.13.1 -> 0.13.2 - bump @qvac/rag ^0.6.2 -> ^0.6.4 (sdk + bare-sdk, mirrored via bare-sdk sync) - changelog for 0.13.2 (cherry-picked tetherto#2581 TTS per-engine language validation, tetherto#2585 drop bare-runtime/bare-pack from bare-sdk deps, rag bump) - regenerate NOTICE for sdk + bare-sdk (bare-sdk drops bare-runtime/bare-pack attributions; @qvac/rag bumped to 0.6.4) Also align qv-sdk-bare-sdk-sync's SDK_ONLY_PACKAGES with check-deps-vs-sdk.mjs (bare-runtime, bare-pack). tetherto#2585 added them to the check script but not the sync script, so the sync was re-adding the dropped deps to bare-sdk.
opaninakuffo
added a commit
to opaninakuffo/qvac
that referenced
this pull request
Jun 15, 2026
Release metadata for @qvac/sdk + @qvac/bare-sdk 0.13.2: - bump sdk + bare-sdk 0.13.1 -> 0.13.2 - bump @qvac/rag ^0.6.2 -> ^0.6.4 (sdk + bare-sdk, mirrored via bare-sdk sync) - changelog for 0.13.2 (cherry-picked tetherto#2581 TTS per-engine language validation, tetherto#2585 drop bare-runtime/bare-pack from bare-sdk deps, rag bump) - regenerate NOTICE for sdk + bare-sdk (bare-sdk drops bare-runtime/bare-pack attributions; @qvac/rag bumped to 0.6.4) Also align qv-sdk-bare-sdk-sync's SDK_ONLY_PACKAGES with check-deps-vs-sdk.mjs (bare-runtime, bare-pack). tetherto#2585 added them to the check script but not the sync script, so the sync was re-adding the dropped deps to bare-sdk. (cherry picked from commit 92e996c)
opaninakuffo
added a commit
that referenced
this pull request
Jun 15, 2026
Release metadata for @qvac/sdk + @qvac/bare-sdk 0.13.2: - bump sdk + bare-sdk 0.13.1 -> 0.13.2 - bump @qvac/rag ^0.6.2 -> ^0.6.4 (sdk + bare-sdk, mirrored via bare-sdk sync) - changelog for 0.13.2 (cherry-picked #2581 TTS per-engine language validation, #2585 drop bare-runtime/bare-pack from bare-sdk deps, rag bump) - regenerate NOTICE for sdk + bare-sdk (bare-sdk drops bare-runtime/bare-pack attributions; @qvac/rag bumped to 0.6.4) Also align qv-sdk-bare-sdk-sync's SDK_ONLY_PACKAGES with check-deps-vs-sdk.mjs (bare-runtime, bare-pack). #2585 added them to the check script but not the sync script, so the sync was re-adding the dropped deps to bare-sdk. (cherry picked from commit 92e996c)
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.
🎯 What problem does this PR solve?
en,es,de,it).de/it, which it never supports at runtime (native engine only handlesen/es/fr/pt/ko).📝 How does it solve it?
TTS_CHATTERBOX_LANGUAGES(18) andTTS_SUPERTONIC_LANGUAGES(5).ttsChatterboxRuntimeConfigSchema/ttsSupertonicRuntimeConfigSchema).TTS_LANGUAGESfor backwards compatibility (now the union, which equals the chatterbox 18 since supertonic is a subset).TtsChatterboxLanguage/TtsSupertonicLanguagetypes.🧪 How was it tested?
tts-schemas.test.ts: asserts all 18 chatterbox languages parse, the supertonic subset parses, supertonic rejects chatterbox-only languages (de), and a chatterbox load config acceptstr.bun run test/unit/tts-schemas.test.ts→ 18/18 tests, 67/67 asserts pass.🔌 API Changes