Repository navigation
v2.0.0
Everything in Rust; Python leaves the plugin (2026-11-13).
- The drawing kit is the Rust crate in the skill's
kit/(librarybeanfxplus thebeanfxbinary). The Python
modules keep their short names as Rust modules (fl,fk,lt,pfx,cs,tg,rig,rf,dv,fc,
ex,sfx),imgreplaces PIL andnpandrnggive the numpy behaviour the drafts relied on, bit for bit
on macOS arm64. Keyword arguments became options structs withDefault. - A draft is now a small Cargo crate:
drafts/<name>/Cargo.toml,src/main.rsand its pinnedkit/, run with
cargo run --release -q. Drafts share one build folder in.beanfx/target, so the kit builds once per project. setup.shno longer makes.venv; it builds the binary into.beanfx/bin/beanfx(with a.gitignorein
.beanfx/) and--draft <name>scaffolds a draft crate that runs as written.--kit-statusand
--refresh-kitwork as before.- The brief gate is
beanfx gate, with the same JSON. Jev stays optional and is the only part that runs Python. - Tests are
cargo test(the Python tests became Rust tests), and CI runs them undercargo llvm-covwith an
85 percent line floor, checks the example draft and runs the runtime test.pyproject.tomlis gone. - The old Python example drafts are removed (they stay in the git history);
drafts/hoa_cong_v2is the one
example, now in Rust. - Breaking: Python drafts made with 1.x no longer run with this setup. Keep them on a 1.x install, or redraw them
as Rust drafts (setup.sh --draft <name>; the module names above map one to one, andkit/API.mdlists the
conventions). - Known differences from the Python kit: gifs with more than 256 colours quantise differently from Pillow, and the
contact and takes label rows use a bitmap font.