Anthropic released Claude Code v2.1.211, addressing a wide range of bugs in session management, file handling, and agent reliability while introducing new configuration flags.

  • Added --forward-subagent-text flag to include subagent text in stream-json output.
  • Fixed permission previews to neutralize bidirectional-override and look-alike characters in chat channels.
  • Resolved issues where auto mode overrode PreToolUse hook decisions for unsandboxed Bash.
  • Corrected a prompt-caching regression on Bedrock, Vertex, Mantle, and Foundry that incorrectly billed trailing system context as fresh tokens.
  • Fixed parallel sessions logging out simultaneously after wake-from-sleep when sharing a credential store.
  • Updated integer environment variables to accept scientific notation and digit separators.

These changes improve security by preventing visual manipulation of approval messages and ensure accurate billing for prompt caching across various cloud providers.