Skip to content

v1.9.0 — Context Intelligence Engine

Choose a tag to compare

@yvgude yvgude released this 25 Mar 13:09

Context Intelligence Engine

This release transforms lean-ctx from a compression tool into a Context Intelligence Engine — 9 new MCP tools, 15 new shell patterns, AI tool hooks, and intent detection.

Highlights

  • 19 MCP tools (was 10): ctx_smart_read, ctx_delta, ctx_dedup, ctx_fill, ctx_intent, ctx_response, ctx_context, ctx_graph, ctx_discover
  • 90+ shell patterns (was 75): AWS, PostgreSQL, MySQL, Prisma, Helm, Bun, Deno, Swift, Zig, CMake, Ansible, Composer, Mix, Bazel, systemd
  • AI tool hooks: lean-ctx init --agent <claude|cursor|gemini|codex|windsurf|cline>
  • Myers diff: Accurate line-change detection using the similar crate
  • Language-aware aggressive compression: Python, SQL, Shell, HTML comment handling

Bug Fixes

  • UTF-8 panic in grep.rs (#4): String truncation now uses char-based slicing instead of byte-based, preventing panics on multi-byte characters

Install / Upgrade

cargo install lean-ctx           # crates.io
brew upgrade lean-ctx             # Homebrew
yay -S lean-ctx                   # AUR (source)
yay -S lean-ctx-bin               # AUR (binary)

Full changelog: CHANGELOG.md

Full Changelog: v1.8.2...v1.9.0