Highlights
check catches files the page can't use. It reads the start of every image and sound file in the game's folder and fails, naming each, on one that's empty or doesn't start like a type the page takes, like a Git LFS pointer saved as logo.png. It takes what Chrome reads under any name, including RF64 and BW64 WAVs, and an MP3 or AAC whose first frame comes after zero bytes.
run --port and --host. run serves its page at a port you name, or on another address of the machine, like 0.0.0.0 for the host of a Docker container, and warns when other machines can reach it.
- Errors in ThreeJam's words. A misspelled command, a bad value for a global flag, and an MCP call whose arguments don't fit the tool's schema fail as
USAGE, with one line that says what to do. A game, view, or driver that links outside its folder fails with BUILD_ERROR.
- Nothing holds a command for good. Each bundle of a game has a time limit, the longer of 30 s and
--timeout, so a file it reads that never ends, like a FIFO, fails it, and run stops even while a rebuild waits on one.
Breaking changes
ctx.play takes a pitch from 1/16 to 16, four octaves down to four up, and any other pitch is an error at the call, in sim, check, and the page alike. Before, a pitch far outside that range passed sim and check, but stopped the game in the browser.
Also
mcp add registers the server with the Node that ran it, by its absolute path.
- A sound file the page can't load or decode no longer silences the game's other sound files.
run quits on an Esc that comes during a reload and exits when it stops on Node 22 and 24, and when something stops run --record while its page is sending part of the playtest, run waits up to a second for that part.
shot works when DISPLAY names a display that's gone, says how Chrome ended when it exits as soon as it starts, and kills a crashed Chrome's helpers instead of waiting for them.
- An MCP server answers nothing once a stop signal or its exit has stopped its shots. esbuild's service ends with the command that started it, and
check's type check leaves no folder behind, even when killed with SIGKILL.
check works with a relative TMPDIR, --help names number flags <number>, and running out of memory with --every says that the snapshots it keeps count toward it.
Full changes: #33 through #57, in the changelog.