Skip to content

Claude Code 2.1.310

26changes
  • Add the Monitor tool and plugin monitors on Bedrock, Vertex, and Foundry, blocking long foreground sleeps there too.
  • Give Enterprise Owners custom-role control over Claude Code cloud sessions and Remote Control.
  • Load a cloud environment's setup script from a file with a new Choose file button.
  • Fix Windows PreToolUse and PermissionRequest hooks letting some tool calls through unchecked.
  • Fix the plan review card approving a plan when you clicked Send feedback instead.

New features

3

Improvements

9
All changes (9) Fewer changes

Explain auto mode's outside-read block

Improved auto mode's prompt before the first read outside the working directories: it now says when blocking those reads makes shell commands ask for permission

Reduce compaction memory use

Improved memory use of non-interactive sessions (-p, Agent SDK) during compaction when the transcript file is very large

Fix mod images in tmux

Improved a mod's Image to draw inside tmux with allow-passthrough and focus-events on, in kitty, Ghostty, and iTerm2 3.5+ with fullscreen rendering, where it showed only its alt text

▤ In the docs

Explain Ubuntu AppArmor sandbox block

Linux: Improved /sandbox and the sandbox startup warning to name Ubuntu's AppArmor restriction on user namespaces, and how to lift it, when it keeps bubblewrap from starting the sandbox

Clarify MCP elicitation timeout error

Changed the error for an MCP tool call that times out in a non-interactive session while the server's elicitation is unanswered: it now tells Claude that no answer came and not to repeat the call

▤ In the docs

[Cloud sessions] Show setup script output

Improved the session start checklist to show a cloud environment's setup script output in a scrolling box

[Cloud sessions] Confirm enabling cloud features

Changed turning on Cloud sessions or Remote Control in admin settings to ask for confirmation and list the custom roles that have that permission

[Cloud sessions] Reorganize environment dialog

Changed the cloud environment dialog to open network access, setup script and environment variables from rows instead of listing every editor at once

[Code Review] Retry failed admin load

Improved the Code Review admin section to retry the first load and show one Try again banner when it still fails

Bug fixes

14
More changes (12) Fewer changes

Retry requests gateways reject

Fixed requests failing behind some gateways and compatible servers that reject the effort-2025-11-24 beta value or mid-conversation system messages; Claude Code now retries without them

Fix cleanup deleting recent files

Fixed background cleanup deleting some recent files, such as pasted images, when cleanupPeriodDays is set to a very large value

Fix compaction after too-long error

Fixed compaction after a "Prompt is too long" error keeping too much of a conversation with dense text, such as base64 or SVG, so the next request could fail again

Show symlink target in read prompts

Fixed file read permission prompts not showing where a symbolic link leads

Fix auto-continue after editor closes

Fixed a question's auto-continue timeout firing the moment the external editor closed after a long edit

[VSCode] Fix branch-switch cloud error

Fixed the panel showing "Something went wrong" after "Switch branch & continue" on a cloud session opened from Session history's Web tab

[Cloud sessions] Show save/archive errors

Fixed failed saves and archives in the cloud environment edit dialog showing no error inside the dialog

[Cloud sessions] Show routine token errors inline

Fixed failed routine API token actions showing only a toast; the error now appears in the routine edit dialog

[Claude Tag] Fix formatted bang commands

Fixed Claude Tag treating ! commands such as !restart and !help as ordinary messages when sent in bold, italic or strikethrough

[Claude Tag] Fix admin pages load error

Fixed Claude Tag admin channel and workspace pages being replaced by a load error when a background refresh of the bundle list fails

[Claude Tag] Fix spend limits filter

Fixed Claude Tag's spend limits page in admin settings reporting that no channels match a filter while channel names are still loading

[Code Review] Fix hidden repos after refresh

Fixed the Code Review admin section hiding its repositories and switches after a failed refresh of the repository list

Change details