scriptbox 0.3.0
Edges release — sharpening the subscript story and the cache lifecycle.
Changes
- One honest protection mode. The two overlapping subscript modes collapse into a single
freeze(--subscripts, orsubscripts = "freeze"). The oldwrap/freeze-tree/treenames still parse to it, so existing invocations keep working. - Removed the launch-time cache auto-reap. It could delete a live tree's snapshot cache out from under a legitimately-detached background descendant (
worker & disown; exit) when an unrelated--subscripts=freezerun landed on the same$TMPDIR. There's no safe way to infer "this tree is done" from exec's process model, so cleanup stays explicit:scriptbox gc(caches are small;$TMPDIRis OS-reaped on reboot).
Notes
- Prebuilt binaries are full-featured — the subscript analyzer is compiled in. Building from source stays lean by default (
--features subscriptsto opt in). - Subscripts remain experimental and opt-in; only literal child paths freeze, dynamic (
"$DIR/lib.sh",$(...)) sites are reported but left as live reads.
Install: brew install jhheider/tap/scriptbox · curl -fsSL https://heider.cc/scriptbox.sh | sh