@joe-broadhead/messaging 0.7.0 → 0.8.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.
Files changed (97) hide show
  1. package/CHANGELOG.md +259 -2
  2. package/dist/bin/messaging-mcp.js +5484 -3858
  3. package/dist/bin/messaging-relay.js +4728 -1136
  4. package/dist/bin/messaging.js +4616 -2807
  5. package/dist/bin/messagingd.js +16451 -9444
  6. package/dist/lib/modules/core/agent/operations.js +19 -327
  7. package/dist/lib/modules/core/agent/present.js +15 -55
  8. package/dist/lib/modules/core/agent-tools.js +46 -143
  9. package/dist/lib/modules/core/consent.js +1 -1
  10. package/dist/lib/modules/core/conversation/context.js +80 -0
  11. package/dist/lib/modules/core/conversation/event.js +125 -0
  12. package/dist/lib/modules/core/conversation/guest-invitation.js +42 -0
  13. package/dist/lib/modules/core/conversation/ids.js +38 -0
  14. package/dist/lib/modules/core/conversation/link.js +35 -0
  15. package/dist/lib/modules/core/conversation/log.js +988 -0
  16. package/dist/lib/modules/core/conversation/ratchet.js +243 -0
  17. package/dist/lib/modules/core/conversation/request-log.js +158 -0
  18. package/dist/lib/modules/core/conversation/request-seal.js +41 -0
  19. package/dist/lib/modules/core/conversation/requests.js +87 -0
  20. package/dist/lib/modules/core/conversation/seal.js +251 -0
  21. package/dist/lib/modules/core/conversation-agent-tools.js +69 -0
  22. package/dist/lib/modules/core/federation/directory-proof.js +83 -0
  23. package/dist/lib/modules/core/federation/proof-state.js +167 -0
  24. package/dist/lib/modules/core/federation/roster-proof.js +74 -0
  25. package/dist/lib/modules/core/index.js +16 -2
  26. package/dist/lib/modules/core/jelly-host.js +5 -5
  27. package/dist/lib/modules/core/schema/common.js +85 -3
  28. package/dist/lib/modules/core/schema/consent.js +5 -4
  29. package/dist/lib/modules/core/schema/contact-request.js +22 -0
  30. package/dist/lib/modules/core/schema/conv-frames.js +94 -0
  31. package/dist/lib/modules/core/schema/conversation.js +326 -0
  32. package/dist/lib/modules/core/schema/envelope.js +8 -24
  33. package/dist/lib/modules/core/schema/errors.js +42 -2
  34. package/dist/lib/modules/core/schema/guest-invitation.js +13 -0
  35. package/dist/lib/modules/core/schema/index.js +6 -0
  36. package/dist/lib/modules/core/schema/ipc/consent.js +13 -9
  37. package/dist/lib/modules/core/schema/ipc/conversation-views.js +80 -0
  38. package/dist/lib/modules/core/schema/ipc/conversations.js +128 -0
  39. package/dist/lib/modules/core/schema/ipc/device.js +2 -0
  40. package/dist/lib/modules/core/schema/ipc/jelly.js +3 -38
  41. package/dist/lib/modules/core/schema/ipc/shapes.js +14 -72
  42. package/dist/lib/modules/core/schema/ipc/surfaces.js +12 -195
  43. package/dist/lib/modules/core/schema/ipc/tasks.js +31 -0
  44. package/dist/lib/modules/core/schema/ipc.js +18 -44
  45. package/dist/lib/modules/core/testing.js +1 -0
  46. package/dist/lib/modules/core/version.js +1 -1
  47. package/dist/lib/modules/ipc/client.js +10 -2
  48. package/dist/lib/modules/ipc/server.js +14 -5
  49. package/dist/lib/modules/ipc/testing.js +13 -23
  50. package/dist/spec/messaging-v1.md +835 -380
  51. package/dist/third-party-notices.md +1 -1
  52. package/dist/third-party.json +1 -1
  53. package/dist/types/core/agent/operations.d.ts +5 -52
  54. package/dist/types/core/agent/present.d.ts +6 -21
  55. package/dist/types/core/agent-tools.d.ts +277 -438
  56. package/dist/types/core/conversation/context.d.ts +56 -0
  57. package/dist/types/core/conversation/event.d.ts +36 -0
  58. package/dist/types/core/conversation/guest-invitation.d.ts +8 -0
  59. package/dist/types/core/conversation/ids.d.ts +18 -0
  60. package/dist/types/core/conversation/link.d.ts +16 -0
  61. package/dist/types/core/conversation/log.d.ts +157 -0
  62. package/dist/types/core/conversation/ratchet.d.ts +95 -0
  63. package/dist/types/core/conversation/request-log.d.ts +24 -0
  64. package/dist/types/core/conversation/request-seal.d.ts +6 -0
  65. package/dist/types/core/conversation/requests.d.ts +14 -0
  66. package/dist/types/core/conversation/seal.d.ts +70 -0
  67. package/dist/types/core/conversation-agent-tools.d.ts +918 -0
  68. package/dist/types/core/federation/directory-proof.d.ts +8 -0
  69. package/dist/types/core/federation/proof-state.d.ts +114 -0
  70. package/dist/types/core/federation/roster-proof.d.ts +7 -0
  71. package/dist/types/core/index.d.ts +15 -3
  72. package/dist/types/core/jelly-host.d.ts +1 -1
  73. package/dist/types/core/schema/common.d.ts +85 -4
  74. package/dist/types/core/schema/consent.d.ts +7 -7
  75. package/dist/types/core/schema/contact-request.d.ts +264 -0
  76. package/dist/types/core/schema/conv-frames.d.ts +1200 -0
  77. package/dist/types/core/schema/conversation.d.ts +2803 -0
  78. package/dist/types/core/schema/envelope.d.ts +89 -130
  79. package/dist/types/core/schema/errors.d.ts +40 -0
  80. package/dist/types/core/schema/guest-invitation.d.ts +51 -0
  81. package/dist/types/core/schema/index.d.ts +6 -0
  82. package/dist/types/core/schema/ipc/consent.d.ts +89 -49
  83. package/dist/types/core/schema/ipc/conversation-views.d.ts +1023 -0
  84. package/dist/types/core/schema/ipc/conversations.d.ts +3987 -0
  85. package/dist/types/core/schema/ipc/device.d.ts +10 -0
  86. package/dist/types/core/schema/ipc/jelly.d.ts +2 -105
  87. package/dist/types/core/schema/ipc/shapes.d.ts +16 -95
  88. package/dist/types/core/schema/ipc/surfaces.d.ts +28 -424
  89. package/dist/types/core/schema/ipc/tasks.d.ts +208 -0
  90. package/dist/types/core/schema/ipc.d.ts +2684 -523
  91. package/dist/types/core/schema/relay.d.ts +20 -4
  92. package/dist/types/core/testing.d.ts +1 -0
  93. package/dist/types/core/version.d.ts +1 -1
  94. package/dist/types/ipc/client.d.ts +4 -1
  95. package/dist/types/ipc/server.d.ts +10 -1
  96. package/dist/types/ipc/testing.d.ts +21 -8
  97. package/package.json +1 -1
@@ -3,11 +3,11 @@
3
3
  * socket refuses them, and agents never set or read a person's grants. Spread into `IPC_METHODS`.
4
4
  */
5
5
  import { z } from "zod";
6
- /** A grant's subject as a person names it: a person, or a channel by its name here. */
6
+ /** A grant's subject: a person, or a verified conversation id. */
7
7
  export declare const GrantTarget: z.ZodUnion<readonly [z.ZodObject<{
8
8
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
9
9
  }, z.core.$strict>, z.ZodObject<{
10
- channel: z.ZodString;
10
+ conv: z.ZodString;
11
11
  }, z.core.$strict>]>;
12
12
  export type GrantTarget = z.infer<typeof GrantTarget>;
13
13
  /** A grant as this device holds it. A channel subject carries the channel's id and, while this person is in it, its name here. */
@@ -26,33 +26,31 @@ export declare const GrantView: z.ZodObject<{
26
26
  blocked: "blocked";
27
27
  }>>;
28
28
  ask: z.ZodOptional<z.ZodEnum<{
29
- open: "open";
30
29
  request: "request";
30
+ open: "open";
31
31
  no: "no";
32
32
  }>>;
33
33
  trustedUntil: z.ZodOptional<z.ZodNumber>;
34
34
  discoverable: z.ZodOptional<z.ZodBoolean>;
35
35
  subject: z.ZodUnion<readonly [z.ZodObject<{
36
36
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
37
- }, z.core.$strip>, z.ZodObject<{
38
- channel: z.ZodString;
39
- name: z.ZodOptional<z.ZodString>;
40
- }, z.core.$strip>]>;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ conv: z.ZodString;
39
+ }, z.core.$strict>]>;
41
40
  }, z.core.$strip>;
42
41
  export type GrantView = z.infer<typeof GrantView>;
43
42
  /** Widening levels that lapsed with their signer, waiting for the person to set them again (spec §6.9, "Signers"). */
44
43
  export declare const GrantReview: z.ZodObject<{
45
44
  subject: z.ZodUnion<readonly [z.ZodObject<{
46
45
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
47
- }, z.core.$strip>, z.ZodObject<{
48
- channel: z.ZodString;
49
- name: z.ZodOptional<z.ZodString>;
50
- }, z.core.$strip>]>;
46
+ }, z.core.$strict>, z.ZodObject<{
47
+ conv: z.ZodString;
48
+ }, z.core.$strict>]>;
51
49
  chat: z.ZodOptional<z.ZodLiteral<"open">>;
52
50
  agentMail: z.ZodOptional<z.ZodLiteral<"open">>;
53
51
  ask: z.ZodOptional<z.ZodEnum<{
54
- open: "open";
55
52
  request: "request";
53
+ open: "open";
56
54
  }>>;
57
55
  trustedUntil: z.ZodOptional<z.ZodNumber>;
58
56
  discoverable: z.ZodOptional<z.ZodLiteral<true>>;
@@ -75,8 +73,8 @@ export declare const GrantSetParams: z.ZodObject<{
75
73
  blocked: "blocked";
76
74
  }>>;
77
75
  ask: z.ZodOptional<z.ZodEnum<{
78
- open: "open";
79
76
  request: "request";
77
+ open: "open";
80
78
  no: "no";
81
79
  }>>;
82
80
  trustedUntil: z.ZodOptional<z.ZodNumber>;
@@ -84,7 +82,7 @@ export declare const GrantSetParams: z.ZodObject<{
84
82
  subject: z.ZodUnion<readonly [z.ZodObject<{
85
83
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
86
84
  }, z.core.$strict>, z.ZodObject<{
87
- channel: z.ZodString;
85
+ conv: z.ZodString;
88
86
  }, z.core.$strict>]>;
89
87
  }, z.core.$strict>;
90
88
  export type GrantSetParams = z.infer<typeof GrantSetParams>;
@@ -115,10 +113,17 @@ export type AskRequest = z.infer<typeof AskRequest>;
115
113
  export declare const ContactRequestView: z.ZodObject<{
116
114
  id: z.ZodString;
117
115
  kind: z.ZodLiteral<"contact">;
116
+ cid: z.ZodOptional<z.ZodString>;
117
+ state: z.ZodEnum<{
118
+ accepted: "accepted";
119
+ pending: "pending";
120
+ answering: "answering";
121
+ resend: "resend";
122
+ }>;
118
123
  from: z.ZodObject<{
119
124
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
120
125
  device: z.ZodString;
121
- label: z.ZodString;
126
+ label: z.ZodOptional<z.ZodString>;
122
127
  name: z.ZodString;
123
128
  email: z.ZodOptional<z.ZodString>;
124
129
  org: z.ZodEnum<{
@@ -132,6 +137,15 @@ export declare const ContactRequestView: z.ZodObject<{
132
137
  exp: z.ZodNumber;
133
138
  }, z.core.$strip>;
134
139
  export type ContactRequestView = z.infer<typeof ContactRequestView>;
140
+ export declare const AgentInvitationRequest: z.ZodObject<{
141
+ kind: z.ZodLiteral<"agent-invitation">;
142
+ id: z.ZodString;
143
+ cid: z.ZodString;
144
+ from: z.ZodString;
145
+ to: z.ZodString;
146
+ at: z.ZodNumber;
147
+ }, z.core.$strict>;
148
+ export type AgentInvitationRequest = z.infer<typeof AgentInvitationRequest>;
135
149
  /**
136
150
  * A contact one of this person's agents asks them to make (spec §6.9, "Message requests"): `send {to: "me", request:
137
151
  * {contact}}`. Only the person sends a message request, with `contact.request`; answering this one `decline`
@@ -166,10 +180,17 @@ export declare const HeldRequest: z.ZodUnion<readonly [z.ZodObject<{
166
180
  }, z.core.$strip>, z.ZodObject<{
167
181
  id: z.ZodString;
168
182
  kind: z.ZodLiteral<"contact">;
183
+ cid: z.ZodOptional<z.ZodString>;
184
+ state: z.ZodEnum<{
185
+ accepted: "accepted";
186
+ pending: "pending";
187
+ answering: "answering";
188
+ resend: "resend";
189
+ }>;
169
190
  from: z.ZodObject<{
170
191
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
171
192
  device: z.ZodString;
172
- label: z.ZodString;
193
+ label: z.ZodOptional<z.ZodString>;
173
194
  name: z.ZodString;
174
195
  email: z.ZodOptional<z.ZodString>;
175
196
  org: z.ZodEnum<{
@@ -187,7 +208,14 @@ export declare const HeldRequest: z.ZodUnion<readonly [z.ZodObject<{
187
208
  agent: z.ZodString;
188
209
  email: z.ZodString;
189
210
  at: z.ZodNumber;
190
- }, z.core.$strip>]>;
211
+ }, z.core.$strip>, z.ZodObject<{
212
+ kind: z.ZodLiteral<"agent-invitation">;
213
+ id: z.ZodString;
214
+ cid: z.ZodString;
215
+ from: z.ZodString;
216
+ to: z.ZodString;
217
+ at: z.ZodNumber;
218
+ }, z.core.$strict>]>;
191
219
  export type HeldRequest = z.infer<typeof HeldRequest>;
192
220
  /**
193
221
  * For an ask: `once` delivers it, guarded; `always` sets the sender's grant to `ask: "open"` (keeping its other
@@ -197,10 +225,10 @@ export type HeldRequest = z.infer<typeof HeldRequest>;
197
225
  * declines it. For a suggestion: `decline` dismisses it.
198
226
  */
199
227
  export declare const RequestAnswer: z.ZodEnum<{
200
- once: "once";
201
- always: "always";
202
228
  accept: "accept";
203
229
  decline: "decline";
230
+ once: "once";
231
+ always: "always";
204
232
  block: "block";
205
233
  }>;
206
234
  export type RequestAnswer = z.infer<typeof RequestAnswer>;
@@ -220,8 +248,8 @@ export declare const PersonReach: z.ZodObject<{
220
248
  chat: z.ZodBoolean;
221
249
  agentMail: z.ZodBoolean;
222
250
  ask: z.ZodEnum<{
223
- open: "open";
224
251
  request: "request";
252
+ open: "open";
225
253
  no: "no";
226
254
  }>;
227
255
  trustedUntil: z.ZodOptional<z.ZodNumber>;
@@ -238,10 +266,10 @@ export type PersonReach = z.infer<typeof PersonReach>;
238
266
  export declare const RequestAnswerParams: z.ZodObject<{
239
267
  id: z.ZodString;
240
268
  answer: z.ZodEnum<{
241
- once: "once";
242
- always: "always";
243
269
  accept: "accept";
244
270
  decline: "decline";
271
+ once: "once";
272
+ always: "always";
245
273
  block: "block";
246
274
  }>;
247
275
  all: z.ZodOptional<z.ZodBoolean>;
@@ -259,7 +287,7 @@ export declare const CONSENT_METHODS: {
259
287
  subject: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
260
288
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
261
289
  }, z.core.$strict>, z.ZodObject<{
262
- channel: z.ZodString;
290
+ conv: z.ZodString;
263
291
  }, z.core.$strict>]>>;
264
292
  }, z.core.$strict>;
265
293
  readonly result: z.ZodObject<{
@@ -278,31 +306,29 @@ export declare const CONSENT_METHODS: {
278
306
  blocked: "blocked";
279
307
  }>>;
280
308
  ask: z.ZodOptional<z.ZodEnum<{
281
- open: "open";
282
309
  request: "request";
310
+ open: "open";
283
311
  no: "no";
284
312
  }>>;
285
313
  trustedUntil: z.ZodOptional<z.ZodNumber>;
286
314
  discoverable: z.ZodOptional<z.ZodBoolean>;
287
315
  subject: z.ZodUnion<readonly [z.ZodObject<{
288
316
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
289
- }, z.core.$strip>, z.ZodObject<{
290
- channel: z.ZodString;
291
- name: z.ZodOptional<z.ZodString>;
292
- }, z.core.$strip>]>;
317
+ }, z.core.$strict>, z.ZodObject<{
318
+ conv: z.ZodString;
319
+ }, z.core.$strict>]>;
293
320
  }, z.core.$strip>>;
294
321
  review: z.ZodArray<z.ZodObject<{
295
322
  subject: z.ZodUnion<readonly [z.ZodObject<{
296
323
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
297
- }, z.core.$strip>, z.ZodObject<{
298
- channel: z.ZodString;
299
- name: z.ZodOptional<z.ZodString>;
300
- }, z.core.$strip>]>;
324
+ }, z.core.$strict>, z.ZodObject<{
325
+ conv: z.ZodString;
326
+ }, z.core.$strict>]>;
301
327
  chat: z.ZodOptional<z.ZodLiteral<"open">>;
302
328
  agentMail: z.ZodOptional<z.ZodLiteral<"open">>;
303
329
  ask: z.ZodOptional<z.ZodEnum<{
304
- open: "open";
305
330
  request: "request";
331
+ open: "open";
306
332
  }>>;
307
333
  trustedUntil: z.ZodOptional<z.ZodNumber>;
308
334
  discoverable: z.ZodOptional<z.ZodLiteral<true>>;
@@ -327,8 +353,8 @@ export declare const CONSENT_METHODS: {
327
353
  blocked: "blocked";
328
354
  }>>;
329
355
  ask: z.ZodOptional<z.ZodEnum<{
330
- open: "open";
331
356
  request: "request";
357
+ open: "open";
332
358
  no: "no";
333
359
  }>>;
334
360
  trustedUntil: z.ZodOptional<z.ZodNumber>;
@@ -336,7 +362,7 @@ export declare const CONSENT_METHODS: {
336
362
  subject: z.ZodUnion<readonly [z.ZodObject<{
337
363
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
338
364
  }, z.core.$strict>, z.ZodObject<{
339
- channel: z.ZodString;
365
+ conv: z.ZodString;
340
366
  }, z.core.$strict>]>;
341
367
  }, z.core.$strict>;
342
368
  readonly result: z.ZodObject<{
@@ -355,18 +381,17 @@ export declare const CONSENT_METHODS: {
355
381
  blocked: "blocked";
356
382
  }>>;
357
383
  ask: z.ZodOptional<z.ZodEnum<{
358
- open: "open";
359
384
  request: "request";
385
+ open: "open";
360
386
  no: "no";
361
387
  }>>;
362
388
  trustedUntil: z.ZodOptional<z.ZodNumber>;
363
389
  discoverable: z.ZodOptional<z.ZodBoolean>;
364
390
  subject: z.ZodUnion<readonly [z.ZodObject<{
365
391
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
366
- }, z.core.$strip>, z.ZodObject<{
367
- channel: z.ZodString;
368
- name: z.ZodOptional<z.ZodString>;
369
- }, z.core.$strip>]>;
392
+ }, z.core.$strict>, z.ZodObject<{
393
+ conv: z.ZodString;
394
+ }, z.core.$strict>]>;
370
395
  }, z.core.$strip>;
371
396
  }, z.core.$strip>;
372
397
  };
@@ -384,8 +409,8 @@ export declare const CONSENT_METHODS: {
384
409
  blocked: "blocked";
385
410
  }>>;
386
411
  ask: z.ZodOptional<z.ZodEnum<{
387
- open: "open";
388
412
  request: "request";
413
+ open: "open";
389
414
  no: "no";
390
415
  }>>;
391
416
  trustedUntil: z.ZodOptional<z.ZodNumber>;
@@ -393,7 +418,7 @@ export declare const CONSENT_METHODS: {
393
418
  subject: z.ZodUnion<readonly [z.ZodObject<{
394
419
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
395
420
  }, z.core.$strict>, z.ZodObject<{
396
- channel: z.ZodString;
421
+ conv: z.ZodString;
397
422
  }, z.core.$strict>]>;
398
423
  }, z.core.$strict>;
399
424
  readonly result: z.ZodObject<{
@@ -424,10 +449,17 @@ export declare const CONSENT_METHODS: {
424
449
  }, z.core.$strip>, z.ZodObject<{
425
450
  id: z.ZodString;
426
451
  kind: z.ZodLiteral<"contact">;
452
+ cid: z.ZodOptional<z.ZodString>;
453
+ state: z.ZodEnum<{
454
+ accepted: "accepted";
455
+ pending: "pending";
456
+ answering: "answering";
457
+ resend: "resend";
458
+ }>;
427
459
  from: z.ZodObject<{
428
460
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
429
461
  device: z.ZodString;
430
- label: z.ZodString;
462
+ label: z.ZodOptional<z.ZodString>;
431
463
  name: z.ZodString;
432
464
  email: z.ZodOptional<z.ZodString>;
433
465
  org: z.ZodEnum<{
@@ -445,7 +477,14 @@ export declare const CONSENT_METHODS: {
445
477
  agent: z.ZodString;
446
478
  email: z.ZodString;
447
479
  at: z.ZodNumber;
448
- }, z.core.$strip>]>>;
480
+ }, z.core.$strip>, z.ZodObject<{
481
+ kind: z.ZodLiteral<"agent-invitation">;
482
+ id: z.ZodString;
483
+ cid: z.ZodString;
484
+ from: z.ZodString;
485
+ to: z.ZodString;
486
+ at: z.ZodNumber;
487
+ }, z.core.$strict>]>>;
449
488
  }, z.core.$strip>;
450
489
  };
451
490
  /**
@@ -457,10 +496,10 @@ export declare const CONSENT_METHODS: {
457
496
  readonly params: z.ZodObject<{
458
497
  id: z.ZodString;
459
498
  answer: z.ZodEnum<{
460
- once: "once";
461
- always: "always";
462
499
  accept: "accept";
463
500
  decline: "decline";
501
+ once: "once";
502
+ always: "always";
464
503
  block: "block";
465
504
  }>;
466
505
  all: z.ZodOptional<z.ZodBoolean>;
@@ -480,10 +519,10 @@ export declare const CONSENT_METHODS: {
480
519
  readonly params: z.ZodObject<{
481
520
  id: z.ZodString;
482
521
  answer: z.ZodEnum<{
483
- once: "once";
484
- always: "always";
485
522
  accept: "accept";
486
523
  decline: "decline";
524
+ once: "once";
525
+ always: "always";
487
526
  block: "block";
488
527
  }>;
489
528
  all: z.ZodOptional<z.ZodBoolean>;
@@ -493,6 +532,7 @@ export declare const CONSENT_METHODS: {
493
532
  message: "message";
494
533
  task: "task";
495
534
  contact: "contact";
535
+ "agent-invitation": "agent-invitation";
496
536
  suggestion: "suggestion";
497
537
  }>;
498
538
  from: z.ZodObject<{
@@ -525,7 +565,7 @@ export declare const CONSENT_METHODS: {
525
565
  }, z.core.$strict>;
526
566
  readonly result: z.ZodObject<{
527
567
  id: z.ZodString;
528
- conversation: z.ZodString;
568
+ cid: z.ZodString;
529
569
  person: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
530
570
  }, z.core.$strip>;
531
571
  };