Skip to content

v3.4.4

Choose a tag to compare

@github-actions github-actions released this 28 Apr 10:10
· 1025 commits to main since this release

Fixed

  • Observatory File Heatmap blank — the File Heatmap panel in lean-ctx watch stayed empty because historical per-file access data was never loaded on TUI startup. Now pre-populates from the persistent heatmap.json so file activity is visible immediately. Also fixed EventTail offset tracking to prevent event loss during concurrent writes. Fixes #166.
  • Windows agent hook installsdirs::home_dir() does not respect HOME/USERPROFILE overrides on Windows, causing hooks to install into incorrect directories during CI and in some user setups. Introduced a centralized core::home::resolve_home_dir() that checks HOME, USERPROFILE, and HOMEDRIVE+HOMEPATH before falling back to dirs::home_dir(). All 13 agent installers and the hook manager now use this resolver.
  • Windows claude mcp add-json invocation.cmd shims cannot be executed directly via CreateProcess; now routes through cmd /C for reliable invocation.
  • Clippy 1.95 compliance — resolved all new lints introduced by Rust 1.95: needless_raw_string_hashes, map_unwrap_or, unnecessary_trailing_comma, duration_suboptimal_units, while_let_loop across 30+ source files.
  • cargo-deny 0.19 migration — updated deny.toml to new schema, removed deprecated advisory fields, added missing dependency licenses (0BSD, CDLA-Permissive-2.0).
  • Windows benchmark stabilitybench_rrf_eviction_vs_legacy no longer panics from Instant underflow on short-lived processes.
  • Coverage timeoutbenchmark_task_conditioned_compression now skipped under tarpaulin instrumentation and uses smaller input to prevent CI timeouts.
  • Uninstall dry-runlean-ctx uninstall --dry-run no longer accidentally removes components.

Changed

  • License updated to Apache-2.0 — all references across the repository and website (11 languages) updated from MIT to Apache-2.0.
  • Clippy pedantic across entire codebase — comprehensive refactoring to satisfy clippy::pedantic with zero warnings: Copy derives, map_or/is_ok_and patterns, Duration::from_hours/from_mins, while let loops, and raw string simplification.
  • cfg(tarpaulin) declared in Cargo.toml — prevents unexpected_cfgs lint failures when coverage attributes are used.

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.4.3...v3.4.4