@botbuddy/cli 1.126.0 → 1.127.0
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 +8 -0
- package/claude-plugin/.claude-plugin/marketplace.json +1 -1
- package/claude-plugin/bb-status/.claude-plugin/plugin.json +1 -1
- package/claude-plugin/bb-status/hooks/register.js +34 -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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.127.0
|
|
4
|
+
|
|
5
|
+
- BOT-3735: the daemon's test-child runner now runs `min(runner_limit, test_child.max_runs)` children at once. `runner_limit` is the host's control-plane setting (set in the /docker Manage drawer), answered on every `/test-child-runs/claim`; `test_child.max_runs` in the locked `daemon.json` becomes the host owner's ceiling; a block without it has a ceiling of 4. A missing, malformed or unreadable setting (including a failed claim, and a restart before the first claim) is 1, never the ceiling. The capability report carries the limit in force (`max_runs`) and the ceiling (`max_runs_ceiling`) and is re-sent on the next cycle after the limit changes. Each claim sends `live_runs`, so the server holds a run back once the live count reaches the setting; lowering the limit never stops a running child.
|
|
6
|
+
|
|
7
|
+
## 1.126.1
|
|
8
|
+
|
|
9
|
+
- BOT-3720: the Claude status band (1.13.0) shows a red **Fable** badge in its STATUS row while the session's selected model is Fable, read from the session at start, at each turn and on the band's 5 s display tick. Any other model, or a model that cannot be read, shows no badge.
|
|
10
|
+
|
|
3
11
|
## 1.126.0
|
|
4
12
|
|
|
5
13
|
- BOT-3262: `bb release-notes tour --release <version> [--customer <name>] [--out <file>]` prints a production release's internal testing tour as Markdown (version, commit and readiness as recorded; quick start; who checks what; numbered checks from each note's tour fields with a Pass / Issue / Not available result line; a change finder). `bb release-notes tour submit --release <version> <outline.json>` stores the release's `bbrn-tour-1` outline; an outline that names a note outside the release or leaves one out is refused with the notes listed.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"name": "bb-status",
|
|
12
12
|
"source": "./bb-status",
|
|
13
13
|
"description": "BB session status above the prompt: tickets, PRs with review counts, epic, staging, context use and active waits, for BotBuddy and Supply Guard sessions",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.13.0"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "bb-session",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bb-status",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "BB session status above the prompt: tickets, PRs with review counts, epic, staging, context use and active waits, live only while the session is on screen.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "BotBuddy"
|
|
@@ -43,6 +43,8 @@ let unbound = false;
|
|
|
43
43
|
// with the free `$.session.usage()` and then only from `session.measure`,
|
|
44
44
|
// which the engine pushes after each main-thread turn: never polled.
|
|
45
45
|
let context = null;
|
|
46
|
+
// BOT-3720: the main loop's model, as /model shows it; null when unread.
|
|
47
|
+
let model = null;
|
|
46
48
|
// BOT-3213: the tenant's ticket prefix the adapter named with ticket_missing.
|
|
47
49
|
let hintPrefix = null;
|
|
48
50
|
// BOT-3222: when this Claude session started, so the adapter leaves the
|
|
@@ -1259,6 +1261,32 @@ function contextBadge(el, key) {
|
|
|
1259
1261
|
: el.Box({ key: key + "-ctx", flexDirection: "row", flexShrink: 0, backgroundColor: "error", paddingX: 1, children: [el.Text({ color: "#ffffff", bold: true, children: [alarm] })] }),
|
|
1260
1262
|
];
|
|
1261
1263
|
}
|
|
1264
|
+
// BOT-3720: a red "Fable" pill while the session's model is Fable, or nothing.
|
|
1265
|
+
function isFable(m) {
|
|
1266
|
+
return typeof m === "string" && /fable/i.test(m);
|
|
1267
|
+
}
|
|
1268
|
+
function fableBadge(el, key) {
|
|
1269
|
+
if (!isFable(model)) return [];
|
|
1270
|
+
const text = "Fable";
|
|
1271
|
+
return [
|
|
1272
|
+
pills() && typeof el.Svg === "function"
|
|
1273
|
+
? el.Box({ key: key + "-fable", flexDirection: "row", flexShrink: 0, children: [pillSvg(el, { text, fill: RED, bold: true })] })
|
|
1274
|
+
: el.Box({ key: key + "-fable", flexDirection: "row", flexShrink: 0, backgroundColor: "error", paddingX: 1, children: [el.Text({ color: "#ffffff", bold: true, children: [text] })] }),
|
|
1275
|
+
];
|
|
1276
|
+
}
|
|
1277
|
+
// Re-reads the model; true when it changed. A failed read means no badge.
|
|
1278
|
+
async function readModel($) {
|
|
1279
|
+
let next = null;
|
|
1280
|
+
try {
|
|
1281
|
+
const m = await $.session.model();
|
|
1282
|
+
next = typeof m === "string" && m ? m : null;
|
|
1283
|
+
} catch {
|
|
1284
|
+
next = null;
|
|
1285
|
+
}
|
|
1286
|
+
const changed = isFable(next) !== isFable(model);
|
|
1287
|
+
model = next;
|
|
1288
|
+
return changed;
|
|
1289
|
+
}
|
|
1262
1290
|
// BOT-3263: an amber STATUS pill while live project tickets carry no Must /
|
|
1263
1291
|
// Unsure / Could label (Linear "Commitment" tags), with a ↗ to the drawer
|
|
1264
1292
|
// filtered to them. Nothing without the count (an older MCP) or at zero.
|
|
@@ -1618,6 +1646,8 @@ function bandLines(el, $, inPane) {
|
|
|
1618
1646
|
...(s.epic ? coordinatorBadge(el, $, k("line-coordinator"), s.epic.coordinator) : []),
|
|
1619
1647
|
...(s.staging?.red ? [stagingBanner(el, $, k("line-staging"), s.staging.since, s.staging.release_manager, LINKS.staging(s.tenant, s.staging.red_sha))] : []),
|
|
1620
1648
|
...contextBadge(el, k("line-context")),
|
|
1649
|
+
// BOT-3720: the costliest model, named where the operator looks.
|
|
1650
|
+
...fableBadge(el, k("line-model")),
|
|
1621
1651
|
...uncategorisedBadge(el, k("line-project"), s.epic),
|
|
1622
1652
|
// BOT-3501: whether a new session would join a host queue.
|
|
1623
1653
|
...dockerQueueBadge(el, k("line-status"), s.docker_queue),
|
|
@@ -1641,6 +1671,7 @@ export function register(on) {
|
|
|
1641
1671
|
if (timer) timer.cancel();
|
|
1642
1672
|
timer = $.clock.every(5000, async () => {
|
|
1643
1673
|
currentTime = await $.clock.now();
|
|
1674
|
+
await readModel($);
|
|
1644
1675
|
await followVisibility($);
|
|
1645
1676
|
$.ui.invalidate("ui.render");
|
|
1646
1677
|
});
|
|
@@ -1654,6 +1685,7 @@ export function register(on) {
|
|
|
1654
1685
|
parked = false;
|
|
1655
1686
|
sessionStartedAt = await $.clock.now();
|
|
1656
1687
|
await readContext($);
|
|
1688
|
+
await readModel($);
|
|
1657
1689
|
if (await onScreen($)) await refresh($);
|
|
1658
1690
|
else parked = true;
|
|
1659
1691
|
return next(e);
|
|
@@ -1693,6 +1725,7 @@ export function register(on) {
|
|
|
1693
1725
|
});
|
|
1694
1726
|
on("turn.start", async ($, e, next) => {
|
|
1695
1727
|
if (!e.agentId) {
|
|
1728
|
+
await readModel($);
|
|
1696
1729
|
activity = "Working";
|
|
1697
1730
|
$.ui.invalidate("ui.render");
|
|
1698
1731
|
}
|
|
@@ -1718,6 +1751,7 @@ export function register(on) {
|
|
|
1718
1751
|
parked = false;
|
|
1719
1752
|
unbound = false;
|
|
1720
1753
|
context = null;
|
|
1754
|
+
model = null;
|
|
1721
1755
|
pulsing = false;
|
|
1722
1756
|
pulseToken++;
|
|
1723
1757
|
if (timer) timer.cancel();
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.127.0",
|
|
3
|
+
"source_commit": "115081c5de6a562d6b6c9dc60f5cce1b6b1305e1",
|
|
4
|
+
"source_sha256": "c7fd7718cad44ab97bbf59a42b1d3a797cccdd6feac731318ac6ede564233bac",
|
|
5
5
|
"target": "darwin-arm64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "5e7391d24744a4bfbcb87d3871b9647e142a988f163e71df355c6ba72c71e3ad"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.127.0",
|
|
3
|
+
"source_commit": "115081c5de6a562d6b6c9dc60f5cce1b6b1305e1",
|
|
4
|
+
"source_sha256": "c7fd7718cad44ab97bbf59a42b1d3a797cccdd6feac731318ac6ede564233bac",
|
|
5
5
|
"target": "linux-x64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "86b34fe7ea2e942259b5cdb260fc0a280bf46cfc1d32c231d62ef67a8f65aafc"
|
|
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.127.0",
|
|
4
|
+
"source_commit": "115081c5de6a562d6b6c9dc60f5cce1b6b1305e1",
|
|
5
|
+
"source_sha256": "c7fd7718cad44ab97bbf59a42b1d3a797cccdd6feac731318ac6ede564233bac",
|
|
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": "5e7391d24744a4bfbcb87d3871b9647e142a988f163e71df355c6ba72c71e3ad",
|
|
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": "86b34fe7ea2e942259b5cdb260fc0a280bf46cfc1d32c231d62ef67a8f65aafc",
|
|
19
19
|
"mode": "0755"
|
|
20
20
|
}
|
|
21
21
|
}
|