Skip to content

v3.12.12

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 12:21
· 7 commits to main since this release
694671f

Security

  • Allowing inline scripts counts as lowering protection.
    shell_allow_inline_scripts lets ctx_shell run code such as
    python3 -c that leaves no file to audit. A Security Center plan that turns
    it on now asks for confirmation, like shell_allow_writes, and the setting
    is shown with the other shell protections.

Changed

  • The full-output marker names the file-read tool first (#2284).
    A shortened result now says "open it with a file-read tool or cat it",
    so an agent tries its own read tool before a shell command.

Fixed

  • Six more config keys are described in the schema (#2283).
    annotation_threshold_pct, compression_annotation,
    progressive_signatures_max, proxy_allowed_hosts,
    shell_allow_inline_scripts and shell_heavy_prefixes were read by the
    loader but had no schema entry. config set now accepts them, and the
    configuration reference describes them.

  • A full-output copy under a path with spaces is read whole too (#2284).
    When lean-ctx's state lies below a folder with a space (a home such as
    /Users/My Name, or Application Support), the marker names the copy in
    quotes; a cat of that quoted path was still shortened. Quoted and
    backslash-escaped paths are now recognized like plain ones.

  • A full-output copy read through the MCP tools comes back whole (#2284).
    A cat of the copy a marker names, run through ctx_shell or ctx_call,
    was still cut by the 4096-token turn budget and pointed at another copy.
    Such a read now gets the verbatim budget, like ctx_expand.

  • Parallel Cloud state updates no longer give up on a busy lock. Threads
    of one process that update the same Cloud state file now wait in arrival
    order, and only give up when the queue stops moving for the whole wait. Many
    quick updates in a row on slow Windows disks no longer fail the last one
    with "lock still held".

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.11...v3.12.12