github yvgude/lean-ctx v2.9.7
v2.9.7 — Turbo TUI passthrough, LEAN_CTX_COMPRESS, pi-lean-ctx v1.0.8

latest releases: v3.8.17, v3.8.16, v3.8.15...
3 months ago

Fixed

  • Turbo monorepo TUI hang (Issue #33) — Built-in passthrough list for 28 TUI/long-running commands: turbo, next dev, vite dev, nuxt dev, astro dev, nodemon, concurrently, pm2, docker compose up, vim, nvim, htop, ssh, tail -f, less, and more. These are detected automatically and run without output buffering or compression.
  • LEAN_CTX_COMPRESS=1 env var — Overrides pipe detection to force compression when stdout is piped. Used by pi-lean-ctx and other programmatic integrations that explicitly want compressed output.
  • pi-lean-ctx v1.0.8 — Sets LEAN_CTX_COMPRESS=1 in all exec calls and spawnHook, ensuring compression works correctly with v2.9.6's pipe detection.

Install / Update

lean-ctx update                        # self-update
cargo install lean-ctx                 # crates.io
npx lean-ctx-bin@latest setup          # npm
brew upgrade yvgude/lean-ctx/lean-ctx  # Homebrew
yay -S lean-ctx                        # AUR

Workaround for custom TUI commands

If you have other TUI/long-running commands not in the built-in list, add them to ~/.config/lean-ctx/config.toml:

excluded_commands = ["my-tui-app", "my-dev-server"]

Full Changelog: v2.9.6...v2.9.7

Don't miss a new lean-ctx release

NewReleases is sending notifications on new releases.