@canonmsg/agent-sdk 3.2.4 → 3.2.5
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/realtime.js +7 -1
- package/package.json +2 -2
package/dist/realtime.js
CHANGED
|
@@ -211,7 +211,13 @@ export class RealtimeManager {
|
|
|
211
211
|
if (message.senderId === this.agentId)
|
|
212
212
|
continue;
|
|
213
213
|
const createdAtMs = messageCreatedAtMs(message.createdAt);
|
|
214
|
-
|
|
214
|
+
// Use a strict lower bound of `< lowerBoundMs` (not `<=`): a
|
|
215
|
+
// gap-dropped message can share the same createdAt millisecond as
|
|
216
|
+
// the last message seen over SSE (server timestamps collide under
|
|
217
|
+
// bursts — exactly the scenario catch-up targets). The id-dedupe on
|
|
218
|
+
// the next line suppresses the already-delivered boundary message,
|
|
219
|
+
// so excluding by `<=` would only drop never-seen same-ms peers.
|
|
220
|
+
if (!createdAtMs || createdAtMs < lowerBoundMs)
|
|
215
221
|
continue;
|
|
216
222
|
if (this.hasSeenInboundMessage(conversation.id, message.id))
|
|
217
223
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonmsg/agent-sdk",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
4
4
|
"description": "Canon Agent SDK — build AI agents that participate in Canon conversations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"node": ">=18.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@canonmsg/core": "^2.6.
|
|
31
|
+
"@canonmsg/core": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|