github anthropics/claude-code v2.1.337

56 minutes ago

What's changed

  • Added overflowY="scroll" for a mod's pane, unbound chords in ui.key, a spinner for a running Progress, and clickable file paths in a mod's Markdown
  • Added /plugin install <git address> in the terminal: type or paste a git@, https:// or owner/repo address to install a plugin and use it right away
  • Added picture cards for mods: in the terminal, a Button can hold Box and Image elements as one control
  • Added built_in to the MCP server details that hooks receive: Claude Desktop sets it on its own servers, some of which run commands or control the computer
  • Added "Run in background" for a running skill in Desktop, cloud and Remote Control sessions, except on third-party providers; background: false in its frontmatter keeps it in the conversation
  • Fixed more cases of Claude and artifact publish prompts calling an artifact private when other people can open it
  • Fixed Claude losing the git branch and status after a compaction in folders where git status is slow
  • Fixed multi-line commands copied from Claude's replies with their left margin not running correctly when pasted in shell mode
  • Fixed a long pasted ! command running twice after pasting it again to expand it
  • Fixed a freeze when a long diff with tabs or thousands of small hunks was shown with syntax highlighting off
  • Fixed background sessions being restarted with "Session not responding" when they were only slow to start
  • Fixed worktree sessions and subagents refusing commands that name a path or branch such as tests/eval or x/source
  • Fixed /loop and other session-only scheduled tasks running twice after forking a session that is still open
  • Self-hosted runner: Fixed a resumed session getting no branch when git refuses its pushed branch under --push-outcome-on-release, unless the local branch has unpushed commits
  • Fixed empty Remote Control sessions staying in the session list after Claude Code was killed before the first prompt
  • Fixed session names splitting Persian, Urdu or Hindi words and joined emoji at a zero-width joiner or non-joiner
  • Fixed cloud and self-hosted sessions telling Claude a workflow was lost after a restart, when it could be resumed without rerunning its finished agents
  • Fixed an in-process teammate's spinner showing the lead's effort, and its compaction between turns running at the lead's effort, when the teammate has its own level
  • Fixed /diff showing "No diff content" instead of file changes when git's color.ui or color.diff is always
  • Fixed voice dictation staying on while the external editor (Ctrl+G) was open or Claude Code was suspended (Ctrl+Z)
  • Fixed launches stopping when --allowedTools or --tools held an old tool name or a bare *, and the resume command printed at exit being refused for some lists (regression in 2.1.333)
  • Fixed cloud sessions at a usage limit sending a refused request for every new notification
  • Fixed background sessions attached from Terminal.app triggering a macOS prompt to control Terminal when they send a notification
  • Fixed messages being refused after /login to the Amazon Bedrock proxy of an organization managed in Anthropic's Enterprise Admin Console: Claude Code can now restart into the conversation
  • Fixed a case of claude auth login losing the new sign-in after a slow token renewal
  • Fixed computer use on macOS failing to type multi-line text that ends in a newline
  • Fixed /feedback, /bug and /share staying on "Submitting report…" and losing what you typed when the report couldn't be built
  • Windows: Fixed long Bash commands being cut short in Git Bash, and improved error notes and cd into temp folders, on Bedrock, Vertex, Foundry, gateway sign-ins, and with telemetry off
  • Fixed background subagents that had stopped to wait on a Monitor watch not waking in the terminal when the watch ended
  • Fixed signing in to an MCP server from VS Code, Claude Desktop or Remote Control deleting a still-working sign-in that another session had stored
  • Fixed Claude Code refusing to send emails, messages and calendar invites through MCP tools when they included your email address and a link to the SEC's website
  • Fixed Claude not recognizing attached files by name in cloud sessions when the name has non-English letters, such as 報告.txt
  • Fixed /feedback ignoring clicks on its answers, offering to send a transcript that is too large, and not saying when one you chose was left out
  • Fixed read-only helper processes of the IDE extensions and the desktop app showing up as sessions in /list-agents and claude agents and accepting messages that nobody read
  • Fixed commands on Windows sometimes outliving Claude Code when it exits on a heavily loaded machine
  • Fixed some menus, dialogs and surveys ignoring keys pressed just after they open
  • Fixed messages from before a compaction disappearing in fullscreen mode after returning from the agents view, using /tui or resuming a session
  • Fixed /code-review skipping some REVIEW.md rules: past 150,000 bytes, in folders with brackets or parentheses in their name, and sometimes in every folder of a large repository
  • Fixed /plugin help closing without leaving its list of commands on screen
  • Fixed clicks in fullscreen mode being ignored just after a tab, link, suggestion or agent row appears, or after you press "N more" in a list
  • Fixed /plugin tag hanging on "Preparing the tag…" after an unexpected error, and drawing parts of its report as Markdown
  • Fixed Enable, Disable and Clear authentication in /mcp and /plugin going wrong when the MCP server had changed since the screen was drawn
  • Fixed /desktop exiting and losing the conversation when transcript saving is off; it also names the launch flags that Claude Desktop won't use
  • Fixed teleporting a Remote Control session opening an empty session instead of saying that there is nothing to copy
  • Fixed conversations being lost at exit when claude ran in a terminal opened by another Claude Code session
  • Fixed read-only side chats in the desktop app's Code tab telling Claude that CLAUDE.md and rules files were no longer present
  • Fixed the /plugin usage page leaving out a plugin's skills: it now lists them and counts their context cost as the skill listing does
  • Fixed skills from MCP servers (beta) disappearing when the server rate-limited a second request for them at startup
  • Fixed a background session running a turn again after a restart when the turn had been cancelled before Claude's reply began
  • Fixed the Artifact tool's login error behind an LLM gateway telling people to unset the credential their session needs
  • Fixed computer use on a Mac selecting all the text instead of pasting, copying or saving when a Korean, Russian or similar keyboard is on
  • Fixed Ctrl+R starting a prompt history search behind an open slash-command screen while Claude is working, outside fullscreen mode
  • Fixed the "Claude is waiting for your input" notification firing while a background subagent waits on its own command or monitor (#98373)
  • Fixed cloud sessions losing the messages since the last compaction when an earlier message ran again after a restart
  • Fixed conversations failing on every message when the API rejected the advisor's model; the request now retries without the advisor
  • Fixed newly built artifact pages that log timed entries, such as doses or feeds, saving the time the page loaded instead of the time of the entry; pages built earlier still do
  • Fixed --model default failing on Amazon Bedrock (Mantle) in headless runs when the newest Opus model is not enabled
  • Fixed the diff of an edit in cloud and claude remote-control sessions showing another file's changes when the file name holds brackets or a star
  • Fixed missing terminal titles with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set: each takes a model request, and CLAUDE_CODE_DISABLE_TERMINAL_TITLE stops them (#106307)
  • Fixed Claude Code in a VS Code terminal staying disconnected from the editor after a window reload, and no longer hearing of new editor errors after a reload or /clear
  • Fixed Ctrl+C twice exiting Claude Code from the thinking mode picker instead of closing the picker
  • Fixed auto mode refusing actions in VS Code, the desktop app's Code tab and background agents when its safety check can't run: Claude now asks you to approve most of them
  • Fixed missing spend limit warnings, and the missing limit in /usage, for people who sign in to the Claude apps gateway of an Enterprise Admin Console organization
  • Fixed voice dictation falling back to English when the language setting includes a region, such as "Português (Brasil)" or "Brazilian Portuguese"
  • Fixed /plugin not telling you when turning off computer use could not be saved
  • Fixed removing a marketplace in /plugin turning off its plugins when the removal was refused, or uninstalling a plugin that the confirmation didn't list
  • Fixed a press, typed text or pick on a mod's button, link, field or list being lost when a hook was still running and the mod redrew
  • Fixed clicking a file path in a reply showing "File could not be read" after Claude had changed folder
  • Fixed many cases of later messages being blocked because an earlier one in the conversation was flagged
  • Fixed a crash when giving up a search in the transcript view (ctrl+o) that began deep in a long message
  • Fixed transcript search in fullscreen mode sometimes reporting a match without scrolling to it
  • Improved memory use of terminal, desktop app and VS Code sessions and of claude -p
  • Improved auto mode on gateways, cloud providers and self-hosted runners: when its safety check is refused or may be blocked, Claude or the session's error says so and who can fix it
  • Improved detection of streamed replies damaged on the way, so fewer tool calls run on incomplete input
  • Improved MCP tool calls after compaction on third-party providers or with telemetry or feature flags turned off: Claude now knows which tools it had loaded and can load them again
  • Improved the file shown when you click a path: it scrolls to the end, ctrl+x tab lets you scroll and close it by keyboard, and paths in replies are underlined only where it can open
  • Improved mod panes: tabs keep their scroll place, tabs that don't fit are counted (+5 more), and PgUp and PgDn scroll while a text field has focus
  • Improved plugins installed by claude plugin install in another terminal or by a SessionStart hook: an open session can now load them without /reload-plugins
  • Improved key hints in many dialogs: one order and wording, and the first Ctrl+C says what a second one does
  • Improved auto mode to read a short reply such as "yes" together with Claude's question in more sessions, including Remote Control and Team and Enterprise cloud sessions
  • Improved the spacing and wording of permission prompts: shorter for shell commands and plan mode, with the command set apart
  • Improved memory use in long fullscreen sessions where Code Mode scripts make many MCP calls
  • Self-hosted runner: Changed a session re-opened with nothing to run to be released at --release-idle-session-min if that is sooner; a ready_idle_sessions metric counts such sessions
  • Changed most warnings, errors and notices in the conversation to start with a ∷ mark, so they are easier to tell apart from Claude's replies
  • Changed claude plugin configure, claude plugin install --config and /plugin install to refuse options for a plugin that your organization blocks
  • Changed ← and /background to refuse a session that uses CLAUDE_CODE_OAUTH_TOKEN from your shell when your saved login belongs to another organization
  • Changed number shortcuts above the prompt, such as a survey's, to ignore a digit that was pasted or recalled from history; it stays in the prompt as text
  • Changed sign-in to an Enterprise Admin Console organization to keep the computer's managed allow rules and default mode, and its status line and MCP server list unless the console has its own
  • Changed claude -p and SDK runs to end with is_error: true and exit 1 when auto mode could not check an action; set CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1 to opt out
  • Changed allowedMcpServers to no longer block Claude Code's own Artifacts server; deniedMcpServers and your organization's Artifacts setting still do
  • Changed a click that brings the terminal window to the front to also act on the tab, agent row or suggestion under the pointer, in fullscreen mode
  • Changed ← to open agent view on the first press right after you empty the prompt or move through prompt history, instead of asking for a second press
  • Changed self-hosted runners to tell Anthropic's service when their host asks for another model provider, defaults to plan or accept edits mode, or bans auto mode in managed settings
  • Changed dialogs to take fewer lines: text fields have no border, and the output style and theme menus are more compact
  • [VSCode] Added a View button to the notification for a session that waits behind another one in the same panel
  • [VSCode] Fixed the session survey losing a typed note, and thanking you for it, when sending fails
  • [VSCode] Fixed many cases of permission cards, the message box, diff icons and dialogs such as MCP servers and Manage plugins ignoring a key or a click
  • [VSCode] Fixed ordinary text showing as codes or marked as unusual in command output, diffs and permission cards: colors, wsl.exe text, line breaks and, in the new look, tabs and curly quotes
  • [VSCode] Fixed typing not reaching the message box after a tab switch in a remote window and, in the new look, after closing a menu while Claude works or a quick return from Open diff
  • [VSCode] Fixed saved sessions being hidden in folders you chose not to trust, and crash errors leaving out the end of the log
  • [VSCode] Fixed "Loading…" staying for seconds in some sessions after moving or reloading a busy chat panel, and made the session list load sooner while VS Code starts on a busy machine
  • [VSCode] Fixed parts of the panel missing in some sessions, mostly in the new look: tool rows, link tooltips, a stopped command's output and background agents' steps
  • [VSCode] Fixed voice dictation leaving the microphone on after a quick stop and restart with SoX or arecord, and its button missing from the first window on some Macs
  • [VSCode] Fixed Escape doing nothing in a question's "Other" field, and edit cards not saying when you changed the edit in its diff tab
  • [VSCode] Fixed errors about a missing sign-in to your organization's gateway suggesting /login, which doesn't start it in the panel, and added "Try again" when organization settings can't load
  • [VSCode] Fixed the cursor jumping to the start of an unsent message after replying to a permission prompt, clicking in the conversation, using Find or closing a dialog
  • [VSCode] Fixed a chat in an editor tab sending old line numbers for a selection after an edit had moved the selected lines
  • [VSCode] Fixed most cases of being signed out on Windows after reloading or closing a window or tab while the login was being renewed
  • [VSCode] Fixed screen readers missing a waiting prompt when you return to its session, or a reply sent while a saved session loads, and VoiceOver leaving the panel after some links are pressed
  • [VSCode] Fixed a blank chat showing while a cloud session opened from the side bar loads
  • [VSCode] Fixed file searches piling up and keeping the CPU busy after typing in the @ menu when ripgrep is missing or times out
  • [VSCode] Fixed diagrams with code, addresses or brackets in a label showing their source in the new look
  • [VSCode] Fixed the last character of a message being lost on Windows when Enter follows a dead key, such as the quote on the US International keyboard
  • [VSCode] Fixed sessions jumping to the top of the session list when you click them
  • [VSCode] Improved the new look: the sessions view follows VS Code's own lists with New session and New group in its title bar, and most tool text opens in an editor only from "Open in editor"
  • [VSCode] Changed proposed diffs: saving one accepts the edit with no click in it first, and its Accept and Reject icons show at once beside a Claude tab
  • [VSCode] Changed permission requests to show soon after you stop using an open menu, not up to 20 seconds later, unless a screen reader is in use
  • [VSCode] Changed vscode://anthropic.claude-code/open links to accept prompts over 5,000 characters again
  • [VSCode] Changed plugin installs to ask only for required options that have no default, with no restart banner after saving them
  • [VSCode] Removed the warning about reading outside the project from permission cards for reads and searches in the new look

Don't miss a new claude-code release

NewReleases is sending notifications on new releases.