@lmctl-ai/lmctl 0.2.123 → 0.2.124
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 +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ All notable public-preview changes for `@lmctl-ai/lmctl` are recorded here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
- GraphQL literal docs/help now describe raw executable strings, ten schema-free preflight rules, fragment-only composition and gh variables. Examples and exact rejection diagnostics run on both lmscript and lmctl script; field/argument/type/enum schema validation remains a future library hook.
|
|
8
|
+
|
|
7
9
|
- LMScript recover blocks provide named resume points. lmscript and lmctl script accept --resumepoint PATH before the source; nonzero runs report a rerun hint only when the first failure occurs in a point. Selection skips earlier points without restoring state, catching failures or retrying automatically.
|
|
8
10
|
- Command help now includes the cmd topic, complete shell-free grammar, runnable argv/GraphQL examples and renderer/platform limits.
|
|
9
11
|
- **Native per-turn usage.** Team/direct attempts can record certified kimi/OpenCode/Gemini/miniplayer/Pi/AGY/lmplayer receipts with copied prices through the single recorder. Session/time/revision or overlap uncertainty stays unknown; accounting failures leave replies intact. Pi provider bills stay separate, Gemini thinking tokens count once, and uncertified AGY cache writes remain unpriced. Seeds are still deferred.
|
package/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sha": "
|
|
1
|
+
{"sha": "27c16fd238328306bc3c7a71b57e4f250f8aa7cb", "dirty": false, "builtAt": "2026-10-07T06:09:40.000Z"}
|
package/dist/cli/lmscript.js
CHANGED
|
@@ -412,8 +412,8 @@ No shell pipes, redirects, globbing, bare dollar variables or substitutions. Use
|
|
|
412
412
|
cmd_render(argv, dialect) outputs posix/windows/powershell text; never pass rendered text to system. Default windows on win32, otherwise posix. Windows encoding is CRT argument-tail syntax, not cmd.exe; on win32, .cmd/.bat shims are refused. PowerShell output needs & and 7.3+ native argument mode when executed.
|
|
413
413
|
`;if(n==="conditional")return`condition ? trueExpr : falseExpr
|
|
414
414
|
Precedence below || and above assignment; only the selected arm is evaluated.
|
|
415
|
-
`;if(n==="graphql")return"GraphQL literals
|
|
416
|
-
|
|
415
|
+
`;if(n==="graphql")return["Topic: GraphQL literals","graphql"+'"'.repeat(3)+"..."+'"'.repeat(3)+" or graphql"+"'".repeat(3)+"..."+"'".repeat(3),"Raw lowercase triple strings: no interpolation, decoding or dedent; CRLF becomes LF. The first unescaped outer delimiter closes the literal, even in a GraphQL comment/block string; use opposite outer quotes.","Executable October 2021 syntax is checked in run preflight, --check and --dry-run before effects; failures exit 2 with error:FILE:LINE:COLUMN: GraphQL: MESSAGE.","Schema-free rules: Undefined fragment; Fragment cycle; Undefined variable; Unused variable; Unused fragment; Duplicate operation; Duplicate fragment; Duplicate variable; Duplicate argument; Anonymous operation must be alone.","Variable usage includes transitive fragments, directives and nested values; argument uniqueness is per field/directive list.","Fragment-only documents skip unused-fragment/operation-variable checks, retaining spread/cycle/duplicate checks. Plain/runtime-built strings and concatenation are unlinted; each constituent graphql literal is still checked independently.","No field/argument/type/enum validation, subscription root cardinality, input-object field/directive uniqueness, schema selector or execution. Domain checks are a future library hook; parameter tags are deferred.","Use GraphQL variables and a separate map; modules/gh.lms exposes gh.gh_graphql(query, vars) and owns tool/response failures.","Example:","q = graphql"+'"'.repeat(3)+"{ viewer { login } }"+'"'.repeat(3)+";","println(q);"].join(`
|
|
416
|
+
`)+`
|
|
417
417
|
`;if(n==="recover")return["Topic: Recover blocks and resume points","recover { resumepoint NAME: statements ... }","--resumepoint NAME(.NAME)* goes before FILE, -, or -e CODE.","The first entered recover consumes a segment; earlier points are skipped and later points fall through. Prelude code still runs.","One block scope; nested paths are dotted. RESUMEPOINT is read-only, null outside points; helpers inherit the active path.","No saved state, catching or automatic retry. Reload needed state; recover cannot enter in a parallel task or reenter in one run.","A nonzero run reports its first failure point after diagnostics. An earlier failure outside points suppresses the hint; final exit 0 and check errors have no hint.","Example: lmscript --resumepoint b -e 'recover { resumepoint a: println(RESUMEPOINT); resumepoint b: println(RESUMEPOINT); }'"].join(`
|
|
418
418
|
`)+`
|
|
419
419
|
`;if(n==="topics")return`Topics: conditional, regex, graphql, cmd, recover
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.124",
|
|
4
4
|
"description": "A provider-agnostic control plane for teams of AI coding agents — across providers, with independent review and durable memory.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://lmctl.com",
|