@lmctl-ai/lmctl 0.2.450 → 0.2.452
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 +4 -1
- package/dist/cli/index.js +555 -555
- package/dist/cli/lmscript.js +446 -477
- package/dist/dsl.js +4538 -0
- package/dist/lmscript.js +1 -0
- package/examples/git_summary.lms +6 -11
- package/package.json +3 -1
package/dist/lmscript.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LMScript } from './dsl.js';
|
package/examples/git_summary.lms
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
# Chapter: Modules -
|
|
2
|
-
# Shows:
|
|
3
|
-
# as plain maps and lists; the example prints one JSON line for a repository given as ARGV[0].
|
|
4
|
-
# Run: lmscript examples/git_summary.lms /path/to/repo (default: the current directory)
|
|
5
|
-
# Needs: git on PATH (offline). The book test runs it on a scratch repository with one fixed commit.
|
|
1
|
+
# Chapter: Modules - Git via argv
|
|
2
|
+
# Shows: a thin CLI call returning data through system
|
|
6
3
|
# setup: git-repo
|
|
7
4
|
# args: ${SCRATCH}/repo
|
|
8
5
|
# exit: 0
|
|
9
6
|
# expect:
|
|
10
|
-
|
|
11
|
-
import "native:git";
|
|
7
|
+
#|?? notes.txt
|
|
12
8
|
dir = ARGV.get(0, Directory);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
latest:git.log(dir,3),head:git.rev_parse(dir,"HEAD"),remotes:git.remotes(dir)}));
|
|
9
|
+
r = system(["git", "-C", dir, "status", "--porcelain=v1"]);
|
|
10
|
+
assert(r.code == 0, r.stderr);
|
|
11
|
+
println(trim(r.stdout));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.452",
|
|
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",
|
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
"dist/cli/schema.sql",
|
|
22
22
|
"dist/schema.sql",
|
|
23
23
|
"dist/cli/lmscript.js",
|
|
24
|
+
"dist/dsl.js",
|
|
25
|
+
"dist/lmscript.js",
|
|
24
26
|
"dist/on-demand-worker.cjs",
|
|
25
27
|
"dist/config/",
|
|
26
28
|
"build-info.json",
|