dsh-advisor-plugin 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -169,10 +169,17 @@ agent/request ──每 N 步──▶ 快照 ──▶ 审查模型
169
169
 
170
170
  ## 依赖要求
171
171
 
172
- - Node.js >= 20
172
+ - Node.js `^22.19` 或 `>=24`
173
173
  - DeepSeek Harness(web profile)
174
174
  - 已配置至少一个可用的 provider / model 作为审查模型
175
175
 
176
+ ## 兼容性
177
+
178
+ - **DSH 版本**:peer 范围覆盖 `0.1.0-rc.6`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.3-alpha.1`;已在 `0.1.1-rc.2` 上实机验证。
179
+ - **配置向后兼容**:旧配置没有 `enabled` 字段时默认 `true`,不影响升级。
180
+ - **关闭总开关**:`enabled: false` 时保留已保存的模型配置,但不注册工具与升级守则。
181
+ - **安装方式**:请使用 `dsh plugin --profile web add dsh-advisor-plugin`;裸 `npm install` 会撞 DSH 官方包的 peer 依赖,这不是插件本身的问题。
182
+
176
183
  开发验证:
177
184
 
178
185
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-advisor-plugin",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "DeepSeek Harness advisor plugin: pair a fast executor with a stronger reviewer model for plan / correction / stop guidance.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "LICENSE"
40
40
  ],
41
41
  "engines": {
42
- "node": ">=20"
42
+ "node": "^22.19 || >=24"
43
43
  },
44
44
  "publishConfig": {
45
45
  "registry": "https://registry.npmjs.org",
@@ -63,15 +63,15 @@
63
63
  "coding-agent"
64
64
  ],
65
65
  "peerDependencies": {
66
- "@deepseek-ai/cordis": "*",
67
- "@deepseek-ai/dsh-agent": "*",
68
- "@deepseek-ai/dsh-commands": "*",
69
- "@deepseek-ai/dsh-llm": "*",
70
- "@deepseek-ai/dsh-session": "*",
71
- "@deepseek-ai/dsh-settings": "*",
72
- "@deepseek-ai/dsh-system-prompt": "*",
73
- "@deepseek-ai/dsh-tools": "*",
74
- "@deepseek-ai/schemastery": "*"
66
+ "@deepseek-ai/cordis": "^4.0.1",
67
+ "@deepseek-ai/dsh-agent": "^0.1.0-rc.6 || ^0.1.1-rc.2 || ^0.1.2-rc.1 || ^0.1.3-alpha.1",
68
+ "@deepseek-ai/dsh-commands": "^0.1.0-rc.6 || ^0.1.1-rc.2 || ^0.1.2-rc.1 || ^0.1.3-alpha.1",
69
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.1.1-rc.2 || ^0.1.2-rc.1 || ^0.1.3-alpha.1",
70
+ "@deepseek-ai/dsh-session": "^0.1.0-rc.6 || ^0.1.1-rc.2 || ^0.1.2-rc.1 || ^0.1.3-alpha.1",
71
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6 || ^0.1.1-rc.2 || ^0.1.2-rc.1 || ^0.1.3-alpha.1",
72
+ "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.6 || ^0.1.1-rc.2 || ^0.1.2-rc.1 || ^0.1.3-alpha.1",
73
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.6 || ^0.1.1-rc.2 || ^0.1.2-rc.1 || ^0.1.3-alpha.1",
74
+ "@deepseek-ai/schemastery": "^3.18.1"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/node": "^24.0.0",