Patchpit is a shell for sandboxed HTML apps, sharing an automerge-backed filesystem.
Prerequisites: Node >=24.12.0, pnpm@10.33.2, and Chromium for the browser
compat harness.
pnpm install
pnpm dev
pnpm typecheck
pnpm test
pnpm lint
pnpm test:browser
pnpm test:browser -- --case=fetch-relative-jsonSet PLAYWRIGHT_CHROMIUM_EXECUTABLE=/path/to/chromium if Chromium is not at
/usr/bin/chromium.
Validation scripts are root-owned. Package-filter commands are not wired as package-local workflows yet.
Workspace package source is exported as TypeScript. Direct Node imports need the repo loader:
node --import ./scripts/register-ts-loader.mjs your-script.mjs