← Claude Docs

Week 18 · April 27 – May 1, 2026 - Claude Code Docs

Claude Docs · May 8, 2026
Claude Code released several improvements in week 18, including enhanced OAuth login that accepts codes pasted directly in the terminal for WSL2, SSH sessions, and containers, along with a new "claude project purge" command to delete project state. The update enables pull request linking to sessions through the session picker and removes the requirement for Git for Windows by supporting PowerShell as a primary shell. Additional fixes addressed memory leaks, MCP server retry logic, and various quality-of-life improvements across the platform.

Detailed Analysis

Claude Code's Week 18 release (April 27–May 1, 2026) marks a significant push toward broader developer accessibility, with authentication improvements standing as the most immediately impactful change. The `claude auth login` command now accepts OAuth authorization codes pasted directly into the terminal, eliminating a long-standing barrier for developers working in environments where browser-to-localhost callbacks fail — specifically WSL2, SSH sessions, and containerized development environments. Alongside fixes for login timeouts on slow or proxied connections and IPv6-only devcontainers, this set of changes signals Anthropic's recognition that Claude Code's real-world user base operates heavily in non-standard, infrastructure-mediated environments rather than simple local desktop setups.

Session continuity and project lifecycle management received substantial attention in this release. The new `claude project purge` command gives developers full control over accumulated state — transcripts, tasks, file history, and project configuration — with safe-by-default flags like `--dry-run` and `--interactive` that reflect mature CLI tooling conventions. The pull request session linking feature addresses a practical workflow pain point: developers can now resume the exact Claude Code session that produced a given pull request by pasting its URL directly into the session picker, with support spanning GitHub, GitHub Enterprise, GitLab, and Bitbucket. This tight integration between AI-assisted coding sessions and version control artifacts suggests Anthropic is deliberately positioning Claude Code not as a one-shot tool but as a persistent, context-aware collaborator woven into the full software development lifecycle.

The release also substantially expands Claude Code's enterprise and platform reach. Native PowerShell support removes the Git for Windows dependency entirely, opening Windows environments to first-class Claude Code usage. On the cloud infrastructure side, new support for `ANTHROPIC_BEDROCK_SERVICE_TIER` selection across default, flex, and priority tiers, combined with Vertex AI's adoption of X.509 certificate-based Workload Identity Federation (mTLS ADC), reflects serious investment in meeting enterprise procurement and security requirements. The opt-in gateway model discovery feature — enabling the `/model` picker to list models from a compatible gateway's `/v1/models` endpoint — further signals that Anthropic is architecting Claude Code for organizations that route API traffic through internal proxies or model management layers rather than directly to Anthropic's endpoints.

Several smaller but architecturally meaningful changes round out the release. MCP server reliability improves with auto-retry logic (up to three attempts on transient startup errors) and the new `alwaysLoad: true` config option that lets servers bypass tool-search deferral — addressing a real ergonomic frustration when certain tools were inconsistently available. The `PostToolUse` hook's expanded capability to replace output for any tool, not just MCP tools, deepens Claude Code's extensibility model for teams building custom automation pipelines. The new `claude ultrareview` subcommand, which runs non-interactively from CI with structured JSON output and conventional exit codes, is particularly notable: it represents a maturation from interactive assistant toward a scriptable code-quality service that can be embedded in automated pipelines. Taken together, this release reflects a coherent strategy of hardening Claude Code for professional, enterprise, and infrastructure-embedded use cases while reducing friction at every layer of the developer experience.

Read original article →