@tencent-ai/agent-sdk 0.3.233 → 0.3.234
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/cli/CHANGELOG.md +14 -0
- package/cli/dist/codebuddy-headless.js +454 -307
- package/cli/dist/web-ui/assets/{index-Si_iqq2l.js → index-Dl8Dlnne.js} +60 -60
- package/cli/dist/web-ui/index.html +1 -1
- package/cli/dist/web-ui/sw.js +1 -1
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +6 -3
- package/cli/product.internal.json +6 -3
- package/cli/product.ioa.json +6 -3
- package/cli/product.json +19 -4
- package/cli/product.selfhosted.json +5 -3
- package/package.json +1 -1
package/cli/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
|
|
|
7
7
|
|
|
8
8
|
## [未发布]
|
|
9
9
|
|
|
10
|
+
## [2.129.0] - 2026-07-29
|
|
11
|
+
|
|
12
|
+
### 🎉 新功能
|
|
13
|
+
|
|
14
|
+
- **新增 Monitor 工具**:模型可在后台运行一个命令,命令产生新输出时无需轮询 `TaskOutput`/`BashOutput`,会在闲时被主动唤醒、忙时在自然轮次结束后看到增量内容。支持 `timeout_ms` 自动停止和 `persistent` 长期监控,可通过 `TaskStop` 提前停止。默认开启,可通过 `CODEBUDDY_MONITOR_ENABLED=false` 关闭;延迟加载,需先经 `ToolSearch` 发现再调用。
|
|
15
|
+
- **ShareLink 新增取消发布能力**:新增 `ShareLinkUnpublish` 工具,可撤销此前用 `ShareLink` 生成的公开分享链接,让敏感文档的分享形成 CLI 内闭环。支持直接传入分享链接 URL 或其 nodeId(链接 `/p/` 后的标识),无需登录网页端或联系后端。同时 `ShareLink` 现在会在返回结果中带上 nodeId 并提示可随时用 `ShareLinkUnpublish` 撤销。与 `ShareLink` 一致,仅面向国内 / iOA / 内部 endpoint 开启。
|
|
16
|
+
|
|
17
|
+
### 🐛 问题修复
|
|
18
|
+
|
|
19
|
+
- **Web UI 切换会话卡死**:`/resume` 在 agent 运行中改为带外立即执行(不再排队到当前 turn 结束),sessionReset 通知从单播 `session.meta.acpConnectionId`(重连/多客户端后失效并静默丢弃)改为广播到所有 ACP 连接,切换会话不再需要关闭浏览器重进才恢复。
|
|
20
|
+
- **Web UI 流式内容重复**:断网重连触发的 `session/load` 全量回放此前直接叠加在已渲染内容之上(工具卡片按 id 去重、文本 chunk 纯追加),导致 thinking/正文出现"二审二审摘要摘要"式逐 chunk 重复;现在 `historyReplay=start` 时先清空时间线再由回放重建。
|
|
21
|
+
- **Web UI 跨会话内容串扰**:acp-client 此前仅给 `usage_update` 附带信封 sessionId,主时间线处理器无按会话过滤,其他客户端/工作流后台会话/切走后仍在运行的旧会话的输出会全部渲染进当前页面;现在所有 `session/update` 事件均携带信封 sessionId,`user_message_chunk` / `agent_message_chunk` / `agent_thought_chunk` / `tool_call` / `tool_call_update` / `session_end` 按会话过滤外来事件。
|
|
22
|
+
- **`/resume` 污染会话历史**:`/resume <id>` 命令文本不再写入会话 history(对齐 `/clear`、`/fork`),刷新后时间线不再出现多余的 `/resume` 用户气泡。
|
|
23
|
+
|
|
10
24
|
## [2.128.1] - 2026-07-29
|
|
11
25
|
|
|
12
26
|
### 🐛 问题修复
|