@0xsarwagya/ontoly-diff
v1.3.3
Published
Deterministic Software Graph diffing for Ontoly.
Maintainers
Readme
@0xsarwagya/ontoly-diff
Responsibility
@0xsarwagya/ontoly-diff owns deterministic diffing between two Software
Graphs. It computes added, removed, and modified nodes and added or
removed edges. It does not parse repositories, run capabilities, or
interpret changes semantically.
See RFC 0005 in rfcs/0005-graph-diffing.md
for the full contract.
Installation
pnpm add @0xsarwagya/ontoly-diffAPI
diffSoftwareGraphs(base, head)returns aGraphDiffdescribing added, removed, and modified nodes and added or removed edges.
Example
import { diffSoftwareGraphs } from "@0xsarwagya/ontoly-diff";
const diff = diffSoftwareGraphs(baseGraph, headGraph);
console.log(diff.summary);Status
Alpha preview shipped in 1.1.0-alpha.2. The API follows RFC 0005 and is
governed by the Software Graph specification and RFC process.
