github yvgude/lean-ctx v2.5.1
v2.5.1 — Fix ctx_read cache bypass + Pi install

latest releases: v3.9.10, v3.9.9, v3.9.8...
3 months ago

Fixed

  • ctx_read cache bypass — Added start_line parameter and lines:N-M mode to MCP schema. When an LLM requests specific lines from a cached file, lean-ctx now returns actual content instead of the compact cached Nt NL stub. Fixes issue where LLMs fell back to native Read tools after wasting 3-5 minutes (#17)
  • pi install registry resolution — Fixed lean-ctx init --agent pi to use npm:pi-lean-ctx prefix 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, or lines:N-M mode 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 setup

Full changelog: https://github.com/yvgude/lean-ctx/blob/main/CHANGELOG.md

Full Changelog: v2.5.0...v2.5.1

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.