claude-code-best/packages/builtin-tools
claude-code-best c14b7eadd2 fix: 修复 Tool Search 缓存失效 — deferred 工具不再动态注入 tools 数组
移除 deferred 工具的 "discover then include" 逻辑,让 tools 数组在整个会话中
保持稳定(只有 core tools + ToolSearch + ExecuteExtraTool),避免每次发现新
工具时 tools JSON 变化导致 prompt cache 失效。

同时强化工具优先级引导:core tools 优先直接调用,ToolSearch/ExecuteExtraTool
仅作为发现和调用 deferred 工具的最后手段。当模型搜索已加载的 core tool 时,
ToolSearch 返回明确的拒绝提示。

Co-Authored-By: glm-5.1[1m] <zai-org@claude-code-best.win>
2026-05-09 14:56:22 +08:00
..
src fix: 修复 Tool Search 缓存失效 — deferred 工具不再动态注入 tools 数组 2026-05-09 14:56:22 +08:00
package.json feat: 工具层及 mcp 大重构 (#252) 2026-04-13 09:52:05 +08:00
tsconfig.json fix: 修复类型问题(#267) (#271) 2026-04-15 10:54:00 +08:00