diffctx
Smart git diff context for LLMs. Name-reservation stub on crates.io.
The working implementation currently ships as the Python package
treemapper. A native Rust library
release is tracked at https://github.com/nikolay-e/diffctx.
What it does (eventually)
diffctx selects the minimum set of code fragments needed for an LLM to
understand a git change. Personalized PageRank over a code dependency
graph, seeded from changed lines, plus lazy-greedy fragment selection
under a token budget.
Status
- 0.x — name reservation. Public API is intentionally tiny.
- 1.x (planned) — full library API.