@tencent-ai/agent-sdk 0.3.158 → 0.3.159
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 +34 -0
- package/cli/README.md +2 -0
- package/cli/dist/codebuddy-headless.js +860 -793
- package/cli/dist/web-ui/assets/index-DOB9MrWi.css +32 -0
- package/cli/dist/web-ui/assets/{index-CU_ExRgj.js → index-DlV6l3G1.js} +181 -170
- package/cli/dist/web-ui/docs/cn/cli/monitoring.md +117 -29
- package/cli/dist/web-ui/docs/cn/cli/release-notes/README.md +1 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.99.0.md +39 -0
- package/cli/dist/web-ui/docs/en/cli/monitoring.md +118 -30
- package/cli/dist/web-ui/docs/en/cli/release-notes/README.md +1 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.99.0.md +39 -0
- package/cli/dist/web-ui/docs/search-index-en.json +1 -1
- package/cli/dist/web-ui/docs/search-index-zh.json +1 -1
- package/cli/dist/web-ui/docs/sidebar-en.json +1 -1
- package/cli/dist/web-ui/docs/sidebar-zh.json +1 -1
- package/cli/dist/web-ui/index.html +2 -2
- package/cli/dist/web-ui/sw.js +1 -1
- package/cli/package.json +3 -2
- package/cli/product.cloudhosted.json +2 -2
- package/cli/product.internal.json +5 -3
- package/cli/product.ioa.json +2 -2
- package/cli/product.json +7 -5
- package/cli/product.selfhosted.json +2 -2
- package/cli/vendor/sandbox/sandbox-cli +0 -0
- package/package.json +1 -1
- package/cli/dist/web-ui/assets/index-C5x-jWxM.css +0 -32
package/cli/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,40 @@ CodeBuddy Code 的所有重要更新都会记录在这里。
|
|
|
7
7
|
|
|
8
8
|
## [未发布]
|
|
9
9
|
|
|
10
|
+
## [2.99.1] - 2026-05-28
|
|
11
|
+
|
|
12
|
+
### 🔧 功能改进
|
|
13
|
+
|
|
14
|
+
- **OTel Span Schema**:新增 `otel-span-schema.ts` 作为 span 名称、属性键、事件名的单一真相源,确保实现与文档一致
|
|
15
|
+
- **细粒度日志开关**:支持 `OTEL_LOG_USER_PROMPTS`、`OTEL_LOG_TOOL_DETAILS`、`OTEL_LOG_TOOL_CONTENT`、`OTEL_LOG_RAW_API_BODIES` 环境变量控制敏感数据记录
|
|
16
|
+
- **Tool Span 增强**:Pre/Post Hook 支持按开关记录工具输入参数和输出内容,带 60KB 截断保护
|
|
17
|
+
- **Trace 可视化**:Web UI TracesView 新增 LLM 调用统计、Cache 命中率、多模型展示等指标
|
|
18
|
+
- **Galileo 监控 hook 解耦**:将 tool 打点逻辑从 trace hook 中拆分为独立的 GalileoToolPreHook / GalileoToolPostHook,职责单一
|
|
19
|
+
- **Agent SLA 全指标补齐 model 维度**:ttfb / streaming / task_total / prompt_build / tool / request / cache 全链路带 model
|
|
20
|
+
- **新增 agent_name / agent_purpose / conversation_request_id 维度**:支持按 agent 类型、场景、请求链路聚合分析
|
|
21
|
+
- **patchName 全局注入**:所有 Galileo 上报自动携带产品 patch 标识
|
|
22
|
+
- **product.json galileo 开关**:三端(主进程 / Renderer / CLI)统一受 galileo.enable 控制
|
|
23
|
+
- **稳定 ACP 会话所有权**:完善 ACP 团队桥接、会话回放与消息 ID 工具的边界处理,避免会话/消息归属错位导致的渲染抖动
|
|
24
|
+
- **会话状态机健壮性**:会话运行状态机移除冗余状态切换,状态推进更稳定
|
|
25
|
+
- **Skill 工具描述格式优化**:将 skill 列表从 XML 标签格式改为 Markdown 列表格式,减少 token 占用
|
|
26
|
+
- **Skill 描述截断阈值调整**:单条 skill 描述上限从 250 字符降至 150 字符
|
|
27
|
+
- **Skill 执行结果优化**:移除工具返回内容中无意义的 `<command-message>/<command-name>/<command-args>` 标签注入
|
|
28
|
+
- **工具搜索**:优化延迟工具列表的提示内容体积,减少大型 MCP 工具集合对上下文的占用
|
|
29
|
+
- **帮助面板**:移除红包封面推广链接
|
|
30
|
+
|
|
31
|
+
### 🐛 修复
|
|
32
|
+
|
|
33
|
+
- **延迟工具加载**:修复裸名 MCP 工具通过工具搜索加载后无法正确调用的问题,确保云服务连接等工具可按预期执行
|
|
34
|
+
- **自定义模型移除 extra_vars 透传**:避免把成长计划等内部上报字段透传给客户网关,仅在非自定义模型时合并 providerData
|
|
35
|
+
- **权限错误提示**:修改无权限文件失败时,保留更具体的工具错误详情,减少泛化报错造成的排查成本
|
|
36
|
+
- **会话压缩**:修复 `/clear` 后工程压缩仍可能带入旧会话内容的问题,将 session separator 纳入压缩边界识别
|
|
37
|
+
- **修复 galileo 字段大小写**:product.json 中统一为小写 `galileo`
|
|
38
|
+
|
|
39
|
+
### 📝 文档
|
|
40
|
+
|
|
41
|
+
- 更新 monitoring.md,补充完整的环境变量和 span 属性参考
|
|
42
|
+
- 完成 v2.99.0 release notes 中英文同步
|
|
43
|
+
|
|
10
44
|
## [2.99.0] - 2026-05-27
|
|
11
45
|
|
|
12
46
|
### 🎉 新功能
|