@adecore/agent-contracts 0.20.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.d.ts +1437 -0
- package/dist/chat.js +86 -4
- package/dist/protocol.d.ts +976 -0
- package/dist/protocol.js +4 -1
- package/package.json +2 -1
- package/src/chat.ts +108 -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,177 @@ 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
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
export type ChatUiQueryReading = z.infer<typeof ChatUiQueryReadingSchema>;
|
|
434
|
+
export declare const ChatUiLinkReadingSchema: z.ZodObject<{
|
|
435
|
+
state: z.ZodEnum<{
|
|
436
|
+
chip: "chip";
|
|
437
|
+
plain: "plain";
|
|
438
|
+
}>;
|
|
439
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
440
|
+
type: z.ZodLiteral<"File">;
|
|
441
|
+
path: z.ZodString;
|
|
442
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
444
|
+
type: z.ZodLiteral<"Diff">;
|
|
445
|
+
path: z.ZodString;
|
|
446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
447
|
+
type: z.ZodLiteral<"Commit">;
|
|
448
|
+
sha: z.ZodString;
|
|
449
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
450
|
+
type: z.ZodLiteral<"Node">;
|
|
451
|
+
id: z.ZodString;
|
|
452
|
+
}, z.core.$strict>], "type">>;
|
|
453
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
454
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
455
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
456
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
457
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
459
|
+
label: z.ZodOptional<z.ZodString>;
|
|
460
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, z.core.$strip>;
|
|
462
|
+
export type ChatUiLinkReading = z.infer<typeof ChatUiLinkReadingSchema>;
|
|
463
|
+
export declare const ChatUiQueryStateSchema: z.ZodObject<{
|
|
464
|
+
authorChatId: z.ZodString;
|
|
465
|
+
access: z.ZodUnknown;
|
|
466
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
467
|
+
revision: z.ZodString;
|
|
468
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
469
|
+
state: z.ZodEnum<{
|
|
470
|
+
failed: "failed";
|
|
471
|
+
fresh: "fresh";
|
|
472
|
+
refused: "refused";
|
|
473
|
+
}>;
|
|
474
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
475
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
476
|
+
readAt: z.ZodNumber;
|
|
477
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
fallback: z.ZodString;
|
|
480
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
481
|
+
state: z.ZodEnum<{
|
|
482
|
+
chip: "chip";
|
|
483
|
+
plain: "plain";
|
|
484
|
+
}>;
|
|
485
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
486
|
+
type: z.ZodLiteral<"File">;
|
|
487
|
+
path: z.ZodString;
|
|
488
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
490
|
+
type: z.ZodLiteral<"Diff">;
|
|
491
|
+
path: z.ZodString;
|
|
492
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
493
|
+
type: z.ZodLiteral<"Commit">;
|
|
494
|
+
sha: z.ZodString;
|
|
495
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
496
|
+
type: z.ZodLiteral<"Node">;
|
|
497
|
+
id: z.ZodString;
|
|
498
|
+
}, z.core.$strict>], "type">>;
|
|
499
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
500
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
501
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
502
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
503
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
504
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
505
|
+
label: z.ZodOptional<z.ZodString>;
|
|
506
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
507
|
+
}, z.core.$strip>>>;
|
|
508
|
+
}, z.core.$strip>>;
|
|
354
509
|
}, z.core.$strip>;
|
|
510
|
+
export type ChatUiQueryState = z.infer<typeof ChatUiQueryStateSchema>;
|
|
355
511
|
export declare const ChatAssistantItemSchema: z.ZodObject<{
|
|
356
512
|
id: z.ZodString;
|
|
357
513
|
createdAt: z.ZodNumber;
|
|
358
514
|
turnId: z.ZodNullable<z.ZodString>;
|
|
359
515
|
kind: z.ZodLiteral<"assistant">;
|
|
516
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
517
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
518
|
+
itemId: z.ZodString;
|
|
519
|
+
blockId: z.ZodString;
|
|
520
|
+
revision: z.ZodString;
|
|
521
|
+
choiceId: z.ZodString;
|
|
522
|
+
label: z.ZodString;
|
|
523
|
+
sourceAt: z.ZodNumber;
|
|
524
|
+
older: z.ZodBoolean;
|
|
525
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
526
|
+
at: z.ZodNumber;
|
|
527
|
+
queued: z.ZodBoolean;
|
|
528
|
+
turnId: z.ZodString;
|
|
529
|
+
}, z.core.$strip>>>;
|
|
530
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
531
|
+
authorChatId: z.ZodString;
|
|
532
|
+
access: z.ZodUnknown;
|
|
533
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
534
|
+
revision: z.ZodString;
|
|
535
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
536
|
+
state: z.ZodEnum<{
|
|
537
|
+
failed: "failed";
|
|
538
|
+
fresh: "fresh";
|
|
539
|
+
refused: "refused";
|
|
540
|
+
}>;
|
|
541
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
542
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
543
|
+
readAt: z.ZodNumber;
|
|
544
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
545
|
+
}, z.core.$strip>>;
|
|
546
|
+
fallback: z.ZodString;
|
|
547
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
548
|
+
state: z.ZodEnum<{
|
|
549
|
+
chip: "chip";
|
|
550
|
+
plain: "plain";
|
|
551
|
+
}>;
|
|
552
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
553
|
+
type: z.ZodLiteral<"File">;
|
|
554
|
+
path: z.ZodString;
|
|
555
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
556
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
557
|
+
type: z.ZodLiteral<"Diff">;
|
|
558
|
+
path: z.ZodString;
|
|
559
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
560
|
+
type: z.ZodLiteral<"Commit">;
|
|
561
|
+
sha: z.ZodString;
|
|
562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
563
|
+
type: z.ZodLiteral<"Node">;
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
}, z.core.$strict>], "type">>;
|
|
566
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
567
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
568
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
569
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
571
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
572
|
+
label: z.ZodOptional<z.ZodString>;
|
|
573
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>>>;
|
|
575
|
+
}, z.core.$strip>>;
|
|
576
|
+
}, z.core.$strip>>;
|
|
577
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
360
578
|
text: z.ZodString;
|
|
361
579
|
streaming: z.ZodBoolean;
|
|
362
580
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -737,12 +955,87 @@ export declare const ChatItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
737
955
|
mime: z.ZodString;
|
|
738
956
|
size: z.ZodNumber;
|
|
739
957
|
path: z.ZodString;
|
|
958
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
959
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
740
960
|
}, z.core.$strip>>>;
|
|
961
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
962
|
+
itemId: z.ZodString;
|
|
963
|
+
blockId: z.ZodString;
|
|
964
|
+
revision: z.ZodString;
|
|
965
|
+
choiceId: z.ZodString;
|
|
966
|
+
label: z.ZodString;
|
|
967
|
+
sourceAt: z.ZodNumber;
|
|
968
|
+
older: z.ZodBoolean;
|
|
969
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
970
|
+
at: z.ZodNumber;
|
|
971
|
+
}, z.core.$strip>>;
|
|
741
972
|
}, z.core.$strip>, z.ZodObject<{
|
|
742
973
|
id: z.ZodString;
|
|
743
974
|
createdAt: z.ZodNumber;
|
|
744
975
|
turnId: z.ZodNullable<z.ZodString>;
|
|
745
976
|
kind: z.ZodLiteral<"assistant">;
|
|
977
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
978
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
979
|
+
itemId: z.ZodString;
|
|
980
|
+
blockId: z.ZodString;
|
|
981
|
+
revision: z.ZodString;
|
|
982
|
+
choiceId: z.ZodString;
|
|
983
|
+
label: z.ZodString;
|
|
984
|
+
sourceAt: z.ZodNumber;
|
|
985
|
+
older: z.ZodBoolean;
|
|
986
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
987
|
+
at: z.ZodNumber;
|
|
988
|
+
queued: z.ZodBoolean;
|
|
989
|
+
turnId: z.ZodString;
|
|
990
|
+
}, z.core.$strip>>>;
|
|
991
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
992
|
+
authorChatId: z.ZodString;
|
|
993
|
+
access: z.ZodUnknown;
|
|
994
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
995
|
+
revision: z.ZodString;
|
|
996
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
997
|
+
state: z.ZodEnum<{
|
|
998
|
+
failed: "failed";
|
|
999
|
+
fresh: "fresh";
|
|
1000
|
+
refused: "refused";
|
|
1001
|
+
}>;
|
|
1002
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1003
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
readAt: z.ZodNumber;
|
|
1005
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1006
|
+
}, z.core.$strip>>;
|
|
1007
|
+
fallback: z.ZodString;
|
|
1008
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1009
|
+
state: z.ZodEnum<{
|
|
1010
|
+
chip: "chip";
|
|
1011
|
+
plain: "plain";
|
|
1012
|
+
}>;
|
|
1013
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1014
|
+
type: z.ZodLiteral<"File">;
|
|
1015
|
+
path: z.ZodString;
|
|
1016
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1017
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1018
|
+
type: z.ZodLiteral<"Diff">;
|
|
1019
|
+
path: z.ZodString;
|
|
1020
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1021
|
+
type: z.ZodLiteral<"Commit">;
|
|
1022
|
+
sha: z.ZodString;
|
|
1023
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1024
|
+
type: z.ZodLiteral<"Node">;
|
|
1025
|
+
id: z.ZodString;
|
|
1026
|
+
}, z.core.$strict>], "type">>;
|
|
1027
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
1031
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
1032
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
}, z.core.$strip>>>;
|
|
1036
|
+
}, z.core.$strip>>;
|
|
1037
|
+
}, z.core.$strip>>;
|
|
1038
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
746
1039
|
text: z.ZodString;
|
|
747
1040
|
streaming: z.ZodBoolean;
|
|
748
1041
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -994,12 +1287,87 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
994
1287
|
mime: z.ZodString;
|
|
995
1288
|
size: z.ZodNumber;
|
|
996
1289
|
path: z.ZodString;
|
|
1290
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1291
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
997
1292
|
}, z.core.$strip>>>;
|
|
1293
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1294
|
+
itemId: z.ZodString;
|
|
1295
|
+
blockId: z.ZodString;
|
|
1296
|
+
revision: z.ZodString;
|
|
1297
|
+
choiceId: z.ZodString;
|
|
1298
|
+
label: z.ZodString;
|
|
1299
|
+
sourceAt: z.ZodNumber;
|
|
1300
|
+
older: z.ZodBoolean;
|
|
1301
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1302
|
+
at: z.ZodNumber;
|
|
1303
|
+
}, z.core.$strip>>;
|
|
998
1304
|
}, z.core.$strip>, z.ZodObject<{
|
|
999
1305
|
id: z.ZodString;
|
|
1000
1306
|
createdAt: z.ZodNumber;
|
|
1001
1307
|
turnId: z.ZodNullable<z.ZodString>;
|
|
1002
1308
|
kind: z.ZodLiteral<"assistant">;
|
|
1309
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
1310
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1311
|
+
itemId: z.ZodString;
|
|
1312
|
+
blockId: z.ZodString;
|
|
1313
|
+
revision: z.ZodString;
|
|
1314
|
+
choiceId: z.ZodString;
|
|
1315
|
+
label: z.ZodString;
|
|
1316
|
+
sourceAt: z.ZodNumber;
|
|
1317
|
+
older: z.ZodBoolean;
|
|
1318
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1319
|
+
at: z.ZodNumber;
|
|
1320
|
+
queued: z.ZodBoolean;
|
|
1321
|
+
turnId: z.ZodString;
|
|
1322
|
+
}, z.core.$strip>>>;
|
|
1323
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
1324
|
+
authorChatId: z.ZodString;
|
|
1325
|
+
access: z.ZodUnknown;
|
|
1326
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1327
|
+
revision: z.ZodString;
|
|
1328
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1329
|
+
state: z.ZodEnum<{
|
|
1330
|
+
failed: "failed";
|
|
1331
|
+
fresh: "fresh";
|
|
1332
|
+
refused: "refused";
|
|
1333
|
+
}>;
|
|
1334
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1335
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
readAt: z.ZodNumber;
|
|
1337
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1338
|
+
}, z.core.$strip>>;
|
|
1339
|
+
fallback: z.ZodString;
|
|
1340
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1341
|
+
state: z.ZodEnum<{
|
|
1342
|
+
chip: "chip";
|
|
1343
|
+
plain: "plain";
|
|
1344
|
+
}>;
|
|
1345
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1346
|
+
type: z.ZodLiteral<"File">;
|
|
1347
|
+
path: z.ZodString;
|
|
1348
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1350
|
+
type: z.ZodLiteral<"Diff">;
|
|
1351
|
+
path: z.ZodString;
|
|
1352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1353
|
+
type: z.ZodLiteral<"Commit">;
|
|
1354
|
+
sha: z.ZodString;
|
|
1355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1356
|
+
type: z.ZodLiteral<"Node">;
|
|
1357
|
+
id: z.ZodString;
|
|
1358
|
+
}, z.core.$strict>], "type">>;
|
|
1359
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1362
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
1363
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
1364
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1366
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1367
|
+
}, z.core.$strip>>>;
|
|
1368
|
+
}, z.core.$strip>>;
|
|
1369
|
+
}, z.core.$strip>>;
|
|
1370
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1003
1371
|
text: z.ZodString;
|
|
1004
1372
|
streaming: z.ZodBoolean;
|
|
1005
1373
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1228,6 +1596,55 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1228
1596
|
type: z.ZodLiteral<"delta">;
|
|
1229
1597
|
itemId: z.ZodString;
|
|
1230
1598
|
text: z.ZodString;
|
|
1599
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
1600
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
1601
|
+
authorChatId: z.ZodString;
|
|
1602
|
+
access: z.ZodUnknown;
|
|
1603
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1604
|
+
revision: z.ZodString;
|
|
1605
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1606
|
+
state: z.ZodEnum<{
|
|
1607
|
+
failed: "failed";
|
|
1608
|
+
fresh: "fresh";
|
|
1609
|
+
refused: "refused";
|
|
1610
|
+
}>;
|
|
1611
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1612
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
1613
|
+
readAt: z.ZodNumber;
|
|
1614
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
}, z.core.$strip>>;
|
|
1616
|
+
fallback: z.ZodString;
|
|
1617
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1618
|
+
state: z.ZodEnum<{
|
|
1619
|
+
chip: "chip";
|
|
1620
|
+
plain: "plain";
|
|
1621
|
+
}>;
|
|
1622
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1623
|
+
type: z.ZodLiteral<"File">;
|
|
1624
|
+
path: z.ZodString;
|
|
1625
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1626
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1627
|
+
type: z.ZodLiteral<"Diff">;
|
|
1628
|
+
path: z.ZodString;
|
|
1629
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1630
|
+
type: z.ZodLiteral<"Commit">;
|
|
1631
|
+
sha: z.ZodString;
|
|
1632
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1633
|
+
type: z.ZodLiteral<"Node">;
|
|
1634
|
+
id: z.ZodString;
|
|
1635
|
+
}, z.core.$strict>], "type">>;
|
|
1636
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
1640
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
1641
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
1642
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
}, z.core.$strip>>>;
|
|
1645
|
+
}, z.core.$strip>>;
|
|
1646
|
+
}, z.core.$strip>>;
|
|
1647
|
+
textLength: z.ZodOptional<z.ZodNumber>;
|
|
1231
1648
|
}, z.core.$strip>, z.ZodObject<{
|
|
1232
1649
|
type: z.ZodLiteral<"info">;
|
|
1233
1650
|
info: z.ZodObject<{
|
|
@@ -1284,8 +1701,21 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1284
1701
|
mime: z.ZodString;
|
|
1285
1702
|
size: z.ZodNumber;
|
|
1286
1703
|
path: z.ZodString;
|
|
1704
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1705
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1287
1706
|
}, z.core.$strip>>>;
|
|
1288
1707
|
createdAt: z.ZodNumber;
|
|
1708
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1709
|
+
itemId: z.ZodString;
|
|
1710
|
+
blockId: z.ZodString;
|
|
1711
|
+
revision: z.ZodString;
|
|
1712
|
+
choiceId: z.ZodString;
|
|
1713
|
+
label: z.ZodString;
|
|
1714
|
+
sourceAt: z.ZodNumber;
|
|
1715
|
+
older: z.ZodBoolean;
|
|
1716
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1717
|
+
at: z.ZodNumber;
|
|
1718
|
+
}, z.core.$strip>>;
|
|
1289
1719
|
}, z.core.$strip>>>;
|
|
1290
1720
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
1291
1721
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1422,8 +1852,21 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1422
1852
|
mime: z.ZodString;
|
|
1423
1853
|
size: z.ZodNumber;
|
|
1424
1854
|
path: z.ZodString;
|
|
1855
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1856
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1425
1857
|
}, z.core.$strip>>>;
|
|
1426
1858
|
createdAt: z.ZodNumber;
|
|
1859
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1860
|
+
itemId: z.ZodString;
|
|
1861
|
+
blockId: z.ZodString;
|
|
1862
|
+
revision: z.ZodString;
|
|
1863
|
+
choiceId: z.ZodString;
|
|
1864
|
+
label: z.ZodString;
|
|
1865
|
+
sourceAt: z.ZodNumber;
|
|
1866
|
+
older: z.ZodBoolean;
|
|
1867
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1868
|
+
at: z.ZodNumber;
|
|
1869
|
+
}, z.core.$strip>>;
|
|
1427
1870
|
}, z.core.$strip>>>;
|
|
1428
1871
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
1429
1872
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1519,12 +1962,87 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1519
1962
|
mime: z.ZodString;
|
|
1520
1963
|
size: z.ZodNumber;
|
|
1521
1964
|
path: z.ZodString;
|
|
1965
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1966
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1522
1967
|
}, z.core.$strip>>>;
|
|
1968
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
1969
|
+
itemId: z.ZodString;
|
|
1970
|
+
blockId: z.ZodString;
|
|
1971
|
+
revision: z.ZodString;
|
|
1972
|
+
choiceId: z.ZodString;
|
|
1973
|
+
label: z.ZodString;
|
|
1974
|
+
sourceAt: z.ZodNumber;
|
|
1975
|
+
older: z.ZodBoolean;
|
|
1976
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1977
|
+
at: z.ZodNumber;
|
|
1978
|
+
}, z.core.$strip>>;
|
|
1523
1979
|
}, z.core.$strip>, z.ZodObject<{
|
|
1524
1980
|
id: z.ZodString;
|
|
1525
1981
|
createdAt: z.ZodNumber;
|
|
1526
1982
|
turnId: z.ZodNullable<z.ZodString>;
|
|
1527
1983
|
kind: z.ZodLiteral<"assistant">;
|
|
1984
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
1985
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1986
|
+
itemId: z.ZodString;
|
|
1987
|
+
blockId: z.ZodString;
|
|
1988
|
+
revision: z.ZodString;
|
|
1989
|
+
choiceId: z.ZodString;
|
|
1990
|
+
label: z.ZodString;
|
|
1991
|
+
sourceAt: z.ZodNumber;
|
|
1992
|
+
older: z.ZodBoolean;
|
|
1993
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1994
|
+
at: z.ZodNumber;
|
|
1995
|
+
queued: z.ZodBoolean;
|
|
1996
|
+
turnId: z.ZodString;
|
|
1997
|
+
}, z.core.$strip>>>;
|
|
1998
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
1999
|
+
authorChatId: z.ZodString;
|
|
2000
|
+
access: z.ZodUnknown;
|
|
2001
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2002
|
+
revision: z.ZodString;
|
|
2003
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2004
|
+
state: z.ZodEnum<{
|
|
2005
|
+
failed: "failed";
|
|
2006
|
+
fresh: "fresh";
|
|
2007
|
+
refused: "refused";
|
|
2008
|
+
}>;
|
|
2009
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2010
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
2011
|
+
readAt: z.ZodNumber;
|
|
2012
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2013
|
+
}, z.core.$strip>>;
|
|
2014
|
+
fallback: z.ZodString;
|
|
2015
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2016
|
+
state: z.ZodEnum<{
|
|
2017
|
+
chip: "chip";
|
|
2018
|
+
plain: "plain";
|
|
2019
|
+
}>;
|
|
2020
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2021
|
+
type: z.ZodLiteral<"File">;
|
|
2022
|
+
path: z.ZodString;
|
|
2023
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2024
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2025
|
+
type: z.ZodLiteral<"Diff">;
|
|
2026
|
+
path: z.ZodString;
|
|
2027
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2028
|
+
type: z.ZodLiteral<"Commit">;
|
|
2029
|
+
sha: z.ZodString;
|
|
2030
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2031
|
+
type: z.ZodLiteral<"Node">;
|
|
2032
|
+
id: z.ZodString;
|
|
2033
|
+
}, z.core.$strict>], "type">>;
|
|
2034
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2035
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
2036
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2037
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
2038
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
2039
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
2040
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2041
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
}, z.core.$strip>>>;
|
|
2043
|
+
}, z.core.$strip>>;
|
|
2044
|
+
}, z.core.$strip>>;
|
|
2045
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1528
2046
|
text: z.ZodString;
|
|
1529
2047
|
streaming: z.ZodBoolean;
|
|
1530
2048
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1769,12 +2287,87 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
1769
2287
|
mime: z.ZodString;
|
|
1770
2288
|
size: z.ZodNumber;
|
|
1771
2289
|
path: z.ZodString;
|
|
2290
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2291
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1772
2292
|
}, z.core.$strip>>>;
|
|
2293
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2294
|
+
itemId: z.ZodString;
|
|
2295
|
+
blockId: z.ZodString;
|
|
2296
|
+
revision: z.ZodString;
|
|
2297
|
+
choiceId: z.ZodString;
|
|
2298
|
+
label: z.ZodString;
|
|
2299
|
+
sourceAt: z.ZodNumber;
|
|
2300
|
+
older: z.ZodBoolean;
|
|
2301
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2302
|
+
at: z.ZodNumber;
|
|
2303
|
+
}, z.core.$strip>>;
|
|
1773
2304
|
}, z.core.$strip>, z.ZodObject<{
|
|
1774
2305
|
id: z.ZodString;
|
|
1775
2306
|
createdAt: z.ZodNumber;
|
|
1776
2307
|
turnId: z.ZodNullable<z.ZodString>;
|
|
1777
2308
|
kind: z.ZodLiteral<"assistant">;
|
|
2309
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
2310
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2311
|
+
itemId: z.ZodString;
|
|
2312
|
+
blockId: z.ZodString;
|
|
2313
|
+
revision: z.ZodString;
|
|
2314
|
+
choiceId: z.ZodString;
|
|
2315
|
+
label: z.ZodString;
|
|
2316
|
+
sourceAt: z.ZodNumber;
|
|
2317
|
+
older: z.ZodBoolean;
|
|
2318
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2319
|
+
at: z.ZodNumber;
|
|
2320
|
+
queued: z.ZodBoolean;
|
|
2321
|
+
turnId: z.ZodString;
|
|
2322
|
+
}, z.core.$strip>>>;
|
|
2323
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
2324
|
+
authorChatId: z.ZodString;
|
|
2325
|
+
access: z.ZodUnknown;
|
|
2326
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2327
|
+
revision: z.ZodString;
|
|
2328
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2329
|
+
state: z.ZodEnum<{
|
|
2330
|
+
failed: "failed";
|
|
2331
|
+
fresh: "fresh";
|
|
2332
|
+
refused: "refused";
|
|
2333
|
+
}>;
|
|
2334
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2335
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
2336
|
+
readAt: z.ZodNumber;
|
|
2337
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2338
|
+
}, z.core.$strip>>;
|
|
2339
|
+
fallback: z.ZodString;
|
|
2340
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2341
|
+
state: z.ZodEnum<{
|
|
2342
|
+
chip: "chip";
|
|
2343
|
+
plain: "plain";
|
|
2344
|
+
}>;
|
|
2345
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2346
|
+
type: z.ZodLiteral<"File">;
|
|
2347
|
+
path: z.ZodString;
|
|
2348
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2350
|
+
type: z.ZodLiteral<"Diff">;
|
|
2351
|
+
path: z.ZodString;
|
|
2352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2353
|
+
type: z.ZodLiteral<"Commit">;
|
|
2354
|
+
sha: z.ZodString;
|
|
2355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2356
|
+
type: z.ZodLiteral<"Node">;
|
|
2357
|
+
id: z.ZodString;
|
|
2358
|
+
}, z.core.$strict>], "type">>;
|
|
2359
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2360
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
2361
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2362
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
2363
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
2364
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2366
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
}, z.core.$strip>>>;
|
|
2368
|
+
}, z.core.$strip>>;
|
|
2369
|
+
}, z.core.$strip>>;
|
|
2370
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1778
2371
|
text: z.ZodString;
|
|
1779
2372
|
streaming: z.ZodBoolean;
|
|
1780
2373
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2003,6 +2596,55 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2003
2596
|
type: z.ZodLiteral<"delta">;
|
|
2004
2597
|
itemId: z.ZodString;
|
|
2005
2598
|
text: z.ZodString;
|
|
2599
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
2600
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
2601
|
+
authorChatId: z.ZodString;
|
|
2602
|
+
access: z.ZodUnknown;
|
|
2603
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2604
|
+
revision: z.ZodString;
|
|
2605
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2606
|
+
state: z.ZodEnum<{
|
|
2607
|
+
failed: "failed";
|
|
2608
|
+
fresh: "fresh";
|
|
2609
|
+
refused: "refused";
|
|
2610
|
+
}>;
|
|
2611
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2612
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
2613
|
+
readAt: z.ZodNumber;
|
|
2614
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2615
|
+
}, z.core.$strip>>;
|
|
2616
|
+
fallback: z.ZodString;
|
|
2617
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2618
|
+
state: z.ZodEnum<{
|
|
2619
|
+
chip: "chip";
|
|
2620
|
+
plain: "plain";
|
|
2621
|
+
}>;
|
|
2622
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2623
|
+
type: z.ZodLiteral<"File">;
|
|
2624
|
+
path: z.ZodString;
|
|
2625
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2626
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2627
|
+
type: z.ZodLiteral<"Diff">;
|
|
2628
|
+
path: z.ZodString;
|
|
2629
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2630
|
+
type: z.ZodLiteral<"Commit">;
|
|
2631
|
+
sha: z.ZodString;
|
|
2632
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2633
|
+
type: z.ZodLiteral<"Node">;
|
|
2634
|
+
id: z.ZodString;
|
|
2635
|
+
}, z.core.$strict>], "type">>;
|
|
2636
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2637
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
2638
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2639
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
2640
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
2641
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
2642
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2643
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2644
|
+
}, z.core.$strip>>>;
|
|
2645
|
+
}, z.core.$strip>>;
|
|
2646
|
+
}, z.core.$strip>>;
|
|
2647
|
+
textLength: z.ZodOptional<z.ZodNumber>;
|
|
2006
2648
|
}, z.core.$strip>, z.ZodObject<{
|
|
2007
2649
|
type: z.ZodLiteral<"info">;
|
|
2008
2650
|
info: z.ZodObject<{
|
|
@@ -2059,8 +2701,21 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2059
2701
|
mime: z.ZodString;
|
|
2060
2702
|
size: z.ZodNumber;
|
|
2061
2703
|
path: z.ZodString;
|
|
2704
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2705
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2062
2706
|
}, z.core.$strip>>>;
|
|
2063
2707
|
createdAt: z.ZodNumber;
|
|
2708
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2709
|
+
itemId: z.ZodString;
|
|
2710
|
+
blockId: z.ZodString;
|
|
2711
|
+
revision: z.ZodString;
|
|
2712
|
+
choiceId: z.ZodString;
|
|
2713
|
+
label: z.ZodString;
|
|
2714
|
+
sourceAt: z.ZodNumber;
|
|
2715
|
+
older: z.ZodBoolean;
|
|
2716
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2717
|
+
at: z.ZodNumber;
|
|
2718
|
+
}, z.core.$strip>>;
|
|
2064
2719
|
}, z.core.$strip>>>;
|
|
2065
2720
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
2066
2721
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2197,8 +2852,21 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2197
2852
|
mime: z.ZodString;
|
|
2198
2853
|
size: z.ZodNumber;
|
|
2199
2854
|
path: z.ZodString;
|
|
2855
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2856
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2200
2857
|
}, z.core.$strip>>>;
|
|
2201
2858
|
createdAt: z.ZodNumber;
|
|
2859
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2860
|
+
itemId: z.ZodString;
|
|
2861
|
+
blockId: z.ZodString;
|
|
2862
|
+
revision: z.ZodString;
|
|
2863
|
+
choiceId: z.ZodString;
|
|
2864
|
+
label: z.ZodString;
|
|
2865
|
+
sourceAt: z.ZodNumber;
|
|
2866
|
+
older: z.ZodBoolean;
|
|
2867
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2868
|
+
at: z.ZodNumber;
|
|
2869
|
+
}, z.core.$strip>>;
|
|
2202
2870
|
}, z.core.$strip>>>;
|
|
2203
2871
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
2204
2872
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2294,12 +2962,87 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2294
2962
|
mime: z.ZodString;
|
|
2295
2963
|
size: z.ZodNumber;
|
|
2296
2964
|
path: z.ZodString;
|
|
2965
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2966
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2297
2967
|
}, z.core.$strip>>>;
|
|
2968
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
2969
|
+
itemId: z.ZodString;
|
|
2970
|
+
blockId: z.ZodString;
|
|
2971
|
+
revision: z.ZodString;
|
|
2972
|
+
choiceId: z.ZodString;
|
|
2973
|
+
label: z.ZodString;
|
|
2974
|
+
sourceAt: z.ZodNumber;
|
|
2975
|
+
older: z.ZodBoolean;
|
|
2976
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2977
|
+
at: z.ZodNumber;
|
|
2978
|
+
}, z.core.$strip>>;
|
|
2298
2979
|
}, z.core.$strip>, z.ZodObject<{
|
|
2299
2980
|
id: z.ZodString;
|
|
2300
2981
|
createdAt: z.ZodNumber;
|
|
2301
2982
|
turnId: z.ZodNullable<z.ZodString>;
|
|
2302
2983
|
kind: z.ZodLiteral<"assistant">;
|
|
2984
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
2985
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2986
|
+
itemId: z.ZodString;
|
|
2987
|
+
blockId: z.ZodString;
|
|
2988
|
+
revision: z.ZodString;
|
|
2989
|
+
choiceId: z.ZodString;
|
|
2990
|
+
label: z.ZodString;
|
|
2991
|
+
sourceAt: z.ZodNumber;
|
|
2992
|
+
older: z.ZodBoolean;
|
|
2993
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2994
|
+
at: z.ZodNumber;
|
|
2995
|
+
queued: z.ZodBoolean;
|
|
2996
|
+
turnId: z.ZodString;
|
|
2997
|
+
}, z.core.$strip>>>;
|
|
2998
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
2999
|
+
authorChatId: z.ZodString;
|
|
3000
|
+
access: z.ZodUnknown;
|
|
3001
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3002
|
+
revision: z.ZodString;
|
|
3003
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3004
|
+
state: z.ZodEnum<{
|
|
3005
|
+
failed: "failed";
|
|
3006
|
+
fresh: "fresh";
|
|
3007
|
+
refused: "refused";
|
|
3008
|
+
}>;
|
|
3009
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3010
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
readAt: z.ZodNumber;
|
|
3012
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3013
|
+
}, z.core.$strip>>;
|
|
3014
|
+
fallback: z.ZodString;
|
|
3015
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3016
|
+
state: z.ZodEnum<{
|
|
3017
|
+
chip: "chip";
|
|
3018
|
+
plain: "plain";
|
|
3019
|
+
}>;
|
|
3020
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3021
|
+
type: z.ZodLiteral<"File">;
|
|
3022
|
+
path: z.ZodString;
|
|
3023
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3024
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3025
|
+
type: z.ZodLiteral<"Diff">;
|
|
3026
|
+
path: z.ZodString;
|
|
3027
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3028
|
+
type: z.ZodLiteral<"Commit">;
|
|
3029
|
+
sha: z.ZodString;
|
|
3030
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3031
|
+
type: z.ZodLiteral<"Node">;
|
|
3032
|
+
id: z.ZodString;
|
|
3033
|
+
}, z.core.$strict>], "type">>;
|
|
3034
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3035
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
3036
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3037
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
3038
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
3039
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
3040
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3041
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3042
|
+
}, z.core.$strip>>>;
|
|
3043
|
+
}, z.core.$strip>>;
|
|
3044
|
+
}, z.core.$strip>>;
|
|
3045
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2303
3046
|
text: z.ZodString;
|
|
2304
3047
|
streaming: z.ZodBoolean;
|
|
2305
3048
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2644,12 +3387,87 @@ export declare const ChatHistoryResultSchema: z.ZodObject<{
|
|
|
2644
3387
|
mime: z.ZodString;
|
|
2645
3388
|
size: z.ZodNumber;
|
|
2646
3389
|
path: z.ZodString;
|
|
3390
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3391
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2647
3392
|
}, z.core.$strip>>>;
|
|
3393
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
3394
|
+
itemId: z.ZodString;
|
|
3395
|
+
blockId: z.ZodString;
|
|
3396
|
+
revision: z.ZodString;
|
|
3397
|
+
choiceId: z.ZodString;
|
|
3398
|
+
label: z.ZodString;
|
|
3399
|
+
sourceAt: z.ZodNumber;
|
|
3400
|
+
older: z.ZodBoolean;
|
|
3401
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3402
|
+
at: z.ZodNumber;
|
|
3403
|
+
}, z.core.$strip>>;
|
|
2648
3404
|
}, z.core.$strip>, z.ZodObject<{
|
|
2649
3405
|
id: z.ZodString;
|
|
2650
3406
|
createdAt: z.ZodNumber;
|
|
2651
3407
|
turnId: z.ZodNullable<z.ZodString>;
|
|
2652
3408
|
kind: z.ZodLiteral<"assistant">;
|
|
3409
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
3410
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3411
|
+
itemId: z.ZodString;
|
|
3412
|
+
blockId: z.ZodString;
|
|
3413
|
+
revision: z.ZodString;
|
|
3414
|
+
choiceId: z.ZodString;
|
|
3415
|
+
label: z.ZodString;
|
|
3416
|
+
sourceAt: z.ZodNumber;
|
|
3417
|
+
older: z.ZodBoolean;
|
|
3418
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3419
|
+
at: z.ZodNumber;
|
|
3420
|
+
queued: z.ZodBoolean;
|
|
3421
|
+
turnId: z.ZodString;
|
|
3422
|
+
}, z.core.$strip>>>;
|
|
3423
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
3424
|
+
authorChatId: z.ZodString;
|
|
3425
|
+
access: z.ZodUnknown;
|
|
3426
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3427
|
+
revision: z.ZodString;
|
|
3428
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3429
|
+
state: z.ZodEnum<{
|
|
3430
|
+
failed: "failed";
|
|
3431
|
+
fresh: "fresh";
|
|
3432
|
+
refused: "refused";
|
|
3433
|
+
}>;
|
|
3434
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3435
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
3436
|
+
readAt: z.ZodNumber;
|
|
3437
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3438
|
+
}, z.core.$strip>>;
|
|
3439
|
+
fallback: z.ZodString;
|
|
3440
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3441
|
+
state: z.ZodEnum<{
|
|
3442
|
+
chip: "chip";
|
|
3443
|
+
plain: "plain";
|
|
3444
|
+
}>;
|
|
3445
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3446
|
+
type: z.ZodLiteral<"File">;
|
|
3447
|
+
path: z.ZodString;
|
|
3448
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3449
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3450
|
+
type: z.ZodLiteral<"Diff">;
|
|
3451
|
+
path: z.ZodString;
|
|
3452
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3453
|
+
type: z.ZodLiteral<"Commit">;
|
|
3454
|
+
sha: z.ZodString;
|
|
3455
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3456
|
+
type: z.ZodLiteral<"Node">;
|
|
3457
|
+
id: z.ZodString;
|
|
3458
|
+
}, z.core.$strict>], "type">>;
|
|
3459
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3460
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
3461
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3462
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
3463
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
3464
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
3465
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3466
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3467
|
+
}, z.core.$strip>>>;
|
|
3468
|
+
}, z.core.$strip>>;
|
|
3469
|
+
}, z.core.$strip>>;
|
|
3470
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2653
3471
|
text: z.ZodString;
|
|
2654
3472
|
streaming: z.ZodBoolean;
|
|
2655
3473
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2922,12 +3740,87 @@ export declare const ChatSubagentResultSchema: z.ZodObject<{
|
|
|
2922
3740
|
mime: z.ZodString;
|
|
2923
3741
|
size: z.ZodNumber;
|
|
2924
3742
|
path: z.ZodString;
|
|
3743
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3744
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2925
3745
|
}, z.core.$strip>>>;
|
|
3746
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
3747
|
+
itemId: z.ZodString;
|
|
3748
|
+
blockId: z.ZodString;
|
|
3749
|
+
revision: z.ZodString;
|
|
3750
|
+
choiceId: z.ZodString;
|
|
3751
|
+
label: z.ZodString;
|
|
3752
|
+
sourceAt: z.ZodNumber;
|
|
3753
|
+
older: z.ZodBoolean;
|
|
3754
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3755
|
+
at: z.ZodNumber;
|
|
3756
|
+
}, z.core.$strip>>;
|
|
2926
3757
|
}, z.core.$strip>, z.ZodObject<{
|
|
2927
3758
|
id: z.ZodString;
|
|
2928
3759
|
createdAt: z.ZodNumber;
|
|
2929
3760
|
turnId: z.ZodNullable<z.ZodString>;
|
|
2930
3761
|
kind: z.ZodLiteral<"assistant">;
|
|
3762
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
3763
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3764
|
+
itemId: z.ZodString;
|
|
3765
|
+
blockId: z.ZodString;
|
|
3766
|
+
revision: z.ZodString;
|
|
3767
|
+
choiceId: z.ZodString;
|
|
3768
|
+
label: z.ZodString;
|
|
3769
|
+
sourceAt: z.ZodNumber;
|
|
3770
|
+
older: z.ZodBoolean;
|
|
3771
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3772
|
+
at: z.ZodNumber;
|
|
3773
|
+
queued: z.ZodBoolean;
|
|
3774
|
+
turnId: z.ZodString;
|
|
3775
|
+
}, z.core.$strip>>>;
|
|
3776
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
3777
|
+
authorChatId: z.ZodString;
|
|
3778
|
+
access: z.ZodUnknown;
|
|
3779
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3780
|
+
revision: z.ZodString;
|
|
3781
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3782
|
+
state: z.ZodEnum<{
|
|
3783
|
+
failed: "failed";
|
|
3784
|
+
fresh: "fresh";
|
|
3785
|
+
refused: "refused";
|
|
3786
|
+
}>;
|
|
3787
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
3788
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
3789
|
+
readAt: z.ZodNumber;
|
|
3790
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3791
|
+
}, z.core.$strip>>;
|
|
3792
|
+
fallback: z.ZodString;
|
|
3793
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3794
|
+
state: z.ZodEnum<{
|
|
3795
|
+
chip: "chip";
|
|
3796
|
+
plain: "plain";
|
|
3797
|
+
}>;
|
|
3798
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3799
|
+
type: z.ZodLiteral<"File">;
|
|
3800
|
+
path: z.ZodString;
|
|
3801
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3802
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3803
|
+
type: z.ZodLiteral<"Diff">;
|
|
3804
|
+
path: z.ZodString;
|
|
3805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3806
|
+
type: z.ZodLiteral<"Commit">;
|
|
3807
|
+
sha: z.ZodString;
|
|
3808
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3809
|
+
type: z.ZodLiteral<"Node">;
|
|
3810
|
+
id: z.ZodString;
|
|
3811
|
+
}, z.core.$strict>], "type">>;
|
|
3812
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3813
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
3814
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3815
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
3816
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
3817
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
3818
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3819
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3820
|
+
}, z.core.$strip>>>;
|
|
3821
|
+
}, z.core.$strip>>;
|
|
3822
|
+
}, z.core.$strip>>;
|
|
3823
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
2931
3824
|
text: z.ZodString;
|
|
2932
3825
|
streaming: z.ZodBoolean;
|
|
2933
3826
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3155,6 +4048,53 @@ export declare const ChatSubagentResultSchema: z.ZodObject<{
|
|
|
3155
4048
|
start: z.ZodOptional<z.ZodNumber>;
|
|
3156
4049
|
cursor: z.ZodNullable<z.ZodString>;
|
|
3157
4050
|
}, z.core.$strip>;
|
|
4051
|
+
pending: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4052
|
+
id: z.ZodString;
|
|
4053
|
+
createdAt: z.ZodNumber;
|
|
4054
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4055
|
+
kind: z.ZodLiteral<"approval">;
|
|
4056
|
+
requestId: z.ZodString;
|
|
4057
|
+
toolUseId: z.ZodNullable<z.ZodString>;
|
|
4058
|
+
toolName: z.ZodString;
|
|
4059
|
+
input: z.ZodUnknown;
|
|
4060
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4061
|
+
canAllowAlways: z.ZodBoolean;
|
|
4062
|
+
allowAlways: z.ZodOptional<z.ZodObject<{
|
|
4063
|
+
label: z.ZodString;
|
|
4064
|
+
description: z.ZodString;
|
|
4065
|
+
}, z.core.$strip>>;
|
|
4066
|
+
decision: z.ZodEnum<{
|
|
4067
|
+
allow: "allow";
|
|
4068
|
+
"allow-always": "allow-always";
|
|
4069
|
+
cancelled: "cancelled";
|
|
4070
|
+
deny: "deny";
|
|
4071
|
+
pending: "pending";
|
|
4072
|
+
}>;
|
|
4073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4074
|
+
id: z.ZodString;
|
|
4075
|
+
createdAt: z.ZodNumber;
|
|
4076
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4077
|
+
kind: z.ZodLiteral<"question">;
|
|
4078
|
+
requestId: z.ZodString;
|
|
4079
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
4080
|
+
id: z.ZodString;
|
|
4081
|
+
header: z.ZodString;
|
|
4082
|
+
question: z.ZodString;
|
|
4083
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
4084
|
+
label: z.ZodString;
|
|
4085
|
+
description: z.ZodString;
|
|
4086
|
+
}, z.core.$strip>>;
|
|
4087
|
+
multiSelect: z.ZodBoolean;
|
|
4088
|
+
}, z.core.$strip>>;
|
|
4089
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
4090
|
+
answers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4091
|
+
state: z.ZodEnum<{
|
|
4092
|
+
answered: "answered";
|
|
4093
|
+
cancelled: "cancelled";
|
|
4094
|
+
dismissed: "dismissed";
|
|
4095
|
+
pending: "pending";
|
|
4096
|
+
}>;
|
|
4097
|
+
}, z.core.$strip>]>>>;
|
|
3158
4098
|
source: z.ZodEnum<{
|
|
3159
4099
|
"claude-transcript": "claude-transcript";
|
|
3160
4100
|
"codex-thread": "codex-thread";
|
|
@@ -3229,8 +4169,21 @@ export declare const ChatStatusEventSchema: z.ZodObject<{
|
|
|
3229
4169
|
mime: z.ZodString;
|
|
3230
4170
|
size: z.ZodNumber;
|
|
3231
4171
|
path: z.ZodString;
|
|
4172
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4173
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3232
4174
|
}, z.core.$strip>>>;
|
|
3233
4175
|
createdAt: z.ZodNumber;
|
|
4176
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4177
|
+
itemId: z.ZodString;
|
|
4178
|
+
blockId: z.ZodString;
|
|
4179
|
+
revision: z.ZodString;
|
|
4180
|
+
choiceId: z.ZodString;
|
|
4181
|
+
label: z.ZodString;
|
|
4182
|
+
sourceAt: z.ZodNumber;
|
|
4183
|
+
older: z.ZodBoolean;
|
|
4184
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4185
|
+
at: z.ZodNumber;
|
|
4186
|
+
}, z.core.$strip>>;
|
|
3234
4187
|
}, z.core.$strip>>>;
|
|
3235
4188
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
3236
4189
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3465,8 +4418,21 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
3465
4418
|
mime: z.ZodString;
|
|
3466
4419
|
size: z.ZodNumber;
|
|
3467
4420
|
path: z.ZodString;
|
|
4421
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4422
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3468
4423
|
}, z.core.$strip>>>;
|
|
3469
4424
|
createdAt: z.ZodNumber;
|
|
4425
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4426
|
+
itemId: z.ZodString;
|
|
4427
|
+
blockId: z.ZodString;
|
|
4428
|
+
revision: z.ZodString;
|
|
4429
|
+
choiceId: z.ZodString;
|
|
4430
|
+
label: z.ZodString;
|
|
4431
|
+
sourceAt: z.ZodNumber;
|
|
4432
|
+
older: z.ZodBoolean;
|
|
4433
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4434
|
+
at: z.ZodNumber;
|
|
4435
|
+
}, z.core.$strip>>;
|
|
3470
4436
|
}, z.core.$strip>>>;
|
|
3471
4437
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
3472
4438
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3562,12 +4528,87 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
3562
4528
|
mime: z.ZodString;
|
|
3563
4529
|
size: z.ZodNumber;
|
|
3564
4530
|
path: z.ZodString;
|
|
4531
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4532
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3565
4533
|
}, z.core.$strip>>>;
|
|
4534
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4535
|
+
itemId: z.ZodString;
|
|
4536
|
+
blockId: z.ZodString;
|
|
4537
|
+
revision: z.ZodString;
|
|
4538
|
+
choiceId: z.ZodString;
|
|
4539
|
+
label: z.ZodString;
|
|
4540
|
+
sourceAt: z.ZodNumber;
|
|
4541
|
+
older: z.ZodBoolean;
|
|
4542
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4543
|
+
at: z.ZodNumber;
|
|
4544
|
+
}, z.core.$strip>>;
|
|
3566
4545
|
}, z.core.$strip>, z.ZodObject<{
|
|
3567
4546
|
id: z.ZodString;
|
|
3568
4547
|
createdAt: z.ZodNumber;
|
|
3569
4548
|
turnId: z.ZodNullable<z.ZodString>;
|
|
3570
4549
|
kind: z.ZodLiteral<"assistant">;
|
|
4550
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
4551
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4552
|
+
itemId: z.ZodString;
|
|
4553
|
+
blockId: z.ZodString;
|
|
4554
|
+
revision: z.ZodString;
|
|
4555
|
+
choiceId: z.ZodString;
|
|
4556
|
+
label: z.ZodString;
|
|
4557
|
+
sourceAt: z.ZodNumber;
|
|
4558
|
+
older: z.ZodBoolean;
|
|
4559
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4560
|
+
at: z.ZodNumber;
|
|
4561
|
+
queued: z.ZodBoolean;
|
|
4562
|
+
turnId: z.ZodString;
|
|
4563
|
+
}, z.core.$strip>>>;
|
|
4564
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
4565
|
+
authorChatId: z.ZodString;
|
|
4566
|
+
access: z.ZodUnknown;
|
|
4567
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4568
|
+
revision: z.ZodString;
|
|
4569
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4570
|
+
state: z.ZodEnum<{
|
|
4571
|
+
failed: "failed";
|
|
4572
|
+
fresh: "fresh";
|
|
4573
|
+
refused: "refused";
|
|
4574
|
+
}>;
|
|
4575
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4576
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
4577
|
+
readAt: z.ZodNumber;
|
|
4578
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4579
|
+
}, z.core.$strip>>;
|
|
4580
|
+
fallback: z.ZodString;
|
|
4581
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4582
|
+
state: z.ZodEnum<{
|
|
4583
|
+
chip: "chip";
|
|
4584
|
+
plain: "plain";
|
|
4585
|
+
}>;
|
|
4586
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4587
|
+
type: z.ZodLiteral<"File">;
|
|
4588
|
+
path: z.ZodString;
|
|
4589
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
4590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4591
|
+
type: z.ZodLiteral<"Diff">;
|
|
4592
|
+
path: z.ZodString;
|
|
4593
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4594
|
+
type: z.ZodLiteral<"Commit">;
|
|
4595
|
+
sha: z.ZodString;
|
|
4596
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4597
|
+
type: z.ZodLiteral<"Node">;
|
|
4598
|
+
id: z.ZodString;
|
|
4599
|
+
}, z.core.$strict>], "type">>;
|
|
4600
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4601
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
4602
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4603
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
4604
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
4605
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
4606
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4607
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4608
|
+
}, z.core.$strip>>>;
|
|
4609
|
+
}, z.core.$strip>>;
|
|
4610
|
+
}, z.core.$strip>>;
|
|
4611
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
3571
4612
|
text: z.ZodString;
|
|
3572
4613
|
streaming: z.ZodBoolean;
|
|
3573
4614
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3810,12 +4851,87 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
3810
4851
|
mime: z.ZodString;
|
|
3811
4852
|
size: z.ZodNumber;
|
|
3812
4853
|
path: z.ZodString;
|
|
4854
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4855
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3813
4856
|
}, z.core.$strip>>>;
|
|
4857
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
4858
|
+
itemId: z.ZodString;
|
|
4859
|
+
blockId: z.ZodString;
|
|
4860
|
+
revision: z.ZodString;
|
|
4861
|
+
choiceId: z.ZodString;
|
|
4862
|
+
label: z.ZodString;
|
|
4863
|
+
sourceAt: z.ZodNumber;
|
|
4864
|
+
older: z.ZodBoolean;
|
|
4865
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4866
|
+
at: z.ZodNumber;
|
|
4867
|
+
}, z.core.$strip>>;
|
|
3814
4868
|
}, z.core.$strip>, z.ZodObject<{
|
|
3815
4869
|
id: z.ZodString;
|
|
3816
4870
|
createdAt: z.ZodNumber;
|
|
3817
4871
|
turnId: z.ZodNullable<z.ZodString>;
|
|
3818
4872
|
kind: z.ZodLiteral<"assistant">;
|
|
4873
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
4874
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4875
|
+
itemId: z.ZodString;
|
|
4876
|
+
blockId: z.ZodString;
|
|
4877
|
+
revision: z.ZodString;
|
|
4878
|
+
choiceId: z.ZodString;
|
|
4879
|
+
label: z.ZodString;
|
|
4880
|
+
sourceAt: z.ZodNumber;
|
|
4881
|
+
older: z.ZodBoolean;
|
|
4882
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4883
|
+
at: z.ZodNumber;
|
|
4884
|
+
queued: z.ZodBoolean;
|
|
4885
|
+
turnId: z.ZodString;
|
|
4886
|
+
}, z.core.$strip>>>;
|
|
4887
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
4888
|
+
authorChatId: z.ZodString;
|
|
4889
|
+
access: z.ZodUnknown;
|
|
4890
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4891
|
+
revision: z.ZodString;
|
|
4892
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4893
|
+
state: z.ZodEnum<{
|
|
4894
|
+
failed: "failed";
|
|
4895
|
+
fresh: "fresh";
|
|
4896
|
+
refused: "refused";
|
|
4897
|
+
}>;
|
|
4898
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
4899
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
4900
|
+
readAt: z.ZodNumber;
|
|
4901
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4902
|
+
}, z.core.$strip>>;
|
|
4903
|
+
fallback: z.ZodString;
|
|
4904
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4905
|
+
state: z.ZodEnum<{
|
|
4906
|
+
chip: "chip";
|
|
4907
|
+
plain: "plain";
|
|
4908
|
+
}>;
|
|
4909
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4910
|
+
type: z.ZodLiteral<"File">;
|
|
4911
|
+
path: z.ZodString;
|
|
4912
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
4913
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4914
|
+
type: z.ZodLiteral<"Diff">;
|
|
4915
|
+
path: z.ZodString;
|
|
4916
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4917
|
+
type: z.ZodLiteral<"Commit">;
|
|
4918
|
+
sha: z.ZodString;
|
|
4919
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4920
|
+
type: z.ZodLiteral<"Node">;
|
|
4921
|
+
id: z.ZodString;
|
|
4922
|
+
}, z.core.$strict>], "type">>;
|
|
4923
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4924
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
4925
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4926
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
4927
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
4928
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
4929
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4930
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4931
|
+
}, z.core.$strip>>>;
|
|
4932
|
+
}, z.core.$strip>>;
|
|
4933
|
+
}, z.core.$strip>>;
|
|
4934
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
3819
4935
|
text: z.ZodString;
|
|
3820
4936
|
streaming: z.ZodBoolean;
|
|
3821
4937
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4057,12 +5173,87 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4057
5173
|
mime: z.ZodString;
|
|
4058
5174
|
size: z.ZodNumber;
|
|
4059
5175
|
path: z.ZodString;
|
|
5176
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5177
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4060
5178
|
}, z.core.$strip>>>;
|
|
5179
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5180
|
+
itemId: z.ZodString;
|
|
5181
|
+
blockId: z.ZodString;
|
|
5182
|
+
revision: z.ZodString;
|
|
5183
|
+
choiceId: z.ZodString;
|
|
5184
|
+
label: z.ZodString;
|
|
5185
|
+
sourceAt: z.ZodNumber;
|
|
5186
|
+
older: z.ZodBoolean;
|
|
5187
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5188
|
+
at: z.ZodNumber;
|
|
5189
|
+
}, z.core.$strip>>;
|
|
4061
5190
|
}, z.core.$strip>, z.ZodObject<{
|
|
4062
5191
|
id: z.ZodString;
|
|
4063
5192
|
createdAt: z.ZodNumber;
|
|
4064
5193
|
turnId: z.ZodNullable<z.ZodString>;
|
|
4065
5194
|
kind: z.ZodLiteral<"assistant">;
|
|
5195
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
5196
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5197
|
+
itemId: z.ZodString;
|
|
5198
|
+
blockId: z.ZodString;
|
|
5199
|
+
revision: z.ZodString;
|
|
5200
|
+
choiceId: z.ZodString;
|
|
5201
|
+
label: z.ZodString;
|
|
5202
|
+
sourceAt: z.ZodNumber;
|
|
5203
|
+
older: z.ZodBoolean;
|
|
5204
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5205
|
+
at: z.ZodNumber;
|
|
5206
|
+
queued: z.ZodBoolean;
|
|
5207
|
+
turnId: z.ZodString;
|
|
5208
|
+
}, z.core.$strip>>>;
|
|
5209
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
5210
|
+
authorChatId: z.ZodString;
|
|
5211
|
+
access: z.ZodUnknown;
|
|
5212
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5213
|
+
revision: z.ZodString;
|
|
5214
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5215
|
+
state: z.ZodEnum<{
|
|
5216
|
+
failed: "failed";
|
|
5217
|
+
fresh: "fresh";
|
|
5218
|
+
refused: "refused";
|
|
5219
|
+
}>;
|
|
5220
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5221
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
5222
|
+
readAt: z.ZodNumber;
|
|
5223
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5224
|
+
}, z.core.$strip>>;
|
|
5225
|
+
fallback: z.ZodString;
|
|
5226
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5227
|
+
state: z.ZodEnum<{
|
|
5228
|
+
chip: "chip";
|
|
5229
|
+
plain: "plain";
|
|
5230
|
+
}>;
|
|
5231
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5232
|
+
type: z.ZodLiteral<"File">;
|
|
5233
|
+
path: z.ZodString;
|
|
5234
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
5235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5236
|
+
type: z.ZodLiteral<"Diff">;
|
|
5237
|
+
path: z.ZodString;
|
|
5238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5239
|
+
type: z.ZodLiteral<"Commit">;
|
|
5240
|
+
sha: z.ZodString;
|
|
5241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5242
|
+
type: z.ZodLiteral<"Node">;
|
|
5243
|
+
id: z.ZodString;
|
|
5244
|
+
}, z.core.$strict>], "type">>;
|
|
5245
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5246
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
5247
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5248
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
5249
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
5250
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
5251
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5252
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5253
|
+
}, z.core.$strip>>>;
|
|
5254
|
+
}, z.core.$strip>>;
|
|
5255
|
+
}, z.core.$strip>>;
|
|
5256
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
4066
5257
|
text: z.ZodString;
|
|
4067
5258
|
streaming: z.ZodBoolean;
|
|
4068
5259
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4291,6 +5482,55 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4291
5482
|
type: z.ZodLiteral<"delta">;
|
|
4292
5483
|
itemId: z.ZodString;
|
|
4293
5484
|
text: z.ZodString;
|
|
5485
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
5486
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
5487
|
+
authorChatId: z.ZodString;
|
|
5488
|
+
access: z.ZodUnknown;
|
|
5489
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5490
|
+
revision: z.ZodString;
|
|
5491
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5492
|
+
state: z.ZodEnum<{
|
|
5493
|
+
failed: "failed";
|
|
5494
|
+
fresh: "fresh";
|
|
5495
|
+
refused: "refused";
|
|
5496
|
+
}>;
|
|
5497
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5498
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
5499
|
+
readAt: z.ZodNumber;
|
|
5500
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5501
|
+
}, z.core.$strip>>;
|
|
5502
|
+
fallback: z.ZodString;
|
|
5503
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5504
|
+
state: z.ZodEnum<{
|
|
5505
|
+
chip: "chip";
|
|
5506
|
+
plain: "plain";
|
|
5507
|
+
}>;
|
|
5508
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5509
|
+
type: z.ZodLiteral<"File">;
|
|
5510
|
+
path: z.ZodString;
|
|
5511
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
5512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5513
|
+
type: z.ZodLiteral<"Diff">;
|
|
5514
|
+
path: z.ZodString;
|
|
5515
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5516
|
+
type: z.ZodLiteral<"Commit">;
|
|
5517
|
+
sha: z.ZodString;
|
|
5518
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5519
|
+
type: z.ZodLiteral<"Node">;
|
|
5520
|
+
id: z.ZodString;
|
|
5521
|
+
}, z.core.$strict>], "type">>;
|
|
5522
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5523
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
5524
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5525
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
5526
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
5527
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
5528
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5529
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5530
|
+
}, z.core.$strip>>>;
|
|
5531
|
+
}, z.core.$strip>>;
|
|
5532
|
+
}, z.core.$strip>>;
|
|
5533
|
+
textLength: z.ZodOptional<z.ZodNumber>;
|
|
4294
5534
|
}, z.core.$strip>, z.ZodObject<{
|
|
4295
5535
|
type: z.ZodLiteral<"info">;
|
|
4296
5536
|
info: z.ZodObject<{
|
|
@@ -4347,8 +5587,21 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4347
5587
|
mime: z.ZodString;
|
|
4348
5588
|
size: z.ZodNumber;
|
|
4349
5589
|
path: z.ZodString;
|
|
5590
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5591
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4350
5592
|
}, z.core.$strip>>>;
|
|
4351
5593
|
createdAt: z.ZodNumber;
|
|
5594
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5595
|
+
itemId: z.ZodString;
|
|
5596
|
+
blockId: z.ZodString;
|
|
5597
|
+
revision: z.ZodString;
|
|
5598
|
+
choiceId: z.ZodString;
|
|
5599
|
+
label: z.ZodString;
|
|
5600
|
+
sourceAt: z.ZodNumber;
|
|
5601
|
+
older: z.ZodBoolean;
|
|
5602
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5603
|
+
at: z.ZodNumber;
|
|
5604
|
+
}, z.core.$strip>>;
|
|
4352
5605
|
}, z.core.$strip>>>;
|
|
4353
5606
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
4354
5607
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4485,8 +5738,21 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4485
5738
|
mime: z.ZodString;
|
|
4486
5739
|
size: z.ZodNumber;
|
|
4487
5740
|
path: z.ZodString;
|
|
5741
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5742
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4488
5743
|
}, z.core.$strip>>>;
|
|
4489
5744
|
createdAt: z.ZodNumber;
|
|
5745
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5746
|
+
itemId: z.ZodString;
|
|
5747
|
+
blockId: z.ZodString;
|
|
5748
|
+
revision: z.ZodString;
|
|
5749
|
+
choiceId: z.ZodString;
|
|
5750
|
+
label: z.ZodString;
|
|
5751
|
+
sourceAt: z.ZodNumber;
|
|
5752
|
+
older: z.ZodBoolean;
|
|
5753
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5754
|
+
at: z.ZodNumber;
|
|
5755
|
+
}, z.core.$strip>>;
|
|
4490
5756
|
}, z.core.$strip>>>;
|
|
4491
5757
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
4492
5758
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4582,12 +5848,87 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
4582
5848
|
mime: z.ZodString;
|
|
4583
5849
|
size: z.ZodNumber;
|
|
4584
5850
|
path: z.ZodString;
|
|
5851
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5852
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4585
5853
|
}, z.core.$strip>>>;
|
|
5854
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
5855
|
+
itemId: z.ZodString;
|
|
5856
|
+
blockId: z.ZodString;
|
|
5857
|
+
revision: z.ZodString;
|
|
5858
|
+
choiceId: z.ZodString;
|
|
5859
|
+
label: z.ZodString;
|
|
5860
|
+
sourceAt: z.ZodNumber;
|
|
5861
|
+
older: z.ZodBoolean;
|
|
5862
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5863
|
+
at: z.ZodNumber;
|
|
5864
|
+
}, z.core.$strip>>;
|
|
4586
5865
|
}, z.core.$strip>, z.ZodObject<{
|
|
4587
5866
|
id: z.ZodString;
|
|
4588
5867
|
createdAt: z.ZodNumber;
|
|
4589
5868
|
turnId: z.ZodNullable<z.ZodString>;
|
|
4590
5869
|
kind: z.ZodLiteral<"assistant">;
|
|
5870
|
+
ui: z.ZodOptional<z.ZodArray<z.ZodType<import("@adecore/intelligent-ui/compiler").UiBlock, unknown, z.core.$ZodTypeInternals<import("@adecore/intelligent-ui/compiler").UiBlock, unknown>>>>;
|
|
5871
|
+
uiAnswers: z.ZodOptional<z.ZodRecord<z.ZodString, 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
|
+
queued: z.ZodBoolean;
|
|
5882
|
+
turnId: z.ZodString;
|
|
5883
|
+
}, z.core.$strip>>>;
|
|
5884
|
+
uiQueries: z.ZodOptional<z.ZodObject<{
|
|
5885
|
+
authorChatId: z.ZodString;
|
|
5886
|
+
access: z.ZodUnknown;
|
|
5887
|
+
blocks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5888
|
+
revision: z.ZodString;
|
|
5889
|
+
readings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5890
|
+
state: z.ZodEnum<{
|
|
5891
|
+
failed: "failed";
|
|
5892
|
+
fresh: "fresh";
|
|
5893
|
+
refused: "refused";
|
|
5894
|
+
}>;
|
|
5895
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5896
|
+
readId: z.ZodOptional<z.ZodString>;
|
|
5897
|
+
readAt: z.ZodNumber;
|
|
5898
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5899
|
+
}, z.core.$strip>>;
|
|
5900
|
+
fallback: z.ZodString;
|
|
5901
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5902
|
+
state: z.ZodEnum<{
|
|
5903
|
+
chip: "chip";
|
|
5904
|
+
plain: "plain";
|
|
5905
|
+
}>;
|
|
5906
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5907
|
+
type: z.ZodLiteral<"File">;
|
|
5908
|
+
path: z.ZodString;
|
|
5909
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
5910
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5911
|
+
type: z.ZodLiteral<"Diff">;
|
|
5912
|
+
path: z.ZodString;
|
|
5913
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5914
|
+
type: z.ZodLiteral<"Commit">;
|
|
5915
|
+
sha: z.ZodString;
|
|
5916
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5917
|
+
type: z.ZodLiteral<"Node">;
|
|
5918
|
+
id: z.ZodString;
|
|
5919
|
+
}, z.core.$strict>], "type">>;
|
|
5920
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5921
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
5922
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5923
|
+
staged: z.ZodOptional<z.ZodBoolean>;
|
|
5924
|
+
conflicted: z.ZodOptional<z.ZodBoolean>;
|
|
5925
|
+
relativePath: z.ZodOptional<z.ZodString>;
|
|
5926
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5927
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5928
|
+
}, z.core.$strip>>>;
|
|
5929
|
+
}, z.core.$strip>>;
|
|
5930
|
+
}, z.core.$strip>>;
|
|
5931
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
4591
5932
|
text: z.ZodString;
|
|
4592
5933
|
streaming: z.ZodBoolean;
|
|
4593
5934
|
parentToolUseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4860,6 +6201,35 @@ export declare const ChatSendResultSchema: z.ZodObject<{
|
|
|
4860
6201
|
turnId: z.ZodOptional<z.ZodString>;
|
|
4861
6202
|
}, z.core.$strip>;
|
|
4862
6203
|
export type ChatSendResult = z.infer<typeof ChatSendResultSchema>;
|
|
6204
|
+
export declare const ChatUiChoicePayloadSchema: z.ZodObject<{
|
|
6205
|
+
chatId: z.ZodString;
|
|
6206
|
+
itemId: z.ZodString;
|
|
6207
|
+
blockId: z.ZodString;
|
|
6208
|
+
revision: z.ZodString;
|
|
6209
|
+
choiceId: z.ZodString;
|
|
6210
|
+
reads: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6211
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6212
|
+
}, z.core.$strip>;
|
|
6213
|
+
export type ChatUiChoicePayload = z.infer<typeof ChatUiChoicePayloadSchema>;
|
|
6214
|
+
export declare const ChatUiQueryPayloadSchema: z.ZodObject<{
|
|
6215
|
+
chatId: z.ZodString;
|
|
6216
|
+
itemId: z.ZodString;
|
|
6217
|
+
blockId: z.ZodString;
|
|
6218
|
+
revision: z.ZodString;
|
|
6219
|
+
query: z.ZodString;
|
|
6220
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6221
|
+
}, z.core.$strip>;
|
|
6222
|
+
export type ChatUiQueryPayload = z.infer<typeof ChatUiQueryPayloadSchema>;
|
|
6223
|
+
export declare const ChatUiLinkPayloadSchema: z.ZodObject<{
|
|
6224
|
+
chatId: z.ZodString;
|
|
6225
|
+
itemId: z.ZodString;
|
|
6226
|
+
blockId: z.ZodString;
|
|
6227
|
+
revision: z.ZodString;
|
|
6228
|
+
reads: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6229
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6230
|
+
nodeId: z.ZodString;
|
|
6231
|
+
}, z.core.$strip>;
|
|
6232
|
+
export type ChatUiLinkPayload = z.infer<typeof ChatUiLinkPayloadSchema>;
|
|
4863
6233
|
export declare const ChatQueuePayloadSchema: z.ZodObject<{
|
|
4864
6234
|
chatId: z.ZodString;
|
|
4865
6235
|
messageId: z.ZodString;
|
|
@@ -4879,8 +6249,21 @@ export declare const ChatUnqueueResultSchema: z.ZodObject<{
|
|
|
4879
6249
|
mime: z.ZodString;
|
|
4880
6250
|
size: z.ZodNumber;
|
|
4881
6251
|
path: z.ZodString;
|
|
6252
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6253
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4882
6254
|
}, z.core.$strip>>>;
|
|
4883
6255
|
createdAt: z.ZodNumber;
|
|
6256
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6257
|
+
itemId: z.ZodString;
|
|
6258
|
+
blockId: z.ZodString;
|
|
6259
|
+
revision: z.ZodString;
|
|
6260
|
+
choiceId: z.ZodString;
|
|
6261
|
+
label: z.ZodString;
|
|
6262
|
+
sourceAt: z.ZodNumber;
|
|
6263
|
+
older: z.ZodBoolean;
|
|
6264
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6265
|
+
at: z.ZodNumber;
|
|
6266
|
+
}, z.core.$strip>>;
|
|
4884
6267
|
}, z.core.$strip>>;
|
|
4885
6268
|
}, z.core.$strip>;
|
|
4886
6269
|
export type ChatUnqueueResult = z.infer<typeof ChatUnqueueResultSchema>;
|
|
@@ -5012,8 +6395,21 @@ export declare const ChatForkResultSchema: z.ZodObject<{
|
|
|
5012
6395
|
mime: z.ZodString;
|
|
5013
6396
|
size: z.ZodNumber;
|
|
5014
6397
|
path: z.ZodString;
|
|
6398
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6399
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5015
6400
|
}, z.core.$strip>>>;
|
|
5016
6401
|
createdAt: z.ZodNumber;
|
|
6402
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6403
|
+
itemId: z.ZodString;
|
|
6404
|
+
blockId: z.ZodString;
|
|
6405
|
+
revision: z.ZodString;
|
|
6406
|
+
choiceId: z.ZodString;
|
|
6407
|
+
label: z.ZodString;
|
|
6408
|
+
sourceAt: z.ZodNumber;
|
|
6409
|
+
older: z.ZodBoolean;
|
|
6410
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6411
|
+
at: z.ZodNumber;
|
|
6412
|
+
}, z.core.$strip>>;
|
|
5017
6413
|
}, z.core.$strip>>>;
|
|
5018
6414
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
5019
6415
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5181,8 +6577,21 @@ export declare const ChatContinueOnResultSchema: z.ZodObject<{
|
|
|
5181
6577
|
mime: z.ZodString;
|
|
5182
6578
|
size: z.ZodNumber;
|
|
5183
6579
|
path: z.ZodString;
|
|
6580
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6581
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5184
6582
|
}, z.core.$strip>>>;
|
|
5185
6583
|
createdAt: z.ZodNumber;
|
|
6584
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6585
|
+
itemId: z.ZodString;
|
|
6586
|
+
blockId: z.ZodString;
|
|
6587
|
+
revision: z.ZodString;
|
|
6588
|
+
choiceId: z.ZodString;
|
|
6589
|
+
label: z.ZodString;
|
|
6590
|
+
sourceAt: z.ZodNumber;
|
|
6591
|
+
older: z.ZodBoolean;
|
|
6592
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6593
|
+
at: z.ZodNumber;
|
|
6594
|
+
}, z.core.$strip>>;
|
|
5186
6595
|
}, z.core.$strip>>>;
|
|
5187
6596
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
5188
6597
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5364,8 +6773,21 @@ export declare const ChatListResultSchema: z.ZodObject<{
|
|
|
5364
6773
|
mime: z.ZodString;
|
|
5365
6774
|
size: z.ZodNumber;
|
|
5366
6775
|
path: z.ZodString;
|
|
6776
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6777
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5367
6778
|
}, z.core.$strip>>>;
|
|
5368
6779
|
createdAt: z.ZodNumber;
|
|
6780
|
+
uiChoice: z.ZodOptional<z.ZodObject<{
|
|
6781
|
+
itemId: z.ZodString;
|
|
6782
|
+
blockId: z.ZodString;
|
|
6783
|
+
revision: z.ZodString;
|
|
6784
|
+
choiceId: z.ZodString;
|
|
6785
|
+
label: z.ZodString;
|
|
6786
|
+
sourceAt: z.ZodNumber;
|
|
6787
|
+
older: z.ZodBoolean;
|
|
6788
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6789
|
+
at: z.ZodNumber;
|
|
6790
|
+
}, z.core.$strip>>;
|
|
5369
6791
|
}, z.core.$strip>>>;
|
|
5370
6792
|
queuePaused: z.ZodOptional<z.ZodBoolean>;
|
|
5371
6793
|
background: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5448,3 +6870,18 @@ export declare const ChatListResultSchema: z.ZodObject<{
|
|
|
5448
6870
|
}, z.core.$strip>>;
|
|
5449
6871
|
}, z.core.$strip>;
|
|
5450
6872
|
export type ChatListResult = z.infer<typeof ChatListResultSchema>;
|
|
6873
|
+
export declare const GeneratedImageInputSchema: z.ZodObject<{
|
|
6874
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
6875
|
+
id: z.ZodString;
|
|
6876
|
+
name: z.ZodString;
|
|
6877
|
+
mime: z.ZodString;
|
|
6878
|
+
size: z.ZodNumber;
|
|
6879
|
+
path: z.ZodString;
|
|
6880
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
6881
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
6882
|
+
}, z.core.$strip>>;
|
|
6883
|
+
revisedPrompt: z.ZodOptional<z.ZodString>;
|
|
6884
|
+
transparentBackground: z.ZodOptional<z.ZodBoolean>;
|
|
6885
|
+
}, z.core.$strip>;
|
|
6886
|
+
export type GeneratedImageInput = z.infer<typeof GeneratedImageInputSchema>;
|
|
6887
|
+
export declare function generatedImageAttachment(item: ChatItem): ChatAttachment | null;
|