dsh-voice 0.3.1 → 0.3.3

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/README.en.md CHANGED
@@ -14,7 +14,7 @@ DSH (DeepSeek Harness) voice plugin pair: let the agent **speak and listen**.
14
14
 
15
15
  ## Compatibility
16
16
 
17
- Verified against `@deepseek-ai/dsh@0.1.2-alpha.2` on 2026-08-31. Built for the cordis patch-bundle plugin model (`cordis.patch.yml` + `dsh.bundle.patch`). No runtime imports of `@deepseek-ai/*` internals.
17
+ Verified with official `@deepseek-ai/dsh@0.1.5-rc.1` and Node `24.16.0` on 2026-09-11: all 18 components load alongside Modlens, with passing tool-schema, skill-registration and offline read-only invocation checks. Uses the `cordis.patch.yml` + `dsh.bundle.patch` bundle model. Node requirements match this Harness release: 22.19 or later within 22.x, or 24 or later. Live external-service workflows require separate configuration and validation.
18
18
 
19
19
  ## Installation
20
20
 
@@ -74,7 +74,8 @@ voice_list {}
74
74
 
75
75
  ```bash
76
76
  pnpm install
77
- pnpm test # build + 31 tests, including a real-synthesis integration test
77
+ pnpm test # build + offline unit tests with mocked TTS/ASR
78
+ pnpm test:integration # opt-in real edge-tts request; network and assertion errors fail
78
79
  ```
79
80
 
80
81
  ## License
package/README.md CHANGED
@@ -17,7 +17,7 @@ DSH(DeepSeek Harness)语音双件套插件:让 agent **会说话、能听
17
17
 
18
18
  ## 兼容性
19
19
 
20
- `@deepseek-ai/dsh@0.1.2-alpha.2` 上验证(2026-08-31)。遵循 cordis 组合包补丁模型(`cordis.patch.yml` + `dsh.bundle.patch`),运行时不 import 任何 `@deepseek-ai/*` 内部模块。
20
+ 已在官方 `@deepseek-ai/dsh@0.1.5-rc.1`、Node `24.16.0` 上验证(2026-09-11):18 个组件与 Modlens 同载,工具 schema、技能注册及离线只读调用检查通过。采用 `cordis.patch.yml` + `dsh.bundle.patch` 组合包模型。Node 要求与该版本 Harness 一致:22.19 及以上的 22.x,或 24 及以上。外部服务的实际业务操作需按各组件配置单独验证。
21
21
 
22
22
  ## 安装
23
23
 
@@ -77,9 +77,10 @@ voice_list {}
77
77
 
78
78
  ```bash
79
79
  pnpm install
80
- pnpm test # 构建 + 31 个测试(含真实合成集成测试)
80
+ pnpm test # 构建 + 离线单元测试(使用模拟的 TTS/ASR)
81
+ pnpm test:integration # 显式联网,调用真实 edge-tts;网络或断言失败均报错
81
82
  ```
82
83
 
83
84
  ## License
84
85
 
85
- MIT
86
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-voice",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "DSH 语音双件套插件:voice_tts(edge-tts 协议零成本微软神经语音合成)/ voice_stt(OpenAI 兼容 ASR 语音转文字)/ voice_list(音色列表),原生 WebSocket + 插件级代理。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -23,6 +23,7 @@
23
23
  "build": "tsc -p tsconfig.json",
24
24
  "typecheck": "tsc -p tsconfig.json --noEmit",
25
25
  "test": "pnpm run build && node --test \"test/*.test.mjs\"",
26
+ "test:integration": "pnpm run build && node --test \"integration/*.test.mjs\"",
26
27
  "prepublishOnly": "pnpm run build"
27
28
  },
28
29
  "dsh": {
@@ -42,7 +43,7 @@
42
43
  ],
43
44
  "license": "MIT",
44
45
  "engines": {
45
- "node": ">=22"
46
+ "node": "^22.19.0 || >=24.0.0"
46
47
  },
47
48
  "dependencies": {
48
49
  "https-proxy-agent": "^9.1.0",