claude-code-best/packages
claude-code-best 995d3a473c fix: 修复 anthropic 煞笔的四个 bug (#352)
* fix: 移除文件编辑前必须先读取的限制

移除 FileEditTool 和 FileWriteTool 中的 "read before edit" 校验,
允许直接编辑未读取过的文件。保留文件修改过期检测。

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

* docs: 更新 teach-me 自动写 note 笔记的功能

* fix: 修复 DeepSeek V4 reasoning_content 回传导致的 400 错误

- 扩大模型名称检测范围,匹配所有 deepseek 模型(V4、R1 等)
- 始终保留 thinking blocks 为 reasoning_content 回传给 API
- 移除有 bug 的 turn boundary 剥离逻辑

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

* fix: Opus 4.6/4.7 默认推理 effort 从 medium 改为 high

Pro 和 Max/Team 订阅者的 Opus 默认 effort 之前被降级为 medium,
导致用户感知模型「变笨」。恢复为 high。

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

* fix: 移除 thinkingClearLatched sticky-on 机制

空闲超过 1 小时后 thinkingClearLatched 会被触发且永不重置,
导致每轮 API 调用都清除 thinking 历史。完整移除该 latch 机制,
clearAllThinking 硬编码为 false。

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

* fix: 移除 numeric_length_anchors 系统指令

删除「工具调用间文字 ≤25 词、最终回复 ≤100 词」的硬性限制。
ablation 测试显示该约束使整体智能下降 3%。

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

* fix: 修复测试中 reasoning_content 类型断言

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

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-04 14:59:49 +08:00
..
@ant feat(bridge): tsc 全绿 — 补齐 Bridge/UDS/TCP/ACP 远程控制链类型 2026-06-02 11:26:11 +08:00
acp-link feat(bridge): tsc 全绿 — 补齐 Bridge/UDS/TCP/ACP 远程控制链类型 2026-06-02 11:26:11 +08:00
agent-tools feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00
audio-capture-napi feat: enable /voice mode with native audio binaries 2026-04-03 21:14:44 +08:00
builtin-tools fix: 修复 anthropic 煞笔的四个 bug (#352) 2026-06-04 14:59:49 +08:00
color-diff-napi fix: highlight 缓存改用 LRUCache 降低内存开销 2026-06-04 12:37:11 +08:00
image-processor-napi feat: 实现 4 个 NAPI 包 — modifiers/image-processor/audio-capture/url-handler 2026-04-01 01:07:42 +08:00
mcp-client feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00
modifiers-napi feat: 完成最新的可构建版本 2026-04-01 10:42:53 +08:00
remote-control-server Phase 1: security do-now — redaction helpers + RCS defaults hardened 2026-06-03 13:43:38 +08:00
url-handler-napi feat: 实现 4 个 NAPI 包 — modifiers/image-processor/audio-capture/url-handler 2026-04-01 01:07:42 +08:00
weixin feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00
tsconfig.json feat: merge 4 upstream improvements (effort + sideQuery routing + agent hints + plan/paste fixes) 2026-06-02 02:29:54 +08:00