发布

  • v3.1.3: Docker container support — env.sh, setup fallback, doctor check
    Release / Build aarch64-apple-darwin (push) Has been cancelled
    Release / Build x86_64-apple-darwin (push) Has been cancelled
    Release / Build aarch64-unknown-linux-gnu (push) Has been cancelled
    Release / Build x86_64-unknown-linux-musl (push) Has been cancelled
    Release / Build x86_64-unknown-linux-gnu (push) Has been cancelled
    Release / Build x86_64-pc-windows-msvc (push) Has been cancelled
    Release / Create Release (push) Has been cancelled
    Release / Publish to crates.io (push) Has been cancelled
    Release / Publish to npm (push) Has been cancelled
    Release / Update Homebrew (push) Has been cancelled

    frostbyte_neo 发布于 2026-04-15 11:54:03 +00:00

    • Add Docker/container detection (/.dockerenv, cgroup, mountinfo)
    • Write ~/.lean-ctx/env.sh on init (bypasses ~/.bashrc PS1 guard)
    • lean-ctx init: warn about BASH_ENV when Docker detected
    • lean-ctx setup: auto-fallback to non-interactive mode on no-TTY stdin
    • lean-ctx doctor: new BASH_ENV check for container environments
    • Critical fix: BASH_ENV="/root/.bashrc" never worked in Docker because
      Ubuntu/Debian .bashrc has [ -z "$PS1" ] && return

    Made-with: Cursor

    下载附件