Fixed
- Cursor hooks.json format — Fixed invalid hooks.json that caused "Config version must be a number; Config hooks must be an object" error in Cursor. Now generates correct format with
"version": 1and hooks as an object withpreToolUsekey instead of array. Existing broken configs are automatically migrated on nextlean-ctx install cursoror MCP server start. - cargo publish workflow — Added
--allow-dirtyto release pipeline to prevent publish failures from checkout artifacts
Upgrade
cargo install lean-ctx # or
npm update -g lean-ctx-bin # or
brew upgrade lean-ctxFull Changelog: v2.19.1...v2.19.1