openpencil/packages/core/src
Danila Poyarkov 1975fae36e Add @open-pencil/cli with headless .fig file operations
Commands:
- open-pencil info <file> — document stats, node types, fonts
- open-pencil tree <file> — visual node tree with agentfmt
- open-pencil find <file> — search by name/type with rich output
- open-pencil export <file> — render to PNG/JPG/WEBP at any scale

Uses canvaskit-wasm/full for headless CPU rasterization.
All commands support --json for machine-readable output.
agentfmt provides consistent colored terminal formatting.
2026-03-01 01:19:24 +03:00
..
kiwi Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
canvaskit.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
clipboard.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
color.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
constants.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
fig-export.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
fonts.ts Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
global.d.ts Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
index.ts Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
layout.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
render-image.ts Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
renderer.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
scene-graph.ts Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
snap.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
types.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
undo.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
vector.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00