@linkshell/gateway 0.2.29 → 0.2.31
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/gateway/src/state-store.js +2 -0
- package/dist/gateway/src/state-store.js.map +1 -1
- package/dist/gateway/tsconfig.tsbuildinfo +1 -1
- package/dist/shared-protocol/src/index.d.ts +427 -99
- package/dist/shared-protocol/src/index.js +10 -0
- package/dist/shared-protocol/src/index.js.map +1 -1
- package/package.json +9 -9
- package/src/state-store.ts +2 -0
|
@@ -673,8 +673,8 @@ export declare const agentPermissionSchema: z.ZodObject<{
|
|
|
673
673
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
675
|
id: string;
|
|
676
|
-
kind: "allow" | "deny" | "other";
|
|
677
676
|
label: string;
|
|
677
|
+
kind: "allow" | "deny" | "other";
|
|
678
678
|
}, {
|
|
679
679
|
id: string;
|
|
680
680
|
label: string;
|
|
@@ -683,8 +683,8 @@ export declare const agentPermissionSchema: z.ZodObject<{
|
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
options: {
|
|
685
685
|
id: string;
|
|
686
|
-
kind: "allow" | "deny" | "other";
|
|
687
686
|
label: string;
|
|
687
|
+
kind: "allow" | "deny" | "other";
|
|
688
688
|
}[];
|
|
689
689
|
requestId: string;
|
|
690
690
|
toolName?: string | undefined;
|
|
@@ -704,6 +704,34 @@ export declare const agentPermissionSchema: z.ZodObject<{
|
|
|
704
704
|
export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
705
705
|
enabled: z.ZodBoolean;
|
|
706
706
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
707
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
708
|
+
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
709
|
+
label: z.ZodString;
|
|
710
|
+
enabled: z.ZodBoolean;
|
|
711
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
712
|
+
supportsImages: z.ZodOptional<z.ZodBoolean>;
|
|
713
|
+
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
714
|
+
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
715
|
+
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
id: "claude" | "codex" | "custom";
|
|
718
|
+
enabled: boolean;
|
|
719
|
+
label: string;
|
|
720
|
+
reason?: string | undefined;
|
|
721
|
+
supportsImages?: boolean | undefined;
|
|
722
|
+
supportsPermission?: boolean | undefined;
|
|
723
|
+
supportsPlan?: boolean | undefined;
|
|
724
|
+
supportsCancel?: boolean | undefined;
|
|
725
|
+
}, {
|
|
726
|
+
id: "claude" | "codex" | "custom";
|
|
727
|
+
enabled: boolean;
|
|
728
|
+
label: string;
|
|
729
|
+
reason?: string | undefined;
|
|
730
|
+
supportsImages?: boolean | undefined;
|
|
731
|
+
supportsPermission?: boolean | undefined;
|
|
732
|
+
supportsPlan?: boolean | undefined;
|
|
733
|
+
supportsCancel?: boolean | undefined;
|
|
734
|
+
}>, "many">>;
|
|
707
735
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
708
736
|
error: z.ZodOptional<z.ZodString>;
|
|
709
737
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -715,28 +743,48 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
715
743
|
supportsCancel: z.ZodDefault<z.ZodBoolean>;
|
|
716
744
|
}, "strip", z.ZodTypeAny, {
|
|
717
745
|
enabled: boolean;
|
|
718
|
-
supportsSessionList: boolean;
|
|
719
|
-
supportsSessionLoad: boolean;
|
|
720
746
|
supportsImages: boolean;
|
|
721
|
-
supportsAudio: boolean;
|
|
722
747
|
supportsPermission: boolean;
|
|
723
748
|
supportsPlan: boolean;
|
|
724
749
|
supportsCancel: boolean;
|
|
750
|
+
supportsSessionList: boolean;
|
|
751
|
+
supportsSessionLoad: boolean;
|
|
752
|
+
supportsAudio: boolean;
|
|
725
753
|
error?: string | undefined;
|
|
726
754
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
727
755
|
protocolVersion?: number | undefined;
|
|
756
|
+
providers?: {
|
|
757
|
+
id: "claude" | "codex" | "custom";
|
|
758
|
+
enabled: boolean;
|
|
759
|
+
label: string;
|
|
760
|
+
reason?: string | undefined;
|
|
761
|
+
supportsImages?: boolean | undefined;
|
|
762
|
+
supportsPermission?: boolean | undefined;
|
|
763
|
+
supportsPlan?: boolean | undefined;
|
|
764
|
+
supportsCancel?: boolean | undefined;
|
|
765
|
+
}[] | undefined;
|
|
728
766
|
}, {
|
|
729
767
|
enabled: boolean;
|
|
730
768
|
error?: string | undefined;
|
|
731
769
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
732
770
|
protocolVersion?: number | undefined;
|
|
733
|
-
supportsSessionList?: boolean | undefined;
|
|
734
|
-
supportsSessionLoad?: boolean | undefined;
|
|
735
771
|
supportsImages?: boolean | undefined;
|
|
736
|
-
supportsAudio?: boolean | undefined;
|
|
737
772
|
supportsPermission?: boolean | undefined;
|
|
738
773
|
supportsPlan?: boolean | undefined;
|
|
739
774
|
supportsCancel?: boolean | undefined;
|
|
775
|
+
providers?: {
|
|
776
|
+
id: "claude" | "codex" | "custom";
|
|
777
|
+
enabled: boolean;
|
|
778
|
+
label: string;
|
|
779
|
+
reason?: string | undefined;
|
|
780
|
+
supportsImages?: boolean | undefined;
|
|
781
|
+
supportsPermission?: boolean | undefined;
|
|
782
|
+
supportsPlan?: boolean | undefined;
|
|
783
|
+
supportsCancel?: boolean | undefined;
|
|
784
|
+
}[] | undefined;
|
|
785
|
+
supportsSessionList?: boolean | undefined;
|
|
786
|
+
supportsSessionLoad?: boolean | undefined;
|
|
787
|
+
supportsAudio?: boolean | undefined;
|
|
740
788
|
}>;
|
|
741
789
|
export declare const agentInitializePayloadSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
742
790
|
export declare const agentSessionNewPayloadSchema: z.ZodObject<{
|
|
@@ -941,8 +989,8 @@ export declare const agentPermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
941
989
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
942
990
|
}, "strip", z.ZodTypeAny, {
|
|
943
991
|
id: string;
|
|
944
|
-
kind: "allow" | "deny" | "other";
|
|
945
992
|
label: string;
|
|
993
|
+
kind: "allow" | "deny" | "other";
|
|
946
994
|
}, {
|
|
947
995
|
id: string;
|
|
948
996
|
label: string;
|
|
@@ -953,8 +1001,8 @@ export declare const agentPermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
953
1001
|
}, "strip", z.ZodTypeAny, {
|
|
954
1002
|
options: {
|
|
955
1003
|
id: string;
|
|
956
|
-
kind: "allow" | "deny" | "other";
|
|
957
1004
|
label: string;
|
|
1005
|
+
kind: "allow" | "deny" | "other";
|
|
958
1006
|
}[];
|
|
959
1007
|
requestId: string;
|
|
960
1008
|
toolName?: string | undefined;
|
|
@@ -994,6 +1042,34 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
994
1042
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
995
1043
|
enabled: z.ZodBoolean;
|
|
996
1044
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
1045
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1046
|
+
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
1047
|
+
label: z.ZodString;
|
|
1048
|
+
enabled: z.ZodBoolean;
|
|
1049
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
supportsImages: z.ZodOptional<z.ZodBoolean>;
|
|
1051
|
+
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
+
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
1053
|
+
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
+
}, "strip", z.ZodTypeAny, {
|
|
1055
|
+
id: "claude" | "codex" | "custom";
|
|
1056
|
+
enabled: boolean;
|
|
1057
|
+
label: string;
|
|
1058
|
+
reason?: string | undefined;
|
|
1059
|
+
supportsImages?: boolean | undefined;
|
|
1060
|
+
supportsPermission?: boolean | undefined;
|
|
1061
|
+
supportsPlan?: boolean | undefined;
|
|
1062
|
+
supportsCancel?: boolean | undefined;
|
|
1063
|
+
}, {
|
|
1064
|
+
id: "claude" | "codex" | "custom";
|
|
1065
|
+
enabled: boolean;
|
|
1066
|
+
label: string;
|
|
1067
|
+
reason?: string | undefined;
|
|
1068
|
+
supportsImages?: boolean | undefined;
|
|
1069
|
+
supportsPermission?: boolean | undefined;
|
|
1070
|
+
supportsPlan?: boolean | undefined;
|
|
1071
|
+
supportsCancel?: boolean | undefined;
|
|
1072
|
+
}>, "many">>;
|
|
997
1073
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
998
1074
|
error: z.ZodOptional<z.ZodString>;
|
|
999
1075
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1005,28 +1081,48 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1005
1081
|
supportsCancel: z.ZodDefault<z.ZodBoolean>;
|
|
1006
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1007
1083
|
enabled: boolean;
|
|
1008
|
-
supportsSessionList: boolean;
|
|
1009
|
-
supportsSessionLoad: boolean;
|
|
1010
1084
|
supportsImages: boolean;
|
|
1011
|
-
supportsAudio: boolean;
|
|
1012
1085
|
supportsPermission: boolean;
|
|
1013
1086
|
supportsPlan: boolean;
|
|
1014
1087
|
supportsCancel: boolean;
|
|
1088
|
+
supportsSessionList: boolean;
|
|
1089
|
+
supportsSessionLoad: boolean;
|
|
1090
|
+
supportsAudio: boolean;
|
|
1015
1091
|
error?: string | undefined;
|
|
1016
1092
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1017
1093
|
protocolVersion?: number | undefined;
|
|
1094
|
+
providers?: {
|
|
1095
|
+
id: "claude" | "codex" | "custom";
|
|
1096
|
+
enabled: boolean;
|
|
1097
|
+
label: string;
|
|
1098
|
+
reason?: string | undefined;
|
|
1099
|
+
supportsImages?: boolean | undefined;
|
|
1100
|
+
supportsPermission?: boolean | undefined;
|
|
1101
|
+
supportsPlan?: boolean | undefined;
|
|
1102
|
+
supportsCancel?: boolean | undefined;
|
|
1103
|
+
}[] | undefined;
|
|
1018
1104
|
}, {
|
|
1019
1105
|
enabled: boolean;
|
|
1020
1106
|
error?: string | undefined;
|
|
1021
1107
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1022
1108
|
protocolVersion?: number | undefined;
|
|
1023
|
-
supportsSessionList?: boolean | undefined;
|
|
1024
|
-
supportsSessionLoad?: boolean | undefined;
|
|
1025
1109
|
supportsImages?: boolean | undefined;
|
|
1026
|
-
supportsAudio?: boolean | undefined;
|
|
1027
1110
|
supportsPermission?: boolean | undefined;
|
|
1028
1111
|
supportsPlan?: boolean | undefined;
|
|
1029
1112
|
supportsCancel?: boolean | undefined;
|
|
1113
|
+
providers?: {
|
|
1114
|
+
id: "claude" | "codex" | "custom";
|
|
1115
|
+
enabled: boolean;
|
|
1116
|
+
label: string;
|
|
1117
|
+
reason?: string | undefined;
|
|
1118
|
+
supportsImages?: boolean | undefined;
|
|
1119
|
+
supportsPermission?: boolean | undefined;
|
|
1120
|
+
supportsPlan?: boolean | undefined;
|
|
1121
|
+
supportsCancel?: boolean | undefined;
|
|
1122
|
+
}[] | undefined;
|
|
1123
|
+
supportsSessionList?: boolean | undefined;
|
|
1124
|
+
supportsSessionLoad?: boolean | undefined;
|
|
1125
|
+
supportsAudio?: boolean | undefined;
|
|
1030
1126
|
}>>;
|
|
1031
1127
|
messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1032
1128
|
id: z.ZodString;
|
|
@@ -1080,8 +1176,8 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1080
1176
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
1081
1177
|
}, "strip", z.ZodTypeAny, {
|
|
1082
1178
|
id: string;
|
|
1083
|
-
kind: "allow" | "deny" | "other";
|
|
1084
1179
|
label: string;
|
|
1180
|
+
kind: "allow" | "deny" | "other";
|
|
1085
1181
|
}, {
|
|
1086
1182
|
id: string;
|
|
1087
1183
|
label: string;
|
|
@@ -1090,8 +1186,8 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1090
1186
|
}, "strip", z.ZodTypeAny, {
|
|
1091
1187
|
options: {
|
|
1092
1188
|
id: string;
|
|
1093
|
-
kind: "allow" | "deny" | "other";
|
|
1094
1189
|
label: string;
|
|
1190
|
+
kind: "allow" | "deny" | "other";
|
|
1095
1191
|
}[];
|
|
1096
1192
|
requestId: string;
|
|
1097
1193
|
toolName?: string | undefined;
|
|
@@ -1130,8 +1226,8 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1130
1226
|
pendingPermissions: {
|
|
1131
1227
|
options: {
|
|
1132
1228
|
id: string;
|
|
1133
|
-
kind: "allow" | "deny" | "other";
|
|
1134
1229
|
label: string;
|
|
1230
|
+
kind: "allow" | "deny" | "other";
|
|
1135
1231
|
}[];
|
|
1136
1232
|
requestId: string;
|
|
1137
1233
|
toolName?: string | undefined;
|
|
@@ -1142,16 +1238,26 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1142
1238
|
agentSessionId?: string | undefined;
|
|
1143
1239
|
capabilities?: {
|
|
1144
1240
|
enabled: boolean;
|
|
1145
|
-
supportsSessionList: boolean;
|
|
1146
|
-
supportsSessionLoad: boolean;
|
|
1147
1241
|
supportsImages: boolean;
|
|
1148
|
-
supportsAudio: boolean;
|
|
1149
1242
|
supportsPermission: boolean;
|
|
1150
1243
|
supportsPlan: boolean;
|
|
1151
1244
|
supportsCancel: boolean;
|
|
1245
|
+
supportsSessionList: boolean;
|
|
1246
|
+
supportsSessionLoad: boolean;
|
|
1247
|
+
supportsAudio: boolean;
|
|
1152
1248
|
error?: string | undefined;
|
|
1153
1249
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1154
1250
|
protocolVersion?: number | undefined;
|
|
1251
|
+
providers?: {
|
|
1252
|
+
id: "claude" | "codex" | "custom";
|
|
1253
|
+
enabled: boolean;
|
|
1254
|
+
label: string;
|
|
1255
|
+
reason?: string | undefined;
|
|
1256
|
+
supportsImages?: boolean | undefined;
|
|
1257
|
+
supportsPermission?: boolean | undefined;
|
|
1258
|
+
supportsPlan?: boolean | undefined;
|
|
1259
|
+
supportsCancel?: boolean | undefined;
|
|
1260
|
+
}[] | undefined;
|
|
1155
1261
|
} | undefined;
|
|
1156
1262
|
}, {
|
|
1157
1263
|
error?: string | undefined;
|
|
@@ -1162,13 +1268,23 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1162
1268
|
error?: string | undefined;
|
|
1163
1269
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1164
1270
|
protocolVersion?: number | undefined;
|
|
1165
|
-
supportsSessionList?: boolean | undefined;
|
|
1166
|
-
supportsSessionLoad?: boolean | undefined;
|
|
1167
1271
|
supportsImages?: boolean | undefined;
|
|
1168
|
-
supportsAudio?: boolean | undefined;
|
|
1169
1272
|
supportsPermission?: boolean | undefined;
|
|
1170
1273
|
supportsPlan?: boolean | undefined;
|
|
1171
1274
|
supportsCancel?: boolean | undefined;
|
|
1275
|
+
providers?: {
|
|
1276
|
+
id: "claude" | "codex" | "custom";
|
|
1277
|
+
enabled: boolean;
|
|
1278
|
+
label: string;
|
|
1279
|
+
reason?: string | undefined;
|
|
1280
|
+
supportsImages?: boolean | undefined;
|
|
1281
|
+
supportsPermission?: boolean | undefined;
|
|
1282
|
+
supportsPlan?: boolean | undefined;
|
|
1283
|
+
supportsCancel?: boolean | undefined;
|
|
1284
|
+
}[] | undefined;
|
|
1285
|
+
supportsSessionList?: boolean | undefined;
|
|
1286
|
+
supportsSessionLoad?: boolean | undefined;
|
|
1287
|
+
supportsAudio?: boolean | undefined;
|
|
1172
1288
|
} | undefined;
|
|
1173
1289
|
messages?: {
|
|
1174
1290
|
id: string;
|
|
@@ -1266,8 +1382,8 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1266
1382
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
1267
1383
|
}, "strip", z.ZodTypeAny, {
|
|
1268
1384
|
id: string;
|
|
1269
|
-
kind: "allow" | "deny" | "other";
|
|
1270
1385
|
label: string;
|
|
1386
|
+
kind: "allow" | "deny" | "other";
|
|
1271
1387
|
}, {
|
|
1272
1388
|
id: string;
|
|
1273
1389
|
label: string;
|
|
@@ -1276,8 +1392,8 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1276
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1277
1393
|
options: {
|
|
1278
1394
|
id: string;
|
|
1279
|
-
kind: "allow" | "deny" | "other";
|
|
1280
1395
|
label: string;
|
|
1396
|
+
kind: "allow" | "deny" | "other";
|
|
1281
1397
|
}[];
|
|
1282
1398
|
requestId: string;
|
|
1283
1399
|
toolName?: string | undefined;
|
|
@@ -1332,8 +1448,8 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1332
1448
|
permission?: {
|
|
1333
1449
|
options: {
|
|
1334
1450
|
id: string;
|
|
1335
|
-
kind: "allow" | "deny" | "other";
|
|
1336
1451
|
label: string;
|
|
1452
|
+
kind: "allow" | "deny" | "other";
|
|
1337
1453
|
}[];
|
|
1338
1454
|
requestId: string;
|
|
1339
1455
|
toolName?: string | undefined;
|
|
@@ -1432,6 +1548,34 @@ export declare const agentV2CapabilitiesRequestPayloadSchema: z.ZodObject<{}, "s
|
|
|
1432
1548
|
export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
1433
1549
|
enabled: z.ZodBoolean;
|
|
1434
1550
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
1551
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1552
|
+
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
1553
|
+
label: z.ZodString;
|
|
1554
|
+
enabled: z.ZodBoolean;
|
|
1555
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1556
|
+
supportsImages: z.ZodOptional<z.ZodBoolean>;
|
|
1557
|
+
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
1558
|
+
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
1559
|
+
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
1560
|
+
}, "strip", z.ZodTypeAny, {
|
|
1561
|
+
id: "claude" | "codex" | "custom";
|
|
1562
|
+
enabled: boolean;
|
|
1563
|
+
label: string;
|
|
1564
|
+
reason?: string | undefined;
|
|
1565
|
+
supportsImages?: boolean | undefined;
|
|
1566
|
+
supportsPermission?: boolean | undefined;
|
|
1567
|
+
supportsPlan?: boolean | undefined;
|
|
1568
|
+
supportsCancel?: boolean | undefined;
|
|
1569
|
+
}, {
|
|
1570
|
+
id: "claude" | "codex" | "custom";
|
|
1571
|
+
enabled: boolean;
|
|
1572
|
+
label: string;
|
|
1573
|
+
reason?: string | undefined;
|
|
1574
|
+
supportsImages?: boolean | undefined;
|
|
1575
|
+
supportsPermission?: boolean | undefined;
|
|
1576
|
+
supportsPlan?: boolean | undefined;
|
|
1577
|
+
supportsCancel?: boolean | undefined;
|
|
1578
|
+
}>, "many">>;
|
|
1435
1579
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
1436
1580
|
error: z.ZodOptional<z.ZodString>;
|
|
1437
1581
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1445,29 +1589,49 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1445
1589
|
workspaceProtocolVersion: z.ZodDefault<z.ZodNumber>;
|
|
1446
1590
|
}, "strip", z.ZodTypeAny, {
|
|
1447
1591
|
enabled: boolean;
|
|
1448
|
-
supportsSessionList: boolean;
|
|
1449
|
-
supportsSessionLoad: boolean;
|
|
1450
1592
|
supportsImages: boolean;
|
|
1451
|
-
supportsAudio: boolean;
|
|
1452
1593
|
supportsPermission: boolean;
|
|
1453
1594
|
supportsPlan: boolean;
|
|
1454
1595
|
supportsCancel: boolean;
|
|
1596
|
+
supportsSessionList: boolean;
|
|
1597
|
+
supportsSessionLoad: boolean;
|
|
1598
|
+
supportsAudio: boolean;
|
|
1455
1599
|
workspaceProtocolVersion: number;
|
|
1456
1600
|
error?: string | undefined;
|
|
1457
1601
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1458
1602
|
protocolVersion?: number | undefined;
|
|
1603
|
+
providers?: {
|
|
1604
|
+
id: "claude" | "codex" | "custom";
|
|
1605
|
+
enabled: boolean;
|
|
1606
|
+
label: string;
|
|
1607
|
+
reason?: string | undefined;
|
|
1608
|
+
supportsImages?: boolean | undefined;
|
|
1609
|
+
supportsPermission?: boolean | undefined;
|
|
1610
|
+
supportsPlan?: boolean | undefined;
|
|
1611
|
+
supportsCancel?: boolean | undefined;
|
|
1612
|
+
}[] | undefined;
|
|
1459
1613
|
}, {
|
|
1460
1614
|
enabled: boolean;
|
|
1461
1615
|
error?: string | undefined;
|
|
1462
1616
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1463
1617
|
protocolVersion?: number | undefined;
|
|
1464
|
-
supportsSessionList?: boolean | undefined;
|
|
1465
|
-
supportsSessionLoad?: boolean | undefined;
|
|
1466
1618
|
supportsImages?: boolean | undefined;
|
|
1467
|
-
supportsAudio?: boolean | undefined;
|
|
1468
1619
|
supportsPermission?: boolean | undefined;
|
|
1469
1620
|
supportsPlan?: boolean | undefined;
|
|
1470
1621
|
supportsCancel?: boolean | undefined;
|
|
1622
|
+
providers?: {
|
|
1623
|
+
id: "claude" | "codex" | "custom";
|
|
1624
|
+
enabled: boolean;
|
|
1625
|
+
label: string;
|
|
1626
|
+
reason?: string | undefined;
|
|
1627
|
+
supportsImages?: boolean | undefined;
|
|
1628
|
+
supportsPermission?: boolean | undefined;
|
|
1629
|
+
supportsPlan?: boolean | undefined;
|
|
1630
|
+
supportsCancel?: boolean | undefined;
|
|
1631
|
+
}[] | undefined;
|
|
1632
|
+
supportsSessionList?: boolean | undefined;
|
|
1633
|
+
supportsSessionLoad?: boolean | undefined;
|
|
1634
|
+
supportsAudio?: boolean | undefined;
|
|
1471
1635
|
workspaceProtocolVersion?: number | undefined;
|
|
1472
1636
|
}>;
|
|
1473
1637
|
export declare const agentV2ConversationOpenPayloadSchema: z.ZodObject<{
|
|
@@ -1610,8 +1774,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
1610
1774
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
1611
1775
|
}, "strip", z.ZodTypeAny, {
|
|
1612
1776
|
id: string;
|
|
1613
|
-
kind: "allow" | "deny" | "other";
|
|
1614
1777
|
label: string;
|
|
1778
|
+
kind: "allow" | "deny" | "other";
|
|
1615
1779
|
}, {
|
|
1616
1780
|
id: string;
|
|
1617
1781
|
label: string;
|
|
@@ -1620,8 +1784,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
1620
1784
|
}, "strip", z.ZodTypeAny, {
|
|
1621
1785
|
options: {
|
|
1622
1786
|
id: string;
|
|
1623
|
-
kind: "allow" | "deny" | "other";
|
|
1624
1787
|
label: string;
|
|
1788
|
+
kind: "allow" | "deny" | "other";
|
|
1625
1789
|
}[];
|
|
1626
1790
|
requestId: string;
|
|
1627
1791
|
toolName?: string | undefined;
|
|
@@ -1676,8 +1840,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
1676
1840
|
permission?: {
|
|
1677
1841
|
options: {
|
|
1678
1842
|
id: string;
|
|
1679
|
-
kind: "allow" | "deny" | "other";
|
|
1680
1843
|
label: string;
|
|
1844
|
+
kind: "allow" | "deny" | "other";
|
|
1681
1845
|
}[];
|
|
1682
1846
|
requestId: string;
|
|
1683
1847
|
toolName?: string | undefined;
|
|
@@ -1777,8 +1941,8 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
1777
1941
|
permission?: {
|
|
1778
1942
|
options: {
|
|
1779
1943
|
id: string;
|
|
1780
|
-
kind: "allow" | "deny" | "other";
|
|
1781
1944
|
label: string;
|
|
1945
|
+
kind: "allow" | "deny" | "other";
|
|
1782
1946
|
}[];
|
|
1783
1947
|
requestId: string;
|
|
1784
1948
|
toolName?: string | undefined;
|
|
@@ -2122,8 +2286,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
2122
2286
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
2123
2287
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2288
|
id: string;
|
|
2125
|
-
kind: "allow" | "deny" | "other";
|
|
2126
2289
|
label: string;
|
|
2290
|
+
kind: "allow" | "deny" | "other";
|
|
2127
2291
|
}, {
|
|
2128
2292
|
id: string;
|
|
2129
2293
|
label: string;
|
|
@@ -2132,8 +2296,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
2132
2296
|
}, "strip", z.ZodTypeAny, {
|
|
2133
2297
|
options: {
|
|
2134
2298
|
id: string;
|
|
2135
|
-
kind: "allow" | "deny" | "other";
|
|
2136
2299
|
label: string;
|
|
2300
|
+
kind: "allow" | "deny" | "other";
|
|
2137
2301
|
}[];
|
|
2138
2302
|
requestId: string;
|
|
2139
2303
|
toolName?: string | undefined;
|
|
@@ -2188,8 +2352,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
2188
2352
|
permission?: {
|
|
2189
2353
|
options: {
|
|
2190
2354
|
id: string;
|
|
2191
|
-
kind: "allow" | "deny" | "other";
|
|
2192
2355
|
label: string;
|
|
2356
|
+
kind: "allow" | "deny" | "other";
|
|
2193
2357
|
}[];
|
|
2194
2358
|
requestId: string;
|
|
2195
2359
|
toolName?: string | undefined;
|
|
@@ -2289,8 +2453,8 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
2289
2453
|
permission?: {
|
|
2290
2454
|
options: {
|
|
2291
2455
|
id: string;
|
|
2292
|
-
kind: "allow" | "deny" | "other";
|
|
2293
2456
|
label: string;
|
|
2457
|
+
kind: "allow" | "deny" | "other";
|
|
2294
2458
|
}[];
|
|
2295
2459
|
requestId: string;
|
|
2296
2460
|
toolName?: string | undefined;
|
|
@@ -2475,8 +2639,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
2475
2639
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
2476
2640
|
}, "strip", z.ZodTypeAny, {
|
|
2477
2641
|
id: string;
|
|
2478
|
-
kind: "allow" | "deny" | "other";
|
|
2479
2642
|
label: string;
|
|
2643
|
+
kind: "allow" | "deny" | "other";
|
|
2480
2644
|
}, {
|
|
2481
2645
|
id: string;
|
|
2482
2646
|
label: string;
|
|
@@ -2485,8 +2649,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
2485
2649
|
}, "strip", z.ZodTypeAny, {
|
|
2486
2650
|
options: {
|
|
2487
2651
|
id: string;
|
|
2488
|
-
kind: "allow" | "deny" | "other";
|
|
2489
2652
|
label: string;
|
|
2653
|
+
kind: "allow" | "deny" | "other";
|
|
2490
2654
|
}[];
|
|
2491
2655
|
requestId: string;
|
|
2492
2656
|
toolName?: string | undefined;
|
|
@@ -2541,8 +2705,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
2541
2705
|
permission?: {
|
|
2542
2706
|
options: {
|
|
2543
2707
|
id: string;
|
|
2544
|
-
kind: "allow" | "deny" | "other";
|
|
2545
2708
|
label: string;
|
|
2709
|
+
kind: "allow" | "deny" | "other";
|
|
2546
2710
|
}[];
|
|
2547
2711
|
requestId: string;
|
|
2548
2712
|
toolName?: string | undefined;
|
|
@@ -2700,8 +2864,8 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
2700
2864
|
permission?: {
|
|
2701
2865
|
options: {
|
|
2702
2866
|
id: string;
|
|
2703
|
-
kind: "allow" | "deny" | "other";
|
|
2704
2867
|
label: string;
|
|
2868
|
+
kind: "allow" | "deny" | "other";
|
|
2705
2869
|
}[];
|
|
2706
2870
|
requestId: string;
|
|
2707
2871
|
toolName?: string | undefined;
|
|
@@ -2813,8 +2977,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
2813
2977
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
2814
2978
|
}, "strip", z.ZodTypeAny, {
|
|
2815
2979
|
id: string;
|
|
2816
|
-
kind: "allow" | "deny" | "other";
|
|
2817
2980
|
label: string;
|
|
2981
|
+
kind: "allow" | "deny" | "other";
|
|
2818
2982
|
}, {
|
|
2819
2983
|
id: string;
|
|
2820
2984
|
label: string;
|
|
@@ -2890,8 +3054,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
2890
3054
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
2891
3055
|
}, "strip", z.ZodTypeAny, {
|
|
2892
3056
|
id: string;
|
|
2893
|
-
kind: "allow" | "deny" | "other";
|
|
2894
3057
|
label: string;
|
|
3058
|
+
kind: "allow" | "deny" | "other";
|
|
2895
3059
|
}, {
|
|
2896
3060
|
id: string;
|
|
2897
3061
|
label: string;
|
|
@@ -2900,8 +3064,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
2900
3064
|
}, "strip", z.ZodTypeAny, {
|
|
2901
3065
|
options: {
|
|
2902
3066
|
id: string;
|
|
2903
|
-
kind: "allow" | "deny" | "other";
|
|
2904
3067
|
label: string;
|
|
3068
|
+
kind: "allow" | "deny" | "other";
|
|
2905
3069
|
}[];
|
|
2906
3070
|
requestId: string;
|
|
2907
3071
|
toolName?: string | undefined;
|
|
@@ -2956,8 +3120,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
2956
3120
|
permission?: {
|
|
2957
3121
|
options: {
|
|
2958
3122
|
id: string;
|
|
2959
|
-
kind: "allow" | "deny" | "other";
|
|
2960
3123
|
label: string;
|
|
3124
|
+
kind: "allow" | "deny" | "other";
|
|
2961
3125
|
}[];
|
|
2962
3126
|
requestId: string;
|
|
2963
3127
|
toolName?: string | undefined;
|
|
@@ -3012,8 +3176,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
3012
3176
|
}, "strip", z.ZodTypeAny, {
|
|
3013
3177
|
options: {
|
|
3014
3178
|
id: string;
|
|
3015
|
-
kind: "allow" | "deny" | "other";
|
|
3016
3179
|
label: string;
|
|
3180
|
+
kind: "allow" | "deny" | "other";
|
|
3017
3181
|
}[];
|
|
3018
3182
|
requestId: string;
|
|
3019
3183
|
conversationId: string;
|
|
@@ -3052,8 +3216,8 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
3052
3216
|
permission?: {
|
|
3053
3217
|
options: {
|
|
3054
3218
|
id: string;
|
|
3055
|
-
kind: "allow" | "deny" | "other";
|
|
3056
3219
|
label: string;
|
|
3220
|
+
kind: "allow" | "deny" | "other";
|
|
3057
3221
|
}[];
|
|
3058
3222
|
requestId: string;
|
|
3059
3223
|
toolName?: string | undefined;
|
|
@@ -3652,6 +3816,34 @@ export declare const protocolMessageSchemas: {
|
|
|
3652
3816
|
readonly "agent.capabilities": z.ZodObject<{
|
|
3653
3817
|
enabled: z.ZodBoolean;
|
|
3654
3818
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
3819
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3820
|
+
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
3821
|
+
label: z.ZodString;
|
|
3822
|
+
enabled: z.ZodBoolean;
|
|
3823
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3824
|
+
supportsImages: z.ZodOptional<z.ZodBoolean>;
|
|
3825
|
+
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
3826
|
+
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
3827
|
+
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
3828
|
+
}, "strip", z.ZodTypeAny, {
|
|
3829
|
+
id: "claude" | "codex" | "custom";
|
|
3830
|
+
enabled: boolean;
|
|
3831
|
+
label: string;
|
|
3832
|
+
reason?: string | undefined;
|
|
3833
|
+
supportsImages?: boolean | undefined;
|
|
3834
|
+
supportsPermission?: boolean | undefined;
|
|
3835
|
+
supportsPlan?: boolean | undefined;
|
|
3836
|
+
supportsCancel?: boolean | undefined;
|
|
3837
|
+
}, {
|
|
3838
|
+
id: "claude" | "codex" | "custom";
|
|
3839
|
+
enabled: boolean;
|
|
3840
|
+
label: string;
|
|
3841
|
+
reason?: string | undefined;
|
|
3842
|
+
supportsImages?: boolean | undefined;
|
|
3843
|
+
supportsPermission?: boolean | undefined;
|
|
3844
|
+
supportsPlan?: boolean | undefined;
|
|
3845
|
+
supportsCancel?: boolean | undefined;
|
|
3846
|
+
}>, "many">>;
|
|
3655
3847
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
3656
3848
|
error: z.ZodOptional<z.ZodString>;
|
|
3657
3849
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3663,28 +3855,48 @@ export declare const protocolMessageSchemas: {
|
|
|
3663
3855
|
supportsCancel: z.ZodDefault<z.ZodBoolean>;
|
|
3664
3856
|
}, "strip", z.ZodTypeAny, {
|
|
3665
3857
|
enabled: boolean;
|
|
3666
|
-
supportsSessionList: boolean;
|
|
3667
|
-
supportsSessionLoad: boolean;
|
|
3668
3858
|
supportsImages: boolean;
|
|
3669
|
-
supportsAudio: boolean;
|
|
3670
3859
|
supportsPermission: boolean;
|
|
3671
3860
|
supportsPlan: boolean;
|
|
3672
3861
|
supportsCancel: boolean;
|
|
3862
|
+
supportsSessionList: boolean;
|
|
3863
|
+
supportsSessionLoad: boolean;
|
|
3864
|
+
supportsAudio: boolean;
|
|
3673
3865
|
error?: string | undefined;
|
|
3674
3866
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3675
3867
|
protocolVersion?: number | undefined;
|
|
3868
|
+
providers?: {
|
|
3869
|
+
id: "claude" | "codex" | "custom";
|
|
3870
|
+
enabled: boolean;
|
|
3871
|
+
label: string;
|
|
3872
|
+
reason?: string | undefined;
|
|
3873
|
+
supportsImages?: boolean | undefined;
|
|
3874
|
+
supportsPermission?: boolean | undefined;
|
|
3875
|
+
supportsPlan?: boolean | undefined;
|
|
3876
|
+
supportsCancel?: boolean | undefined;
|
|
3877
|
+
}[] | undefined;
|
|
3676
3878
|
}, {
|
|
3677
3879
|
enabled: boolean;
|
|
3678
3880
|
error?: string | undefined;
|
|
3679
3881
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3680
3882
|
protocolVersion?: number | undefined;
|
|
3681
|
-
supportsSessionList?: boolean | undefined;
|
|
3682
|
-
supportsSessionLoad?: boolean | undefined;
|
|
3683
3883
|
supportsImages?: boolean | undefined;
|
|
3684
|
-
supportsAudio?: boolean | undefined;
|
|
3685
3884
|
supportsPermission?: boolean | undefined;
|
|
3686
3885
|
supportsPlan?: boolean | undefined;
|
|
3687
3886
|
supportsCancel?: boolean | undefined;
|
|
3887
|
+
providers?: {
|
|
3888
|
+
id: "claude" | "codex" | "custom";
|
|
3889
|
+
enabled: boolean;
|
|
3890
|
+
label: string;
|
|
3891
|
+
reason?: string | undefined;
|
|
3892
|
+
supportsImages?: boolean | undefined;
|
|
3893
|
+
supportsPermission?: boolean | undefined;
|
|
3894
|
+
supportsPlan?: boolean | undefined;
|
|
3895
|
+
supportsCancel?: boolean | undefined;
|
|
3896
|
+
}[] | undefined;
|
|
3897
|
+
supportsSessionList?: boolean | undefined;
|
|
3898
|
+
supportsSessionLoad?: boolean | undefined;
|
|
3899
|
+
supportsAudio?: boolean | undefined;
|
|
3688
3900
|
}>;
|
|
3689
3901
|
readonly "agent.session.new": z.ZodObject<{
|
|
3690
3902
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -3888,8 +4100,8 @@ export declare const protocolMessageSchemas: {
|
|
|
3888
4100
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
3889
4101
|
}, "strip", z.ZodTypeAny, {
|
|
3890
4102
|
id: string;
|
|
3891
|
-
kind: "allow" | "deny" | "other";
|
|
3892
4103
|
label: string;
|
|
4104
|
+
kind: "allow" | "deny" | "other";
|
|
3893
4105
|
}, {
|
|
3894
4106
|
id: string;
|
|
3895
4107
|
label: string;
|
|
@@ -3900,8 +4112,8 @@ export declare const protocolMessageSchemas: {
|
|
|
3900
4112
|
}, "strip", z.ZodTypeAny, {
|
|
3901
4113
|
options: {
|
|
3902
4114
|
id: string;
|
|
3903
|
-
kind: "allow" | "deny" | "other";
|
|
3904
4115
|
label: string;
|
|
4116
|
+
kind: "allow" | "deny" | "other";
|
|
3905
4117
|
}[];
|
|
3906
4118
|
requestId: string;
|
|
3907
4119
|
toolName?: string | undefined;
|
|
@@ -3941,6 +4153,34 @@ export declare const protocolMessageSchemas: {
|
|
|
3941
4153
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
3942
4154
|
enabled: z.ZodBoolean;
|
|
3943
4155
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
4156
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4157
|
+
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
4158
|
+
label: z.ZodString;
|
|
4159
|
+
enabled: z.ZodBoolean;
|
|
4160
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4161
|
+
supportsImages: z.ZodOptional<z.ZodBoolean>;
|
|
4162
|
+
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
4163
|
+
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
4164
|
+
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
4165
|
+
}, "strip", z.ZodTypeAny, {
|
|
4166
|
+
id: "claude" | "codex" | "custom";
|
|
4167
|
+
enabled: boolean;
|
|
4168
|
+
label: string;
|
|
4169
|
+
reason?: string | undefined;
|
|
4170
|
+
supportsImages?: boolean | undefined;
|
|
4171
|
+
supportsPermission?: boolean | undefined;
|
|
4172
|
+
supportsPlan?: boolean | undefined;
|
|
4173
|
+
supportsCancel?: boolean | undefined;
|
|
4174
|
+
}, {
|
|
4175
|
+
id: "claude" | "codex" | "custom";
|
|
4176
|
+
enabled: boolean;
|
|
4177
|
+
label: string;
|
|
4178
|
+
reason?: string | undefined;
|
|
4179
|
+
supportsImages?: boolean | undefined;
|
|
4180
|
+
supportsPermission?: boolean | undefined;
|
|
4181
|
+
supportsPlan?: boolean | undefined;
|
|
4182
|
+
supportsCancel?: boolean | undefined;
|
|
4183
|
+
}>, "many">>;
|
|
3944
4184
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
3945
4185
|
error: z.ZodOptional<z.ZodString>;
|
|
3946
4186
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3952,28 +4192,48 @@ export declare const protocolMessageSchemas: {
|
|
|
3952
4192
|
supportsCancel: z.ZodDefault<z.ZodBoolean>;
|
|
3953
4193
|
}, "strip", z.ZodTypeAny, {
|
|
3954
4194
|
enabled: boolean;
|
|
3955
|
-
supportsSessionList: boolean;
|
|
3956
|
-
supportsSessionLoad: boolean;
|
|
3957
4195
|
supportsImages: boolean;
|
|
3958
|
-
supportsAudio: boolean;
|
|
3959
4196
|
supportsPermission: boolean;
|
|
3960
4197
|
supportsPlan: boolean;
|
|
3961
4198
|
supportsCancel: boolean;
|
|
4199
|
+
supportsSessionList: boolean;
|
|
4200
|
+
supportsSessionLoad: boolean;
|
|
4201
|
+
supportsAudio: boolean;
|
|
3962
4202
|
error?: string | undefined;
|
|
3963
4203
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3964
4204
|
protocolVersion?: number | undefined;
|
|
4205
|
+
providers?: {
|
|
4206
|
+
id: "claude" | "codex" | "custom";
|
|
4207
|
+
enabled: boolean;
|
|
4208
|
+
label: string;
|
|
4209
|
+
reason?: string | undefined;
|
|
4210
|
+
supportsImages?: boolean | undefined;
|
|
4211
|
+
supportsPermission?: boolean | undefined;
|
|
4212
|
+
supportsPlan?: boolean | undefined;
|
|
4213
|
+
supportsCancel?: boolean | undefined;
|
|
4214
|
+
}[] | undefined;
|
|
3965
4215
|
}, {
|
|
3966
4216
|
enabled: boolean;
|
|
3967
4217
|
error?: string | undefined;
|
|
3968
4218
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
3969
4219
|
protocolVersion?: number | undefined;
|
|
3970
|
-
supportsSessionList?: boolean | undefined;
|
|
3971
|
-
supportsSessionLoad?: boolean | undefined;
|
|
3972
4220
|
supportsImages?: boolean | undefined;
|
|
3973
|
-
supportsAudio?: boolean | undefined;
|
|
3974
4221
|
supportsPermission?: boolean | undefined;
|
|
3975
4222
|
supportsPlan?: boolean | undefined;
|
|
3976
4223
|
supportsCancel?: boolean | undefined;
|
|
4224
|
+
providers?: {
|
|
4225
|
+
id: "claude" | "codex" | "custom";
|
|
4226
|
+
enabled: boolean;
|
|
4227
|
+
label: string;
|
|
4228
|
+
reason?: string | undefined;
|
|
4229
|
+
supportsImages?: boolean | undefined;
|
|
4230
|
+
supportsPermission?: boolean | undefined;
|
|
4231
|
+
supportsPlan?: boolean | undefined;
|
|
4232
|
+
supportsCancel?: boolean | undefined;
|
|
4233
|
+
}[] | undefined;
|
|
4234
|
+
supportsSessionList?: boolean | undefined;
|
|
4235
|
+
supportsSessionLoad?: boolean | undefined;
|
|
4236
|
+
supportsAudio?: boolean | undefined;
|
|
3977
4237
|
}>>;
|
|
3978
4238
|
messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3979
4239
|
id: z.ZodString;
|
|
@@ -4027,8 +4287,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4027
4287
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
4028
4288
|
}, "strip", z.ZodTypeAny, {
|
|
4029
4289
|
id: string;
|
|
4030
|
-
kind: "allow" | "deny" | "other";
|
|
4031
4290
|
label: string;
|
|
4291
|
+
kind: "allow" | "deny" | "other";
|
|
4032
4292
|
}, {
|
|
4033
4293
|
id: string;
|
|
4034
4294
|
label: string;
|
|
@@ -4037,8 +4297,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4037
4297
|
}, "strip", z.ZodTypeAny, {
|
|
4038
4298
|
options: {
|
|
4039
4299
|
id: string;
|
|
4040
|
-
kind: "allow" | "deny" | "other";
|
|
4041
4300
|
label: string;
|
|
4301
|
+
kind: "allow" | "deny" | "other";
|
|
4042
4302
|
}[];
|
|
4043
4303
|
requestId: string;
|
|
4044
4304
|
toolName?: string | undefined;
|
|
@@ -4077,8 +4337,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4077
4337
|
pendingPermissions: {
|
|
4078
4338
|
options: {
|
|
4079
4339
|
id: string;
|
|
4080
|
-
kind: "allow" | "deny" | "other";
|
|
4081
4340
|
label: string;
|
|
4341
|
+
kind: "allow" | "deny" | "other";
|
|
4082
4342
|
}[];
|
|
4083
4343
|
requestId: string;
|
|
4084
4344
|
toolName?: string | undefined;
|
|
@@ -4089,16 +4349,26 @@ export declare const protocolMessageSchemas: {
|
|
|
4089
4349
|
agentSessionId?: string | undefined;
|
|
4090
4350
|
capabilities?: {
|
|
4091
4351
|
enabled: boolean;
|
|
4092
|
-
supportsSessionList: boolean;
|
|
4093
|
-
supportsSessionLoad: boolean;
|
|
4094
4352
|
supportsImages: boolean;
|
|
4095
|
-
supportsAudio: boolean;
|
|
4096
4353
|
supportsPermission: boolean;
|
|
4097
4354
|
supportsPlan: boolean;
|
|
4098
4355
|
supportsCancel: boolean;
|
|
4356
|
+
supportsSessionList: boolean;
|
|
4357
|
+
supportsSessionLoad: boolean;
|
|
4358
|
+
supportsAudio: boolean;
|
|
4099
4359
|
error?: string | undefined;
|
|
4100
4360
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4101
4361
|
protocolVersion?: number | undefined;
|
|
4362
|
+
providers?: {
|
|
4363
|
+
id: "claude" | "codex" | "custom";
|
|
4364
|
+
enabled: boolean;
|
|
4365
|
+
label: string;
|
|
4366
|
+
reason?: string | undefined;
|
|
4367
|
+
supportsImages?: boolean | undefined;
|
|
4368
|
+
supportsPermission?: boolean | undefined;
|
|
4369
|
+
supportsPlan?: boolean | undefined;
|
|
4370
|
+
supportsCancel?: boolean | undefined;
|
|
4371
|
+
}[] | undefined;
|
|
4102
4372
|
} | undefined;
|
|
4103
4373
|
}, {
|
|
4104
4374
|
error?: string | undefined;
|
|
@@ -4109,13 +4379,23 @@ export declare const protocolMessageSchemas: {
|
|
|
4109
4379
|
error?: string | undefined;
|
|
4110
4380
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4111
4381
|
protocolVersion?: number | undefined;
|
|
4112
|
-
supportsSessionList?: boolean | undefined;
|
|
4113
|
-
supportsSessionLoad?: boolean | undefined;
|
|
4114
4382
|
supportsImages?: boolean | undefined;
|
|
4115
|
-
supportsAudio?: boolean | undefined;
|
|
4116
4383
|
supportsPermission?: boolean | undefined;
|
|
4117
4384
|
supportsPlan?: boolean | undefined;
|
|
4118
4385
|
supportsCancel?: boolean | undefined;
|
|
4386
|
+
providers?: {
|
|
4387
|
+
id: "claude" | "codex" | "custom";
|
|
4388
|
+
enabled: boolean;
|
|
4389
|
+
label: string;
|
|
4390
|
+
reason?: string | undefined;
|
|
4391
|
+
supportsImages?: boolean | undefined;
|
|
4392
|
+
supportsPermission?: boolean | undefined;
|
|
4393
|
+
supportsPlan?: boolean | undefined;
|
|
4394
|
+
supportsCancel?: boolean | undefined;
|
|
4395
|
+
}[] | undefined;
|
|
4396
|
+
supportsSessionList?: boolean | undefined;
|
|
4397
|
+
supportsSessionLoad?: boolean | undefined;
|
|
4398
|
+
supportsAudio?: boolean | undefined;
|
|
4119
4399
|
} | undefined;
|
|
4120
4400
|
messages?: {
|
|
4121
4401
|
id: string;
|
|
@@ -4148,6 +4428,34 @@ export declare const protocolMessageSchemas: {
|
|
|
4148
4428
|
readonly "agent.v2.capabilities": z.ZodObject<{
|
|
4149
4429
|
enabled: z.ZodBoolean;
|
|
4150
4430
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
4431
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4432
|
+
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
4433
|
+
label: z.ZodString;
|
|
4434
|
+
enabled: z.ZodBoolean;
|
|
4435
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4436
|
+
supportsImages: z.ZodOptional<z.ZodBoolean>;
|
|
4437
|
+
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
4438
|
+
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
4439
|
+
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
4440
|
+
}, "strip", z.ZodTypeAny, {
|
|
4441
|
+
id: "claude" | "codex" | "custom";
|
|
4442
|
+
enabled: boolean;
|
|
4443
|
+
label: string;
|
|
4444
|
+
reason?: string | undefined;
|
|
4445
|
+
supportsImages?: boolean | undefined;
|
|
4446
|
+
supportsPermission?: boolean | undefined;
|
|
4447
|
+
supportsPlan?: boolean | undefined;
|
|
4448
|
+
supportsCancel?: boolean | undefined;
|
|
4449
|
+
}, {
|
|
4450
|
+
id: "claude" | "codex" | "custom";
|
|
4451
|
+
enabled: boolean;
|
|
4452
|
+
label: string;
|
|
4453
|
+
reason?: string | undefined;
|
|
4454
|
+
supportsImages?: boolean | undefined;
|
|
4455
|
+
supportsPermission?: boolean | undefined;
|
|
4456
|
+
supportsPlan?: boolean | undefined;
|
|
4457
|
+
supportsCancel?: boolean | undefined;
|
|
4458
|
+
}>, "many">>;
|
|
4151
4459
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
4152
4460
|
error: z.ZodOptional<z.ZodString>;
|
|
4153
4461
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4161,29 +4469,49 @@ export declare const protocolMessageSchemas: {
|
|
|
4161
4469
|
workspaceProtocolVersion: z.ZodDefault<z.ZodNumber>;
|
|
4162
4470
|
}, "strip", z.ZodTypeAny, {
|
|
4163
4471
|
enabled: boolean;
|
|
4164
|
-
supportsSessionList: boolean;
|
|
4165
|
-
supportsSessionLoad: boolean;
|
|
4166
4472
|
supportsImages: boolean;
|
|
4167
|
-
supportsAudio: boolean;
|
|
4168
4473
|
supportsPermission: boolean;
|
|
4169
4474
|
supportsPlan: boolean;
|
|
4170
4475
|
supportsCancel: boolean;
|
|
4476
|
+
supportsSessionList: boolean;
|
|
4477
|
+
supportsSessionLoad: boolean;
|
|
4478
|
+
supportsAudio: boolean;
|
|
4171
4479
|
workspaceProtocolVersion: number;
|
|
4172
4480
|
error?: string | undefined;
|
|
4173
4481
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4174
4482
|
protocolVersion?: number | undefined;
|
|
4483
|
+
providers?: {
|
|
4484
|
+
id: "claude" | "codex" | "custom";
|
|
4485
|
+
enabled: boolean;
|
|
4486
|
+
label: string;
|
|
4487
|
+
reason?: string | undefined;
|
|
4488
|
+
supportsImages?: boolean | undefined;
|
|
4489
|
+
supportsPermission?: boolean | undefined;
|
|
4490
|
+
supportsPlan?: boolean | undefined;
|
|
4491
|
+
supportsCancel?: boolean | undefined;
|
|
4492
|
+
}[] | undefined;
|
|
4175
4493
|
}, {
|
|
4176
4494
|
enabled: boolean;
|
|
4177
4495
|
error?: string | undefined;
|
|
4178
4496
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
4179
4497
|
protocolVersion?: number | undefined;
|
|
4180
|
-
supportsSessionList?: boolean | undefined;
|
|
4181
|
-
supportsSessionLoad?: boolean | undefined;
|
|
4182
4498
|
supportsImages?: boolean | undefined;
|
|
4183
|
-
supportsAudio?: boolean | undefined;
|
|
4184
4499
|
supportsPermission?: boolean | undefined;
|
|
4185
4500
|
supportsPlan?: boolean | undefined;
|
|
4186
4501
|
supportsCancel?: boolean | undefined;
|
|
4502
|
+
providers?: {
|
|
4503
|
+
id: "claude" | "codex" | "custom";
|
|
4504
|
+
enabled: boolean;
|
|
4505
|
+
label: string;
|
|
4506
|
+
reason?: string | undefined;
|
|
4507
|
+
supportsImages?: boolean | undefined;
|
|
4508
|
+
supportsPermission?: boolean | undefined;
|
|
4509
|
+
supportsPlan?: boolean | undefined;
|
|
4510
|
+
supportsCancel?: boolean | undefined;
|
|
4511
|
+
}[] | undefined;
|
|
4512
|
+
supportsSessionList?: boolean | undefined;
|
|
4513
|
+
supportsSessionLoad?: boolean | undefined;
|
|
4514
|
+
supportsAudio?: boolean | undefined;
|
|
4187
4515
|
workspaceProtocolVersion?: number | undefined;
|
|
4188
4516
|
}>;
|
|
4189
4517
|
readonly "agent.v2.conversation.open": z.ZodObject<{
|
|
@@ -4326,8 +4654,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4326
4654
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
4327
4655
|
}, "strip", z.ZodTypeAny, {
|
|
4328
4656
|
id: string;
|
|
4329
|
-
kind: "allow" | "deny" | "other";
|
|
4330
4657
|
label: string;
|
|
4658
|
+
kind: "allow" | "deny" | "other";
|
|
4331
4659
|
}, {
|
|
4332
4660
|
id: string;
|
|
4333
4661
|
label: string;
|
|
@@ -4336,8 +4664,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4336
4664
|
}, "strip", z.ZodTypeAny, {
|
|
4337
4665
|
options: {
|
|
4338
4666
|
id: string;
|
|
4339
|
-
kind: "allow" | "deny" | "other";
|
|
4340
4667
|
label: string;
|
|
4668
|
+
kind: "allow" | "deny" | "other";
|
|
4341
4669
|
}[];
|
|
4342
4670
|
requestId: string;
|
|
4343
4671
|
toolName?: string | undefined;
|
|
@@ -4392,8 +4720,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4392
4720
|
permission?: {
|
|
4393
4721
|
options: {
|
|
4394
4722
|
id: string;
|
|
4395
|
-
kind: "allow" | "deny" | "other";
|
|
4396
4723
|
label: string;
|
|
4724
|
+
kind: "allow" | "deny" | "other";
|
|
4397
4725
|
}[];
|
|
4398
4726
|
requestId: string;
|
|
4399
4727
|
toolName?: string | undefined;
|
|
@@ -4493,8 +4821,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4493
4821
|
permission?: {
|
|
4494
4822
|
options: {
|
|
4495
4823
|
id: string;
|
|
4496
|
-
kind: "allow" | "deny" | "other";
|
|
4497
4824
|
label: string;
|
|
4825
|
+
kind: "allow" | "deny" | "other";
|
|
4498
4826
|
}[];
|
|
4499
4827
|
requestId: string;
|
|
4500
4828
|
toolName?: string | undefined;
|
|
@@ -4729,8 +5057,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4729
5057
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
4730
5058
|
}, "strip", z.ZodTypeAny, {
|
|
4731
5059
|
id: string;
|
|
4732
|
-
kind: "allow" | "deny" | "other";
|
|
4733
5060
|
label: string;
|
|
5061
|
+
kind: "allow" | "deny" | "other";
|
|
4734
5062
|
}, {
|
|
4735
5063
|
id: string;
|
|
4736
5064
|
label: string;
|
|
@@ -4806,8 +5134,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4806
5134
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
4807
5135
|
}, "strip", z.ZodTypeAny, {
|
|
4808
5136
|
id: string;
|
|
4809
|
-
kind: "allow" | "deny" | "other";
|
|
4810
5137
|
label: string;
|
|
5138
|
+
kind: "allow" | "deny" | "other";
|
|
4811
5139
|
}, {
|
|
4812
5140
|
id: string;
|
|
4813
5141
|
label: string;
|
|
@@ -4816,8 +5144,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4816
5144
|
}, "strip", z.ZodTypeAny, {
|
|
4817
5145
|
options: {
|
|
4818
5146
|
id: string;
|
|
4819
|
-
kind: "allow" | "deny" | "other";
|
|
4820
5147
|
label: string;
|
|
5148
|
+
kind: "allow" | "deny" | "other";
|
|
4821
5149
|
}[];
|
|
4822
5150
|
requestId: string;
|
|
4823
5151
|
toolName?: string | undefined;
|
|
@@ -4872,8 +5200,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4872
5200
|
permission?: {
|
|
4873
5201
|
options: {
|
|
4874
5202
|
id: string;
|
|
4875
|
-
kind: "allow" | "deny" | "other";
|
|
4876
5203
|
label: string;
|
|
5204
|
+
kind: "allow" | "deny" | "other";
|
|
4877
5205
|
}[];
|
|
4878
5206
|
requestId: string;
|
|
4879
5207
|
toolName?: string | undefined;
|
|
@@ -4928,8 +5256,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4928
5256
|
}, "strip", z.ZodTypeAny, {
|
|
4929
5257
|
options: {
|
|
4930
5258
|
id: string;
|
|
4931
|
-
kind: "allow" | "deny" | "other";
|
|
4932
5259
|
label: string;
|
|
5260
|
+
kind: "allow" | "deny" | "other";
|
|
4933
5261
|
}[];
|
|
4934
5262
|
requestId: string;
|
|
4935
5263
|
conversationId: string;
|
|
@@ -4968,8 +5296,8 @@ export declare const protocolMessageSchemas: {
|
|
|
4968
5296
|
permission?: {
|
|
4969
5297
|
options: {
|
|
4970
5298
|
id: string;
|
|
4971
|
-
kind: "allow" | "deny" | "other";
|
|
4972
5299
|
label: string;
|
|
5300
|
+
kind: "allow" | "deny" | "other";
|
|
4973
5301
|
}[];
|
|
4974
5302
|
requestId: string;
|
|
4975
5303
|
toolName?: string | undefined;
|
|
@@ -5154,8 +5482,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5154
5482
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
5155
5483
|
}, "strip", z.ZodTypeAny, {
|
|
5156
5484
|
id: string;
|
|
5157
|
-
kind: "allow" | "deny" | "other";
|
|
5158
5485
|
label: string;
|
|
5486
|
+
kind: "allow" | "deny" | "other";
|
|
5159
5487
|
}, {
|
|
5160
5488
|
id: string;
|
|
5161
5489
|
label: string;
|
|
@@ -5164,8 +5492,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5164
5492
|
}, "strip", z.ZodTypeAny, {
|
|
5165
5493
|
options: {
|
|
5166
5494
|
id: string;
|
|
5167
|
-
kind: "allow" | "deny" | "other";
|
|
5168
5495
|
label: string;
|
|
5496
|
+
kind: "allow" | "deny" | "other";
|
|
5169
5497
|
}[];
|
|
5170
5498
|
requestId: string;
|
|
5171
5499
|
toolName?: string | undefined;
|
|
@@ -5220,8 +5548,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5220
5548
|
permission?: {
|
|
5221
5549
|
options: {
|
|
5222
5550
|
id: string;
|
|
5223
|
-
kind: "allow" | "deny" | "other";
|
|
5224
5551
|
label: string;
|
|
5552
|
+
kind: "allow" | "deny" | "other";
|
|
5225
5553
|
}[];
|
|
5226
5554
|
requestId: string;
|
|
5227
5555
|
toolName?: string | undefined;
|
|
@@ -5321,8 +5649,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5321
5649
|
permission?: {
|
|
5322
5650
|
options: {
|
|
5323
5651
|
id: string;
|
|
5324
|
-
kind: "allow" | "deny" | "other";
|
|
5325
5652
|
label: string;
|
|
5653
|
+
kind: "allow" | "deny" | "other";
|
|
5326
5654
|
}[];
|
|
5327
5655
|
requestId: string;
|
|
5328
5656
|
toolName?: string | undefined;
|
|
@@ -5507,8 +5835,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5507
5835
|
kind: z.ZodDefault<z.ZodEnum<["allow", "deny", "other"]>>;
|
|
5508
5836
|
}, "strip", z.ZodTypeAny, {
|
|
5509
5837
|
id: string;
|
|
5510
|
-
kind: "allow" | "deny" | "other";
|
|
5511
5838
|
label: string;
|
|
5839
|
+
kind: "allow" | "deny" | "other";
|
|
5512
5840
|
}, {
|
|
5513
5841
|
id: string;
|
|
5514
5842
|
label: string;
|
|
@@ -5517,8 +5845,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5517
5845
|
}, "strip", z.ZodTypeAny, {
|
|
5518
5846
|
options: {
|
|
5519
5847
|
id: string;
|
|
5520
|
-
kind: "allow" | "deny" | "other";
|
|
5521
5848
|
label: string;
|
|
5849
|
+
kind: "allow" | "deny" | "other";
|
|
5522
5850
|
}[];
|
|
5523
5851
|
requestId: string;
|
|
5524
5852
|
toolName?: string | undefined;
|
|
@@ -5573,8 +5901,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5573
5901
|
permission?: {
|
|
5574
5902
|
options: {
|
|
5575
5903
|
id: string;
|
|
5576
|
-
kind: "allow" | "deny" | "other";
|
|
5577
5904
|
label: string;
|
|
5905
|
+
kind: "allow" | "deny" | "other";
|
|
5578
5906
|
}[];
|
|
5579
5907
|
requestId: string;
|
|
5580
5908
|
toolName?: string | undefined;
|
|
@@ -5732,8 +6060,8 @@ export declare const protocolMessageSchemas: {
|
|
|
5732
6060
|
permission?: {
|
|
5733
6061
|
options: {
|
|
5734
6062
|
id: string;
|
|
5735
|
-
kind: "allow" | "deny" | "other";
|
|
5736
6063
|
label: string;
|
|
6064
|
+
kind: "allow" | "deny" | "other";
|
|
5737
6065
|
}[];
|
|
5738
6066
|
requestId: string;
|
|
5739
6067
|
toolName?: string | undefined;
|