Expand description
Public diff API — user-facing change inspection.
The merge engine itself does NOT depend on diff. Diff is a presentation-layer utility for:
- Agent conflict resolution — “show me what changed”
- Portals UI — React Flow display of additions/removals
- Review workflows — preview before publishing
Structs§
- Change
- A single change detected by the diff engine.
- Diff
Result - The result of a diff operation.
Enums§
- Change
Op - The kind of change operation.
Functions§
- diff
- Compute the diff between a base document and a candidate document.
- diff_
normalized - Convenience: compute diff with automatic normalization.