Skip to content

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

4
More changes (1) Fewer changes

Improvements

12
More changes (8) Fewer changes

Bug fixes

22
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

Change details