dsh-agent-voice 0.1.3 → 0.1.4

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.
package/lib/index.js CHANGED
@@ -111,6 +111,7 @@ function apply(ctx) {
111
111
  }), { base: {} });
112
112
 
113
113
  async function synthesize(text, voice, language) {
114
+ await ensureWorker();
114
115
  const res = await postWorker("/tts", { text, voice, language });
115
116
  const bytes = await readFile(res.audio);
116
117
  return "data:audio/wav;base64," + Buffer.from(bytes).toString("base64");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-agent-voice",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "DeepSeek Harness plugin: gives the agent a voice — it reads completed tasks and attention requests aloud (never reasoning or interim reports) via local Piper / XTTS v2, with a settings panel and a curated set of voices.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -1,3 +1,4 @@
1
1
  [2026-08-31 22:08:19] agent-voice worker listening on http://127.0.0.1:7863
2
2
  [2026-08-31 22:08:23] error: 'PiperVoice' object has no attribute 'synthesize_stream_raw'
3
3
  [2026-08-31 22:08:46] agent-voice worker listening on http://127.0.0.1:7863
4
+ [2026-09-01 13:40:42] agent-voice worker listening on http://127.0.0.1:7863