github yvgude/lean-ctx v2.17.2
v2.17.2 — Cross-Platform Hook Fix

latest releases: v3.9.1, v3.9.0, v3.8.18...
3 months ago

Fix: Cross-Platform Hook Handlers (#49)

Fixed

  • Windows: PreToolUse hook errors — Agent hooks (Claude Code, Cursor, Gemini) no longer require Bash. Hook logic is now implemented natively in the lean-ctx binary via lean-ctx hook rewrite and lean-ctx hook redirect
  • "Stuck in file reading" — Fixed hook redirect loop where denied Read/Grep tools caused repeated retries when the MCP server wasn't properly connected
  • Hook auto-migration — Existing .sh-based hook configs are automatically upgraded to native binary commands on next MCP server start

Upgrade

cargo install lean-ctx          # or
npm update -g lean-ctx-bin      # or
brew upgrade lean-ctx

After upgrading, run lean-ctx setup to migrate hooks to native mode, or restart your AI tool to trigger auto-migration.

Full Changelog: v2.17.1...v2.17.2

Full Changelog: v2.17.1...v2.17.2

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.