Claude Code GitHub releases page Image: Anthropic / github.com/anthropics/claude-code
by Michael Joiner

Claude Code 2.1.239: Data-Residency Cost Estimates, a Python Upgrade Helper, and Alpine Support

Claude Code 2.1.239, released August 22, adds accurate cost estimates for data-residency workspaces, a one-command Python SDK migration tool, and native clipboard and image paste on Alpine Linux.

Share

Claude Code 2.1.239 shipped on August 22, 2026. It’s a focused release: better cost visibility for enterprise users, a migration helper for the anthropic Python SDK, and a handful of fixes that have been causing friction in longer sessions.

Data-Residency Cost Estimates

Users working in data-residency workspaces (where inference stays in a specific region) now see accurate cost estimates. Claude Code was previously showing baseline prices without accounting for the 1.1x premium that data-residency workloads incur. That meant teams tracking AI spend against budgets were seeing numbers lower than their actual bills. The estimates in /status and terminal title lines now reflect the correct amount.

/claude-api upgrade

This is the most useful addition in the release. Running /claude-api upgrade inside a Claude Code session detects Python projects still using the anthropic 0.x SDK and handles the migration to 1.x automatically. The anthropic Python SDK hit version 1.0 earlier this year, and the breaking changes are non-trivial. The new command generates a migration plan, shows a diff of what will change, and applies it.

For developers who have been putting off the SDK upgrade across multiple repos, this is worth a try.

Fullscreen on Bedrock, Vertex, and Foundry

Claude Code’s fullscreen rendering mode now works for setups using Amazon Bedrock, Google Vertex AI, and Azure AI Foundry. Previously, fullscreen was only available in standard Claude.ai-authenticated sessions. If you’ve been running Claude Code against a Bedrock endpoint and hitting a degraded TUI experience, this update fixes it.

Alpine and musl Support

Native clipboard access, image paste, and audio capture now work on Alpine Linux and other musl-based distributions. These add-ons previously required glibc and would silently fail on Alpine builds. They now build and link correctly for musl targets.

Synced Plugin Behavior

Cloud session plugins now display as name@synced in the plugin list. Synced plugins no longer override locally installed versions of the same plugin. If you have a customized local version of a plugin and the cloud session tries to push a synced version, the local one wins.

Bug Fixes

The notable ones: Bedrock streaming behind proxies that strip Content-Type headers now works correctly. IDE terminal panels no longer pause unexpectedly during active sessions. Sessions that were hanging on resume after hitting weekly usage limits now recover properly. A handful of fullscreen UI rendering glitches in non-standard terminal configurations are also fixed.

Getting It

Update via npm: npm update -g @anthropic-ai/claude-code. The full release notes are on the Claude Code GitHub releases page.

Share