agent-comms 5.1.0 → 5.2.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +12 -5
- package/dist/bridges/user/tui.d.ts.map +1 -1
- package/dist/bridges/user/tui.js +2 -1
- package/dist/bridges/user/tui.js.map +1 -1
- package/dist/bridges/user/web/contract.d.ts +201 -13
- package/dist/bridges/user/web/contract.d.ts.map +1 -1
- package/dist/bridges/user/web/dist/bundle.js +1 -1
- package/dist/bridges/user/web/dist/mesh-worker.js +1 -1
- package/dist/bridges/user/web/dist/sw.js +1 -1
- package/dist/bridges/user/web/frontend/messages.d.ts.map +1 -1
- package/dist/bridges/user/web/frontend/messages.js +2 -1
- package/dist/bridges/user/web/frontend/messages.js.map +1 -1
- package/dist/bridges/user/web/frontend/tab-contract.d.ts +60 -4
- package/dist/bridges/user/web/frontend/tab-contract.d.ts.map +1 -1
- package/dist/bridges/user/web/frontend/types.d.ts +2 -2
- package/dist/bridges/user/web/frontend/types.d.ts.map +1 -1
- package/dist/bridges/user/web/router.d.ts +60 -4
- package/dist/bridges/user/web/router.d.ts.map +1 -1
- package/dist/core/bridge.d.ts.map +1 -1
- package/dist/core/bridge.js +2 -1
- package/dist/core/bridge.js.map +1 -1
- package/dist/core/comms-store.d.ts +18 -3
- package/dist/core/comms-store.d.ts.map +1 -1
- package/dist/core/delivery-engine.d.ts +3 -2
- package/dist/core/delivery-engine.d.ts.map +1 -1
- package/dist/core/delivery-engine.js +6 -4
- package/dist/core/delivery-engine.js.map +1 -1
- package/dist/core/gossip-directory.d.ts +3 -0
- package/dist/core/gossip-directory.d.ts.map +1 -1
- package/dist/core/gossip-directory.js +7 -0
- package/dist/core/gossip-directory.js.map +1 -1
- package/dist/core/mesh-store-shared.d.ts +3 -0
- package/dist/core/mesh-store-shared.d.ts.map +1 -1
- package/dist/core/mesh-store-shared.js +8 -0
- package/dist/core/mesh-store-shared.js.map +1 -1
- package/dist/core/mesh-store.d.ts +5 -5
- package/dist/core/mesh-store.d.ts.map +1 -1
- package/dist/core/mesh-store.js +11 -38
- package/dist/core/mesh-store.js.map +1 -1
- package/dist/core/room-messaging.d.ts +8 -4
- package/dist/core/room-messaging.d.ts.map +1 -1
- package/dist/core/room-messaging.js +41 -18
- package/dist/core/room-messaging.js.map +1 -1
- package/dist/core/room-protocol.d.ts +17 -6
- package/dist/core/room-protocol.d.ts.map +1 -1
- package/dist/core/room-protocol.js +100 -18
- package/dist/core/room-protocol.js.map +1 -1
- package/dist/core/send-outcome.d.ts +28 -0
- package/dist/core/send-outcome.d.ts.map +1 -0
- package/dist/core/send-outcome.js +49 -0
- package/dist/core/send-outcome.js.map +1 -0
- package/dist/core/store.d.ts +4 -4
- package/dist/core/store.d.ts.map +1 -1
- package/dist/core/store.js +11 -2
- package/dist/core/store.js.map +1 -1
- package/dist/core/test/bridge.unit.test.js +1 -1
- package/dist/core/test/bridge.unit.test.js.map +1 -1
- package/dist/core/tool.d.ts.map +1 -1
- package/dist/core/tool.js +19 -5
- package/dist/core/tool.js.map +1 -1
- package/dist/core/transport-events.d.ts +19 -0
- package/dist/core/transport-events.d.ts.map +1 -0
- package/dist/core/transport-events.js +46 -0
- package/dist/core/transport-events.js.map +1 -0
- package/dist/core/transport.d.ts +4 -0
- package/dist/core/transport.d.ts.map +1 -1
- package/dist/core/types.d.ts +90 -7
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +23 -3
- package/dist/core/types.js.map +1 -1
- package/dist/core/wire-mesh-transport.d.ts.map +1 -1
- package/dist/core/wire-mesh-transport.js +4 -3
- package/dist/core/wire-mesh-transport.js.map +1 -1
- package/dist/test/agent-comms-version-gossip.integration.test.js +1 -0
- package/dist/test/agent-comms-version-gossip.integration.test.js.map +1 -1
- package/dist/test/agent-self-gossip.integration.test.js +1 -0
- package/dist/test/agent-self-gossip.integration.test.js.map +1 -1
- package/dist/test/become-coordinator-actual-port.integration.test.js +1 -0
- package/dist/test/become-coordinator-actual-port.integration.test.js.map +1 -1
- package/dist/test/cc-peer-fronted-approval.integration.test.js +1 -1
- package/dist/test/cc-peer-fronted-approval.integration.test.js.map +1 -1
- package/dist/test/data-sync-frame-handling.integration.test.js +1 -0
- package/dist/test/data-sync-frame-handling.integration.test.js.map +1 -1
- package/dist/test/delivery-engine-delivery.unit.test.js +2 -2
- package/dist/test/delivery-engine-delivery.unit.test.js.map +1 -1
- package/dist/test/delivery-engine-directed-notify.unit.test.js +2 -2
- package/dist/test/delivery-engine-directed-notify.unit.test.js.map +1 -1
- package/dist/test/delivery-receipt.helper.js +3 -3
- package/dist/test/delivery-receipt.helper.js.map +1 -1
- package/dist/test/dm-delivery-status.integration.test.d.ts +5 -0
- package/dist/test/dm-delivery-status.integration.test.d.ts.map +1 -0
- package/dist/test/dm-delivery-status.integration.test.js +77 -0
- package/dist/test/dm-delivery-status.integration.test.js.map +1 -0
- package/dist/test/dm-first-contact.integration.test.js +3 -3
- package/dist/test/dm-first-contact.integration.test.js.map +1 -1
- package/dist/test/gateway-forwarding.integration.test.js +2 -2
- package/dist/test/gateway-forwarding.integration.test.js.map +1 -1
- package/dist/test/gateway-trust.integration.test.js +1 -1
- package/dist/test/gateway-trust.integration.test.js.map +1 -1
- package/dist/test/gossip-directory-aggregation.integration.test.js +1 -0
- package/dist/test/gossip-directory-aggregation.integration.test.js.map +1 -1
- package/dist/test/gossip-listener-addresses.integration.test.js +1 -0
- package/dist/test/gossip-listener-addresses.integration.test.js.map +1 -1
- package/dist/test/hosted-rooms-gossip.integration.test.js +1 -0
- package/dist/test/hosted-rooms-gossip.integration.test.js.map +1 -1
- package/dist/test/hub-mode-session.integration.test.js +1 -0
- package/dist/test/hub-mode-session.integration.test.js.map +1 -1
- package/dist/test/hub-session-dispatch.unit.test.js +1 -0
- package/dist/test/hub-session-dispatch.unit.test.js.map +1 -1
- package/dist/test/hub-todevice-routing.integration.test.js +2 -2
- package/dist/test/hub-todevice-routing.integration.test.js.map +1 -1
- package/dist/test/listener-policy.integration.test.js +1 -0
- package/dist/test/listener-policy.integration.test.js.map +1 -1
- package/dist/test/mesh-graph-trace.integration.test.js +1 -0
- package/dist/test/mesh-graph-trace.integration.test.js.map +1 -1
- package/dist/test/presence-readvertise.integration.test.js +1 -0
- package/dist/test/presence-readvertise.integration.test.js.map +1 -1
- package/dist/test/query-version.integration.test.js +4 -2
- package/dist/test/query-version.integration.test.js.map +1 -1
- package/dist/test/room-join-approval-timeout.integration.test.js +1 -1
- package/dist/test/room-join-approval-timeout.integration.test.js.map +1 -1
- package/dist/test/room-messaging-durable-send.unit.test.js +3 -1
- package/dist/test/room-messaging-durable-send.unit.test.js.map +1 -1
- package/dist/test/room-messaging.unit.test.js +106 -15
- package/dist/test/room-messaging.unit.test.js.map +1 -1
- package/dist/test/room-protocol-admission.unit.test.js +9 -161
- package/dist/test/room-protocol-admission.unit.test.js.map +1 -1
- package/dist/test/room-protocol-retry-queue.unit.test.d.ts +2 -0
- package/dist/test/room-protocol-retry-queue.unit.test.d.ts.map +1 -0
- package/dist/test/room-protocol-retry-queue.unit.test.js +275 -0
- package/dist/test/room-protocol-retry-queue.unit.test.js.map +1 -0
- package/dist/test/room-protocol.helper.d.ts +60 -0
- package/dist/test/room-protocol.helper.d.ts.map +1 -0
- package/dist/test/room-protocol.helper.js +168 -0
- package/dist/test/room-protocol.helper.js.map +1 -0
- package/dist/test/room-protocol.unit.test.js +4 -159
- package/dist/test/room-protocol.unit.test.js.map +1 -1
- package/dist/test/room-read-directed.integration.test.js +3 -2
- package/dist/test/room-read-directed.integration.test.js.map +1 -1
- package/dist/test/room-router.unit.test.js +1 -0
- package/dist/test/room-router.unit.test.js.map +1 -1
- package/dist/test/send-outcome.unit.test.d.ts +2 -0
- package/dist/test/send-outcome.unit.test.d.ts.map +1 -0
- package/dist/test/send-outcome.unit.test.js +52 -0
- package/dist/test/send-outcome.unit.test.js.map +1 -0
- package/dist/test/wire-mesh-transport-gateway-trust.integration.test.js +4 -2
- package/dist/test/wire-mesh-transport-gateway-trust.integration.test.js.map +1 -1
- package/dist/test/wire-mesh-transport-hub.integration.test.js +1 -0
- package/dist/test/wire-mesh-transport-hub.integration.test.js.map +1 -1
- package/dist/test/wire-mesh-transport-shutdown-unref.integration.test.js +1 -0
- package/dist/test/wire-mesh-transport-shutdown-unref.integration.test.js.map +1 -1
- package/dist/test/wire-mesh-transport.integration.test.js +1 -0
- package/dist/test/wire-mesh-transport.integration.test.js.map +1 -1
- package/dist/test/wss-remote-connect.integration.test.js +1 -0
- package/dist/test/wss-remote-connect.integration.test.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/ExaDev/agent-comms)
|
|
4
4
|
[](https://www.npmjs.com/package/agent-comms)
|
|
5
|
-
[](https://github.com/ExaDev/agent-comms/releases/tag/v5.2.0)
|
|
6
6
|
[](https://github.com/ExaDev/agent-comms/actions)
|
|
7
7
|
|
|
8
8
|
Cross-harness communication mesh for LLM agents: rooms, DMs, presence, and visibility over TCP with zero filesystem dependencies.
|
|
@@ -292,6 +292,10 @@ The web server (whichever port `tryStartWebServer` picked for that bridge) then
|
|
|
292
292
|
|
|
293
293
|
The first `dm` to an agent asks that agent for access before anything is sent: the call waits while the recipient's agent is told about the request (a `room_join_request` event, listed by `room_pending`) and answers it with `room_accept` or `room_reject`. Once accepted, later messages go straight through, and the recipient's own replies need no second decision. A refused request, or one nobody answers within the approval window, makes `dm` fail and nothing is recorded as sent.
|
|
294
294
|
|
|
295
|
+
`dm` tells you what actually became of the message rather than always wording it as a delivery. A message the recipient's own device accepted comes back as delivered. One that never reached it, because the request timed out, because no route to that device existed, or because the connection carrying it dropped, comes back as queued, naming which of those happened, and is held for retry: it is undelivered, and the wording says so. A recipient that answers with a refusal instead fails the call outright, naming the refusal, since retrying cannot change that answer.
|
|
296
|
+
|
|
297
|
+
A queued message is retried whenever a route to its recipient appears again, whether that is a direct connection or the relay hub admitting the device, and the sender is told through the same `delivery_status` event that carries read receipts. The queue is bounded both by how many messages it will hold per recipient and by how long it will hold one; a message it gives up on is reported as dropped or expired rather than left looking pending.
|
|
298
|
+
|
|
295
299
|
To let a device DM you without deciding on the spot, admit it ahead of time. `dm_admit` with that device's id returns a grant and the exact call to make with it; the sender then calls `dm_use_grant` with your device id and the grant, and their first DM goes through with no decision at your end. `dm_revoke` withdraws it. A grant only works for the device it was minted for, unless you pass `principal: true` and the other person's `Principal:` line from their `whoami`: then it admits every device that person runs, each of which presents the same grant text.
|
|
296
300
|
|
|
297
301
|
## Room types
|
|
@@ -359,10 +363,13 @@ sequenceDiagram
|
|
|
359
363
|
Mesh->>Mesh: broadcast message_read patch
|
|
360
364
|
```
|
|
361
365
|
|
|
362
|
-
| Moment
|
|
363
|
-
|
|
|
364
|
-
| Message queued for recipient
|
|
365
|
-
| Recipient's bridge consumes it
|
|
366
|
+
| Moment | Sender receives |
|
|
367
|
+
| ------------------------------------- | -------------------------------------------------------------------------------- |
|
|
368
|
+
| Message queued for recipient | `delivery_status { delivery: { status: "delivered" } }` |
|
|
369
|
+
| Recipient's bridge consumes it | `delivery_status { delivery: { status: "read" } }` |
|
|
370
|
+
| A queued message finally goes through | `delivery_status { delivery: { status: "delivered" } }` |
|
|
371
|
+
| A retry is met with a refusal | `delivery_status { delivery: { status: "refused", code } }` |
|
|
372
|
+
| The retry queue gives a message up | `delivery_status { delivery: { status: "dropped" } }` or `{ status: "expired" }` |
|
|
366
373
|
|
|
367
374
|
Read receipts fire when `onDelivery` is called (push bridges: pi, Claude Code) or when `drainDelivery` is called (drain bridges: MCP, Codex, OpenCode). Cross-peer read receipts propagate via a `message_read` mesh patch.
|
|
368
375
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../../src/bridges/user/tui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;
|
|
1
|
+
{"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../../src/bridges/user/tui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAuBH,wBAAsB,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiE5D"}
|
package/dist/bridges/user/tui.js
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import * as readline from "node:readline";
|
|
22
22
|
import { ChatController } from "./controller.js";
|
|
23
|
+
import { describeDeliveryFor } from "../../core/send-outcome.js";
|
|
23
24
|
// ANSI helpers
|
|
24
25
|
const BOLD = "\x1b[1m";
|
|
25
26
|
const DIM = "\x1b[2m";
|
|
@@ -240,7 +241,7 @@ function formatForTerminal(event) {
|
|
|
240
241
|
case "member_status":
|
|
241
242
|
return `${CYAN}● ${event.agent} is now ${event.status} in ${event.room}${RESET}`;
|
|
242
243
|
case "delivery_status":
|
|
243
|
-
return `${DIM}✓ Message ${event.messageId} ${event.
|
|
244
|
+
return `${DIM}✓ Message ${event.messageId} ${describeDeliveryFor(event.delivery, event.agent)}${RESET}`;
|
|
244
245
|
case "room_invite": {
|
|
245
246
|
const desc = event.roomDescription ? ` — ${event.roomDescription}` : "";
|
|
246
247
|
return `${CYAN}✉ ${event.fromName} invited you to "${event.room}"${desc}${RESET}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tui.js","sourceRoot":"","sources":["../../../src/bridges/user/tui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"tui.js","sourceRoot":"","sources":["../../../src/bridges/user/tui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KA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OAAO,GAAG,GAAG,cAAc,KAAK,CAAC,IAAI,KAAK,KAAK,GAAG,KAAK,EAAE,CAAC;QAC5D,CAAC;QACD,KAAK,cAAc;YACjB,OAAO,GAAG,IAAI,KAAK,KAAK,CAAC,OAAO,WAAW,KAAK,CAAC,OAAO,GAAG,KAAK,EAAE,CAAC;QACrE,KAAK,oBAAoB;YACvB,OAAO,GAAG,IAAI,8BAA8B,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,IAAI,IAAI,KAAK,EAAE,CAAC;QACrF,KAAK,oBAAoB;YACvB,OAAO,GAAG,IAAI,MAAM,KAAK,CAAC,eAAe,mBAAmB,KAAK,CAAC,UAAU,MAAM,KAAK,CAAC,SAAS,IAAI,KAAK,EAAE,CAAC;QAC/G,KAAK,mBAAmB;YACtB,OAAO,GAAG,IAAI,MAAM,KAAK,CAAC,WAAW,sBAAsB,KAAK,CAAC,IAAI,GAAG,KAAK,EAAE,CAAC;QAClF;YACE,OAAO,KAAqB,CAAC;IACjC,CAAC;AACH,CAAC"}
|
|
@@ -249,8 +249,38 @@ declare const MeshStatePatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
249
249
|
type: z.ZodLiteral<"delivery_status">;
|
|
250
250
|
messageId: z.ZodString;
|
|
251
251
|
agent: z.ZodString;
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
delivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
|
+
status: z.ZodLiteral<"delivered">;
|
|
254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
+
status: z.ZodLiteral<"read">;
|
|
256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
+
status: z.ZodLiteral<"queued">;
|
|
258
|
+
reason: z.ZodUnion<readonly [z.ZodLiteral<"timeout">, z.ZodLiteral<"not_connected">, z.ZodLiteral<"connection_lost">]> & {
|
|
259
|
+
is: (value: unknown) => value is "timeout" | "not_connected" | "connection_lost";
|
|
260
|
+
};
|
|
261
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
262
|
+
status: z.ZodLiteral<"refused">;
|
|
263
|
+
code: z.ZodString;
|
|
264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
265
|
+
status: z.ZodLiteral<"dropped">;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
status: z.ZodLiteral<"expired">;
|
|
268
|
+
}, z.core.$strip>], "status"> & {
|
|
269
|
+
is: (value: unknown) => value is {
|
|
270
|
+
status: "delivered";
|
|
271
|
+
} | {
|
|
272
|
+
status: "read";
|
|
273
|
+
} | {
|
|
274
|
+
status: "queued";
|
|
275
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
276
|
+
} | {
|
|
277
|
+
status: "refused";
|
|
278
|
+
code: string;
|
|
279
|
+
} | {
|
|
280
|
+
status: "dropped";
|
|
281
|
+
} | {
|
|
282
|
+
status: "expired";
|
|
283
|
+
};
|
|
254
284
|
};
|
|
255
285
|
room: z.ZodOptional<z.ZodString>;
|
|
256
286
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -338,7 +368,21 @@ declare const MeshStatePatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
338
368
|
type: "delivery_status";
|
|
339
369
|
messageId: string;
|
|
340
370
|
agent: string;
|
|
341
|
-
|
|
371
|
+
delivery: {
|
|
372
|
+
status: "delivered";
|
|
373
|
+
} | {
|
|
374
|
+
status: "read";
|
|
375
|
+
} | {
|
|
376
|
+
status: "queued";
|
|
377
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
378
|
+
} | {
|
|
379
|
+
status: "refused";
|
|
380
|
+
code: string;
|
|
381
|
+
} | {
|
|
382
|
+
status: "dropped";
|
|
383
|
+
} | {
|
|
384
|
+
status: "expired";
|
|
385
|
+
};
|
|
342
386
|
room?: string | undefined;
|
|
343
387
|
} | {
|
|
344
388
|
type: "invite_declined";
|
|
@@ -816,8 +860,38 @@ declare const MeshEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
816
860
|
type: z.ZodLiteral<"delivery_status">;
|
|
817
861
|
messageId: z.ZodString;
|
|
818
862
|
agent: z.ZodString;
|
|
819
|
-
|
|
820
|
-
|
|
863
|
+
delivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
864
|
+
status: z.ZodLiteral<"delivered">;
|
|
865
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
866
|
+
status: z.ZodLiteral<"read">;
|
|
867
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
868
|
+
status: z.ZodLiteral<"queued">;
|
|
869
|
+
reason: z.ZodUnion<readonly [z.ZodLiteral<"timeout">, z.ZodLiteral<"not_connected">, z.ZodLiteral<"connection_lost">]> & {
|
|
870
|
+
is: (value: unknown) => value is "timeout" | "not_connected" | "connection_lost";
|
|
871
|
+
};
|
|
872
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
873
|
+
status: z.ZodLiteral<"refused">;
|
|
874
|
+
code: z.ZodString;
|
|
875
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
876
|
+
status: z.ZodLiteral<"dropped">;
|
|
877
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
878
|
+
status: z.ZodLiteral<"expired">;
|
|
879
|
+
}, z.core.$strip>], "status"> & {
|
|
880
|
+
is: (value: unknown) => value is {
|
|
881
|
+
status: "delivered";
|
|
882
|
+
} | {
|
|
883
|
+
status: "read";
|
|
884
|
+
} | {
|
|
885
|
+
status: "queued";
|
|
886
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
887
|
+
} | {
|
|
888
|
+
status: "refused";
|
|
889
|
+
code: string;
|
|
890
|
+
} | {
|
|
891
|
+
status: "dropped";
|
|
892
|
+
} | {
|
|
893
|
+
status: "expired";
|
|
894
|
+
};
|
|
821
895
|
};
|
|
822
896
|
room: z.ZodOptional<z.ZodString>;
|
|
823
897
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -905,7 +979,21 @@ declare const MeshEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
905
979
|
type: "delivery_status";
|
|
906
980
|
messageId: string;
|
|
907
981
|
agent: string;
|
|
908
|
-
|
|
982
|
+
delivery: {
|
|
983
|
+
status: "delivered";
|
|
984
|
+
} | {
|
|
985
|
+
status: "read";
|
|
986
|
+
} | {
|
|
987
|
+
status: "queued";
|
|
988
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
989
|
+
} | {
|
|
990
|
+
status: "refused";
|
|
991
|
+
code: string;
|
|
992
|
+
} | {
|
|
993
|
+
status: "dropped";
|
|
994
|
+
} | {
|
|
995
|
+
status: "expired";
|
|
996
|
+
};
|
|
909
997
|
room?: string | undefined;
|
|
910
998
|
} | {
|
|
911
999
|
type: "invite_declined";
|
|
@@ -1031,8 +1119,38 @@ declare const MeshEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1031
1119
|
type: z.ZodLiteral<"delivery_status">;
|
|
1032
1120
|
messageId: z.ZodString;
|
|
1033
1121
|
agent: z.ZodString;
|
|
1034
|
-
|
|
1035
|
-
|
|
1122
|
+
delivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1123
|
+
status: z.ZodLiteral<"delivered">;
|
|
1124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1125
|
+
status: z.ZodLiteral<"read">;
|
|
1126
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1127
|
+
status: z.ZodLiteral<"queued">;
|
|
1128
|
+
reason: z.ZodUnion<readonly [z.ZodLiteral<"timeout">, z.ZodLiteral<"not_connected">, z.ZodLiteral<"connection_lost">]> & {
|
|
1129
|
+
is: (value: unknown) => value is "timeout" | "not_connected" | "connection_lost";
|
|
1130
|
+
};
|
|
1131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1132
|
+
status: z.ZodLiteral<"refused">;
|
|
1133
|
+
code: z.ZodString;
|
|
1134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1135
|
+
status: z.ZodLiteral<"dropped">;
|
|
1136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1137
|
+
status: z.ZodLiteral<"expired">;
|
|
1138
|
+
}, z.core.$strip>], "status"> & {
|
|
1139
|
+
is: (value: unknown) => value is {
|
|
1140
|
+
status: "delivered";
|
|
1141
|
+
} | {
|
|
1142
|
+
status: "read";
|
|
1143
|
+
} | {
|
|
1144
|
+
status: "queued";
|
|
1145
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
1146
|
+
} | {
|
|
1147
|
+
status: "refused";
|
|
1148
|
+
code: string;
|
|
1149
|
+
} | {
|
|
1150
|
+
status: "dropped";
|
|
1151
|
+
} | {
|
|
1152
|
+
status: "expired";
|
|
1153
|
+
};
|
|
1036
1154
|
};
|
|
1037
1155
|
room: z.ZodOptional<z.ZodString>;
|
|
1038
1156
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1120,7 +1238,21 @@ declare const MeshEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1120
1238
|
type: "delivery_status";
|
|
1121
1239
|
messageId: string;
|
|
1122
1240
|
agent: string;
|
|
1123
|
-
|
|
1241
|
+
delivery: {
|
|
1242
|
+
status: "delivered";
|
|
1243
|
+
} | {
|
|
1244
|
+
status: "read";
|
|
1245
|
+
} | {
|
|
1246
|
+
status: "queued";
|
|
1247
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
1248
|
+
} | {
|
|
1249
|
+
status: "refused";
|
|
1250
|
+
code: string;
|
|
1251
|
+
} | {
|
|
1252
|
+
status: "dropped";
|
|
1253
|
+
} | {
|
|
1254
|
+
status: "expired";
|
|
1255
|
+
};
|
|
1124
1256
|
room?: string | undefined;
|
|
1125
1257
|
} | {
|
|
1126
1258
|
type: "invite_declined";
|
|
@@ -1432,7 +1564,21 @@ export declare const meshContract: {
|
|
|
1432
1564
|
type: "delivery_status";
|
|
1433
1565
|
messageId: string;
|
|
1434
1566
|
agent: string;
|
|
1435
|
-
|
|
1567
|
+
delivery: {
|
|
1568
|
+
status: "delivered";
|
|
1569
|
+
} | {
|
|
1570
|
+
status: "read";
|
|
1571
|
+
} | {
|
|
1572
|
+
status: "queued";
|
|
1573
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
1574
|
+
} | {
|
|
1575
|
+
status: "refused";
|
|
1576
|
+
code: string;
|
|
1577
|
+
} | {
|
|
1578
|
+
status: "dropped";
|
|
1579
|
+
} | {
|
|
1580
|
+
status: "expired";
|
|
1581
|
+
};
|
|
1436
1582
|
room?: string | undefined;
|
|
1437
1583
|
} | {
|
|
1438
1584
|
type: "invite_declined";
|
|
@@ -1522,7 +1668,21 @@ export declare const meshContract: {
|
|
|
1522
1668
|
type: "delivery_status";
|
|
1523
1669
|
messageId: string;
|
|
1524
1670
|
agent: string;
|
|
1525
|
-
|
|
1671
|
+
delivery: {
|
|
1672
|
+
status: "delivered";
|
|
1673
|
+
} | {
|
|
1674
|
+
status: "read";
|
|
1675
|
+
} | {
|
|
1676
|
+
status: "queued";
|
|
1677
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
1678
|
+
} | {
|
|
1679
|
+
status: "refused";
|
|
1680
|
+
code: string;
|
|
1681
|
+
} | {
|
|
1682
|
+
status: "dropped";
|
|
1683
|
+
} | {
|
|
1684
|
+
status: "expired";
|
|
1685
|
+
};
|
|
1526
1686
|
room?: string | undefined;
|
|
1527
1687
|
} | {
|
|
1528
1688
|
type: "invite_declined";
|
|
@@ -1728,7 +1888,21 @@ export declare const meshContract: {
|
|
|
1728
1888
|
type: "delivery_status";
|
|
1729
1889
|
messageId: string;
|
|
1730
1890
|
agent: string;
|
|
1731
|
-
|
|
1891
|
+
delivery: {
|
|
1892
|
+
status: "delivered";
|
|
1893
|
+
} | {
|
|
1894
|
+
status: "read";
|
|
1895
|
+
} | {
|
|
1896
|
+
status: "queued";
|
|
1897
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
1898
|
+
} | {
|
|
1899
|
+
status: "refused";
|
|
1900
|
+
code: string;
|
|
1901
|
+
} | {
|
|
1902
|
+
status: "dropped";
|
|
1903
|
+
} | {
|
|
1904
|
+
status: "expired";
|
|
1905
|
+
};
|
|
1732
1906
|
room?: string | undefined;
|
|
1733
1907
|
} | {
|
|
1734
1908
|
type: "invite_declined";
|
|
@@ -1818,7 +1992,21 @@ export declare const meshContract: {
|
|
|
1818
1992
|
type: "delivery_status";
|
|
1819
1993
|
messageId: string;
|
|
1820
1994
|
agent: string;
|
|
1821
|
-
|
|
1995
|
+
delivery: {
|
|
1996
|
+
status: "delivered";
|
|
1997
|
+
} | {
|
|
1998
|
+
status: "read";
|
|
1999
|
+
} | {
|
|
2000
|
+
status: "queued";
|
|
2001
|
+
reason: "timeout" | "not_connected" | "connection_lost";
|
|
2002
|
+
} | {
|
|
2003
|
+
status: "refused";
|
|
2004
|
+
code: string;
|
|
2005
|
+
} | {
|
|
2006
|
+
status: "dropped";
|
|
2007
|
+
} | {
|
|
2008
|
+
status: "expired";
|
|
2009
|
+
};
|
|
1822
2010
|
room?: string | undefined;
|
|
1823
2011
|
} | {
|
|
1824
2012
|
type: "invite_declined";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/bridges/user/web/contract.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,QAAA,MAAM,kBAAkB;;;iBAGtB,CAAC;AAmBH,QAAA,MAAM,eAAe;;;;;;;;iBAGnB,CAAC;AAOH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;iBAOzB,CAAC;AAMH,QAAA,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/bridges/user/web/contract.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,QAAA,MAAM,kBAAkB;;;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