Thanks for wanting to contribute to Konteks.
Install dependencies:
bun installRun the CLI from source:
bun run devBuild the distributable CLI:
bun run buildRun the full check:
bun run checkUse focused checks while working:
bun run lint
bun run testbun run lint runs formatting, unused-code checks, and TypeScript type checks. If formatting changes are needed, let the script write them and include those changes.
Update docs when you change user-facing CLI behavior, MCP behavior, setup steps, storage behavior, or terminology.
Useful docs entrypoints:
README.mddocs/README.mddocs/api/cli.mddocs/api/mcp.md
Before submitting:
- Explain what changed and why.
- Mention any user-facing behavior changes.
- Include tests for behavior changes.
- Confirm
bun run checkpasses.