claude-code-best/packages
claude-code-best c80e593212
feature: langfuse thinking 及 文本edit的问题修复( #371); 省略 diff 以减少内存峰值 (#376)
* feat: langfuse tracing 增加 thinking 参数记录

在 recordLLMObservation 中添加 thinking 配置(type/budgetTokens),
所有 provider(claude/gemini/openai)及 tokenEstimation、sideQuery
调用处同步传递 thinking 信息,便于 Langfuse 面板观察 thinking 使用情况。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: langfuse tracing 兼容 budget_tokens snake_case 格式

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: 统一传递完整 thinking 配置而非仅 thinkingType

Langfuse 追踪直接传递整个 thinking 对象(含 type 和 budget_tokens),
Analytics 日志同步补充 thinkingBudgetTokens 字段,logAPIQuery 改为
接收 ThinkingConfig 类型参数。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat: 省略旧消息的代码 diff 展示,仅保留最新消息的完整 diff

* fix: Edit 工具增加 Tab/空格规范化匹配,修复中文和缩进文件编辑失败

Read 工具输出将 Tab 渲染为空格,用户复制后 Edit 工具无法匹配。
在 findActualString 中增加 Tab→空格规范化回退匹配,并精确映射回原始文件位置。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* docs: README 添加安装/更新失败的解决方案提示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-27 17:06:33 +08:00
..
@ant fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
acp-link fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
agent-tools feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
audio-capture-napi fix: 修复构建后 vendor 二进制路径解析错误(ripgrep/audio-capture) 2026-04-25 14:46:02 +08:00
builtin-tools feature: langfuse thinking 及 文本edit的问题修复( #371); 省略 diff 以减少内存峰值 (#376) 2026-04-27 17:06:33 +08:00
color-diff-napi fix: 将 highlight.js 改为静态导入以兼容 Bun --compile 模式 2026-04-23 18:47:31 +08:00
image-processor-napi Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
mcp-client feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
modifiers-napi feat: 添加 napi 包测试覆盖与 stub 改进 2026-04-22 22:38:10 +08:00
remote-control-server fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
url-handler-napi feat: 添加 napi 包测试覆盖与 stub 改进 2026-04-22 22:38:10 +08:00
weixin feat: 接入内建 weixin channel(同 #301 重构版本) (#303) 2026-04-19 21:33:27 +08:00
tsconfig.json feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00