dsh-plugin-subagent-director 0.5.3-beta.0 → 0.5.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/CHANGELOG.md +13 -10
- package/README.md +3 -3
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,19 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
本项目的所有显著变更都会记录在此文件中。格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循 [SemVer](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
-
## [0.5.3
|
|
5
|
+
## [0.5.3] - 2026-09-25
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### 兼容:适配 DSH 0.1.7-rc.2
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
`
|
|
12
|
-
(见 `0.5.3` 条目);全部 `@deepseek-ai/dsh*` peer 范围升至 `^0.1.7-rc.1`,
|
|
13
|
-
`dsh.compatibility.dshReleases` 新增 `"0.1.7-rc.1": "compatible"`,README 徽章与
|
|
9
|
+
- 在本机 **0.1.7-rc.2** 上真实装载运行通过:全部入口激活、零错误、无 pending;
|
|
10
|
+
设置读写(`settingsView` / `settingsMutate` 乐观锁)实测往返成功。
|
|
11
|
+
`dsh.compatibility.dshReleases` 新增 `"0.1.7-rc.2": "compatible"`;README 徽章与
|
|
14
12
|
兼容性说明同步。
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
- 0.1.7-rc.1 → rc.2 的官方 `@deepseek-ai/dsh-*` 公开 API 无移除、无改名(增量新增)。
|
|
14
|
+
`dsh-subagent` 移除了对 `dsh-session-projection-cache` 的 peer 依赖并调整了后代
|
|
15
|
+
列举语义(`listDescendants` / `listChildren`)——本插件不使用这些接口,无需适配。
|
|
18
16
|
|
|
19
17
|
### 加固:悬空 `defaultRole` 改为「读时告警」,恢复等价安全性
|
|
20
18
|
|
|
@@ -34,6 +32,11 @@ schemastery 表达,写入时不再被拒绝——配置错误不再被主动
|
|
|
34
32
|
非悬空时省略该字段,响应形状保持不变。
|
|
35
33
|
- **保留**:`validateDirectorSettings` 与路由解析器既有的「警告 + 跳过绑定」行为均不变。
|
|
36
34
|
|
|
35
|
+
### Beta 说明
|
|
36
|
+
|
|
37
|
+
- 测试版 `0.5.3-beta.0`(`--tag beta`)的内容——设置子系统迁移至 `SettingsForms`
|
|
38
|
+
(`0.5.2` 条目)与本条加固——随本版一并正式发布。
|
|
39
|
+
|
|
37
40
|
## [0.5.2] - 2026-09-24
|
|
38
41
|
|
|
39
42
|
### 兼容:设置子系统迁移至 DSH 0.1.7-rc.1 的 `SettingsForms`
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<img alt="npm version" src="https://img.shields.io/npm/v/dsh-plugin-subagent-director?label=npm">
|
|
7
7
|
<img alt="license" src="https://img.shields.io/npm/l/dsh-plugin-subagent-director">
|
|
8
|
-
<img alt="DeepSeek Harness" src="https://img.shields.io/badge/DSH%200.1.5--rc.1%20%2F%20rc.2%20%2F%200.1.6--alpha.2-blue">
|
|
8
|
+
<img alt="DeepSeek Harness" src="https://img.shields.io/badge/DSH%200.1.5--rc.1%20%2F%20rc.2%20%2F%200.1.6--alpha.2%20%2F%200.1.7--rc.1%20%2F%20rc.2-blue">
|
|
9
9
|
<img alt="Awesome DSH Plugin" src="https://awesome-dsh-plugin.com/badge.svg">
|
|
10
10
|
</p>
|
|
11
11
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
## 与官方子代理选择器的适配
|
|
37
37
|
|
|
38
|
-
> **兼容性**:v0.5.
|
|
38
|
+
> **兼容性**:v0.5.3 支持 DSH **0.1.5-rc.1+**,已在 **0.1.5-rc.1 / 0.1.5-rc.2 / 0.1.6-alpha.2 / 0.1.7-rc.1 / 0.1.7-rc.2** 实测(`alpha4-probe` + real-cordis 探针通过,实测 0.1.7-rc.1 / 0.1.7-rc.2 依赖集)。设置子系统已迁移至 0.1.7 的 `SettingsForms`(插件 Config schema + volatile 热更 + 自建设置页)。旧版 DSH(0.1.0-rc.6 及更早)请使用最后兼容的 npm 版本 **0.4.0**。
|
|
39
39
|
|
|
40
40
|
DSH alpha.4 起,官方内置 subagent 的模型选择收敛到 `subagent-model-selection` 设置段(`allowedModels` 授权列表)。本插件 v0.5.0 完全适配该机制:
|
|
41
41
|
|
|
@@ -225,6 +225,6 @@ DSH 的 Web API 只向白名单内的 settings 命名空间开放读写。本插
|
|
|
225
225
|
- **Release continuable children** — a model-facing `close_subagent(subagent_id)` tool plus a "Release subagent" button in the subagent session header, freeing resident children through the core `drainContinuableChildren` API;
|
|
226
226
|
- **Observability** — the addressed subagent’s actual provider/model shown under the composer, read from the session’s `request/header` records (graceful degradation when no run is recorded yet).
|
|
227
227
|
|
|
228
|
-
**Official subagent selector adaptation (v0.5.0+)** — since DSH alpha.4 the built-in subagent constrains model selection to the official `subagent-model-selection` allowlist (`allowedModels`). v0.5.0 aligns with it: routes are selected only from the allowlist (unauthorized explicit routes hard-fail; unauthorized default/role routes are dropped and fall back to inheritance), the rc-era `applyDefaultRoute` patch seam is removed (no double-writing of model routes with the official selector), and the client half no longer references the rc-era `dsh-client-runtime` package. **Compatibility**: v0.5.
|
|
228
|
+
**Official subagent selector adaptation (v0.5.0+)** — since DSH alpha.4 the built-in subagent constrains model selection to the official `subagent-model-selection` allowlist (`allowedModels`). v0.5.0 aligns with it: routes are selected only from the allowlist (unauthorized explicit routes hard-fail; unauthorized default/role routes are dropped and fall back to inheritance), the rc-era `applyDefaultRoute` patch seam is removed (no double-writing of model routes with the official selector), and the client half no longer references the rc-era `dsh-client-runtime` package. **Compatibility**: v0.5.3 targets DSH **0.1.5-rc.1+**, verified on **0.1.5-rc.1 / 0.1.5-rc.2 / 0.1.6-alpha.2 / 0.1.7-rc.1 / 0.1.7-rc.2**; for older DSH releases use npm version **0.4.0**.
|
|
229
229
|
|
|
230
230
|
**Install** — `dsh plugin --profile <name> add dsh-plugin-subagent-director` mounts the main and bridge entries automatically from the package's bundle patch (`cordis.patch.yml`); optionally override the main entry's config in your profile's cordis.patch.yml (see the Chinese section above). License: MIT.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-subagent-director",
|
|
3
|
-
"version": "0.5.3
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Subagent Director: choose an LLM provider/model for each subagent (call args > role binding > plugin default > inherit parent) and plan main-agent/subagent responsibilities with role templates, plus a settings UI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
"0.1.5-rc.1": "compatible",
|
|
58
58
|
"0.1.5-rc.2": "compatible",
|
|
59
59
|
"0.1.6-alpha.2": "compatible",
|
|
60
|
-
"0.1.7-rc.1": "compatible"
|
|
60
|
+
"0.1.7-rc.1": "compatible",
|
|
61
|
+
"0.1.7-rc.2": "compatible"
|
|
61
62
|
},
|
|
62
63
|
"node": ">=20"
|
|
63
64
|
}
|