dsh-plugin-subagent-director 0.3.0-beta.4 → 0.3.0
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 +17 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
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.3.0] - 2026-08-
|
|
5
|
+
## [0.3.0] - 2026-08-29
|
|
6
6
|
|
|
7
7
|
### 新增
|
|
8
8
|
|
|
9
|
-
- **`close_subagent`
|
|
10
|
-
|
|
9
|
+
- **`close_subagent` 模型可见工具**:主代理可按需释放驻留的 continuable
|
|
10
|
+
子代理(内部调用 DSH 核心 `drainContinuableChildren`,与
|
|
11
11
|
`send_message`/`interrupt_agent` 构成完整生命周期闭环;非驻留目标是安全
|
|
12
12
|
no-op)——[issue #1](https://github.com/SeverusZh/dsh-plugin-subagent-director/issues/1);
|
|
13
13
|
- **子代理会话页「终止可持续状态」按钮**:打开 continuable 子代理会话时,
|
|
@@ -16,14 +16,21 @@
|
|
|
16
16
|
- **可观测性打通**:composer 下方实际运行供应商/模型读数不再依赖尚未填充的
|
|
17
17
|
assistant provenance 字段,改为读取子代理会话的 `request/header` 记录
|
|
18
18
|
(`subagentModel` 桥端点),快照内已有 provenance 时仍走零请求快速路径,
|
|
19
|
-
读不到时优雅降级——移除 README
|
|
19
|
+
读不到时优雅降级——移除 README「暂不可用」标注;
|
|
20
|
+
- **角色「工具集」编辑**:角色编辑/添加卡片支持可视化配置 `toolFilter.allow`
|
|
21
|
+
——搜索过滤、全选/全不选(仅作用于过滤结果)、已选计数、收起展开、
|
|
22
|
+
可滚动列表(`toolCatalog` 桥端点枚举完整 agent 视图,含 bash/read/write
|
|
23
|
+
等基础工具,实测 88 个)。
|
|
20
24
|
|
|
21
25
|
### 修复
|
|
22
26
|
|
|
23
27
|
- 未配置 `toolFilter` 的角色被 dsh-settings 物化为 `{allow:[],deny:[]}` 后
|
|
24
28
|
清空子代理全部工具(tools=0、「只执行一步」假象):空 filter 视为未配置,
|
|
25
29
|
schema 层不再物化空对象(`hasToolFilter` + `.default(undefined)`)——
|
|
26
|
-
[issue #2](https://github.com/SeverusZh/dsh-plugin-subagent-director/issues/2)
|
|
30
|
+
[issue #2](https://github.com/SeverusZh/dsh-plugin-subagent-director/issues/2);
|
|
31
|
+
- `toolCatalog` 原先只枚举全局注册表(56 个),遗漏 preset 层的
|
|
32
|
+
bash/read/write/grep 等基础工具:改经 `agent.ctx.get('tools').schemas(agent)`
|
|
33
|
+
枚举完整 agent 视图(88 个)。
|
|
27
34
|
|
|
28
35
|
### 兼容性
|
|
29
36
|
|
|
@@ -32,12 +39,14 @@
|
|
|
32
39
|
|
|
33
40
|
### 测试
|
|
34
41
|
|
|
35
|
-
- 单元测试由 150 增至
|
|
36
|
-
桥接 `subagentClose`/`subagentModel`
|
|
42
|
+
- 单元测试由 150 增至 197:空 toolFilter 语义、close_subagent 工具、
|
|
43
|
+
桥接 `subagentClose`/`subagentModel`/`toolCatalog` 端点、可观测性数据源
|
|
44
|
+
合并、工具集纯逻辑(过滤/全选/集合代数)。
|
|
37
45
|
|
|
38
46
|
### 文档
|
|
39
47
|
|
|
40
|
-
- README
|
|
48
|
+
- README:新增「释放可持续子代理」「工具集」特性、更新可观测性描述(中英
|
|
49
|
+
双语);CHANGELOG 0.3.0 汇总 beta.1–beta.4 的全部变更。
|
|
41
50
|
|
|
42
51
|
[0.3.0]: https://github.com/SeverusZh/dsh-plugin-subagent-director/releases/tag/v0.3.0
|
|
43
52
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-subagent-director",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
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",
|