claude-code-best/src/services
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
..
acp fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
AgentSummary test: keep Codecov coverage on real agent communication paths (#374) 2026-04-27 16:22:13 +08:00
analytics fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
api feature: langfuse thinking 及 文本edit的问题修复( #371); 省略 diff 以减少内存峰值 (#376) 2026-04-27 17:06:33 +08:00
autoDream feat: 工具层及 mcp 大重构 (#252) 2026-04-13 09:52:05 +08:00
compact chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
contextCollapse feat: 添加 compact 缓存与上下文压缩增强 2026-04-22 22:38:09 +08:00
extractMemories feat: 工具层及 mcp 大重构 (#252) 2026-04-13 09:52:05 +08:00
langfuse feature: langfuse thinking 及 文本edit的问题修复( #371); 省略 diff 以减少内存峰值 (#376) 2026-04-27 17:06:33 +08:00
lsp fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
MagicDocs fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
mcp fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
oauth chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
plugins fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
policyLimits feat: build 2026-03-31 19:22:47 +08:00
PromptSuggestion feat: 工具层及 mcp 大重构 (#252) 2026-04-13 09:52:05 +08:00
providerUsage feat: 添加 provider usage 统计与余额查询 2026-04-22 22:38:09 +08:00
remoteManagedSettings Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
SessionMemory fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
sessionTranscript feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
settingsSync feat: build 2026-03-31 19:22:47 +08:00
skillLearning fix: 修复 4 个测试失败(路径规范化、SDK 签名变更、空消息防护) 2026-04-22 22:52:37 +08:00
skillSearch feat: 添加 skill learning 技能学习闭环系统 2026-04-22 22:38:09 +08:00
teamMemorySync feat: build 2026-03-31 19:22:47 +08:00
tips chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
tools chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
toolUseSummary feat: 完成第二版类型清理 2026-03-31 23:03:47 +08:00
awaySummary.ts feat: 增强 auto mode 的易用性 (#312) 2026-04-20 21:13:09 +08:00
claudeAiLimits.ts feat: 添加 Bedrock API 客户端及 API 层增强 2026-04-22 22:38:09 +08:00
claudeAiLimitsHook.ts feat: build 2026-03-31 19:22:47 +08:00
diagnosticTracking.ts feat: build 2026-03-31 19:22:47 +08:00
doubaoSTT.ts feat: 集成豆包 ASR 语音识别后端,支持 /voice doubao 切换 (#357) 2026-04-25 13:57:30 +08:00
internalLogging.ts feat: build 2026-03-31 19:22:47 +08:00
mcpServerApproval.tsx Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
mockRateLimits.ts feat: build 2026-03-31 19:22:47 +08:00
notifier.ts Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
preventSleep.ts feat: build 2026-03-31 19:22:47 +08:00
rateLimitMessages.ts feat: build 2026-03-31 19:22:47 +08:00
rateLimitMocking.ts feat: build 2026-03-31 19:22:47 +08:00
tokenEstimation.ts feature: langfuse thinking 及 文本edit的问题修复( #371); 省略 diff 以减少内存峰值 (#376) 2026-04-27 17:06:33 +08:00
vcr.ts feat: 全部类型问题解决 2026-04-11 10:24:00 +08:00
voice.ts feat: build 2026-03-31 19:22:47 +08:00
voiceKeyterms.ts feat: build 2026-03-31 19:22:47 +08:00
voiceStreamSTT.ts feat: build 2026-03-31 19:22:47 +08:00