Plugins that call next.to() with a hooks module name Claude Code can't find in the code are now rejected
Plugin code can call next.to("name") to hand off to a named hooks module (a plugin file that reacts to Claude Code events). A new check now scans plugin code ahead of time to make sure that name is spelled out literally somewhere it can find. If the target can't be located this way, the call now throws an error instead of proceeding.
This closes off hooks-module handoffs that can't be verified in advance, which previously could fail unpredictably at runtime. Plugin authors need to name next.to() targets literally so the static scan can find them.