@botbuddy/cli 1.65.0 → 1.66.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/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/wait-core.mjs +12 -0
- package/src/wait.mjs +4 -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.66.0",
|
|
3
|
+
"source_commit": "6eb7fc060d0908254af17808ce9f110094386a2b",
|
|
4
|
+
"source_sha256": "fe2df8ccaaaf182e5e2ac8def3be1401adce09dd48a47ccc713ccb7afc04a7e8",
|
|
5
5
|
"target": "darwin-arm64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "e7c4da070c2c016743963605c408d7ebb1f16c8c36d304fe52045b7dfc9d9dd1"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.66.0",
|
|
3
|
+
"source_commit": "6eb7fc060d0908254af17808ce9f110094386a2b",
|
|
4
|
+
"source_sha256": "fe2df8ccaaaf182e5e2ac8def3be1401adce09dd48a47ccc713ccb7afc04a7e8",
|
|
5
5
|
"target": "linux-x64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "5e43e75f6a6b2143b00de322fe954811fbfb4f0cda694f80fd44fa3c39bbae3e"
|
|
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.66.0",
|
|
4
|
+
"source_commit": "6eb7fc060d0908254af17808ce9f110094386a2b",
|
|
5
|
+
"source_sha256": "fe2df8ccaaaf182e5e2ac8def3be1401adce09dd48a47ccc713ccb7afc04a7e8",
|
|
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": "e7c4da070c2c016743963605c408d7ebb1f16c8c36d304fe52045b7dfc9d9dd1",
|
|
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": "5e43e75f6a6b2143b00de322fe954811fbfb4f0cda694f80fd44fa3c39bbae3e",
|
|
19
19
|
"mode": "0755"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/package.json
CHANGED
package/src/wait-core.mjs
CHANGED
|
@@ -116,6 +116,9 @@ export const SIGNAL_TYPES = Object.freeze([
|
|
|
116
116
|
// It is intentionally consumed through the existing raw `event:` escape
|
|
117
117
|
// hatch rather than adding another parallel wait grammar.
|
|
118
118
|
"host_approval",
|
|
119
|
+
// BOT-3136: one signal per member-issue change of a Linear project (an epic),
|
|
120
|
+
// subject = the project's lower-case UUID. Tenant-primary like linear_issue.
|
|
121
|
+
"linear_project",
|
|
119
122
|
]);
|
|
120
123
|
|
|
121
124
|
const LOCK_SUBTYPES = Object.freeze(["playwright_lane", "vite_port", "backend_port", "supabase_local"]);
|
|
@@ -525,6 +528,15 @@ const VALIDATORS = {
|
|
|
525
528
|
if (p.type === "host_approval" && (!subject || !HOST_APPROVAL_HOST_KEY_RE.test(subject))) {
|
|
526
529
|
throw new Error("event:type=host_approval needs subject=<canonical bbh- host key>");
|
|
527
530
|
}
|
|
531
|
+
// BOT-3136: a project subject is its Linear UUID, matched exactly as the
|
|
532
|
+
// emitter writes it (lower-case), so normalize here and refuse anything else.
|
|
533
|
+
if (p.type === "linear_project") {
|
|
534
|
+
const id = subject ? subject.toLowerCase() : "";
|
|
535
|
+
if (!CANONICAL_UUID_RE.test(id)) {
|
|
536
|
+
throw new Error("event:type=linear_project needs subject=<Linear project UUID>");
|
|
537
|
+
}
|
|
538
|
+
return { type: p.type, subject: id };
|
|
539
|
+
}
|
|
528
540
|
return { type: p.type, subject };
|
|
529
541
|
},
|
|
530
542
|
};
|
package/src/wait.mjs
CHANGED
|
@@ -251,6 +251,10 @@ CONDITIONS (TYPE:key=val,key=val — repeat for several; --any wakes on the fir
|
|
|
251
251
|
event:type=host_approval,subject=bbh-<24 lowercase hex>;
|
|
252
252
|
it wakes only for the authenticated owner's one bound
|
|
253
253
|
tenant after current server-side approval revalidation.
|
|
254
|
+
Epic progress uses
|
|
255
|
+
event:type=linear_project,subject=<Linear project UUID>;
|
|
256
|
+
it wakes when any issue in that project changes, joins
|
|
257
|
+
or leaves it (the band's epic row, BOT-3136).
|
|
254
258
|
|
|
255
259
|
OPTIONS
|
|
256
260
|
Review intervention: exact-head Codex waits have a durable one-shot diagnostic.
|