Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Plugin hooks get isDispatching, and ui.render and ui.focus handling moves to a shared check

The context given to plugin hooks gains isDispatching, and the special handling of ui.render and ui.focus events now goes through a shared helper

Group of 2 Use it now Internal Changes
JSON All of v2.1.296
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.296,
What probably matters to youSection of the release

Unclear Which events the shared rule covers beyond ui.render and ui.focus is not stated.

What

Plugins are add-ons that extend Claude Code, and plugin hooks are pieces of plugin code that Claude Code runs at set moments. Each hook receives a context object describing what triggered it. This release changes that context and the events it reports:

  • isDispatching: a new function in the context handed to plugin hooks.
  • Root event clearing: when the root event (the event that started the chain) is ui.render or ui.focus, it is now cleared for callers that were served by a pending call. Before, the context used the dispatch's root event directly.
  • Shared check: code that treated only ui.render and ui.focus specially now goes through a helper function, which may cover more event types.

Why

These changes affect which interface event a plugin hook sees as its cause, and which plugin interface requests are rejected or allowed by default. Plugin authors who rely on the root event should check that their hooks still behave as expected.

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 doubtWhich events the shared rule covers beyond `ui.render` and `ui.focus` is not stated.

See this entry in the whole of v2.1.296 →

Feedback