Development
Local repo setup, tests, harness commands, and integration environment.
Repo setup
Section titled “Repo setup”bun installbun run buildbun run typecheckbun run testHarness
Section titled “Harness”bun run testharness --bun run testharness -- --integrationbun run testharness -- --allbun run testharness -- --typecheckCloudflare integration environment
Section titled “Cloudflare integration environment”CF_ACCOUNT_IDCF_API_TOKENCF_ARTIFACTS_NAMESPACECF_ARTIFACTS_REPOCF_ARTIFACTS_BRANCH optional, default mainRoot scripts
Section titled “Root scripts”{ "build": "build all packages and harness", "typecheck": "build/typecheck packages and harness", "test": "run package test suites", "testharness": "run harness package"}Runtime and dependencies
Section titled “Runtime and dependencies”- TypeScript strict ESM packages.
- Bun is the package manager and test runner.
- Core runtime dependencies are
diffandnanoid. - Local, GitHub, and Cloudflare adapters shell out to
git. - The current core uses Node APIs, including
EventEmitterand a filesystem-backed session store.