Releases: cognitx-leyton/codegraph
Releases · cognitx-leyton/codegraph
v0.2.0 — first public release
First public release of cognitx-codegraph on PyPI.
pip install cognitx-codegraphPyPI: https://pypi.org/project/cognitx-codegraph/0.2.0/
Highlights
- TypeScript/TSX frontend — tree-sitter walker with framework detection for NestJS (controllers, injectables, modules, providers), React (components, hooks), TypeORM entities, and GraphQL operations.
- Python frontend (Stage 1) — classes, functions, methods, imports, decorators indexed via
tree-sitter-python. - Neo4j loader — batch writer with constraints and a language-agnostic node/edge schema.
- Cross-file import resolution for both TS and Python.
- CLI (
codegraph):index,query,validate,wipe,repl,arch-check,init. - One-command onboarding —
codegraph initwires any repo for indexing in a single pass. - MCP stdio server (
codegraph-mcp) with 10 read-only tools. Optional viapip install "cognitx-codegraph[mcp]". - Architecture-conformance CI —
codegraph arch-checkships three built-in policies (import cycles, cross-package imports, layer violations) with a ready-to-use GitHub Actions workflow. - Agent-native —
--jsonoutput on every command, REPL for interactive Cypher, slash commands (/graph,/blast-radius,/dead-code,/trace-endpoint,/who-owns,/arch-check) for Claude Code.
Install extras
pip install "cognitx-codegraph[python]" # Python frontend
pip install "cognitx-codegraph[mcp]" # MCP server
pip install "cognitx-codegraph[python,mcp]"