@tencent-ai/agent-sdk 0.3.45 → 0.3.47
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 +35 -0
- package/cli/dist/codebuddy.js +3 -3
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +2 -2
- package/cli/product.internal.json +2 -2
- package/cli/product.ioa.json +2 -2
- package/cli/product.json +2 -2
- package/cli/product.selfhosted.json +2 -2
- package/lib/session.d.ts +7 -1
- package/lib/session.d.ts.map +1 -1
- package/lib/session.js +11 -0
- package/lib/session.js.map +1 -1
- package/lib/transport/process-transport.d.ts +5 -0
- package/lib/transport/process-transport.d.ts.map +1 -1
- package/lib/transport/process-transport.js +36 -0
- package/lib/transport/process-transport.js.map +1 -1
- package/lib/types.d.ts +6 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/utils/stream.d.ts +6 -0
- package/lib/utils/stream.d.ts.map +1 -1
- package/lib/utils/stream.js +10 -0
- package/lib/utils/stream.js.map +1 -1
- package/package.json +1 -1
package/cli/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
|
|
|
5
5
|
我们遵循 [语义化版本](https://semver.org/spec/v2.0.0.html) 规范。
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## [2.49.2] - 2026-02-10
|
|
9
|
+
|
|
10
|
+
### 🔧 功能改进
|
|
11
|
+
|
|
12
|
+
- **跨会话任务列表共享**:支持通过环境变量 `CODEBUDDY_TASK_LIST_ID` 在不同会话间共享任务列表,便于多终端协作和持续任务追踪
|
|
13
|
+
- **日期格式优化**:系统信息中的日期显示现在包含星期和更友好的格式,提升可读性
|
|
14
|
+
|
|
15
|
+
### 🐛 问题修复
|
|
16
|
+
|
|
17
|
+
- **中断状态竞态条件**:修复 ACP 流式模式下中断状态因共享 RunState 被后续运行修改导致的竞态问题,改用事件快照缓存中断状态
|
|
18
|
+
- **结果消息查找**:改进最终助手消息查找逻辑,支持从响应输出中反向搜索已完成消息,并在未找到时回退到会话历史
|
|
19
|
+
- **会话切换权限保持**:修复切换会话时权限模式未保留的问题,确保切换后延续当前的权限设置
|
|
20
|
+
- **拦截器重试机制**:修复了当模型响应拦截器触发自动重试时,视图层仍然输出原有失败结果的问题。现在拦截器启动重试后,会正确抑制失败结果的输出,仅显示重试后的成功响应
|
|
21
|
+
|
|
22
|
+
### 🔧 构建优化
|
|
23
|
+
|
|
24
|
+
- **构建工具升级**:升级 goreleaser、bun、uv 至最新版本
|
|
25
|
+
- **Bun 编译优化**:启用字节码编译和 ESM 格式,提升启动性能
|
|
26
|
+
|
|
27
|
+
## [2.49.1] - 2026-02-09
|
|
28
|
+
|
|
29
|
+
### 🔒 安全加固
|
|
30
|
+
|
|
31
|
+
- **沙箱配置文件保护**:沙箱模式下自动禁止写入 CodeBuddy 配置文件(settings.json),防止通过注入 hooks 实现沙箱逃逸攻击
|
|
32
|
+
- **工具权限同步**:沙箱的文件系统拒绝规则现在同步应用到 Write、Edit 等文件操作工具,确保安全策略全面一致
|
|
33
|
+
|
|
34
|
+
### 🔧 功能改进
|
|
35
|
+
|
|
36
|
+
- **会话列表过滤**:过滤子代理和压缩分支会话,确保会话列表和最近会话仅展示用户真实会话
|
|
37
|
+
- **SDK 文档修复**:修复认证配置链接中的括号格式问题
|
|
38
|
+
|
|
39
|
+
### 🐛 问题修复
|
|
40
|
+
|
|
41
|
+
- **会话历史定位**:修复了切换会话或恢复历史时,`lastMessageId` 可能错误指向无 ID 的自定义消息(如摘要、主题)导致对话链断裂的问题
|
|
42
|
+
|
|
8
43
|
## [2.49.0] - 2026-02-08
|
|
9
44
|
|
|
10
45
|
### ✨ 新功能
|