Code
How colbymchenry/codegraph is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Likely public API
- Likely start-up file
- Likely start-up file
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd Support for a New Programming Language
- Register the extractor in the extraction pipeline index to route files with that language's extension to your extractor.
- Add Tree-sitter grammar configuration for the new language in grammars.ts.
Add a New MCP Query Type for Agents
- Define a new query handler function in src/mcp/engine.ts that accepts query parameters and returns formatted code context.
- Implement query parsing logic in src/search/query-parser.ts to validate and normalize the new query type.
- Add result formatting rules in src/context/formatter.ts to shape the output for agent consumption.
- Wire the handler into the MCP daemon's message dispatcher to expose the query to connected agents.
Add a New UI Dashboard Endpoint
- Register the route in the API router to expose it at a specific HTTP path.
- Add supporting query logic in src/graph/queries.ts if additional graph traversal is needed.
Support a New IDE/Agent Integration
- Register the new target in the installer index to include it in CLI installation options.
Change the public API
Trace runtime behavior
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.
- Some entry points named in the manifest are build output or are missing from the file list, so their source is not shown.
- The file list is newer than the written guide, so descriptions and suggested changes may describe older code.