Claude Code v2.1.166: resilience and security

Anthropic released version 2.1.166 of the Claude Code CLI tool. The highlight is the fallbackModel setting, which lets users specify up to three backup models to activate in sequence if the primary model is overloaded or unavailable.
On the security front, inter-session messaging got more restrictive. Permission requests sent via SendMessage from other sessions no longer carry the user's privileges, and auto-mode blocks them by default. The update also adds support for glob patterns in deny rules for tools.
Technical issues were fixed, including flickering terminals in JetBrains IDE version 2026.1+, PowerShell freezing on Windows, and a resource leak where claude --bg-pty-host processes could consume 100% CPU on macOS.
Related stories
- Claude Code v2.1.163: version control and Bash fixes
- Claude Code update 2.1.161: bug fixes and new metrics
- Claude Code v2.1.160: security focus
- Claude Code 2.1.282 ignores telemetry set by project files
- Claude Code opens network hosts one command at a time
- Claude Code 2.1.223 patches a Bash permission bypass
Comments
No comments yet. Be the first.
Join the conversation
Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.
