Skip to content

Claude Code

Claude Code 2.1.239 prices the data-residency premium

6 min read

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →

Claude Code 2.1.239, published August 21, makes two billing changes. Cost estimates in data-residency workspaces now include the 1.1× premium for US-only inference. A Bedrock fix also ends a proxy bug that silently doubled billed API calls.

The release notes on Github list 59 entries, and 38 of them are fixes. Most are small: terminal rendering, keystrokes, /resume edge cases. The ones covered below affect what you pay, what Claude Code looks like on Bedrock, Vertex or Foundry, and how sessions find and message each other.

Where the premium shows up

Data-residency workspaces pay a 1.1× premium for US-only inference. That premium is now part of Claude Code’s cost estimates in three places: /cost, the status line and the --max-budget-usd budget flag.

Three more changes deal with spend limits. When your monthly spend limit is used up, the usage-limit message now also tells you when your session or weekly limit resets. Persistent retry mode (CLAUDE_CODE_RETRY_WATCHDOG) now fails right away on organization spend-limit and out-of-credits errors instead of waiting indefinitely for a reset. And a request rejected by an organization policy check is no longer re-sent before the rejection appears.

Bedrock behind a proxy

The streaming bug had a simple trigger. Some proxies strip the Content-Type header from the response, and behind them Claude Code re-ran every turn without streaming. The notes say this silently doubled billed API calls, a far bigger cost than the 1.1× residency premium.

A second Bedrock fix is for teams on SSO. With an SSO profile and awsAuthRefresh behind an HTTPS proxy, Claude Code could hang at startup. The credential pre-check now honors HTTPS_PROXY.

The same group of setups now gets the fullscreen renderer. Bedrock, Vertex, Foundry and other previously excluded configurations now see the one-time offer to switch, and new installs there start in fullscreen. Several fullscreen fixes ship alongside it:

  • the renderer prompt no longer comes back on every launch when it can never be answered; it stops after being shown on three launches
  • clicking the terminal window just to bring it back into focus no longer answers a permission prompt or presses a button
  • slash-command panels such as /config and /model no longer cover the latest messages; the conversation stays pinned above the panel
  • MCP elicitation forms taller than the terminal now fit the window, with hidden fields reachable by scrolling and Accept/Decline always visible
  • the dark-ansi theme no longer renders expanded tool results in text the same color as the background

Sessions that talk to each other

Cross-session messaging now works on Windows. Sessions on your machines can message each other with SendMessage and find each other with ListAgents, as they already could on macOS and Linux. ListAgents and /list-agents also list live teammates now. Before, they showed only subagents and other sessions, so a teammate you could reach looked like it wasn’t there. A session also learns its own name, the one its peers use to message it, and a SendMessage to that name now says so where it used to answer “no agent named …”. Sessions whose title starts with / had been unreachable by SendMessage and listed as ”(untitled)”. That is fixed too.

One fix cleans up a regression from the release that made sessions addressable by name. In 2.1.232 and later, two Claude Code processes sharing one background job’s state could sync session titles to Remote Control without stopping. Title updates are now deduplicated and rate-limited.

/goal gets quieter on long background work. Repeat check-ins back off: 30 minutes, then an hour, then every two hours, where before they came every 30 minutes. Resuming a session from the claude --resume picker now restores its active goal as well. A race involving Esc was more serious. Pressing Esc with a prompt queued could let the next turn finish early, so the session looked idle while Claude was still working, and a later resubmit could repeat actions.

Python SDK 1.x and Alpine

The new /claude-api upgrade command migrates Python projects from anthropic 0.x to 1.x. The skill’s Python reference has been updated for 1.x, and the change it calls out is timeouts, which now use anthropic.Timeout instead of httpx.Timeout.

On Alpine, native image paste, clipboard and audio-capture add-ons now load. The runtime had refused the glibc binaries, and they now ship as musl builds (musl is the C library Alpine uses). In cloud sessions, plugins synced from claude.ai appear as name@synced, work with claude plugin enable and disable <name>@synced, and never override a plugin of the same name that you installed yourself. Marketplace metadata.pluginRoot now works as the docs describe: bare plugin source names resolve under it.

Resume, hooks and keystrokes

Resume gets several fixes. claude -c and resume no longer pick up sessions from a directory whose path differs only by characters like _, - or ., and custom session titles no longer vanish from /resume after more than about 64 KB of conversation is written following the rename. Other fixes cover hooks, integrations and the input line:

  • /resume in all-projects mode resumes sessions from a deleted directory, such as a removed worktree, in the current directory instead of telling you to cd into it
  • hooks no longer fail with “posix_spawn ENOENT” after the working directory is deleted; they run from the project root or home directory
  • the Linux sandbox no longer breaks every sandboxed git command in repos with extensions.worktreeConfig set
  • agents, skills and commands whose .md file starts with a UTF-8 BOM are no longer silently ignored
  • WebFetch drops expired page content after the intended 15 minutes instead of keeping it for the whole session
  • remote MCP servers recover after a transient 5xx on a mid-session reconnect in cloud sessions or via setMcpServers()
  • tool executions deferred by a PreToolUse hook resume in the original turn’s OpenTelemetry trace
  • Edit and Write calls no longer pause for about 5 seconds in JetBrains IDE terminals with the Claude Code plugin connected
  • masked inputs such as the login code field can no longer be pasted back with Ctrl+Y or saved to prompt history
  • remote sessions send keep-alives during long SessionStart or Setup hooks, so the container is not idle-reaped mid-hook
  • on Claude Code on the web, Bash and other tools reaching non-API anthropic.com hosts now go through the session’s network proxy, so your allowed domains apply

If you run Bedrock through a proxy that strips Content-Type, claude --version shows whether your installed build has the streaming fix, which shipped in 2.1.239.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.