Diff two kit versions
diff_kit_versionsCompare two versions of a design kit to see exactly what changed—paths, values, and CSS variables—so you know what to update in your codebase.
Instructions
What changed between two versions of a kit: a list of paths with the old and new value, the CSS custom property a token change drives, and a mechanical summary. This is the tool for taking a brand change into a codebase, because it tells you the handful of things to update rather than making you re-read a whole DESIGN.md. Pass from alone to compare against the current version, which is the usual question: from is the version your repo recorded in identityforge.json. Pass both to pin a range. It reports what moved and does not judge how big the change is; whether a token shift matters to your UI is your call, not a number we invent. For a Pro kit you are not entitled to, every change comes back with redacted: true carrying the path, kind and CSS variable but no before or after, and redactedChanges counts them, so you can still see the shape of the change and know exactly what is withheld. Needs kits:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Upper bound. Omit to compare against the kit's current version, which is what you want when asking whether it moved since you built. | |
| from | No | Lower bound. Omit to diff the current version against the one before it. Must be lower than the upper bound. | |
| slug | Yes | Permanent kit id or slug. |