@tencent-ai/agent-sdk 0.3.83 → 0.3.84

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 CHANGED
@@ -7,6 +7,27 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
7
7
 
8
8
  ## [未发布]
9
9
 
10
+ ## [2.62.0] - 2026-03-13
11
+
12
+ ### ✨ 新功能
13
+
14
+ - **Delegate Tool 支持(实验性)**:新增 DelegateTool 工具,允许 Agent 调用由外部客户端(如 Web UI、IDE 插件)注册的委托工具,实现 UI 查询和 UI 控制等功能
15
+
16
+ ### 🔧 功能改进
17
+
18
+ - **远程控制重构**:将 `/wecom-bot` 命令统一为通用 `/remote-control` 命令,支持多种长连接客户端的统一管理;新增交互式 UI 面板,可通过键盘选择客户端连接或断开;`ILongConnectionClient` 接口新增 `hidden` 字段,支持隐藏不在 UI 面板中显示的内部客户端
19
+ - **远程控制本地命令快速执行**:新增快速检测本地命令(如 `/clear`、`/skills`、`/cost`)的机制,避免为本地命令显示"正在处理,请稍候..."提示;改进 Bun 环境的 WebSocket 实现检测;移除对产品配置的动态依赖
20
+ - **模型兼容性增强**:新增 OpenAI 模型适配器,自动清理不兼容参数并迁移 `max_tokens` 到 `max_completion_tokens`;Gemini 适配器增加 JSON Schema 字段清理,修复工具参数导致的 400 错误;插件市场创建失败时跳过而非中断整个加载流程
21
+ - **流超时处理优化**:将默认流超时从 30 秒调整为 60 秒,新增 finish_reason 检测避免模型已完成响应被误判为超时;统一使用计数器追踪超时重试次数;错误重试时跳过 Stop hooks 和 headless completion 的提前 resolve
22
+ - **Bash 工具描述**:优化命令描述提示,对复杂命令提供更清晰的说明示例;细化危险命令列表,明确列出不可逆操作
23
+ - **记忆路径结构**:项目记忆目录对齐标准路径结构,支持旧路径自动兼容;修复 Auto Memory 菜单中路径显示不完整的问题
24
+ - **AbortController 泄漏修复**:统一使用 `createAbortController()` 替代 `new AbortController()`,防止长会话中监听器累积告警
25
+ - **测试稳定性**:修复模型回退拦截器测试中的容器污染问题,提升测试套件运行稳定性
26
+
27
+ ### 🐛 问题修复
28
+
29
+ - **ACP 会话管理**:修复 newSession 请求默认复用旧会话的问题,改用 continue 字段显式控制会话复用行为
30
+
10
31
  ## [2.61.3] - 2026-03-13
11
32
 
12
33
  ### 🔧 功能改进