返回全部动态
Claude Code 2.1.183 发布:增强安全性与多项修复
原标题:2.1.183
AI 摘要
Anthropic 发布了 Claude Code 版本 2.1.183,主要改进了自动模式下的安全性,阻止了未经请求的破坏性 git 命令和基础设施销毁命令。此外,该版本增加了对弃用模型的警告、新的配置选项,并修复了多个 bug,包括子代理中的 WebSearch 空结果、Windows Terminal 下的 TUI 损坏以及 MCP 服务器认证问题。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- Improved auto mode safety: destructive git commands (`git reset --hard`, `git checkout -- .`, `git clean -fd`, `git stash drop`) are now blocked when you didn't ask to discard local work, `git commit --amend` is blocked when the commit wasn't made by the agent this session, and `terraform destroy`/`pulumi destroy`/`cdk destroy` are blocked unless you asked for the specific stack - Added a warning when the requested model is deprecated or automatically updated to a newer model, shown on stderr
发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic