@xiangyixie/dsh-superagent 0.14.4 → 0.14.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.
- package/CHANGELOG.md +43 -0
- package/README.en.md +1754 -1878
- package/README.md +1161 -1220
- package/README.zh.md +1173 -1232
- package/docs/images/approval-card.png +0 -0
- package/docs/images/console-summary.png +0 -0
- package/docs/images/console-task-lines.png +0 -0
- package/docs/images/sidebar-entry.png +0 -0
- package/lib/console.js +12 -2
- package/lib/doctor.js +1 -0
- package/lib/index.js +211 -220
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,49 @@ along with the next code release. A doc-only version leaves `lib/` and `bin/`
|
|
|
8
8
|
byte-identical to the version before it, and the pinned install line in the
|
|
9
9
|
README is updated to the version being released.
|
|
10
10
|
|
|
11
|
+
## 0.14.6 — 2026-11-16
|
|
12
|
+
|
|
13
|
+
### 修复
|
|
14
|
+
|
|
15
|
+
- **配了控制台端口后插件不再整个不加载。** 审批桥在真实宿主上读取 `ctx.root`
|
|
16
|
+
会抛错,导致插件启动时只留下 `1 entry did not activate`。改为用 Cordis 的根
|
|
17
|
+
上下文符号取根,取不到就回退到插件自己的上下文。
|
|
18
|
+
- **关闭页面或断线后,挂起的审批立即取消。** 以前最后一个控制台页面关闭、SSE
|
|
19
|
+
流断开后,工具调用仍会停在那里等满 10 分钟才按超时处理;现在最后一个客户端
|
|
20
|
+
断开就结算为 `cancelled`,既不自动批准,也不再占着会话。
|
|
21
|
+
- **启动期停止不再报时间线 ENOENT。** 状态目录还没建好时刷新时间线会写失败;
|
|
22
|
+
现在先建目录再写临时文件。
|
|
23
|
+
|
|
24
|
+
### 文档
|
|
25
|
+
|
|
26
|
+
- 首屏改成真实界面截图(任务线卡、汇总与产物、审批卡、侧边栏入口)加三步快速
|
|
27
|
+
开始,并补了三条常见问题;中文默认,英文同步。
|
|
28
|
+
|
|
29
|
+
## 0.14.5 — 2026-11-16
|
|
30
|
+
|
|
31
|
+
这次只做一件事:把插件自己占的地方变小,能力一个不少。
|
|
32
|
+
|
|
33
|
+
### 变化
|
|
34
|
+
|
|
35
|
+
- **常驻开销降了 77%。** 每次请求都会带上插件的工具说明和一句引导语,这部分
|
|
36
|
+
从约 4,923 token 降到约 1,139 token(同一宿主、同一模型实测)。工具描述不再
|
|
37
|
+
写长篇使用手册,只留"什么时候该用它";详细说明放到工具真正被调用时返回。
|
|
38
|
+
- **常用工具直接可见,冷门能力按需展开。** 默认只声明 8 个常用工具:起 run、
|
|
39
|
+
查状态、列表、取消、恢复、追加指令、回答提问,以及 `superagent_help`。长期
|
|
40
|
+
目标、定时任务、实时插话、跨 run 笔记、模板、审计这 6 个不常用工具不会一
|
|
41
|
+
直占着上下文;需要时先调一次 `superagent_help`,它们在下一步自动出现在工具
|
|
42
|
+
列表里,会话按需记住这个状态。
|
|
43
|
+
- **引导语每个会话只出现一次。** 以前每个 turn 都会再塞一份,长会话里越来越
|
|
44
|
+
占地方;现在只在会话开始时注入一次,内容也缩短了。
|
|
45
|
+
|
|
46
|
+
### 对使用者的影响
|
|
47
|
+
|
|
48
|
+
- 工具名、参数、行为都没有变;已经在用的工作流照常跑。
|
|
49
|
+
- 需要定时任务、长期目标这类能力时,模型会自己先调 `superagent_help`,不需要
|
|
50
|
+
你额外提示;展开后用法与之前一致。
|
|
51
|
+
- 新增回归测试钉住"一次请求固定带上的工具定义 + 引导语"的上限,超了测试就
|
|
52
|
+
失败,避免以后又把开销涨回去。
|
|
53
|
+
|
|
11
54
|
## 0.14.4 — 2026-11-16
|
|
12
55
|
|
|
13
56
|
This release gives a goal a life longer than one run, and fixes a check that
|