Skip to content

v0.10.1

Choose a tag to compare

@github-actions github-actions released this 31 Oct 15:09
6fd395e

figlens 0.10.1 fixes output that looked complete when it was not, and adds the details agents kept fetching with an extra call. Everything applies to the CLI and MCP; Pi, OpenCode V2 and OMP pass the same results through.

Output that no longer reads as complete when it is not

  • export now lists image adjustments it did not render (exposure, contrast and the like) in its warnings, as bundle and verify already did. Before, an exported PNG could differ from Figma with an empty warning list.
  • diff that hits a work limit prints stopped early with the stopped sides and a hint to narrow it with --node, instead of no changes.
  • MCP calls whose output folder does not exist now say so and name the folder, instead of reporting it as outside the allowed roots. The CLI error names the folder too.

More detail where agents needed a second call

  • inspect --flat lines carry auto-layout alignment (align=space-between/center), fixed or fill sizing (size=fixed/hug, left out when both axes hug), and visible shadows and blurs (shadow=0,8,24,#1e56e6/0.1, inner-shadow, blur, bg-blur).

    1:1 FRAME "bar" shadow=0,8,24,#1e56e6/0.1 H gap=20 pad=0,0,0,0 align=space-between/center size=fixed/hug
    
  • inspect --compare-variant pairs a child with its counterpart when it is the only child of that name and type on both sides (pairedNodes, with per-pair changes), and names bound variables (variableId, variableName), including library variables from their cached copies. Duplicate or renamed layers stay unpaired, as before.

  • variables --format dtcg exports a library collection that variables <file> <node> lists, from the copies cached in the file, marked $extensions.org.figlens.libraryCopy: true. These are the values saved with this file and may lag the published library. usages also names a library variable resource; existing indexes pick this up when rebuilt.

  • MCP workflow has a search topic for search and index guidance, so workflow(topic=audit) drops from about 34 KB to 11 KB and build from about 50 KB to 27 KB.

Verification

Each change has unit tests; the full Rust, npm and docs checks passed on the merged main. None of these changes was checked against a private design in this release.

Update

Script installs: figlens update. Homebrew: brew upgrade figlens. For agent-host installations, update @runkids/figlens through your host and restart it so its tools and skill match the binary.

Full changelog