Config-phase middleware that collects and wires the CLI plugins.
Runs inside the CLI's blueprint pipeline, after the user config is loaded, so it can read
stone.builder.plugins (explicit, Path A) and, unless stone.builder.autoDiscoverPlugins is
false, auto-discover @stone-js/* first-party plugins (Path B). It then runs every plugin's
blueprintMiddleware on the same blueprint context (so plugins can augment stone.builder.*
before the builders run) and stashes the resolved plugin list on the blueprint for the build
phase (stone.builder.loadedPlugins).
Config-phase middleware that collects and wires the CLI plugins.
Runs inside the CLI's blueprint pipeline, after the user config is loaded, so it can read
stone.builder.plugins(explicit, Path A) and, unlessstone.builder.autoDiscoverPluginsisfalse, auto-discover@stone-js/*first-party plugins (Path B). It then runs every plugin'sblueprintMiddlewareon the same blueprint context (so plugins can augmentstone.builder.*before the builders run) and stashes the resolved plugin list on the blueprint for the build phase (stone.builder.loadedPlugins).