github yvgude/lean-ctx v3.3.7

latest releases: v3.8.2, v3.8.1, v3.8.0...
one month ago

New Features

  • lean-ctx ghost CLI: New command that reveals hidden token waste — shows unoptimized shell commands, redundant reads, and oversized contexts with monthly USD savings estimate. Supports --json for CI integration.
  • ctx_review MCP tool: Automated code review combining impact analysis (ctx_impact), caller tracking (ctx_callers), and test file discovery. Three actions: review (full analysis), diff-review (review changed files from git diff), checklist (structured review questions).
  • Content-Defined Chunking (Rabin-Karp): Opt-in rolling-hash chunking for ctx_read that creates stable chunk boundaries, improving LLM prompt cache hit rates across edits. Enable via content_defined_chunking = true in config.toml.
  • Claude Code Plugin Manifest: .claude-plugin/manifest.json added for future Claude Code plugin marketplace integration.

Improvements

  • Cache-Safety Doctor Check: lean-ctx doctor now verifies that cache_alignment and provider_cache modules are operational (12 checks total).
  • provider_cache module activated: Previously dormant cache provider module is now wired into the diagnostic pipeline.

Upgrade

lean-ctx update                 # recommended (auto-downloads + refreshes shell hooks)
cargo install lean-ctx          # or
npm update -g lean-ctx-bin      # or
brew upgrade lean-ctx

Note: After upgrading via cargo/npm/brew, run lean-ctx setup to refresh shell aliases. lean-ctx update does this automatically.

Full Changelog: v3.3.7...v3.3.7

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.