Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Plugins can now call ui.copy, theme.set and session.identity, and read version-control state at session scope

The plugin host now handles ui.copy and theme.set instead of refusing them, adds session.identity, moves vcs reads to session scope and adds new plugin fields

Group of 3 Under the hood New Features
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
New FeaturesKind: in v2.1.331,
What probably matters to youSection of the release

What

Plugins are add-ons that extend Claude Code. The plugin host is the part of Claude Code that answers their requests. In this release the host answers more of those requests, and plugins can pass more data back:

  • ui.copy and theme.set are now handled by the host. Before, the host's table had theme.clear but not these two, and its permission table listed theme.set and ui.copy as "refused". Those refused entries are removed.
  • theme.set now accepts a loadsThere callback, which is used when a hook is registered.
  • session.identity is added to the session abilities a plugin can ask for.
  • vcs.detect, vcs.diff, vcs.list and vcs.status now sit in the session scope. These calls read version-control information, such as the state of a git repository. vcs.list and vcs.status were host before.
  • A ReadModVcs tool is added.
  • The notTheList slot filter now leaves out BesidePrompt and Underlay as well as AbovePrompt.
  • MCP tool calls can now carry watched-file events. MCP is the protocol Claude Code uses to talk to outside tool servers.
  • A new anthropic/cardDirectory key appears.
  • The plugin result data gains surface, shaders, provedUnder, madeByCommand and hooksWorktrees.
  • Plugin feature flags are now set from a featureFlags option.

Why

Plugins can now copy text, change the theme through the host and read the session identity. Before, the theme and copy calls were refused. The version-control read calls have moved from host scope to session scope, which changes which callers are allowed to use them.

See this entry in the whole of v2.1.331 →

Feedback