@graph-ir/core
v0.2.3
Published
Core utilities for Graph-IR validation, generation, and transformation
Maintainers
Readme
@graph-ir/core
Private 0.2.3 candidate
This checkout packages GraphIR Core as a private 0.2.3 candidate for Coral
0.2.8. It is not tagged or published. Install the verified graph-ir-core-0.2.3.tgz
archive from the candidate artifact set; do not substitute the published
0.2.2 package with different bytes. The server also requires the candidate
Core archive when resolving its exact 0.2.3 dependency.
The released GraphIR 3/2 provenance remains unchanged. Reviewed GraphIR 4 successor exports remain a separately identified candidate contract. The source release branch includes the latest Coral parser compatibility work. Existing 0.2.2 registry commands below describe the preceding published release; they do not install this private candidate.
Canonical Graph-IR types, JSON Schema validation, ID generation, output formatters, and testing utilities.
Installation
npm install @graph-ir/coreUsage
import { validateIR, PrettyFormatter } from '@graph-ir/core';
const result = validateIR(graphIR, { strict: true });
console.log(new PrettyFormatter().format(result));The GraphIR document schema and npm package have independent versions. This
package release is 0.2.2; its authored schema is 3.0.0.
Schema 3.0 adds portable notation profiles, structured classifier and relationship-end semantics, and explicit interaction identities and order. Positions and dimensions remain authored exact geometry; generated routes and measured/computed geometry belong in a separate layout result.
This is a coordinated pre-1.0 breaking release. Use migrateGraphIR2To3 for
the named, validated schema-2-to-3 transition. The existing migrateIR API
remains the conservative 1.x-to-2 boundary, where ambiguous geometry requires
an explicit loss policy.
The schema is available through the @graph-ir/core/schema export.
License
MIT
