Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.259 ·

Plugin UI hooks can now invalidate on prompt.context, not just prompt.section

Plugins can now invalidate prompt.context specifically through ui.invalidate, alongside ui.render and prompt.section.

Use it now Improvements
JSON All of v2.1.259
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Plugin HooksArea: what it touches
ImprovementsKind: in v2.1.259,
What probably matters to youSection of the release

The plugin SDK bridge's ui.invalidate call now also accepts "prompt.context" as an event to invalidate, alongside the existing "ui.render", "prompt.section", and "tool.describe", letting plugins force a refresh of that section specifically.

Read from
Names in the bundleprompt.contextui.invalidate
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Draw in the interface with a mod touched a line naming ui.invalidate after this was published. Claude Code throttles redraws of a site, so your mod can call `$.ui.invalidate` as often as its data changes. For how often each site can redraw, see the [limits table](/docs/en/plugins/mods/reference#limits). plugins/mods/interface see the edit
Confirmed since Anthropic's documentation has since written up ui.invalidate, on Draw in the interface with a mod. Claude Code limits how often it redraws a site, so your mod can call `$.ui.invalidate` as often as its data changes. The visible pane and the band have a higher limit than other sites, and the [limits table](/docs/en/plugins/mods/reference… plugins/mods/interface see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up ui.invalidate, on Draw in the interface with a mod.

See this entry in the whole of v2.1.259 →

Feedback