返回全部动态
Claude Code 2.1.211 发布:修复安全漏洞与多项功能改进
原标题:2.1.211
AI 摘要
Anthropic 发布了 Claude Code 2.1.211 版本,包含多项修复和改进。新增了 --forward-subagent-text 标志和环境变量,以在 stream-json 输出中包含子代理文本和思考。修复了多个安全问题,包括权限预览中的字符绕过、自动模式覆盖 PreToolUse 钩子的 ask 决策等。还修复了并行会话、插件 MCP 服务器重连、文件上传验证、性能延迟等问题,并改进了后台代理结果报告和终端渲染性能。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- Added `--forward-subagent-text` flag and `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT` environment variable to include subagent text and thinking in stream-json output - Fixed permission previews relayed to chat channels not neutralizing bidirectional-override, zero-width, and look-alike quote characters, so tool inputs cannot visually alter the approval message - Fixed auto mode overriding a PreToolUse hook's `ask` decision for unsandboxed Bash — a hook `ask` now floors the decision at a prompt - Fixed
发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic