Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

React to events with a mod changedplugins/mods/events

Nearest release: v2.1.326, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 16 Nov 2026 22:20 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 16 Nov 2026 22:37 UTC.

Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line 466 where the diff opens
First seen 1 Oct 2026 this site's first read of the page
Recorded edits26to this page, all time

The whole hunk

from line 466, old and new numbered
/
lines
from line 466
466466At `tool.check` and `plugin.register`, a refusal returned after `next` resolved still holds, so return it without testing `next.called`:
467467 
468468* **`tool.check`**: return `{ decision: 'deny', reason: 'the reason' }`
469* **`plugin.register`**: return `{ refuse: 'the reason' }`, as [Refuse mods when your check fails](https://code.claude.com/docs/en/plugins/mods/admin.md#refuse-mods-when-your-check-fails) shows
469* **`plugin.register`**: return `{ refuse: 'the reason' }`. On v2.1.326 or later, the other mod's whole plugin then stays out. To stop only the mod, see [Refuse mods when your check fails](https://code.claude.com/docs/en/plugins/mods/admin.md#refuse-mods-when-your-check-fails).
470470 
471471At `tool.call`, a `deny` returned after `next` resolved [withholds the result from Claude](#guard-or-change-a-tool-call).
472472 
Feedback