The Claude Code Changelog
All Episodes
Claude Code 2.1.336: Flexible Enterprise Auth & Freeze Fixes

Claude Code 2.1.336: Flexible Enterprise Auth & Freeze Fixes

0:00|0:00

Anthropic's December 3rd release of Claude Code 2.1.336 adds the allowedAdminConsoleOrgUUIDs setting to apply org policies without locking out API keys and tokens. We also break down Enterprise Admin Console hooks, Amazon Bedrock proxy logins, new environment variables, and major git freeze fixes.


Chapter 1

Claude Code v2.1.336 Enterprise Settings and QoL Fixes

Lachlan Reed

Anthropic just dropped Claude Code version two point one point three three six on December third, brought to you by Jellypod AI. If you manage or work inside an Enterprise Admin Console organization, this release has a massive quality of life shift for how managed settings and authentication actually work together.

James Turner

Yeah, the centerpiece is a new managed setting called allowedAdminConsoleOrgUUIDs. Previously, if an organization wanted to enforce Enterprise Admin Console settings using forceLoginOrgUUID, it completely locked out API keys and tokens. Which, as you can imagine, broke a lot of automated workflows and local setups.

Lachlan Reed

Classic all or nothing trap. So allowedAdminConsoleOrgUUIDs applies your organization's managed settings after sign in, but unlike forceLoginOrgUUID, it still allows API keys and tokens to work. On top of that, Claude Code now pulls hooks and a status line directly from the Enterprise Admin Console, including any hooks you already have saved in the console.

James Turner

That is a huge detail to watch out for. If your team has dormant hooks sitting in the Enterprise Admin Console, they are going to start applying automatically once you update. They also added support for custom base URLs on Amazon Bedrock, Mantle, Google Cloud's Agent Platform, and Microsoft Foundry connections.

Lachlan Reed

And if you're using an Amazon Bedrock proxy with an identity provider, you can now sign in with slash login. The only catch is your admin has to register the gateway sign in callback address first. Once that's done, you run slash login, and then you can run slash status to see the exact AWS profile they chose and how that sign in relates to your local ANTHROPIC_BASE_URL.

James Turner

That slash status update makes proxy debugging so much clearer. They also fixed a bug where slash status listed a computer's local managed settings as skipped when they partly applied alongside org settings. Plus a bunch of enterprise fixes, like claude print mode from the sandboxed Bash tool no longer being refused for orgs whose settings run commands, and slash voice or claude agents no longer wrongly suggesting slash login.

Lachlan Reed

Now for the smaller quality of life wins in two point one point three three six. First, the status line's used_percentage and remaining_percentage now count against the auto compact window, matching slash context. If you want the percentage against the full context window, you'll need to compute total_input_tokens divided by context_window_size.

James Turner

Two handy new environment variables landed too. BASH_DEFAULT_BACKGROUND_TIMEOUT_MS lets you lengthen the default time limit for background shell commands in Agent SDK and cloud sessions without touching foreground timeouts. And CLAUDE_CODE_RETRY_WATCHDOG_MAX_SUBAGENT_MODEL_LIMIT_WAIT_MS lets unattended retry mode end a subagent's wait at certain usage limits instead of sleeping until they reset.

Lachlan Reed

A few quick terminal and plugin perks to wrap up. Slash help now has a one line search field for command lists, and Claude Code Desktop's terminal on macOS and Linux finally has clickable file names and labelled links. For plugin authors, claude plugin validate now warns if you have files in a bin folder, which claude dot ai refuses, and the strict flag will fail on it. Also, claude plugin update now falls back to HTTPS for GitHub plugins if SSH isn't set up.

James Turner

Finally, some major freeze fixes. Editing thousands of lines no longer locks up the terminal because long diffs now just show line counts, and you can hit control o to see the full diff. They also squashed thirty second delays for subagents and slash clear in slow git status folders, and ten minute worktree exit hangs when git gets stuck. Update when you can, and we will catch you on the next changelog.