DiffContext v0.1.0
DiffContext v0.1.0
Initial public release of DiffContext, a static-analysis-based context compiler for LLM-assisted software engineering.
Features
- AST-based function extraction
- Repository state tracking
- Function-level diff detection
- Dependency graph generation
- Blast radius analysis
- Impact scoring
- Dependency expansion
- Context compilation
Pipeline
Repository
↓
AST Extraction
↓
State Tracking
↓
Diff Detection
↓
Dependency Graph
↓
Blast Radius Analysis
↓
Impact Scoring
↓
Dependency Expansion
↓
Context Builder
↓
Compiled Context
↓
LLM
Purpose
DiffContext transforms code changes into targeted LLM-ready context by identifying:
- What changed
- What depends on it
- What is affected
- What code should be included for reasoning
Current Scope
Implemented:
- Single-file Python repository analysis
- Function-level dependency tracking
- Blast radius propagation
- Context generation for changed code
Future Work
- Multi-file repository support
- Import resolution
- Class dependency analysis
- Context ranking improvements
- Repository-scale benchmarking