CLI
npx byo <command> (in this repo: node packages/cli/src/main.ts)
| command | what it does |
|---|---|
sim --game D --frames N [--input F] [--seed S] [--assert EXPR] |
headless run; prints digest, completions, log() lines, assert result |
screenshot --game D --frames N [--input F] [-o PATH] |
render the frame after N frames |
strip / preview --input F |
contact sheets / title card + trailer clips from a replay |
verify replays/x.rpl --game D |
re-simulate a replay: its goal must complete and the game must be snapshot-clean |
check --game D |
budget gate: tokens, assets, palette, manifest |
bundle --game D [--out F] |
write the .byo |
run --game D [--port N] |
dev server: play in the browser, game re-read per reload |
runtime [--out DIR] |
build the static browser runtime (runtime.js + glue.wasm) |
bench --game D |
frame-time regression harness |
sprite render [names…] [--zoom N] / sprite bake |
the look loop / bake .spr files |
palette |
render the palette swatch |
The venue's API mirrors the core loop (sim, screenshot, verify,
submit) over HTTP — see the agent guide.