Claude Code 2.1.305
38changes- Add sandbox.allowNestedUserNamespaces so Linux sandboxed commands can create user namespaces.
- Fix every request failing on Vertex, Bedrock and other providers when a gateway rejects tool search.
- Enforce allowManagedPermissionRulesOnly for plugins Claude Desktop mounts by path.
- Show a one-line fix for each /usage warning, applied with f.
- Let Claude Tag admins add public Slack channels Claude hasn't joined.
New features
4Allow nested user namespaces in sandbox
Added sandbox.allowNestedUserNamespaces so sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox's file protections
Recheck usage limits during unattended retry
Added CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS so unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) notices a usage limit that was lifted before its reset
[Claude Tag] Search unjoined channels in admin
Added public Slack channels Claude hasn't joined to the Claude Tag admin Add place search, so admins can set one up from there
Improvements
12One-line fixes in /usage warnings
Improved /usage: each warning is now a one-line fix that names its source, and f applies the fixes; the same fixes appear in VS Code and /doctor
Loosen allowedMcpServers env-var filtering
Changed allowedMcpServers to stop filtering managed-mcp.json stdio servers that use ${VAR} only in env; one your allowlist left out now loads on upgrade; use deniedMcpServers to keep it off
▤ In the docsChange /artifacts delete confirmation keys
Changed the /artifacts delete confirmation to take 1 or Enter to keep, 2 to delete, and Esc to cancel; y and n no longer answer it
Enforce managed-only permissions for plugins
Changed plugins that Claude Desktop mounts by path to no longer keep their allowed-tools when your organization's managed settings set allowManagedPermissionRulesOnly
More changes (8) Fewer changes
Reduce accidental MCP consent Enter
Improved MCP consent dialogs so an Enter meant for the prompt is less likely to be taken as Accept
Draw mod images in iTerm2 fullscreen
Improved a mod's Image to draw its picture in iTerm2 3.5 and later with fullscreen rendering, where it showed only its alt text
[Remote Control] Clarify spawn-mode messages
Remote Control: Improved the spawn-mode messages: pressing w now says the new mode is saved for the folder, and a later claude remote-control start that uses the saved mode says where it came from
Cap mod docked pane width
Changed a mod's docked pane to stay within 45% of the terminal's width, including a width kept from a wider terminal
[VSCode] Improve slow-start error message
Changed the message shown when a session does not start in time and no hook is running; it now leads with the output logs and lists causes instead of pointing to sign-in and network first
[Cloud sessions] Clarify delete-environment errors
Improved deleting a self-hosted environment so the dialog and error messages say what blocks the delete and what it will affect
[Claude Tag] Edit while channel list loads
Improved Claude Tag admin pages in large organizations so plugin, skill and bundle edits work while the channel list is still loading
[Code Review] Keep LGTM for unresolved findings
Changed Code Review re-reviews so they no longer open with LGTM while earlier blocking findings are still open
Bug fixes
22Fix all requests failing on ToolSearch rejection
Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and behind gateways with ToolSearch disallowed or left out of --tools (a 2.1.304 regression); Claude Code now retries without it
Fix Workflow resume re-running agents
Fixed Workflow resume re-running already-completed pipeline() and parallel() agents instead of serving them from the run's journal
More changes (20) Fewer changes
Fix /effort and /autocompact model matching
Fixed /effort and /autocompact settings not applying when the model name differed from a modelOverrides value by letter case or a [1m] tag
Fix bare-repo worktree branch and cleanup
Fixed new worktrees in a bare repository sometimes starting from local HEAD instead of the default branch, and unchanged subagent worktrees sometimes not being cleaned up
Explain full-disk Bash failures
Fixed Bash commands on a full disk failing with a raw ENOSPC file path; the error now says the disk is full and that nothing ran
Fix MCP server overridden by settings
Fixed an MCP server passed by a cloud session or by the SDK's setMcpServers being replaced later in the session by a same-named server from your own settings
Fix wrong model name after fallback
Fixed Claude naming the wrong model for a subagent's work after the subagent switched to a fallback model
Tell Claude when compaction drops messages
Fixed cloud sessions and teammates not telling Claude when a compaction had to leave the oldest messages out of its summary to fit
Reduce Cowork WebFetch approval waits
Fixed more cases of scheduled Cowork cloud sessions waiting five minutes for each subagent whose WebFetch needed a URL approval that nobody was there to give
Fix empty entries left in /resume
Fixed Remote Control leaving empty "(session)" entries in /resume after switching conversations with /resume
Fix /usage rows cut off
Fixed /usage rows being cut off in narrow terminals
Clean up startup warning display
Fixed startup warnings printing as raw text above the logo; they now go to the debug log, and permission rules that restrict nothing show as warning rows under the banner
Fix screen reader label and spacing
Fixed screen reader mode: search boxes now say "Search:" instead of a symbol VoiceOver read as "telephone recorder", and highlighted prompt text, such as Ctrl+R search matches and "ultrathink", no longer has spaces inside words
[Self-hosted runner] Fix TERM-set start script failure
Self-hosted runner: Fixed a start script that shares only its stdout with the runner or orchestrator failing with Resource temporarily unavailable when TERM is set (a 2.1.300 regression)
[Self-hosted runner] Fix GIT_CONFIG access failure
Self-hosted runner: Fixed repository access failing since 2.1.296 when a git credential helper or askpass program reads its settings through GIT_CONFIG
[Self-hosted runner] Fix false spawn-runner timeout
Self-hosted runner: Fixed the orchestrator reporting a spawn-runner hook as timed out when a runner it started in the background kept its output open
[VSCode] Fix cut-off spinner text
Fixed the spinner cutting off "Compacting..." when your spinnerVerbs setting replaces the built-in verbs with short ones
[Cloud sessions] Fix admin page save error
Fixed the Cloud environments admin page wrongly refusing to save an existing environment with an "installs packages" error
[Claude Tag] Fix re-adding moved repositories
Fixed Claude Tag access bundles so a repository that moved to another GitHub account can be added again
[Claude Tag] Fix DM thread routine posting
Fixed a routine set up in a Slack DM thread no longer posting after another routine in that thread restarted the conversation; both now keep posting there
[Claude Tag] Fix silent routine runs
Fixed routines set up in a Slack thread reporting success without posting after the conversation ended; those runs are now skipped and the creator is told
[Code Review] Fix stale commit reviewed
Fixed Code Review sometimes not reviewing the newest commit when several pushes landed on a pull request during a review