←News detail

Claude Code:GitHub ReleasesUpdated Oct 25 20:49

Claude Code v2.1.310 Released

AI summary

Claude Code v2.1.310 adds the Monitor tool and plugin monitoring, covering Bedrock, Vertex, and Foundry, and is also available when telemetry or non-essential traffic is disabled; long foreground sleep is also prevented. This version fixes request failures caused by some gateways rejecting the effort-2025-11-24 beta value or mid-conversation system messages; Claude Code now strips these out and retries. It also fixes an issue where background cleanup mistakenly deleted recent files (such as pasted images) when cleanupPeriodDays was set to an extremely large value.

Body

## What's changed

- Added the Monitor tool and plugin monitors on Bedrock, Vertex, and Foundry, and when telemetry or nonessential traffic is disabled; long foreground sleeps are now blocked there too - 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 - Fixed background cleanup deleting some recent files, such as pasted images, when `cleanupPeriodDays` is set to a very large value - 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 - Fixed file read permission prompts not showing where a symbolic link leads - Fixed a question's auto-continue timeout firing the moment the external editor closed after a long edit - Windows: Fixed PreToolUse and PermissionRequest hooks letting a tool call through when Git Bash is missing and the hook's command is only quoted strings, such as a quoted path - 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 - Improved memory use of non-interactive sessions (`-p`, Agent SDK) during compaction when the transcript file is very large - 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 - 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 - 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 - [VSCode] Fixed pressing Enter on the plan review card's "Send feedback and keep planning" button approving the plan instead of sending your comments back - [VSCode] Fixed the panel showing "Something went wrong" after "Switch branch & continue" on a cloud session opened from Session history's Web tab - [Cloud sessions] Added Claude Code cloud sessions and Remote Control permissions to Enterprise custom roles, so Owners can control access to each by role - [Cloud sessions] Added a Choose file button to load a cloud environment's setup script from a file - [Cloud sessions] Fixed failed saves and archives in the cloud environment edit dialog showing no error inside the dialog - [Cloud sessions] Fixed failed routine API token actions showing only a toast; the error now appears in the routine edit dialog - [Cloud sessions] Improved the session start checklist to show a cloud environment's setup script output in a scrolling box - [Cloud sessions] 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] Changed the cloud environment dialog to open network access, setup script and environment variables from rows instead of listing every editor at once - [Claude Tag] Fixed Claude Tag treating `!` commands such as `!restart` and `!help` as ordinary messages when sent in bold, italic or strikethrough - [Claude Tag] 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] 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] Fixed the Code Review admin section hiding its repositories and switches after a failed refresh of the repository list - [Code Review] Improved the Code Review admin section to retry the first load and show one Try again banner when it still fails

Source

Claude Code:GitHub Releases