@openai/agents-core 0.0.6 → 0.0.8
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/agent.d.ts +17 -1
- package/dist/agent.js +14 -0
- package/dist/agent.js.map +1 -1
- package/dist/agent.mjs +14 -0
- package/dist/agent.mjs.map +1 -1
- package/dist/guardrail.d.ts +50 -5
- package/dist/guardrail.js +2 -5
- package/dist/guardrail.js.map +1 -1
- package/dist/guardrail.mjs +2 -5
- package/dist/guardrail.mjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/items.d.ts +18 -10
- package/dist/items.js.map +1 -1
- package/dist/items.mjs.map +1 -1
- package/dist/lifecycle.d.ts +20 -4
- package/dist/lifecycle.js.map +1 -1
- package/dist/lifecycle.mjs.map +1 -1
- package/dist/mcp.d.ts +37 -0
- package/dist/mcp.js +52 -1
- package/dist/mcp.js.map +1 -1
- package/dist/mcp.mjs +52 -1
- package/dist/mcp.mjs.map +1 -1
- package/dist/metadata.js +2 -2
- package/dist/metadata.mjs +2 -2
- package/dist/model.d.ts +30 -1
- package/dist/run.js +14 -1
- package/dist/run.js.map +1 -1
- package/dist/run.mjs +14 -1
- package/dist/run.mjs.map +1 -1
- package/dist/runContext.js +10 -2
- package/dist/runContext.js.map +1 -1
- package/dist/runContext.mjs +10 -2
- package/dist/runContext.mjs.map +1 -1
- package/dist/runImplementation.d.ts +7 -2
- package/dist/runImplementation.js +146 -20
- package/dist/runImplementation.js.map +1 -1
- package/dist/runImplementation.mjs +146 -20
- package/dist/runImplementation.mjs.map +1 -1
- package/dist/runState.d.ts +395 -62
- package/dist/runState.js +39 -1
- package/dist/runState.js.map +1 -1
- package/dist/runState.mjs +39 -1
- package/dist/runState.mjs.map +1 -1
- package/dist/shims/mcp-server/browser.d.ts +17 -0
- package/dist/shims/mcp-server/browser.js +42 -0
- package/dist/shims/mcp-server/browser.js.map +1 -0
- package/dist/shims/mcp-server/browser.mjs +42 -0
- package/dist/shims/mcp-server/browser.mjs.map +1 -0
- package/dist/shims/mcp-server/node.d.ts +39 -0
- package/dist/shims/{mcp-stdio → mcp-server}/node.js +89 -1
- package/dist/shims/mcp-server/node.js.map +1 -0
- package/dist/shims/{mcp-stdio → mcp-server}/node.mjs +89 -1
- package/dist/shims/mcp-server/node.mjs.map +1 -0
- package/dist/shims/shims-browser.d.ts +1 -1
- package/dist/shims/shims-browser.js +1 -1
- package/dist/shims/shims-browser.js.map +1 -1
- package/dist/shims/shims-browser.mjs +1 -1
- package/dist/shims/shims-browser.mjs.map +1 -1
- package/dist/shims/shims-node.d.ts +1 -1
- package/dist/shims/shims-node.js +1 -1
- package/dist/shims/shims-node.js.map +1 -1
- package/dist/shims/shims-node.mjs +1 -1
- package/dist/shims/shims-node.mjs.map +1 -1
- package/dist/shims/shims-workerd.d.ts +1 -1
- package/dist/shims/shims-workerd.js +1 -1
- package/dist/shims/shims-workerd.js.map +1 -1
- package/dist/shims/shims-workerd.mjs +1 -1
- package/dist/shims/shims-workerd.mjs.map +1 -1
- package/dist/tool.d.ts +55 -0
- package/dist/tool.js +54 -0
- package/dist/tool.js.map +1 -1
- package/dist/tool.mjs +54 -0
- package/dist/tool.mjs.map +1 -1
- package/dist/tracing/spans.d.ts +1 -0
- package/dist/tracing/spans.js.map +1 -1
- package/dist/tracing/spans.mjs.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs +1 -0
- package/dist/types/index.mjs.map +1 -1
- package/dist/types/protocol.d.ts +64 -20
- package/dist/types/protocol.js +7 -0
- package/dist/types/protocol.js.map +1 -1
- package/dist/types/protocol.mjs +7 -0
- package/dist/types/protocol.mjs.map +1 -1
- package/dist/types/providerData.d.ts +57 -0
- package/dist/types/providerData.js +2 -0
- package/dist/types/providerData.js.map +1 -0
- package/dist/types/providerData.mjs +2 -0
- package/dist/types/providerData.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/shims/mcp-stdio/browser.d.ts +0 -9
- package/dist/shims/mcp-stdio/browser.js +0 -22
- package/dist/shims/mcp-stdio/browser.js.map +0 -1
- package/dist/shims/mcp-stdio/browser.mjs +0 -22
- package/dist/shims/mcp-stdio/browser.mjs.map +0 -1
- package/dist/shims/mcp-stdio/node.d.ts +0 -22
- package/dist/shims/mcp-stdio/node.js.map +0 -1
- package/dist/shims/mcp-stdio/node.mjs.map +0 -1
package/dist/runState.d.ts
CHANGED
@@ -409,6 +409,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
409
409
|
} & {
|
410
410
|
type: z.ZodLiteral<"hosted_tool_call">;
|
411
411
|
name: z.ZodString;
|
412
|
+
arguments: z.ZodOptional<z.ZodString>;
|
412
413
|
status: z.ZodOptional<z.ZodString>;
|
413
414
|
output: z.ZodOptional<z.ZodString>;
|
414
415
|
}, "strip", z.ZodTypeAny, {
|
@@ -417,6 +418,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
417
418
|
status?: string | undefined;
|
418
419
|
providerData?: Record<string, any> | undefined;
|
419
420
|
id?: string | undefined;
|
421
|
+
arguments?: string | undefined;
|
420
422
|
output?: string | undefined;
|
421
423
|
}, {
|
422
424
|
type: "hosted_tool_call";
|
@@ -424,6 +426,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
424
426
|
status?: string | undefined;
|
425
427
|
providerData?: Record<string, any> | undefined;
|
426
428
|
id?: string | undefined;
|
429
|
+
arguments?: string | undefined;
|
427
430
|
output?: string | undefined;
|
428
431
|
}>, z.ZodObject<{
|
429
432
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
@@ -438,16 +441,16 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
438
441
|
}, "strip", z.ZodTypeAny, {
|
439
442
|
type: "function_call";
|
440
443
|
name: string;
|
441
|
-
callId: string;
|
442
444
|
arguments: string;
|
445
|
+
callId: string;
|
443
446
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
444
447
|
providerData?: Record<string, any> | undefined;
|
445
448
|
id?: string | undefined;
|
446
449
|
}, {
|
447
450
|
type: "function_call";
|
448
451
|
name: string;
|
449
|
-
callId: string;
|
450
452
|
arguments: string;
|
453
|
+
callId: string;
|
451
454
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
452
455
|
providerData?: Record<string, any> | undefined;
|
453
456
|
id?: string | undefined;
|
@@ -998,6 +1001,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
998
1001
|
} & {
|
999
1002
|
type: z.ZodLiteral<"hosted_tool_call">;
|
1000
1003
|
name: z.ZodString;
|
1004
|
+
arguments: z.ZodOptional<z.ZodString>;
|
1001
1005
|
status: z.ZodOptional<z.ZodString>;
|
1002
1006
|
output: z.ZodOptional<z.ZodString>;
|
1003
1007
|
}, "strip", z.ZodTypeAny, {
|
@@ -1006,6 +1010,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1006
1010
|
status?: string | undefined;
|
1007
1011
|
providerData?: Record<string, any> | undefined;
|
1008
1012
|
id?: string | undefined;
|
1013
|
+
arguments?: string | undefined;
|
1009
1014
|
output?: string | undefined;
|
1010
1015
|
}, {
|
1011
1016
|
type: "hosted_tool_call";
|
@@ -1013,6 +1018,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1013
1018
|
status?: string | undefined;
|
1014
1019
|
providerData?: Record<string, any> | undefined;
|
1015
1020
|
id?: string | undefined;
|
1021
|
+
arguments?: string | undefined;
|
1016
1022
|
output?: string | undefined;
|
1017
1023
|
}>, z.ZodObject<{
|
1018
1024
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
@@ -1027,16 +1033,16 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1027
1033
|
}, "strip", z.ZodTypeAny, {
|
1028
1034
|
type: "function_call";
|
1029
1035
|
name: string;
|
1030
|
-
callId: string;
|
1031
1036
|
arguments: string;
|
1037
|
+
callId: string;
|
1032
1038
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
1033
1039
|
providerData?: Record<string, any> | undefined;
|
1034
1040
|
id?: string | undefined;
|
1035
1041
|
}, {
|
1036
1042
|
type: "function_call";
|
1037
1043
|
name: string;
|
1038
|
-
callId: string;
|
1039
1044
|
arguments: string;
|
1045
|
+
callId: string;
|
1040
1046
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
1041
1047
|
providerData?: Record<string, any> | undefined;
|
1042
1048
|
id?: string | undefined;
|
@@ -1297,6 +1303,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1297
1303
|
id?: string | undefined;
|
1298
1304
|
}>]>, "many">;
|
1299
1305
|
responseId: z.ZodOptional<z.ZodString>;
|
1306
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
1300
1307
|
}, "strip", z.ZodTypeAny, {
|
1301
1308
|
output: ({
|
1302
1309
|
status: "in_progress" | "completed" | "incomplete";
|
@@ -1335,12 +1342,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1335
1342
|
status?: string | undefined;
|
1336
1343
|
providerData?: Record<string, any> | undefined;
|
1337
1344
|
id?: string | undefined;
|
1345
|
+
arguments?: string | undefined;
|
1338
1346
|
output?: string | undefined;
|
1339
1347
|
} | {
|
1340
1348
|
type: "function_call";
|
1341
1349
|
name: string;
|
1342
|
-
callId: string;
|
1343
1350
|
arguments: string;
|
1351
|
+
callId: string;
|
1344
1352
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
1345
1353
|
providerData?: Record<string, any> | undefined;
|
1346
1354
|
id?: string | undefined;
|
@@ -1406,6 +1414,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1406
1414
|
outputTokens: number;
|
1407
1415
|
totalTokens: number;
|
1408
1416
|
};
|
1417
|
+
providerData?: Record<string, any> | undefined;
|
1409
1418
|
responseId?: string | undefined;
|
1410
1419
|
}, {
|
1411
1420
|
output: ({
|
@@ -1445,12 +1454,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1445
1454
|
status?: string | undefined;
|
1446
1455
|
providerData?: Record<string, any> | undefined;
|
1447
1456
|
id?: string | undefined;
|
1457
|
+
arguments?: string | undefined;
|
1448
1458
|
output?: string | undefined;
|
1449
1459
|
} | {
|
1450
1460
|
type: "function_call";
|
1451
1461
|
name: string;
|
1452
|
-
callId: string;
|
1453
1462
|
arguments: string;
|
1463
|
+
callId: string;
|
1454
1464
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
1455
1465
|
providerData?: Record<string, any> | undefined;
|
1456
1466
|
id?: string | undefined;
|
@@ -1516,6 +1526,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1516
1526
|
outputTokens: number;
|
1517
1527
|
totalTokens: number;
|
1518
1528
|
};
|
1529
|
+
providerData?: Record<string, any> | undefined;
|
1519
1530
|
responseId?: string | undefined;
|
1520
1531
|
}>, "many">;
|
1521
1532
|
context: z.ZodObject<{
|
@@ -1882,6 +1893,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1882
1893
|
} & {
|
1883
1894
|
type: z.ZodLiteral<"hosted_tool_call">;
|
1884
1895
|
name: z.ZodString;
|
1896
|
+
arguments: z.ZodOptional<z.ZodString>;
|
1885
1897
|
status: z.ZodOptional<z.ZodString>;
|
1886
1898
|
output: z.ZodOptional<z.ZodString>;
|
1887
1899
|
}, "strip", z.ZodTypeAny, {
|
@@ -1890,6 +1902,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1890
1902
|
status?: string | undefined;
|
1891
1903
|
providerData?: Record<string, any> | undefined;
|
1892
1904
|
id?: string | undefined;
|
1905
|
+
arguments?: string | undefined;
|
1893
1906
|
output?: string | undefined;
|
1894
1907
|
}, {
|
1895
1908
|
type: "hosted_tool_call";
|
@@ -1897,6 +1910,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1897
1910
|
status?: string | undefined;
|
1898
1911
|
providerData?: Record<string, any> | undefined;
|
1899
1912
|
id?: string | undefined;
|
1913
|
+
arguments?: string | undefined;
|
1900
1914
|
output?: string | undefined;
|
1901
1915
|
}>, z.ZodObject<{
|
1902
1916
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
@@ -1911,16 +1925,16 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
1911
1925
|
}, "strip", z.ZodTypeAny, {
|
1912
1926
|
type: "function_call";
|
1913
1927
|
name: string;
|
1914
|
-
callId: string;
|
1915
1928
|
arguments: string;
|
1929
|
+
callId: string;
|
1916
1930
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
1917
1931
|
providerData?: Record<string, any> | undefined;
|
1918
1932
|
id?: string | undefined;
|
1919
1933
|
}, {
|
1920
1934
|
type: "function_call";
|
1921
1935
|
name: string;
|
1922
|
-
callId: string;
|
1923
1936
|
arguments: string;
|
1937
|
+
callId: string;
|
1924
1938
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
1925
1939
|
providerData?: Record<string, any> | undefined;
|
1926
1940
|
id?: string | undefined;
|
@@ -2181,6 +2195,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2181
2195
|
id?: string | undefined;
|
2182
2196
|
}>]>, "many">;
|
2183
2197
|
responseId: z.ZodOptional<z.ZodString>;
|
2198
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
2184
2199
|
}, "strip", z.ZodTypeAny, {
|
2185
2200
|
output: ({
|
2186
2201
|
status: "in_progress" | "completed" | "incomplete";
|
@@ -2219,12 +2234,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2219
2234
|
status?: string | undefined;
|
2220
2235
|
providerData?: Record<string, any> | undefined;
|
2221
2236
|
id?: string | undefined;
|
2237
|
+
arguments?: string | undefined;
|
2222
2238
|
output?: string | undefined;
|
2223
2239
|
} | {
|
2224
2240
|
type: "function_call";
|
2225
2241
|
name: string;
|
2226
|
-
callId: string;
|
2227
2242
|
arguments: string;
|
2243
|
+
callId: string;
|
2228
2244
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
2229
2245
|
providerData?: Record<string, any> | undefined;
|
2230
2246
|
id?: string | undefined;
|
@@ -2290,6 +2306,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2290
2306
|
outputTokens: number;
|
2291
2307
|
totalTokens: number;
|
2292
2308
|
};
|
2309
|
+
providerData?: Record<string, any> | undefined;
|
2293
2310
|
responseId?: string | undefined;
|
2294
2311
|
}, {
|
2295
2312
|
output: ({
|
@@ -2329,12 +2346,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2329
2346
|
status?: string | undefined;
|
2330
2347
|
providerData?: Record<string, any> | undefined;
|
2331
2348
|
id?: string | undefined;
|
2349
|
+
arguments?: string | undefined;
|
2332
2350
|
output?: string | undefined;
|
2333
2351
|
} | {
|
2334
2352
|
type: "function_call";
|
2335
2353
|
name: string;
|
2336
|
-
callId: string;
|
2337
2354
|
arguments: string;
|
2355
|
+
callId: string;
|
2338
2356
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
2339
2357
|
providerData?: Record<string, any> | undefined;
|
2340
2358
|
id?: string | undefined;
|
@@ -2400,6 +2418,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2400
2418
|
outputTokens: number;
|
2401
2419
|
totalTokens: number;
|
2402
2420
|
};
|
2421
|
+
providerData?: Record<string, any> | undefined;
|
2403
2422
|
responseId?: string | undefined;
|
2404
2423
|
}>>;
|
2405
2424
|
generatedItems: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
@@ -2858,16 +2877,16 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2858
2877
|
}, "strip", z.ZodTypeAny, {
|
2859
2878
|
type: "function_call";
|
2860
2879
|
name: string;
|
2861
|
-
callId: string;
|
2862
2880
|
arguments: string;
|
2881
|
+
callId: string;
|
2863
2882
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
2864
2883
|
providerData?: Record<string, any> | undefined;
|
2865
2884
|
id?: string | undefined;
|
2866
2885
|
}, {
|
2867
2886
|
type: "function_call";
|
2868
2887
|
name: string;
|
2869
|
-
callId: string;
|
2870
2888
|
arguments: string;
|
2889
|
+
callId: string;
|
2871
2890
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
2872
2891
|
providerData?: Record<string, any> | undefined;
|
2873
2892
|
id?: string | undefined;
|
@@ -2878,6 +2897,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2878
2897
|
} & {
|
2879
2898
|
type: z.ZodLiteral<"hosted_tool_call">;
|
2880
2899
|
name: z.ZodString;
|
2900
|
+
arguments: z.ZodOptional<z.ZodString>;
|
2881
2901
|
status: z.ZodOptional<z.ZodString>;
|
2882
2902
|
output: z.ZodOptional<z.ZodString>;
|
2883
2903
|
}, "strip", z.ZodTypeAny, {
|
@@ -2886,6 +2906,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2886
2906
|
status?: string | undefined;
|
2887
2907
|
providerData?: Record<string, any> | undefined;
|
2888
2908
|
id?: string | undefined;
|
2909
|
+
arguments?: string | undefined;
|
2889
2910
|
output?: string | undefined;
|
2890
2911
|
}, {
|
2891
2912
|
type: "hosted_tool_call";
|
@@ -2893,6 +2914,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2893
2914
|
status?: string | undefined;
|
2894
2915
|
providerData?: Record<string, any> | undefined;
|
2895
2916
|
id?: string | undefined;
|
2917
|
+
arguments?: string | undefined;
|
2896
2918
|
output?: string | undefined;
|
2897
2919
|
}>]>, z.ZodObject<{
|
2898
2920
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
@@ -2901,6 +2923,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2901
2923
|
} & {
|
2902
2924
|
type: z.ZodLiteral<"hosted_tool_call">;
|
2903
2925
|
name: z.ZodString;
|
2926
|
+
arguments: z.ZodOptional<z.ZodString>;
|
2904
2927
|
status: z.ZodOptional<z.ZodString>;
|
2905
2928
|
output: z.ZodOptional<z.ZodString>;
|
2906
2929
|
}, "strip", z.ZodTypeAny, {
|
@@ -2909,6 +2932,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2909
2932
|
status?: string | undefined;
|
2910
2933
|
providerData?: Record<string, any> | undefined;
|
2911
2934
|
id?: string | undefined;
|
2935
|
+
arguments?: string | undefined;
|
2912
2936
|
output?: string | undefined;
|
2913
2937
|
}, {
|
2914
2938
|
type: "hosted_tool_call";
|
@@ -2916,6 +2940,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2916
2940
|
status?: string | undefined;
|
2917
2941
|
providerData?: Record<string, any> | undefined;
|
2918
2942
|
id?: string | undefined;
|
2943
|
+
arguments?: string | undefined;
|
2919
2944
|
output?: string | undefined;
|
2920
2945
|
}>]>;
|
2921
2946
|
agent: z.ZodObject<{
|
@@ -2936,12 +2961,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2936
2961
|
status?: string | undefined;
|
2937
2962
|
providerData?: Record<string, any> | undefined;
|
2938
2963
|
id?: string | undefined;
|
2964
|
+
arguments?: string | undefined;
|
2939
2965
|
output?: string | undefined;
|
2940
2966
|
} | {
|
2941
2967
|
type: "function_call";
|
2942
2968
|
name: string;
|
2943
|
-
callId: string;
|
2944
2969
|
arguments: string;
|
2970
|
+
callId: string;
|
2945
2971
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
2946
2972
|
providerData?: Record<string, any> | undefined;
|
2947
2973
|
id?: string | undefined;
|
@@ -2999,12 +3025,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
2999
3025
|
status?: string | undefined;
|
3000
3026
|
providerData?: Record<string, any> | undefined;
|
3001
3027
|
id?: string | undefined;
|
3028
|
+
arguments?: string | undefined;
|
3002
3029
|
output?: string | undefined;
|
3003
3030
|
} | {
|
3004
3031
|
type: "function_call";
|
3005
3032
|
name: string;
|
3006
|
-
callId: string;
|
3007
3033
|
arguments: string;
|
3034
|
+
callId: string;
|
3008
3035
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3009
3036
|
providerData?: Record<string, any> | undefined;
|
3010
3037
|
id?: string | undefined;
|
@@ -3275,16 +3302,16 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3275
3302
|
}, "strip", z.ZodTypeAny, {
|
3276
3303
|
type: "function_call";
|
3277
3304
|
name: string;
|
3278
|
-
callId: string;
|
3279
3305
|
arguments: string;
|
3306
|
+
callId: string;
|
3280
3307
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3281
3308
|
providerData?: Record<string, any> | undefined;
|
3282
3309
|
id?: string | undefined;
|
3283
3310
|
}, {
|
3284
3311
|
type: "function_call";
|
3285
3312
|
name: string;
|
3286
|
-
callId: string;
|
3287
3313
|
arguments: string;
|
3314
|
+
callId: string;
|
3288
3315
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3289
3316
|
providerData?: Record<string, any> | undefined;
|
3290
3317
|
id?: string | undefined;
|
@@ -3304,8 +3331,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3304
3331
|
rawItem: {
|
3305
3332
|
type: "function_call";
|
3306
3333
|
name: string;
|
3307
|
-
callId: string;
|
3308
3334
|
arguments: string;
|
3335
|
+
callId: string;
|
3309
3336
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3310
3337
|
providerData?: Record<string, any> | undefined;
|
3311
3338
|
id?: string | undefined;
|
@@ -3318,8 +3345,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3318
3345
|
rawItem: {
|
3319
3346
|
type: "function_call";
|
3320
3347
|
name: string;
|
3321
|
-
callId: string;
|
3322
3348
|
arguments: string;
|
3349
|
+
callId: string;
|
3323
3350
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3324
3351
|
providerData?: Record<string, any> | undefined;
|
3325
3352
|
id?: string | undefined;
|
@@ -3468,7 +3495,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3468
3495
|
};
|
3469
3496
|
}>, z.ZodObject<{
|
3470
3497
|
type: z.ZodLiteral<"tool_approval_item">;
|
3471
|
-
rawItem: z.ZodObject<{
|
3498
|
+
rawItem: z.ZodUnion<[z.ZodObject<{
|
3472
3499
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
3473
3500
|
} & {
|
3474
3501
|
id: z.ZodOptional<z.ZodString>;
|
@@ -3481,20 +3508,46 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3481
3508
|
}, "strip", z.ZodTypeAny, {
|
3482
3509
|
type: "function_call";
|
3483
3510
|
name: string;
|
3484
|
-
callId: string;
|
3485
3511
|
arguments: string;
|
3512
|
+
callId: string;
|
3486
3513
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3487
3514
|
providerData?: Record<string, any> | undefined;
|
3488
3515
|
id?: string | undefined;
|
3489
3516
|
}, {
|
3490
3517
|
type: "function_call";
|
3491
3518
|
name: string;
|
3492
|
-
callId: string;
|
3493
3519
|
arguments: string;
|
3520
|
+
callId: string;
|
3494
3521
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3495
3522
|
providerData?: Record<string, any> | undefined;
|
3496
3523
|
id?: string | undefined;
|
3497
|
-
}
|
3524
|
+
}>, z.ZodObject<{
|
3525
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
3526
|
+
} & {
|
3527
|
+
id: z.ZodOptional<z.ZodString>;
|
3528
|
+
} & {
|
3529
|
+
type: z.ZodLiteral<"hosted_tool_call">;
|
3530
|
+
name: z.ZodString;
|
3531
|
+
arguments: z.ZodOptional<z.ZodString>;
|
3532
|
+
status: z.ZodOptional<z.ZodString>;
|
3533
|
+
output: z.ZodOptional<z.ZodString>;
|
3534
|
+
}, "strip", z.ZodTypeAny, {
|
3535
|
+
type: "hosted_tool_call";
|
3536
|
+
name: string;
|
3537
|
+
status?: string | undefined;
|
3538
|
+
providerData?: Record<string, any> | undefined;
|
3539
|
+
id?: string | undefined;
|
3540
|
+
arguments?: string | undefined;
|
3541
|
+
output?: string | undefined;
|
3542
|
+
}, {
|
3543
|
+
type: "hosted_tool_call";
|
3544
|
+
name: string;
|
3545
|
+
status?: string | undefined;
|
3546
|
+
providerData?: Record<string, any> | undefined;
|
3547
|
+
id?: string | undefined;
|
3548
|
+
arguments?: string | undefined;
|
3549
|
+
output?: string | undefined;
|
3550
|
+
}>]>;
|
3498
3551
|
agent: z.ZodObject<{
|
3499
3552
|
name: z.ZodString;
|
3500
3553
|
}, "strip", z.ZodTypeAny, {
|
@@ -3508,10 +3561,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3508
3561
|
name: string;
|
3509
3562
|
};
|
3510
3563
|
rawItem: {
|
3564
|
+
type: "hosted_tool_call";
|
3565
|
+
name: string;
|
3566
|
+
status?: string | undefined;
|
3567
|
+
providerData?: Record<string, any> | undefined;
|
3568
|
+
id?: string | undefined;
|
3569
|
+
arguments?: string | undefined;
|
3570
|
+
output?: string | undefined;
|
3571
|
+
} | {
|
3511
3572
|
type: "function_call";
|
3512
3573
|
name: string;
|
3513
|
-
callId: string;
|
3514
3574
|
arguments: string;
|
3575
|
+
callId: string;
|
3515
3576
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3516
3577
|
providerData?: Record<string, any> | undefined;
|
3517
3578
|
id?: string | undefined;
|
@@ -3522,10 +3583,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3522
3583
|
name: string;
|
3523
3584
|
};
|
3524
3585
|
rawItem: {
|
3586
|
+
type: "hosted_tool_call";
|
3587
|
+
name: string;
|
3588
|
+
status?: string | undefined;
|
3589
|
+
providerData?: Record<string, any> | undefined;
|
3590
|
+
id?: string | undefined;
|
3591
|
+
arguments?: string | undefined;
|
3592
|
+
output?: string | undefined;
|
3593
|
+
} | {
|
3525
3594
|
type: "function_call";
|
3526
3595
|
name: string;
|
3527
|
-
callId: string;
|
3528
3596
|
arguments: string;
|
3597
|
+
callId: string;
|
3529
3598
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3530
3599
|
providerData?: Record<string, any> | undefined;
|
3531
3600
|
id?: string | undefined;
|
@@ -3988,16 +4057,16 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
3988
4057
|
}, "strip", z.ZodTypeAny, {
|
3989
4058
|
type: "function_call";
|
3990
4059
|
name: string;
|
3991
|
-
callId: string;
|
3992
4060
|
arguments: string;
|
4061
|
+
callId: string;
|
3993
4062
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
3994
4063
|
providerData?: Record<string, any> | undefined;
|
3995
4064
|
id?: string | undefined;
|
3996
4065
|
}, {
|
3997
4066
|
type: "function_call";
|
3998
4067
|
name: string;
|
3999
|
-
callId: string;
|
4000
4068
|
arguments: string;
|
4069
|
+
callId: string;
|
4001
4070
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4002
4071
|
providerData?: Record<string, any> | undefined;
|
4003
4072
|
id?: string | undefined;
|
@@ -4008,6 +4077,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4008
4077
|
} & {
|
4009
4078
|
type: z.ZodLiteral<"hosted_tool_call">;
|
4010
4079
|
name: z.ZodString;
|
4080
|
+
arguments: z.ZodOptional<z.ZodString>;
|
4011
4081
|
status: z.ZodOptional<z.ZodString>;
|
4012
4082
|
output: z.ZodOptional<z.ZodString>;
|
4013
4083
|
}, "strip", z.ZodTypeAny, {
|
@@ -4016,6 +4086,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4016
4086
|
status?: string | undefined;
|
4017
4087
|
providerData?: Record<string, any> | undefined;
|
4018
4088
|
id?: string | undefined;
|
4089
|
+
arguments?: string | undefined;
|
4019
4090
|
output?: string | undefined;
|
4020
4091
|
}, {
|
4021
4092
|
type: "hosted_tool_call";
|
@@ -4023,6 +4094,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4023
4094
|
status?: string | undefined;
|
4024
4095
|
providerData?: Record<string, any> | undefined;
|
4025
4096
|
id?: string | undefined;
|
4097
|
+
arguments?: string | undefined;
|
4026
4098
|
output?: string | undefined;
|
4027
4099
|
}>]>, z.ZodObject<{
|
4028
4100
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
@@ -4031,6 +4103,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4031
4103
|
} & {
|
4032
4104
|
type: z.ZodLiteral<"hosted_tool_call">;
|
4033
4105
|
name: z.ZodString;
|
4106
|
+
arguments: z.ZodOptional<z.ZodString>;
|
4034
4107
|
status: z.ZodOptional<z.ZodString>;
|
4035
4108
|
output: z.ZodOptional<z.ZodString>;
|
4036
4109
|
}, "strip", z.ZodTypeAny, {
|
@@ -4039,6 +4112,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4039
4112
|
status?: string | undefined;
|
4040
4113
|
providerData?: Record<string, any> | undefined;
|
4041
4114
|
id?: string | undefined;
|
4115
|
+
arguments?: string | undefined;
|
4042
4116
|
output?: string | undefined;
|
4043
4117
|
}, {
|
4044
4118
|
type: "hosted_tool_call";
|
@@ -4046,6 +4120,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4046
4120
|
status?: string | undefined;
|
4047
4121
|
providerData?: Record<string, any> | undefined;
|
4048
4122
|
id?: string | undefined;
|
4123
|
+
arguments?: string | undefined;
|
4049
4124
|
output?: string | undefined;
|
4050
4125
|
}>]>;
|
4051
4126
|
agent: z.ZodObject<{
|
@@ -4066,12 +4141,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4066
4141
|
status?: string | undefined;
|
4067
4142
|
providerData?: Record<string, any> | undefined;
|
4068
4143
|
id?: string | undefined;
|
4144
|
+
arguments?: string | undefined;
|
4069
4145
|
output?: string | undefined;
|
4070
4146
|
} | {
|
4071
4147
|
type: "function_call";
|
4072
4148
|
name: string;
|
4073
|
-
callId: string;
|
4074
4149
|
arguments: string;
|
4150
|
+
callId: string;
|
4075
4151
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4076
4152
|
providerData?: Record<string, any> | undefined;
|
4077
4153
|
id?: string | undefined;
|
@@ -4129,12 +4205,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4129
4205
|
status?: string | undefined;
|
4130
4206
|
providerData?: Record<string, any> | undefined;
|
4131
4207
|
id?: string | undefined;
|
4208
|
+
arguments?: string | undefined;
|
4132
4209
|
output?: string | undefined;
|
4133
4210
|
} | {
|
4134
4211
|
type: "function_call";
|
4135
4212
|
name: string;
|
4136
|
-
callId: string;
|
4137
4213
|
arguments: string;
|
4214
|
+
callId: string;
|
4138
4215
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4139
4216
|
providerData?: Record<string, any> | undefined;
|
4140
4217
|
id?: string | undefined;
|
@@ -4405,16 +4482,16 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4405
4482
|
}, "strip", z.ZodTypeAny, {
|
4406
4483
|
type: "function_call";
|
4407
4484
|
name: string;
|
4408
|
-
callId: string;
|
4409
4485
|
arguments: string;
|
4486
|
+
callId: string;
|
4410
4487
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4411
4488
|
providerData?: Record<string, any> | undefined;
|
4412
4489
|
id?: string | undefined;
|
4413
4490
|
}, {
|
4414
4491
|
type: "function_call";
|
4415
4492
|
name: string;
|
4416
|
-
callId: string;
|
4417
4493
|
arguments: string;
|
4494
|
+
callId: string;
|
4418
4495
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4419
4496
|
providerData?: Record<string, any> | undefined;
|
4420
4497
|
id?: string | undefined;
|
@@ -4434,8 +4511,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4434
4511
|
rawItem: {
|
4435
4512
|
type: "function_call";
|
4436
4513
|
name: string;
|
4437
|
-
callId: string;
|
4438
4514
|
arguments: string;
|
4515
|
+
callId: string;
|
4439
4516
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4440
4517
|
providerData?: Record<string, any> | undefined;
|
4441
4518
|
id?: string | undefined;
|
@@ -4448,8 +4525,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4448
4525
|
rawItem: {
|
4449
4526
|
type: "function_call";
|
4450
4527
|
name: string;
|
4451
|
-
callId: string;
|
4452
4528
|
arguments: string;
|
4529
|
+
callId: string;
|
4453
4530
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4454
4531
|
providerData?: Record<string, any> | undefined;
|
4455
4532
|
id?: string | undefined;
|
@@ -4598,7 +4675,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4598
4675
|
};
|
4599
4676
|
}>, z.ZodObject<{
|
4600
4677
|
type: z.ZodLiteral<"tool_approval_item">;
|
4601
|
-
rawItem: z.ZodObject<{
|
4678
|
+
rawItem: z.ZodUnion<[z.ZodObject<{
|
4602
4679
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
4603
4680
|
} & {
|
4604
4681
|
id: z.ZodOptional<z.ZodString>;
|
@@ -4611,20 +4688,46 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4611
4688
|
}, "strip", z.ZodTypeAny, {
|
4612
4689
|
type: "function_call";
|
4613
4690
|
name: string;
|
4614
|
-
callId: string;
|
4615
4691
|
arguments: string;
|
4692
|
+
callId: string;
|
4616
4693
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4617
4694
|
providerData?: Record<string, any> | undefined;
|
4618
4695
|
id?: string | undefined;
|
4619
4696
|
}, {
|
4620
4697
|
type: "function_call";
|
4621
4698
|
name: string;
|
4622
|
-
callId: string;
|
4623
4699
|
arguments: string;
|
4700
|
+
callId: string;
|
4624
4701
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4625
4702
|
providerData?: Record<string, any> | undefined;
|
4626
4703
|
id?: string | undefined;
|
4627
|
-
}
|
4704
|
+
}>, z.ZodObject<{
|
4705
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
4706
|
+
} & {
|
4707
|
+
id: z.ZodOptional<z.ZodString>;
|
4708
|
+
} & {
|
4709
|
+
type: z.ZodLiteral<"hosted_tool_call">;
|
4710
|
+
name: z.ZodString;
|
4711
|
+
arguments: z.ZodOptional<z.ZodString>;
|
4712
|
+
status: z.ZodOptional<z.ZodString>;
|
4713
|
+
output: z.ZodOptional<z.ZodString>;
|
4714
|
+
}, "strip", z.ZodTypeAny, {
|
4715
|
+
type: "hosted_tool_call";
|
4716
|
+
name: string;
|
4717
|
+
status?: string | undefined;
|
4718
|
+
providerData?: Record<string, any> | undefined;
|
4719
|
+
id?: string | undefined;
|
4720
|
+
arguments?: string | undefined;
|
4721
|
+
output?: string | undefined;
|
4722
|
+
}, {
|
4723
|
+
type: "hosted_tool_call";
|
4724
|
+
name: string;
|
4725
|
+
status?: string | undefined;
|
4726
|
+
providerData?: Record<string, any> | undefined;
|
4727
|
+
id?: string | undefined;
|
4728
|
+
arguments?: string | undefined;
|
4729
|
+
output?: string | undefined;
|
4730
|
+
}>]>;
|
4628
4731
|
agent: z.ZodObject<{
|
4629
4732
|
name: z.ZodString;
|
4630
4733
|
}, "strip", z.ZodTypeAny, {
|
@@ -4638,10 +4741,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4638
4741
|
name: string;
|
4639
4742
|
};
|
4640
4743
|
rawItem: {
|
4744
|
+
type: "hosted_tool_call";
|
4745
|
+
name: string;
|
4746
|
+
status?: string | undefined;
|
4747
|
+
providerData?: Record<string, any> | undefined;
|
4748
|
+
id?: string | undefined;
|
4749
|
+
arguments?: string | undefined;
|
4750
|
+
output?: string | undefined;
|
4751
|
+
} | {
|
4641
4752
|
type: "function_call";
|
4642
4753
|
name: string;
|
4643
|
-
callId: string;
|
4644
4754
|
arguments: string;
|
4755
|
+
callId: string;
|
4645
4756
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4646
4757
|
providerData?: Record<string, any> | undefined;
|
4647
4758
|
id?: string | undefined;
|
@@ -4652,10 +4763,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4652
4763
|
name: string;
|
4653
4764
|
};
|
4654
4765
|
rawItem: {
|
4766
|
+
type: "hosted_tool_call";
|
4767
|
+
name: string;
|
4768
|
+
status?: string | undefined;
|
4769
|
+
providerData?: Record<string, any> | undefined;
|
4770
|
+
id?: string | undefined;
|
4771
|
+
arguments?: string | undefined;
|
4772
|
+
output?: string | undefined;
|
4773
|
+
} | {
|
4655
4774
|
type: "function_call";
|
4656
4775
|
name: string;
|
4657
|
-
callId: string;
|
4658
4776
|
arguments: string;
|
4777
|
+
callId: string;
|
4659
4778
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4660
4779
|
providerData?: Record<string, any> | undefined;
|
4661
4780
|
id?: string | undefined;
|
@@ -4692,6 +4811,88 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4692
4811
|
computer?: any;
|
4693
4812
|
toolCall?: any;
|
4694
4813
|
}>, "many">;
|
4814
|
+
mcpApprovalRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
4815
|
+
requestItem: z.ZodObject<{
|
4816
|
+
rawItem: z.ZodObject<{
|
4817
|
+
type: z.ZodLiteral<"hosted_tool_call">;
|
4818
|
+
name: z.ZodString;
|
4819
|
+
arguments: z.ZodOptional<z.ZodString>;
|
4820
|
+
status: z.ZodOptional<z.ZodString>;
|
4821
|
+
output: z.ZodOptional<z.ZodString>;
|
4822
|
+
}, "strip", z.ZodTypeAny, {
|
4823
|
+
type: "hosted_tool_call";
|
4824
|
+
name: string;
|
4825
|
+
status?: string | undefined;
|
4826
|
+
arguments?: string | undefined;
|
4827
|
+
output?: string | undefined;
|
4828
|
+
}, {
|
4829
|
+
type: "hosted_tool_call";
|
4830
|
+
name: string;
|
4831
|
+
status?: string | undefined;
|
4832
|
+
arguments?: string | undefined;
|
4833
|
+
output?: string | undefined;
|
4834
|
+
}>;
|
4835
|
+
}, "strip", z.ZodTypeAny, {
|
4836
|
+
rawItem: {
|
4837
|
+
type: "hosted_tool_call";
|
4838
|
+
name: string;
|
4839
|
+
status?: string | undefined;
|
4840
|
+
arguments?: string | undefined;
|
4841
|
+
output?: string | undefined;
|
4842
|
+
};
|
4843
|
+
}, {
|
4844
|
+
rawItem: {
|
4845
|
+
type: "hosted_tool_call";
|
4846
|
+
name: string;
|
4847
|
+
status?: string | undefined;
|
4848
|
+
arguments?: string | undefined;
|
4849
|
+
output?: string | undefined;
|
4850
|
+
};
|
4851
|
+
}>;
|
4852
|
+
mcpTool: z.ZodObject<{
|
4853
|
+
type: z.ZodLiteral<"hosted_tool">;
|
4854
|
+
name: z.ZodLiteral<"hosted_mcp">;
|
4855
|
+
providerData: z.ZodRecord<z.ZodString, z.ZodAny>;
|
4856
|
+
}, "strip", z.ZodTypeAny, {
|
4857
|
+
type: "hosted_tool";
|
4858
|
+
providerData: Record<string, any>;
|
4859
|
+
name: "hosted_mcp";
|
4860
|
+
}, {
|
4861
|
+
type: "hosted_tool";
|
4862
|
+
providerData: Record<string, any>;
|
4863
|
+
name: "hosted_mcp";
|
4864
|
+
}>;
|
4865
|
+
}, "strip", z.ZodTypeAny, {
|
4866
|
+
requestItem: {
|
4867
|
+
rawItem: {
|
4868
|
+
type: "hosted_tool_call";
|
4869
|
+
name: string;
|
4870
|
+
status?: string | undefined;
|
4871
|
+
arguments?: string | undefined;
|
4872
|
+
output?: string | undefined;
|
4873
|
+
};
|
4874
|
+
};
|
4875
|
+
mcpTool: {
|
4876
|
+
type: "hosted_tool";
|
4877
|
+
providerData: Record<string, any>;
|
4878
|
+
name: "hosted_mcp";
|
4879
|
+
};
|
4880
|
+
}, {
|
4881
|
+
requestItem: {
|
4882
|
+
rawItem: {
|
4883
|
+
type: "hosted_tool_call";
|
4884
|
+
name: string;
|
4885
|
+
status?: string | undefined;
|
4886
|
+
arguments?: string | undefined;
|
4887
|
+
output?: string | undefined;
|
4888
|
+
};
|
4889
|
+
};
|
4890
|
+
mcpTool: {
|
4891
|
+
type: "hosted_tool";
|
4892
|
+
providerData: Record<string, any>;
|
4893
|
+
name: "hosted_mcp";
|
4894
|
+
};
|
4895
|
+
}>, "many">>;
|
4695
4896
|
}, "strip", z.ZodTypeAny, {
|
4696
4897
|
handoffs: {
|
4697
4898
|
toolCall?: any;
|
@@ -4745,12 +4946,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4745
4946
|
status?: string | undefined;
|
4746
4947
|
providerData?: Record<string, any> | undefined;
|
4747
4948
|
id?: string | undefined;
|
4949
|
+
arguments?: string | undefined;
|
4748
4950
|
output?: string | undefined;
|
4749
4951
|
} | {
|
4750
4952
|
type: "function_call";
|
4751
4953
|
name: string;
|
4752
|
-
callId: string;
|
4753
4954
|
arguments: string;
|
4955
|
+
callId: string;
|
4754
4956
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4755
4957
|
providerData?: Record<string, any> | undefined;
|
4756
4958
|
id?: string | undefined;
|
@@ -4844,8 +5046,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4844
5046
|
rawItem: {
|
4845
5047
|
type: "function_call";
|
4846
5048
|
name: string;
|
4847
|
-
callId: string;
|
4848
5049
|
arguments: string;
|
5050
|
+
callId: string;
|
4849
5051
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4850
5052
|
providerData?: Record<string, any> | undefined;
|
4851
5053
|
id?: string | undefined;
|
@@ -4882,10 +5084,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4882
5084
|
name: string;
|
4883
5085
|
};
|
4884
5086
|
rawItem: {
|
5087
|
+
type: "hosted_tool_call";
|
5088
|
+
name: string;
|
5089
|
+
status?: string | undefined;
|
5090
|
+
providerData?: Record<string, any> | undefined;
|
5091
|
+
id?: string | undefined;
|
5092
|
+
arguments?: string | undefined;
|
5093
|
+
output?: string | undefined;
|
5094
|
+
} | {
|
4885
5095
|
type: "function_call";
|
4886
5096
|
name: string;
|
4887
|
-
callId: string;
|
4888
5097
|
arguments: string;
|
5098
|
+
callId: string;
|
4889
5099
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4890
5100
|
providerData?: Record<string, any> | undefined;
|
4891
5101
|
id?: string | undefined;
|
@@ -4900,6 +5110,22 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4900
5110
|
computer?: any;
|
4901
5111
|
toolCall?: any;
|
4902
5112
|
}[];
|
5113
|
+
mcpApprovalRequests?: {
|
5114
|
+
requestItem: {
|
5115
|
+
rawItem: {
|
5116
|
+
type: "hosted_tool_call";
|
5117
|
+
name: string;
|
5118
|
+
status?: string | undefined;
|
5119
|
+
arguments?: string | undefined;
|
5120
|
+
output?: string | undefined;
|
5121
|
+
};
|
5122
|
+
};
|
5123
|
+
mcpTool: {
|
5124
|
+
type: "hosted_tool";
|
5125
|
+
providerData: Record<string, any>;
|
5126
|
+
name: "hosted_mcp";
|
5127
|
+
};
|
5128
|
+
}[] | undefined;
|
4903
5129
|
}, {
|
4904
5130
|
handoffs: {
|
4905
5131
|
toolCall?: any;
|
@@ -4953,12 +5179,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
4953
5179
|
status?: string | undefined;
|
4954
5180
|
providerData?: Record<string, any> | undefined;
|
4955
5181
|
id?: string | undefined;
|
5182
|
+
arguments?: string | undefined;
|
4956
5183
|
output?: string | undefined;
|
4957
5184
|
} | {
|
4958
5185
|
type: "function_call";
|
4959
5186
|
name: string;
|
4960
|
-
callId: string;
|
4961
5187
|
arguments: string;
|
5188
|
+
callId: string;
|
4962
5189
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
4963
5190
|
providerData?: Record<string, any> | undefined;
|
4964
5191
|
id?: string | undefined;
|
@@ -5052,8 +5279,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5052
5279
|
rawItem: {
|
5053
5280
|
type: "function_call";
|
5054
5281
|
name: string;
|
5055
|
-
callId: string;
|
5056
5282
|
arguments: string;
|
5283
|
+
callId: string;
|
5057
5284
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5058
5285
|
providerData?: Record<string, any> | undefined;
|
5059
5286
|
id?: string | undefined;
|
@@ -5090,10 +5317,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5090
5317
|
name: string;
|
5091
5318
|
};
|
5092
5319
|
rawItem: {
|
5320
|
+
type: "hosted_tool_call";
|
5321
|
+
name: string;
|
5322
|
+
status?: string | undefined;
|
5323
|
+
providerData?: Record<string, any> | undefined;
|
5324
|
+
id?: string | undefined;
|
5325
|
+
arguments?: string | undefined;
|
5326
|
+
output?: string | undefined;
|
5327
|
+
} | {
|
5093
5328
|
type: "function_call";
|
5094
5329
|
name: string;
|
5095
|
-
callId: string;
|
5096
5330
|
arguments: string;
|
5331
|
+
callId: string;
|
5097
5332
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5098
5333
|
providerData?: Record<string, any> | undefined;
|
5099
5334
|
id?: string | undefined;
|
@@ -5108,6 +5343,22 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5108
5343
|
computer?: any;
|
5109
5344
|
toolCall?: any;
|
5110
5345
|
}[];
|
5346
|
+
mcpApprovalRequests?: {
|
5347
|
+
requestItem: {
|
5348
|
+
rawItem: {
|
5349
|
+
type: "hosted_tool_call";
|
5350
|
+
name: string;
|
5351
|
+
status?: string | undefined;
|
5352
|
+
arguments?: string | undefined;
|
5353
|
+
output?: string | undefined;
|
5354
|
+
};
|
5355
|
+
};
|
5356
|
+
mcpTool: {
|
5357
|
+
type: "hosted_tool";
|
5358
|
+
providerData: Record<string, any>;
|
5359
|
+
name: "hosted_mcp";
|
5360
|
+
};
|
5361
|
+
}[] | undefined;
|
5111
5362
|
}>>;
|
5112
5363
|
trace: z.ZodNullable<z.ZodObject<{
|
5113
5364
|
object: z.ZodLiteral<"trace">;
|
@@ -5207,12 +5458,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5207
5458
|
status?: string | undefined;
|
5208
5459
|
providerData?: Record<string, any> | undefined;
|
5209
5460
|
id?: string | undefined;
|
5461
|
+
arguments?: string | undefined;
|
5210
5462
|
output?: string | undefined;
|
5211
5463
|
} | {
|
5212
5464
|
type: "function_call";
|
5213
5465
|
name: string;
|
5214
|
-
callId: string;
|
5215
5466
|
arguments: string;
|
5467
|
+
callId: string;
|
5216
5468
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5217
5469
|
providerData?: Record<string, any> | undefined;
|
5218
5470
|
id?: string | undefined;
|
@@ -5337,12 +5589,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5337
5589
|
status?: string | undefined;
|
5338
5590
|
providerData?: Record<string, any> | undefined;
|
5339
5591
|
id?: string | undefined;
|
5592
|
+
arguments?: string | undefined;
|
5340
5593
|
output?: string | undefined;
|
5341
5594
|
} | {
|
5342
5595
|
type: "function_call";
|
5343
5596
|
name: string;
|
5344
|
-
callId: string;
|
5345
5597
|
arguments: string;
|
5598
|
+
callId: string;
|
5346
5599
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5347
5600
|
providerData?: Record<string, any> | undefined;
|
5348
5601
|
id?: string | undefined;
|
@@ -5408,6 +5661,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5408
5661
|
outputTokens: number;
|
5409
5662
|
totalTokens: number;
|
5410
5663
|
};
|
5664
|
+
providerData?: Record<string, any> | undefined;
|
5411
5665
|
responseId?: string | undefined;
|
5412
5666
|
}[];
|
5413
5667
|
context: {
|
@@ -5498,12 +5752,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5498
5752
|
status?: string | undefined;
|
5499
5753
|
providerData?: Record<string, any> | undefined;
|
5500
5754
|
id?: string | undefined;
|
5755
|
+
arguments?: string | undefined;
|
5501
5756
|
output?: string | undefined;
|
5502
5757
|
} | {
|
5503
5758
|
type: "function_call";
|
5504
5759
|
name: string;
|
5505
|
-
callId: string;
|
5506
5760
|
arguments: string;
|
5761
|
+
callId: string;
|
5507
5762
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5508
5763
|
providerData?: Record<string, any> | undefined;
|
5509
5764
|
id?: string | undefined;
|
@@ -5597,8 +5852,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5597
5852
|
rawItem: {
|
5598
5853
|
type: "function_call";
|
5599
5854
|
name: string;
|
5600
|
-
callId: string;
|
5601
5855
|
arguments: string;
|
5856
|
+
callId: string;
|
5602
5857
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5603
5858
|
providerData?: Record<string, any> | undefined;
|
5604
5859
|
id?: string | undefined;
|
@@ -5635,10 +5890,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5635
5890
|
name: string;
|
5636
5891
|
};
|
5637
5892
|
rawItem: {
|
5893
|
+
type: "hosted_tool_call";
|
5894
|
+
name: string;
|
5895
|
+
status?: string | undefined;
|
5896
|
+
providerData?: Record<string, any> | undefined;
|
5897
|
+
id?: string | undefined;
|
5898
|
+
arguments?: string | undefined;
|
5899
|
+
output?: string | undefined;
|
5900
|
+
} | {
|
5638
5901
|
type: "function_call";
|
5639
5902
|
name: string;
|
5640
|
-
callId: string;
|
5641
5903
|
arguments: string;
|
5904
|
+
callId: string;
|
5642
5905
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5643
5906
|
providerData?: Record<string, any> | undefined;
|
5644
5907
|
id?: string | undefined;
|
@@ -5702,12 +5965,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5702
5965
|
status?: string | undefined;
|
5703
5966
|
providerData?: Record<string, any> | undefined;
|
5704
5967
|
id?: string | undefined;
|
5968
|
+
arguments?: string | undefined;
|
5705
5969
|
output?: string | undefined;
|
5706
5970
|
} | {
|
5707
5971
|
type: "function_call";
|
5708
5972
|
name: string;
|
5709
|
-
callId: string;
|
5710
5973
|
arguments: string;
|
5974
|
+
callId: string;
|
5711
5975
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5712
5976
|
providerData?: Record<string, any> | undefined;
|
5713
5977
|
id?: string | undefined;
|
@@ -5773,6 +6037,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5773
6037
|
outputTokens: number;
|
5774
6038
|
totalTokens: number;
|
5775
6039
|
};
|
6040
|
+
providerData?: Record<string, any> | undefined;
|
5776
6041
|
responseId?: string | undefined;
|
5777
6042
|
} | undefined;
|
5778
6043
|
lastProcessedResponse?: {
|
@@ -5828,12 +6093,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5828
6093
|
status?: string | undefined;
|
5829
6094
|
providerData?: Record<string, any> | undefined;
|
5830
6095
|
id?: string | undefined;
|
6096
|
+
arguments?: string | undefined;
|
5831
6097
|
output?: string | undefined;
|
5832
6098
|
} | {
|
5833
6099
|
type: "function_call";
|
5834
6100
|
name: string;
|
5835
|
-
callId: string;
|
5836
6101
|
arguments: string;
|
6102
|
+
callId: string;
|
5837
6103
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5838
6104
|
providerData?: Record<string, any> | undefined;
|
5839
6105
|
id?: string | undefined;
|
@@ -5927,8 +6193,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5927
6193
|
rawItem: {
|
5928
6194
|
type: "function_call";
|
5929
6195
|
name: string;
|
5930
|
-
callId: string;
|
5931
6196
|
arguments: string;
|
6197
|
+
callId: string;
|
5932
6198
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5933
6199
|
providerData?: Record<string, any> | undefined;
|
5934
6200
|
id?: string | undefined;
|
@@ -5965,10 +6231,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5965
6231
|
name: string;
|
5966
6232
|
};
|
5967
6233
|
rawItem: {
|
6234
|
+
type: "hosted_tool_call";
|
6235
|
+
name: string;
|
6236
|
+
status?: string | undefined;
|
6237
|
+
providerData?: Record<string, any> | undefined;
|
6238
|
+
id?: string | undefined;
|
6239
|
+
arguments?: string | undefined;
|
6240
|
+
output?: string | undefined;
|
6241
|
+
} | {
|
5968
6242
|
type: "function_call";
|
5969
6243
|
name: string;
|
5970
|
-
callId: string;
|
5971
6244
|
arguments: string;
|
6245
|
+
callId: string;
|
5972
6246
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
5973
6247
|
providerData?: Record<string, any> | undefined;
|
5974
6248
|
id?: string | undefined;
|
@@ -5983,6 +6257,22 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
5983
6257
|
computer?: any;
|
5984
6258
|
toolCall?: any;
|
5985
6259
|
}[];
|
6260
|
+
mcpApprovalRequests?: {
|
6261
|
+
requestItem: {
|
6262
|
+
rawItem: {
|
6263
|
+
type: "hosted_tool_call";
|
6264
|
+
name: string;
|
6265
|
+
status?: string | undefined;
|
6266
|
+
arguments?: string | undefined;
|
6267
|
+
output?: string | undefined;
|
6268
|
+
};
|
6269
|
+
};
|
6270
|
+
mcpTool: {
|
6271
|
+
type: "hosted_tool";
|
6272
|
+
providerData: Record<string, any>;
|
6273
|
+
name: "hosted_mcp";
|
6274
|
+
};
|
6275
|
+
}[] | undefined;
|
5986
6276
|
} | undefined;
|
5987
6277
|
}, {
|
5988
6278
|
$schemaVersion: "1.0";
|
@@ -6063,12 +6353,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6063
6353
|
status?: string | undefined;
|
6064
6354
|
providerData?: Record<string, any> | undefined;
|
6065
6355
|
id?: string | undefined;
|
6356
|
+
arguments?: string | undefined;
|
6066
6357
|
output?: string | undefined;
|
6067
6358
|
} | {
|
6068
6359
|
type: "function_call";
|
6069
6360
|
name: string;
|
6070
|
-
callId: string;
|
6071
6361
|
arguments: string;
|
6362
|
+
callId: string;
|
6072
6363
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6073
6364
|
providerData?: Record<string, any> | undefined;
|
6074
6365
|
id?: string | undefined;
|
@@ -6193,12 +6484,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6193
6484
|
status?: string | undefined;
|
6194
6485
|
providerData?: Record<string, any> | undefined;
|
6195
6486
|
id?: string | undefined;
|
6487
|
+
arguments?: string | undefined;
|
6196
6488
|
output?: string | undefined;
|
6197
6489
|
} | {
|
6198
6490
|
type: "function_call";
|
6199
6491
|
name: string;
|
6200
|
-
callId: string;
|
6201
6492
|
arguments: string;
|
6493
|
+
callId: string;
|
6202
6494
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6203
6495
|
providerData?: Record<string, any> | undefined;
|
6204
6496
|
id?: string | undefined;
|
@@ -6264,6 +6556,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6264
6556
|
outputTokens: number;
|
6265
6557
|
totalTokens: number;
|
6266
6558
|
};
|
6559
|
+
providerData?: Record<string, any> | undefined;
|
6267
6560
|
responseId?: string | undefined;
|
6268
6561
|
}[];
|
6269
6562
|
context: {
|
@@ -6354,12 +6647,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6354
6647
|
status?: string | undefined;
|
6355
6648
|
providerData?: Record<string, any> | undefined;
|
6356
6649
|
id?: string | undefined;
|
6650
|
+
arguments?: string | undefined;
|
6357
6651
|
output?: string | undefined;
|
6358
6652
|
} | {
|
6359
6653
|
type: "function_call";
|
6360
6654
|
name: string;
|
6361
|
-
callId: string;
|
6362
6655
|
arguments: string;
|
6656
|
+
callId: string;
|
6363
6657
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6364
6658
|
providerData?: Record<string, any> | undefined;
|
6365
6659
|
id?: string | undefined;
|
@@ -6453,8 +6747,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6453
6747
|
rawItem: {
|
6454
6748
|
type: "function_call";
|
6455
6749
|
name: string;
|
6456
|
-
callId: string;
|
6457
6750
|
arguments: string;
|
6751
|
+
callId: string;
|
6458
6752
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6459
6753
|
providerData?: Record<string, any> | undefined;
|
6460
6754
|
id?: string | undefined;
|
@@ -6491,10 +6785,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6491
6785
|
name: string;
|
6492
6786
|
};
|
6493
6787
|
rawItem: {
|
6788
|
+
type: "hosted_tool_call";
|
6789
|
+
name: string;
|
6790
|
+
status?: string | undefined;
|
6791
|
+
providerData?: Record<string, any> | undefined;
|
6792
|
+
id?: string | undefined;
|
6793
|
+
arguments?: string | undefined;
|
6794
|
+
output?: string | undefined;
|
6795
|
+
} | {
|
6494
6796
|
type: "function_call";
|
6495
6797
|
name: string;
|
6496
|
-
callId: string;
|
6497
6798
|
arguments: string;
|
6799
|
+
callId: string;
|
6498
6800
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6499
6801
|
providerData?: Record<string, any> | undefined;
|
6500
6802
|
id?: string | undefined;
|
@@ -6558,12 +6860,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6558
6860
|
status?: string | undefined;
|
6559
6861
|
providerData?: Record<string, any> | undefined;
|
6560
6862
|
id?: string | undefined;
|
6863
|
+
arguments?: string | undefined;
|
6561
6864
|
output?: string | undefined;
|
6562
6865
|
} | {
|
6563
6866
|
type: "function_call";
|
6564
6867
|
name: string;
|
6565
|
-
callId: string;
|
6566
6868
|
arguments: string;
|
6869
|
+
callId: string;
|
6567
6870
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6568
6871
|
providerData?: Record<string, any> | undefined;
|
6569
6872
|
id?: string | undefined;
|
@@ -6629,6 +6932,7 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6629
6932
|
outputTokens: number;
|
6630
6933
|
totalTokens: number;
|
6631
6934
|
};
|
6935
|
+
providerData?: Record<string, any> | undefined;
|
6632
6936
|
responseId?: string | undefined;
|
6633
6937
|
} | undefined;
|
6634
6938
|
lastProcessedResponse?: {
|
@@ -6684,12 +6988,13 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6684
6988
|
status?: string | undefined;
|
6685
6989
|
providerData?: Record<string, any> | undefined;
|
6686
6990
|
id?: string | undefined;
|
6991
|
+
arguments?: string | undefined;
|
6687
6992
|
output?: string | undefined;
|
6688
6993
|
} | {
|
6689
6994
|
type: "function_call";
|
6690
6995
|
name: string;
|
6691
|
-
callId: string;
|
6692
6996
|
arguments: string;
|
6997
|
+
callId: string;
|
6693
6998
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6694
6999
|
providerData?: Record<string, any> | undefined;
|
6695
7000
|
id?: string | undefined;
|
@@ -6783,8 +7088,8 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6783
7088
|
rawItem: {
|
6784
7089
|
type: "function_call";
|
6785
7090
|
name: string;
|
6786
|
-
callId: string;
|
6787
7091
|
arguments: string;
|
7092
|
+
callId: string;
|
6788
7093
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6789
7094
|
providerData?: Record<string, any> | undefined;
|
6790
7095
|
id?: string | undefined;
|
@@ -6821,10 +7126,18 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6821
7126
|
name: string;
|
6822
7127
|
};
|
6823
7128
|
rawItem: {
|
7129
|
+
type: "hosted_tool_call";
|
7130
|
+
name: string;
|
7131
|
+
status?: string | undefined;
|
7132
|
+
providerData?: Record<string, any> | undefined;
|
7133
|
+
id?: string | undefined;
|
7134
|
+
arguments?: string | undefined;
|
7135
|
+
output?: string | undefined;
|
7136
|
+
} | {
|
6824
7137
|
type: "function_call";
|
6825
7138
|
name: string;
|
6826
|
-
callId: string;
|
6827
7139
|
arguments: string;
|
7140
|
+
callId: string;
|
6828
7141
|
status?: "in_progress" | "completed" | "incomplete" | undefined;
|
6829
7142
|
providerData?: Record<string, any> | undefined;
|
6830
7143
|
id?: string | undefined;
|
@@ -6839,6 +7152,22 @@ export declare const SerializedRunState: z.ZodObject<{
|
|
6839
7152
|
computer?: any;
|
6840
7153
|
toolCall?: any;
|
6841
7154
|
}[];
|
7155
|
+
mcpApprovalRequests?: {
|
7156
|
+
requestItem: {
|
7157
|
+
rawItem: {
|
7158
|
+
type: "hosted_tool_call";
|
7159
|
+
name: string;
|
7160
|
+
status?: string | undefined;
|
7161
|
+
arguments?: string | undefined;
|
7162
|
+
output?: string | undefined;
|
7163
|
+
};
|
7164
|
+
};
|
7165
|
+
mcpTool: {
|
7166
|
+
type: "hosted_tool";
|
7167
|
+
providerData: Record<string, any>;
|
7168
|
+
name: "hosted_mcp";
|
7169
|
+
};
|
7170
|
+
}[] | undefined;
|
6842
7171
|
} | undefined;
|
6843
7172
|
}>;
|
6844
7173
|
/**
|
@@ -6915,6 +7244,10 @@ export declare class RunState<TContext, TAgent extends Agent<any, any>> {
|
|
6915
7244
|
*/
|
6916
7245
|
_trace: Trace | null;
|
6917
7246
|
constructor(context: RunContext<TContext>, originalInput: string | AgentInputItem[], startingAgent: TAgent, maxTurns: number);
|
7247
|
+
/**
|
7248
|
+
* Returns all interruptions if the current step is an interruption otherwise returns an empty array.
|
7249
|
+
*/
|
7250
|
+
getInterruptions(): any;
|
6918
7251
|
/**
|
6919
7252
|
* Approves a tool call requested by the agent through an interruption and approval item request.
|
6920
7253
|
*
|