Claude Code v2.1.126
Summary
- The /model picker now lists models from your gateway's /v1/models endpoint when ANTHROPICBASEURL points at an Anthropic-compatible gateway - - Added claude project purge [path] to delete all Clau...
Release Notes
- The /model picker now lists models from your gateway's /v1/models endpoint when ANTHROPICBASEURL points at an Anthropic-compatible gateway - - Added claude project purge [path] to delete all Claude Code state for a project (transcripts, tasks, file history, config entry) — supports --dry-run, -y/--yes, -i/--interactive, and --all - --dangerously-skip-permissions now bypasses prompts for writes to .claude/, .git/, .vscode/, shell config files, and other previously-protected paths (catastrophic removal commands still prompt as a safety net) - claude auth login now accepts the OAuth code pasted into the terminal when the browser callback can't reach localhost (WSL2, SSH, containers) - claudecode.skillactivated OpenTelemetry event now fires for user-typed slash commands and carries a new invocationtrigger attribute ("user-slash", "claude-proactive", or "nested-skill") - Auto mode: the spinner now turns red when a permission check stalls, instead of looking like the tool is running - Host-managed deployments (CLAUDECODEPROVIDERMANAGEDBYHOST) no longer auto-disable analytics on Bedrock/Vertex/Foundry - Windows: PowerShell 7 installed via the Microsoft Store, MSI without PATH, or .NET global tool is now detected - Windows: when the PowerShell tool is enabled, Claude now treats PowerShell as the primary shell instead of defaulting to Bash - Read tool: removed the per-file malware-assessment reminder that could cause spurious refusals and "this is not malware" commentary on legacy models - Security: Fixed allowManagedDomainsOnly / allowManagedReadPathsOnly being ignored when a higher-priority managed-settings source lacked a sandbox block - Fixed pasting an image larger than 2000px breaking the session — images are now downscaled on paste, and oversi