@lmctl-ai/lmctl 0.2.115 → 0.2.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,7 @@ All notable public-preview changes for `@lmctl-ai/lmctl` are recorded here.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ - Cancelled plain operator prompts close without waiting for EOF; terminal cancellation during setup preserves SIGINT and exit 130. Standalone script prompts release their per-turn lease during critical signal cleanup.
7
8
  - Muse MSP and Dsh dispatches now store per-turn wire counters and immutable copied prices for team/direct usage. Muse retains counted-once prompt totals with explicit cache splits; ambiguous input and uncertified positive cache splits remain unpriced. Missing required buckets and observable Dsh ownership overlap remain unpriced. Dsh native cost includes failed-step usage chunks without double-counting their final messages. Accounting failure does not change the provider result. Native-source recording and team seeds remain deferred.
8
9
 
9
10
  - **Commands execute argv only.** system string calls are refused; use the command form or a structured argv list, and invoke a shell explicitly when required. cmd_render replaces shell_quote with posix/windows/powershell output dialects. win32 .cmd/.bat shims are refused without an automatic shell fallback; native EINVAL includes underlying-executable advice.
@@ -13,6 +14,7 @@ All notable public-preview changes for `@lmctl-ai/lmctl` are recorded here.
13
14
 
14
15
  - **Direct turn usage.** `lm_agent`, reserved handoffs, fanout/member batches and `lmctl prompt --provider` now use the same recorder as team turns. Usage groups label them `(direct)`; rows keep copied rates/hash and outcomes without prompt/reply text, chat events or invocation links. Implicit agy/pi/dsh API seeds get separate unknown-usage attempts; teamfile seeds remain deferred. Optional accounting never recovers/replaces an unusable DB, and write failures leave provider results unchanged. No new migration or backfill.
15
16
  - **Automatic batch resource closing.** Script batch handles expose only a read-only id. Lexical ownership closes locks before caller work; child scripts own their acquisitions, and cross-run/expired ids cannot use or close a batch. Explicit close stays idempotent. Observed turn counts/status are stored; successful explicit exit preserves done. Critical release precedes signal exits 130/143. One 5 s close budget spans native close/drain; failed releases remain unresolved. Core child result maps use documented plain fields, without the legacy native toString callback.
17
+ - **Terminal and session handoff cleanup.** `lm_terminal` and `prompt_human` keep ownership inside the host and return ordinary result maps. Terminal locks and tracked invocations release with checked, nonblocking cleanup; handoff reservations pin their target and release once on EOF, provider failure, cancellation, context finalization or signal. Pending handoff input is interrupted when its context ends, and failed cleanup remains reported as unresolved state.
16
18
 
17
19
  - **is_empty now tests literal emptiness.** Whitespace-only strings return false; use is_blank for whitespace checks. Empty strings, null, empty arrays and empty maps still return true.
18
20
 
package/build-info.json CHANGED
@@ -1 +1 @@
1
- {"sha": "4faef0a8d4a28e1321c5099f78ad599ec304e810", "dirty": false, "builtAt": "2026-10-06T14:27:57.000Z"}
1
+ {"sha": "5b1f747b87d76163ed019bb51fe4df48e090afd6", "dirty": false, "builtAt": "2026-10-06T16:52:13.000Z"}