Fixed
- Gemini CLI hook schema — Fixed "Discarding invalid hook definition for BeforeTool" error. Hook definitions now include the required
"type": "command"field and nested"hooks"array structure expected by the Gemini CLI validator. Existing configs without"type"are automatically migrated. (#63) - Remote dashboard auth — Fixed dashboard returning
{"error":"unauthorized"}when accessed remotely via browser. Auth is now only enforced on/api/*endpoints. HTML pages load freely, with the bearer token automatically injected into API calls. Browser URL with?token=query parameter is printed on startup for easy remote access. (#64)
Upgrade
cargo install lean-ctx # or
npm update -g lean-ctx-bin # or
brew upgrade lean-ctxFull Changelog: v2.19.2...v2.19.2