发布

  • release: v2.12.6 — bulletproof shell aliases
    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

    frostbyte_neo 发布于 2026-04-01 11:20:04 +00:00

    Shell aliases now use _lc wrapper with automatic fallback:

    • Exit 127/126 (binary missing) → silently runs original command
    • All other exit codes → passed through unchanged
    • command -v guard prevents alias activation if binary not in PATH
    • .bak backup created before every shell config modification
    • Panic handler shows recovery instructions instead of Rust backtrace
    • lean-ctx init --dry-run previews changes without modifying anything
    • Troubleshooting section in --help and README

    Zero performance impact. Full product value preserved.
    Prevents the reported issue where removing lean-ctx broke basic
    commands like ls.

    Made-with: Cursor

    下载附件