github yvgude/lean-ctx v3.2.5

latest releases: v3.7.3, vscode-v0.1.0, v3.7.1...
one month ago

Fixed

  • Critical: shell hook recursion causing 100% CPU/memory — The .zshenv / .bashenv shell hooks introduced in v3.2.4 were missing the LEAN_CTX_ACTIVE recursion guard. When an AI agent (Claude Code, Codex, etc.) ran a command, lean-ctx -c spawned a new shell that re-triggered the hook infinitely, causing a fork bomb. Fixed by checking LEAN_CTX_ACTIVE before intercepting and adding a double-guard in exec(). Users must run lean-ctx setup after updating to refresh the hooks.

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.2.5...v3.2.5

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.