@tencent-ai/agent-sdk 0.3.9 → 0.3.10
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 +26 -0
- package/cli/dist/codebuddy.js +5 -5
- 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 +3 -3
- package/cli/product.selfhosted.json +2 -2
- package/lib/acp/agent.d.ts +23 -0
- package/lib/acp/agent.d.ts.map +1 -1
- package/lib/acp/agent.js +82 -7
- package/lib/acp/agent.js.map +1 -1
- package/lib/acp/tool-converter.d.ts +28 -3
- package/lib/acp/tool-converter.d.ts.map +1 -1
- package/lib/acp/tool-converter.js +86 -54
- package/lib/acp/tool-converter.js.map +1 -1
- package/lib/session.d.ts +27 -0
- package/lib/session.d.ts.map +1 -1
- package/lib/session.js +59 -0
- package/lib/session.js.map +1 -1
- package/lib/types.d.ts +64 -1
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +1 -1
package/cli/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,32 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
|
|
|
5
5
|
我们遵循 [语义化版本](https://semver.org/spec/v2.0.0.html) 规范。
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## [2.37.14] - 2026-01-22
|
|
9
|
+
|
|
10
|
+
### 🔧 功能改进
|
|
11
|
+
|
|
12
|
+
- **SDK 动态配置**:新增 `getAvailableModes()` 和 `getAvailableModels()` 方法,支持动态获取可用权限模式和模型列表
|
|
13
|
+
- **会话级设置**:`setModel()` 和 `setPermissionMode()` 现在仅影响当前会话,不再持久化到配置文件
|
|
14
|
+
- **新增用户提示**:添加更多内置提示,帮助用户了解快捷键和操作技巧
|
|
15
|
+
- **模型切换快捷键**:支持 Option/Alt + P 快速切换模型
|
|
16
|
+
- **输出限制统一调整**:将各类工具的 token 限制统一为 20000,并排除图片内容不受此限制
|
|
17
|
+
- **环境变量支持**:Read 工具支持 `CODEBUDDY_CODE_FILE_READ_MAX_OUTPUT_TOKENS` 环境变量自定义限制
|
|
18
|
+
- **Bash 输出上限**:新增 100000 字符的硬上限,防止环境变量设置过大
|
|
19
|
+
- **启动性能优化**:优化认证和服务配置初始化流程,提升 CLI 冷启动速度
|
|
20
|
+
- **插件市场安装**:优化市场和插件安装流程,提升首次安装和自动更新的性能,显著减少等待时间
|
|
21
|
+
- **代码清理**:移除会话处理器中的冗余调试日志,减少日志噪音
|
|
22
|
+
- **构建优化**:修复外部 npm 包依赖配置,确保构建稳定性
|
|
23
|
+
|
|
24
|
+
### 🐛 问题修复
|
|
25
|
+
|
|
26
|
+
- **Diff 渲染稳定性**:修复了工具调用参数解析时因空字符串或不完整 JSON 导致的渲染崩溃问题
|
|
27
|
+
|
|
28
|
+
### 🔧 性能优化
|
|
29
|
+
|
|
30
|
+
- **异步文件操作**:将自定义命令、Agent 和 Skill 的加载改为异步并行处理,提升启动性能
|
|
31
|
+
- **Git 信息收集**:优化仓库扫描逻辑,采用异步并行处理提升性能
|
|
32
|
+
- **产品配置加载**:改进配置文件查找机制,支持并行路径检查
|
|
33
|
+
|
|
8
34
|
## [2.37.13] - 2026-01-22
|
|
9
35
|
|
|
10
36
|
### 🔧 功能改进
|