@tencent-ai/codebuddy-code 2.97.5-next.c5a44af.20260523 → 2.98.1

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 (39) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/codebuddy-headless.js +92 -90
  3. package/dist/codebuddy.js +99 -97
  4. package/dist/web-ui/docs/cn/cli/codebuddy-dir.md +309 -0
  5. package/dist/web-ui/docs/cn/cli/env-vars.md +21 -0
  6. package/dist/web-ui/docs/cn/cli/http-api.md +6 -0
  7. package/dist/web-ui/docs/cn/cli/ide-integrations.md +2 -1
  8. package/dist/web-ui/docs/cn/cli/monitoring.md +87 -0
  9. package/dist/web-ui/docs/cn/cli/release-notes/README.md +7 -0
  10. package/dist/web-ui/docs/cn/cli/release-notes/v2.96.1.md +17 -0
  11. package/dist/web-ui/docs/cn/cli/release-notes/v2.97.0.md +186 -0
  12. package/dist/web-ui/docs/cn/cli/release-notes/v2.97.1.md +24 -0
  13. package/dist/web-ui/docs/cn/cli/release-notes/v2.97.2.md +16 -0
  14. package/dist/web-ui/docs/cn/cli/release-notes/v2.97.3.md +17 -0
  15. package/dist/web-ui/docs/cn/cli/release-notes/v2.97.4.md +9 -0
  16. package/dist/web-ui/docs/cn/cli/release-notes/v2.97.5.md +20 -0
  17. package/dist/web-ui/docs/en/cli/codebuddy-dir.md +309 -0
  18. package/dist/web-ui/docs/en/cli/env-vars.md +23 -2
  19. package/dist/web-ui/docs/en/cli/http-api.md +6 -0
  20. package/dist/web-ui/docs/en/cli/ide-integrations.md +2 -1
  21. package/dist/web-ui/docs/en/cli/monitoring.md +87 -0
  22. package/dist/web-ui/docs/en/cli/release-notes/README.md +7 -0
  23. package/dist/web-ui/docs/en/cli/release-notes/v2.96.1.md +17 -0
  24. package/dist/web-ui/docs/en/cli/release-notes/v2.97.0.md +186 -0
  25. package/dist/web-ui/docs/en/cli/release-notes/v2.97.1.md +24 -0
  26. package/dist/web-ui/docs/en/cli/release-notes/v2.97.2.md +16 -0
  27. package/dist/web-ui/docs/en/cli/release-notes/v2.97.3.md +17 -0
  28. package/dist/web-ui/docs/en/cli/release-notes/v2.97.4.md +9 -0
  29. package/dist/web-ui/docs/en/cli/release-notes/v2.97.5.md +20 -0
  30. package/dist/web-ui/docs/search-index-en.json +1 -1
  31. package/dist/web-ui/docs/search-index-zh.json +1 -1
  32. package/dist/web-ui/docs/sidebar-en.json +1 -1
  33. package/dist/web-ui/docs/sidebar-zh.json +1 -1
  34. package/package.json +2 -3
  35. package/product.cloudhosted.json +2 -2
  36. package/product.internal.json +2 -2
  37. package/product.ioa.json +2 -2
  38. package/product.json +2 -2
  39. package/product.selfhosted.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,35 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
7
7
 
8
8
  ## [未发布]
9
9
 
10
+ ## [2.98.1] - 2026-05-25
11
+
12
+ ### 🐛 修复
13
+
14
+ - **重发 v2.98.0 失败的发版流水线**:v2.98.0 因 agent-cli publish 流水线 OOM 未能成功发布到 npm,本次以 v2.98.1 补发,内容与 v2.98.0 完全等价,请直接升级到 v2.98.1。 #43079
15
+ - **CI:修复 agent-cli publish 流水线 OOM**:调高 `yarn build` 阶段 Node 堆内存上限(`NODE_OPTIONS=--max-old-space-size=8192`),解决正式发版流水线在打包阶段被 OOM Killer 终止的问题。 #43079
16
+
17
+ ## [2.98.0] - 2026-05-24
18
+
19
+ ### 🎉 新功能
20
+
21
+ - **OpenTelemetry 自定义上报(traces)**:支持通过 OTel 标准环境变量将内部 traces 上报到自有 Collector。启用开关 `CODEBUDDY_CODE_ENABLE_TELEMETRY=1`(兼容 legacy 别名 `CLAUDE_CODE_ENABLE_TELEMETRY`),支持 `OTEL_EXPORTER_OTLP_ENDPOINT` / `OTEL_EXPORTER_OTLP_HEADERS` / `OTEL_SERVICE_NAME` 等标准变量。详见 `docs/monitoring.md`。 #41061
22
+ - **沙箱生态资产目录白名单**:沙箱安全策略默认允许 WorkBuddy 生态资产目录和跨平台技能目录写入,减少插件、技能与连接器的访问受限问题。 #42876
23
+
24
+ ### 🔧 功能改进
25
+
26
+ - **自动压缩窗口提升**:未配置 `maxInputTokens` 的模型,默认 auto-compact 窗口从 100k 提升到 200k token,clamp 范围 `[100k, 1M]` 保持不变。
27
+ - **Hooks 注入 agent_id / agent_type**:所有 hook 事件 payload 补齐触发源标识,方便用户在全局 hook 里区分主会话与子 agent。 #42872
28
+ - **Hook 去重精细化**:解决"同事件触发两次"问题。新增 `sourceId` 维度参与 dedupe key 计算;settings 跨 scope 同一 command 折叠成一份,不同插件 / 子 agent scope 各自保留一份。 #42872
29
+ - **多源 hook 命中可观测**:同一事件命中 ≥ 2 条不同 hook 时,日志列出所有命中命令,方便自查冲突。
30
+ - **CLI 文档补齐**:新增 `monitoring.md` 与 `codebuddy-dir.md`,完成 v2.96.1 ~ v2.97.5 共 7 个版本 release notes 的中英文同步与导航更新。
31
+
32
+ ### 🐛 修复
33
+
34
+ - **后台 Bash 僵尸进程**:修复 `nohup` 等后台命令残留僵尸进程的问题。stdout/stderr 改为直接写文件 fd,不再依赖父进程 pipe;新增 50MB 输出看门狗(`CODEBUDDY_BASH_BG_MAX_OUTPUT_BYTES` 可调)和 `CODEBUDDY_BASH_BG_PIPE_MODE=1` 回滚开关;session 切换/退出时清理输出文件。 #42870
35
+ - **官方 Copilot 网关保留 thinking 字段**:修复 `auto` 模型开启思考后,请求发往官方网关时 thinking 字段被过早清理的问题。 #41543
36
+ - **压缩类型透传**:修复自动压缩与手动 `/compact` 在 ACP `_meta` 中无法区分的问题,新增 `compactType` 透传。 #41540
37
+ - **进程终止可靠性**:修复 `dispose()` 后 `kill()` 被 `_disposed` 标志拦截、以及 `disposeAll()` exit 事件路由丢失导致 `wait()` 挂死的问题。
38
+
10
39
  ## [2.97.5] - 2026-05-22
11
40
 
12
41
  ### 🐛 修复