@lmctl-ai/lmctl 0.2.49 → 0.2.50

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,14 @@ All notable public-preview changes for `@lmctl-ai/lmctl` are recorded here.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ - **Breaking: standalone LMScript replaces the embedded engine.** `lmctl script`, `.lms` quickrun samples (including hello), hello seed/prompt execution and the `.lms` intent route launch the packaged standalone interpreter. The embedded `src/script` tree and `./script` export are removed; the neutral lmctl API remains internal to the package.
8
+ - Migrate removed built-in names: `sleep` → `sleep_ms` (milliseconds); `clock` → `now`; `urlget` → `http_get`; `capitalize` → `upper_first`; `indexOf` → `index_of`; `toLowerCase` → `lower`; `toUpperCase` → `upper`; `has` → `has_key`; `match` and `search` → `regex_match`; `test` → `regex_test`; `findall` → `regex_find_all`; `count` → `len` for length or `count_matches` for substring occurrences; `json` → `json_parse` for parsing or `json_stringify` for serialization. The checker names the replacement. `size`, `hash`, `list`, `array`, `clear`, `delete_file` and `remove_file` remain supported; this migration does not remove them.
9
+ - Implicit `lmbee_*` functions are disabled until the standalone lmbee module exists. This includes snapshot/queue/task/cron helpers; `skills-scripts/lms-adhoc/lmbee_triage_impl.lms` and its dispatcher require that future packaged module. The separate mono-test bridge project also has a `lmbee-lmscript/examples/queue-report.lms` example and bridge-options/end-to-end/failure/facade fixtures; those require their explicitly supplied bridge and are not evidence that this package ships it. Calls fail checking before effects rather than returning empty data.
10
+ - Host results use neutral status maps rather than the old bare lists/null/booleans: read `.members` from `lm_members`, `.member` from `lm_member`, `.prompts` from prompt readers, `.sessions` from `lm_session_list`, and `.batch` from `lm_batch_open`; inspect `status`/`error` for failures and `lm_batch_close`.
11
+ - Top-level `args` and `ARGV` contain only arguments after the source, not the filename or `-e`. A `--` or flag-looking token after the source remains data; it is not stripped or treated as a runner option. Nested `run_script` retains its documented child invocation convention.
12
+ - `--check` and `--dry-run` use passive module declarations without loading init.toml or opening a database. Runs load the lmctl profile only when Provider*/Model* globals are used; Directory/NonInteractive and teamfile-only calls do not require a profile.
13
+ - Failed checks exit 2; startup/runtime failures exit 1; explicit exit codes are preserved. SIGINT/SIGTERM propagate 130/143 and release leases. Diagnostics keep the `error:`/`warning:` prefix with source location.
14
+
7
15
  - **Shared output formatting via `@lmctl-ai/lmformat` (behavior).** All
8
16
  human-readable CLI output now uses the lmformat library, vendored at
9
17
  `vendor/lmctl-ai-lmformat-0.7.0.tgz` until the package is published:
package/build-info.json CHANGED
@@ -1 +1 @@
1
- {"sha": "365719f52973e98ce33819612cdc87e4ecbe6ae1", "dirty": true, "builtAt": "2026-10-04T22:26:36.000Z"}
1
+ {"sha": "06a0528f55e41b3859ef4823a05beeb024be977e", "dirty": true, "builtAt": "2026-10-05T00:12:31.000Z"}