Appearance
Compatibility
- The library is private, versioned ESM with TypeScript declarations and source maps.
- Repository tooling and package manifests require Node.js 22.12 or newer.
- Browser recipes are verified with Vite and Chromium. Other bundlers must supply equivalent worker/CSS handling; they are not claimed as tested integrations.
- Three.js is optional at installation but required for the playback root import. The declared peer range is
>=0.180.0 <1. Use/playback/headlessfor clock/controls alone. - Plotly is optional;
/analytics/plotlyrequiresplotly.js-basic-dist-minin>=3.0.0 <4. - Pure simulation and analysis can run in Node. DOM mounts and chart imports belong in browser code, after mounting the host element; do not execute them during SSR.
- There is no dedicated React binding. A React host can mount/dispose the framework-neutral components in an effect using stable inputs, without changing the library API.
One current ABM
Use Scenario, Simulation, RunResult, and AnalysisResult. There is one current JSON contract and one built-in simulation model, configured through data.
There are no compatibility aliases, migration readers, or alternate implementations. Breaking changes are allowed during development. Regenerate saved results when their shape no longer validates. Keep the engine version, complete normalized input, and seed together when reproducing a run.