Claude Code 2.1.337: Install plugins from git addresses in the terminal; auto mode error behavior changes for claude -p and SDK

Anthropic's Claude Code changelog for December 4, 2026 lists 2.1.337, with changes for the terminal, VS Code, Desktop and other surfaces. Note for automation scripts: when auto mode cannot check an action, claude -p and SDK runs end with exit code 1.

News date: About 6 min read

Contents
  1. 1. What's new in Claude Code 2.1.337?
  2. 2. What changes for automation scripts, permissions and organization management?
  3. 3. How should VS Code and terminal habits adjust?

Anthropic's Claude Code changelog for December 4, 2026 lists version 2.1.337, which includes new features, behavior changes and one removal. Some features apply only to specific surfaces, such as the terminal, VS Code or Desktop. Three things affect everyday development most: how plugins are installed, how failures are determined in automation scripts, and how changes are accepted in VS Code.

What's new in Claude Code 2.1.337?

According to Anthropic's changelog, users can now type or paste a git address to /plugin install in the terminal, in git@, https:// or owner/repo form, and use the plugin after installation.

  • Background execution: in Desktop, cloud and Remote Control sessions, running skills gain a "Run in background" option (except with third-party providers). Setting background: false in a skill's frontmatter (the settings block at the top of the file) keeps it in the conversation.
  • Hooks information: the MCP server (a connected service that provides external tools to Claude) details received by hooks (custom scripts that run automatically on specific events) now include built_in. Claude Desktop sets it on its own servers, some of which can run commands or control the computer.
  • Mod interface: panes support overflowY="scroll", ui.key supports unbound key combinations, a running Progress has a spinner icon, and file paths in Markdown are clickable.
  • Mod image cards: in the terminal, a Button can hold Box and Image elements as a single control.
  • VS Code notifications: for a session waiting in the same panel behind another session, its notification gains a View button.

What changes for automation scripts, permissions and organization management?

Automated workflows using claude -p (running a single command directly without the interactive screen) or the SDK need particular attention: per the changelog, when auto mode (a permission mode that automatically checks actions and decides whether to allow them) cannot check an action, the run result carries is_error: true and ends with exit code 1. To opt out of this behavior, set CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1.

  • Organization-blocked plugins: claude plugin configure, claude plugin install --config and /plugin install refuse to set their options.
  • Cross-organization login: when a session uses CLAUDE_CODE_OAUTH_TOKEN from the shell and the saved login belongs to another organization, ← and /background refuse that session.
  • Enterprise Admin Console: signing in to such an organization keeps the managed allow rules and default mode on the computer; the status line and MCP server list are also kept, unless the console has its own settings.
  • Artifacts server: allowedMcpServers no longer blocks Claude Code's own Artifacts server, but deniedMcpServers and the organization's Artifacts setting can still block it.
  • Self-hosted runner: a reopened session with nothing to run is released according to --release-idle-session-min if that arrives earlier, and is counted by the ready_idle_sessions metric.
  • Runner reporting: when the host requires another model provider, defaults to plan or accept edits mode, or disables auto mode in managed settings, the self-hosted runner tells Anthropic's service.

How should VS Code and terminal habits adjust?

Behavior changes compiled from Anthropic's changelog
SurfaceItemBehavior in 2.1.337
VS CodeProposed diffSaving accepts the edit; Accept and Reject icons appear immediately next to the Claude tab
VS CodePermission requestsShown soon after you stop using an open menu, no longer delayed up to 20 seconds (except when using a screen reader)
VS Codevscode://anthropic.claude-code/open linksAccept prompts over 5,000 characters again
VS CodeInstalling pluginsAsks only for required options without defaults; no restart banner after saving
Terminal (fullscreen)Click that refocuses the windowAlso acts on the tab, agent row or suggestion under the cursor
Terminal← to open agent viewOne press after clearing the prompt line or browsing prompt history
Above the prompt lineNumber shortcuts (e.g. surveys)Ignore digits that are pasted or recalled from history; the digits stay in the prompt line as text

On the display side, most warnings, errors and notices in the conversation now begin with a ∷ symbol, making them easier to tell apart from Claude's replies. Dialogs also take up fewer lines: text fields no longer have borders, and the output style and theme menus are more compact. In addition, in the new look for VS Code, permission cards for reads and searches have removed the warning about reading outside the project.

Frequently asked questions

A CI script suddenly returns exit code 1 after upgrading. What might be behind it?

One possible cause is a change in this version: when auto mode cannot check an action, claude -p and SDK runs end with is_error: true and code 1. The opt-out Anthropic lists is setting CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1; before enabling it, consider whether you can accept runs not ending in an error.

How do I keep a particular skill from being moved to the background?

Per the changelog, setting background: false in that skill's frontmatter keeps it in the conversation.

If an organization uses allowedMcpServers for control, can it still block the Artifacts server?

allowedMcpServers alone no longer blocks Claude Code's own Artifacts server. If you need to block it, deniedMcpServers and the organization's Artifacts setting still work.

Anthropic: Claude Code 2.1.337 changelog

Browse the latest news in this topic

Found this guide helpful? Share it with someone who needs it

Sources

Compiled from the references and verification dates listed above; fares, schedules, product features, and terms can change, so please confirm the latest details on the relevant official website before travelling, booking, or purchasing.

Lifestyle