Expand description
Code Graph Extraction — extract code dependencies from source files
Multi-language support with tree-sitter AST parsing for Python, Rust, and TypeScript. Builds a code structure graph:
- Nodes: files, classes/structs/traits, functions/methods
- Edges: imports, calls, inherits, defined_in
Rust extraction handles: structs, enums, traits, impl blocks (with method-type association), functions, modules, type aliases, const/static items, and macros.
TypeScript/JavaScript extraction handles: classes, interfaces, functions, arrow functions, enums, type aliases, namespaces, and export statements.
Structs§
- Causal
Chain - A causal chain from symptom to potential root cause
- Chain
Node - Code
Edge - An edge in the code graph.
- Code
Graph - A code dependency graph extracted from source files.
- Code
Node - A node in the code graph (file, class, function).
- Impact
Report - Result of impact analysis — what’s affected by a change
- Unified
Edge - An edge in the unified graph
- Unified
Graph Result - Result of build_unified_graph — a simplified graph structure for task planning
- Unified
Node - A node in the unified graph
Enums§
- Edge
Relation - Edge relationship type.
- Language
- Node
Kind - Kind of code node.