@adecore/agent-contracts 0.20.1 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.d.ts +1455 -0
- package/dist/chat.js +89 -4
- package/dist/protocol.d.ts +988 -0
- package/dist/protocol.js +4 -1
- package/package.json +2 -1
- package/src/chat.ts +111 -4
- package/src/protocol.ts +8 -0
package/dist/chat.d.ts
CHANGED
|
@@ -46,8 +46,36 @@ export declare const ChatAttachmentSchema: z.ZodObject<{
|
|
|
46
46
|
mime: z.ZodString;
|
|
47
47
|
size: z.ZodNumber;
|
|
48
48
|
path: z.ZodString;
|
|
49
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
49
51
|
}, z.core.$strip>;
|
|
50
52
|
export type ChatAttachment = z.infer<typeof ChatAttachmentSchema>;
|
|
53
|
+
export declare const ChatUiChoiceOriginSchema: z.ZodObject<{
|
|
54
|
+
itemId: z.ZodString;
|
|
55
|
+
blockId: z.ZodString;
|
|
56
|
+
revision: z.ZodString;
|
|
57
|
+
choiceId: z.ZodString;
|
|
58
|
+
label: z.ZodString;
|
|
59
|
+
sourceAt: z.ZodNumber;
|
|
60
|
+
older: z.ZodBoolean;
|
|
61
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
62
|
+
at: z.ZodNumber;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
export type ChatUiChoiceOrigin = z.infer<typeof ChatUiChoiceOriginSchema>;
|
|
65
|
+
export declare const ChatUiAnswerSchema: z.ZodObject<{
|
|
66
|
+
itemId: z.ZodString;
|
|
67
|
+
blockId: z.ZodString;
|
|
68
|
+
revision: z.ZodString;
|
|
69
|
+
choiceId: z.ZodString;
|
|
70
|
+
label: z.ZodString;
|
|
71
|
+
sourceAt: z.ZodNumber;
|
|
72
|
+
older: z.ZodBoolean;
|
|
73
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
74
|
+
at: z.ZodNumber;
|
|
75
|
+
queued: z.ZodBoolean;
|
|
76
|
+
turnId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type ChatUiAnswer = z.infer<typeof ChatUiAnswerSchema>;
|
|
51
79
|
export declare const ChatQueuedMessageSchema: z.ZodObject<{
|
|
52
80
|
id: z.ZodString;
|
|
53
81
|
turnId: z.ZodOptional<z.ZodString>;
|
|
@@ -61,8 +89,21 @@ export declare const ChatQueuedMessageSchema: z.ZodObject<{
|
|
|
61
89
|
mime: z.ZodString;
|
|
62
90
|
size: z.ZodNumber;
|
|
63
91
|
path: z.ZodString;
|
|
92
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
64
94
|
}, z.core.$strip>>>;
|
|
65
95
|
createdAt: z.ZodNumber;
|
|
96
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
itemId: z.ZodString;
|
|
98
|
+
blockId: z.ZodString;
|
|
99
|
+
revision: z.ZodString;
|
|
100
|
+
choiceId: z.ZodString;
|
|
101
|
+
label: z.ZodString;
|
|
102
|
+
sourceAt: z.ZodNumber;
|
|
103
|
+
older: z.ZodBoolean;
|
|
104
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
105
|
+
at: z.ZodNumber;
|
|
106
|
+
}, z.core.$strip>>;
|
|
66
107
|
}, z.core.$strip>;
|
|
67
108
|
export type ChatQueuedMessage = z.infer<typeof ChatQueuedMessageSchema>;
|
|
68
109
|
export declare const ChatBackgroundTaskSchema: z.ZodObject<{
|
|
@@ -220,8 +261,21 @@ export declare const ChatInfoSchema: z.ZodObject<{
|
|
|
220
261
|
mime: z.ZodString;
|
|
221
262
|
size: z.ZodNumber;
|
|
222
263
|
path: z.ZodString;
|
|
264
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
265
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
223
266
|
}, z.core.$strip>>>;
|
|
224
267
|
createdAt: z.ZodNumber;
|
|
268
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
itemId: z.ZodString;
|
|
270
|
+
blockId: z.ZodString;
|
|
271
|
+
revision: z.ZodString;
|
|
272
|
+
choiceId: z.ZodString;
|
|
273
|
+
label: z.ZodString;
|
|
274
|
+
sourceAt: z.ZodNumber;
|
|
275
|
+
older: z.ZodBoolean;
|
|
276
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
277
|
+
at: z.ZodNumber;
|
|
278
|
+
}, z.core.$strip>>;
|
|
225
279
|
}, z.core.$strip>>>;
|
|
226
280
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
227
281
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -350,13 +404,181 @@ export declare const ChatUserItemSchema: z.ZodObject<{
|
|
|
350
404
|
mime: z.ZodString;
|
|
351
405
|
size: z.ZodNumber;
|
|
352
406
|
path: z.ZodString;
|
|
407
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
353
409
|
}, z.core.$strip>>>;
|
|
410
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
itemId: z.ZodString;
|
|
412
|
+
blockId: z.ZodString;
|
|
413
|
+
revision: z.ZodString;
|
|
414
|
+
choiceId: z.ZodString;
|
|
415
|
+
label: z.ZodString;
|
|
416
|
+
sourceAt: z.ZodNumber;
|
|
417
|
+
older: z.ZodBoolean;
|
|
418
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
419
|
+
at: z.ZodNumber;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
export declare const ChatUiQueryReadingSchema: z.ZodObject<{
|
|
423
|
+
state: z.ZodEnum<{
|
|
424
|
+
failed: "failed";
|
|
425
|
+
fresh: "fresh";
|
|
426
|
+
refused: "refused";
|
|
427
|
+
}>;
|
|
428
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
429
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
430
|
+
readAt: z.ZodNumber;
|
|
431
|
+
code: z.ZodOptional<z.ZodString>;
|
|
432
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
433
|
+
}, z.core.$strip>;
|
|
434
|
+
export type ChatUiQueryReading = z.infer<typeof ChatUiQueryReadingSchema>;
|
|
435
|
+
export declare const ChatUiLinkReadingSchema: z.ZodObject<{
|
|
436
|
+
state: z.ZodEnum<{
|
|
437
|
+
chip: "chip";
|
|
438
|
+
plain: "plain";
|
|
439
|
+
}>;
|
|
440
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
441
|
+
type: z.ZodLiteral<"File">;
|
|
442
|
+
path: z.ZodString;
|
|
443
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
444
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
445
|
+
type: z.ZodLiteral<"Diff">;
|
|
446
|
+
path: z.ZodString;
|
|
447
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
448
|
+
type: z.ZodLiteral<"Commit">;
|
|
449
|
+
sha: z.ZodString;
|
|
450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
451
|
+
type: z.ZodLiteral<"Node">;
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
}, z.core.$strict>], "type">>;
|
|
454
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
455
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
456
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
457
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
459
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
460
|
+
label: z.ZodOptional<z.ZodString>;
|
|
461
|
+
code: z.ZodOptional<z.ZodString>;
|
|
462
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
463
|
+
}, z.core.$strip>;
|
|
464
|
+
export type ChatUiLinkReading = z.infer<typeof ChatUiLinkReadingSchema>;
|
|
465
|
+
export declare const ChatUiQueryStateSchema: z.ZodObject<{
|
|
466
|
+
authorChatId: z.ZodString;
|
|
467
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
468
|
+
revision: z.ZodString;
|
|
469
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
470
|
+
state: z.ZodEnum<{
|
|
471
|
+
failed: "failed";
|
|
472
|
+
fresh: "fresh";
|
|
473
|
+
refused: "refused";
|
|
474
|
+
}>;
|
|
475
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
476
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
477
|
+
readAt: z.ZodNumber;
|
|
478
|
+
code: z.ZodOptional<z.ZodString>;
|
|
479
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
480
|
+
}, z.core.$strip>>;
|
|
481
|
+
fallback: z.ZodString;
|
|
482
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
483
|
+
state: z.ZodEnum<{
|
|
484
|
+
chip: "chip";
|
|
485
|
+
plain: "plain";
|
|
486
|
+
}>;
|
|
487
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
488
|
+
type: z.ZodLiteral<"File">;
|
|
489
|
+
path: z.ZodString;
|
|
490
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
491
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
492
|
+
type: z.ZodLiteral<"Diff">;
|
|
493
|
+
path: z.ZodString;
|
|
494
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
495
|
+
type: z.ZodLiteral<"Commit">;
|
|
496
|
+
sha: z.ZodString;
|
|
497
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
498
|
+
type: z.ZodLiteral<"Node">;
|
|
499
|
+
id: z.ZodString;
|
|
500
|
+
}, z.core.$strict>], "type">>;
|
|
501
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
502
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
503
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
504
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
505
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
506
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
507
|
+
label: z.ZodOptional<z.ZodString>;
|
|
508
|
+
code: z.ZodOptional<z.ZodString>;
|
|
509
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
510
|
+
}, z.core.$strip>>>;
|
|
511
|
+
}, z.core.$strip>>;
|
|
354
512
|
}, z.core.$strip>;
|
|
513
|
+
export type ChatUiQueryState = z.infer<typeof ChatUiQueryStateSchema>;
|
|
355
514
|
export declare const ChatAssistantItemSchema: z.ZodObject<{
|
|
356
515
|
id: z.ZodString;
|
|
357
516
|
createdAt: z.ZodNumber;
|
|
358
517
|
turnId: z.ZodNullable<z.ZodString>;
|
|
359
518
|
kind: z.ZodLiteral<"assistant">;
|
|
519
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
520
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
521
|
+
itemId: z.ZodString;
|
|
522
|
+
blockId: z.ZodString;
|
|
523
|
+
revision: z.ZodString;
|
|
524
|
+
choiceId: z.ZodString;
|
|
525
|
+
label: z.ZodString;
|
|
526
|
+
sourceAt: z.ZodNumber;
|
|
527
|
+
older: z.ZodBoolean;
|
|
528
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
529
|
+
at: z.ZodNumber;
|
|
530
|
+
queued: z.ZodBoolean;
|
|
531
|
+
turnId: z.ZodString;
|
|
532
|
+
}, z.core.$strip>>>;
|
|
533
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
534
|
+
authorChatId: z.ZodString;
|
|
535
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
536
|
+
revision: z.ZodString;
|
|
537
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
538
|
+
state: z.ZodEnum<{
|
|
539
|
+
failed: "failed";
|
|
540
|
+
fresh: "fresh";
|
|
541
|
+
refused: "refused";
|
|
542
|
+
}>;
|
|
543
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
544
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
545
|
+
readAt: z.ZodNumber;
|
|
546
|
+
code: z.ZodOptional<z.ZodString>;
|
|
547
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
548
|
+
}, z.core.$strip>>;
|
|
549
|
+
fallback: z.ZodString;
|
|
550
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
551
|
+
state: z.ZodEnum<{
|
|
552
|
+
chip: "chip";
|
|
553
|
+
plain: "plain";
|
|
554
|
+
}>;
|
|
555
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
556
|
+
type: z.ZodLiteral<"File">;
|
|
557
|
+
path: z.ZodString;
|
|
558
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
559
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
560
|
+
type: z.ZodLiteral<"Diff">;
|
|
561
|
+
path: z.ZodString;
|
|
562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
563
|
+
type: z.ZodLiteral<"Commit">;
|
|
564
|
+
sha: z.ZodString;
|
|
565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
566
|
+
type: z.ZodLiteral<"Node">;
|
|
567
|
+
id: z.ZodString;
|
|
568
|
+
}, z.core.$strict>], "type">>;
|
|
569
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
570
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
571
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
572
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
573
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
574
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
575
|
+
label: z.ZodOptional<z.ZodString>;
|
|
576
|
+
code: z.ZodOptional<z.ZodString>;
|
|
577
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
578
|
+
}, z.core.$strip>>>;
|
|
579
|
+
}, z.core.$strip>>;
|
|
580
|
+
}, z.core.$strip>>;
|
|
581
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
360
582
|
text: z.ZodString;
|
|
361
583
|
streaming: z.ZodBoolean;
|
|
362
584
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -737,12 +959,88 @@ export declare const ChatItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
737
959
|
mime: z.ZodString;
|
|
738
960
|
size: z.ZodNumber;
|
|
739
961
|
path: z.ZodString;
|
|
962
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
963
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
740
964
|
}, z.core.$strip>>>;
|
|
965
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
966
|
+
itemId: z.ZodString;
|
|
967
|
+
blockId: z.ZodString;
|
|
968
|
+
revision: z.ZodString;
|
|
969
|
+
choiceId: z.ZodString;
|
|
970
|
+
label: z.ZodString;
|
|
971
|
+
sourceAt: z.ZodNumber;
|
|
972
|
+
older: z.ZodBoolean;
|
|
973
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
974
|
+
at: z.ZodNumber;
|
|
975
|
+
}, z.core.$strip>>;
|
|
741
976
|
}, z.core.$strip>, z.ZodObject<{
|
|
742
977
|
id: z.ZodString;
|
|
743
978
|
createdAt: z.ZodNumber;
|
|
744
979
|
turnId: z.ZodNullable<z.ZodString>;
|
|
745
980
|
kind: z.ZodLiteral<"assistant">;
|
|
981
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
982
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
983
|
+
itemId: z.ZodString;
|
|
984
|
+
blockId: z.ZodString;
|
|
985
|
+
revision: z.ZodString;
|
|
986
|
+
choiceId: z.ZodString;
|
|
987
|
+
label: z.ZodString;
|
|
988
|
+
sourceAt: z.ZodNumber;
|
|
989
|
+
older: z.ZodBoolean;
|
|
990
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
991
|
+
at: z.ZodNumber;
|
|
992
|
+
queued: z.ZodBoolean;
|
|
993
|
+
turnId: z.ZodString;
|
|
994
|
+
}, z.core.$strip>>>;
|
|
995
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
996
|
+
authorChatId: z.ZodString;
|
|
997
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
998
|
+
revision: z.ZodString;
|
|
999
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1000
|
+
state: z.ZodEnum<{
|
|
1001
|
+
failed: "failed";
|
|
1002
|
+
fresh: "fresh";
|
|
1003
|
+
refused: "refused";
|
|
1004
|
+
}>;
|
|
1005
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1006
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
1007
|
+
readAt: z.ZodNumber;
|
|
1008
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
}, z.core.$strip>>;
|
|
1011
|
+
fallback: z.ZodString;
|
|
1012
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1013
|
+
state: z.ZodEnum<{
|
|
1014
|
+
chip: "chip";
|
|
1015
|
+
plain: "plain";
|
|
1016
|
+
}>;
|
|
1017
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1018
|
+
type: z.ZodLiteral<"File">;
|
|
1019
|
+
path: z.ZodString;
|
|
1020
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1021
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1022
|
+
type: z.ZodLiteral<"Diff">;
|
|
1023
|
+
path: z.ZodString;
|
|
1024
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1025
|
+
type: z.ZodLiteral<"Commit">;
|
|
1026
|
+
sha: z.ZodString;
|
|
1027
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1028
|
+
type: z.ZodLiteral<"Node">;
|
|
1029
|
+
id: z.ZodString;
|
|
1030
|
+
}, z.core.$strict>], "type">>;
|
|
1031
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
1035
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
1036
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1039
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
}, z.core.$strip>>>;
|
|
1041
|
+
}, z.core.$strip>>;
|
|
1042
|
+
}, z.core.$strip>>;
|
|
1043
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
746
1044
|
text: z.ZodString;
|
|
747
1045
|
streaming: z.ZodBoolean;
|
|
748
1046
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -994,12 +1292,88 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
994
1292
|
mime: z.ZodString;
|
|
995
1293
|
size: z.ZodNumber;
|
|
996
1294
|
path: z.ZodString;
|
|
1295
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1296
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
997
1297
|
}, z.core.$strip>>>;
|
|
1298
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1299
|
+
itemId: z.ZodString;
|
|
1300
|
+
blockId: z.ZodString;
|
|
1301
|
+
revision: z.ZodString;
|
|
1302
|
+
choiceId: z.ZodString;
|
|
1303
|
+
label: z.ZodString;
|
|
1304
|
+
sourceAt: z.ZodNumber;
|
|
1305
|
+
older: z.ZodBoolean;
|
|
1306
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1307
|
+
at: z.ZodNumber;
|
|
1308
|
+
}, z.core.$strip>>;
|
|
998
1309
|
}, z.core.$strip>, z.ZodObject<{
|
|
999
1310
|
id: z.ZodString;
|
|
1000
1311
|
createdAt: z.ZodNumber;
|
|
1001
1312
|
turnId: z.ZodNullable<z.ZodString>;
|
|
1002
1313
|
kind: z.ZodLiteral<"assistant">;
|
|
1314
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
1315
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1316
|
+
itemId: z.ZodString;
|
|
1317
|
+
blockId: z.ZodString;
|
|
1318
|
+
revision: z.ZodString;
|
|
1319
|
+
choiceId: z.ZodString;
|
|
1320
|
+
label: z.ZodString;
|
|
1321
|
+
sourceAt: z.ZodNumber;
|
|
1322
|
+
older: z.ZodBoolean;
|
|
1323
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1324
|
+
at: z.ZodNumber;
|
|
1325
|
+
queued: z.ZodBoolean;
|
|
1326
|
+
turnId: z.ZodString;
|
|
1327
|
+
}, z.core.$strip>>>;
|
|
1328
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
1329
|
+
authorChatId: z.ZodString;
|
|
1330
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1331
|
+
revision: z.ZodString;
|
|
1332
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1333
|
+
state: z.ZodEnum<{
|
|
1334
|
+
failed: "failed";
|
|
1335
|
+
fresh: "fresh";
|
|
1336
|
+
refused: "refused";
|
|
1337
|
+
}>;
|
|
1338
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1339
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
readAt: z.ZodNumber;
|
|
1341
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
}, z.core.$strip>>;
|
|
1344
|
+
fallback: z.ZodString;
|
|
1345
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1346
|
+
state: z.ZodEnum<{
|
|
1347
|
+
chip: "chip";
|
|
1348
|
+
plain: "plain";
|
|
1349
|
+
}>;
|
|
1350
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1351
|
+
type: z.ZodLiteral<"File">;
|
|
1352
|
+
path: z.ZodString;
|
|
1353
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1355
|
+
type: z.ZodLiteral<"Diff">;
|
|
1356
|
+
path: z.ZodString;
|
|
1357
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1358
|
+
type: z.ZodLiteral<"Commit">;
|
|
1359
|
+
sha: z.ZodString;
|
|
1360
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1361
|
+
type: z.ZodLiteral<"Node">;
|
|
1362
|
+
id: z.ZodString;
|
|
1363
|
+
}, z.core.$strict>], "type">>;
|
|
1364
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
1366
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1367
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
1369
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1371
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
}, z.core.$strip>>>;
|
|
1374
|
+
}, z.core.$strip>>;
|
|
1375
|
+
}, z.core.$strip>>;
|
|
1376
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1003
1377
|
text: z.ZodString;
|
|
1004
1378
|
streaming: z.ZodBoolean;
|
|
1005
1379
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1228,6 +1602,56 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1228
1602
|
type: z.ZodLiteral<"delta">;
|
|
1229
1603
|
itemId: z.ZodString;
|
|
1230
1604
|
text: z.ZodString;
|
|
1605
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
1606
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
1607
|
+
authorChatId: z.ZodString;
|
|
1608
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1609
|
+
revision: z.ZodString;
|
|
1610
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1611
|
+
state: z.ZodEnum<{
|
|
1612
|
+
failed: "failed";
|
|
1613
|
+
fresh: "fresh";
|
|
1614
|
+
refused: "refused";
|
|
1615
|
+
}>;
|
|
1616
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1617
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
1618
|
+
readAt: z.ZodNumber;
|
|
1619
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
}, z.core.$strip>>;
|
|
1622
|
+
fallback: z.ZodString;
|
|
1623
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1624
|
+
state: z.ZodEnum<{
|
|
1625
|
+
chip: "chip";
|
|
1626
|
+
plain: "plain";
|
|
1627
|
+
}>;
|
|
1628
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1629
|
+
type: z.ZodLiteral<"File">;
|
|
1630
|
+
path: z.ZodString;
|
|
1631
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1632
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1633
|
+
type: z.ZodLiteral<"Diff">;
|
|
1634
|
+
path: z.ZodString;
|
|
1635
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1636
|
+
type: z.ZodLiteral<"Commit">;
|
|
1637
|
+
sha: z.ZodString;
|
|
1638
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1639
|
+
type: z.ZodLiteral<"Node">;
|
|
1640
|
+
id: z.ZodString;
|
|
1641
|
+
}, z.core.$strict>], "type">>;
|
|
1642
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
1646
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
1647
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
1648
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1650
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1651
|
+
}, z.core.$strip>>>;
|
|
1652
|
+
}, z.core.$strip>>;
|
|
1653
|
+
}, z.core.$strip>>;
|
|
1654
|
+
textLength: z.ZodOptional<z.ZodNumber>;
|
|
1231
1655
|
}, z.core.$strip>, z.ZodObject<{
|
|
1232
1656
|
type: z.ZodLiteral<"info">;
|
|
1233
1657
|
info: z.ZodObject<{
|
|
@@ -1284,8 +1708,21 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1284
1708
|
mime: z.ZodString;
|
|
1285
1709
|
size: z.ZodNumber;
|
|
1286
1710
|
path: z.ZodString;
|
|
1711
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1712
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1287
1713
|
}, z.core.$strip>>>;
|
|
1288
1714
|
createdAt: z.ZodNumber;
|
|
1715
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1716
|
+
itemId: z.ZodString;
|
|
1717
|
+
blockId: z.ZodString;
|
|
1718
|
+
revision: z.ZodString;
|
|
1719
|
+
choiceId: z.ZodString;
|
|
1720
|
+
label: z.ZodString;
|
|
1721
|
+
sourceAt: z.ZodNumber;
|
|
1722
|
+
older: z.ZodBoolean;
|
|
1723
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1724
|
+
at: z.ZodNumber;
|
|
1725
|
+
}, z.core.$strip>>;
|
|
1289
1726
|
}, z.core.$strip>>>;
|
|
1290
1727
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
1291
1728
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1422,8 +1859,21 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1422
1859
|
mime: z.ZodString;
|
|
1423
1860
|
size: z.ZodNumber;
|
|
1424
1861
|
path: z.ZodString;
|
|
1862
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1863
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1425
1864
|
}, z.core.$strip>>>;
|
|
1426
1865
|
createdAt: z.ZodNumber;
|
|
1866
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
itemId: z.ZodString;
|
|
1868
|
+
blockId: z.ZodString;
|
|
1869
|
+
revision: z.ZodString;
|
|
1870
|
+
choiceId: z.ZodString;
|
|
1871
|
+
label: z.ZodString;
|
|
1872
|
+
sourceAt: z.ZodNumber;
|
|
1873
|
+
older: z.ZodBoolean;
|
|
1874
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1875
|
+
at: z.ZodNumber;
|
|
1876
|
+
}, z.core.$strip>>;
|
|
1427
1877
|
}, z.core.$strip>>>;
|
|
1428
1878
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
1429
1879
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1519,12 +1969,88 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1519
1969
|
mime: z.ZodString;
|
|
1520
1970
|
size: z.ZodNumber;
|
|
1521
1971
|
path: z.ZodString;
|
|
1972
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1973
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1522
1974
|
}, z.core.$strip>>>;
|
|
1975
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1976
|
+
itemId: z.ZodString;
|
|
1977
|
+
blockId: z.ZodString;
|
|
1978
|
+
revision: z.ZodString;
|
|
1979
|
+
choiceId: z.ZodString;
|
|
1980
|
+
label: z.ZodString;
|
|
1981
|
+
sourceAt: z.ZodNumber;
|
|
1982
|
+
older: z.ZodBoolean;
|
|
1983
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1984
|
+
at: z.ZodNumber;
|
|
1985
|
+
}, z.core.$strip>>;
|
|
1523
1986
|
}, z.core.$strip>, z.ZodObject<{
|
|
1524
1987
|
id: z.ZodString;
|
|
1525
1988
|
createdAt: z.ZodNumber;
|
|
1526
1989
|
turnId: z.ZodNullable<z.ZodString>;
|
|
1527
1990
|
kind: z.ZodLiteral<"assistant">;
|
|
1991
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
1992
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1993
|
+
itemId: z.ZodString;
|
|
1994
|
+
blockId: z.ZodString;
|
|
1995
|
+
revision: z.ZodString;
|
|
1996
|
+
choiceId: z.ZodString;
|
|
1997
|
+
label: z.ZodString;
|
|
1998
|
+
sourceAt: z.ZodNumber;
|
|
1999
|
+
older: z.ZodBoolean;
|
|
2000
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2001
|
+
at: z.ZodNumber;
|
|
2002
|
+
queued: z.ZodBoolean;
|
|
2003
|
+
turnId: z.ZodString;
|
|
2004
|
+
}, z.core.$strip>>>;
|
|
2005
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
2006
|
+
authorChatId: z.ZodString;
|
|
2007
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2008
|
+
revision: z.ZodString;
|
|
2009
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2010
|
+
state: z.ZodEnum<{
|
|
2011
|
+
failed: "failed";
|
|
2012
|
+
fresh: "fresh";
|
|
2013
|
+
refused: "refused";
|
|
2014
|
+
}>;
|
|
2015
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2016
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
2017
|
+
readAt: z.ZodNumber;
|
|
2018
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2019
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2020
|
+
}, z.core.$strip>>;
|
|
2021
|
+
fallback: z.ZodString;
|
|
2022
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2023
|
+
state: z.ZodEnum<{
|
|
2024
|
+
chip: "chip";
|
|
2025
|
+
plain: "plain";
|
|
2026
|
+
}>;
|
|
2027
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2028
|
+
type: z.ZodLiteral<"File">;
|
|
2029
|
+
path: z.ZodString;
|
|
2030
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2031
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2032
|
+
type: z.ZodLiteral<"Diff">;
|
|
2033
|
+
path: z.ZodString;
|
|
2034
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2035
|
+
type: z.ZodLiteral<"Commit">;
|
|
2036
|
+
sha: z.ZodString;
|
|
2037
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2038
|
+
type: z.ZodLiteral<"Node">;
|
|
2039
|
+
id: z.ZodString;
|
|
2040
|
+
}, z.core.$strict>], "type">>;
|
|
2041
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
2043
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2044
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
2045
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
2046
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
2047
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2049
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2050
|
+
}, z.core.$strip>>>;
|
|
2051
|
+
}, z.core.$strip>>;
|
|
2052
|
+
}, z.core.$strip>>;
|
|
2053
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1528
2054
|
text: z.ZodString;
|
|
1529
2055
|
streaming: z.ZodBoolean;
|
|
1530
2056
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1769,12 +2295,88 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
1769
2295
|
mime: z.ZodString;
|
|
1770
2296
|
size: z.ZodNumber;
|
|
1771
2297
|
path: z.ZodString;
|
|
2298
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2299
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1772
2300
|
}, z.core.$strip>>>;
|
|
2301
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2302
|
+
itemId: z.ZodString;
|
|
2303
|
+
blockId: z.ZodString;
|
|
2304
|
+
revision: z.ZodString;
|
|
2305
|
+
choiceId: z.ZodString;
|
|
2306
|
+
label: z.ZodString;
|
|
2307
|
+
sourceAt: z.ZodNumber;
|
|
2308
|
+
older: z.ZodBoolean;
|
|
2309
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2310
|
+
at: z.ZodNumber;
|
|
2311
|
+
}, z.core.$strip>>;
|
|
1773
2312
|
}, z.core.$strip>, z.ZodObject<{
|
|
1774
2313
|
id: z.ZodString;
|
|
1775
2314
|
createdAt: z.ZodNumber;
|
|
1776
2315
|
turnId: z.ZodNullable<z.ZodString>;
|
|
1777
2316
|
kind: z.ZodLiteral<"assistant">;
|
|
2317
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
2318
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2319
|
+
itemId: z.ZodString;
|
|
2320
|
+
blockId: z.ZodString;
|
|
2321
|
+
revision: z.ZodString;
|
|
2322
|
+
choiceId: z.ZodString;
|
|
2323
|
+
label: z.ZodString;
|
|
2324
|
+
sourceAt: z.ZodNumber;
|
|
2325
|
+
older: z.ZodBoolean;
|
|
2326
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2327
|
+
at: z.ZodNumber;
|
|
2328
|
+
queued: z.ZodBoolean;
|
|
2329
|
+
turnId: z.ZodString;
|
|
2330
|
+
}, z.core.$strip>>>;
|
|
2331
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
2332
|
+
authorChatId: z.ZodString;
|
|
2333
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2334
|
+
revision: z.ZodString;
|
|
2335
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2336
|
+
state: z.ZodEnum<{
|
|
2337
|
+
failed: "failed";
|
|
2338
|
+
fresh: "fresh";
|
|
2339
|
+
refused: "refused";
|
|
2340
|
+
}>;
|
|
2341
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2342
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
2343
|
+
readAt: z.ZodNumber;
|
|
2344
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2345
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2346
|
+
}, z.core.$strip>>;
|
|
2347
|
+
fallback: z.ZodString;
|
|
2348
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2349
|
+
state: z.ZodEnum<{
|
|
2350
|
+
chip: "chip";
|
|
2351
|
+
plain: "plain";
|
|
2352
|
+
}>;
|
|
2353
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2354
|
+
type: z.ZodLiteral<"File">;
|
|
2355
|
+
path: z.ZodString;
|
|
2356
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2357
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2358
|
+
type: z.ZodLiteral<"Diff">;
|
|
2359
|
+
path: z.ZodString;
|
|
2360
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2361
|
+
type: z.ZodLiteral<"Commit">;
|
|
2362
|
+
sha: z.ZodString;
|
|
2363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2364
|
+
type: z.ZodLiteral<"Node">;
|
|
2365
|
+
id: z.ZodString;
|
|
2366
|
+
}, z.core.$strict>], "type">>;
|
|
2367
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2368
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
2369
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2370
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
2371
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
2372
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
2373
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2374
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2375
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2376
|
+
}, z.core.$strip>>>;
|
|
2377
|
+
}, z.core.$strip>>;
|
|
2378
|
+
}, z.core.$strip>>;
|
|
2379
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1778
2380
|
text: z.ZodString;
|
|
1779
2381
|
streaming: z.ZodBoolean;
|
|
1780
2382
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2003,6 +2605,56 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2003
2605
|
type: z.ZodLiteral<"delta">;
|
|
2004
2606
|
itemId: z.ZodString;
|
|
2005
2607
|
text: z.ZodString;
|
|
2608
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
2609
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
2610
|
+
authorChatId: z.ZodString;
|
|
2611
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2612
|
+
revision: z.ZodString;
|
|
2613
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2614
|
+
state: z.ZodEnum<{
|
|
2615
|
+
failed: "failed";
|
|
2616
|
+
fresh: "fresh";
|
|
2617
|
+
refused: "refused";
|
|
2618
|
+
}>;
|
|
2619
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2620
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
2621
|
+
readAt: z.ZodNumber;
|
|
2622
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2623
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2624
|
+
}, z.core.$strip>>;
|
|
2625
|
+
fallback: z.ZodString;
|
|
2626
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2627
|
+
state: z.ZodEnum<{
|
|
2628
|
+
chip: "chip";
|
|
2629
|
+
plain: "plain";
|
|
2630
|
+
}>;
|
|
2631
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2632
|
+
type: z.ZodLiteral<"File">;
|
|
2633
|
+
path: z.ZodString;
|
|
2634
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2635
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2636
|
+
type: z.ZodLiteral<"Diff">;
|
|
2637
|
+
path: z.ZodString;
|
|
2638
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2639
|
+
type: z.ZodLiteral<"Commit">;
|
|
2640
|
+
sha: z.ZodString;
|
|
2641
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2642
|
+
type: z.ZodLiteral<"Node">;
|
|
2643
|
+
id: z.ZodString;
|
|
2644
|
+
}, z.core.$strict>], "type">>;
|
|
2645
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2646
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
2647
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2648
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
2649
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
2650
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
2651
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2652
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2654
|
+
}, z.core.$strip>>>;
|
|
2655
|
+
}, z.core.$strip>>;
|
|
2656
|
+
}, z.core.$strip>>;
|
|
2657
|
+
textLength: z.ZodOptional<z.ZodNumber>;
|
|
2006
2658
|
}, z.core.$strip>, z.ZodObject<{
|
|
2007
2659
|
type: z.ZodLiteral<"info">;
|
|
2008
2660
|
info: z.ZodObject<{
|
|
@@ -2059,8 +2711,21 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2059
2711
|
mime: z.ZodString;
|
|
2060
2712
|
size: z.ZodNumber;
|
|
2061
2713
|
path: z.ZodString;
|
|
2714
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2715
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2062
2716
|
}, z.core.$strip>>>;
|
|
2063
2717
|
createdAt: z.ZodNumber;
|
|
2718
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2719
|
+
itemId: z.ZodString;
|
|
2720
|
+
blockId: z.ZodString;
|
|
2721
|
+
revision: z.ZodString;
|
|
2722
|
+
choiceId: z.ZodString;
|
|
2723
|
+
label: z.ZodString;
|
|
2724
|
+
sourceAt: z.ZodNumber;
|
|
2725
|
+
older: z.ZodBoolean;
|
|
2726
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2727
|
+
at: z.ZodNumber;
|
|
2728
|
+
}, z.core.$strip>>;
|
|
2064
2729
|
}, z.core.$strip>>>;
|
|
2065
2730
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
2066
2731
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2197,8 +2862,21 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2197
2862
|
mime: z.ZodString;
|
|
2198
2863
|
size: z.ZodNumber;
|
|
2199
2864
|
path: z.ZodString;
|
|
2865
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2866
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2200
2867
|
}, z.core.$strip>>>;
|
|
2201
2868
|
createdAt: z.ZodNumber;
|
|
2869
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2870
|
+
itemId: z.ZodString;
|
|
2871
|
+
blockId: z.ZodString;
|
|
2872
|
+
revision: z.ZodString;
|
|
2873
|
+
choiceId: z.ZodString;
|
|
2874
|
+
label: z.ZodString;
|
|
2875
|
+
sourceAt: z.ZodNumber;
|
|
2876
|
+
older: z.ZodBoolean;
|
|
2877
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2878
|
+
at: z.ZodNumber;
|
|
2879
|
+
}, z.core.$strip>>;
|
|
2202
2880
|
}, z.core.$strip>>>;
|
|
2203
2881
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
2204
2882
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2294,12 +2972,88 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2294
2972
|
mime: z.ZodString;
|
|
2295
2973
|
size: z.ZodNumber;
|
|
2296
2974
|
path: z.ZodString;
|
|
2975
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2976
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2297
2977
|
}, z.core.$strip>>>;
|
|
2978
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2979
|
+
itemId: z.ZodString;
|
|
2980
|
+
blockId: z.ZodString;
|
|
2981
|
+
revision: z.ZodString;
|
|
2982
|
+
choiceId: z.ZodString;
|
|
2983
|
+
label: z.ZodString;
|
|
2984
|
+
sourceAt: z.ZodNumber;
|
|
2985
|
+
older: z.ZodBoolean;
|
|
2986
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2987
|
+
at: z.ZodNumber;
|
|
2988
|
+
}, z.core.$strip>>;
|
|
2298
2989
|
}, z.core.$strip>, z.ZodObject<{
|
|
2299
2990
|
id: z.ZodString;
|
|
2300
2991
|
createdAt: z.ZodNumber;
|
|
2301
2992
|
turnId: z.ZodNullable<z.ZodString>;
|
|
2302
2993
|
kind: z.ZodLiteral<"assistant">;
|
|
2994
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
2995
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2996
|
+
itemId: z.ZodString;
|
|
2997
|
+
blockId: z.ZodString;
|
|
2998
|
+
revision: z.ZodString;
|
|
2999
|
+
choiceId: z.ZodString;
|
|
3000
|
+
label: z.ZodString;
|
|
3001
|
+
sourceAt: z.ZodNumber;
|
|
3002
|
+
older: z.ZodBoolean;
|
|
3003
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3004
|
+
at: z.ZodNumber;
|
|
3005
|
+
queued: z.ZodBoolean;
|
|
3006
|
+
turnId: z.ZodString;
|
|
3007
|
+
}, z.core.$strip>>>;
|
|
3008
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
3009
|
+
authorChatId: z.ZodString;
|
|
3010
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3011
|
+
revision: z.ZodString;
|
|
3012
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3013
|
+
state: z.ZodEnum<{
|
|
3014
|
+
failed: "failed";
|
|
3015
|
+
fresh: "fresh";
|
|
3016
|
+
refused: "refused";
|
|
3017
|
+
}>;
|
|
3018
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3019
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
3020
|
+
readAt: z.ZodNumber;
|
|
3021
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3022
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3023
|
+
}, z.core.$strip>>;
|
|
3024
|
+
fallback: z.ZodString;
|
|
3025
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3026
|
+
state: z.ZodEnum<{
|
|
3027
|
+
chip: "chip";
|
|
3028
|
+
plain: "plain";
|
|
3029
|
+
}>;
|
|
3030
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3031
|
+
type: z.ZodLiteral<"File">;
|
|
3032
|
+
path: z.ZodString;
|
|
3033
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3034
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3035
|
+
type: z.ZodLiteral<"Diff">;
|
|
3036
|
+
path: z.ZodString;
|
|
3037
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3038
|
+
type: z.ZodLiteral<"Commit">;
|
|
3039
|
+
sha: z.ZodString;
|
|
3040
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3041
|
+
type: z.ZodLiteral<"Node">;
|
|
3042
|
+
id: z.ZodString;
|
|
3043
|
+
}, z.core.$strict>], "type">>;
|
|
3044
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3045
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
3046
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3047
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
3048
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
3049
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
3050
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3051
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3052
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3053
|
+
}, z.core.$strip>>>;
|
|
3054
|
+
}, z.core.$strip>>;
|
|
3055
|
+
}, z.core.$strip>>;
|
|
3056
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2303
3057
|
text: z.ZodString;
|
|
2304
3058
|
streaming: z.ZodBoolean;
|
|
2305
3059
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2644,12 +3398,88 @@ export declare const ChatHistoryResultSchema: z.ZodObject<{
|
|
|
2644
3398
|
mime: z.ZodString;
|
|
2645
3399
|
size: z.ZodNumber;
|
|
2646
3400
|
path: z.ZodString;
|
|
3401
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3402
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2647
3403
|
}, z.core.$strip>>>;
|
|
3404
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
3405
|
+
itemId: z.ZodString;
|
|
3406
|
+
blockId: z.ZodString;
|
|
3407
|
+
revision: z.ZodString;
|
|
3408
|
+
choiceId: z.ZodString;
|
|
3409
|
+
label: z.ZodString;
|
|
3410
|
+
sourceAt: z.ZodNumber;
|
|
3411
|
+
older: z.ZodBoolean;
|
|
3412
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3413
|
+
at: z.ZodNumber;
|
|
3414
|
+
}, z.core.$strip>>;
|
|
2648
3415
|
}, z.core.$strip>, z.ZodObject<{
|
|
2649
3416
|
id: z.ZodString;
|
|
2650
3417
|
createdAt: z.ZodNumber;
|
|
2651
3418
|
turnId: z.ZodNullable<z.ZodString>;
|
|
2652
3419
|
kind: z.ZodLiteral<"assistant">;
|
|
3420
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
3421
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3422
|
+
itemId: z.ZodString;
|
|
3423
|
+
blockId: z.ZodString;
|
|
3424
|
+
revision: z.ZodString;
|
|
3425
|
+
choiceId: z.ZodString;
|
|
3426
|
+
label: z.ZodString;
|
|
3427
|
+
sourceAt: z.ZodNumber;
|
|
3428
|
+
older: z.ZodBoolean;
|
|
3429
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3430
|
+
at: z.ZodNumber;
|
|
3431
|
+
queued: z.ZodBoolean;
|
|
3432
|
+
turnId: z.ZodString;
|
|
3433
|
+
}, z.core.$strip>>>;
|
|
3434
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
3435
|
+
authorChatId: z.ZodString;
|
|
3436
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3437
|
+
revision: z.ZodString;
|
|
3438
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3439
|
+
state: z.ZodEnum<{
|
|
3440
|
+
failed: "failed";
|
|
3441
|
+
fresh: "fresh";
|
|
3442
|
+
refused: "refused";
|
|
3443
|
+
}>;
|
|
3444
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3445
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
3446
|
+
readAt: z.ZodNumber;
|
|
3447
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3448
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3449
|
+
}, z.core.$strip>>;
|
|
3450
|
+
fallback: z.ZodString;
|
|
3451
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3452
|
+
state: z.ZodEnum<{
|
|
3453
|
+
chip: "chip";
|
|
3454
|
+
plain: "plain";
|
|
3455
|
+
}>;
|
|
3456
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3457
|
+
type: z.ZodLiteral<"File">;
|
|
3458
|
+
path: z.ZodString;
|
|
3459
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3461
|
+
type: z.ZodLiteral<"Diff">;
|
|
3462
|
+
path: z.ZodString;
|
|
3463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3464
|
+
type: z.ZodLiteral<"Commit">;
|
|
3465
|
+
sha: z.ZodString;
|
|
3466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3467
|
+
type: z.ZodLiteral<"Node">;
|
|
3468
|
+
id: z.ZodString;
|
|
3469
|
+
}, z.core.$strict>], "type">>;
|
|
3470
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3471
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
3472
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3473
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
3474
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
3475
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
3476
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3477
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3478
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3479
|
+
}, z.core.$strip>>>;
|
|
3480
|
+
}, z.core.$strip>>;
|
|
3481
|
+
}, z.core.$strip>>;
|
|
3482
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2653
3483
|
text: z.ZodString;
|
|
2654
3484
|
streaming: z.ZodBoolean;
|
|
2655
3485
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2922,12 +3752,88 @@ export declare const ChatSubagentResultSchema: z.ZodObject<{
|
|
|
2922
3752
|
mime: z.ZodString;
|
|
2923
3753
|
size: z.ZodNumber;
|
|
2924
3754
|
path: z.ZodString;
|
|
3755
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3756
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2925
3757
|
}, z.core.$strip>>>;
|
|
3758
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
3759
|
+
itemId: z.ZodString;
|
|
3760
|
+
blockId: z.ZodString;
|
|
3761
|
+
revision: z.ZodString;
|
|
3762
|
+
choiceId: z.ZodString;
|
|
3763
|
+
label: z.ZodString;
|
|
3764
|
+
sourceAt: z.ZodNumber;
|
|
3765
|
+
older: z.ZodBoolean;
|
|
3766
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3767
|
+
at: z.ZodNumber;
|
|
3768
|
+
}, z.core.$strip>>;
|
|
2926
3769
|
}, z.core.$strip>, z.ZodObject<{
|
|
2927
3770
|
id: z.ZodString;
|
|
2928
3771
|
createdAt: z.ZodNumber;
|
|
2929
3772
|
turnId: z.ZodNullable<z.ZodString>;
|
|
2930
3773
|
kind: z.ZodLiteral<"assistant">;
|
|
3774
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
3775
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3776
|
+
itemId: z.ZodString;
|
|
3777
|
+
blockId: z.ZodString;
|
|
3778
|
+
revision: z.ZodString;
|
|
3779
|
+
choiceId: z.ZodString;
|
|
3780
|
+
label: z.ZodString;
|
|
3781
|
+
sourceAt: z.ZodNumber;
|
|
3782
|
+
older: z.ZodBoolean;
|
|
3783
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3784
|
+
at: z.ZodNumber;
|
|
3785
|
+
queued: z.ZodBoolean;
|
|
3786
|
+
turnId: z.ZodString;
|
|
3787
|
+
}, z.core.$strip>>>;
|
|
3788
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
3789
|
+
authorChatId: z.ZodString;
|
|
3790
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3791
|
+
revision: z.ZodString;
|
|
3792
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3793
|
+
state: z.ZodEnum<{
|
|
3794
|
+
failed: "failed";
|
|
3795
|
+
fresh: "fresh";
|
|
3796
|
+
refused: "refused";
|
|
3797
|
+
}>;
|
|
3798
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3799
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
3800
|
+
readAt: z.ZodNumber;
|
|
3801
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3802
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3803
|
+
}, z.core.$strip>>;
|
|
3804
|
+
fallback: z.ZodString;
|
|
3805
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3806
|
+
state: z.ZodEnum<{
|
|
3807
|
+
chip: "chip";
|
|
3808
|
+
plain: "plain";
|
|
3809
|
+
}>;
|
|
3810
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3811
|
+
type: z.ZodLiteral<"File">;
|
|
3812
|
+
path: z.ZodString;
|
|
3813
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3814
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3815
|
+
type: z.ZodLiteral<"Diff">;
|
|
3816
|
+
path: z.ZodString;
|
|
3817
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3818
|
+
type: z.ZodLiteral<"Commit">;
|
|
3819
|
+
sha: z.ZodString;
|
|
3820
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3821
|
+
type: z.ZodLiteral<"Node">;
|
|
3822
|
+
id: z.ZodString;
|
|
3823
|
+
}, z.core.$strict>], "type">>;
|
|
3824
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3825
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
3826
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3827
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
3828
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
3829
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
3830
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3831
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3832
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3833
|
+
}, z.core.$strip>>>;
|
|
3834
|
+
}, z.core.$strip>>;
|
|
3835
|
+
}, z.core.$strip>>;
|
|
3836
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2931
3837
|
text: z.ZodString;
|
|
2932
3838
|
streaming: z.ZodBoolean;
|
|
2933
3839
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3155,6 +4061,53 @@ export declare const ChatSubagentResultSchema: z.ZodObject<{
|
|
|
3155
4061
|
start: z.ZodOptional<z.ZodNumber>;
|
|
3156
4062
|
cursor: z.ZodNullable<z.ZodString>;
|
|
3157
4063
|
}, z.core.$strip>;
|
|
4064
|
+
pending: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4065
|
+
id: z.ZodString;
|
|
4066
|
+
createdAt: z.ZodNumber;
|
|
4067
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4068
|
+
kind: z.ZodLiteral<"approval">;
|
|
4069
|
+
requestId: z.ZodString;
|
|
4070
|
+
toolUseId: z.ZodNullable<z.ZodString>;
|
|
4071
|
+
toolName: z.ZodString;
|
|
4072
|
+
input: z.ZodUnknown;
|
|
4073
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4074
|
+
canAllowAlways: z.ZodBoolean;
|
|
4075
|
+
allowAlways: z.ZodOptional<z.ZodObject<{
|
|
4076
|
+
label: z.ZodString;
|
|
4077
|
+
description: z.ZodString;
|
|
4078
|
+
}, z.core.$strip>>;
|
|
4079
|
+
decision: z.ZodEnum<{
|
|
4080
|
+
allow: "allow";
|
|
4081
|
+
"allow-always": "allow-always";
|
|
4082
|
+
cancelled: "cancelled";
|
|
4083
|
+
deny: "deny";
|
|
4084
|
+
pending: "pending";
|
|
4085
|
+
}>;
|
|
4086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4087
|
+
id: z.ZodString;
|
|
4088
|
+
createdAt: z.ZodNumber;
|
|
4089
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4090
|
+
kind: z.ZodLiteral<"question">;
|
|
4091
|
+
requestId: z.ZodString;
|
|
4092
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
4093
|
+
id: z.ZodString;
|
|
4094
|
+
header: z.ZodString;
|
|
4095
|
+
question: z.ZodString;
|
|
4096
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
4097
|
+
label: z.ZodString;
|
|
4098
|
+
description: z.ZodString;
|
|
4099
|
+
}, z.core.$strip>>;
|
|
4100
|
+
multiSelect: z.ZodBoolean;
|
|
4101
|
+
}, z.core.$strip>>;
|
|
4102
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
4103
|
+
answers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4104
|
+
state: z.ZodEnum<{
|
|
4105
|
+
answered: "answered";
|
|
4106
|
+
cancelled: "cancelled";
|
|
4107
|
+
dismissed: "dismissed";
|
|
4108
|
+
pending: "pending";
|
|
4109
|
+
}>;
|
|
4110
|
+
}, z.core.$strip>]>>>;
|
|
3158
4111
|
source: z.ZodEnum<{
|
|
3159
4112
|
"claude-transcript": "claude-transcript";
|
|
3160
4113
|
"codex-thread": "codex-thread";
|
|
@@ -3229,8 +4182,21 @@ export declare const ChatStatusEventSchema: z.ZodObject<{
|
|
|
3229
4182
|
mime: z.ZodString;
|
|
3230
4183
|
size: z.ZodNumber;
|
|
3231
4184
|
path: z.ZodString;
|
|
4185
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4186
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3232
4187
|
}, z.core.$strip>>>;
|
|
3233
4188
|
createdAt: z.ZodNumber;
|
|
4189
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4190
|
+
itemId: z.ZodString;
|
|
4191
|
+
blockId: z.ZodString;
|
|
4192
|
+
revision: z.ZodString;
|
|
4193
|
+
choiceId: z.ZodString;
|
|
4194
|
+
label: z.ZodString;
|
|
4195
|
+
sourceAt: z.ZodNumber;
|
|
4196
|
+
older: z.ZodBoolean;
|
|
4197
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4198
|
+
at: z.ZodNumber;
|
|
4199
|
+
}, z.core.$strip>>;
|
|
3234
4200
|
}, z.core.$strip>>>;
|
|
3235
4201
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
3236
4202
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3465,8 +4431,21 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
3465
4431
|
mime: z.ZodString;
|
|
3466
4432
|
size: z.ZodNumber;
|
|
3467
4433
|
path: z.ZodString;
|
|
4434
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4435
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3468
4436
|
}, z.core.$strip>>>;
|
|
3469
4437
|
createdAt: z.ZodNumber;
|
|
4438
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4439
|
+
itemId: z.ZodString;
|
|
4440
|
+
blockId: z.ZodString;
|
|
4441
|
+
revision: z.ZodString;
|
|
4442
|
+
choiceId: z.ZodString;
|
|
4443
|
+
label: z.ZodString;
|
|
4444
|
+
sourceAt: z.ZodNumber;
|
|
4445
|
+
older: z.ZodBoolean;
|
|
4446
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4447
|
+
at: z.ZodNumber;
|
|
4448
|
+
}, z.core.$strip>>;
|
|
3470
4449
|
}, z.core.$strip>>>;
|
|
3471
4450
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
3472
4451
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3562,12 +4541,88 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
3562
4541
|
mime: z.ZodString;
|
|
3563
4542
|
size: z.ZodNumber;
|
|
3564
4543
|
path: z.ZodString;
|
|
4544
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4545
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3565
4546
|
}, z.core.$strip>>>;
|
|
4547
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4548
|
+
itemId: z.ZodString;
|
|
4549
|
+
blockId: z.ZodString;
|
|
4550
|
+
revision: z.ZodString;
|
|
4551
|
+
choiceId: z.ZodString;
|
|
4552
|
+
label: z.ZodString;
|
|
4553
|
+
sourceAt: z.ZodNumber;
|
|
4554
|
+
older: z.ZodBoolean;
|
|
4555
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4556
|
+
at: z.ZodNumber;
|
|
4557
|
+
}, z.core.$strip>>;
|
|
3566
4558
|
}, z.core.$strip>, z.ZodObject<{
|
|
3567
4559
|
id: z.ZodString;
|
|
3568
4560
|
createdAt: z.ZodNumber;
|
|
3569
4561
|
turnId: z.ZodNullable<z.ZodString>;
|
|
3570
4562
|
kind: z.ZodLiteral<"assistant">;
|
|
4563
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
4564
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4565
|
+
itemId: z.ZodString;
|
|
4566
|
+
blockId: z.ZodString;
|
|
4567
|
+
revision: z.ZodString;
|
|
4568
|
+
choiceId: z.ZodString;
|
|
4569
|
+
label: z.ZodString;
|
|
4570
|
+
sourceAt: z.ZodNumber;
|
|
4571
|
+
older: z.ZodBoolean;
|
|
4572
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4573
|
+
at: z.ZodNumber;
|
|
4574
|
+
queued: z.ZodBoolean;
|
|
4575
|
+
turnId: z.ZodString;
|
|
4576
|
+
}, z.core.$strip>>>;
|
|
4577
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
4578
|
+
authorChatId: z.ZodString;
|
|
4579
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4580
|
+
revision: z.ZodString;
|
|
4581
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4582
|
+
state: z.ZodEnum<{
|
|
4583
|
+
failed: "failed";
|
|
4584
|
+
fresh: "fresh";
|
|
4585
|
+
refused: "refused";
|
|
4586
|
+
}>;
|
|
4587
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4588
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
4589
|
+
readAt: z.ZodNumber;
|
|
4590
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4591
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4592
|
+
}, z.core.$strip>>;
|
|
4593
|
+
fallback: z.ZodString;
|
|
4594
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4595
|
+
state: z.ZodEnum<{
|
|
4596
|
+
chip: "chip";
|
|
4597
|
+
plain: "plain";
|
|
4598
|
+
}>;
|
|
4599
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4600
|
+
type: z.ZodLiteral<"File">;
|
|
4601
|
+
path: z.ZodString;
|
|
4602
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
4603
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4604
|
+
type: z.ZodLiteral<"Diff">;
|
|
4605
|
+
path: z.ZodString;
|
|
4606
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4607
|
+
type: z.ZodLiteral<"Commit">;
|
|
4608
|
+
sha: z.ZodString;
|
|
4609
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4610
|
+
type: z.ZodLiteral<"Node">;
|
|
4611
|
+
id: z.ZodString;
|
|
4612
|
+
}, z.core.$strict>], "type">>;
|
|
4613
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4614
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
4615
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4616
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
4617
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
4618
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
4619
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4620
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4621
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4622
|
+
}, z.core.$strip>>>;
|
|
4623
|
+
}, z.core.$strip>>;
|
|
4624
|
+
}, z.core.$strip>>;
|
|
4625
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
3571
4626
|
text: z.ZodString;
|
|
3572
4627
|
streaming: z.ZodBoolean;
|
|
3573
4628
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3810,12 +4865,88 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
3810
4865
|
mime: z.ZodString;
|
|
3811
4866
|
size: z.ZodNumber;
|
|
3812
4867
|
path: z.ZodString;
|
|
4868
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4869
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3813
4870
|
}, z.core.$strip>>>;
|
|
4871
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4872
|
+
itemId: z.ZodString;
|
|
4873
|
+
blockId: z.ZodString;
|
|
4874
|
+
revision: z.ZodString;
|
|
4875
|
+
choiceId: z.ZodString;
|
|
4876
|
+
label: z.ZodString;
|
|
4877
|
+
sourceAt: z.ZodNumber;
|
|
4878
|
+
older: z.ZodBoolean;
|
|
4879
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4880
|
+
at: z.ZodNumber;
|
|
4881
|
+
}, z.core.$strip>>;
|
|
3814
4882
|
}, z.core.$strip>, z.ZodObject<{
|
|
3815
4883
|
id: z.ZodString;
|
|
3816
4884
|
createdAt: z.ZodNumber;
|
|
3817
4885
|
turnId: z.ZodNullable<z.ZodString>;
|
|
3818
4886
|
kind: z.ZodLiteral<"assistant">;
|
|
4887
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
4888
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4889
|
+
itemId: z.ZodString;
|
|
4890
|
+
blockId: z.ZodString;
|
|
4891
|
+
revision: z.ZodString;
|
|
4892
|
+
choiceId: z.ZodString;
|
|
4893
|
+
label: z.ZodString;
|
|
4894
|
+
sourceAt: z.ZodNumber;
|
|
4895
|
+
older: z.ZodBoolean;
|
|
4896
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4897
|
+
at: z.ZodNumber;
|
|
4898
|
+
queued: z.ZodBoolean;
|
|
4899
|
+
turnId: z.ZodString;
|
|
4900
|
+
}, z.core.$strip>>>;
|
|
4901
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
4902
|
+
authorChatId: z.ZodString;
|
|
4903
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4904
|
+
revision: z.ZodString;
|
|
4905
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4906
|
+
state: z.ZodEnum<{
|
|
4907
|
+
failed: "failed";
|
|
4908
|
+
fresh: "fresh";
|
|
4909
|
+
refused: "refused";
|
|
4910
|
+
}>;
|
|
4911
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4912
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
4913
|
+
readAt: z.ZodNumber;
|
|
4914
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4915
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4916
|
+
}, z.core.$strip>>;
|
|
4917
|
+
fallback: z.ZodString;
|
|
4918
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4919
|
+
state: z.ZodEnum<{
|
|
4920
|
+
chip: "chip";
|
|
4921
|
+
plain: "plain";
|
|
4922
|
+
}>;
|
|
4923
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4924
|
+
type: z.ZodLiteral<"File">;
|
|
4925
|
+
path: z.ZodString;
|
|
4926
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
4927
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4928
|
+
type: z.ZodLiteral<"Diff">;
|
|
4929
|
+
path: z.ZodString;
|
|
4930
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4931
|
+
type: z.ZodLiteral<"Commit">;
|
|
4932
|
+
sha: z.ZodString;
|
|
4933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4934
|
+
type: z.ZodLiteral<"Node">;
|
|
4935
|
+
id: z.ZodString;
|
|
4936
|
+
}, z.core.$strict>], "type">>;
|
|
4937
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4938
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
4939
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4940
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
4941
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
4942
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
4943
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4944
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4945
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4946
|
+
}, z.core.$strip>>>;
|
|
4947
|
+
}, z.core.$strip>>;
|
|
4948
|
+
}, z.core.$strip>>;
|
|
4949
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
3819
4950
|
text: z.ZodString;
|
|
3820
4951
|
streaming: z.ZodBoolean;
|
|
3821
4952
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4057,12 +5188,88 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4057
5188
|
mime: z.ZodString;
|
|
4058
5189
|
size: z.ZodNumber;
|
|
4059
5190
|
path: z.ZodString;
|
|
5191
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5192
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4060
5193
|
}, z.core.$strip>>>;
|
|
5194
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5195
|
+
itemId: z.ZodString;
|
|
5196
|
+
blockId: z.ZodString;
|
|
5197
|
+
revision: z.ZodString;
|
|
5198
|
+
choiceId: z.ZodString;
|
|
5199
|
+
label: z.ZodString;
|
|
5200
|
+
sourceAt: z.ZodNumber;
|
|
5201
|
+
older: z.ZodBoolean;
|
|
5202
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5203
|
+
at: z.ZodNumber;
|
|
5204
|
+
}, z.core.$strip>>;
|
|
4061
5205
|
}, z.core.$strip>, z.ZodObject<{
|
|
4062
5206
|
id: z.ZodString;
|
|
4063
5207
|
createdAt: z.ZodNumber;
|
|
4064
5208
|
turnId: z.ZodNullable<z.ZodString>;
|
|
4065
5209
|
kind: z.ZodLiteral<"assistant">;
|
|
5210
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
5211
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5212
|
+
itemId: z.ZodString;
|
|
5213
|
+
blockId: z.ZodString;
|
|
5214
|
+
revision: z.ZodString;
|
|
5215
|
+
choiceId: z.ZodString;
|
|
5216
|
+
label: z.ZodString;
|
|
5217
|
+
sourceAt: z.ZodNumber;
|
|
5218
|
+
older: z.ZodBoolean;
|
|
5219
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5220
|
+
at: z.ZodNumber;
|
|
5221
|
+
queued: z.ZodBoolean;
|
|
5222
|
+
turnId: z.ZodString;
|
|
5223
|
+
}, z.core.$strip>>>;
|
|
5224
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
5225
|
+
authorChatId: z.ZodString;
|
|
5226
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5227
|
+
revision: z.ZodString;
|
|
5228
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5229
|
+
state: z.ZodEnum<{
|
|
5230
|
+
failed: "failed";
|
|
5231
|
+
fresh: "fresh";
|
|
5232
|
+
refused: "refused";
|
|
5233
|
+
}>;
|
|
5234
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5235
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
5236
|
+
readAt: z.ZodNumber;
|
|
5237
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5238
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5239
|
+
}, z.core.$strip>>;
|
|
5240
|
+
fallback: z.ZodString;
|
|
5241
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5242
|
+
state: z.ZodEnum<{
|
|
5243
|
+
chip: "chip";
|
|
5244
|
+
plain: "plain";
|
|
5245
|
+
}>;
|
|
5246
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5247
|
+
type: z.ZodLiteral<"File">;
|
|
5248
|
+
path: z.ZodString;
|
|
5249
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
5250
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5251
|
+
type: z.ZodLiteral<"Diff">;
|
|
5252
|
+
path: z.ZodString;
|
|
5253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5254
|
+
type: z.ZodLiteral<"Commit">;
|
|
5255
|
+
sha: z.ZodString;
|
|
5256
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5257
|
+
type: z.ZodLiteral<"Node">;
|
|
5258
|
+
id: z.ZodString;
|
|
5259
|
+
}, z.core.$strict>], "type">>;
|
|
5260
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5261
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
5262
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5263
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
5264
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
5265
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
5266
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5267
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5268
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5269
|
+
}, z.core.$strip>>>;
|
|
5270
|
+
}, z.core.$strip>>;
|
|
5271
|
+
}, z.core.$strip>>;
|
|
5272
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
4066
5273
|
text: z.ZodString;
|
|
4067
5274
|
streaming: z.ZodBoolean;
|
|
4068
5275
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4291,6 +5498,56 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4291
5498
|
type: z.ZodLiteral<"delta">;
|
|
4292
5499
|
itemId: z.ZodString;
|
|
4293
5500
|
text: z.ZodString;
|
|
5501
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
5502
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
5503
|
+
authorChatId: z.ZodString;
|
|
5504
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5505
|
+
revision: z.ZodString;
|
|
5506
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5507
|
+
state: z.ZodEnum<{
|
|
5508
|
+
failed: "failed";
|
|
5509
|
+
fresh: "fresh";
|
|
5510
|
+
refused: "refused";
|
|
5511
|
+
}>;
|
|
5512
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5513
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
5514
|
+
readAt: z.ZodNumber;
|
|
5515
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5516
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5517
|
+
}, z.core.$strip>>;
|
|
5518
|
+
fallback: z.ZodString;
|
|
5519
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5520
|
+
state: z.ZodEnum<{
|
|
5521
|
+
chip: "chip";
|
|
5522
|
+
plain: "plain";
|
|
5523
|
+
}>;
|
|
5524
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5525
|
+
type: z.ZodLiteral<"File">;
|
|
5526
|
+
path: z.ZodString;
|
|
5527
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
5528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5529
|
+
type: z.ZodLiteral<"Diff">;
|
|
5530
|
+
path: z.ZodString;
|
|
5531
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5532
|
+
type: z.ZodLiteral<"Commit">;
|
|
5533
|
+
sha: z.ZodString;
|
|
5534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5535
|
+
type: z.ZodLiteral<"Node">;
|
|
5536
|
+
id: z.ZodString;
|
|
5537
|
+
}, z.core.$strict>], "type">>;
|
|
5538
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5539
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
5540
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5541
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
5542
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
5543
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
5544
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5545
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5546
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5547
|
+
}, z.core.$strip>>>;
|
|
5548
|
+
}, z.core.$strip>>;
|
|
5549
|
+
}, z.core.$strip>>;
|
|
5550
|
+
textLength: z.ZodOptional<z.ZodNumber>;
|
|
4294
5551
|
}, z.core.$strip>, z.ZodObject<{
|
|
4295
5552
|
type: z.ZodLiteral<"info">;
|
|
4296
5553
|
info: z.ZodObject<{
|
|
@@ -4347,8 +5604,21 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4347
5604
|
mime: z.ZodString;
|
|
4348
5605
|
size: z.ZodNumber;
|
|
4349
5606
|
path: z.ZodString;
|
|
5607
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5608
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4350
5609
|
}, z.core.$strip>>>;
|
|
4351
5610
|
createdAt: z.ZodNumber;
|
|
5611
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5612
|
+
itemId: z.ZodString;
|
|
5613
|
+
blockId: z.ZodString;
|
|
5614
|
+
revision: z.ZodString;
|
|
5615
|
+
choiceId: z.ZodString;
|
|
5616
|
+
label: z.ZodString;
|
|
5617
|
+
sourceAt: z.ZodNumber;
|
|
5618
|
+
older: z.ZodBoolean;
|
|
5619
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5620
|
+
at: z.ZodNumber;
|
|
5621
|
+
}, z.core.$strip>>;
|
|
4352
5622
|
}, z.core.$strip>>>;
|
|
4353
5623
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
4354
5624
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4485,8 +5755,21 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4485
5755
|
mime: z.ZodString;
|
|
4486
5756
|
size: z.ZodNumber;
|
|
4487
5757
|
path: z.ZodString;
|
|
5758
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5759
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4488
5760
|
}, z.core.$strip>>>;
|
|
4489
5761
|
createdAt: z.ZodNumber;
|
|
5762
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5763
|
+
itemId: z.ZodString;
|
|
5764
|
+
blockId: z.ZodString;
|
|
5765
|
+
revision: z.ZodString;
|
|
5766
|
+
choiceId: z.ZodString;
|
|
5767
|
+
label: z.ZodString;
|
|
5768
|
+
sourceAt: z.ZodNumber;
|
|
5769
|
+
older: z.ZodBoolean;
|
|
5770
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5771
|
+
at: z.ZodNumber;
|
|
5772
|
+
}, z.core.$strip>>;
|
|
4490
5773
|
}, z.core.$strip>>>;
|
|
4491
5774
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
4492
5775
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4582,12 +5865,88 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4582
5865
|
mime: z.ZodString;
|
|
4583
5866
|
size: z.ZodNumber;
|
|
4584
5867
|
path: z.ZodString;
|
|
5868
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5869
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4585
5870
|
}, z.core.$strip>>>;
|
|
5871
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5872
|
+
itemId: z.ZodString;
|
|
5873
|
+
blockId: z.ZodString;
|
|
5874
|
+
revision: z.ZodString;
|
|
5875
|
+
choiceId: z.ZodString;
|
|
5876
|
+
label: z.ZodString;
|
|
5877
|
+
sourceAt: z.ZodNumber;
|
|
5878
|
+
older: z.ZodBoolean;
|
|
5879
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5880
|
+
at: z.ZodNumber;
|
|
5881
|
+
}, z.core.$strip>>;
|
|
4586
5882
|
}, z.core.$strip>, z.ZodObject<{
|
|
4587
5883
|
id: z.ZodString;
|
|
4588
5884
|
createdAt: z.ZodNumber;
|
|
4589
5885
|
turnId: z.ZodNullable<z.ZodString>;
|
|
4590
5886
|
kind: z.ZodLiteral<"assistant">;
|
|
5887
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
5888
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5889
|
+
itemId: z.ZodString;
|
|
5890
|
+
blockId: z.ZodString;
|
|
5891
|
+
revision: z.ZodString;
|
|
5892
|
+
choiceId: z.ZodString;
|
|
5893
|
+
label: z.ZodString;
|
|
5894
|
+
sourceAt: z.ZodNumber;
|
|
5895
|
+
older: z.ZodBoolean;
|
|
5896
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5897
|
+
at: z.ZodNumber;
|
|
5898
|
+
queued: z.ZodBoolean;
|
|
5899
|
+
turnId: z.ZodString;
|
|
5900
|
+
}, z.core.$strip>>>;
|
|
5901
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
5902
|
+
authorChatId: z.ZodString;
|
|
5903
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5904
|
+
revision: z.ZodString;
|
|
5905
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5906
|
+
state: z.ZodEnum<{
|
|
5907
|
+
failed: "failed";
|
|
5908
|
+
fresh: "fresh";
|
|
5909
|
+
refused: "refused";
|
|
5910
|
+
}>;
|
|
5911
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5912
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
5913
|
+
readAt: z.ZodNumber;
|
|
5914
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5915
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5916
|
+
}, z.core.$strip>>;
|
|
5917
|
+
fallback: z.ZodString;
|
|
5918
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5919
|
+
state: z.ZodEnum<{
|
|
5920
|
+
chip: "chip";
|
|
5921
|
+
plain: "plain";
|
|
5922
|
+
}>;
|
|
5923
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5924
|
+
type: z.ZodLiteral<"File">;
|
|
5925
|
+
path: z.ZodString;
|
|
5926
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
5927
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5928
|
+
type: z.ZodLiteral<"Diff">;
|
|
5929
|
+
path: z.ZodString;
|
|
5930
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5931
|
+
type: z.ZodLiteral<"Commit">;
|
|
5932
|
+
sha: z.ZodString;
|
|
5933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5934
|
+
type: z.ZodLiteral<"Node">;
|
|
5935
|
+
id: z.ZodString;
|
|
5936
|
+
}, z.core.$strict>], "type">>;
|
|
5937
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5938
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
5939
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5940
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
5941
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
5942
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
5943
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5944
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5945
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5946
|
+
}, z.core.$strip>>>;
|
|
5947
|
+
}, z.core.$strip>>;
|
|
5948
|
+
}, z.core.$strip>>;
|
|
5949
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
4591
5950
|
text: z.ZodString;
|
|
4592
5951
|
streaming: z.ZodBoolean;
|
|
4593
5952
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4860,6 +6219,35 @@ export declare const ChatSendResultSchema: z.ZodObject<{
|
|
|
4860
6219
|
turnId: z.ZodOptional<z.ZodString>;
|
|
4861
6220
|
}, z.core.$strip>;
|
|
4862
6221
|
export type ChatSendResult = z.infer<typeof ChatSendResultSchema>;
|
|
6222
|
+
export declare const ChatUiChoicePayloadSchema: z.ZodObject<{
|
|
6223
|
+
chatId: z.ZodString;
|
|
6224
|
+
itemId: z.ZodString;
|
|
6225
|
+
blockId: z.ZodString;
|
|
6226
|
+
revision: z.ZodString;
|
|
6227
|
+
choiceId: z.ZodString;
|
|
6228
|
+
reads: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6229
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6230
|
+
}, z.core.$strip>;
|
|
6231
|
+
export type ChatUiChoicePayload = z.infer<typeof ChatUiChoicePayloadSchema>;
|
|
6232
|
+
export declare const ChatUiQueryPayloadSchema: z.ZodObject<{
|
|
6233
|
+
chatId: z.ZodString;
|
|
6234
|
+
itemId: z.ZodString;
|
|
6235
|
+
blockId: z.ZodString;
|
|
6236
|
+
revision: z.ZodString;
|
|
6237
|
+
query: z.ZodString;
|
|
6238
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6239
|
+
}, z.core.$strip>;
|
|
6240
|
+
export type ChatUiQueryPayload = z.infer<typeof ChatUiQueryPayloadSchema>;
|
|
6241
|
+
export declare const ChatUiLinkPayloadSchema: z.ZodObject<{
|
|
6242
|
+
chatId: z.ZodString;
|
|
6243
|
+
itemId: z.ZodString;
|
|
6244
|
+
blockId: z.ZodString;
|
|
6245
|
+
revision: z.ZodString;
|
|
6246
|
+
reads: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6247
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6248
|
+
nodeId: z.ZodString;
|
|
6249
|
+
}, z.core.$strip>;
|
|
6250
|
+
export type ChatUiLinkPayload = z.infer<typeof ChatUiLinkPayloadSchema>;
|
|
4863
6251
|
export declare const ChatQueuePayloadSchema: z.ZodObject<{
|
|
4864
6252
|
chatId: z.ZodString;
|
|
4865
6253
|
messageId: z.ZodString;
|
|
@@ -4879,8 +6267,21 @@ export declare const ChatUnqueueResultSchema: z.ZodObject<{
|
|
|
4879
6267
|
mime: z.ZodString;
|
|
4880
6268
|
size: z.ZodNumber;
|
|
4881
6269
|
path: z.ZodString;
|
|
6270
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6271
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4882
6272
|
}, z.core.$strip>>>;
|
|
4883
6273
|
createdAt: z.ZodNumber;
|
|
6274
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6275
|
+
itemId: z.ZodString;
|
|
6276
|
+
blockId: z.ZodString;
|
|
6277
|
+
revision: z.ZodString;
|
|
6278
|
+
choiceId: z.ZodString;
|
|
6279
|
+
label: z.ZodString;
|
|
6280
|
+
sourceAt: z.ZodNumber;
|
|
6281
|
+
older: z.ZodBoolean;
|
|
6282
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6283
|
+
at: z.ZodNumber;
|
|
6284
|
+
}, z.core.$strip>>;
|
|
4884
6285
|
}, z.core.$strip>>;
|
|
4885
6286
|
}, z.core.$strip>;
|
|
4886
6287
|
export type ChatUnqueueResult = z.infer<typeof ChatUnqueueResultSchema>;
|
|
@@ -5012,8 +6413,21 @@ export declare const ChatForkResultSchema: z.ZodObject<{
|
|
|
5012
6413
|
mime: z.ZodString;
|
|
5013
6414
|
size: z.ZodNumber;
|
|
5014
6415
|
path: z.ZodString;
|
|
6416
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6417
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5015
6418
|
}, z.core.$strip>>>;
|
|
5016
6419
|
createdAt: z.ZodNumber;
|
|
6420
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6421
|
+
itemId: z.ZodString;
|
|
6422
|
+
blockId: z.ZodString;
|
|
6423
|
+
revision: z.ZodString;
|
|
6424
|
+
choiceId: z.ZodString;
|
|
6425
|
+
label: z.ZodString;
|
|
6426
|
+
sourceAt: z.ZodNumber;
|
|
6427
|
+
older: z.ZodBoolean;
|
|
6428
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6429
|
+
at: z.ZodNumber;
|
|
6430
|
+
}, z.core.$strip>>;
|
|
5017
6431
|
}, z.core.$strip>>>;
|
|
5018
6432
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
5019
6433
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5181,8 +6595,21 @@ export declare const ChatContinueOnResultSchema: z.ZodObject<{
|
|
|
5181
6595
|
mime: z.ZodString;
|
|
5182
6596
|
size: z.ZodNumber;
|
|
5183
6597
|
path: z.ZodString;
|
|
6598
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6599
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5184
6600
|
}, z.core.$strip>>>;
|
|
5185
6601
|
createdAt: z.ZodNumber;
|
|
6602
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6603
|
+
itemId: z.ZodString;
|
|
6604
|
+
blockId: z.ZodString;
|
|
6605
|
+
revision: z.ZodString;
|
|
6606
|
+
choiceId: z.ZodString;
|
|
6607
|
+
label: z.ZodString;
|
|
6608
|
+
sourceAt: z.ZodNumber;
|
|
6609
|
+
older: z.ZodBoolean;
|
|
6610
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6611
|
+
at: z.ZodNumber;
|
|
6612
|
+
}, z.core.$strip>>;
|
|
5186
6613
|
}, z.core.$strip>>>;
|
|
5187
6614
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
5188
6615
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5364,8 +6791,21 @@ export declare const ChatListResultSchema: z.ZodObject<{
|
|
|
5364
6791
|
mime: z.ZodString;
|
|
5365
6792
|
size: z.ZodNumber;
|
|
5366
6793
|
path: z.ZodString;
|
|
6794
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6795
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5367
6796
|
}, z.core.$strip>>>;
|
|
5368
6797
|
createdAt: z.ZodNumber;
|
|
6798
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6799
|
+
itemId: z.ZodString;
|
|
6800
|
+
blockId: z.ZodString;
|
|
6801
|
+
revision: z.ZodString;
|
|
6802
|
+
choiceId: z.ZodString;
|
|
6803
|
+
label: z.ZodString;
|
|
6804
|
+
sourceAt: z.ZodNumber;
|
|
6805
|
+
older: z.ZodBoolean;
|
|
6806
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6807
|
+
at: z.ZodNumber;
|
|
6808
|
+
}, z.core.$strip>>;
|
|
5369
6809
|
}, z.core.$strip>>>;
|
|
5370
6810
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
5371
6811
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5448,3 +6888,18 @@ export declare const ChatListResultSchema: z.ZodObject<{
|
|
|
5448
6888
|
}, z.core.$strip>>;
|
|
5449
6889
|
}, z.core.$strip>;
|
|
5450
6890
|
export type ChatListResult = z.infer<typeof ChatListResultSchema>;
|
|
6891
|
+
export declare const GeneratedImageInputSchema: z.ZodObject<{
|
|
6892
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
6893
|
+
id: z.ZodString;
|
|
6894
|
+
name: z.ZodString;
|
|
6895
|
+
mime: z.ZodString;
|
|
6896
|
+
size: z.ZodNumber;
|
|
6897
|
+
path: z.ZodString;
|
|
6898
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6899
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
6900
|
+
}, z.core.$strip>>;
|
|
6901
|
+
revisedPrompt: z.ZodOptional<z.ZodString>;
|
|
6902
|
+
transparentBackground: z.ZodOptional<z.ZodBoolean>;
|
|
6903
|
+
}, z.core.$strip>;
|
|
6904
|
+
export type GeneratedImageInput = z.infer<typeof GeneratedImageInputSchema>;
|
|
6905
|
+
export declare function generatedImageAttachment(item: ChatItem): ChatAttachment | null;
|