@tencent-ai/agent-sdk 0.3.41 → 0.3.42
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 +21 -0
- package/cli/dist/codebuddy.js +4 -4
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +3 -3
- package/cli/product.internal.json +3 -3
- package/cli/product.ioa.json +3 -3
- package/cli/product.json +3 -3
- package/cli/product.selfhosted.json +3 -3
- package/lib/acp/agent.d.ts +11 -0
- package/lib/acp/agent.d.ts.map +1 -1
- package/lib/acp/agent.js +54 -2
- package/lib/acp/agent.js.map +1 -1
- package/lib/acp/converter.d.ts +10 -0
- package/lib/acp/converter.d.ts.map +1 -1
- package/lib/acp/converter.js +44 -3
- package/lib/acp/converter.js.map +1 -1
- package/lib/acp/server.d.ts +7 -0
- package/lib/acp/server.d.ts.map +1 -1
- package/lib/acp/server.js +14 -0
- package/lib/acp/server.js.map +1 -1
- package/lib/query.d.ts.map +1 -1
- package/lib/query.js +7 -21
- package/lib/query.js.map +1 -1
- package/lib/session.d.ts +7 -0
- package/lib/session.d.ts.map +1 -1
- package/lib/session.js +17 -13
- package/lib/session.js.map +1 -1
- package/lib/types.d.ts +8 -0
- package/lib/types.d.ts.map +1 -1
- package/package.json +1 -1
package/cli/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,27 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
|
|
|
5
5
|
我们遵循 [语义化版本](https://semver.org/spec/v2.0.0.html) 规范。
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## [2.47.0] - 2026-02-04
|
|
9
|
+
|
|
10
|
+
### ✨ 新功能
|
|
11
|
+
|
|
12
|
+
- **跨会话记忆功能**:新增实验性记忆功能,支持 Agent 在会话间保持持久化记忆。可通过 `/config` 设置面板或 `memory.enabled` 配置项启用
|
|
13
|
+
- **团队记忆模式**:支持团队协作场景,将记忆存储在项目目录下便于共享
|
|
14
|
+
|
|
15
|
+
### 🔧 功能改进
|
|
16
|
+
|
|
17
|
+
- **command:// URI 处理**:优化 ACP 协议中 command:// 资源链接的处理,正确转换为斜杠命令格式并回显原始内容块
|
|
18
|
+
- **命令推送过滤**:修复内置命令被错误推送到 IDE 的问题,现在只推送用户自定义命令、skills 和特定内置命令
|
|
19
|
+
- **文件路径搜索**:优化重复字符查询的匹配精度,避免误匹配分散的字符
|
|
20
|
+
- **SSH 远程剪贴板**:修复在 Linux + SSH 远程环境下 Ctrl+Y 复制到剪贴板失败的问题,通过实现 OSC 52 协议支持远程终端剪贴板操作
|
|
21
|
+
- **会话恢复历史控制**:优化 SDK 恢复会话时的历史回放逻辑,通过 `hasPrompt` 信号让 CLI 智能判断是否需要回放历史消息,提升 resume 场景的使用体验
|
|
22
|
+
- **SDK 版本更新**:同步更新 SDK-JS 至 0.3.42,SDK-Python 至 0.3.40
|
|
23
|
+
|
|
24
|
+
### 🐛 问题修复
|
|
25
|
+
|
|
26
|
+
- **管道输入**:修复使用管道传递输入时内容无法被读取的问题(如 `cat file.txt | codebuddy -p "分析"`)
|
|
27
|
+
- **Stop Hooks 执行时机**:修复当工具需要用户确认时 Stop Hooks 被错误执行的问题,现在只有在没有待审批工具时才会触发
|
|
28
|
+
|
|
8
29
|
## [2.46.0] - 2026-02-04
|
|
9
30
|
|
|
10
31
|
### ✨ 新功能
|