@botbuddy/cli 1.61.3 → 1.61.4

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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "release_version": "1.61.3",
3
- "source_commit": "7c2f279f36d7ceb5f8d7a84e5698fe2dcf2f22e8",
4
- "source_sha256": "170bd3f629a5bc5f894ae46191da975ff49f6761fd1b64da2aa6c2f76cc2472a",
2
+ "release_version": "1.61.4",
3
+ "source_commit": "b6e939df36d913c84893c35c4f35a74cb8fb9675",
4
+ "source_sha256": "4b2c9b81b1e46f417dd3f1b58c19f6e03c4fbb6fa697a6b2ac2db0586551614b",
5
5
  "target": "darwin-arm64",
6
- "sha256": "612de50e3fd1d37a43007f8aaca735dbb2f5cc92e9c2b8d96fd198f0153ef6ec"
6
+ "sha256": "24fe172b82abb3ac4e59574516d614f1a35ec19b1fb2789793e4d877f8b0e526"
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
- "release_version": "1.61.3",
3
- "source_commit": "7c2f279f36d7ceb5f8d7a84e5698fe2dcf2f22e8",
4
- "source_sha256": "170bd3f629a5bc5f894ae46191da975ff49f6761fd1b64da2aa6c2f76cc2472a",
2
+ "release_version": "1.61.4",
3
+ "source_commit": "b6e939df36d913c84893c35c4f35a74cb8fb9675",
4
+ "source_sha256": "4b2c9b81b1e46f417dd3f1b58c19f6e03c4fbb6fa697a6b2ac2db0586551614b",
5
5
  "target": "linux-x64",
6
- "sha256": "75f71518b6446f547153e71e5c2a2cf15c8c475fd0e2039acfe561fa5cd66309"
6
+ "sha256": "227d9145bedfb733e88e1456e2e8a9c989a12201b2c16427b2a7be2c27661bdf"
7
7
  }
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "schema_version": 1,
3
- "release_version": "1.61.3",
4
- "source_commit": "7c2f279f36d7ceb5f8d7a84e5698fe2dcf2f22e8",
5
- "source_sha256": "170bd3f629a5bc5f894ae46191da975ff49f6761fd1b64da2aa6c2f76cc2472a",
3
+ "release_version": "1.61.4",
4
+ "source_commit": "b6e939df36d913c84893c35c4f35a74cb8fb9675",
5
+ "source_sha256": "4b2c9b81b1e46f417dd3f1b58c19f6e03c4fbb6fa697a6b2ac2db0586551614b",
6
6
  "targets": {
7
7
  "darwin-arm64": {
8
8
  "goos": "darwin",
9
9
  "goarch": "arm64",
10
10
  "binary": "daemon/bin/darwin-arm64/botbuddy-daemon",
11
- "sha256": "612de50e3fd1d37a43007f8aaca735dbb2f5cc92e9c2b8d96fd198f0153ef6ec",
11
+ "sha256": "24fe172b82abb3ac4e59574516d614f1a35ec19b1fb2789793e4d877f8b0e526",
12
12
  "mode": "0755"
13
13
  },
14
14
  "linux-x64": {
15
15
  "goos": "linux",
16
16
  "goarch": "amd64",
17
17
  "binary": "daemon/bin/linux-x64/botbuddy-daemon",
18
- "sha256": "75f71518b6446f547153e71e5c2a2cf15c8c475fd0e2039acfe561fa5cd66309",
18
+ "sha256": "227d9145bedfb733e88e1456e2e8a9c989a12201b2c16427b2a7be2c27661bdf",
19
19
  "mode": "0755"
20
20
  }
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbuddy/cli",
3
- "version": "1.61.3",
3
+ "version": "1.61.4",
4
4
  "description": "BotBuddy \u2014 Swarm coordination CLI for multi-agent workflows",
5
5
  "type": "module",
6
6
  "bin": {
package/src/stack.mjs CHANGED
@@ -219,6 +219,8 @@ ${bold("run OPTIONS")}
219
219
  --local-only Require a co-located host (execution "local"); no bundle is built.
220
220
  Default (neither flag): execution "auto" — co-located if it admits now,
221
221
  else a remote host with capacity; the bundle digest is sent up front.
222
+ --execution-ring R Capacity rollout ring: stable (default) excludes beta daemon hosts.
223
+ beta is explicit opt-in and requires \`stack run --remote\`.
222
224
  --callback-port N The caller runs a listener the stack calls back through
223
225
  host.docker.internal:N (e.g. 4600): sent as callback_port. On a REMOTE
224
226
  lease run first probes the host with a throwaway reverse forward and opens
@@ -365,7 +367,7 @@ export function parseStackArgs(argv) {
365
367
  connectionFile: null, noWait: false, claimOnly: false, localExec: false, keepVolumes: false, waitCapacity: null, holdOnTimeout: null,
366
368
  dockerContext: null, dockerEndpoint: null,
367
369
  // BOT-2142: execution placement (null = command default), remote-lease callback + bundle cap.
368
- execution: null, remote: false, localOnly: false, callbackPort: null, bundleMaxBytes: null,
370
+ execution: null, remote: false, localOnly: false, executionRing: "stable", callbackPort: null, bundleMaxBytes: null,
369
371
  // BOT-2269: exact stack-relative files shipped in the remote-lease bundle despite the
370
372
  // default exclusions (`--bundle-include`, repeatable).
371
373
  bundleInclude: [],
@@ -453,6 +455,14 @@ export function parseStackArgs(argv) {
453
455
  }
454
456
  case "--remote": opts.remote = true; break;
455
457
  case "--local-only": opts.localOnly = true; break;
458
+ case "--execution-ring": {
459
+ if (need(a, rest[i + 1])) {
460
+ const ring = rest[++i];
461
+ if (ring !== "stable" && ring !== "beta") errors.push("--execution-ring must be stable or beta");
462
+ else opts.executionRing = ring;
463
+ }
464
+ break;
465
+ }
456
466
  case "--callback-port": {
457
467
  if (need(a, rest[i + 1])) {
458
468
  const n = Number(rest[++i]);
@@ -508,6 +518,12 @@ export function parseStackArgs(argv) {
508
518
  if (opts.remote && opts.localExec) {
509
519
  errors.push("--remote cannot be combined with --local-exec: a local-exec stack is started on THIS machine");
510
520
  }
521
+ if (opts.executionRing === "beta" && command !== "run") {
522
+ errors.push("--execution-ring beta is valid only with `stack run`");
523
+ }
524
+ if (opts.executionRing === "beta" && !opts.remote) {
525
+ errors.push("--execution-ring beta requires --remote so the beta daemon can serve the stack");
526
+ }
511
527
  if ((opts.remote || opts.localOnly) && !["up", "run"].includes(command)) {
512
528
  errors.push("--remote and --local-only are valid only with `stack up` or `stack run`");
513
529
  } else if (command === "up" && opts.remote) {
@@ -3846,6 +3862,7 @@ async function runStackLifecycleOnce(opts, childArgv, adapters, incidentBox) {
3846
3862
  stack_path: execution.stackPath, worktree_root: execution.worktreeRoot,
3847
3863
  machine_uuid: hardwareUuid,
3848
3864
  execution: executionRequest,
3865
+ execution_ring: opts.executionRing,
3849
3866
  ...(bundle ? { bundle_sha256: bundle.sha256 } : {}),
3850
3867
  ...(stackDigest ? { stack_digest: stackDigest } : {}),
3851
3868
  // BOT-1803 (Codex #1160 P1): a run never re-adopts an idle stack it cannot prove current.