Anthropic Product minor

Claude Code 2.1.336 extends Enterprise Admin Console settings and shortens WebFetch's silence timeout

Claude Code 2.1.336 applies hooks and a status line from Enterprise Admin Console organizations, adds allowedAdminConsoleOrgUUIDs, gives up on silent WebFetch sites after 30 seconds, and hides retired models in /model.

What does this mean for me?

Plan for it
  • Engineering leadership

    Cost, risk, timeline, team impact Worth knowing

    Organizations on the Enterprise Admin Console can now push hooks and a status line to every Claude Code user, and use allowedAdminConsoleOrgUUIDs to enforce org settings without blocking API keys. No cost or timeline change.

  • Engineer

    What to change, what breaks, what to test Plan for it

    If a custom status line shows `used_percentage` or `remaining_percentage`, expect higher readings: they now measure against the auto-compact window, so use `total_input_tokens / context_window_size` for the full window. Managed hooks and credential helpers no longer inherit an Admin-Console-set `ANTHROPIC_BASE_URL`; WebFetch now times out after 30s of silence (`CLAUDE_CODE_WEBFETCH_SILENCE_MS`).

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do: this is a Claude Code developer-tool release and does not change the Claude apps.

Claude Code 2.1.336 is mostly fixes, but several changes affect organizations managed in Anthropic’s Enterprise Admin Console:

  • Settings from such an organization can now include hooks and a status line, including hooks already saved in the console.
  • Bedrock, Mantle, Google Cloud Agent Platform and Microsoft Foundry connections accept a base URL, and an Amazon Bedrock proxy can use identity-provider sign-in through /login once an admin registers the /gateway-sign-in/callback address. In AWS GovCloud, Bedrock connections with no base URL now use the FIPS endpoints.
  • A new allowedAdminConsoleOrgUUIDs managed setting applies the organization’s settings after sign-in and, unlike forceLoginOrgUUID, still allows API keys and tokens.
  • Managed hooks, managed MCP servers and credential helpers no longer receive an ANTHROPIC_BASE_URL that the organization sets. A helper that relied on reading it needs another way to learn the gateway address.

Other behaviour changes: WebFetch now gives up after 30 seconds with no data from a site (configurable with CLAUDE_CODE_WEBFETCH_SILENCE_MS, 0 turns it off); BASH_DEFAULT_BACKGROUND_TIMEOUT_MS lengthens the default limit for background shell commands in Agent SDK and cloud sessions; CLAUDE_CODE_RETRY_WATCHDOG_MAX_SUBAGENT_MODEL_LIMIT_WAIT_MS lets unattended retry mode stop a subagent waiting on some usage limits; /model no longer lists retired models other than the one in use; auto mode reviews more Bash and PowerShell commands; and claude plugin validate warns about files in a plugin’s bin/ folder, which --strict now fails.

The status line’s used_percentage and remaining_percentage now count against the auto-compact window, matching /context. A custom status line that showed these as a share of the full context window will now show higher usage; the changelog says to compute total_input_tokens / context_window_size for the full-window figure.

The release was published on December 3, 2026.

Topics: Coding tools

Terms on this page: Context window, Retirement

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person