---
id: 20260716-T0-14
title: "Claude Code发布v2.1.211：新增子代理文本转发与安全修复"
title_en: "Claude Code v2.1.211 Adds Subagent Text Forwarding, Security Fixes"
url: https://ai.daily.yangsir.net/daily/20260716-T0-14
issue_date: 2026-07-16
publish_date: 2026-07-15T23:02:35.000Z
category: release
source_name: "Claude Code Releases"
source_url: https://github.com/anthropics/claude-code/releases/tag/v2.1.211
---

# Claude Code发布v2.1.211：新增子代理文本转发与安全修复

Claude Code发布版本v2.1.211。新增 --forward-subagent-text 标志和环境变量，可将子代理的文本和推理过程纳入stream-json输出。修复了权限预览消息中未正确中和双向覆盖、零宽字符及仿引号字符的安全问题。

## English Version

**Claude Code v2.1.211 Adds Subagent Text Forwarding, Security Fixes**

Claude Code v2.1.211 is out. It adds the --forward-subagent-text flag and CLAUDE_CODE_FORWARD_SUBAGENT_TEXT environment variable to include subagent text and thinking in stream-json output. Also fixes security issues where permission previews in chat channels did not neutralize bidirectional-override, zero-width, and look-alike quote characters.

---

**来源**：[Claude Code Releases](https://github.com/anthropics/claude-code/releases/tag/v2.1.211)

**详情页**：https://ai.daily.yangsir.net/daily/20260716-T0-14

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*