github yvgude/lean-ctx v2.14.3
v2.14.3 -- Raw Mode, Tee, Truncation Warnings, ANSI Strip, Privacy

latest releases: v3.9.5, v3.9.4, v3.9.3...
3 months ago

What's New

Raw Mode & Full Output Recovery

  • Raw Mode -- Skip compression entirely: ctx_shell(command, raw=true) in MCP, lean-ctx -c --raw <cmd> on CLI, or lean-ctx-raw <cmd> shell function
  • Full Output Tee -- tee_mode config (always/failures/never) saves uncompressed output to ~/.lean-ctx/tee/. View with lean-ctx tee last

Transparency & Trust

  • Truncation Warnings -- Compressed output now shows [truncated: showing N/M lines, X omitted. Use raw=true for full output.] -- no more silent data loss
  • ANSI Auto-Strip -- Escape sequences are stripped before compression, saving ~57% wasted tokens on invisible formatting codes

Power User Controls

  • LEAN_CTX_DISABLED=1 -- Master kill-switch: bypasses all compression in shell hook and MCP server
  • Passthrough URLs -- passthrough_urls config option: curl commands targeting listed URLs skip JSON compression
  • User TOML Filters -- Define custom compression rules in ~/.lean-ctx/filters/*.toml with regex patterns

More Integrations

  • New agents: opencode, aider, amp (total: 22 supported tools)
  • Codex CLI gets PreToolUse hook scripts alongside AGENTS.md
  • Discover now shows formatted table with per-command token/USD estimates

Privacy First

  • Zero telemetry, zero network requests, zero PII exposure -- now explicitly highlighted in README and comparison table

Install: cargo install lean-ctx | brew install yvgude/tap/lean-ctx | npm i -g lean-ctx-bin
Docs: https://leanctx.com | Discord: https://discord.gg/pTHkG9Hew9

Full Changelog: v2.14.2...v2.14.3

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.