We welcome contributions! Whether it's a bug fix, new trace connector, or documentation improvement, we appreciate your help.
git clone https://github.com/converra/agent-triage
cd agent-triage
npm install
npm run build
npm test| Command | Description |
|---|---|
npm run build |
Compile TypeScript to dist/ |
npm run dev -- <command> |
Run CLI from source (e.g., npm run dev -- demo) |
npm test |
Run all tests |
npm run test:watch |
Run tests in watch mode |
npm run lint |
Type-check without emitting |
The easiest way to contribute is by adding support for a new trace source. Every connector implements the same contract:
- Read traces from a source (file, API, etc.)
- Return an array of
NormalizedConversationobjects
See src/ingestion/types.ts for the NormalizedConversation interface, and the existing connectors in src/ingestion/ for reference.
- Keep PRs focused — one feature or fix per PR
- Add tests for new functionality
- Run
npm testandnpm run lintbefore submitting - Use conventional commits for commit messages (e.g.,
feat:,fix:,test:,docs:) - Update documentation if your change affects the public API or CLI
Open an issue with:
- What you expected to happen
- What actually happened
- Steps to reproduce
- Node.js version and OS
- TypeScript strict mode
- ESM modules (
.jsextensions in imports) - Early returns over nested conditionals
- Small, focused functions
By contributing, you agree that your contributions will be licensed under the project's MIT license.