Prerequisites
- mise — manages tooling (Bun, lefthook) via
mise.toml
Setup
Scripts
| Command | Description |
|---|---|
bun dev | Run facet from source (e.g. bun dev build ./my-facet) |
bun check | Lint + typecheck + build + test (run this before submitting a PR) |
bun run lint | Biome lint only |
bun run format | Biome auto-fix and format |
bun run test | Run tests |
bun run types | Typecheck only |
bun run build | Build only |
Pull requests
- Keep PRs focused on a single change.
- Run
bun checkbefore submitting — CI runs the same command. - Add a changeset for any user-facing changes (see below).
Changesets
Before submitting a PR that changes published packages, run:.md file with your PR.
A good changeset describes:
- What the change is
- Why the change was made
- How a consumer should update their code (if applicable)
Platform packages
agent-facets is distributed as per-platform npm packages under @agent-facets/cli-*. When adding new platform targets, a maintainer will run bun seed to claim package names on npm, then follow the publishing guide to configure authentication for CircleCI.