claude-code-best/src/constants
claude-code-best da6d06365d
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-04-24 20:07:18 +08:00
..
__tests__ feat: 添加 skill learning 技能学习闭环系统 2026-04-22 22:38:09 +08:00
src feat: 完成stub 2026-03-31 20:40:16 +08:00
apiLimits.ts feat: build 2026-03-31 19:22:47 +08:00
betas.ts feat: 移除反蒸馏代码 2026-04-02 22:56:23 +08:00
common.ts feat: build 2026-03-31 19:22:47 +08:00
cyberRiskInstruction.ts feat: build 2026-03-31 19:22:47 +08:00
errorIds.ts feat: build 2026-03-31 19:22:47 +08:00
figures.ts chore: 添加脚本与构建配置更新 2026-04-22 22:38:10 +08:00
files.ts feat: build 2026-03-31 19:22:47 +08:00
github-app.ts feat: build 2026-03-31 19:22:47 +08:00
keys.ts feat: 添加 GrowthBook 自定义服务器适配器 2026-04-03 10:37:15 +08:00
messages.ts feat: build 2026-03-31 19:22:47 +08:00
oauth.ts feat: build 2026-03-31 19:22:47 +08:00
outputStyles.ts feat: 完成一大波类型修复, 虽然 any 很多 2026-03-31 23:43:39 +08:00
product.ts feat: 支持自托管的 remote-control-server (#214) 2026-04-09 17:40:50 +08:00
promptEngineeringAudit.runner.ts feat: 添加 skill learning 技能学习闭环系统 2026-04-22 22:38:09 +08:00
prompts.ts fix: 修复 anthropic 煞笔的四个 bug (#352) 2026-04-24 20:07:18 +08:00
querySource.ts feat: 完成stub 2026-03-31 20:40:16 +08:00
spinnerVerbs.ts feat: build 2026-03-31 19:22:47 +08:00
system.ts feat: build 2026-03-31 19:22:47 +08:00
systemPromptSections.ts feat: build 2026-03-31 19:22:47 +08:00
toolLimits.ts feat: build 2026-03-31 19:22:47 +08:00
tools.ts feat: 工具层及 mcp 大重构 (#252) 2026-04-13 09:52:05 +08:00
turnCompletionVerbs.ts feat: build 2026-03-31 19:22:47 +08:00
xml.ts feat: build 2026-03-31 19:22:47 +08:00