@getpaseo/protocol 0.1.84

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 (68) hide show
  1. package/README.md +12 -0
  2. package/dist/agent-attention-notification.d.ts +41 -0
  3. package/dist/agent-attention-notification.js +140 -0
  4. package/dist/agent-labels.d.ts +2 -0
  5. package/dist/agent-labels.js +2 -0
  6. package/dist/agent-lifecycle.d.ts +3 -0
  7. package/dist/agent-lifecycle.js +8 -0
  8. package/dist/agent-state-bucket.d.ts +13 -0
  9. package/dist/agent-state-bucket.js +41 -0
  10. package/dist/agent-title-limits.d.ts +3 -0
  11. package/dist/agent-title-limits.js +3 -0
  12. package/dist/agent-types.d.ts +421 -0
  13. package/dist/agent-types.js +22 -0
  14. package/dist/binary-frames/file-transfer.d.ts +56 -0
  15. package/dist/binary-frames/file-transfer.js +108 -0
  16. package/dist/binary-frames/index.d.ts +3 -0
  17. package/dist/binary-frames/index.js +3 -0
  18. package/dist/binary-frames/terminal.d.ts +37 -0
  19. package/dist/binary-frames/terminal.js +101 -0
  20. package/dist/chat/rpc-schemas.d.ts +728 -0
  21. package/dist/chat/rpc-schemas.js +103 -0
  22. package/dist/chat/types.d.ts +75 -0
  23. package/dist/chat/types.js +22 -0
  24. package/dist/client-capabilities.d.ts +6 -0
  25. package/dist/client-capabilities.js +9 -0
  26. package/dist/connection-offer.d.ts +80 -0
  27. package/dist/connection-offer.js +53 -0
  28. package/dist/daemon-endpoints.d.ts +47 -0
  29. package/dist/daemon-endpoints.js +201 -0
  30. package/dist/error-utils.d.ts +11 -0
  31. package/dist/error-utils.js +27 -0
  32. package/dist/git-remote.d.ts +16 -0
  33. package/dist/git-remote.js +72 -0
  34. package/dist/host-connection-schema.d.ts +23 -0
  35. package/dist/host-connection-schema.js +9 -0
  36. package/dist/importable-providers.d.ts +7 -0
  37. package/dist/importable-providers.js +7 -0
  38. package/dist/literal-union.d.ts +2 -0
  39. package/dist/literal-union.js +2 -0
  40. package/dist/loop/rpc-schemas.d.ts +3005 -0
  41. package/dist/loop/rpc-schemas.js +163 -0
  42. package/dist/messages.d.ts +144995 -0
  43. package/dist/messages.js +3338 -0
  44. package/dist/paseo-config-schema.d.ts +915 -0
  45. package/dist/paseo-config-schema.js +77 -0
  46. package/dist/path-utils.d.ts +2 -0
  47. package/dist/path-utils.js +16 -0
  48. package/dist/provider-config.d.ts +602 -0
  49. package/dist/provider-config.js +123 -0
  50. package/dist/provider-manifest.d.ts +33 -0
  51. package/dist/provider-manifest.js +219 -0
  52. package/dist/schedule/rpc-schemas.d.ts +3993 -0
  53. package/dist/schedule/rpc-schemas.js +151 -0
  54. package/dist/schedule/types.d.ts +745 -0
  55. package/dist/schedule/types.js +74 -0
  56. package/dist/terminal-input-mode.d.ts +26 -0
  57. package/dist/terminal-input-mode.js +151 -0
  58. package/dist/terminal-key-input.d.ts +13 -0
  59. package/dist/terminal-key-input.js +201 -0
  60. package/dist/terminal-snapshot.d.ts +3 -0
  61. package/dist/terminal-snapshot.js +165 -0
  62. package/dist/terminal-stream-protocol.d.ts +2 -0
  63. package/dist/terminal-stream-protocol.js +2 -0
  64. package/dist/tool-call-display.d.ts +11 -0
  65. package/dist/tool-call-display.js +135 -0
  66. package/dist/tool-name-normalization.d.ts +9 -0
  67. package/dist/tool-name-normalization.js +82 -0
  68. package/package.json +34 -0
@@ -0,0 +1,728 @@
1
+ import { z } from "zod";
2
+ export declare const ChatCreateRequestSchema: z.ZodObject<{
3
+ type: z.ZodLiteral<"chat/create">;
4
+ requestId: z.ZodString;
5
+ name: z.ZodString;
6
+ purpose: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ name: string;
9
+ type: "chat/create";
10
+ requestId: string;
11
+ purpose?: string | undefined;
12
+ }, {
13
+ name: string;
14
+ type: "chat/create";
15
+ requestId: string;
16
+ purpose?: string | undefined;
17
+ }>;
18
+ export declare const ChatListRequestSchema: z.ZodObject<{
19
+ type: z.ZodLiteral<"chat/list">;
20
+ requestId: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ type: "chat/list";
23
+ requestId: string;
24
+ }, {
25
+ type: "chat/list";
26
+ requestId: string;
27
+ }>;
28
+ export declare const ChatInspectRequestSchema: z.ZodObject<{
29
+ type: z.ZodLiteral<"chat/inspect">;
30
+ requestId: z.ZodString;
31
+ room: z.ZodString;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: "chat/inspect";
34
+ requestId: string;
35
+ room: string;
36
+ }, {
37
+ type: "chat/inspect";
38
+ requestId: string;
39
+ room: string;
40
+ }>;
41
+ export declare const ChatDeleteRequestSchema: z.ZodObject<{
42
+ type: z.ZodLiteral<"chat/delete">;
43
+ requestId: z.ZodString;
44
+ room: z.ZodString;
45
+ }, "strip", z.ZodTypeAny, {
46
+ type: "chat/delete";
47
+ requestId: string;
48
+ room: string;
49
+ }, {
50
+ type: "chat/delete";
51
+ requestId: string;
52
+ room: string;
53
+ }>;
54
+ export declare const ChatPostRequestSchema: z.ZodObject<{
55
+ type: z.ZodLiteral<"chat/post">;
56
+ requestId: z.ZodString;
57
+ room: z.ZodString;
58
+ body: z.ZodString;
59
+ authorAgentId: z.ZodOptional<z.ZodString>;
60
+ replyToMessageId: z.ZodOptional<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ type: "chat/post";
63
+ body: string;
64
+ requestId: string;
65
+ room: string;
66
+ authorAgentId?: string | undefined;
67
+ replyToMessageId?: string | undefined;
68
+ }, {
69
+ type: "chat/post";
70
+ body: string;
71
+ requestId: string;
72
+ room: string;
73
+ authorAgentId?: string | undefined;
74
+ replyToMessageId?: string | undefined;
75
+ }>;
76
+ export declare const ChatReadRequestSchema: z.ZodObject<{
77
+ type: z.ZodLiteral<"chat/read">;
78
+ requestId: z.ZodString;
79
+ room: z.ZodString;
80
+ limit: z.ZodOptional<z.ZodNumber>;
81
+ since: z.ZodOptional<z.ZodString>;
82
+ authorAgentId: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ type: "chat/read";
85
+ requestId: string;
86
+ room: string;
87
+ authorAgentId?: string | undefined;
88
+ limit?: number | undefined;
89
+ since?: string | undefined;
90
+ }, {
91
+ type: "chat/read";
92
+ requestId: string;
93
+ room: string;
94
+ authorAgentId?: string | undefined;
95
+ limit?: number | undefined;
96
+ since?: string | undefined;
97
+ }>;
98
+ export declare const ChatWaitRequestSchema: z.ZodObject<{
99
+ type: z.ZodLiteral<"chat/wait">;
100
+ requestId: z.ZodString;
101
+ room: z.ZodString;
102
+ afterMessageId: z.ZodOptional<z.ZodString>;
103
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ type: "chat/wait";
106
+ requestId: string;
107
+ room: string;
108
+ afterMessageId?: string | undefined;
109
+ timeoutMs?: number | undefined;
110
+ }, {
111
+ type: "chat/wait";
112
+ requestId: string;
113
+ room: string;
114
+ afterMessageId?: string | undefined;
115
+ timeoutMs?: number | undefined;
116
+ }>;
117
+ export declare const ChatCreateResponseSchema: z.ZodObject<{
118
+ type: z.ZodLiteral<"chat/create/response">;
119
+ payload: z.ZodObject<{
120
+ requestId: z.ZodString;
121
+ room: z.ZodNullable<z.ZodObject<{
122
+ id: z.ZodString;
123
+ name: z.ZodString;
124
+ purpose: z.ZodNullable<z.ZodString>;
125
+ createdAt: z.ZodString;
126
+ updatedAt: z.ZodString;
127
+ } & {
128
+ messageCount: z.ZodNumber;
129
+ lastMessageAt: z.ZodNullable<z.ZodString>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ name: string;
132
+ id: string;
133
+ purpose: string | null;
134
+ createdAt: string;
135
+ updatedAt: string;
136
+ messageCount: number;
137
+ lastMessageAt: string | null;
138
+ }, {
139
+ name: string;
140
+ id: string;
141
+ purpose: string | null;
142
+ createdAt: string;
143
+ updatedAt: string;
144
+ messageCount: number;
145
+ lastMessageAt: string | null;
146
+ }>>;
147
+ error: z.ZodNullable<z.ZodString>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ error: string | null;
150
+ requestId: string;
151
+ room: {
152
+ name: string;
153
+ id: string;
154
+ purpose: string | null;
155
+ createdAt: string;
156
+ updatedAt: string;
157
+ messageCount: number;
158
+ lastMessageAt: string | null;
159
+ } | null;
160
+ }, {
161
+ error: string | null;
162
+ requestId: string;
163
+ room: {
164
+ name: string;
165
+ id: string;
166
+ purpose: string | null;
167
+ createdAt: string;
168
+ updatedAt: string;
169
+ messageCount: number;
170
+ lastMessageAt: string | null;
171
+ } | null;
172
+ }>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ type: "chat/create/response";
175
+ payload: {
176
+ error: string | null;
177
+ requestId: string;
178
+ room: {
179
+ name: string;
180
+ id: string;
181
+ purpose: string | null;
182
+ createdAt: string;
183
+ updatedAt: string;
184
+ messageCount: number;
185
+ lastMessageAt: string | null;
186
+ } | null;
187
+ };
188
+ }, {
189
+ type: "chat/create/response";
190
+ payload: {
191
+ error: string | null;
192
+ requestId: string;
193
+ room: {
194
+ name: string;
195
+ id: string;
196
+ purpose: string | null;
197
+ createdAt: string;
198
+ updatedAt: string;
199
+ messageCount: number;
200
+ lastMessageAt: string | null;
201
+ } | null;
202
+ };
203
+ }>;
204
+ export declare const ChatListResponseSchema: z.ZodObject<{
205
+ type: z.ZodLiteral<"chat/list/response">;
206
+ payload: z.ZodObject<{
207
+ requestId: z.ZodString;
208
+ rooms: z.ZodArray<z.ZodObject<{
209
+ id: z.ZodString;
210
+ name: z.ZodString;
211
+ purpose: z.ZodNullable<z.ZodString>;
212
+ createdAt: z.ZodString;
213
+ updatedAt: z.ZodString;
214
+ } & {
215
+ messageCount: z.ZodNumber;
216
+ lastMessageAt: z.ZodNullable<z.ZodString>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ name: string;
219
+ id: string;
220
+ purpose: string | null;
221
+ createdAt: string;
222
+ updatedAt: string;
223
+ messageCount: number;
224
+ lastMessageAt: string | null;
225
+ }, {
226
+ name: string;
227
+ id: string;
228
+ purpose: string | null;
229
+ createdAt: string;
230
+ updatedAt: string;
231
+ messageCount: number;
232
+ lastMessageAt: string | null;
233
+ }>, "many">;
234
+ error: z.ZodNullable<z.ZodString>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ error: string | null;
237
+ requestId: string;
238
+ rooms: {
239
+ name: string;
240
+ id: string;
241
+ purpose: string | null;
242
+ createdAt: string;
243
+ updatedAt: string;
244
+ messageCount: number;
245
+ lastMessageAt: string | null;
246
+ }[];
247
+ }, {
248
+ error: string | null;
249
+ requestId: string;
250
+ rooms: {
251
+ name: string;
252
+ id: string;
253
+ purpose: string | null;
254
+ createdAt: string;
255
+ updatedAt: string;
256
+ messageCount: number;
257
+ lastMessageAt: string | null;
258
+ }[];
259
+ }>;
260
+ }, "strip", z.ZodTypeAny, {
261
+ type: "chat/list/response";
262
+ payload: {
263
+ error: string | null;
264
+ requestId: string;
265
+ rooms: {
266
+ name: string;
267
+ id: string;
268
+ purpose: string | null;
269
+ createdAt: string;
270
+ updatedAt: string;
271
+ messageCount: number;
272
+ lastMessageAt: string | null;
273
+ }[];
274
+ };
275
+ }, {
276
+ type: "chat/list/response";
277
+ payload: {
278
+ error: string | null;
279
+ requestId: string;
280
+ rooms: {
281
+ name: string;
282
+ id: string;
283
+ purpose: string | null;
284
+ createdAt: string;
285
+ updatedAt: string;
286
+ messageCount: number;
287
+ lastMessageAt: string | null;
288
+ }[];
289
+ };
290
+ }>;
291
+ export declare const ChatInspectResponseSchema: z.ZodObject<{
292
+ type: z.ZodLiteral<"chat/inspect/response">;
293
+ payload: z.ZodObject<{
294
+ requestId: z.ZodString;
295
+ room: z.ZodNullable<z.ZodObject<{
296
+ id: z.ZodString;
297
+ name: z.ZodString;
298
+ purpose: z.ZodNullable<z.ZodString>;
299
+ createdAt: z.ZodString;
300
+ updatedAt: z.ZodString;
301
+ } & {
302
+ messageCount: z.ZodNumber;
303
+ lastMessageAt: z.ZodNullable<z.ZodString>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ name: string;
306
+ id: string;
307
+ purpose: string | null;
308
+ createdAt: string;
309
+ updatedAt: string;
310
+ messageCount: number;
311
+ lastMessageAt: string | null;
312
+ }, {
313
+ name: string;
314
+ id: string;
315
+ purpose: string | null;
316
+ createdAt: string;
317
+ updatedAt: string;
318
+ messageCount: number;
319
+ lastMessageAt: string | null;
320
+ }>>;
321
+ error: z.ZodNullable<z.ZodString>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ error: string | null;
324
+ requestId: string;
325
+ room: {
326
+ name: string;
327
+ id: string;
328
+ purpose: string | null;
329
+ createdAt: string;
330
+ updatedAt: string;
331
+ messageCount: number;
332
+ lastMessageAt: string | null;
333
+ } | null;
334
+ }, {
335
+ error: string | null;
336
+ requestId: string;
337
+ room: {
338
+ name: string;
339
+ id: string;
340
+ purpose: string | null;
341
+ createdAt: string;
342
+ updatedAt: string;
343
+ messageCount: number;
344
+ lastMessageAt: string | null;
345
+ } | null;
346
+ }>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ type: "chat/inspect/response";
349
+ payload: {
350
+ error: string | null;
351
+ requestId: string;
352
+ room: {
353
+ name: string;
354
+ id: string;
355
+ purpose: string | null;
356
+ createdAt: string;
357
+ updatedAt: string;
358
+ messageCount: number;
359
+ lastMessageAt: string | null;
360
+ } | null;
361
+ };
362
+ }, {
363
+ type: "chat/inspect/response";
364
+ payload: {
365
+ error: string | null;
366
+ requestId: string;
367
+ room: {
368
+ name: string;
369
+ id: string;
370
+ purpose: string | null;
371
+ createdAt: string;
372
+ updatedAt: string;
373
+ messageCount: number;
374
+ lastMessageAt: string | null;
375
+ } | null;
376
+ };
377
+ }>;
378
+ export declare const ChatDeleteResponseSchema: z.ZodObject<{
379
+ type: z.ZodLiteral<"chat/delete/response">;
380
+ payload: z.ZodObject<{
381
+ requestId: z.ZodString;
382
+ room: z.ZodNullable<z.ZodObject<{
383
+ id: z.ZodString;
384
+ name: z.ZodString;
385
+ purpose: z.ZodNullable<z.ZodString>;
386
+ createdAt: z.ZodString;
387
+ updatedAt: z.ZodString;
388
+ } & {
389
+ messageCount: z.ZodNumber;
390
+ lastMessageAt: z.ZodNullable<z.ZodString>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ name: string;
393
+ id: string;
394
+ purpose: string | null;
395
+ createdAt: string;
396
+ updatedAt: string;
397
+ messageCount: number;
398
+ lastMessageAt: string | null;
399
+ }, {
400
+ name: string;
401
+ id: string;
402
+ purpose: string | null;
403
+ createdAt: string;
404
+ updatedAt: string;
405
+ messageCount: number;
406
+ lastMessageAt: string | null;
407
+ }>>;
408
+ error: z.ZodNullable<z.ZodString>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ error: string | null;
411
+ requestId: string;
412
+ room: {
413
+ name: string;
414
+ id: string;
415
+ purpose: string | null;
416
+ createdAt: string;
417
+ updatedAt: string;
418
+ messageCount: number;
419
+ lastMessageAt: string | null;
420
+ } | null;
421
+ }, {
422
+ error: string | null;
423
+ requestId: string;
424
+ room: {
425
+ name: string;
426
+ id: string;
427
+ purpose: string | null;
428
+ createdAt: string;
429
+ updatedAt: string;
430
+ messageCount: number;
431
+ lastMessageAt: string | null;
432
+ } | null;
433
+ }>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ type: "chat/delete/response";
436
+ payload: {
437
+ error: string | null;
438
+ requestId: string;
439
+ room: {
440
+ name: string;
441
+ id: string;
442
+ purpose: string | null;
443
+ createdAt: string;
444
+ updatedAt: string;
445
+ messageCount: number;
446
+ lastMessageAt: string | null;
447
+ } | null;
448
+ };
449
+ }, {
450
+ type: "chat/delete/response";
451
+ payload: {
452
+ error: string | null;
453
+ requestId: string;
454
+ room: {
455
+ name: string;
456
+ id: string;
457
+ purpose: string | null;
458
+ createdAt: string;
459
+ updatedAt: string;
460
+ messageCount: number;
461
+ lastMessageAt: string | null;
462
+ } | null;
463
+ };
464
+ }>;
465
+ export declare const ChatPostResponseSchema: z.ZodObject<{
466
+ type: z.ZodLiteral<"chat/post/response">;
467
+ payload: z.ZodObject<{
468
+ requestId: z.ZodString;
469
+ message: z.ZodNullable<z.ZodObject<{
470
+ id: z.ZodString;
471
+ roomId: z.ZodString;
472
+ authorAgentId: z.ZodString;
473
+ body: z.ZodString;
474
+ replyToMessageId: z.ZodNullable<z.ZodString>;
475
+ mentionAgentIds: z.ZodArray<z.ZodString, "many">;
476
+ createdAt: z.ZodString;
477
+ }, "strip", z.ZodTypeAny, {
478
+ body: string;
479
+ id: string;
480
+ createdAt: string;
481
+ roomId: string;
482
+ authorAgentId: string;
483
+ replyToMessageId: string | null;
484
+ mentionAgentIds: string[];
485
+ }, {
486
+ body: string;
487
+ id: string;
488
+ createdAt: string;
489
+ roomId: string;
490
+ authorAgentId: string;
491
+ replyToMessageId: string | null;
492
+ mentionAgentIds: string[];
493
+ }>>;
494
+ error: z.ZodNullable<z.ZodString>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ error: string | null;
497
+ message: {
498
+ body: string;
499
+ id: string;
500
+ createdAt: string;
501
+ roomId: string;
502
+ authorAgentId: string;
503
+ replyToMessageId: string | null;
504
+ mentionAgentIds: string[];
505
+ } | null;
506
+ requestId: string;
507
+ }, {
508
+ error: string | null;
509
+ message: {
510
+ body: string;
511
+ id: string;
512
+ createdAt: string;
513
+ roomId: string;
514
+ authorAgentId: string;
515
+ replyToMessageId: string | null;
516
+ mentionAgentIds: string[];
517
+ } | null;
518
+ requestId: string;
519
+ }>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ type: "chat/post/response";
522
+ payload: {
523
+ error: string | null;
524
+ message: {
525
+ body: string;
526
+ id: string;
527
+ createdAt: string;
528
+ roomId: string;
529
+ authorAgentId: string;
530
+ replyToMessageId: string | null;
531
+ mentionAgentIds: string[];
532
+ } | null;
533
+ requestId: string;
534
+ };
535
+ }, {
536
+ type: "chat/post/response";
537
+ payload: {
538
+ error: string | null;
539
+ message: {
540
+ body: string;
541
+ id: string;
542
+ createdAt: string;
543
+ roomId: string;
544
+ authorAgentId: string;
545
+ replyToMessageId: string | null;
546
+ mentionAgentIds: string[];
547
+ } | null;
548
+ requestId: string;
549
+ };
550
+ }>;
551
+ export declare const ChatReadResponseSchema: z.ZodObject<{
552
+ type: z.ZodLiteral<"chat/read/response">;
553
+ payload: z.ZodObject<{
554
+ requestId: z.ZodString;
555
+ messages: z.ZodArray<z.ZodObject<{
556
+ id: z.ZodString;
557
+ roomId: z.ZodString;
558
+ authorAgentId: z.ZodString;
559
+ body: z.ZodString;
560
+ replyToMessageId: z.ZodNullable<z.ZodString>;
561
+ mentionAgentIds: z.ZodArray<z.ZodString, "many">;
562
+ createdAt: z.ZodString;
563
+ }, "strip", z.ZodTypeAny, {
564
+ body: string;
565
+ id: string;
566
+ createdAt: string;
567
+ roomId: string;
568
+ authorAgentId: string;
569
+ replyToMessageId: string | null;
570
+ mentionAgentIds: string[];
571
+ }, {
572
+ body: string;
573
+ id: string;
574
+ createdAt: string;
575
+ roomId: string;
576
+ authorAgentId: string;
577
+ replyToMessageId: string | null;
578
+ mentionAgentIds: string[];
579
+ }>, "many">;
580
+ error: z.ZodNullable<z.ZodString>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ error: string | null;
583
+ requestId: string;
584
+ messages: {
585
+ body: string;
586
+ id: string;
587
+ createdAt: string;
588
+ roomId: string;
589
+ authorAgentId: string;
590
+ replyToMessageId: string | null;
591
+ mentionAgentIds: string[];
592
+ }[];
593
+ }, {
594
+ error: string | null;
595
+ requestId: string;
596
+ messages: {
597
+ body: string;
598
+ id: string;
599
+ createdAt: string;
600
+ roomId: string;
601
+ authorAgentId: string;
602
+ replyToMessageId: string | null;
603
+ mentionAgentIds: string[];
604
+ }[];
605
+ }>;
606
+ }, "strip", z.ZodTypeAny, {
607
+ type: "chat/read/response";
608
+ payload: {
609
+ error: string | null;
610
+ requestId: string;
611
+ messages: {
612
+ body: string;
613
+ id: string;
614
+ createdAt: string;
615
+ roomId: string;
616
+ authorAgentId: string;
617
+ replyToMessageId: string | null;
618
+ mentionAgentIds: string[];
619
+ }[];
620
+ };
621
+ }, {
622
+ type: "chat/read/response";
623
+ payload: {
624
+ error: string | null;
625
+ requestId: string;
626
+ messages: {
627
+ body: string;
628
+ id: string;
629
+ createdAt: string;
630
+ roomId: string;
631
+ authorAgentId: string;
632
+ replyToMessageId: string | null;
633
+ mentionAgentIds: string[];
634
+ }[];
635
+ };
636
+ }>;
637
+ export declare const ChatWaitResponseSchema: z.ZodObject<{
638
+ type: z.ZodLiteral<"chat/wait/response">;
639
+ payload: z.ZodObject<{
640
+ requestId: z.ZodString;
641
+ messages: z.ZodArray<z.ZodObject<{
642
+ id: z.ZodString;
643
+ roomId: z.ZodString;
644
+ authorAgentId: z.ZodString;
645
+ body: z.ZodString;
646
+ replyToMessageId: z.ZodNullable<z.ZodString>;
647
+ mentionAgentIds: z.ZodArray<z.ZodString, "many">;
648
+ createdAt: z.ZodString;
649
+ }, "strip", z.ZodTypeAny, {
650
+ body: string;
651
+ id: string;
652
+ createdAt: string;
653
+ roomId: string;
654
+ authorAgentId: string;
655
+ replyToMessageId: string | null;
656
+ mentionAgentIds: string[];
657
+ }, {
658
+ body: string;
659
+ id: string;
660
+ createdAt: string;
661
+ roomId: string;
662
+ authorAgentId: string;
663
+ replyToMessageId: string | null;
664
+ mentionAgentIds: string[];
665
+ }>, "many">;
666
+ timedOut: z.ZodBoolean;
667
+ error: z.ZodNullable<z.ZodString>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ error: string | null;
670
+ requestId: string;
671
+ messages: {
672
+ body: string;
673
+ id: string;
674
+ createdAt: string;
675
+ roomId: string;
676
+ authorAgentId: string;
677
+ replyToMessageId: string | null;
678
+ mentionAgentIds: string[];
679
+ }[];
680
+ timedOut: boolean;
681
+ }, {
682
+ error: string | null;
683
+ requestId: string;
684
+ messages: {
685
+ body: string;
686
+ id: string;
687
+ createdAt: string;
688
+ roomId: string;
689
+ authorAgentId: string;
690
+ replyToMessageId: string | null;
691
+ mentionAgentIds: string[];
692
+ }[];
693
+ timedOut: boolean;
694
+ }>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ type: "chat/wait/response";
697
+ payload: {
698
+ error: string | null;
699
+ requestId: string;
700
+ messages: {
701
+ body: string;
702
+ id: string;
703
+ createdAt: string;
704
+ roomId: string;
705
+ authorAgentId: string;
706
+ replyToMessageId: string | null;
707
+ mentionAgentIds: string[];
708
+ }[];
709
+ timedOut: boolean;
710
+ };
711
+ }, {
712
+ type: "chat/wait/response";
713
+ payload: {
714
+ error: string | null;
715
+ requestId: string;
716
+ messages: {
717
+ body: string;
718
+ id: string;
719
+ createdAt: string;
720
+ roomId: string;
721
+ authorAgentId: string;
722
+ replyToMessageId: string | null;
723
+ mentionAgentIds: string[];
724
+ }[];
725
+ timedOut: boolean;
726
+ };
727
+ }>;
728
+ //# sourceMappingURL=rpc-schemas.d.ts.map