Production-grade color system with ProgramWire v1 runtime.
See packages/colors/README.md for the public API contract.
�ash npm install @labpics/colors
`javascript import init, { compileProgramWire } from "@labpics/colors";
await init(); const runtime = compileProgramWire(programBytes, 1); const snapshot = runtime.update(observed); `
- ProgramWire v1: Deterministic binary format (magic LCPW, version 1)
- Typed refusals: Invalid declarations produce typed errors, not silent coercion
- Cross-language parity: JS builder emits byte-identical output to Rust reference
- Fail-closed security: Family graphs require explicit trust parameters
labcolors-core имеет ноль рантайм-зависимостей. Проверяемый контракт:
cargo tree -p labcolors-core --edges=no-dev�ash cargo test --workspace npm test
All workflows green on main. See Actions for live status.
MIT