dsh-advisor-plugin 0.2.5 → 0.2.6

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 +29 -1
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -175,7 +175,7 @@ agent/request ──每 N 步──▶ 快照 ──▶ 审查模型
175
175
 
176
176
  ## 兼容性
177
177
 
178
- - **目标 DSH**:`0.1.5-rc.2` 及以上;不承诺更早的 rc / alpha 版本。
178
+ - **目标 DSH**:`0.1.5-rc.1` / `0.1.5-rc.2`;不承诺更早的 rc / alpha 版本。
179
179
  - **Node.js**:`^22.19` 或 `>=24`。
180
180
  - **安装方式**:请使用 `dsh plugin --profile web add dsh-advisor-plugin`;裸 `npm install` 会撞 DSH 官方包的 peer 依赖,这不是插件本身的问题。
181
181
 
@@ -258,6 +258,34 @@ npm run build
258
258
  - [oh-my-pi advisor/watchdog](https://github.com/can1357/oh-my-pi/blob/main/docs/advisor-watchdog.md)
259
259
  - [rpiv-advisor](https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-advisor)
260
260
 
261
+ ## 常见问题
262
+
263
+ ### DSH Desktop 报 `cannot resolve package "dsh-advisor"`
264
+
265
+ 这是 `0.2.1` 的旧 bundle patch 导致的:那个版本的 `cordis.patch.yml` 仍然引用旧包名 `dsh-advisor`。`0.2.2+` 已经改成 `dsh-advisor-plugin`。
266
+
267
+ 1. 先从对应 profile 移除旧安装(DSH Desktop 通常是 `desktop` profile):
268
+ ```bash
269
+ dsh plugin --profile desktop remove dsh-advisor
270
+ dsh plugin --profile desktop remove dsh-advisor-plugin
271
+ ```
272
+ 2. 安装最新版本:
273
+ ```bash
274
+ dsh plugin --profile desktop add dsh-advisor-plugin@latest --registry=https://registry.npmjs.org
275
+ ```
276
+ 3. 验证 profile 组合结果:
277
+ ```bash
278
+ dsh --profile desktop --dump-config | grep -A3 dsh-advisor
279
+ ```
280
+ 期望看到:
281
+ ```text
282
+ # == dsh-advisor-plugin
283
+ - id: dsh-advisor-plugin
284
+ name: dsh-advisor-plugin
285
+ ```
286
+ 4. 如果 profile 的 `cordis.patch.yml` 里还残留 `- id: dsh-advisor` / `name: dsh-advisor` 行,删掉那一行再重启。
287
+
288
+
261
289
  ## License
262
290
 
263
291
  [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-advisor-plugin",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
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",
@@ -64,13 +64,13 @@
64
64
  ],
65
65
  "peerDependencies": {
66
66
  "@deepseek-ai/cordis": "^4.0.2",
67
- "@deepseek-ai/dsh-agent": "^0.1.5-rc.2",
68
- "@deepseek-ai/dsh-commands": "^0.1.5-rc.2",
69
- "@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
70
- "@deepseek-ai/dsh-session": "^0.1.5-rc.2",
71
- "@deepseek-ai/dsh-settings": "^0.1.5-rc.2",
72
- "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.2",
73
- "@deepseek-ai/dsh-tools": "^0.1.5-rc.2",
67
+ "@deepseek-ai/dsh-agent": "^0.1.5-rc.1 || ^0.1.5-rc.2",
68
+ "@deepseek-ai/dsh-commands": "^0.1.5-rc.1 || ^0.1.5-rc.2",
69
+ "@deepseek-ai/dsh-llm": "^0.1.5-rc.1 || ^0.1.5-rc.2",
70
+ "@deepseek-ai/dsh-session": "^0.1.5-rc.1 || ^0.1.5-rc.2",
71
+ "@deepseek-ai/dsh-settings": "^0.1.5-rc.1 || ^0.1.5-rc.2",
72
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.1 || ^0.1.5-rc.2",
73
+ "@deepseek-ai/dsh-tools": "^0.1.5-rc.1 || ^0.1.5-rc.2",
74
74
  "@deepseek-ai/schemastery": "^3.18.2"
75
75
  },
76
76
  "devDependencies": {