github yvgude/lean-ctx v3.6.23

latest releases: v3.9.12, v3.9.11, v3.9.10...
one month ago

Fixed

  • lean-ctx update creates .zshenv on systems without zsh (#309): install_all_with_style() unconditionally wrote shell hooks for both zsh and bash regardless of whether the shell was installed. Now checks for shell binary existence (/bin/zsh, /usr/bin/zsh, etc.) before installing hooks. Systems with only bash no longer get a spurious .zshenv.
  • lean-ctx config set rejects valid config keys (#308): The config set command only supported ~12 hardcoded keys while the config schema defines 80+. Implemented a generic schema-based setter (config/setter.rs) that validates any key against the ConfigSchema, parses values by type (bool, integer, float, string, enum, string[]), and performs a TOML round-trip with full serde validation. Keys like proxy_enabled, profile, compression_level, memory_profile now work as expected.

Added

  • lean-ctx gain: 30-day USD savings (#307): The dashboard now shows a "past 30 days" line with the estimated dollar savings for the last 30 days, in addition to the all-time total.
  • lean-ctx gain: version in Recent Days header (#307): The "Recent Days" section now displays the current lean-ctx version (e.g. v3.6.23) for easier troubleshooting in screenshots.
  • Generic config set with enum validation: Setting enum keys (e.g. compression_level) now shows allowed values on invalid input instead of a generic error.

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.23...v3.6.23

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.