Claude Code 2.1.225: Spend Limits Get a Face, MCP OAuth Gets a Fix
Claude Code 2.1.225 adds gateway spend-limit messaging naming the cap and reset time, plus fixes for headless-session token replacement and macOS MCP OAuth 401 bursts.
What it is
A Claude Code point release focused on gateway usage limits and authentication reliability.
What it does
It adds a usage-warning message that names the spend cap, its reset time, and the operator's custom message when a gateway spend limit is hit, adds a workspace trust prompt to `claude agents` for untrusted directories, and fixes a transient 401 that replaced a long-lived `CLAUDE_CODE_OAUTH_TOKEN` with a short-lived stored token, plus intermittent MCP OAuth 401 bursts on macOS.
Why it matters
Teams running Claude Code behind a spend-limited gateway get clearer failure messages instead of a cryptic stop, and the OAuth fixes remove two ways headless automation could silently break until someone noticed and restarted it.
How to use it
Update to 2.1.225 if you run Claude Code through a gateway with spend limits or rely on headless sessions with `CLAUDE_CODE_OAUTH_TOKEN`.