Contributing¶
Thanks for your interest in contributing to campy. Please read the documents at the root of the repo before opening a pull request.
Guidelines¶
- CONTRIBUTING.md — how to set up the project, coding conventions, and the pull request process
- CODE_OF_CONDUCT.md — expected behavior in the community
Development setup¶
Run the tests:
Typecheck:
Run the CLI directly:
Project structure¶
See Architecture for how the codebase is organized. The short version: make changes in core/ and the adapters pick them up automatically through re-export shims.
Adding a pet¶
- Define a
PetAnimationsobject incore/pets/<name>.ts - Register it in
PET_ANIMATIONSincore/pets/index.ts - Add entries to
PET_ICONSandPET_COLORSincore/theme.ts - Add
PET_GREETINGSandPET_PERSONALITYentries incore/personality.ts - All frames must be padded to
HL(8) rows usingpad()fromcore/frame-utils.ts
Reporting issues¶
Open an issue on GitHub. Include your OS, bun version, and which agent you're using.