@linkshell/gateway 0.3.4 → 0.3.6
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/relay.js +5 -0
- package/dist/gateway/src/relay.js.map +1 -1
- package/dist/gateway/tsconfig.tsbuildinfo +1 -1
- package/dist/shared-protocol/src/index.d.ts +480 -0
- package/dist/shared-protocol/src/index.js +56 -0
- package/dist/shared-protocol/src/index.js.map +1 -1
- package/package.json +10 -10
- package/src/relay.ts +5 -0
|
@@ -881,6 +881,9 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
881
881
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
882
882
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
883
883
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
884
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
885
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
886
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
884
887
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
885
888
|
id: z.ZodString;
|
|
886
889
|
label: z.ZodString;
|
|
@@ -958,6 +961,9 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
958
961
|
supportsPermission?: boolean | undefined;
|
|
959
962
|
supportsPlan?: boolean | undefined;
|
|
960
963
|
supportsCancel?: boolean | undefined;
|
|
964
|
+
providerProtocol?: string | undefined;
|
|
965
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
966
|
+
modelListError?: string | undefined;
|
|
961
967
|
models?: {
|
|
962
968
|
id: string;
|
|
963
969
|
label: string;
|
|
@@ -995,6 +1001,9 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
995
1001
|
supportsPermission?: boolean | undefined;
|
|
996
1002
|
supportsPlan?: boolean | undefined;
|
|
997
1003
|
supportsCancel?: boolean | undefined;
|
|
1004
|
+
providerProtocol?: string | undefined;
|
|
1005
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
1006
|
+
modelListError?: string | undefined;
|
|
998
1007
|
models?: {
|
|
999
1008
|
id: string;
|
|
1000
1009
|
label: string;
|
|
@@ -1037,6 +1046,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1037
1046
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
1038
1047
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
1039
1048
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
1049
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
1051
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
1040
1052
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1041
1053
|
id: z.ZodString;
|
|
1042
1054
|
label: z.ZodString;
|
|
@@ -1114,6 +1126,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1114
1126
|
supportsPermission?: boolean | undefined;
|
|
1115
1127
|
supportsPlan?: boolean | undefined;
|
|
1116
1128
|
supportsCancel?: boolean | undefined;
|
|
1129
|
+
providerProtocol?: string | undefined;
|
|
1130
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
1131
|
+
modelListError?: string | undefined;
|
|
1117
1132
|
models?: {
|
|
1118
1133
|
id: string;
|
|
1119
1134
|
label: string;
|
|
@@ -1151,6 +1166,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1151
1166
|
supportsPermission?: boolean | undefined;
|
|
1152
1167
|
supportsPlan?: boolean | undefined;
|
|
1153
1168
|
supportsCancel?: boolean | undefined;
|
|
1169
|
+
providerProtocol?: string | undefined;
|
|
1170
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
1171
|
+
modelListError?: string | undefined;
|
|
1154
1172
|
models?: {
|
|
1155
1173
|
id: string;
|
|
1156
1174
|
label: string;
|
|
@@ -1181,6 +1199,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1181
1199
|
features?: Record<string, boolean> | undefined;
|
|
1182
1200
|
}>, "many">>;
|
|
1183
1201
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
1202
|
+
capabilitiesRevision: z.ZodOptional<z.ZodNumber>;
|
|
1184
1203
|
error: z.ZodOptional<z.ZodString>;
|
|
1185
1204
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
1186
1205
|
supportsSessionLoad: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1211,6 +1230,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1211
1230
|
supportsPermission?: boolean | undefined;
|
|
1212
1231
|
supportsPlan?: boolean | undefined;
|
|
1213
1232
|
supportsCancel?: boolean | undefined;
|
|
1233
|
+
providerProtocol?: string | undefined;
|
|
1234
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
1235
|
+
modelListError?: string | undefined;
|
|
1214
1236
|
models?: {
|
|
1215
1237
|
id: string;
|
|
1216
1238
|
label: string;
|
|
@@ -1240,6 +1262,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1240
1262
|
currentMode?: string | undefined;
|
|
1241
1263
|
features?: Record<string, boolean> | undefined;
|
|
1242
1264
|
}[] | undefined;
|
|
1265
|
+
capabilitiesRevision?: number | undefined;
|
|
1243
1266
|
}, {
|
|
1244
1267
|
enabled: boolean;
|
|
1245
1268
|
protocolVersion?: number | undefined;
|
|
@@ -1259,6 +1282,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1259
1282
|
supportsPermission?: boolean | undefined;
|
|
1260
1283
|
supportsPlan?: boolean | undefined;
|
|
1261
1284
|
supportsCancel?: boolean | undefined;
|
|
1285
|
+
providerProtocol?: string | undefined;
|
|
1286
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
1287
|
+
modelListError?: string | undefined;
|
|
1262
1288
|
models?: {
|
|
1263
1289
|
id: string;
|
|
1264
1290
|
label: string;
|
|
@@ -1288,6 +1314,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1288
1314
|
currentMode?: string | undefined;
|
|
1289
1315
|
features?: Record<string, boolean> | undefined;
|
|
1290
1316
|
}[] | undefined;
|
|
1317
|
+
capabilitiesRevision?: number | undefined;
|
|
1291
1318
|
supportsSessionList?: boolean | undefined;
|
|
1292
1319
|
supportsSessionLoad?: boolean | undefined;
|
|
1293
1320
|
supportsAudio?: boolean | undefined;
|
|
@@ -2235,6 +2262,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2235
2262
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
2236
2263
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
2237
2264
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
2265
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
2266
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
2267
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
2238
2268
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2239
2269
|
id: z.ZodString;
|
|
2240
2270
|
label: z.ZodString;
|
|
@@ -2312,6 +2342,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2312
2342
|
supportsPermission?: boolean | undefined;
|
|
2313
2343
|
supportsPlan?: boolean | undefined;
|
|
2314
2344
|
supportsCancel?: boolean | undefined;
|
|
2345
|
+
providerProtocol?: string | undefined;
|
|
2346
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
2347
|
+
modelListError?: string | undefined;
|
|
2315
2348
|
models?: {
|
|
2316
2349
|
id: string;
|
|
2317
2350
|
label: string;
|
|
@@ -2349,6 +2382,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2349
2382
|
supportsPermission?: boolean | undefined;
|
|
2350
2383
|
supportsPlan?: boolean | undefined;
|
|
2351
2384
|
supportsCancel?: boolean | undefined;
|
|
2385
|
+
providerProtocol?: string | undefined;
|
|
2386
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
2387
|
+
modelListError?: string | undefined;
|
|
2352
2388
|
models?: {
|
|
2353
2389
|
id: string;
|
|
2354
2390
|
label: string;
|
|
@@ -2379,6 +2415,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2379
2415
|
features?: Record<string, boolean> | undefined;
|
|
2380
2416
|
}>, "many">>;
|
|
2381
2417
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
2418
|
+
capabilitiesRevision: z.ZodOptional<z.ZodNumber>;
|
|
2382
2419
|
error: z.ZodOptional<z.ZodString>;
|
|
2383
2420
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
2384
2421
|
supportsSessionLoad: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2412,6 +2449,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2412
2449
|
supportsPermission?: boolean | undefined;
|
|
2413
2450
|
supportsPlan?: boolean | undefined;
|
|
2414
2451
|
supportsCancel?: boolean | undefined;
|
|
2452
|
+
providerProtocol?: string | undefined;
|
|
2453
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
2454
|
+
modelListError?: string | undefined;
|
|
2415
2455
|
models?: {
|
|
2416
2456
|
id: string;
|
|
2417
2457
|
label: string;
|
|
@@ -2441,6 +2481,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2441
2481
|
currentMode?: string | undefined;
|
|
2442
2482
|
features?: Record<string, boolean> | undefined;
|
|
2443
2483
|
}[] | undefined;
|
|
2484
|
+
capabilitiesRevision?: number | undefined;
|
|
2444
2485
|
}, {
|
|
2445
2486
|
enabled: boolean;
|
|
2446
2487
|
protocolVersion?: number | undefined;
|
|
@@ -2460,6 +2501,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2460
2501
|
supportsPermission?: boolean | undefined;
|
|
2461
2502
|
supportsPlan?: boolean | undefined;
|
|
2462
2503
|
supportsCancel?: boolean | undefined;
|
|
2504
|
+
providerProtocol?: string | undefined;
|
|
2505
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
2506
|
+
modelListError?: string | undefined;
|
|
2463
2507
|
models?: {
|
|
2464
2508
|
id: string;
|
|
2465
2509
|
label: string;
|
|
@@ -2489,6 +2533,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2489
2533
|
currentMode?: string | undefined;
|
|
2490
2534
|
features?: Record<string, boolean> | undefined;
|
|
2491
2535
|
}[] | undefined;
|
|
2536
|
+
capabilitiesRevision?: number | undefined;
|
|
2492
2537
|
supportsSessionList?: boolean | undefined;
|
|
2493
2538
|
supportsSessionLoad?: boolean | undefined;
|
|
2494
2539
|
supportsAudio?: boolean | undefined;
|
|
@@ -8649,6 +8694,227 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8649
8694
|
isStreaming?: boolean | undefined;
|
|
8650
8695
|
} | undefined;
|
|
8651
8696
|
}>;
|
|
8697
|
+
export declare const codexJsonRpcErrorSchema: z.ZodObject<{
|
|
8698
|
+
code: z.ZodNumber;
|
|
8699
|
+
message: z.ZodString;
|
|
8700
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8701
|
+
[key: string]: unknown;
|
|
8702
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8703
|
+
[key: string]: unknown;
|
|
8704
|
+
} | null>>;
|
|
8705
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8706
|
+
code: z.ZodNumber;
|
|
8707
|
+
message: z.ZodString;
|
|
8708
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8709
|
+
[key: string]: unknown;
|
|
8710
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8711
|
+
[key: string]: unknown;
|
|
8712
|
+
} | null>>;
|
|
8713
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8714
|
+
code: z.ZodNumber;
|
|
8715
|
+
message: z.ZodString;
|
|
8716
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8717
|
+
[key: string]: unknown;
|
|
8718
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8719
|
+
[key: string]: unknown;
|
|
8720
|
+
} | null>>;
|
|
8721
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
8722
|
+
export declare const agentCodexRpcPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
8723
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8724
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8725
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8726
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8727
|
+
[key: string]: unknown;
|
|
8728
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8729
|
+
[key: string]: unknown;
|
|
8730
|
+
} | null>>;
|
|
8731
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8732
|
+
[key: string]: unknown;
|
|
8733
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8734
|
+
[key: string]: unknown;
|
|
8735
|
+
} | null>>;
|
|
8736
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8737
|
+
code: z.ZodNumber;
|
|
8738
|
+
message: z.ZodString;
|
|
8739
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8740
|
+
[key: string]: unknown;
|
|
8741
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8742
|
+
[key: string]: unknown;
|
|
8743
|
+
} | null>>;
|
|
8744
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8745
|
+
code: z.ZodNumber;
|
|
8746
|
+
message: z.ZodString;
|
|
8747
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8748
|
+
[key: string]: unknown;
|
|
8749
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8750
|
+
[key: string]: unknown;
|
|
8751
|
+
} | null>>;
|
|
8752
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8753
|
+
code: z.ZodNumber;
|
|
8754
|
+
message: z.ZodString;
|
|
8755
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8756
|
+
[key: string]: unknown;
|
|
8757
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8758
|
+
[key: string]: unknown;
|
|
8759
|
+
} | null>>;
|
|
8760
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8761
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8762
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8763
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8764
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8765
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8766
|
+
[key: string]: unknown;
|
|
8767
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8768
|
+
[key: string]: unknown;
|
|
8769
|
+
} | null>>;
|
|
8770
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8771
|
+
[key: string]: unknown;
|
|
8772
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8773
|
+
[key: string]: unknown;
|
|
8774
|
+
} | null>>;
|
|
8775
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8776
|
+
code: z.ZodNumber;
|
|
8777
|
+
message: z.ZodString;
|
|
8778
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8779
|
+
[key: string]: unknown;
|
|
8780
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8781
|
+
[key: string]: unknown;
|
|
8782
|
+
} | null>>;
|
|
8783
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8784
|
+
code: z.ZodNumber;
|
|
8785
|
+
message: z.ZodString;
|
|
8786
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8787
|
+
[key: string]: unknown;
|
|
8788
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8789
|
+
[key: string]: unknown;
|
|
8790
|
+
} | null>>;
|
|
8791
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8792
|
+
code: z.ZodNumber;
|
|
8793
|
+
message: z.ZodString;
|
|
8794
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8795
|
+
[key: string]: unknown;
|
|
8796
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8797
|
+
[key: string]: unknown;
|
|
8798
|
+
} | null>>;
|
|
8799
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8800
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8801
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8802
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8803
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8804
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8805
|
+
[key: string]: unknown;
|
|
8806
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8807
|
+
[key: string]: unknown;
|
|
8808
|
+
} | null>>;
|
|
8809
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8810
|
+
[key: string]: unknown;
|
|
8811
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8812
|
+
[key: string]: unknown;
|
|
8813
|
+
} | null>>;
|
|
8814
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8815
|
+
code: z.ZodNumber;
|
|
8816
|
+
message: z.ZodString;
|
|
8817
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8818
|
+
[key: string]: unknown;
|
|
8819
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8820
|
+
[key: string]: unknown;
|
|
8821
|
+
} | null>>;
|
|
8822
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8823
|
+
code: z.ZodNumber;
|
|
8824
|
+
message: z.ZodString;
|
|
8825
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8826
|
+
[key: string]: unknown;
|
|
8827
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8828
|
+
[key: string]: unknown;
|
|
8829
|
+
} | null>>;
|
|
8830
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8831
|
+
code: z.ZodNumber;
|
|
8832
|
+
message: z.ZodString;
|
|
8833
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8834
|
+
[key: string]: unknown;
|
|
8835
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8836
|
+
[key: string]: unknown;
|
|
8837
|
+
} | null>>;
|
|
8838
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8839
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
8840
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8841
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8842
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8843
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8844
|
+
[key: string]: unknown;
|
|
8845
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8846
|
+
[key: string]: unknown;
|
|
8847
|
+
} | null>>;
|
|
8848
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8849
|
+
[key: string]: unknown;
|
|
8850
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8851
|
+
[key: string]: unknown;
|
|
8852
|
+
} | null>>;
|
|
8853
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8854
|
+
code: z.ZodNumber;
|
|
8855
|
+
message: z.ZodString;
|
|
8856
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8857
|
+
[key: string]: unknown;
|
|
8858
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8859
|
+
[key: string]: unknown;
|
|
8860
|
+
} | null>>;
|
|
8861
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8862
|
+
code: z.ZodNumber;
|
|
8863
|
+
message: z.ZodString;
|
|
8864
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8865
|
+
[key: string]: unknown;
|
|
8866
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8867
|
+
[key: string]: unknown;
|
|
8868
|
+
} | null>>;
|
|
8869
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8870
|
+
code: z.ZodNumber;
|
|
8871
|
+
message: z.ZodString;
|
|
8872
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8873
|
+
[key: string]: unknown;
|
|
8874
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8875
|
+
[key: string]: unknown;
|
|
8876
|
+
} | null>>;
|
|
8877
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8878
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8879
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8880
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8881
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8882
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8883
|
+
[key: string]: unknown;
|
|
8884
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8885
|
+
[key: string]: unknown;
|
|
8886
|
+
} | null>>;
|
|
8887
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8888
|
+
[key: string]: unknown;
|
|
8889
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8890
|
+
[key: string]: unknown;
|
|
8891
|
+
} | null>>;
|
|
8892
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8893
|
+
code: z.ZodNumber;
|
|
8894
|
+
message: z.ZodString;
|
|
8895
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8896
|
+
[key: string]: unknown;
|
|
8897
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8898
|
+
[key: string]: unknown;
|
|
8899
|
+
} | null>>;
|
|
8900
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8901
|
+
code: z.ZodNumber;
|
|
8902
|
+
message: z.ZodString;
|
|
8903
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8904
|
+
[key: string]: unknown;
|
|
8905
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8906
|
+
[key: string]: unknown;
|
|
8907
|
+
} | null>>;
|
|
8908
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8909
|
+
code: z.ZodNumber;
|
|
8910
|
+
message: z.ZodString;
|
|
8911
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8912
|
+
[key: string]: unknown;
|
|
8913
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8914
|
+
[key: string]: unknown;
|
|
8915
|
+
} | null>>;
|
|
8916
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8917
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
8652
8918
|
export declare const protocolMessageSchemas: {
|
|
8653
8919
|
readonly "device.connect": z.ZodObject<{
|
|
8654
8920
|
role: z.ZodEnum<["host", "client"]>;
|
|
@@ -9303,6 +9569,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9303
9569
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
9304
9570
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
9305
9571
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
9572
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
9573
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
9574
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
9306
9575
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9307
9576
|
id: z.ZodString;
|
|
9308
9577
|
label: z.ZodString;
|
|
@@ -9380,6 +9649,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9380
9649
|
supportsPermission?: boolean | undefined;
|
|
9381
9650
|
supportsPlan?: boolean | undefined;
|
|
9382
9651
|
supportsCancel?: boolean | undefined;
|
|
9652
|
+
providerProtocol?: string | undefined;
|
|
9653
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
9654
|
+
modelListError?: string | undefined;
|
|
9383
9655
|
models?: {
|
|
9384
9656
|
id: string;
|
|
9385
9657
|
label: string;
|
|
@@ -9417,6 +9689,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9417
9689
|
supportsPermission?: boolean | undefined;
|
|
9418
9690
|
supportsPlan?: boolean | undefined;
|
|
9419
9691
|
supportsCancel?: boolean | undefined;
|
|
9692
|
+
providerProtocol?: string | undefined;
|
|
9693
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
9694
|
+
modelListError?: string | undefined;
|
|
9420
9695
|
models?: {
|
|
9421
9696
|
id: string;
|
|
9422
9697
|
label: string;
|
|
@@ -9447,6 +9722,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9447
9722
|
features?: Record<string, boolean> | undefined;
|
|
9448
9723
|
}>, "many">>;
|
|
9449
9724
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
9725
|
+
capabilitiesRevision: z.ZodOptional<z.ZodNumber>;
|
|
9450
9726
|
error: z.ZodOptional<z.ZodString>;
|
|
9451
9727
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
9452
9728
|
supportsSessionLoad: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -9480,6 +9756,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9480
9756
|
supportsPermission?: boolean | undefined;
|
|
9481
9757
|
supportsPlan?: boolean | undefined;
|
|
9482
9758
|
supportsCancel?: boolean | undefined;
|
|
9759
|
+
providerProtocol?: string | undefined;
|
|
9760
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
9761
|
+
modelListError?: string | undefined;
|
|
9483
9762
|
models?: {
|
|
9484
9763
|
id: string;
|
|
9485
9764
|
label: string;
|
|
@@ -9509,6 +9788,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9509
9788
|
currentMode?: string | undefined;
|
|
9510
9789
|
features?: Record<string, boolean> | undefined;
|
|
9511
9790
|
}[] | undefined;
|
|
9791
|
+
capabilitiesRevision?: number | undefined;
|
|
9512
9792
|
}, {
|
|
9513
9793
|
enabled: boolean;
|
|
9514
9794
|
protocolVersion?: number | undefined;
|
|
@@ -9528,6 +9808,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9528
9808
|
supportsPermission?: boolean | undefined;
|
|
9529
9809
|
supportsPlan?: boolean | undefined;
|
|
9530
9810
|
supportsCancel?: boolean | undefined;
|
|
9811
|
+
providerProtocol?: string | undefined;
|
|
9812
|
+
modelsSource?: "fallback" | "runtime" | "static" | "unavailable" | undefined;
|
|
9813
|
+
modelListError?: string | undefined;
|
|
9531
9814
|
models?: {
|
|
9532
9815
|
id: string;
|
|
9533
9816
|
label: string;
|
|
@@ -9557,6 +9840,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9557
9840
|
currentMode?: string | undefined;
|
|
9558
9841
|
features?: Record<string, boolean> | undefined;
|
|
9559
9842
|
}[] | undefined;
|
|
9843
|
+
capabilitiesRevision?: number | undefined;
|
|
9560
9844
|
supportsSessionList?: boolean | undefined;
|
|
9561
9845
|
supportsSessionLoad?: boolean | undefined;
|
|
9562
9846
|
supportsAudio?: boolean | undefined;
|
|
@@ -15717,6 +16001,202 @@ export declare const protocolMessageSchemas: {
|
|
|
15717
16001
|
textDelta?: string | undefined;
|
|
15718
16002
|
} | undefined;
|
|
15719
16003
|
}>;
|
|
16004
|
+
readonly "agent.codex.rpc": z.ZodEffects<z.ZodObject<{
|
|
16005
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16006
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16007
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16008
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16009
|
+
[key: string]: unknown;
|
|
16010
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16011
|
+
[key: string]: unknown;
|
|
16012
|
+
} | null>>;
|
|
16013
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16014
|
+
[key: string]: unknown;
|
|
16015
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16016
|
+
[key: string]: unknown;
|
|
16017
|
+
} | null>>;
|
|
16018
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16019
|
+
code: z.ZodNumber;
|
|
16020
|
+
message: z.ZodString;
|
|
16021
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16022
|
+
[key: string]: unknown;
|
|
16023
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16024
|
+
[key: string]: unknown;
|
|
16025
|
+
} | null>>;
|
|
16026
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16027
|
+
code: z.ZodNumber;
|
|
16028
|
+
message: z.ZodString;
|
|
16029
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16030
|
+
[key: string]: unknown;
|
|
16031
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16032
|
+
[key: string]: unknown;
|
|
16033
|
+
} | null>>;
|
|
16034
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16035
|
+
code: z.ZodNumber;
|
|
16036
|
+
message: z.ZodString;
|
|
16037
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16038
|
+
[key: string]: unknown;
|
|
16039
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16040
|
+
[key: string]: unknown;
|
|
16041
|
+
} | null>>;
|
|
16042
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16043
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16044
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16045
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16046
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16047
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16048
|
+
[key: string]: unknown;
|
|
16049
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16050
|
+
[key: string]: unknown;
|
|
16051
|
+
} | null>>;
|
|
16052
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16053
|
+
[key: string]: unknown;
|
|
16054
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16055
|
+
[key: string]: unknown;
|
|
16056
|
+
} | null>>;
|
|
16057
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16058
|
+
code: z.ZodNumber;
|
|
16059
|
+
message: z.ZodString;
|
|
16060
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16061
|
+
[key: string]: unknown;
|
|
16062
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16063
|
+
[key: string]: unknown;
|
|
16064
|
+
} | null>>;
|
|
16065
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16066
|
+
code: z.ZodNumber;
|
|
16067
|
+
message: z.ZodString;
|
|
16068
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16069
|
+
[key: string]: unknown;
|
|
16070
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16071
|
+
[key: string]: unknown;
|
|
16072
|
+
} | null>>;
|
|
16073
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16074
|
+
code: z.ZodNumber;
|
|
16075
|
+
message: z.ZodString;
|
|
16076
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16077
|
+
[key: string]: unknown;
|
|
16078
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16079
|
+
[key: string]: unknown;
|
|
16080
|
+
} | null>>;
|
|
16081
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16082
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16083
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16084
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16085
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16086
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16087
|
+
[key: string]: unknown;
|
|
16088
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16089
|
+
[key: string]: unknown;
|
|
16090
|
+
} | null>>;
|
|
16091
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16092
|
+
[key: string]: unknown;
|
|
16093
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16094
|
+
[key: string]: unknown;
|
|
16095
|
+
} | null>>;
|
|
16096
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16097
|
+
code: z.ZodNumber;
|
|
16098
|
+
message: z.ZodString;
|
|
16099
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16100
|
+
[key: string]: unknown;
|
|
16101
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16102
|
+
[key: string]: unknown;
|
|
16103
|
+
} | null>>;
|
|
16104
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16105
|
+
code: z.ZodNumber;
|
|
16106
|
+
message: z.ZodString;
|
|
16107
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16108
|
+
[key: string]: unknown;
|
|
16109
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16110
|
+
[key: string]: unknown;
|
|
16111
|
+
} | null>>;
|
|
16112
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16113
|
+
code: z.ZodNumber;
|
|
16114
|
+
message: z.ZodString;
|
|
16115
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16116
|
+
[key: string]: unknown;
|
|
16117
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16118
|
+
[key: string]: unknown;
|
|
16119
|
+
} | null>>;
|
|
16120
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16121
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
16122
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16123
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16124
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16125
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16126
|
+
[key: string]: unknown;
|
|
16127
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16128
|
+
[key: string]: unknown;
|
|
16129
|
+
} | null>>;
|
|
16130
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16131
|
+
[key: string]: unknown;
|
|
16132
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16133
|
+
[key: string]: unknown;
|
|
16134
|
+
} | null>>;
|
|
16135
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16136
|
+
code: z.ZodNumber;
|
|
16137
|
+
message: z.ZodString;
|
|
16138
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16139
|
+
[key: string]: unknown;
|
|
16140
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16141
|
+
[key: string]: unknown;
|
|
16142
|
+
} | null>>;
|
|
16143
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16144
|
+
code: z.ZodNumber;
|
|
16145
|
+
message: z.ZodString;
|
|
16146
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16147
|
+
[key: string]: unknown;
|
|
16148
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16149
|
+
[key: string]: unknown;
|
|
16150
|
+
} | null>>;
|
|
16151
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16152
|
+
code: z.ZodNumber;
|
|
16153
|
+
message: z.ZodString;
|
|
16154
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16155
|
+
[key: string]: unknown;
|
|
16156
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16157
|
+
[key: string]: unknown;
|
|
16158
|
+
} | null>>;
|
|
16159
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16160
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16161
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16162
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16163
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16164
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16165
|
+
[key: string]: unknown;
|
|
16166
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16167
|
+
[key: string]: unknown;
|
|
16168
|
+
} | null>>;
|
|
16169
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16170
|
+
[key: string]: unknown;
|
|
16171
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16172
|
+
[key: string]: unknown;
|
|
16173
|
+
} | null>>;
|
|
16174
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16175
|
+
code: z.ZodNumber;
|
|
16176
|
+
message: z.ZodString;
|
|
16177
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16178
|
+
[key: string]: unknown;
|
|
16179
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16180
|
+
[key: string]: unknown;
|
|
16181
|
+
} | null>>;
|
|
16182
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16183
|
+
code: z.ZodNumber;
|
|
16184
|
+
message: z.ZodString;
|
|
16185
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16186
|
+
[key: string]: unknown;
|
|
16187
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16188
|
+
[key: string]: unknown;
|
|
16189
|
+
} | null>>;
|
|
16190
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16191
|
+
code: z.ZodNumber;
|
|
16192
|
+
message: z.ZodString;
|
|
16193
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16194
|
+
[key: string]: unknown;
|
|
16195
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16196
|
+
[key: string]: unknown;
|
|
16197
|
+
} | null>>;
|
|
16198
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16199
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
15720
16200
|
};
|
|
15721
16201
|
export type ProtocolMessageType = keyof typeof protocolMessageSchemas;
|
|
15722
16202
|
export declare function createEnvelope<T>(input: {
|