Release · Claude Code · Anthropic

Claude Code v2.1.337

What's new in Claude Code v2.1.337, released Dec 4, 2026 (). This is the latest version.

Release notes

Claude Code v2.1.337

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 (anthropics/claude-code#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 (anthropics/claude-code#106307)

…