dsh-plugin-subagent-director 0.5.6-beta.0 → 0.5.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/CHANGELOG.md +13 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
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.6] - 2026-10-10
6
+
7
+ ### 修复
8
+
9
+ - **one-shot 后台委派的 `owner` 传成 Agent 对象(#10)**:`jobs.start({ owner })` 期望
10
+ 父代理的 **SessionId 字符串**,插件此前传入整个父 Agent 对象;内核 `resolveOwner()`
11
+ 以 `agents.get(session)` 按 SessionId 查找活跃代理,对象键查不到即抛
12
+ `session "[object Object]" has no live agent (background job owner must be live)`。
13
+ 现改为 `owner: parent.id`(与内核自带 `subagent` 工具一致),并新增回归测试
14
+ `test/delegation-owner.test.ts`:断言传入的 `owner` 为字符串 id(把该行还原为对象后
15
+ 测试立即失败)。仅影响 `backgroundMode: 'one-shot'` + `run_in_background` 路径;
16
+ continuable 与前台路径不受影响。
17
+
5
18
  ## [0.5.5] - 2026-09-29
6
19
 
7
20
  ### 兼容性
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-subagent-director",
3
- "version": "0.5.6-beta.0",
3
+ "version": "0.5.6",
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",