@botbuddy/cli 1.33.7 → 1.33.8
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/package.json +1 -1
- package/src/wait.mjs +8 -0
package/package.json
CHANGED
package/src/wait.mjs
CHANGED
|
@@ -356,6 +356,14 @@ async function registerWait(opts, conditions, deadlineIso) {
|
|
|
356
356
|
// wake-capable run for. The wait could only ever expire, and no amount of
|
|
357
357
|
// waiting repairs a typo — a hard stop, with the server's candidates.
|
|
358
358
|
"unknown_workflow",
|
|
359
|
+
// BOT-1612: a `chat:channel=<id>` wait whose bound agent is not one of the
|
|
360
|
+
// channel's participants could only ever park to timeout (the emitter never
|
|
361
|
+
// scopes a message to a non-participant). The relay refuses it at arm time;
|
|
362
|
+
// `chat_participant_ambiguous` means two of the caller's own live-session
|
|
363
|
+
// agents are participants and --session-id must pick one. Both are
|
|
364
|
+
// caller-actionable hard stops, not the untracked live-only fallback.
|
|
365
|
+
"chat_not_participant",
|
|
366
|
+
"chat_participant_ambiguous",
|
|
359
367
|
]);
|
|
360
368
|
if (INVALID_CONDITION_CODES.has(body.error)) {
|
|
361
369
|
const err = new Error(body.detail || body.error);
|