@adecore/agent-contracts 0.54.8 → 0.54.10
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 +72 -72
- package/dist/protocol.d.ts +48 -48
- package/package.json +3 -3
package/dist/chat.d.ts
CHANGED
|
@@ -498,16 +498,16 @@ export declare const ChatUiLinkReadingSchema: z.ZodObject<{
|
|
|
498
498
|
type: z.ZodLiteral<"File">;
|
|
499
499
|
path: z.ZodString;
|
|
500
500
|
line: z.ZodOptional<z.ZodNumber>;
|
|
501
|
-
}, z.core.$
|
|
501
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
502
502
|
type: z.ZodLiteral<"Diff">;
|
|
503
503
|
path: z.ZodString;
|
|
504
|
-
}, z.core.$
|
|
504
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
505
505
|
type: z.ZodLiteral<"Commit">;
|
|
506
506
|
sha: z.ZodString;
|
|
507
|
-
}, z.core.$
|
|
507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
508
508
|
type: z.ZodLiteral<"Node">;
|
|
509
509
|
id: z.ZodString;
|
|
510
|
-
}, z.core.$
|
|
510
|
+
}, z.core.$strip>], "type">>;
|
|
511
511
|
cwd: z.ZodOptional<z.ZodString>;
|
|
512
512
|
viewId: z.ZodOptional<z.ZodString>;
|
|
513
513
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -558,16 +558,16 @@ export declare const ChatUiQueryStateSchema: z.ZodObject<{
|
|
|
558
558
|
type: z.ZodLiteral<"File">;
|
|
559
559
|
path: z.ZodString;
|
|
560
560
|
line: z.ZodOptional<z.ZodNumber>;
|
|
561
|
-
}, z.core.$
|
|
561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
562
562
|
type: z.ZodLiteral<"Diff">;
|
|
563
563
|
path: z.ZodString;
|
|
564
|
-
}, z.core.$
|
|
564
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
565
565
|
type: z.ZodLiteral<"Commit">;
|
|
566
566
|
sha: z.ZodString;
|
|
567
|
-
}, z.core.$
|
|
567
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
568
568
|
type: z.ZodLiteral<"Node">;
|
|
569
569
|
id: z.ZodString;
|
|
570
|
-
}, z.core.$
|
|
570
|
+
}, z.core.$strip>], "type">>;
|
|
571
571
|
cwd: z.ZodOptional<z.ZodString>;
|
|
572
572
|
viewId: z.ZodOptional<z.ZodString>;
|
|
573
573
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -638,16 +638,16 @@ export declare const ChatAssistantItemSchema: z.ZodObject<{
|
|
|
638
638
|
type: z.ZodLiteral<"File">;
|
|
639
639
|
path: z.ZodString;
|
|
640
640
|
line: z.ZodOptional<z.ZodNumber>;
|
|
641
|
-
}, z.core.$
|
|
641
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
642
642
|
type: z.ZodLiteral<"Diff">;
|
|
643
643
|
path: z.ZodString;
|
|
644
|
-
}, z.core.$
|
|
644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
645
645
|
type: z.ZodLiteral<"Commit">;
|
|
646
646
|
sha: z.ZodString;
|
|
647
|
-
}, z.core.$
|
|
647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
648
648
|
type: z.ZodLiteral<"Node">;
|
|
649
649
|
id: z.ZodString;
|
|
650
|
-
}, z.core.$
|
|
650
|
+
}, z.core.$strip>], "type">>;
|
|
651
651
|
cwd: z.ZodOptional<z.ZodString>;
|
|
652
652
|
viewId: z.ZodOptional<z.ZodString>;
|
|
653
653
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -1181,16 +1181,16 @@ export declare const ChatItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1181
1181
|
type: z.ZodLiteral<"File">;
|
|
1182
1182
|
path: z.ZodString;
|
|
1183
1183
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1184
|
-
}, z.core.$
|
|
1184
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1185
1185
|
type: z.ZodLiteral<"Diff">;
|
|
1186
1186
|
path: z.ZodString;
|
|
1187
|
-
}, z.core.$
|
|
1187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1188
1188
|
type: z.ZodLiteral<"Commit">;
|
|
1189
1189
|
sha: z.ZodString;
|
|
1190
|
-
}, z.core.$
|
|
1190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1191
1191
|
type: z.ZodLiteral<"Node">;
|
|
1192
1192
|
id: z.ZodString;
|
|
1193
|
-
}, z.core.$
|
|
1193
|
+
}, z.core.$strip>], "type">>;
|
|
1194
1194
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1195
1195
|
viewId: z.ZodOptional<z.ZodString>;
|
|
1196
1196
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -1566,16 +1566,16 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1566
1566
|
type: z.ZodLiteral<"File">;
|
|
1567
1567
|
path: z.ZodString;
|
|
1568
1568
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1569
|
-
}, z.core.$
|
|
1569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1570
1570
|
type: z.ZodLiteral<"Diff">;
|
|
1571
1571
|
path: z.ZodString;
|
|
1572
|
-
}, z.core.$
|
|
1572
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1573
1573
|
type: z.ZodLiteral<"Commit">;
|
|
1574
1574
|
sha: z.ZodString;
|
|
1575
|
-
}, z.core.$
|
|
1575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1576
1576
|
type: z.ZodLiteral<"Node">;
|
|
1577
1577
|
id: z.ZodString;
|
|
1578
|
-
}, z.core.$
|
|
1578
|
+
}, z.core.$strip>], "type">>;
|
|
1579
1579
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1580
1580
|
viewId: z.ZodOptional<z.ZodString>;
|
|
1581
1581
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -1886,16 +1886,16 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1886
1886
|
type: z.ZodLiteral<"File">;
|
|
1887
1887
|
path: z.ZodString;
|
|
1888
1888
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1889
|
-
}, z.core.$
|
|
1889
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1890
1890
|
type: z.ZodLiteral<"Diff">;
|
|
1891
1891
|
path: z.ZodString;
|
|
1892
|
-
}, z.core.$
|
|
1892
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1893
1893
|
type: z.ZodLiteral<"Commit">;
|
|
1894
1894
|
sha: z.ZodString;
|
|
1895
|
-
}, z.core.$
|
|
1895
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1896
1896
|
type: z.ZodLiteral<"Node">;
|
|
1897
1897
|
id: z.ZodString;
|
|
1898
|
-
}, z.core.$
|
|
1898
|
+
}, z.core.$strip>], "type">>;
|
|
1899
1899
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1900
1900
|
viewId: z.ZodOptional<z.ZodString>;
|
|
1901
1901
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2333,16 +2333,16 @@ export declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2333
2333
|
type: z.ZodLiteral<"File">;
|
|
2334
2334
|
path: z.ZodString;
|
|
2335
2335
|
line: z.ZodOptional<z.ZodNumber>;
|
|
2336
|
-
}, z.core.$
|
|
2336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2337
2337
|
type: z.ZodLiteral<"Diff">;
|
|
2338
2338
|
path: z.ZodString;
|
|
2339
|
-
}, z.core.$
|
|
2339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2340
2340
|
type: z.ZodLiteral<"Commit">;
|
|
2341
2341
|
sha: z.ZodString;
|
|
2342
|
-
}, z.core.$
|
|
2342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2343
2343
|
type: z.ZodLiteral<"Node">;
|
|
2344
2344
|
id: z.ZodString;
|
|
2345
|
-
}, z.core.$
|
|
2345
|
+
}, z.core.$strip>], "type">>;
|
|
2346
2346
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2347
2347
|
viewId: z.ZodOptional<z.ZodString>;
|
|
2348
2348
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2705,16 +2705,16 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
2705
2705
|
type: z.ZodLiteral<"File">;
|
|
2706
2706
|
path: z.ZodString;
|
|
2707
2707
|
line: z.ZodOptional<z.ZodNumber>;
|
|
2708
|
-
}, z.core.$
|
|
2708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2709
2709
|
type: z.ZodLiteral<"Diff">;
|
|
2710
2710
|
path: z.ZodString;
|
|
2711
|
-
}, z.core.$
|
|
2711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2712
2712
|
type: z.ZodLiteral<"Commit">;
|
|
2713
2713
|
sha: z.ZodString;
|
|
2714
|
-
}, z.core.$
|
|
2714
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2715
2715
|
type: z.ZodLiteral<"Node">;
|
|
2716
2716
|
id: z.ZodString;
|
|
2717
|
-
}, z.core.$
|
|
2717
|
+
}, z.core.$strip>], "type">>;
|
|
2718
2718
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2719
2719
|
viewId: z.ZodOptional<z.ZodString>;
|
|
2720
2720
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -3025,16 +3025,16 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3025
3025
|
type: z.ZodLiteral<"File">;
|
|
3026
3026
|
path: z.ZodString;
|
|
3027
3027
|
line: z.ZodOptional<z.ZodNumber>;
|
|
3028
|
-
}, z.core.$
|
|
3028
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3029
3029
|
type: z.ZodLiteral<"Diff">;
|
|
3030
3030
|
path: z.ZodString;
|
|
3031
|
-
}, z.core.$
|
|
3031
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3032
3032
|
type: z.ZodLiteral<"Commit">;
|
|
3033
3033
|
sha: z.ZodString;
|
|
3034
|
-
}, z.core.$
|
|
3034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3035
3035
|
type: z.ZodLiteral<"Node">;
|
|
3036
3036
|
id: z.ZodString;
|
|
3037
|
-
}, z.core.$
|
|
3037
|
+
}, z.core.$strip>], "type">>;
|
|
3038
3038
|
cwd: z.ZodOptional<z.ZodString>;
|
|
3039
3039
|
viewId: z.ZodOptional<z.ZodString>;
|
|
3040
3040
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -3472,16 +3472,16 @@ export declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3472
3472
|
type: z.ZodLiteral<"File">;
|
|
3473
3473
|
path: z.ZodString;
|
|
3474
3474
|
line: z.ZodOptional<z.ZodNumber>;
|
|
3475
|
-
}, z.core.$
|
|
3475
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3476
3476
|
type: z.ZodLiteral<"Diff">;
|
|
3477
3477
|
path: z.ZodString;
|
|
3478
|
-
}, z.core.$
|
|
3478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3479
3479
|
type: z.ZodLiteral<"Commit">;
|
|
3480
3480
|
sha: z.ZodString;
|
|
3481
|
-
}, z.core.$
|
|
3481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3482
3482
|
type: z.ZodLiteral<"Node">;
|
|
3483
3483
|
id: z.ZodString;
|
|
3484
|
-
}, z.core.$
|
|
3484
|
+
}, z.core.$strip>], "type">>;
|
|
3485
3485
|
cwd: z.ZodOptional<z.ZodString>;
|
|
3486
3486
|
viewId: z.ZodOptional<z.ZodString>;
|
|
3487
3487
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -3926,16 +3926,16 @@ export declare const ChatHistoryResultSchema: z.ZodObject<{
|
|
|
3926
3926
|
type: z.ZodLiteral<"File">;
|
|
3927
3927
|
path: z.ZodString;
|
|
3928
3928
|
line: z.ZodOptional<z.ZodNumber>;
|
|
3929
|
-
}, z.core.$
|
|
3929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3930
3930
|
type: z.ZodLiteral<"Diff">;
|
|
3931
3931
|
path: z.ZodString;
|
|
3932
|
-
}, z.core.$
|
|
3932
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3933
3933
|
type: z.ZodLiteral<"Commit">;
|
|
3934
3934
|
sha: z.ZodString;
|
|
3935
|
-
}, z.core.$
|
|
3935
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3936
3936
|
type: z.ZodLiteral<"Node">;
|
|
3937
3937
|
id: z.ZodString;
|
|
3938
|
-
}, z.core.$
|
|
3938
|
+
}, z.core.$strip>], "type">>;
|
|
3939
3939
|
cwd: z.ZodOptional<z.ZodString>;
|
|
3940
3940
|
viewId: z.ZodOptional<z.ZodString>;
|
|
3941
3941
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -4341,16 +4341,16 @@ export declare const ChatSubagentResultSchema: z.ZodObject<{
|
|
|
4341
4341
|
type: z.ZodLiteral<"File">;
|
|
4342
4342
|
path: z.ZodString;
|
|
4343
4343
|
line: z.ZodOptional<z.ZodNumber>;
|
|
4344
|
-
}, z.core.$
|
|
4344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4345
4345
|
type: z.ZodLiteral<"Diff">;
|
|
4346
4346
|
path: z.ZodString;
|
|
4347
|
-
}, z.core.$
|
|
4347
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4348
4348
|
type: z.ZodLiteral<"Commit">;
|
|
4349
4349
|
sha: z.ZodString;
|
|
4350
|
-
}, z.core.$
|
|
4350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4351
4351
|
type: z.ZodLiteral<"Node">;
|
|
4352
4352
|
id: z.ZodString;
|
|
4353
|
-
}, z.core.$
|
|
4353
|
+
}, z.core.$strip>], "type">>;
|
|
4354
4354
|
cwd: z.ZodOptional<z.ZodString>;
|
|
4355
4355
|
viewId: z.ZodOptional<z.ZodString>;
|
|
4356
4356
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -5202,16 +5202,16 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
5202
5202
|
type: z.ZodLiteral<"File">;
|
|
5203
5203
|
path: z.ZodString;
|
|
5204
5204
|
line: z.ZodOptional<z.ZodNumber>;
|
|
5205
|
-
}, z.core.$
|
|
5205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5206
5206
|
type: z.ZodLiteral<"Diff">;
|
|
5207
5207
|
path: z.ZodString;
|
|
5208
|
-
}, z.core.$
|
|
5208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5209
5209
|
type: z.ZodLiteral<"Commit">;
|
|
5210
5210
|
sha: z.ZodString;
|
|
5211
|
-
}, z.core.$
|
|
5211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5212
5212
|
type: z.ZodLiteral<"Node">;
|
|
5213
5213
|
id: z.ZodString;
|
|
5214
|
-
}, z.core.$
|
|
5214
|
+
}, z.core.$strip>], "type">>;
|
|
5215
5215
|
cwd: z.ZodOptional<z.ZodString>;
|
|
5216
5216
|
viewId: z.ZodOptional<z.ZodString>;
|
|
5217
5217
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -5572,16 +5572,16 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
5572
5572
|
type: z.ZodLiteral<"File">;
|
|
5573
5573
|
path: z.ZodString;
|
|
5574
5574
|
line: z.ZodOptional<z.ZodNumber>;
|
|
5575
|
-
}, z.core.$
|
|
5575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5576
5576
|
type: z.ZodLiteral<"Diff">;
|
|
5577
5577
|
path: z.ZodString;
|
|
5578
|
-
}, z.core.$
|
|
5578
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5579
5579
|
type: z.ZodLiteral<"Commit">;
|
|
5580
5580
|
sha: z.ZodString;
|
|
5581
|
-
}, z.core.$
|
|
5581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5582
5582
|
type: z.ZodLiteral<"Node">;
|
|
5583
5583
|
id: z.ZodString;
|
|
5584
|
-
}, z.core.$
|
|
5584
|
+
}, z.core.$strip>], "type">>;
|
|
5585
5585
|
cwd: z.ZodOptional<z.ZodString>;
|
|
5586
5586
|
viewId: z.ZodOptional<z.ZodString>;
|
|
5587
5587
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -5941,16 +5941,16 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
5941
5941
|
type: z.ZodLiteral<"File">;
|
|
5942
5942
|
path: z.ZodString;
|
|
5943
5943
|
line: z.ZodOptional<z.ZodNumber>;
|
|
5944
|
-
}, z.core.$
|
|
5944
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5945
5945
|
type: z.ZodLiteral<"Diff">;
|
|
5946
5946
|
path: z.ZodString;
|
|
5947
|
-
}, z.core.$
|
|
5947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5948
5948
|
type: z.ZodLiteral<"Commit">;
|
|
5949
5949
|
sha: z.ZodString;
|
|
5950
|
-
}, z.core.$
|
|
5950
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5951
5951
|
type: z.ZodLiteral<"Node">;
|
|
5952
5952
|
id: z.ZodString;
|
|
5953
|
-
}, z.core.$
|
|
5953
|
+
}, z.core.$strip>], "type">>;
|
|
5954
5954
|
cwd: z.ZodOptional<z.ZodString>;
|
|
5955
5955
|
viewId: z.ZodOptional<z.ZodString>;
|
|
5956
5956
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -6261,16 +6261,16 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
6261
6261
|
type: z.ZodLiteral<"File">;
|
|
6262
6262
|
path: z.ZodString;
|
|
6263
6263
|
line: z.ZodOptional<z.ZodNumber>;
|
|
6264
|
-
}, z.core.$
|
|
6264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6265
6265
|
type: z.ZodLiteral<"Diff">;
|
|
6266
6266
|
path: z.ZodString;
|
|
6267
|
-
}, z.core.$
|
|
6267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6268
6268
|
type: z.ZodLiteral<"Commit">;
|
|
6269
6269
|
sha: z.ZodString;
|
|
6270
|
-
}, z.core.$
|
|
6270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6271
6271
|
type: z.ZodLiteral<"Node">;
|
|
6272
6272
|
id: z.ZodString;
|
|
6273
|
-
}, z.core.$
|
|
6273
|
+
}, z.core.$strip>], "type">>;
|
|
6274
6274
|
cwd: z.ZodOptional<z.ZodString>;
|
|
6275
6275
|
viewId: z.ZodOptional<z.ZodString>;
|
|
6276
6276
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -6708,16 +6708,16 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
6708
6708
|
type: z.ZodLiteral<"File">;
|
|
6709
6709
|
path: z.ZodString;
|
|
6710
6710
|
line: z.ZodOptional<z.ZodNumber>;
|
|
6711
|
-
}, z.core.$
|
|
6711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6712
6712
|
type: z.ZodLiteral<"Diff">;
|
|
6713
6713
|
path: z.ZodString;
|
|
6714
|
-
}, z.core.$
|
|
6714
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6715
6715
|
type: z.ZodLiteral<"Commit">;
|
|
6716
6716
|
sha: z.ZodString;
|
|
6717
|
-
}, z.core.$
|
|
6717
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6718
6718
|
type: z.ZodLiteral<"Node">;
|
|
6719
6719
|
id: z.ZodString;
|
|
6720
|
-
}, z.core.$
|
|
6720
|
+
}, z.core.$strip>], "type">>;
|
|
6721
6721
|
cwd: z.ZodOptional<z.ZodString>;
|
|
6722
6722
|
viewId: z.ZodOptional<z.ZodString>;
|
|
6723
6723
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -7196,16 +7196,16 @@ export declare const ChatAttachResultSchema: z.ZodObject<{
|
|
|
7196
7196
|
type: z.ZodLiteral<"File">;
|
|
7197
7197
|
path: z.ZodString;
|
|
7198
7198
|
line: z.ZodOptional<z.ZodNumber>;
|
|
7199
|
-
}, z.core.$
|
|
7199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7200
7200
|
type: z.ZodLiteral<"Diff">;
|
|
7201
7201
|
path: z.ZodString;
|
|
7202
|
-
}, z.core.$
|
|
7202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7203
7203
|
type: z.ZodLiteral<"Commit">;
|
|
7204
7204
|
sha: z.ZodString;
|
|
7205
|
-
}, z.core.$
|
|
7205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7206
7206
|
type: z.ZodLiteral<"Node">;
|
|
7207
7207
|
id: z.ZodString;
|
|
7208
|
-
}, z.core.$
|
|
7208
|
+
}, z.core.$strip>], "type">>;
|
|
7209
7209
|
cwd: z.ZodOptional<z.ZodString>;
|
|
7210
7210
|
viewId: z.ZodOptional<z.ZodString>;
|
|
7211
7211
|
projectId: z.ZodOptional<z.ZodString>;
|
package/dist/protocol.d.ts
CHANGED
|
@@ -270,16 +270,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
270
270
|
type: z.ZodLiteral<"File">;
|
|
271
271
|
path: z.ZodString;
|
|
272
272
|
line: z.ZodOptional<z.ZodNumber>;
|
|
273
|
-
}, z.core.$
|
|
273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
274
274
|
type: z.ZodLiteral<"Diff">;
|
|
275
275
|
path: z.ZodString;
|
|
276
|
-
}, z.core.$
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
277
|
type: z.ZodLiteral<"Commit">;
|
|
278
278
|
sha: z.ZodString;
|
|
279
|
-
}, z.core.$
|
|
279
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
280
280
|
type: z.ZodLiteral<"Node">;
|
|
281
281
|
id: z.ZodString;
|
|
282
|
-
}, z.core.$
|
|
282
|
+
}, z.core.$strip>], "type">>;
|
|
283
283
|
cwd: z.ZodOptional<z.ZodString>;
|
|
284
284
|
viewId: z.ZodOptional<z.ZodString>;
|
|
285
285
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -814,16 +814,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
814
814
|
type: z.ZodLiteral<"File">;
|
|
815
815
|
path: z.ZodString;
|
|
816
816
|
line: z.ZodOptional<z.ZodNumber>;
|
|
817
|
-
}, z.core.$
|
|
817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
818
818
|
type: z.ZodLiteral<"Diff">;
|
|
819
819
|
path: z.ZodString;
|
|
820
|
-
}, z.core.$
|
|
820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
821
821
|
type: z.ZodLiteral<"Commit">;
|
|
822
822
|
sha: z.ZodString;
|
|
823
|
-
}, z.core.$
|
|
823
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
824
824
|
type: z.ZodLiteral<"Node">;
|
|
825
825
|
id: z.ZodString;
|
|
826
|
-
}, z.core.$
|
|
826
|
+
}, z.core.$strip>], "type">>;
|
|
827
827
|
cwd: z.ZodOptional<z.ZodString>;
|
|
828
828
|
viewId: z.ZodOptional<z.ZodString>;
|
|
829
829
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -1184,16 +1184,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
1184
1184
|
type: z.ZodLiteral<"File">;
|
|
1185
1185
|
path: z.ZodString;
|
|
1186
1186
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1187
|
-
}, z.core.$
|
|
1187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1188
1188
|
type: z.ZodLiteral<"Diff">;
|
|
1189
1189
|
path: z.ZodString;
|
|
1190
|
-
}, z.core.$
|
|
1190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1191
1191
|
type: z.ZodLiteral<"Commit">;
|
|
1192
1192
|
sha: z.ZodString;
|
|
1193
|
-
}, z.core.$
|
|
1193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1194
1194
|
type: z.ZodLiteral<"Node">;
|
|
1195
1195
|
id: z.ZodString;
|
|
1196
|
-
}, z.core.$
|
|
1196
|
+
}, z.core.$strip>], "type">>;
|
|
1197
1197
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1198
1198
|
viewId: z.ZodOptional<z.ZodString>;
|
|
1199
1199
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -1553,16 +1553,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
1553
1553
|
type: z.ZodLiteral<"File">;
|
|
1554
1554
|
path: z.ZodString;
|
|
1555
1555
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1556
|
-
}, z.core.$
|
|
1556
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1557
1557
|
type: z.ZodLiteral<"Diff">;
|
|
1558
1558
|
path: z.ZodString;
|
|
1559
|
-
}, z.core.$
|
|
1559
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1560
1560
|
type: z.ZodLiteral<"Commit">;
|
|
1561
1561
|
sha: z.ZodString;
|
|
1562
|
-
}, z.core.$
|
|
1562
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1563
1563
|
type: z.ZodLiteral<"Node">;
|
|
1564
1564
|
id: z.ZodString;
|
|
1565
|
-
}, z.core.$
|
|
1565
|
+
}, z.core.$strip>], "type">>;
|
|
1566
1566
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1567
1567
|
viewId: z.ZodOptional<z.ZodString>;
|
|
1568
1568
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -1873,16 +1873,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
1873
1873
|
type: z.ZodLiteral<"File">;
|
|
1874
1874
|
path: z.ZodString;
|
|
1875
1875
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1876
|
-
}, z.core.$
|
|
1876
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1877
1877
|
type: z.ZodLiteral<"Diff">;
|
|
1878
1878
|
path: z.ZodString;
|
|
1879
|
-
}, z.core.$
|
|
1879
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1880
1880
|
type: z.ZodLiteral<"Commit">;
|
|
1881
1881
|
sha: z.ZodString;
|
|
1882
|
-
}, z.core.$
|
|
1882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1883
1883
|
type: z.ZodLiteral<"Node">;
|
|
1884
1884
|
id: z.ZodString;
|
|
1885
|
-
}, z.core.$
|
|
1885
|
+
}, z.core.$strip>], "type">>;
|
|
1886
1886
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1887
1887
|
viewId: z.ZodOptional<z.ZodString>;
|
|
1888
1888
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2320,16 +2320,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
2320
2320
|
type: z.ZodLiteral<"File">;
|
|
2321
2321
|
path: z.ZodString;
|
|
2322
2322
|
line: z.ZodOptional<z.ZodNumber>;
|
|
2323
|
-
}, z.core.$
|
|
2323
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2324
2324
|
type: z.ZodLiteral<"Diff">;
|
|
2325
2325
|
path: z.ZodString;
|
|
2326
|
-
}, z.core.$
|
|
2326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2327
2327
|
type: z.ZodLiteral<"Commit">;
|
|
2328
2328
|
sha: z.ZodString;
|
|
2329
|
-
}, z.core.$
|
|
2329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2330
2330
|
type: z.ZodLiteral<"Node">;
|
|
2331
2331
|
id: z.ZodString;
|
|
2332
|
-
}, z.core.$
|
|
2332
|
+
}, z.core.$strip>], "type">>;
|
|
2333
2333
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2334
2334
|
viewId: z.ZodOptional<z.ZodString>;
|
|
2335
2335
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2808,16 +2808,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
2808
2808
|
type: z.ZodLiteral<"File">;
|
|
2809
2809
|
path: z.ZodString;
|
|
2810
2810
|
line: z.ZodOptional<z.ZodNumber>;
|
|
2811
|
-
}, z.core.$
|
|
2811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2812
2812
|
type: z.ZodLiteral<"Diff">;
|
|
2813
2813
|
path: z.ZodString;
|
|
2814
|
-
}, z.core.$
|
|
2814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2815
2815
|
type: z.ZodLiteral<"Commit">;
|
|
2816
2816
|
sha: z.ZodString;
|
|
2817
|
-
}, z.core.$
|
|
2817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2818
2818
|
type: z.ZodLiteral<"Node">;
|
|
2819
2819
|
id: z.ZodString;
|
|
2820
|
-
}, z.core.$
|
|
2820
|
+
}, z.core.$strip>], "type">>;
|
|
2821
2821
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2822
2822
|
viewId: z.ZodOptional<z.ZodString>;
|
|
2823
2823
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -3164,16 +3164,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
3164
3164
|
type: z.ZodLiteral<"File">;
|
|
3165
3165
|
path: z.ZodString;
|
|
3166
3166
|
line: z.ZodOptional<z.ZodNumber>;
|
|
3167
|
-
}, z.core.$
|
|
3167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3168
3168
|
type: z.ZodLiteral<"Diff">;
|
|
3169
3169
|
path: z.ZodString;
|
|
3170
|
-
}, z.core.$
|
|
3170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3171
3171
|
type: z.ZodLiteral<"Commit">;
|
|
3172
3172
|
sha: z.ZodString;
|
|
3173
|
-
}, z.core.$
|
|
3173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3174
3174
|
type: z.ZodLiteral<"Node">;
|
|
3175
3175
|
id: z.ZodString;
|
|
3176
|
-
}, z.core.$
|
|
3176
|
+
}, z.core.$strip>], "type">>;
|
|
3177
3177
|
cwd: z.ZodOptional<z.ZodString>;
|
|
3178
3178
|
viewId: z.ZodOptional<z.ZodString>;
|
|
3179
3179
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -4058,16 +4058,16 @@ export declare const AGENT_REQUEST_SCHEMAS: {
|
|
|
4058
4058
|
type: z.ZodLiteral<"File">;
|
|
4059
4059
|
path: z.ZodString;
|
|
4060
4060
|
line: z.ZodOptional<z.ZodNumber>;
|
|
4061
|
-
}, z.core.$
|
|
4061
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4062
4062
|
type: z.ZodLiteral<"Diff">;
|
|
4063
4063
|
path: z.ZodString;
|
|
4064
|
-
}, z.core.$
|
|
4064
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4065
4065
|
type: z.ZodLiteral<"Commit">;
|
|
4066
4066
|
sha: z.ZodString;
|
|
4067
|
-
}, z.core.$
|
|
4067
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4068
4068
|
type: z.ZodLiteral<"Node">;
|
|
4069
4069
|
id: z.ZodString;
|
|
4070
|
-
}, z.core.$
|
|
4070
|
+
}, z.core.$strip>], "type">>;
|
|
4071
4071
|
cwd: z.ZodOptional<z.ZodString>;
|
|
4072
4072
|
viewId: z.ZodOptional<z.ZodString>;
|
|
4073
4073
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -5387,16 +5387,16 @@ export declare const AGENT_EVENT_SCHEMAS: {
|
|
|
5387
5387
|
type: z.ZodLiteral<"File">;
|
|
5388
5388
|
path: z.ZodString;
|
|
5389
5389
|
line: z.ZodOptional<z.ZodNumber>;
|
|
5390
|
-
}, z.core.$
|
|
5390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5391
5391
|
type: z.ZodLiteral<"Diff">;
|
|
5392
5392
|
path: z.ZodString;
|
|
5393
|
-
}, z.core.$
|
|
5393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5394
5394
|
type: z.ZodLiteral<"Commit">;
|
|
5395
5395
|
sha: z.ZodString;
|
|
5396
|
-
}, z.core.$
|
|
5396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5397
5397
|
type: z.ZodLiteral<"Node">;
|
|
5398
5398
|
id: z.ZodString;
|
|
5399
|
-
}, z.core.$
|
|
5399
|
+
}, z.core.$strip>], "type">>;
|
|
5400
5400
|
cwd: z.ZodOptional<z.ZodString>;
|
|
5401
5401
|
viewId: z.ZodOptional<z.ZodString>;
|
|
5402
5402
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -5707,16 +5707,16 @@ export declare const AGENT_EVENT_SCHEMAS: {
|
|
|
5707
5707
|
type: z.ZodLiteral<"File">;
|
|
5708
5708
|
path: z.ZodString;
|
|
5709
5709
|
line: z.ZodOptional<z.ZodNumber>;
|
|
5710
|
-
}, z.core.$
|
|
5710
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5711
5711
|
type: z.ZodLiteral<"Diff">;
|
|
5712
5712
|
path: z.ZodString;
|
|
5713
|
-
}, z.core.$
|
|
5713
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5714
5714
|
type: z.ZodLiteral<"Commit">;
|
|
5715
5715
|
sha: z.ZodString;
|
|
5716
|
-
}, z.core.$
|
|
5716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5717
5717
|
type: z.ZodLiteral<"Node">;
|
|
5718
5718
|
id: z.ZodString;
|
|
5719
|
-
}, z.core.$
|
|
5719
|
+
}, z.core.$strip>], "type">>;
|
|
5720
5720
|
cwd: z.ZodOptional<z.ZodString>;
|
|
5721
5721
|
viewId: z.ZodOptional<z.ZodString>;
|
|
5722
5722
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -6154,16 +6154,16 @@ export declare const AGENT_EVENT_SCHEMAS: {
|
|
|
6154
6154
|
type: z.ZodLiteral<"File">;
|
|
6155
6155
|
path: z.ZodString;
|
|
6156
6156
|
line: z.ZodOptional<z.ZodNumber>;
|
|
6157
|
-
}, z.core.$
|
|
6157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6158
6158
|
type: z.ZodLiteral<"Diff">;
|
|
6159
6159
|
path: z.ZodString;
|
|
6160
|
-
}, z.core.$
|
|
6160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6161
6161
|
type: z.ZodLiteral<"Commit">;
|
|
6162
6162
|
sha: z.ZodString;
|
|
6163
|
-
}, z.core.$
|
|
6163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6164
6164
|
type: z.ZodLiteral<"Node">;
|
|
6165
6165
|
id: z.ZodString;
|
|
6166
|
-
}, z.core.$
|
|
6166
|
+
}, z.core.$strip>], "type">>;
|
|
6167
6167
|
cwd: z.ZodOptional<z.ZodString>;
|
|
6168
6168
|
viewId: z.ZodOptional<z.ZodString>;
|
|
6169
6169
|
projectId: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adecore/agent-contracts",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.10",
|
|
4
4
|
"description": "Schemas and port contracts for agent chats, provider accounts, models and usage.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"test": "bun --conditions=source test"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@adecore/intelligent-ui": "0.54.
|
|
85
|
-
"@adecore/utils": "0.54.
|
|
84
|
+
"@adecore/intelligent-ui": "0.54.10",
|
|
85
|
+
"@adecore/utils": "0.54.10",
|
|
86
86
|
"zod": "^4.6.7"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|