Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

New hook-registration validators for plugin event handlers

New validators catch plugin hooks registered for events or hook types that don't actually exist

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPluginswhat it touches
KindInternal Changesin v2.1.265,
Under the hood

New validators catch plugin hooks registered for events or hook types that don't actually exist

What

Plugins can register handlers for events (using on("event")) and hooks. Two new validators now check this registration at load time: one confirms that a plugin's event patterns actually match a real, known event or method, and the other confirms that hooks the plugin declares were actually found when its hooks module was scanned. If either check fails, Claude Code now throws a descriptive error, such as one saying a pattern 'selects no event' or that a hook 'the scan of its hooks module did not see'.

Why

This gives plugin authors clearer, more specific errors when they misconfigure event or hook registrations, instead of the problem failing silently or surfacing as a confusing downstream error.

See this entry in the whole of v2.1.265 →

Feedback