@botbuddy/cli 1.91.0 → 1.91.1

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.91.1
4
+
5
+ - 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.
6
+
3
7
  ## 1.91.0
4
8
 
5
9
  - 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.1",
3
+ "source_commit": "944bf88b41b6a484aa22ef54166d4fd0a18dd865",
4
+ "source_sha256": "8a66e0afac5f1008e1d0a1615176b31ff6da510d292efd5db2bfb24f201ac71e",
5
5
  "target": "darwin-arm64",
6
- "sha256": "3782bb2b0f6d6a7c7b9f61210beb40327aa32afff7874e5d83e101734d3d2d0c"
6
+ "sha256": "d02c6053e9a301f1bcb389b43101fab7b0870c04e9ed5dd1025dcc6bdd2151cd"
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.1",
3
+ "source_commit": "944bf88b41b6a484aa22ef54166d4fd0a18dd865",
4
+ "source_sha256": "8a66e0afac5f1008e1d0a1615176b31ff6da510d292efd5db2bfb24f201ac71e",
5
5
  "target": "linux-x64",
6
- "sha256": "2b5195d61e7053fedf175e3306f8b1ab82668c3376d841465236decfaf4f35b6"
6
+ "sha256": "bc2a78360a0f1bb7d0550794558831f85e4b0ac86af9e8ef1755324efb7f178b"
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.1",
4
+ "source_commit": "944bf88b41b6a484aa22ef54166d4fd0a18dd865",
5
+ "source_sha256": "8a66e0afac5f1008e1d0a1615176b31ff6da510d292efd5db2bfb24f201ac71e",
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": "d02c6053e9a301f1bcb389b43101fab7b0870c04e9ed5dd1025dcc6bdd2151cd",
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": "bc2a78360a0f1bb7d0550794558831f85e4b0ac86af9e8ef1755324efb7f178b",
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.1",
4
4
  "description": "BotBuddy — Swarm coordination CLI for multi-agent workflows",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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
  }