Minor Changes
-
#438
b540985- general cleanup and standardization of pluginsfeat: add
standardVarsplugin property for automatic env var detection warningsPlugins can now declaratively set
plugin.standardVarsto define well-known env vars they use. The loading infrastructure automatically checks for these vars in the environment and shows non-blocking warnings (in pretty output or on failure) when they are detected but not wired into the schema or plugin decorator. Green highlighting indicates items that need to be added.
Patch Changes
-
#436
eaf6c10- fix: switch plugins to CJS output to fix plugin loading errors in the standalone binaryPreviously plugins were built as ESM and the loader performed a fragile regex-based ESM→CJS transformation. Plugins now build as CJS directly and are loaded via
new Functionin the main runtime context, which avoids both the ESM parse errors and Node.js internal assertion failures (e.g.DOMExceptionlazy getter crashing in vm sandbox contexts). -
#415
29316c5- fix: usefileURLToPathinstead of.pathnameto derive__dirnamein plugin ESM banner, preventing doubled drive letters (C:\C:\...) on Windows -
Updated dependencies [
7b31afe,dbf0bd4,eaf6c10,1e8bca6,ab417d7,b540985]:- varlock@0.6.0