@lmctl-ai/lmctl 0.2.39 → 0.2.40
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/build-info.json +1 -1
- package/dist/lmscript.js +1 -1
- package/package.json +1 -1
package/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sha": "
|
|
1
|
+
{"sha": "2ddd4bf56bb83e4da9c3a245429be208c5c42c88", "dirty": true, "builtAt": "2026-10-04T17:07:30.000Z"}
|
package/dist/lmscript.js
CHANGED
|
@@ -385,4 +385,4 @@ fn clamp(val, low, high) {
|
|
|
385
385
|
assert(res1 == "a" && res2 == "b" && res3 == "c", "parallel results must match return values");
|
|
386
386
|
`);return h.success?(console.log(h.output.map(f=>" [out] "+f).join(`
|
|
387
387
|
`)),console.log(` -> Passed!
|
|
388
|
-
`)):(console.error(" -> Failed:",h.diagnostics),e=!1),e}function Ie(){try{let a=k.dirname(re(import.meta.url));for(let e of["package.json","../package.json"]){let t=k.resolve(a,e);if(d.existsSync(t))return JSON.parse(d.readFileSync(t,"utf8")).version??"unknown"}}catch{}return"unknown"}async function Le(){let a=process.argv.slice(2);if(a.length===0||a.length===1&&a[0]==="--test"){await Ne()||(process.exitCode=1);return}let e="Usage: lmscript [--check|--dry-run|--lint] [--check-files] <file> | [check options] -e <source> | --test | --help | --version";if(a.length===1&&(a[0]==="--help"||a[0]==="-h")){console.log(e);return}if(a.length===1&&(a[0]==="--version"||a[0]==="-v")){console.log(`lmscript ${Ie()}`);return}let t=!1,n=!1;for(;["--check","--dry-run","--lint","--check-files"].includes(a[0]);)t=!0,a.shift()==="--check-files"&&(n=!0);let r=a[0]==="-e";if(r?a.length
|
|
388
|
+
`)):(console.error(" -> Failed:",h.diagnostics),e=!1),e}function Ie(){try{let a=k.dirname(re(import.meta.url));for(let e of["package.json","../package.json"]){let t=k.resolve(a,e);if(d.existsSync(t))return JSON.parse(d.readFileSync(t,"utf8")).version??"unknown"}}catch{}return"unknown"}async function Le(){let a=process.argv.slice(2);if(a.length===0||a.length===1&&a[0]==="--test"){await Ne()||(process.exitCode=1);return}let e="Usage: lmscript [--check|--dry-run|--lint] [--check-files] <file> | [check options] -e <source> | --test | --help | --version";if(a.length===1&&(a[0]==="--help"||a[0]==="-h")){console.log(e);return}if(a.length===1&&(a[0]==="--version"||a[0]==="-v")){console.log(`lmscript ${Ie()}`);return}let t=!1,n=!1;for(;["--check","--dry-run","--lint","--check-files"].includes(a[0]);)t=!0,a.shift()==="--check-files"&&(n=!0);let r=a[0]==="-e";if(r?a.length<2:a.length===0||a[0].startsWith("-")){console.error(e),process.exitCode=1;return}try{let i=a.shift(),s=r?void 0:k.resolve(i),o=r?a.shift():d.readFileSync(s,"utf-8");a[0]==="--"&&a.shift();let l=[...a],c=new U;c.setGlobal("args",l),c.setGlobal("ARGV",[i,...l]);let m=t?c.scanAndCheck(o,{checkFiles:n,file:s}):await c.runAsync(o,{file:s});if("output"in m)for(let u of m.output)console.log(u);for(let u of m.diagnostics)console.error(pe(u,o));m.diagnostics.some(u=>u.severity==="error")&&(process.exitCode=1)}catch(i){console.error(`Execution failed: ${i instanceof Error?i.message:String(i)}`),process.exitCode=1}}var W=k.basename(re(import.meta.url));(W==="lmscript.ts"||W==="lmscript.js"||W==="lmscript")&&process.argv[1]&&d.existsSync(process.argv[1])&&d.realpathSync(re(import.meta.url))===d.realpathSync(k.resolve(process.argv[1]))&&Le();export{V as AsyncLock,ne as AsyncLockManager,Ce as BUILTIN_FUNCTION_DOCS,T as BreakSignal,N as ContinueSignal,C as Environment,K as Interpreter,Fe as LANGUAGE_DOCS,U as LMScript,p as LMScriptError,P as LMScriptExit,D as Lexer,B as Parser,O as ReturnSignal,_e as STDLIB_FUNCTION_DOCS,ke as STDLIB_SOURCE,ee as StaticChecker,Y as attachSourceFile,Re as compileProgram,z as createSystemResult,pe as formatDiagnostic,Ae as getStdlibProgram,Le as main,se as parseCsv,Ee as promptHumanAsync,xe as promptHumanFileAsync,ye as promptHumanSync,Ne as runDemoSuite,ve as safeParseJson,fe as shellQuote,oe as stringifyCsv,me as systemSync};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.40",
|
|
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",
|