Build bapX Agents from source
These instructions build a development copy. See the release notes for public package availability and the verified web deployment history.
You need macOS on Apple Silicon, Git, Node.js 22.19+, pnpm 10.34.9, Bun 1.4.5, Python 3.11+, and Xcode Command Line Tools.
Run these from this folder:
pnpm install --frozen-lockfile
pnpm exec turbo run build typecheck --filter=@cloudroom/app --filter=@cloudroom/server --filter=@cloudroom/desktop --concurrency=2
SQLite, file watching, and terminals use native modules, so their install scripts must run: pnpm-workspace.yaml lists the allowed ones. If your pnpm version differs, use npx --yes pnpm@10.34.9.
Run in dev mode
Start the backend and browser UI, then Electron in a second terminal:
pnpm dev
pnpm exec turbo run dev --filter=@cloudroom/desktop
Dev mode uses its own ports and profile. Local agents need their own installed, signed-in CLIs. For remote sessions on your own machine, see connect the desktop app.
Checks
Use the Agency project index to locate a guide, route, or workspace package. Follow its source pointer and use the architecture map for build and deployment wiring.
pnpm exec turbo run test --filter=@cloudroom/scripts --filter=@cloudroom/config --concurrency=2
Desktop integration tests open real apps, so run them only in a test environment. The sync and preview helpers in apps/server/src/assets/ are copies from the core, so change them there.
See desktop packaging for installer builds and signing.