@getpaseo/protocol 0.1.97-beta.2 → 0.1.97

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.
@@ -4,53 +4,21 @@ export declare const ChatCreateRequestSchema: z.ZodObject<{
4
4
  requestId: z.ZodString;
5
5
  name: z.ZodString;
6
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
- }>;
7
+ }, z.core.$strip>;
18
8
  export declare const ChatListRequestSchema: z.ZodObject<{
19
9
  type: z.ZodLiteral<"chat/list">;
20
10
  requestId: z.ZodString;
21
- }, "strip", z.ZodTypeAny, {
22
- type: "chat/list";
23
- requestId: string;
24
- }, {
25
- type: "chat/list";
26
- requestId: string;
27
- }>;
11
+ }, z.core.$strip>;
28
12
  export declare const ChatInspectRequestSchema: z.ZodObject<{
29
13
  type: z.ZodLiteral<"chat/inspect">;
30
14
  requestId: z.ZodString;
31
15
  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
- }>;
16
+ }, z.core.$strip>;
41
17
  export declare const ChatDeleteRequestSchema: z.ZodObject<{
42
18
  type: z.ZodLiteral<"chat/delete">;
43
19
  requestId: z.ZodString;
44
20
  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
- }>;
21
+ }, z.core.$strip>;
54
22
  export declare const ChatPostRequestSchema: z.ZodObject<{
55
23
  type: z.ZodLiteral<"chat/post">;
56
24
  requestId: z.ZodString;
@@ -58,21 +26,7 @@ export declare const ChatPostRequestSchema: z.ZodObject<{
58
26
  body: z.ZodString;
59
27
  authorAgentId: z.ZodOptional<z.ZodString>;
60
28
  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
- }>;
29
+ }, z.core.$strip>;
76
30
  export declare const ChatReadRequestSchema: z.ZodObject<{
77
31
  type: z.ZodLiteral<"chat/read">;
78
32
  requestId: z.ZodString;
@@ -80,40 +34,14 @@ export declare const ChatReadRequestSchema: z.ZodObject<{
80
34
  limit: z.ZodOptional<z.ZodNumber>;
81
35
  since: z.ZodOptional<z.ZodString>;
82
36
  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
- }>;
37
+ }, z.core.$strip>;
98
38
  export declare const ChatWaitRequestSchema: z.ZodObject<{
99
39
  type: z.ZodLiteral<"chat/wait">;
100
40
  requestId: z.ZodString;
101
41
  room: z.ZodString;
102
42
  afterMessageId: z.ZodOptional<z.ZodString>;
103
43
  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
- }>;
44
+ }, z.core.$strip>;
117
45
  export declare const ChatCreateResponseSchema: z.ZodObject<{
118
46
  type: z.ZodLiteral<"chat/create/response">;
119
47
  payload: z.ZodObject<{
@@ -124,83 +52,12 @@ export declare const ChatCreateResponseSchema: z.ZodObject<{
124
52
  purpose: z.ZodNullable<z.ZodString>;
125
53
  createdAt: z.ZodString;
126
54
  updatedAt: z.ZodString;
127
- } & {
128
55
  messageCount: z.ZodNumber;
129
56
  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
- }>>;
57
+ }, z.core.$strip>>;
147
58
  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
- }>;
59
+ }, z.core.$strip>;
60
+ }, z.core.$strip>;
204
61
  export declare const ChatListResponseSchema: z.ZodObject<{
205
62
  type: z.ZodLiteral<"chat/list/response">;
206
63
  payload: z.ZodObject<{
@@ -211,83 +68,12 @@ export declare const ChatListResponseSchema: z.ZodObject<{
211
68
  purpose: z.ZodNullable<z.ZodString>;
212
69
  createdAt: z.ZodString;
213
70
  updatedAt: z.ZodString;
214
- } & {
215
71
  messageCount: z.ZodNumber;
216
72
  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">;
73
+ }, z.core.$strip>>;
234
74
  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
- }>;
75
+ }, z.core.$strip>;
76
+ }, z.core.$strip>;
291
77
  export declare const ChatInspectResponseSchema: z.ZodObject<{
292
78
  type: z.ZodLiteral<"chat/inspect/response">;
293
79
  payload: z.ZodObject<{
@@ -298,83 +84,12 @@ export declare const ChatInspectResponseSchema: z.ZodObject<{
298
84
  purpose: z.ZodNullable<z.ZodString>;
299
85
  createdAt: z.ZodString;
300
86
  updatedAt: z.ZodString;
301
- } & {
302
87
  messageCount: z.ZodNumber;
303
88
  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
- }>>;
89
+ }, z.core.$strip>>;
321
90
  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
- }>;
91
+ }, z.core.$strip>;
92
+ }, z.core.$strip>;
378
93
  export declare const ChatDeleteResponseSchema: z.ZodObject<{
379
94
  type: z.ZodLiteral<"chat/delete/response">;
380
95
  payload: z.ZodObject<{
@@ -385,83 +100,12 @@ export declare const ChatDeleteResponseSchema: z.ZodObject<{
385
100
  purpose: z.ZodNullable<z.ZodString>;
386
101
  createdAt: z.ZodString;
387
102
  updatedAt: z.ZodString;
388
- } & {
389
103
  messageCount: z.ZodNumber;
390
104
  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
- }>>;
105
+ }, z.core.$strip>>;
408
106
  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
- }>;
107
+ }, z.core.$strip>;
108
+ }, z.core.$strip>;
465
109
  export declare const ChatPostResponseSchema: z.ZodObject<{
466
110
  type: z.ZodLiteral<"chat/post/response">;
467
111
  payload: z.ZodObject<{
@@ -472,82 +116,12 @@ export declare const ChatPostResponseSchema: z.ZodObject<{
472
116
  authorAgentId: z.ZodString;
473
117
  body: z.ZodString;
474
118
  replyToMessageId: z.ZodNullable<z.ZodString>;
475
- mentionAgentIds: z.ZodArray<z.ZodString, "many">;
119
+ mentionAgentIds: z.ZodArray<z.ZodString>;
476
120
  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
- }>>;
121
+ }, z.core.$strip>>;
494
122
  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
- }>;
123
+ }, z.core.$strip>;
124
+ }, z.core.$strip>;
551
125
  export declare const ChatReadResponseSchema: z.ZodObject<{
552
126
  type: z.ZodLiteral<"chat/read/response">;
553
127
  payload: z.ZodObject<{
@@ -558,82 +132,12 @@ export declare const ChatReadResponseSchema: z.ZodObject<{
558
132
  authorAgentId: z.ZodString;
559
133
  body: z.ZodString;
560
134
  replyToMessageId: z.ZodNullable<z.ZodString>;
561
- mentionAgentIds: z.ZodArray<z.ZodString, "many">;
135
+ mentionAgentIds: z.ZodArray<z.ZodString>;
562
136
  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">;
137
+ }, z.core.$strip>>;
580
138
  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
- }>;
139
+ }, z.core.$strip>;
140
+ }, z.core.$strip>;
637
141
  export declare const ChatWaitResponseSchema: z.ZodObject<{
638
142
  type: z.ZodLiteral<"chat/wait/response">;
639
143
  payload: z.ZodObject<{
@@ -644,85 +148,11 @@ export declare const ChatWaitResponseSchema: z.ZodObject<{
644
148
  authorAgentId: z.ZodString;
645
149
  body: z.ZodString;
646
150
  replyToMessageId: z.ZodNullable<z.ZodString>;
647
- mentionAgentIds: z.ZodArray<z.ZodString, "many">;
151
+ mentionAgentIds: z.ZodArray<z.ZodString>;
648
152
  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">;
153
+ }, z.core.$strip>>;
666
154
  timedOut: z.ZodBoolean;
667
155
  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
- }>;
156
+ }, z.core.$strip>;
157
+ }, z.core.$strip>;
728
158
  //# sourceMappingURL=rpc-schemas.d.ts.map