Video as code: canvas scenes rendered with WebCodecs in headless Chrome, a review viewer, and agent skills that build the video from your references.
Record the npm install with nvm for Windows and setup over linked skills
StaryOne5e513ab8b985
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f870d6f..6635179 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -14,7 +14,7 @@ Changes are listed by release, newest first. The sections dated before 0.1.0 rec- From an npm install, `motlab update` asks npm for the newest version and prints the commands that get it (`npm install -g @motlab/cli@latest`, then `motlab setup --update`), and `motlab uninstall` says to finish with `npm uninstall -g @motlab/cli`. A clone works as before.- The README installs with npm first; the clone and `install.js` are under "From a clone instead".-Tried on Windows 11: the packed tarball installed with `npm install -g --prefix` into a separate folder, with a separate home folder. `motlab setup --skill claude,agents`, `setup --update --dry-run`, `update`, `uninstall --yes`, and `motlab render` of a copy of the example at `--scale 0.5` (9 s, 3 scenes, in 11 s). After the publish, the same from the registry: `npm install -g @motlab/cli` into a separate folder (the same shasum as the packed tarball), `update` (up to date), `setup --dry-run` and the render. npm held the first publish for about a minute and a half as a staged release, showing a placeholder `0.0.0-stage`, before 0.2.0 became `latest`. Not tried: macOS and Linux, and nvm for Windows as the global folder.+Tried on Windows 11: the packed tarball installed with `npm install -g --prefix` into a separate folder, with a separate home folder. `motlab setup --skill claude,agents`, `setup --update --dry-run`, `update`, `uninstall --yes`, and `motlab render` of a copy of the example at `--scale 0.5` (9 s, 3 scenes, in 11 s). After the publish, the same from the registry: `npm install -g @motlab/cli` into a separate folder (the same shasum as the packed tarball), `update` (up to date), `setup --dry-run` and the render. npm held the first publish for about a minute and a half as a staged release, showing a placeholder `0.0.0-stage`, before 0.2.0 became `latest`. A global install with nvm for Windows 2.0 (shim mode) put the command in `installs24.20.0`, which is not on PATH, so `motlab` still ran the clone's launcher; the docs send such machines to the clone. Over skills linked to a clone, `motlab setup` removed the links (the clone's files untouched) and copied the skills, and `node install.js --skills-only --link` linked them back. Not tried: macOS and Linux.## 0.1.0 (2026-11-16)diff --git a/ROADMAP.md b/ROADMAP.mdindex 85bbcec..d42454f 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -16,7 +16,7 @@ What is not built, what has not been tested, and ideas that came up while using## Not tested yet- The benchmark against Remotion and HyperFrames on macOS and Linux, with their own downloaded browsers, and on scenes heavy on text, images or footage. It was one scene on Windows, at 1080p and 4K.-- The npm package on macOS and Linux, and with nvm for Windows, where npm's global folder may not be on PATH. On Windows it was installed from the registry into a separate folder.+- The npm package on macOS and Linux. On Windows it was installed from the registry, and with nvm for Windows 2.0 its command is not on PATH (docs/install.md).- macOS, and Linux beyond the tests, including `motlab update` there. On Linux, CI renders the end-to-end tests on an Ubuntu runner; no real video has been made there. On macOS the Chrome paths and the Metal flag are in the code, but nothing has run.- Renders longer than 10 minutes, and a 10-minute render on a machine that is doing nothing else.- A machine without a GPU beyond the tests. CI runs the end-to-end tests on Linux and Windows runners without a GPU, and the benchmark ran with Chrome drawing on SwiftShader on the test laptop (1080p and 4K, in `docs/rendering.md`), but no real video has been rendered on such a machine, and no 3D (WebGL) scene.diff --git a/docs/install.md b/docs/install.mdindex eee7c06..04ec1e3 100644--- a/docs/install.md+++ b/docs/install.md@@ -36,9 +36,9 @@ motlab setupnpm installs the engine and its one dependency and makes the `motlab` command. `motlab setup` copies both skills to an agent skill folder (Claude Code by default) and runs `motlab doctor`. It takes the skill options of the installer below: `--skill`, `--skill-dir`, `--link`, `--update`, `--force` and `--dry-run`, so `motlab setup --skill claude,agents` puts the skills in two places. The engine folder is inside npm's global folder; `motlab --help` prints it, and the example project is in it.-The command only works if npm's global folder is on PATH. `npm prefix -g` prints that folder (on Windows the command goes in it, elsewhere in its `bin`). With the Node installer from nodejs.org or Homebrew it is on PATH already. With nvm for Windows it may not be; then use the clone below, whose installer writes its own launcher.+The command only works if npm's global folder is on PATH. `npm prefix -g` prints that folder (on Windows the command goes in it, elsewhere in its `bin`). With the Node installer from nodejs.org or Homebrew it is on PATH already. With nvm for Windows 2.0 in its default shim mode it is not: npm puts the command in the Node version's own folder, and nvm makes no shim for it, so `motlab` is not found. Use the clone below there, whose installer writes its own launcher.-This was tested on Windows 11, from the registry and from a packed tarball, each installed into a separate npm folder: `setup`, `update`, `uninstall` and a render of the example. It has not been tried on macOS or Linux, or as the global folder of nvm for Windows.+This was tested on Windows 11, from the registry and from a packed tarball, each installed into a separate npm folder: `setup`, `update`, `uninstall` and a render of the example. It was also installed globally with nvm for Windows 2.0, where the command was not on PATH (above). It has not been tried on macOS or Linux.## With the installer