Claude Code v2.1.222
Claude Code v2.1.222 was released on .
Summary
Claude Code 2.1.222 strengthens security by preventing destructive commands in isolated sessions and blocking tool restriction bypasses in background tasks. We've also improved reliability across connectivity, pull request linking, and usage tracking—check the full release not...
Release Context
- This was the 177th Claude Code release of 2026 tracked by Havoptic.
- It shipped 1 day after Claude Code v2.1.221 (August 3, 2026).
- Claude Code: ships every 2.1 days — 19 releases in the last month.
Why it matters: Safer code execution with improved isolation controls.
Shipped around the same time
Within 3 days of this release, other AI coding tools also shipped:
- Gemini CLI v0.54.4 (August 7, 2026)
- Antigravity CLI v1.1.11 (August 7, 2026)
- OpenAI Codex CLI rust-v0.147.0 (August 7, 2026)
- Gemini CLI v0.54.0 (August 6, 2026)
- OpenAI Codex CLI rust-v0.146.1 (August 5, 2026)
Compare Claude Code: vs OpenAI Codex CLI · vs Cursor · vs Gemini CLI · vs Kiro CLI · vs GitHub Copilot CLI · vs Devin Desktop · vs Antigravity CLI
Release Notes
- 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 one
- Fixed the startup connectivity check hanging and then failing behind an HTTPS proxy; it now uses the same proxy-aware transport as API requests and times out with a clear message
- Fixed "Connection closed mid-response" errors being reported on responses that had actually completed
- Fixed /usage overattributing usage to MCP servers: a server's share now reflects only the requests that actually consumed its tool results, instead of every turn after any call to it
- Fixed sessions not linking to pull requests created after the branch was pushed, including through the GitHub REST API
- Fixed org-restricted model: opus-style subagent and teammate family aliases dropping to the parent model instead of stepping down to the newest org-allowed model in the family
- Fixed stream idle timeout firing on custom ANTHROPICBASEURL gateways despite server keep-alive pings arriving on the wire
- Fixed claude.ai connectors being falsely marked as needing authori
Other Recent Claude Code Releases
- v2.1.232 (August 13, 2026)
- v2.1.231 (August 13, 2026)
- v2.1.229 (August 12, 2026)
- v2.1.228 (August 11, 2026)
- v2.1.227 (August 10, 2026)
All Claude Code releases · All AI coding tool releases on Havoptic