Skip to content

Repository files navigation

Lab Colors

Production-grade color system with ProgramWire v1 runtime.

Quick Start

See packages/colors/README.md for the public API contract.

Installation

�ash npm install @labpics/colors

Usage

`javascript import init, { compileProgramWire } from "@labpics/colors";

await init(); const runtime = compileProgramWire(programBytes, 1); const snapshot = runtime.update(observed); `

Architecture

  • 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

Development

�ash cargo test --workspace npm test

CI Status

All workflows green on main. See Actions for live status.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages