plugin-builder-npm
| Version | 2026.182.0200 |
| Repo | superproject |
| Plugin | yes — see the plugin reference |
OUT-OF-TREE charly plugin serving the npm builder’s BUILD-TIME multi-stage (OpResolve)
- its DEPLOY-TIME IR shim. A standalone Go module dispatching to the shared
sdk/kit logic (R3): OpResolve (→ kit.BuilderResolve — the
FROM <builder> AS npm-buildstage + COPY artifacts, C10, no longer the core embedded vocabulary), OpCollectContext (npm records no stage context — globals are read from package.json host-side at install time) and OpReverse (npm → npm-uninstall-g when globals are known). The deploy-time pair runs in the host build PRE-PASS, BEFORE the pure BuildDeployPlan compile, so the compiler never dials a plugin. Selection stays DETECTION (a candy’s package.json), never an authored external_builder:.
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
check |
the out-of-tree npm builder plugin ships a buildable Go module (go.mod + the provider main) the host builds + serves out-of-process for the build-time OpResolve + deploy-time OpCollectContext/OpReverse legs |