Fixed
- Windows PowerShell
lean-ctx -cquoting bug — Dynamic aliases (npm, pnpm, etc.) failed on PowerShell 5 withObjectNotFounderror because@argsinside double-quoted strings was splatted instead of treated literally. Fixed by extracting the script block body into a variable with backtick-escaped@args. commit→cmtstring mangling — The terse compression dictionary replaced "commit" inside compound words (pre-commit), quoted strings, and colon-delimited contexts. Fixedreplace_whole_wordto use a proper word-boundary function that treats hyphens, underscores, and quotes as word characters.- Dashboard Live Observatory "0 tokens" display — Non-file tools (e.g.
ctx_search,ctx_shell) showed "Original · 0 tokens" when clicking "Compare". Now shows a token savings summary bar for non-file operations and reserves the full before/after text comparison for file reads (ctx_read,ctx_multi_read).
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-ctxNote: After upgrading via cargo/npm/brew, run
lean-ctx setupto refresh shell aliases.lean-ctx updatedoes this automatically.
Full Changelog: v3.6.3...v3.6.3