Design Spine

v0.4.0
io.github.forbiddenlink/design-spine Checked 7 hours ago Published 7 hours ago

Read-only view of the latest Design Spine visual review run: status, tiles and changed screens.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

spine_status

Summary of the latest design-spine run: run id and times, tile count, approved/rejected/pending counts, flagged count, run directory and the command that opens the contact sheet. Read-only.

spine_list_tiles

List tiles of the latest run with route, state, viewport, theme, image path, image hash (null if not recorded) and review status. Optional status filter. Read-only.

ParameterTypeDescription
statusstring

spine_changed_tiles

Changed, new and failed tiles of a run (default: latest) from the diff.json that `spine diff` wrote: id, result, ratio, box {x,y,w,h} of the changed pixels (null when none), diff image path and the reason. Errors with a hint to run `spine diff` when there is no diff.json. Read-only: it never approves, rejects or runs a diff.

ParameterTypeDescription
runstringrun id or path; default latest

spine_rejections

Rejected tiles of the latest run as a fix brief: route, state, viewport, theme, screenshot path, reviewer note, pinned anchor {x, y, stale} in image pixels (stale: the screenshot changed since the note was pinned), automatic findings and the baseline path (null when none). Same JSON as `spine handoff --format json`. Optional includeFlagged also adds pending tiles with automatic findings. Read-only.

ParameterTypeDescription
includeFlaggedboolean