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.321 ·

Plugins can schedule notifications and cancel them

Plugin ui.notify gains delay, time, until-back and key options, a new ui.cancelNotify removes notices, and headless sessions pass them to the host

Group of 4 Use it now New Features
JSON All of v2.1.321
Use it nowTier: 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.321,
What probably matters to youSection of the release

Unclear Whether Claude Code acts on a ui.cancelNotify message in this release is not shown.

What

Plugins add features to Claude Code and can ask it to show you notifications.

  • ui.notify now accepts key, delayMs, at and untilBack, so a plugin can schedule a notice, send it when you are away, or replace an earlier one with the same key. Before, it sent only text and a title.
  • ui.cancelNotify(key) cancels a notification by its key.
  • In headless sessions (running without the interactive screen), notices go to the connected host as ui_notify and ui_notify_cancel messages under the plugin's name, with delay_ms, at, until_back and key. Text is capped at 1000 characters and the title at 120. Before, notify always reported there was nowhere to show it.
  • These messages are left out of the stream-json output.
  • Plugins also gain a way to read the permission mode (permissionMode).

Why

Plugin authors can time notices and clear stale ones. If you read stream-json output, these notification messages do not appear there.

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 doubtWhether Claude Code acts on a `ui.cancelNotify` message in this release is not shown.

See this entry in the whole of v2.1.321 →

Feedback