工具发布·更新于 2026/04/22 00:04
Claude Code v2.1.117 发布:子代理分叉、bfs/ugrep 原生搜索、OpenTelemetry 增强
Anthropic 发布 Claude Code v2.1.117,主要变化包括:子代理分叉(forked subagents)可通过环境变量 CLAUDE_CODE_FORK_SUBAGENT=1 在外部构建中启用;macOS/Linux 原生构建将 Glob 和 Grep 工具替换为内嵌的 bfs 和 ugrep,通过 Bash 工具执行,消除独立工具往返延迟;/model 选择在项目固定不同模型时仍能跨重启持久化;/resume 命令新增对陈旧大会话的摘要提示;MCP 服务器并发连接成为默认行为,加速启动;插件安装、更新、自动更新场景下新增 managed-settings 的 blockedMarketplaces 和 strictKnownMarketplaces 强制校验;Advisor Tool(实验性)修复了每次 prompt 和 /compact 时卡死的错误;OpenTelemetry 事件新增 command_name、command_source、effort 等属性,自定义/MCP 命令名默认脱敏;cleanupPeriodDays 保留清理范围扩展至 tasks/、shell-snapshots/、backups/ 目录。无破坏性变更。
速读
Claude Code v2.1.117 新增子代理分叉、bfs/ugrep 原生搜索及 OpenTelemetry 增强
相关源 (1)
- Claude Code Releases · 2026/4/22 00:04:40https://github.com/anthropics/claude-code/releases/tag/v2.1.117