@tencent-ai/codebuddy-code 2.72.0-next.6c5fd20.20260402 → 2.73.0
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/CHANGELOG.md +22 -0
- package/dist/codebuddy-headless.js +33 -28
- package/dist/codebuddy.js +37 -32
- package/package.json +2 -3
- package/product.cloudhosted.json +2 -2
- package/product.internal.json +2 -2
- package/product.ioa.json +2 -2
- package/product.json +3 -3
- package/product.selfhosted.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,28 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
|
|
|
7
7
|
|
|
8
8
|
## [未发布]
|
|
9
9
|
|
|
10
|
+
## [2.73.0] - 2026-04-03
|
|
11
|
+
|
|
12
|
+
### ✨ 新功能
|
|
13
|
+
|
|
14
|
+
- **Channel 建议确认**:当通过微信/企业微信渠道完成一轮对话后,自动生成下一步建议并发送给用户确认,用户回复 y 即可继续执行
|
|
15
|
+
|
|
16
|
+
### 🔧 功能改进
|
|
17
|
+
|
|
18
|
+
- **微信/企微权限三选项**:权限请求提示从 `(y/n)` 升级为 `(y=允许/n=拒绝/a=总是允许)`,支持记住选择
|
|
19
|
+
- **修复权限卡死**:微信/企微中回复非选项内容时不再卡死,自动拒绝当前权限并将输入作为新消息处理
|
|
20
|
+
- **上下文压缩优化**:压缩前自动清理超过 1 小时的旧工具结果(Microcompact),减少发送给压缩模型的 token 数量,实测可节省 80%+ 的压缩输入
|
|
21
|
+
- **图片内容剥离**:压缩前自动将图片替换为占位符,避免无意义的图片 token 进入摘要
|
|
22
|
+
- **压缩提示词增强**:改进 9 章节结构化摘要格式,提高压缩质量和信息保留率
|
|
23
|
+
- **移除异步压缩**:简化压缩架构,统一使用同步阻塞压缩路径
|
|
24
|
+
- **JSON 修复增强**:使用 jsonrepair 库替换自定义引号修复逻辑,支持修复中文引号、缺失逗号、截断 JSON 等更多畸形 JSON 场景
|
|
25
|
+
- **移除重试机制**:不再向模型发送 malformed JSON 重试 prompt,改为直接修复或静默过滤,减少不必要的模型调用
|
|
26
|
+
|
|
27
|
+
### 🐛 问题修复
|
|
28
|
+
|
|
29
|
+
- **渠道消息斜杠命令**:修复从微信等渠道发送的斜杠命令因被 `<channel>` 标签包裹而无法正确识别的问题
|
|
30
|
+
- **队列消息命令保留**:消息队列处理时保留斜杠命令,等 agent 空闲后通过正常拦截器管道执行,避免命令被吞掉
|
|
31
|
+
|
|
10
32
|
## [2.72.0] - 2026-04-02
|
|
11
33
|
|
|
12
34
|
### ✨ 新功能
|