You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Complex fill values (gradients, images, arrays) no longer collapse to [object Object] — distinct values diff correctly, identical objects with different key order produce zero diffs
Per-side cornerRadius arrays ([t,r,b,l]) now diff correctly against each other and against scalar values
Gradient/image/array fills route to Claude instead of the hex fast-path (no more spurious "could not convert hex" errors)
Added
Document-level design tokens (variables/themes) are now tracked in the snapshot and surface as diffs when changed
ref/reusable component instances are resolved during tree flattening — instance visual props are tracked and diff correctly
stableStringify() utility in utils.ts for sorted-key canonical JSON serialization
src/__tests__/fixtures/realistic.pen.ts — realistic Document fixture for all future real-schema tests
Notes
560 tests passing (+26 new)
Migration-safe: complex values stored as canonical JSON strings (still string type), so existing persisted snapshots remain valid