Skip to content

Contributing

The full guide is CONTRIBUTING.md in the repository. The short version:

Terminal window
bun install
bun run check # typecheck, format check, tests, build

bun run check is exactly what CI runs.

  • Tests come with it. Every behaviour in src/ has a test in tests/, scripted with fakeModel.
  • Prompt changes are tested as prompts. Assert on what the conductor and worker actually read.
  • Token cost is part of the diff. Say what a new prompt line costs and why it is worth it.
  • No new runtime dependencies. A dependency is a download on someone’s phone.

Open against main. CI has to be green. If the change is user-visible, add an entry under ## [Unreleased] in CHANGELOG.md in the same PR.

The docs live in website/ and are built with Starlight. They are not part of the published package or the example app.

Terminal window
cd website
bun install
bun run dev

Every page has an “Edit page” link that opens the source on GitHub.

Report security issues privately, not as a public issue.