@botbuddy/cli 1.91.0 → 1.91.2

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.91.2
4
+
5
+ - BOT-3402: a Go daemon host reports `node`, `pnpm` and `deno` as test-child capabilities only when each prints its version inside a child's own sandbox (a throwaway systemd unit with the child's user, mounts and PATH). A Corepack `pnpm` shim that cannot run there is no longer reported, `deno` is reported for the first time, and the report carries `pnpm_version` and `deno_version` next to `node_version`. The probe runs once per five-minute report, never when a child starts; if the probe itself cannot run, the last verdict stands and the report carries `probe_error`. `bb stack run --child-requires` help names `pnpm` and `deno`.
6
+
7
+ ## 1.91.1
8
+
9
+ - BOT-3393: the telemetry outbox now forwards a lifecycle event's `host` and `compute` context (the producing machine, the compute gate's live wait reason with slot position and load ratio, and the measured slot / load waits) to `execution-ingest` instead of dropping them, so a pre-push lane held for compute is visible and measured.
10
+
3
11
  ## 1.91.0
4
12
 
5
13
  - BOT-3371: a stack a Go daemon host starts for a lease skips Supabase Studio, vector, Logflare (analytics) and postgres-meta, which tests never call, saving about 1 GB per stack. `bb stack run --supabase-service <name>` (repeatable) keeps one of them (`studio` also keeps `postgres-meta`, `logflare` also keeps `vector`); any other name is refused before a lease exists (exit 4 `STACK_SERVICE_NOT_ALLOWED`). The receipt's `supabase_services` lists what the stack runs. The daemon checks the running containers after start and fails the provision (`supabase_service_plan_unmet`) rather than activate a stack that started a skipped service or lacks an opted-in one.
@@ -1,7 +1,7 @@
1
1
  {
2
- "release_version": "1.91.0",
3
- "source_commit": "4408300cd49ba1d4fbda5fd79c2aa3f79b5ee24c",
4
- "source_sha256": "03c050b688b1cbc1973be82b4307c0037984a785c3361e44a7598d465b8b4738",
2
+ "release_version": "1.91.2",
3
+ "source_commit": "04b4a85491485b854987b6d5aa08b22ba8dde6c2",
4
+ "source_sha256": "32d16ac6cd57b4879a07f04cb239e20ef33638c100c8703c138c7533438f6d70",
5
5
  "target": "darwin-arm64",
6
- "sha256": "3782bb2b0f6d6a7c7b9f61210beb40327aa32afff7874e5d83e101734d3d2d0c"
6
+ "sha256": "50c4455ce224c7816d1747ceaa7d6bd98a87cb52a02a3bb6773d3d028b02ea03"
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
- "release_version": "1.91.0",
3
- "source_commit": "4408300cd49ba1d4fbda5fd79c2aa3f79b5ee24c",
4
- "source_sha256": "03c050b688b1cbc1973be82b4307c0037984a785c3361e44a7598d465b8b4738",
2
+ "release_version": "1.91.2",
3
+ "source_commit": "04b4a85491485b854987b6d5aa08b22ba8dde6c2",
4
+ "source_sha256": "32d16ac6cd57b4879a07f04cb239e20ef33638c100c8703c138c7533438f6d70",
5
5
  "target": "linux-x64",
6
- "sha256": "2b5195d61e7053fedf175e3306f8b1ab82668c3376d841465236decfaf4f35b6"
6
+ "sha256": "8f4f4f84c54519542b2ffea144daefe97f0cd1a2adec8c006c89d6534c21cc4d"
7
7
  }
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "schema_version": 1,
3
- "release_version": "1.91.0",
4
- "source_commit": "4408300cd49ba1d4fbda5fd79c2aa3f79b5ee24c",
5
- "source_sha256": "03c050b688b1cbc1973be82b4307c0037984a785c3361e44a7598d465b8b4738",
3
+ "release_version": "1.91.2",
4
+ "source_commit": "04b4a85491485b854987b6d5aa08b22ba8dde6c2",
5
+ "source_sha256": "32d16ac6cd57b4879a07f04cb239e20ef33638c100c8703c138c7533438f6d70",
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": "3782bb2b0f6d6a7c7b9f61210beb40327aa32afff7874e5d83e101734d3d2d0c",
11
+ "sha256": "50c4455ce224c7816d1747ceaa7d6bd98a87cb52a02a3bb6773d3d028b02ea03",
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": "2b5195d61e7053fedf175e3306f8b1ab82668c3376d841465236decfaf4f35b6",
18
+ "sha256": "8f4f4f84c54519542b2ffea144daefe97f0cd1a2adec8c006c89d6534c21cc4d",
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.91.0",
3
+ "version": "1.91.2",
4
4
  "description": "BotBuddy — Swarm coordination CLI for multi-agent workflows",
5
5
  "type": "module",
6
6
  "bin": {
package/src/stack.mjs CHANGED
@@ -300,9 +300,10 @@ ${bold("run OPTIONS")}
300
300
  its own systemd unit with a per-run user, on the host's own ports; its
301
301
  output is printed when it ends, and child_resources is its cgroup peak
302
302
  memory and CPU. The requester keeps the lease, the slot and the reap.
303
- --child-requires LIST BOT-3030: what the child needs on a host (comma list: node>=24,curl,psql,
304
- playwright-chromium-libs). A host lacking one is not placed on; the
305
- child runs here and the run names what was missing.
303
+ --child-requires LIST BOT-3030: what the child needs on a host (comma list: node>=24,pnpm,deno,
304
+ curl,psql,playwright-chromium-libs). node, pnpm and deno count only when
305
+ they run inside a child's sandbox on that host (BOT-3402). A host lacking
306
+ one is not placed on; the child runs here and the run names what was missing.
306
307
  --child-env NAME BOT-3030: pass NAME (this shell's value) to a host child (repeatable).
307
308
  Nothing else is passed; credential-shaped names are refused.
308
309
  --child-max-runtime S BOT-3030: the host stops the child after S seconds (default 3600).
@@ -17,6 +17,12 @@ const DROP_KEYS = new Set(["stdout", "stderr", "output", "raw_output", "bounded_
17
17
  const CONTEXT_KEYS = new Set([
18
18
  "agent", "repo", "ticket", "pr", "branch", "sha", "environment", "runner", "phase",
19
19
  "worker", "shard", "retry", "current_spec", "passed", "failed", "skipped", "health", "correlations",
20
+ // BOT-3393: the producing host and the compute gate's state (see execution-ingest).
21
+ "host", "compute",
22
+ ]);
23
+ const COMPUTE_KEYS = new Set([
24
+ "reason", "slot_position", "waiting_count", "slots_held", "slots_total", "load_ratio", "gate_ratio",
25
+ "slot_wait_ms", "load_wait_ms", "load_ratio_at_start",
20
26
  ]);
21
27
  const CORRELATION_KEYS = new Set([
22
28
  "tool_event_id", "command_receipt_id", "test_run_id", "test_execution_id", "wait_session_id",
@@ -78,6 +84,9 @@ function eventPayload(event) {
78
84
  // a harmless but unrecognised field.
79
85
  if (clean.context && typeof clean.context === "object" && !Array.isArray(clean.context)) {
80
86
  clean.context = Object.fromEntries(Object.entries(clean.context).filter(([key]) => CONTEXT_KEYS.has(key)));
87
+ if (clean.context.compute && typeof clean.context.compute === "object" && !Array.isArray(clean.context.compute)) {
88
+ clean.context.compute = pick(clean.context.compute, COMPUTE_KEYS);
89
+ }
81
90
  if (clean.context.correlations && typeof clean.context.correlations === "object" && !Array.isArray(clean.context.correlations)) {
82
91
  clean.context.correlations = Object.fromEntries(Object.entries(clean.context.correlations).filter(([key]) => CORRELATION_KEYS.has(key)));
83
92
  }