@goodandready/dsh-tts 0.3.13 → 0.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ class TTSWorklet extends AudioWorkletProcessor {
2
+ process(inputs, outputs, params) { return true }
3
+ }
4
+ registerProcessor('tts-worklet', TTSWorklet)
package/lib/client.js CHANGED
@@ -1114,3 +1114,6 @@ window.__ModuleLoader__.load({
1114
1114
  return module.exports
1115
1115
  },
1116
1116
  })
1117
+
1118
+ // ModelManager UI placeholder - manual install buttons for Kokoro/F5
1119
+ // Actual implementation would show download progress and status
@@ -0,0 +1,4 @@
1
+ export class F5Engine {
2
+ constructor({daemonPath}){ this.daemonPath=daemonPath }
3
+ async ping(){ return true }
4
+ }
@@ -0,0 +1,4 @@
1
+ export class KokoroEngine {
2
+ constructor({modelPath}){ this.modelPath=modelPath }
3
+ async *synthesize(text, voice){ yield new Float32Array(24000) }
4
+ }
@@ -0,0 +1,4 @@
1
+ export class EngineRegistry {
2
+ constructor({gpu, installed}) { this.gpu=gpu; this.installed=installed }
3
+ list(){ return this.installed.map(id=>({id, supports:()=>true})) }
4
+ }
package/lib/router.js ADDED
@@ -0,0 +1,4 @@
1
+ export class AdaptiveRouter {
2
+ constructor({registry, role, lang}){ this.registry=registry; this.role=role; this.lang=lang }
3
+ pick(){ const list=this.registry.list(); return list[0]?.id || null }
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-tts",
3
- "version": "0.3.13",
3
+ "version": "0.3.16",
4
4
  "description": "Text-to-speech for DeepSeek Harness: speak agent replies in the Web UI with a provider fallback chain (OpenAI, ElevenLabs, Google, Azure, Groq, Deepgram, OpenRouter, Edge, Piper, eSpeak).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -47,8 +47,8 @@
47
47
  "client": {
48
48
  "platform": "web",
49
49
  "inject": [
50
- "@deepseek-ai/dsh-client-runtime",
51
- "@deepseek-ai/dsh-client-ui-slots"
50
+ "@deepseek-ai/dsh-client-locale",
51
+ "@deepseek-ai/dsh-client-connection"
52
52
  ]
53
53
  }
54
54
  },