@lmctl-ai/lmctl 0.2.297 → 0.2.299
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 +2 -0
- package/build-info.json +1 -1
- package/dist/cli/lmscript.js +357 -333
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -24,6 +24,8 @@ All notable public-preview changes for `@lmctl-ai/lmctl` are recorded here.
|
|
|
24
24
|
|
|
25
25
|
## Unreleased
|
|
26
26
|
|
|
27
|
+
- LMScript strict syntax (issue 002): every simple statement ends with a mandatory `;` (including `system p;` and `x = cmd p;` command statements) and every if/else/while/for body is a `{ }` block; violations are check errors with hints. `scripts/strict-syntax.ts [--fix]` counts and migrates scripts and doc blocks with the real parser.
|
|
28
|
+
- LMScript gains data-embedding blocks: reserved `_csv_`, `_toml_`, `_props_`, `_json_`, `_cmd_` and `_graphql_` markers are expressions whose body lines follow the statement's mandatory `;` and close with `end _x_`; options and `${}` fields are validated at check time, values are substituted per value after parsing (a _toml_ field must stand alone as a value), and `end _x_` outside a block, mismatched closers and a missing `;` are check errors naming expected/found; `_cmd_` builds argv over several lines with the one-line cmd rules, `system(_cmd_)` runs it and a standalone `_cmd_;` statement runs it. `_graphql_` keeps the executable-syntax/schema-free lint as a string value (`${}` not supported yet). The csv"""/toml"""/javaprops"""/graphql""" literals are removed (each error names its marker). The pinned smol-toml parser stays bundled into the lmscript artifact.
|
|
27
29
|
- `lmctl init` generates example provider slots from installed provider detection. Each managed slot now contains only `provider` and `model1`; model1 is the provider's first live id (Claude Code uses the highest-version undated catalog id). Model2/model3 tier values and the curated model table are removed. Provider slots remain open examples: files may omit managed slots or add user tables, and init refreshes only managed slots present.
|
|
28
30
|
|
|
29
31
|
- `lmctl models [provider ...] [--json]` replaces the curated `lmctl model` listing with provider-native IDs joined to the price catalog. JSON schema version 2 includes live-list status, display names where agy supplies them, catalog matches and nullable per-million rates. The former `model` command is retired; `--all` is no longer accepted.
|
package/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sha": "
|
|
1
|
+
{"sha": "6c2bb554f618551d3c9802a04ad12b55c84e87c9", "dirty": false, "builtAt": "2026-10-17T14:22:13.000Z"}
|