Claude Code 2.1.126 — project purge, model picker via gateway, security fixes
Anthropic
Anthropic released Claude Code 2.1.126. A new `claude project purge [path]` command fully wipes state (transcripts, tasks, file history, config). The model picker now pulls the model list from a compatible gateway's /v1/models endpoint when ANTHROPIC_BASE_URL is set. The --dangerously-skip-permissions flag now genuinely bypasses confirmation prompts for writes to protected paths (.claude/, .git/, .vscode/). Regressions in allowManagedDomainsOnly/allowManagedReadPathsOnly have been fixed, and images larger than 2000px are now automatically downscaled on paste.
Why it matters
A cumulative fix release that closes several security regressions in the permission allowlist and streamlines work through enterprise gateways.
Importance: 2/5
Incremental patch with security fixes and QoL improvements