Thanks for your interest in contributing! Bug reports, fixes, docs, and feature ideas are all welcome.
Requires Node.js >= 20.
git clone https://github.com/MatterAIOrg/OrbCode.git
cd OrbCode
npm install
npm run build
npm link # exposes the global `orbcode` command (optional)Useful scripts:
| command | what it does |
|---|---|
npm run dev |
run the TUI from source via tsx (no build) |
npm run build |
compile src/ → dist/ |
npm run typecheck |
type-check without emitting |
The test scripts run against the compiled output, so build first:
npm run build
node test-device-auth.mjs # device-auth flow against a local HTTP mock
node test-ui.mjs # drives the real TUI with a fake TTYBoth should print all PASS lines and exit 0.
- Fork the repo and create a branch from
main. - Make your change. Match the existing code style (tabs, no semicolons where the surrounding code omits them, strict TypeScript).
- Make sure
npm run typecheckpasses and the test scripts above still pass. - Update README.md if the change is user-visible (new flags, commands, settings keys).
- Open a pull request with a clear description of what changed and why.
Open an issue at https://github.com/MatterAIOrg/OrbCode/issues with:
- the output of
orbcode --versionandnode --version - your OS and terminal
- steps to reproduce, expected vs. actual behavior
For security vulnerabilities, please do not open a public issue — see SECURITY.md.
Releases are cut by maintainers from release/* branches; see
RELEASE.md.
By contributing, you agree that your contributions will be licensed under the MIT License.