Skip to content

@dsh-external/dsh-plugin-tts v0.2.0

Latest

Choose a tag to compare

@1624318455 1624318455 released this 17 Aug 05:32
· 3 commits to main since this release

v0.2.0

🌍 Internationalization (zh/en)

  • Full UI localization for the settings panel, bubbles/read-aloud buttons, diagnostics, voice-pack panel, and RVC service errors/progress.
  • New "Interface language" selector in the settings panel: Auto (follow browser) / 中文 / English; applies instantly and persists (localStorage dsh-tts-lang).
  • Host-side errors & progress phases are now i18n-tagged (backward-compatible; zh fallback kept).
  • Added tests/i18n-keys.mjs + tests/client-load.mjs regression tests.

🐛 macOS fixes (from real Apple Silicon testing)

  • tools/mac-verify.sh: RIFF check now tolerates macOS od double-space output (was a false FAIL).
  • tools/package-runtime.py: darwin-only auto-patch of infer/lib/audio.py for modern PyAV (av.open("rb"/"wb") -> "r"/"w").
  • rvc-server.py: bad audio_base64 / empty audio / unknown f0_method now return 400 instead of a 500 crash.
  • Docs record the macOS dependency & infer-tag findings.

✅ Standardized test suite

  • New live scenario + boundary suite (tests/rvc-server-live.mjs), darwin-patch boundary test, i18n/client-load tests.
  • npm run test:all = smoke 43 + live 18 + patch 4 + i18n 6 + client-load 14 (85 checks).
  • .github/workflows/test.yml: CI on Node 20/22/24.

Attachments: dsh-external-dsh-plugin-tts-0.2.0.tgz (npm pack).