Repository navigation
Security
- Allowing inline scripts counts as lowering protection.
shell_allow_inline_scriptsletsctx_shellrun code such as
python3 -cthat leaves no file to audit. A Security Center plan that turns
it on now asks for confirmation, likeshell_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 orcatit",
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_scriptsandshell_heavy_prefixeswere read by the
loader but had no schema entry.config setnow 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, orApplication Support), the marker names the copy in
quotes; acatof 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).
Acatof the copy a marker names, run throughctx_shellorctx_call,
was still cut by the 4096-token turn budget and pointed at another copy.
Such a read now gets the verbatim budget, likectx_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-ctxNote: After upgrading via cargo/npm/brew, run
lean-ctx setupto refresh shell aliases.lean-ctx updatedoes this automatically.
Full Changelog: v3.12.11...v3.12.12