v2.14.4 — Fix LEAN_CTX_DISABLED shell hook bypass
Fixed
- LEAN_CTX_DISABLED kill-switch now works end-to-end — The shell hook (bash/zsh/fish/powershell) previously ignored
LEAN_CTX_DISABLEDentirely. Setting it to1bypassed compression in the Rust code but the shell aliases were still loaded, spawning alean-ctxprocess for every command. Now:_lc()short-circuits tocommand "$@"(zero overhead), auto-start guard skips alias creation, andlean-ctx -cdoes immediate passthrough. Closes #42. lean-ctx-statusshows DISABLED state when the kill-switch is active.- Help text documents both env vars —
LEAN_CTX_DISABLED=1(full kill-switch) andLEAN_CTX_ENABLED=0(prevent auto-start).
Upgrade
cargo install lean-ctx
# or: brew upgrade lean-ctx
# or: curl -fsSL https://leanctx.com/install.sh | sh
# IMPORTANT: Reinstall shell hook to get the fix
lean-ctx init --globalFull Changelog: v2.14.3...v2.14.4