Fixed
ctx_readcache bypass — Addedstart_lineparameter andlines:N-Mmode to MCP schema. When an LLM requests specific lines from a cached file, lean-ctx now returns actual content instead of the compactcached Nt NLstub. Fixes issue where LLMs fell back to native Read tools after wasting 3-5 minutes (#17)pi installregistry resolution — Fixedlean-ctx init --agent pito usenpm:pi-lean-ctxprefix so Pi resolves the package from npm registry instead of treating it as a local path- Improved MCP instructions — System prompt now explicitly guides LLMs to use
fresh=true,start_line, orlines:N-Mmode when they encounter a cache stub, preventing fallback to native tools
Install / Update
# Update existing install
lean-ctx update
# Or install fresh
curl -fsSL https://leanctx.com/install.sh | sh
lean-ctx setupFull changelog: https://github.com/yvgude/lean-ctx/blob/main/CHANGELOG.md
Full Changelog: v2.5.0...v2.5.1