What's New
Incremental Parsing
- Smart change detection: Only reparses files that actually changed (using mtime, size, and content hash)
- Cross-file edge preservation: Edges between files are saved before deletion and restored after reparsing
- Deterministic node IDs: Nodes get the same ID across reparses, enabling reliable edge reconnection
- Existing node loading: Parser can create edges to nodes in unchanged files
New Features
clearExisting: false mode for incremental updates
- File tracking properties (mtime, size, contentHash) on SourceFile nodes
- Debug logging via
debugLog() utility
Bug Fixes
- Fixed missing
await on recursive parseChildNodes() that caused methods to not be added to graph
npm
npm install -g code-graph-context