返回全部动态

Claude Code 2.1.222 发布:修复安全漏洞与多项稳定性问题

原标题:2.1.222

Claude Code Changelog一手来源产品发布质量 79

AI 摘要

Claude Code 发布 2.1.222 版本更新,修复了多个影响安全性和稳定性的问题,包括工作树隔离会话中破坏性 git 命令的执行、后台代理任务中工具限制绕过、代理环境下的连接挂起、MCP 服务器使用量归属错误等。此外,改进了自动模式下的权限分类、技能调用拒绝逻辑,并调整了远程控制的自动启动策略。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

- Fixed worktree-isolated sessions and their subagents being able to run destructive git commands against the main checkout; isolation now applies to file edits and Bash in every session type - Fixed PreToolUse auto-allow hooks bypassing tool restrictions in background agent tasks (summaries, compaction, renames) - Fixed `/usage-credits` on Team and Enterprise showing "you've already sent a usage credit request" for members whose earlier request was dismissed, blocking them from sending a new on


发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic
阅读原文raw.githubusercontent.com