Skip to content

v3.12.11

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 16:51
· 4 commits to main since this release
6be14ea

Upgrade notes

  • The lean-ctx line in an existing CLAUDE.md or agent rules file changes
    on the next lean-ctx init or setup refresh (#2284).
    Installs set up
    earlier keep the previous wording, which still calls shell output lossless,
    until then.

Fixed

  • Reading the full copy that a shortened shell output points to returns it
    whole (#2284).
    A [lean-ctx: full original at …] marker said to cat the
    copy, yet the proxy shortened that cat again, so the full output could not
    be recovered without MCP. A plain cat, type or Get-Content of files in
    lean-ctx's own copy folder now passes through unshortened; pipes, redirects
    and other files are shaped as before. The marker, ctx_shell and the
    Claude Code rule line now say the copy is read with cat or a file-read
    tool, and no longer claim that shell output stays lossless.

  • The output firewall no longer asks to re-run a command whose output it
    archived (#2285).
    Its guidance told the agent to narrow the command and run
    it again, while the lean-ctx skill says to query the archive instead. It now
    starts with "Query it, do not re-run the command", offers the matching
    ctx_expand slices (json_path/json_keys for JSON, search/head/line
    range otherwise) and keeps narrowing at the source as advice for the next
    command. Both copies of the skill say the same.

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.12.10...v3.12.11