Files
ruflo/scripts
ruvandakhilesharora 0180d69f15 fix(plugins): drop unregistered optionalDependencies; guard monteCarlo on empty input
financial-risk and healthcare-clinical declared five unscoped
optionalDependencies that are not registered on npm (micro-hnsw-wasm,
ruvector-economy-wasm, ruvector-learning-wasm,
ruvector-sparse-inference-wasm, ruvector-hyperbolic-hnsw-wasm). npm
installs optional dependencies automatically, so whoever registered one of
those names first would run code on every plugin install (dependency
confusion, found in #2084). Their bridges load them with a guarded dynamic
import and fall back when absent, so dropping them from the manifests
changes nothing at runtime. ruvector-gnn-wasm is registered (ruvnet) and
stays.

scripts/audit-plugin-packages.mjs gains check E, which fails on any of
those names in a plugin manifest. It fails on main.

Also re-applies akhilesharora's #2025: simulateMonteCarlo returns [] for an
empty portfolio instead of NaN-filled scenarios (test included; it fails
without the guard).

Versions: plugin-financial-risk and plugin-healthcare-clinical
3.0.0-alpha.3.

Co-Authored-By: akhilesharora <akhilesharora@users.noreply.github.com>
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-11-09 01:29:25 -05:00
..
2026-10-20 02:11:26 -04:00
2026-01-04 19:30:59 +00:00