@botbuddy/cli 1.78.3 → 1.79.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 +4 -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 +26 -1
- 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/src/status-band-read.mjs +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.79.0
|
|
4
|
+
|
|
5
|
+
- The bb-status band's STATUS line warns while the session's project has tickets with none of the Must, Unsure or Could labels (BOT-3263): an amber `⚠ 26 project tickets not categorised` with a ↗ to the project drawer filtered to them (`&progress=uncategorised`). The count is BB's `progress_uncategorised`; against an older MCP that does not send it there is no warning. The project row's badge is unchanged. bb-status plugin 1.6.0.
|
|
6
|
+
|
|
3
7
|
## 1.78.0
|
|
4
8
|
|
|
5
9
|
- `bb release-notes tags` lists the tenant's release-note tag groups: each group's rules, values, retired values and what the internal and external views show; `--json` prints the server's answer (BOT-3164). `tags group <key> [--label …] [--min n] [--max n] [--position n] [--internal-only] [--carries-version]`, `tags add|retire <group> <value>` and `tags view <group> --audience internal|external --show|--tag-only|--hide [--label …]` change them with your own sign-in (the manage scope). A refusal prints its code and changes nothing.
|
|
@@ -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.6.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.6.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"
|
|
@@ -141,7 +141,9 @@ function validProgress(p) {
|
|
|
141
141
|
return (
|
|
142
142
|
!!p &&
|
|
143
143
|
PROGRESS_KINDS.every(([k]) => Number.isSafeInteger(p[k]) && p[k] >= 0 && p[k] <= 100000) &&
|
|
144
|
-
p.unsure <= p.remaining
|
|
144
|
+
p.unsure <= p.remaining &&
|
|
145
|
+
// BOT-3263: optional (an older MCP does not send it).
|
|
146
|
+
(p.uncategorised === undefined || (Number.isSafeInteger(p.uncategorised) && p.uncategorised >= 0 && p.uncategorised <= 100000))
|
|
145
147
|
);
|
|
146
148
|
}
|
|
147
149
|
function countsText(c) {
|
|
@@ -1012,6 +1014,28 @@ function contextBadge(el, key) {
|
|
|
1012
1014
|
: el.Box({ key: key + "-ctx", flexDirection: "row", flexShrink: 0, backgroundColor: "error", paddingX: 1, children: [el.Text({ color: "#ffffff", bold: true, children: [alarm] })] }),
|
|
1013
1015
|
];
|
|
1014
1016
|
}
|
|
1017
|
+
// BOT-3263: an amber STATUS pill while live project tickets carry no Must /
|
|
1018
|
+
// Unsure / Could label (Linear "Commitment" tags), with a ↗ to the drawer
|
|
1019
|
+
// filtered to them. Nothing without the count (an older MCP) or at zero.
|
|
1020
|
+
const AMBER = "#b45309";
|
|
1021
|
+
function uncategorisedBadge(el, key, epic) {
|
|
1022
|
+
const n = epic?.progress?.uncategorised;
|
|
1023
|
+
if (!Number.isSafeInteger(n) || n < 1) return [];
|
|
1024
|
+
const text = "⚠ " + n + " project " + (n === 1 ? "ticket" : "tickets") + " not categorised";
|
|
1025
|
+
const link = el.Link({ href: LINKS.projectProgress(epic.id, "uncategorised"), label: "↗" });
|
|
1026
|
+
if (pills() && typeof el.Svg === "function")
|
|
1027
|
+
return [el.Box({ key: key + "-uncategorised", flexDirection: "row", flexShrink: 0, alignItems: "center", columnGap: 1, children: [pillSvg(el, { text, fill: AMBER, bold: true }), link] })];
|
|
1028
|
+
return [
|
|
1029
|
+
el.Box({
|
|
1030
|
+
key: key + "-uncategorised",
|
|
1031
|
+
flexDirection: "row",
|
|
1032
|
+
flexShrink: 0,
|
|
1033
|
+
backgroundColor: AMBER,
|
|
1034
|
+
paddingX: 1,
|
|
1035
|
+
children: [el.Text({ color: "#ffffff", bold: true, children: [text + " "] }), link],
|
|
1036
|
+
}),
|
|
1037
|
+
];
|
|
1038
|
+
}
|
|
1015
1039
|
// BOT-3245: statuses and waits are separate, titled rows on the tree's grid
|
|
1016
1040
|
// (Jono, 2026-11-15: "Staging green is a wait. Staging red is a status."). The
|
|
1017
1041
|
// title fills the id column; the badges start in the status-badge column and
|
|
@@ -1254,6 +1278,7 @@ function bandLines(el, $, inPane) {
|
|
|
1254
1278
|
const statuses = [
|
|
1255
1279
|
...(s.staging?.red ? [stagingBanner(el, $, k("line-staging"), s.staging.since, s.staging.release_manager)] : []),
|
|
1256
1280
|
...contextBadge(el, k("line-context")),
|
|
1281
|
+
...uncategorisedBadge(el, k("line-project"), s.epic),
|
|
1257
1282
|
];
|
|
1258
1283
|
const waitsRow = headerRow(el, k("line-waits"), TITLES.waits, widths.ids, waitBadges(el, k("line-context"), s.waits, currentTime));
|
|
1259
1284
|
const statusRow = headerRow(el, k("line-status"), TITLES.status, widths.ids, statuses);
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.79.0",
|
|
3
|
+
"source_commit": "926b867cc8a12c5cc7deca234e5b090757fab556",
|
|
4
|
+
"source_sha256": "05a2c737d49e584ec7edaa3568d94e40c49408c94e2fa8631186b97839f4693e",
|
|
5
5
|
"target": "darwin-arm64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "9713ffc2cf3f7e281ebdef89a9b3e3297aac8c8276b00a27d9b802af3b05fbfb"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.79.0",
|
|
3
|
+
"source_commit": "926b867cc8a12c5cc7deca234e5b090757fab556",
|
|
4
|
+
"source_sha256": "05a2c737d49e584ec7edaa3568d94e40c49408c94e2fa8631186b97839f4693e",
|
|
5
5
|
"target": "linux-x64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "51a3a649fd7f713592d020ceeb77155fd73ac83423fed5820d053d7d49902838"
|
|
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.79.0",
|
|
4
|
+
"source_commit": "926b867cc8a12c5cc7deca234e5b090757fab556",
|
|
5
|
+
"source_sha256": "05a2c737d49e584ec7edaa3568d94e40c49408c94e2fa8631186b97839f4693e",
|
|
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": "9713ffc2cf3f7e281ebdef89a9b3e3297aac8c8276b00a27d9b802af3b05fbfb",
|
|
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": "51a3a649fd7f713592d020ceeb77155fd73ac83423fed5820d053d7d49902838",
|
|
19
19
|
"mode": "0755"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/package.json
CHANGED
package/src/status-band-read.mjs
CHANGED
|
@@ -16,7 +16,10 @@ function mustUnsureProgress(src) {
|
|
|
16
16
|
const u = n(src?.progress_unsure);
|
|
17
17
|
const p = n(src?.progress_percent);
|
|
18
18
|
if (c === null || r === null || u === null || p === null || p > 100 || u > r) return null;
|
|
19
|
-
|
|
19
|
+
// BOT-3263: live tickets with no Must / Unsure / Could label (absent from an older MCP).
|
|
20
|
+
const x = n(src?.progress_uncategorised);
|
|
21
|
+
const progress = x === null ? { complete: c, remaining: r, unsure: u } : { complete: c, remaining: r, unsure: u, uncategorised: x };
|
|
22
|
+
return { progress, done: c, total: c + r, percent: p };
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
const execFileAsync = promisify(execFile);
|