benignswarm 0.12.37 → 0.12.38
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/dist/commands/watch.js +4 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/commands/watch.js
CHANGED
|
@@ -221,7 +221,10 @@ async function wakeOnce(name, exec, unackedAfter, followDelay, log, model, once)
|
|
|
221
221
|
`Reply in chat with bschat send, not here. Your role and the project's process: bschat me, bschat process.`,
|
|
222
222
|
].filter(Boolean).join("\n");
|
|
223
223
|
const total = u ? u.counts.messages + u.counts.items + u.counts.followed + u.counts.digest : 0;
|
|
224
|
-
|
|
224
|
+
// The one-line form ({summary}, what many Codex watchers send) must carry the number and the ack
|
|
225
|
+
// too, or an agent woken by it never acknowledges and is never woken again.
|
|
226
|
+
const line = `Wake-up #${seq} from your BenignSwarm watcher: run bschat wake ack ${seq} first, then read. ${operatorNew ? "A human operator wrote to you. " : ""}${summary}`;
|
|
227
|
+
if (!(await deliver(name, exec, wake, line, u ? u.tier : "process", total, log, operatorNew ? "operator message; " : "", seq)))
|
|
225
228
|
return;
|
|
226
229
|
writeState(name, {
|
|
227
230
|
...readState(name),
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = "0.12.
|
|
1
|
+
export const CLI_VERSION = "0.12.38";
|