2026-05-01 · Anthropic

v2.1.126

agentsmodelsenterprisecommentary

read at source ↗ github.com

v2.1.126

Source: Anthropic Claude Code Date: 2026-05-01 URL: https://github.com/anthropics/claude-code/releases/tag/v2.1.126

Summary

Claude Code v2.1.126 ships project lifecycle management and restricted-environment access. claude project purge provides clean teardown of all project state. --dangerously-skip-permissions expanded to cover .claude/, .git/, .vscode/, and shell configs while keeping catastrophic-removal prompts. OAuth paste fallback enables auth in WSL2/SSH/containers where browser callback can’t reach localhost. Gateway model picker queries /v1/models for enterprise deployments routing through Anthropic-compatible gateways. 20+ bugfixes including Mac sleep timeout, CJK rendering on Windows, and deferred tools in subagent first turns.

Implications

  • Agent lifecycle thread: First CLI agent to ship explicit project teardown (purge). Complements Codex v0.128.0’s persistence features — the lifecycle spectrum now has both ends engineered.
  • Enterprise deployment: Gateway model picker + managed-domain security fix + expanded permissions for CI/CD workflows. Enterprise is the primary customer for lifecycle features.
  • Restricted environment access: OAuth paste fallback for WSL2/SSH/containers closes the last major authentication gap for headless environments.
  • Security surface: allowManagedDomainsOnly/allowManagedReadPathsOnly being ignored was a policy enforcement bug in enterprise settings — fixed.

← all signals