Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Architecture

- **Core Package**: `code_review_graph/` (Python 3.10+)
- `parser.py` — Tree-sitter multi-language AST parser (18 languages including Vue SFC, Solidity, Dart, R, Perl)
- `parser.py` — Tree-sitter multi-language AST parser (19 languages including Vue SFC, Solidity, Dart, R, Perl, Lua)
- `graph.py` — SQLite-backed graph store (nodes, edges, BFS impact analysis)
- `tools.py` — 22 MCP tool implementations
- `main.py` — FastMCP server entry point (stdio transport), registers 22 tools + 5 prompts
Expand Down Expand Up @@ -81,7 +81,7 @@ uv run code-review-graph eval # Run evaluation benchmarks
- `tests/test_tools.py` — MCP tool integration tests
- `tests/test_visualization.py` — Export, HTML generation, C++ resolution
- `tests/test_incremental.py` — Build, update, migration, git ops
- `tests/test_multilang.py` — 18 language parsing tests (including Vue, Solidity, Dart, R, Perl)
- `tests/test_multilang.py` — 19 language parsing tests (including Vue, Solidity, Dart, R, Perl, Lua)
- `tests/test_embeddings.py` — Vector encode/decode, similarity, store
- `tests/test_flows.py` — Execution flow detection and criticality
- `tests/test_communities.py` — Community detection, architecture overview
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ On every git commit or file save, a hook fires. The graph diffs changed files, f
</details>

<details>
<summary><strong>18 supported languages</strong></summary>
<summary><strong>19 supported languages</strong></summary>
<br>

Python, TypeScript/TSX, JavaScript, Vue, Go, Rust, Java, Scala, C#, Ruby, Kotlin, Swift, PHP, Solidity, C/C++, Dart, R, Perl
Python, TypeScript/TSX, JavaScript, Vue, Go, Rust, Java, Scala, C#, Ruby, Kotlin, Swift, PHP, Solidity, C/C++, Dart, R, Perl, Lua

Each language has full Tree-sitter grammar support for functions, classes, imports, call sites, inheritance, and test detection.

Expand Down Expand Up @@ -256,7 +256,7 @@ Claude uses these automatically once the graph is built.
| Feature | Details |
|---------|---------|
| **Incremental updates** | Re-parses only changed files. Subsequent updates complete in under 2 seconds. |
| **18 languages** | Python, TypeScript/TSX, JavaScript, Vue, Go, Rust, Java, Scala, C#, Ruby, Kotlin, Swift, PHP, Solidity, C/C++, Dart, R, Perl |
| **19 languages** | Python, TypeScript/TSX, JavaScript, Vue, Go, Rust, Java, Scala, C#, Ruby, Kotlin, Swift, PHP, Solidity, C/C++, Dart, R, Perl, Lua |
| **Blast-radius analysis** | Shows exactly which functions, classes, and files are affected by any change |
| **Auto-update hooks** | Graph updates on every file edit and git commit without manual intervention |
| **Semantic search** | Optional vector embeddings via sentence-transformers, Google Gemini, or MiniMax |
Expand Down
Loading