@standardagents/builder 0.30.0 → 0.30.2
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/built-in-routes.js +9 -1
- package/dist/built-in-routes.js.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/runtime.js +11 -0
- package/dist/runtime.js.map +1 -1
- package/package.json +5 -5
package/dist/runtime.js
CHANGED
|
@@ -26912,6 +26912,17 @@ var DurableUserHub = class extends DurableObject {
|
|
|
26912
26912
|
this.clientInfo.delete(ws);
|
|
26913
26913
|
}
|
|
26914
26914
|
}
|
|
26915
|
+
const wakeEvent = JSON.stringify({
|
|
26916
|
+
event: "standardagents.wake",
|
|
26917
|
+
data: { thread_id: threadId }
|
|
26918
|
+
});
|
|
26919
|
+
for (const ws of this.streamSockets()) {
|
|
26920
|
+
try {
|
|
26921
|
+
ws.send(wakeEvent);
|
|
26922
|
+
delivered = true;
|
|
26923
|
+
} catch {
|
|
26924
|
+
}
|
|
26925
|
+
}
|
|
26915
26926
|
return { delivered };
|
|
26916
26927
|
}
|
|
26917
26928
|
// ─── Account-wide KV (sharded off the singleton) ───────────────────────────
|