Group of 2 Under the hood
Plugin discovery and its file watcher now track a folder scope and entry module path, and the watcher can retarget on reload
What
- Plugin discovery from folders now records a
scope: "folder"marker and resolves anentrymodule path when a manifest declaresmodulePath. - The plugin directory watcher now tracks a per-plugin
scopeandentryalongside manifests, checks anadmitgate before reloading a plugin, and callswatcher.retarget()after both plugin-list updates and after a reload completes.
Why
This lets Claude Code correctly track where a plugin's code actually lives and keep watching the right files and folders as plugins are added, reloaded, or changed, instead of relying only on a static manifest list.