@antelopejs/dms-ai 0.0.1 → 0.0.3

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.
@@ -24,99 +24,42 @@ export declare const AssistantMessageChunkEvent: z.ZodObject<{
24
24
  type: z.ZodLiteral<"assistant_message_chunk">;
25
25
  conversationId: z.ZodString;
26
26
  text: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- type: "assistant_message_chunk";
29
- conversationId: string;
30
- text: string;
31
- }, {
32
- type: "assistant_message_chunk";
33
- conversationId: string;
34
- text: string;
35
- }>;
27
+ }, z.core.$strip>;
36
28
  export declare const ToolCallStartEvent: z.ZodObject<{
37
29
  type: z.ZodLiteral<"tool_call_start">;
38
30
  conversationId: z.ZodString;
39
31
  callId: z.ZodString;
40
32
  toolName: z.ZodString;
41
33
  args: z.ZodUnknown;
42
- }, "strip", z.ZodTypeAny, {
43
- type: "tool_call_start";
44
- conversationId: string;
45
- callId: string;
46
- toolName: string;
47
- args?: unknown;
48
- }, {
49
- type: "tool_call_start";
50
- conversationId: string;
51
- callId: string;
52
- toolName: string;
53
- args?: unknown;
54
- }>;
34
+ }, z.core.$strip>;
55
35
  export declare const ToolCallEndEvent: z.ZodObject<{
56
36
  type: z.ZodLiteral<"tool_call_end">;
57
37
  conversationId: z.ZodString;
58
38
  callId: z.ZodString;
59
- status: z.ZodEnum<["success", "error"]>;
39
+ status: z.ZodEnum<{
40
+ error: "error";
41
+ success: "success";
42
+ }>;
60
43
  result: z.ZodUnknown;
61
- }, "strip", z.ZodTypeAny, {
62
- type: "tool_call_end";
63
- status: "error" | "success";
64
- conversationId: string;
65
- callId: string;
66
- result?: unknown;
67
- }, {
68
- type: "tool_call_end";
69
- status: "error" | "success";
70
- conversationId: string;
71
- callId: string;
72
- result?: unknown;
73
- }>;
44
+ }, z.core.$strip>;
74
45
  export declare const RunDoneEvent: z.ZodObject<{
75
46
  type: z.ZodLiteral<"run_done">;
76
47
  conversationId: z.ZodString;
77
- }, "strip", z.ZodTypeAny, {
78
- type: "run_done";
79
- conversationId: string;
80
- }, {
81
- type: "run_done";
82
- conversationId: string;
83
- }>;
48
+ }, z.core.$strip>;
84
49
  export declare const RunErrorEvent: z.ZodObject<{
85
50
  type: z.ZodLiteral<"run_error">;
86
51
  conversationId: z.ZodString;
87
52
  error: z.ZodString;
88
- }, "strip", z.ZodTypeAny, {
89
- error: string;
90
- type: "run_error";
91
- conversationId: string;
92
- }, {
93
- error: string;
94
- type: "run_error";
95
- conversationId: string;
96
- }>;
53
+ }, z.core.$strip>;
97
54
  export declare const RunResumedEvent: z.ZodObject<{
98
55
  type: z.ZodLiteral<"run_resumed">;
99
56
  conversationId: z.ZodString;
100
- }, "strip", z.ZodTypeAny, {
101
- type: "run_resumed";
102
- conversationId: string;
103
- }, {
104
- type: "run_resumed";
105
- conversationId: string;
106
- }>;
57
+ }, z.core.$strip>;
107
58
  export declare const SnapshotAttachmentMeta: z.ZodObject<{
108
59
  name: z.ZodString;
109
60
  mimeType: z.ZodString;
110
61
  size: z.ZodNumber;
111
- }, "strip", z.ZodTypeAny, {
112
- name: string;
113
- mimeType: string;
114
- size: number;
115
- }, {
116
- name: string;
117
- mimeType: string;
118
- size: number;
119
- }>;
62
+ }, z.core.$strip>;
120
63
  export declare const ConversationSnapshotMessage: z.ZodObject<{
121
64
  role: z.ZodString;
122
65
  content: z.ZodString;
@@ -127,41 +70,9 @@ export declare const ConversationSnapshotMessage: z.ZodObject<{
127
70
  name: z.ZodString;
128
71
  mimeType: z.ZodString;
129
72
  size: z.ZodNumber;
130
- }, "strip", z.ZodTypeAny, {
131
- name: string;
132
- mimeType: string;
133
- size: number;
134
- }, {
135
- name: string;
136
- mimeType: string;
137
- size: number;
138
- }>, "many">>;
73
+ }, z.core.$strip>>>;
139
74
  timestampMs: z.ZodNumber;
140
- }, "strip", z.ZodTypeAny, {
141
- role: string;
142
- content: string;
143
- timestampMs: number;
144
- status?: string | undefined;
145
- attachments?: {
146
- name: string;
147
- mimeType: string;
148
- size: number;
149
- }[] | undefined;
150
- callId?: string | undefined;
151
- toolName?: string | undefined;
152
- }, {
153
- role: string;
154
- content: string;
155
- timestampMs: number;
156
- status?: string | undefined;
157
- attachments?: {
158
- name: string;
159
- mimeType: string;
160
- size: number;
161
- }[] | undefined;
162
- callId?: string | undefined;
163
- toolName?: string | undefined;
164
- }>;
75
+ }, z.core.$strip>;
165
76
  export declare const ConversationSnapshotEvent: z.ZodObject<{
166
77
  type: z.ZodLiteral<"conversation_snapshot">;
167
78
  conversationId: z.ZodString;
@@ -175,93 +86,17 @@ export declare const ConversationSnapshotEvent: z.ZodObject<{
175
86
  name: z.ZodString;
176
87
  mimeType: z.ZodString;
177
88
  size: z.ZodNumber;
178
- }, "strip", z.ZodTypeAny, {
179
- name: string;
180
- mimeType: string;
181
- size: number;
182
- }, {
183
- name: string;
184
- mimeType: string;
185
- size: number;
186
- }>, "many">>;
89
+ }, z.core.$strip>>>;
187
90
  timestampMs: z.ZodNumber;
188
- }, "strip", z.ZodTypeAny, {
189
- role: string;
190
- content: string;
191
- timestampMs: number;
192
- status?: string | undefined;
193
- attachments?: {
194
- name: string;
195
- mimeType: string;
196
- size: number;
197
- }[] | undefined;
198
- callId?: string | undefined;
199
- toolName?: string | undefined;
200
- }, {
201
- role: string;
202
- content: string;
203
- timestampMs: number;
204
- status?: string | undefined;
205
- attachments?: {
206
- name: string;
207
- mimeType: string;
208
- size: number;
209
- }[] | undefined;
210
- callId?: string | undefined;
211
- toolName?: string | undefined;
212
- }>, "many">;
213
- }, "strip", z.ZodTypeAny, {
214
- type: "conversation_snapshot";
215
- conversationId: string;
216
- messages: {
217
- role: string;
218
- content: string;
219
- timestampMs: number;
220
- status?: string | undefined;
221
- attachments?: {
222
- name: string;
223
- mimeType: string;
224
- size: number;
225
- }[] | undefined;
226
- callId?: string | undefined;
227
- toolName?: string | undefined;
228
- }[];
229
- }, {
230
- type: "conversation_snapshot";
231
- conversationId: string;
232
- messages: {
233
- role: string;
234
- content: string;
235
- timestampMs: number;
236
- status?: string | undefined;
237
- attachments?: {
238
- name: string;
239
- mimeType: string;
240
- size: number;
241
- }[] | undefined;
242
- callId?: string | undefined;
243
- toolName?: string | undefined;
244
- }[];
245
- }>;
91
+ }, z.core.$strip>>;
92
+ }, z.core.$strip>;
246
93
  export declare const ConversationSummarySchema: z.ZodObject<{
247
94
  id: z.ZodString;
248
95
  title: z.ZodString;
249
96
  createdAtMs: z.ZodNumber;
250
97
  updatedAtMs: z.ZodNumber;
251
98
  messageCount: z.ZodNumber;
252
- }, "strip", z.ZodTypeAny, {
253
- id: string;
254
- title: string;
255
- createdAtMs: number;
256
- updatedAtMs: number;
257
- messageCount: number;
258
- }, {
259
- id: string;
260
- title: string;
261
- createdAtMs: number;
262
- updatedAtMs: number;
263
- messageCount: number;
264
- }>;
99
+ }, z.core.$strip>;
265
100
  export declare const ConversationListEvent: z.ZodObject<{
266
101
  type: z.ZodLiteral<"conversation_list">;
267
102
  conversations: z.ZodArray<z.ZodObject<{
@@ -270,92 +105,50 @@ export declare const ConversationListEvent: z.ZodObject<{
270
105
  createdAtMs: z.ZodNumber;
271
106
  updatedAtMs: z.ZodNumber;
272
107
  messageCount: z.ZodNumber;
273
- }, "strip", z.ZodTypeAny, {
274
- id: string;
275
- title: string;
276
- createdAtMs: number;
277
- updatedAtMs: number;
278
- messageCount: number;
279
- }, {
280
- id: string;
281
- title: string;
282
- createdAtMs: number;
283
- updatedAtMs: number;
284
- messageCount: number;
285
- }>, "many">;
286
- }, "strip", z.ZodTypeAny, {
287
- type: "conversation_list";
288
- conversations: {
289
- id: string;
290
- title: string;
291
- createdAtMs: number;
292
- updatedAtMs: number;
293
- messageCount: number;
294
- }[];
295
- }, {
296
- type: "conversation_list";
297
- conversations: {
298
- id: string;
299
- title: string;
300
- createdAtMs: number;
301
- updatedAtMs: number;
302
- messageCount: number;
303
- }[];
304
- }>;
108
+ }, z.core.$strip>>;
109
+ }, z.core.$strip>;
305
110
  export declare const AppSettingsSchema: z.ZodObject<{
306
- mode: z.ZodEnum<["normal", "acceptEdits", "plan", "auto"]>;
307
- thinking: z.ZodEnum<["off", "low", "medium", "high"]>;
308
- generationMode: z.ZodDefault<z.ZodEnum<["safe", "vibe"]>>;
111
+ mode: z.ZodEnum<{
112
+ normal: "normal";
113
+ acceptEdits: "acceptEdits";
114
+ plan: "plan";
115
+ auto: "auto";
116
+ }>;
117
+ thinking: z.ZodEnum<{
118
+ off: "off";
119
+ low: "low";
120
+ medium: "medium";
121
+ high: "high";
122
+ }>;
123
+ generationMode: z.ZodDefault<z.ZodEnum<{
124
+ safe: "safe";
125
+ vibe: "vibe";
126
+ }>>;
309
127
  allowLocalSkills: z.ZodDefault<z.ZodBoolean>;
310
- }, "strip", z.ZodTypeAny, {
311
- mode: "normal" | "acceptEdits" | "plan" | "auto";
312
- thinking: "off" | "low" | "medium" | "high";
313
- generationMode: "safe" | "vibe";
314
- allowLocalSkills: boolean;
315
- }, {
316
- mode: "normal" | "acceptEdits" | "plan" | "auto";
317
- thinking: "off" | "low" | "medium" | "high";
318
- generationMode?: "safe" | "vibe" | undefined;
319
- allowLocalSkills?: boolean | undefined;
320
- }>;
128
+ }, z.core.$strip>;
321
129
  export declare const SettingsUpdateEvent: z.ZodObject<{
322
130
  type: z.ZodLiteral<"settings_update">;
323
131
  settings: z.ZodObject<{
324
- mode: z.ZodEnum<["normal", "acceptEdits", "plan", "auto"]>;
325
- thinking: z.ZodEnum<["off", "low", "medium", "high"]>;
326
- generationMode: z.ZodDefault<z.ZodEnum<["safe", "vibe"]>>;
132
+ mode: z.ZodEnum<{
133
+ normal: "normal";
134
+ acceptEdits: "acceptEdits";
135
+ plan: "plan";
136
+ auto: "auto";
137
+ }>;
138
+ thinking: z.ZodEnum<{
139
+ off: "off";
140
+ low: "low";
141
+ medium: "medium";
142
+ high: "high";
143
+ }>;
144
+ generationMode: z.ZodDefault<z.ZodEnum<{
145
+ safe: "safe";
146
+ vibe: "vibe";
147
+ }>>;
327
148
  allowLocalSkills: z.ZodDefault<z.ZodBoolean>;
328
- }, "strip", z.ZodTypeAny, {
329
- mode: "normal" | "acceptEdits" | "plan" | "auto";
330
- thinking: "off" | "low" | "medium" | "high";
331
- generationMode: "safe" | "vibe";
332
- allowLocalSkills: boolean;
333
- }, {
334
- mode: "normal" | "acceptEdits" | "plan" | "auto";
335
- thinking: "off" | "low" | "medium" | "high";
336
- generationMode?: "safe" | "vibe" | undefined;
337
- allowLocalSkills?: boolean | undefined;
338
- }>;
149
+ }, z.core.$strip>;
339
150
  builderAvailable: z.ZodDefault<z.ZodBoolean>;
340
- }, "strip", z.ZodTypeAny, {
341
- type: "settings_update";
342
- settings: {
343
- mode: "normal" | "acceptEdits" | "plan" | "auto";
344
- thinking: "off" | "low" | "medium" | "high";
345
- generationMode: "safe" | "vibe";
346
- allowLocalSkills: boolean;
347
- };
348
- builderAvailable: boolean;
349
- }, {
350
- type: "settings_update";
351
- settings: {
352
- mode: "normal" | "acceptEdits" | "plan" | "auto";
353
- thinking: "off" | "low" | "medium" | "high";
354
- generationMode?: "safe" | "vibe" | undefined;
355
- allowLocalSkills?: boolean | undefined;
356
- };
357
- builderAvailable?: boolean | undefined;
358
- }>;
151
+ }, z.core.$strip>;
359
152
  export declare const PermissionRequestEvent: z.ZodObject<{
360
153
  type: z.ZodLiteral<"permission_request">;
361
154
  conversationId: z.ZodString;
@@ -363,34 +156,12 @@ export declare const PermissionRequestEvent: z.ZodObject<{
363
156
  toolName: z.ZodString;
364
157
  args: z.ZodUnknown;
365
158
  summary: z.ZodString;
366
- }, "strip", z.ZodTypeAny, {
367
- type: "permission_request";
368
- conversationId: string;
369
- requestId: string;
370
- toolName: string;
371
- summary: string;
372
- args?: unknown;
373
- }, {
374
- type: "permission_request";
375
- conversationId: string;
376
- requestId: string;
377
- toolName: string;
378
- summary: string;
379
- args?: unknown;
380
- }>;
159
+ }, z.core.$strip>;
381
160
  export declare const QuestionOptionSchema: z.ZodObject<{
382
161
  label: z.ZodString;
383
162
  description: z.ZodString;
384
163
  preview: z.ZodOptional<z.ZodString>;
385
- }, "strip", z.ZodTypeAny, {
386
- label: string;
387
- description: string;
388
- preview?: string | undefined;
389
- }, {
390
- label: string;
391
- description: string;
392
- preview?: string | undefined;
393
- }>;
164
+ }, z.core.$strip>;
394
165
  export declare const QuestionSchema: z.ZodObject<{
395
166
  question: z.ZodString;
396
167
  header: z.ZodString;
@@ -398,32 +169,8 @@ export declare const QuestionSchema: z.ZodObject<{
398
169
  label: z.ZodString;
399
170
  description: z.ZodString;
400
171
  preview: z.ZodOptional<z.ZodString>;
401
- }, "strip", z.ZodTypeAny, {
402
- label: string;
403
- description: string;
404
- preview?: string | undefined;
405
- }, {
406
- label: string;
407
- description: string;
408
- preview?: string | undefined;
409
- }>, "many">;
410
- }, "strip", z.ZodTypeAny, {
411
- options: {
412
- label: string;
413
- description: string;
414
- preview?: string | undefined;
415
- }[];
416
- question: string;
417
- header: string;
418
- }, {
419
- options: {
420
- label: string;
421
- description: string;
422
- preview?: string | undefined;
423
- }[];
424
- question: string;
425
- header: string;
426
- }>;
172
+ }, z.core.$strip>>;
173
+ }, z.core.$strip>;
427
174
  export declare const AskQuestionEvent: z.ZodObject<{
428
175
  type: z.ZodLiteral<"ask_question">;
429
176
  conversationId: z.ZodString;
@@ -435,69 +182,13 @@ export declare const AskQuestionEvent: z.ZodObject<{
435
182
  label: z.ZodString;
436
183
  description: z.ZodString;
437
184
  preview: z.ZodOptional<z.ZodString>;
438
- }, "strip", z.ZodTypeAny, {
439
- label: string;
440
- description: string;
441
- preview?: string | undefined;
442
- }, {
443
- label: string;
444
- description: string;
445
- preview?: string | undefined;
446
- }>, "many">;
447
- }, "strip", z.ZodTypeAny, {
448
- options: {
449
- label: string;
450
- description: string;
451
- preview?: string | undefined;
452
- }[];
453
- question: string;
454
- header: string;
455
- }, {
456
- options: {
457
- label: string;
458
- description: string;
459
- preview?: string | undefined;
460
- }[];
461
- question: string;
462
- header: string;
463
- }>, "many">;
464
- }, "strip", z.ZodTypeAny, {
465
- type: "ask_question";
466
- conversationId: string;
467
- requestId: string;
468
- questions: {
469
- options: {
470
- label: string;
471
- description: string;
472
- preview?: string | undefined;
473
- }[];
474
- question: string;
475
- header: string;
476
- }[];
477
- }, {
478
- type: "ask_question";
479
- conversationId: string;
480
- requestId: string;
481
- questions: {
482
- options: {
483
- label: string;
484
- description: string;
485
- preview?: string | undefined;
486
- }[];
487
- question: string;
488
- header: string;
489
- }[];
490
- }>;
185
+ }, z.core.$strip>>;
186
+ }, z.core.$strip>>;
187
+ }, z.core.$strip>;
491
188
  export declare const HostCommandNavigateEvent: z.ZodObject<{
492
189
  type: z.ZodLiteral<"host_command_navigate">;
493
190
  path: z.ZodString;
494
- }, "strip", z.ZodTypeAny, {
495
- type: "host_command_navigate";
496
- path: string;
497
- }, {
498
- type: "host_command_navigate";
499
- path: string;
500
- }>;
191
+ }, z.core.$strip>;
501
192
  export declare const QueueStateEvent: z.ZodObject<{
502
193
  type: z.ZodLiteral<"queue_state">;
503
194
  conversationId: z.ZodString;
@@ -509,63 +200,9 @@ export declare const QueueStateEvent: z.ZodObject<{
509
200
  mimeType: z.ZodString;
510
201
  size: z.ZodNumber;
511
202
  data: z.ZodString;
512
- }, "strip", z.ZodTypeAny, {
513
- name: string;
514
- mimeType: string;
515
- size: number;
516
- data: string;
517
- }, {
518
- name: string;
519
- mimeType: string;
520
- size: number;
521
- data: string;
522
- }>, "many">>;
523
- }, "strip", z.ZodTypeAny, {
524
- content: string;
525
- id: string;
526
- attachments?: {
527
- name: string;
528
- mimeType: string;
529
- size: number;
530
- data: string;
531
- }[] | undefined;
532
- }, {
533
- content: string;
534
- id: string;
535
- attachments?: {
536
- name: string;
537
- mimeType: string;
538
- size: number;
539
- data: string;
540
- }[] | undefined;
541
- }>, "many">;
542
- }, "strip", z.ZodTypeAny, {
543
- type: "queue_state";
544
- conversationId: string;
545
- items: {
546
- content: string;
547
- id: string;
548
- attachments?: {
549
- name: string;
550
- mimeType: string;
551
- size: number;
552
- data: string;
553
- }[] | undefined;
554
- }[];
555
- }, {
556
- type: "queue_state";
557
- conversationId: string;
558
- items: {
559
- content: string;
560
- id: string;
561
- attachments?: {
562
- name: string;
563
- mimeType: string;
564
- size: number;
565
- data: string;
566
- }[] | undefined;
567
- }[];
568
- }>;
203
+ }, z.core.$strip>>>;
204
+ }, z.core.$strip>>;
205
+ }, z.core.$strip>;
569
206
  export declare const UserMessageEchoEvent: z.ZodObject<{
570
207
  type: z.ZodLiteral<"user_message_echo">;
571
208
  conversationId: z.ZodString;
@@ -574,116 +211,39 @@ export declare const UserMessageEchoEvent: z.ZodObject<{
574
211
  name: z.ZodString;
575
212
  mimeType: z.ZodString;
576
213
  size: z.ZodNumber;
577
- }, "strip", z.ZodTypeAny, {
578
- name: string;
579
- mimeType: string;
580
- size: number;
581
- }, {
582
- name: string;
583
- mimeType: string;
584
- size: number;
585
- }>, "many">>;
214
+ }, z.core.$strip>>>;
586
215
  timestampMs: z.ZodNumber;
587
- }, "strip", z.ZodTypeAny, {
588
- type: "user_message_echo";
589
- conversationId: string;
590
- content: string;
591
- timestampMs: number;
592
- attachments?: {
593
- name: string;
594
- mimeType: string;
595
- size: number;
596
- }[] | undefined;
597
- }, {
598
- type: "user_message_echo";
599
- conversationId: string;
600
- content: string;
601
- timestampMs: number;
602
- attachments?: {
603
- name: string;
604
- mimeType: string;
605
- size: number;
606
- }[] | undefined;
607
- }>;
608
- export declare const AnyServerEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
216
+ }, z.core.$strip>;
217
+ export declare const AnyServerEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
609
218
  type: z.ZodLiteral<"assistant_message_chunk">;
610
219
  conversationId: z.ZodString;
611
220
  text: z.ZodString;
612
- }, "strip", z.ZodTypeAny, {
613
- type: "assistant_message_chunk";
614
- conversationId: string;
615
- text: string;
616
- }, {
617
- type: "assistant_message_chunk";
618
- conversationId: string;
619
- text: string;
620
- }>, z.ZodObject<{
221
+ }, z.core.$strip>, z.ZodObject<{
621
222
  type: z.ZodLiteral<"tool_call_start">;
622
223
  conversationId: z.ZodString;
623
224
  callId: z.ZodString;
624
225
  toolName: z.ZodString;
625
226
  args: z.ZodUnknown;
626
- }, "strip", z.ZodTypeAny, {
627
- type: "tool_call_start";
628
- conversationId: string;
629
- callId: string;
630
- toolName: string;
631
- args?: unknown;
632
- }, {
633
- type: "tool_call_start";
634
- conversationId: string;
635
- callId: string;
636
- toolName: string;
637
- args?: unknown;
638
- }>, z.ZodObject<{
227
+ }, z.core.$strip>, z.ZodObject<{
639
228
  type: z.ZodLiteral<"tool_call_end">;
640
229
  conversationId: z.ZodString;
641
230
  callId: z.ZodString;
642
- status: z.ZodEnum<["success", "error"]>;
231
+ status: z.ZodEnum<{
232
+ error: "error";
233
+ success: "success";
234
+ }>;
643
235
  result: z.ZodUnknown;
644
- }, "strip", z.ZodTypeAny, {
645
- type: "tool_call_end";
646
- status: "error" | "success";
647
- conversationId: string;
648
- callId: string;
649
- result?: unknown;
650
- }, {
651
- type: "tool_call_end";
652
- status: "error" | "success";
653
- conversationId: string;
654
- callId: string;
655
- result?: unknown;
656
- }>, z.ZodObject<{
236
+ }, z.core.$strip>, z.ZodObject<{
657
237
  type: z.ZodLiteral<"run_done">;
658
238
  conversationId: z.ZodString;
659
- }, "strip", z.ZodTypeAny, {
660
- type: "run_done";
661
- conversationId: string;
662
- }, {
663
- type: "run_done";
664
- conversationId: string;
665
- }>, z.ZodObject<{
239
+ }, z.core.$strip>, z.ZodObject<{
666
240
  type: z.ZodLiteral<"run_error">;
667
241
  conversationId: z.ZodString;
668
242
  error: z.ZodString;
669
- }, "strip", z.ZodTypeAny, {
670
- error: string;
671
- type: "run_error";
672
- conversationId: string;
673
- }, {
674
- error: string;
675
- type: "run_error";
676
- conversationId: string;
677
- }>, z.ZodObject<{
243
+ }, z.core.$strip>, z.ZodObject<{
678
244
  type: z.ZodLiteral<"run_resumed">;
679
245
  conversationId: z.ZodString;
680
- }, "strip", z.ZodTypeAny, {
681
- type: "run_resumed";
682
- conversationId: string;
683
- }, {
684
- type: "run_resumed";
685
- conversationId: string;
686
- }>, z.ZodObject<{
246
+ }, z.core.$strip>, z.ZodObject<{
687
247
  type: z.ZodLiteral<"conversation_snapshot">;
688
248
  conversationId: z.ZodString;
689
249
  messages: z.ZodArray<z.ZodObject<{
@@ -696,74 +256,10 @@ export declare const AnyServerEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
696
256
  name: z.ZodString;
697
257
  mimeType: z.ZodString;
698
258
  size: z.ZodNumber;
699
- }, "strip", z.ZodTypeAny, {
700
- name: string;
701
- mimeType: string;
702
- size: number;
703
- }, {
704
- name: string;
705
- mimeType: string;
706
- size: number;
707
- }>, "many">>;
259
+ }, z.core.$strip>>>;
708
260
  timestampMs: z.ZodNumber;
709
- }, "strip", z.ZodTypeAny, {
710
- role: string;
711
- content: string;
712
- timestampMs: number;
713
- status?: string | undefined;
714
- attachments?: {
715
- name: string;
716
- mimeType: string;
717
- size: number;
718
- }[] | undefined;
719
- callId?: string | undefined;
720
- toolName?: string | undefined;
721
- }, {
722
- role: string;
723
- content: string;
724
- timestampMs: number;
725
- status?: string | undefined;
726
- attachments?: {
727
- name: string;
728
- mimeType: string;
729
- size: number;
730
- }[] | undefined;
731
- callId?: string | undefined;
732
- toolName?: string | undefined;
733
- }>, "many">;
734
- }, "strip", z.ZodTypeAny, {
735
- type: "conversation_snapshot";
736
- conversationId: string;
737
- messages: {
738
- role: string;
739
- content: string;
740
- timestampMs: number;
741
- status?: string | undefined;
742
- attachments?: {
743
- name: string;
744
- mimeType: string;
745
- size: number;
746
- }[] | undefined;
747
- callId?: string | undefined;
748
- toolName?: string | undefined;
749
- }[];
750
- }, {
751
- type: "conversation_snapshot";
752
- conversationId: string;
753
- messages: {
754
- role: string;
755
- content: string;
756
- timestampMs: number;
757
- status?: string | undefined;
758
- attachments?: {
759
- name: string;
760
- mimeType: string;
761
- size: number;
762
- }[] | undefined;
763
- callId?: string | undefined;
764
- toolName?: string | undefined;
765
- }[];
766
- }>, z.ZodObject<{
261
+ }, z.core.$strip>>;
262
+ }, z.core.$strip>, z.ZodObject<{
767
263
  type: z.ZodLiteral<"conversation_list">;
768
264
  conversations: z.ZodArray<z.ZodObject<{
769
265
  id: z.ZodString;
@@ -771,96 +267,37 @@ export declare const AnyServerEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
771
267
  createdAtMs: z.ZodNumber;
772
268
  updatedAtMs: z.ZodNumber;
773
269
  messageCount: z.ZodNumber;
774
- }, "strip", z.ZodTypeAny, {
775
- id: string;
776
- title: string;
777
- createdAtMs: number;
778
- updatedAtMs: number;
779
- messageCount: number;
780
- }, {
781
- id: string;
782
- title: string;
783
- createdAtMs: number;
784
- updatedAtMs: number;
785
- messageCount: number;
786
- }>, "many">;
787
- }, "strip", z.ZodTypeAny, {
788
- type: "conversation_list";
789
- conversations: {
790
- id: string;
791
- title: string;
792
- createdAtMs: number;
793
- updatedAtMs: number;
794
- messageCount: number;
795
- }[];
796
- }, {
797
- type: "conversation_list";
798
- conversations: {
799
- id: string;
800
- title: string;
801
- createdAtMs: number;
802
- updatedAtMs: number;
803
- messageCount: number;
804
- }[];
805
- }>, z.ZodObject<{
270
+ }, z.core.$strip>>;
271
+ }, z.core.$strip>, z.ZodObject<{
806
272
  type: z.ZodLiteral<"settings_update">;
807
273
  settings: z.ZodObject<{
808
- mode: z.ZodEnum<["normal", "acceptEdits", "plan", "auto"]>;
809
- thinking: z.ZodEnum<["off", "low", "medium", "high"]>;
810
- generationMode: z.ZodDefault<z.ZodEnum<["safe", "vibe"]>>;
274
+ mode: z.ZodEnum<{
275
+ normal: "normal";
276
+ acceptEdits: "acceptEdits";
277
+ plan: "plan";
278
+ auto: "auto";
279
+ }>;
280
+ thinking: z.ZodEnum<{
281
+ off: "off";
282
+ low: "low";
283
+ medium: "medium";
284
+ high: "high";
285
+ }>;
286
+ generationMode: z.ZodDefault<z.ZodEnum<{
287
+ safe: "safe";
288
+ vibe: "vibe";
289
+ }>>;
811
290
  allowLocalSkills: z.ZodDefault<z.ZodBoolean>;
812
- }, "strip", z.ZodTypeAny, {
813
- mode: "normal" | "acceptEdits" | "plan" | "auto";
814
- thinking: "off" | "low" | "medium" | "high";
815
- generationMode: "safe" | "vibe";
816
- allowLocalSkills: boolean;
817
- }, {
818
- mode: "normal" | "acceptEdits" | "plan" | "auto";
819
- thinking: "off" | "low" | "medium" | "high";
820
- generationMode?: "safe" | "vibe" | undefined;
821
- allowLocalSkills?: boolean | undefined;
822
- }>;
291
+ }, z.core.$strip>;
823
292
  builderAvailable: z.ZodDefault<z.ZodBoolean>;
824
- }, "strip", z.ZodTypeAny, {
825
- type: "settings_update";
826
- settings: {
827
- mode: "normal" | "acceptEdits" | "plan" | "auto";
828
- thinking: "off" | "low" | "medium" | "high";
829
- generationMode: "safe" | "vibe";
830
- allowLocalSkills: boolean;
831
- };
832
- builderAvailable: boolean;
833
- }, {
834
- type: "settings_update";
835
- settings: {
836
- mode: "normal" | "acceptEdits" | "plan" | "auto";
837
- thinking: "off" | "low" | "medium" | "high";
838
- generationMode?: "safe" | "vibe" | undefined;
839
- allowLocalSkills?: boolean | undefined;
840
- };
841
- builderAvailable?: boolean | undefined;
842
- }>, z.ZodObject<{
293
+ }, z.core.$strip>, z.ZodObject<{
843
294
  type: z.ZodLiteral<"permission_request">;
844
295
  conversationId: z.ZodString;
845
296
  requestId: z.ZodString;
846
297
  toolName: z.ZodString;
847
298
  args: z.ZodUnknown;
848
299
  summary: z.ZodString;
849
- }, "strip", z.ZodTypeAny, {
850
- type: "permission_request";
851
- conversationId: string;
852
- requestId: string;
853
- toolName: string;
854
- summary: string;
855
- args?: unknown;
856
- }, {
857
- type: "permission_request";
858
- conversationId: string;
859
- requestId: string;
860
- toolName: string;
861
- summary: string;
862
- args?: unknown;
863
- }>, z.ZodObject<{
300
+ }, z.core.$strip>, z.ZodObject<{
864
301
  type: z.ZodLiteral<"ask_question">;
865
302
  conversationId: z.ZodString;
866
303
  requestId: z.ZodString;
@@ -871,68 +308,12 @@ export declare const AnyServerEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
871
308
  label: z.ZodString;
872
309
  description: z.ZodString;
873
310
  preview: z.ZodOptional<z.ZodString>;
874
- }, "strip", z.ZodTypeAny, {
875
- label: string;
876
- description: string;
877
- preview?: string | undefined;
878
- }, {
879
- label: string;
880
- description: string;
881
- preview?: string | undefined;
882
- }>, "many">;
883
- }, "strip", z.ZodTypeAny, {
884
- options: {
885
- label: string;
886
- description: string;
887
- preview?: string | undefined;
888
- }[];
889
- question: string;
890
- header: string;
891
- }, {
892
- options: {
893
- label: string;
894
- description: string;
895
- preview?: string | undefined;
896
- }[];
897
- question: string;
898
- header: string;
899
- }>, "many">;
900
- }, "strip", z.ZodTypeAny, {
901
- type: "ask_question";
902
- conversationId: string;
903
- requestId: string;
904
- questions: {
905
- options: {
906
- label: string;
907
- description: string;
908
- preview?: string | undefined;
909
- }[];
910
- question: string;
911
- header: string;
912
- }[];
913
- }, {
914
- type: "ask_question";
915
- conversationId: string;
916
- requestId: string;
917
- questions: {
918
- options: {
919
- label: string;
920
- description: string;
921
- preview?: string | undefined;
922
- }[];
923
- question: string;
924
- header: string;
925
- }[];
926
- }>, z.ZodObject<{
311
+ }, z.core.$strip>>;
312
+ }, z.core.$strip>>;
313
+ }, z.core.$strip>, z.ZodObject<{
927
314
  type: z.ZodLiteral<"host_command_navigate">;
928
315
  path: z.ZodString;
929
- }, "strip", z.ZodTypeAny, {
930
- type: "host_command_navigate";
931
- path: string;
932
- }, {
933
- type: "host_command_navigate";
934
- path: string;
935
- }>, z.ZodObject<{
316
+ }, z.core.$strip>, z.ZodObject<{
936
317
  type: z.ZodLiteral<"queue_state">;
937
318
  conversationId: z.ZodString;
938
319
  items: z.ZodArray<z.ZodObject<{
@@ -943,63 +324,9 @@ export declare const AnyServerEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
943
324
  mimeType: z.ZodString;
944
325
  size: z.ZodNumber;
945
326
  data: z.ZodString;
946
- }, "strip", z.ZodTypeAny, {
947
- name: string;
948
- mimeType: string;
949
- size: number;
950
- data: string;
951
- }, {
952
- name: string;
953
- mimeType: string;
954
- size: number;
955
- data: string;
956
- }>, "many">>;
957
- }, "strip", z.ZodTypeAny, {
958
- content: string;
959
- id: string;
960
- attachments?: {
961
- name: string;
962
- mimeType: string;
963
- size: number;
964
- data: string;
965
- }[] | undefined;
966
- }, {
967
- content: string;
968
- id: string;
969
- attachments?: {
970
- name: string;
971
- mimeType: string;
972
- size: number;
973
- data: string;
974
- }[] | undefined;
975
- }>, "many">;
976
- }, "strip", z.ZodTypeAny, {
977
- type: "queue_state";
978
- conversationId: string;
979
- items: {
980
- content: string;
981
- id: string;
982
- attachments?: {
983
- name: string;
984
- mimeType: string;
985
- size: number;
986
- data: string;
987
- }[] | undefined;
988
- }[];
989
- }, {
990
- type: "queue_state";
991
- conversationId: string;
992
- items: {
993
- content: string;
994
- id: string;
995
- attachments?: {
996
- name: string;
997
- mimeType: string;
998
- size: number;
999
- data: string;
1000
- }[] | undefined;
1001
- }[];
1002
- }>, z.ZodObject<{
327
+ }, z.core.$strip>>>;
328
+ }, z.core.$strip>>;
329
+ }, z.core.$strip>, z.ZodObject<{
1003
330
  type: z.ZodLiteral<"user_message_echo">;
1004
331
  conversationId: z.ZodString;
1005
332
  content: z.ZodString;
@@ -1007,37 +334,9 @@ export declare const AnyServerEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1007
334
  name: z.ZodString;
1008
335
  mimeType: z.ZodString;
1009
336
  size: z.ZodNumber;
1010
- }, "strip", z.ZodTypeAny, {
1011
- name: string;
1012
- mimeType: string;
1013
- size: number;
1014
- }, {
1015
- name: string;
1016
- mimeType: string;
1017
- size: number;
1018
- }>, "many">>;
337
+ }, z.core.$strip>>>;
1019
338
  timestampMs: z.ZodNumber;
1020
- }, "strip", z.ZodTypeAny, {
1021
- type: "user_message_echo";
1022
- conversationId: string;
1023
- content: string;
1024
- timestampMs: number;
1025
- attachments?: {
1026
- name: string;
1027
- mimeType: string;
1028
- size: number;
1029
- }[] | undefined;
1030
- }, {
1031
- type: "user_message_echo";
1032
- conversationId: string;
1033
- content: string;
1034
- timestampMs: number;
1035
- attachments?: {
1036
- name: string;
1037
- mimeType: string;
1038
- size: number;
1039
- }[] | undefined;
1040
- }>]>;
339
+ }, z.core.$strip>], "type">;
1041
340
  export type AnyServerEventType = z.infer<typeof AnyServerEvent>;
1042
341
  export type RunResumedEventType = z.infer<typeof RunResumedEvent>;
1043
342
  export type ConversationSnapshotEventType = z.infer<typeof ConversationSnapshotEvent>;