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 gain session.info and session.redact, and ui.log can carry a note for the agent

Plugins get session.info and session.redact methods, and $.ui.log takes an optional agentNote meant for the agent

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

Unclear It does not say what the two new requests do or whether any permission is needed to use them.

What

Plugins and mods are add-ons that run inside Claude Code. They call functions Claude Code provides to ask it to do things. This release changes that set of functions:

  • session.info and session.redact are now registered as methods plugins can call, and both are handled the "append" way. session.redact is new.
  • $.ui.log, the function a plugin uses to write a log line, takes a fourth argument. When it is given, it is stored on the log line as agentNote. Before, a log line held only the plugin's name and the text.

Why

A plugin can now attach a note meant for Claude to what it logs, and can call methods for session information and redaction, which means hiding parts of a session.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt does not say what the two new requests do or whether any permission is needed to use them.

See this entry in the whole of v2.1.331 →

Feedback