github yvgude/lean-ctx v3.6.3

latest releases: v3.8.18, v3.8.17, v3.8.16...
one month ago

Fixed

  • Windows PowerShell lean-ctx -c quoting bug — Dynamic aliases (npm, pnpm, etc.) failed on PowerShell 5 with ObjectNotFound error because @args inside double-quoted strings was splatted instead of treated literally. Fixed by extracting the script block body into a variable with backtick-escaped @args.
  • commitcmt string mangling — The terse compression dictionary replaced "commit" inside compound words (pre-commit), quoted strings, and colon-delimited contexts. Fixed replace_whole_word to 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-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.6.3...v3.6.3

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.