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 ·

Plugin function session.redact takes a text string and limits its length

The session.redact function available to plugins now takes a text string, enforces a maximum length and runs a redaction routine

Under the hood No documentation found Internal Changes
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release

Unclear It is not clear what the redaction removes or whether plugins that use this function can run for everyone.

What

Plugins are add-ons that extend Claude Code, and they can call functions that Claude Code provides. The session.redact function now takes a piece of text as a string, refuses text over a maximum length, and runs it through a redaction routine that removes sensitive content.

Why

Plugin authors can have Claude Code redact text for them rather than doing it themselves.

Read from
Names in the bundlesession.redact
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 is not clear what the redaction removes or whether plugins that use this function can run for everyone.

See this entry in the whole of v2.1.331 →

Feedback