v2.14.3 -- Raw Mode, Tee, Truncation Warnings, ANSI Strip, Privacy
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, orlean-ctx-raw <cmd>shell function - Full Output Tee --
tee_modeconfig (always/failures/never) saves uncompressed output to~/.lean-ctx/tee/. View withlean-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_urlsconfig option: curl commands targeting listed URLs skip JSON compression - User TOML Filters -- Define custom compression rules in
~/.lean-ctx/filters/*.tomlwith 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