figcraft

Scientific figures as code: agents create a versioned figure IR, patch it incrementally (one node at a time — untouched objects never move), and export publication-ready, true-vector SVG / PDF / PPTX. Seven papercanvas_* tools (create, get, patch, layout, lint, render, inspect) over a deterministic engine with FC001-FC008 quality lint and CJK-aware font resolution. Verified on DSH 0.1.5-rc.3 through 0.2.2-alpha.2. By the author of dsh-sessionflow. Requires the PaperCanvas engine installed separately: Python 3.11+ and the papercanvas CLI (not yet on PyPI — install it from this repository, put it on PATH or set papercanvasBin); the plugin is a thin adapter and ships no engine.

Overview

Scientific figures as code: agents create a versioned figure IR, patch it incrementally (one node at a time — untouched objects never move), and export publication-ready, true-vector SVG / PDF / PPTX. Seven papercanvas_* tools (create, get, patch, layout, lint, render, inspect) over a deterministic engine with FC001-FC008 quality lint and CJK-aware font resolution. Verified on DSH 0.1.5-rc.3 through 0.2.2-alpha.2. By the author of dsh-sessionflow. Requires the PaperCanvas engine installed separately: Python 3.11+ and the papercanvas CLI (not yet on PyPI — install it from this repository, put it on PATH or set papercanvasBin); the plugin is a thin adapter and ships no engine.

Installation

Install from GitHub

dsh plugin --profile web add github:HarryHeYu/figcraft

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands