@botbuddy/cli 1.67.0 → 1.68.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 +10 -0
- package/claude-plugin/.claude-plugin/marketplace.json +17 -0
- package/claude-plugin/bb-status/.claude-plugin/plugin.json +9 -0
- package/claude-plugin/bb-status/README.md +156 -0
- package/claude-plugin/bb-status/hooks/hooks.json +1 -0
- package/claude-plugin/bb-status/hooks/register.js +992 -0
- package/daemon/bin/darwin-arm64/botbuddy-daemon +0 -0
- package/daemon/bin/linux-x64/botbuddy-daemon +0 -0
- package/daemon-release/darwin-arm64.json +4 -4
- package/daemon-release/linux-x64.json +4 -4
- package/daemon-release/manifest.json +5 -5
- package/package.json +7 -2
- package/src/commands.mjs +16 -1
- package/src/status-band-read.mjs +552 -0
- package/src/status-band-relay.mjs +104 -0
- package/src/status-band.mjs +126 -0
- package/src/update-check.mjs +15 -1
- package/src/wait-core.mjs +3 -0
- package/src/wait.mjs +3 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.68.1",
|
|
3
|
+
"source_commit": "910247e2ef698463c9c5e1e4949caac7c6bb343c",
|
|
4
|
+
"source_sha256": "cd971a2647c6424648a30ec47b69c5eff464f408888cd66b5ea9d23a37cf6b83",
|
|
5
5
|
"target": "darwin-arm64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "9cbc2b6f427cc6070f27492bd1693525bcbbc4dad66aacdd2d82c5fb7f64d834"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.68.1",
|
|
3
|
+
"source_commit": "910247e2ef698463c9c5e1e4949caac7c6bb343c",
|
|
4
|
+
"source_sha256": "cd971a2647c6424648a30ec47b69c5eff464f408888cd66b5ea9d23a37cf6b83",
|
|
5
5
|
"target": "linux-x64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "2ace98b6231c22ae2cf20940ef61c5d08df4ed6af7735f8109bc91fe829eb1fb"
|
|
7
7
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
|
-
"release_version": "1.
|
|
4
|
-
"source_commit": "
|
|
5
|
-
"source_sha256": "
|
|
3
|
+
"release_version": "1.68.1",
|
|
4
|
+
"source_commit": "910247e2ef698463c9c5e1e4949caac7c6bb343c",
|
|
5
|
+
"source_sha256": "cd971a2647c6424648a30ec47b69c5eff464f408888cd66b5ea9d23a37cf6b83",
|
|
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": "
|
|
11
|
+
"sha256": "9cbc2b6f427cc6070f27492bd1693525bcbbc4dad66aacdd2d82c5fb7f64d834",
|
|
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": "
|
|
18
|
+
"sha256": "2ace98b6231c22ae2cf20940ef61c5d08df4ed6af7735f8109bc91fe829eb1fb",
|
|
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.
|
|
3
|
+
"version": "1.68.1",
|
|
4
4
|
"description": "BotBuddy — Swarm coordination CLI for multi-agent workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,12 @@
|
|
|
20
20
|
"daemon/",
|
|
21
21
|
"daemon-release/",
|
|
22
22
|
"src/",
|
|
23
|
-
"!src/**/*.test.mjs"
|
|
23
|
+
"!src/**/*.test.mjs",
|
|
24
|
+
"claude-plugin/.claude-plugin/",
|
|
25
|
+
"claude-plugin/bb-status/.claude-plugin/",
|
|
26
|
+
"claude-plugin/bb-status/hooks/hooks.json",
|
|
27
|
+
"claude-plugin/bb-status/hooks/register.js",
|
|
28
|
+
"claude-plugin/bb-status/README.md"
|
|
24
29
|
],
|
|
25
30
|
"keywords": [
|
|
26
31
|
"mcp",
|
package/src/commands.mjs
CHANGED
|
@@ -20,6 +20,7 @@ import { cmdTest } from "./test-lane.mjs";
|
|
|
20
20
|
import { cmdEvidence } from "./evidence.mjs";
|
|
21
21
|
import { cmdFeedback } from "./feedback.mjs";
|
|
22
22
|
import { cmdReleaseNotes } from "./release-notes.mjs";
|
|
23
|
+
import { cmdStatusBand, installStatusBand, statusBandLine } from "./status-band.mjs";
|
|
23
24
|
import { runWait } from "./wait.mjs";
|
|
24
25
|
import { SETUP_BLOCK } from "./setup-block.mjs";
|
|
25
26
|
import { green, red, cyan, dim, bold, die } from "./utils.mjs";
|
|
@@ -64,7 +65,7 @@ export function shouldCheckForUpdates(argv) {
|
|
|
64
65
|
export const LOCAL_HELP_COMMANDS = Object.freeze([
|
|
65
66
|
"wait", "stack", "pw", "docker", "run", "mcp", "login", "setup", "doctor", "host",
|
|
66
67
|
"staging-pool", "daemon", "evidence", "feedback", "usage", "telemetry", "allocation",
|
|
67
|
-
"release-notes",
|
|
68
|
+
"release-notes", "status-band",
|
|
68
69
|
]);
|
|
69
70
|
const HELP_WORDS = new Set(["help", "--help", "-h"]);
|
|
70
71
|
|
|
@@ -147,6 +148,8 @@ export async function run(argv, {
|
|
|
147
148
|
case "feedback": return cmdFeedback(args);
|
|
148
149
|
// BOT-3156: governed release notes (submit one note through submit_release_note).
|
|
149
150
|
case "release-notes": return cmdReleaseNotes(args);
|
|
151
|
+
// BOT-3152: the bb-status band's host side (read/relay) and its Claude Code install.
|
|
152
|
+
case "status-band": return cmdStatusBand(args);
|
|
150
153
|
case "test-ingest": return cmdTestIngest(args);
|
|
151
154
|
case "wait": return runWait(args);
|
|
152
155
|
case "pw": return runPw(args);
|
|
@@ -335,6 +338,8 @@ ${bold("EVIDENCE")} (${cyan("bb help evidence")})
|
|
|
335
338
|
Prepare or send a BotBuddy issue report
|
|
336
339
|
release-notes submit <note.json>
|
|
337
340
|
Submit one release note for your tenant (stored as draft)
|
|
341
|
+
status-band install Install the bb-status band into Claude Code (bb setup does it)
|
|
342
|
+
status-band read|relay The band's own reads and live wake (run by the mod)
|
|
338
343
|
evidence require <file> Record an exact-head evidence disposition → botbuddy/ready
|
|
339
344
|
evidence publish <file> Publish a local evidence statement → botbuddy/ready check-run
|
|
340
345
|
|
|
@@ -845,6 +850,8 @@ export async function cmdSetup(args, {
|
|
|
845
850
|
selfHeal = selfHealAgentSession,
|
|
846
851
|
callerResolver = resolveCaller,
|
|
847
852
|
usageAgent = installUsageAgent,
|
|
853
|
+
// BOT-3152: setup also installs the bb-status band into Claude Code, once.
|
|
854
|
+
statusBand = installStatusBand,
|
|
848
855
|
// BOT-2599: setup also gives this clone's SSH push transport a keepalive.
|
|
849
856
|
gitTransport = async (opts) => checkGitTransport(opts),
|
|
850
857
|
cwd = process.cwd(),
|
|
@@ -959,6 +966,7 @@ export async function cmdSetup(args, {
|
|
|
959
966
|
}
|
|
960
967
|
log(`bb setup: ${tenant} is ready (${session.source} worktree session). Run bb wait '<condition>'.`);
|
|
961
968
|
await reportGitTransport(gitTransport, { cwd, env, log });
|
|
969
|
+
await reportStatusBand(statusBand, { log });
|
|
962
970
|
await reportUsageAgent(usageAgent, { cwd, log });
|
|
963
971
|
return 0;
|
|
964
972
|
} catch (error) {
|
|
@@ -967,6 +975,13 @@ export async function cmdSetup(args, {
|
|
|
967
975
|
}
|
|
968
976
|
}
|
|
969
977
|
|
|
978
|
+
// BOT-3152: never fails setup — the worktree session is ready either way.
|
|
979
|
+
async function reportStatusBand(statusBand, { log }) {
|
|
980
|
+
let result;
|
|
981
|
+
try { result = await statusBand(); } catch (error) { result = { status: "failed", reason: error?.code ?? "install_failed" }; }
|
|
982
|
+
log(`bb setup: ${statusBandLine(result)}`);
|
|
983
|
+
}
|
|
984
|
+
|
|
970
985
|
// BOT-1021: setup also (re)installs the daily usage sweep. Never fails setup —
|
|
971
986
|
// the worktree session is ready either way; the line says what happened.
|
|
972
987
|
async function reportUsageAgent(usageAgent, { cwd, log }) {
|