@lmctl-ai/lmctl 0.2.55 → 0.2.57

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.
@@ -28,9 +28,7 @@ for (flag_index = 3; flag_index < len(args); flag_index = flag_index + 1) {
28
28
  }
29
29
 
30
30
  # 1. Read prompts
31
- readResult = lm_read_prompts(batchfile, single);
32
- if (readResult.status != "ok") { lm_error(readResult.error); lm_exit(1); }
33
- prompts = readResult.prompts;
31
+ prompts = lm_read_prompts(batchfile, single);
34
32
 
35
33
  if (len(prompts) == 0) {
36
34
  lm_error("batch: " + batchfile + ": no prompts found");
@@ -44,13 +42,13 @@ opened = lm_batch_open(teamfile, alias, batchfile, {
44
42
  single: single
45
43
  });
46
44
 
47
- if (opened.status != "ok") {
45
+ if (opened == null) {
48
46
  # The open no longer prints its own failure: the script reports it, as lmctl batch does.
49
- lm_error("batch: " + opened.error);
47
+ lm_error("batch: failed to open managed batch");
50
48
  lm_exit(1);
51
49
  }
52
50
 
53
- handle = opened.batch;
51
+ handle = opened;
54
52
 
55
53
  # 3. Sequential prompt execution
56
54
  for (i = 0; i < len(prompts); i = i + 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmctl-ai/lmctl",
3
- "version": "0.2.55",
3
+ "version": "0.2.57",
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",