@tencent-ai/codebuddy-code 2.93.6 → 2.93.7-next.2babce8.20260428

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/codebuddy-headless.js +188 -179
  3. package/dist/codebuddy.js +140 -131
  4. package/dist/web-ui/docs/cn/cli/env-vars.md +28 -0
  5. package/dist/web-ui/docs/cn/cli/iam.md +10 -0
  6. package/dist/web-ui/docs/cn/cli/models.md +105 -6
  7. package/dist/web-ui/docs/cn/cli/release-notes/README.md +4 -0
  8. package/dist/web-ui/docs/cn/cli/release-notes/v2.93.4.md +11 -0
  9. package/dist/web-ui/docs/cn/cli/release-notes/v2.93.5.md +5 -0
  10. package/dist/web-ui/docs/cn/cli/release-notes/v2.93.6.md +11 -0
  11. package/dist/web-ui/docs/cn/cli/settings.md +2 -0
  12. package/dist/web-ui/docs/en/cli/env-vars.md +28 -0
  13. package/dist/web-ui/docs/en/cli/iam.md +10 -0
  14. package/dist/web-ui/docs/en/cli/models.md +105 -6
  15. package/dist/web-ui/docs/en/cli/release-notes/README.md +4 -0
  16. package/dist/web-ui/docs/en/cli/release-notes/v2.93.4.md +11 -0
  17. package/dist/web-ui/docs/en/cli/release-notes/v2.93.5.md +5 -0
  18. package/dist/web-ui/docs/en/cli/release-notes/v2.93.6.md +11 -0
  19. package/dist/web-ui/docs/en/cli/release-notes/v2.93.7.md +22 -0
  20. package/dist/web-ui/docs/en/cli/settings.md +2 -0
  21. package/dist/web-ui/docs/search-index-en.json +1 -1
  22. package/dist/web-ui/docs/search-index-zh.json +1 -1
  23. package/dist/web-ui/docs/sidebar-en.json +1 -1
  24. package/dist/web-ui/docs/sidebar-zh.json +1 -1
  25. package/package.json +3 -2
  26. package/product.cloudhosted.json +7 -32
  27. package/product.internal.json +7 -32
  28. package/product.ioa.json +27 -32
  29. package/product.json +89 -54
  30. package/product.selfhosted.json +7 -32
  31. package/vendor/sandbox/sandbox-cli +0 -0
  32. package/vendor/sandbox/sandbox-cli.exe +0 -0
  33. package/vendor/sandbox/sandbox_ffi.dll +0 -0
  34. package/vendor/sandbox/tsbx.dll +0 -0
  35. package/vendor/sandbox/tsbx_sdk.dll +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,30 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
7
7
 
8
8
  ## [未发布]
9
9
 
10
+ ## [2.93.7] - 2026-04-26
11
+
12
+ ### 🔧 功能改进
13
+
14
+ - **主 agent 工具精简**:默认 agent 工具链聚焦到 Read / Write / Edit / Bash / PowerShell 等核心工具,删除不再默认挂载的冗余工具;用户在 settings 中自定义工具列表不受影响
15
+ - **内建 `/commit` 与 `/commit-push-pr` 命令**:主 agent 内部委派使用,用于统一 Git 提交与 PR 打开流程;用户在 `/` 菜单中不可见
16
+ - **Bash / Agent / Skill 工具说明精炼**:模型侧系统提示的工具描述整体瘦身、同时补充子代理提示写法与前后台选择指导
17
+ - **长对话恢复**:增强上下文超限后的自动恢复稳定性,减少错误重试时的上下文处理异常
18
+ - **自动压缩兜底**:优化长会话下的预处理压缩行为,避免压缩失败时当前输入被意外中断
19
+ - **Cost 口径对齐**:`/cost` 展示采用业界一致的语义——`input / cacheRead / cacheWrite` 三者互不相交、相加等于总 input,避免重复计数
20
+ - **Token 数值展示统一为 1000 进制**:`/cost`、`/context` 等面板中的 token 数字采用 1000 进制(k / M),与模型厂商文档保持一致
21
+ - **跨轮 Memory 去重**:会话内已注入过的 memory 在后续轮次不再重复进入上下文,把"相关记忆"预算留给新的候选
22
+ - **自定义 agent 的模型字段仅按 id 精确匹配**:`.codebuddy/agents/*.md` frontmatter 中 `model:` 字段若不是有效模型 id,将回落到主 agent 的当前模型;避免字面量撞名误选到用户自定义模型
23
+
24
+ ### 🐛 问题修复
25
+
26
+ - **模型请求稳定性**:改善偶发的 `502 socket hang up` 问题。为无代理场景下的 HTTPS 请求启用 TCP keep-alive,对抗中间网关的 idle/NAT 超时;在响应头返回之前发生的连接级失败(ECONNRESET / socket hang up 等)自动透明重试一次,重试严格限制在上游尚未开始推理的阶段,不会导致 token 重复计费
27
+
28
+ ### 📝 文档更新
29
+
30
+ - **第三方模型对接示例**:`env-vars.md` / `models.md` 新增端点+密钥+主/小/子代理模型的完整配置示例,`settings.json` 的 `env` 字段可用于团队统一配置
31
+ - **`relatedModels` 字段文档**:`models.md` 补充 `relatedModels` 字段说明,介绍在 `lite`/`reasoning`/`vision`/`longContext`/`subagent` 等场景下如何关联不同模型 id
32
+ - **`trustAll` / `trustedDirectories` 与权限模式的关系**:`iam.md` / `settings.md` 补充说明——这两个字段只影响启动时的目录信任授权提示,不会跳过工具执行权限审批,与 `permissions.defaultMode` 相互独立
33
+
10
34
  ## [2.93.6] - 2026-04-25
11
35
 
12
36
  ### 🔧 功能改进