@openai/agents-core 0.5.4 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agentToolRunConfig.js +2 -10
- package/dist/agentToolRunConfig.js.map +1 -1
- package/dist/agentToolRunConfig.mjs +2 -10
- package/dist/agentToolRunConfig.mjs.map +1 -1
- package/dist/computer.d.ts +10 -2
- package/dist/events.d.ts +1 -1
- package/dist/events.js.map +1 -1
- package/dist/events.mjs.map +1 -1
- package/dist/extensions/handoffFilters.d.ts +4 -3
- package/dist/extensions/handoffFilters.js +8 -3
- package/dist/extensions/handoffFilters.js.map +1 -1
- package/dist/extensions/handoffFilters.mjs +9 -4
- package/dist/extensions/handoffFilters.mjs.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/items.d.ts +1158 -32
- package/dist/items.js +56 -2
- package/dist/items.js.map +1 -1
- package/dist/items.mjs +53 -1
- package/dist/items.mjs.map +1 -1
- package/dist/metadata.js +3 -3
- package/dist/metadata.mjs +3 -3
- package/dist/model.d.ts +160 -2
- package/dist/run.js +6 -8
- package/dist/run.js.map +1 -1
- package/dist/run.mjs +8 -10
- package/dist/run.mjs.map +1 -1
- package/dist/runContext.js +116 -67
- package/dist/runContext.js.map +1 -1
- package/dist/runContext.mjs +116 -67
- package/dist/runContext.mjs.map +1 -1
- package/dist/runState.d.ts +493 -17
- package/dist/runState.js +303 -12
- package/dist/runState.js.map +1 -1
- package/dist/runState.mjs +304 -13
- package/dist/runState.mjs.map +1 -1
- package/dist/runner/modelOutputs.d.ts +5 -1
- package/dist/runner/modelOutputs.js +552 -12
- package/dist/runner/modelOutputs.js.map +1 -1
- package/dist/runner/modelOutputs.mjs +552 -13
- package/dist/runner/modelOutputs.mjs.map +1 -1
- package/dist/runner/modelPreparation.js +5 -2
- package/dist/runner/modelPreparation.js.map +1 -1
- package/dist/runner/modelPreparation.mjs +5 -2
- package/dist/runner/modelPreparation.mjs.map +1 -1
- package/dist/runner/modelRetry.d.ts +13 -0
- package/dist/runner/modelRetry.js +581 -0
- package/dist/runner/modelRetry.js.map +1 -0
- package/dist/runner/modelRetry.mjs +576 -0
- package/dist/runner/modelRetry.mjs.map +1 -0
- package/dist/runner/modelSettings.d.ts +1 -0
- package/dist/runner/modelSettings.js +9 -0
- package/dist/runner/modelSettings.js.map +1 -1
- package/dist/runner/modelSettings.mjs +7 -0
- package/dist/runner/modelSettings.mjs.map +1 -1
- package/dist/runner/modelSettingsMerge.d.ts +2 -0
- package/dist/runner/modelSettingsMerge.js +54 -0
- package/dist/runner/modelSettingsMerge.js.map +1 -0
- package/dist/runner/modelSettingsMerge.mjs +51 -0
- package/dist/runner/modelSettingsMerge.mjs.map +1 -0
- package/dist/runner/sessionPersistence.js +17 -3
- package/dist/runner/sessionPersistence.js.map +1 -1
- package/dist/runner/sessionPersistence.mjs +17 -3
- package/dist/runner/sessionPersistence.mjs.map +1 -1
- package/dist/runner/streaming.js +8 -0
- package/dist/runner/streaming.js.map +1 -1
- package/dist/runner/streaming.mjs +9 -1
- package/dist/runner/streaming.mjs.map +1 -1
- package/dist/runner/toolExecution.js +102 -67
- package/dist/runner/toolExecution.js.map +1 -1
- package/dist/runner/toolExecution.mjs +102 -67
- package/dist/runner/toolExecution.mjs.map +1 -1
- package/dist/runner/toolSearch.d.ts +23 -0
- package/dist/runner/toolSearch.js +426 -0
- package/dist/runner/toolSearch.js.map +1 -0
- package/dist/runner/toolSearch.mjs +416 -0
- package/dist/runner/toolSearch.mjs.map +1 -0
- package/dist/runner/turnResolution.js +2 -1
- package/dist/runner/turnResolution.js.map +1 -1
- package/dist/runner/turnResolution.mjs +2 -1
- package/dist/runner/turnResolution.mjs.map +1 -1
- package/dist/tool.d.ts +50 -0
- package/dist/tool.js +79 -0
- package/dist/tool.js.map +1 -1
- package/dist/tool.mjs +74 -0
- package/dist/tool.mjs.map +1 -1
- package/dist/toolIdentity.d.ts +23 -0
- package/dist/toolIdentity.js +105 -0
- package/dist/toolIdentity.js.map +1 -0
- package/dist/toolIdentity.mjs +89 -0
- package/dist/toolIdentity.mjs.map +1 -0
- package/dist/tooling.d.ts +24 -0
- package/dist/tooling.js +110 -0
- package/dist/tooling.js.map +1 -0
- package/dist/tooling.mjs +97 -0
- package/dist/tooling.mjs.map +1 -0
- package/dist/types/aliases.d.ts +3 -3
- package/dist/types/protocol.d.ts +417 -12
- package/dist/types/protocol.js +59 -4
- package/dist/types/protocol.js.map +1 -1
- package/dist/types/protocol.mjs +57 -2
- package/dist/types/protocol.mjs.map +1 -1
- package/dist/types/providerData.d.ts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +15 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +2 -0
- package/dist/utils/index.mjs.map +1 -1
- package/dist/utils/serialize.js +37 -6
- package/dist/utils/serialize.js.map +1 -1
- package/dist/utils/serialize.mjs +37 -6
- package/dist/utils/serialize.mjs.map +1 -1
- package/dist/utils/toolSearch.d.ts +1 -0
- package/dist/utils/toolSearch.js +13 -0
- package/dist/utils/toolSearch.js.map +1 -0
- package/dist/utils/toolSearch.mjs +2 -0
- package/dist/utils/toolSearch.mjs.map +1 -0
- package/package.json +2 -2
package/dist/types/protocol.d.ts
CHANGED
|
@@ -378,6 +378,7 @@ export declare const FunctionCallItem: z.ZodObject<{
|
|
|
378
378
|
type: z.ZodLiteral<"function_call">;
|
|
379
379
|
callId: z.ZodString;
|
|
380
380
|
name: z.ZodString;
|
|
381
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
381
382
|
status: z.ZodOptional<z.ZodEnum<{
|
|
382
383
|
in_progress: "in_progress";
|
|
383
384
|
completed: "completed";
|
|
@@ -386,6 +387,52 @@ export declare const FunctionCallItem: z.ZodObject<{
|
|
|
386
387
|
arguments: z.ZodString;
|
|
387
388
|
}, z.core.$strip>;
|
|
388
389
|
export type FunctionCallItem = z.infer<typeof FunctionCallItem>;
|
|
390
|
+
export declare const ToolReference: z.ZodObject<{
|
|
391
|
+
type: z.ZodLiteral<"tool_reference">;
|
|
392
|
+
functionName: z.ZodString;
|
|
393
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
export type ToolReference = z.infer<typeof ToolReference>;
|
|
396
|
+
/**
|
|
397
|
+
* Tool search outputs may contain tool references or concrete tool definitions.
|
|
398
|
+
* Preserve the payload as returned so stateless continuation can replay it losslessly.
|
|
399
|
+
*/
|
|
400
|
+
export declare const ToolSearchOutputTool: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
401
|
+
export type ToolSearchOutputTool = z.infer<typeof ToolSearchOutputTool>;
|
|
402
|
+
/**
|
|
403
|
+
* Tool search call arguments are provider-defined. Hosted tool search uses
|
|
404
|
+
* `{ paths, query }`, while client-executed tool search can use a custom schema.
|
|
405
|
+
*/
|
|
406
|
+
export declare const ToolSearchCallArguments: z.ZodUnknown;
|
|
407
|
+
export type ToolSearchCallArguments = z.infer<typeof ToolSearchCallArguments>;
|
|
408
|
+
export declare const ToolSearchCallItem: z.ZodObject<{
|
|
409
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
410
|
+
id: z.ZodOptional<z.ZodString>;
|
|
411
|
+
type: z.ZodLiteral<"tool_search_call">;
|
|
412
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
415
|
+
client: "client";
|
|
416
|
+
server: "server";
|
|
417
|
+
}>>;
|
|
418
|
+
arguments: z.ZodUnknown;
|
|
419
|
+
status: z.ZodOptional<z.ZodString>;
|
|
420
|
+
}, z.core.$strip>;
|
|
421
|
+
export type ToolSearchCallItem = z.infer<typeof ToolSearchCallItem>;
|
|
422
|
+
export declare const ToolSearchOutputItem: z.ZodObject<{
|
|
423
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
424
|
+
id: z.ZodOptional<z.ZodString>;
|
|
425
|
+
type: z.ZodLiteral<"tool_search_output">;
|
|
426
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
427
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
429
|
+
client: "client";
|
|
430
|
+
server: "server";
|
|
431
|
+
}>>;
|
|
432
|
+
status: z.ZodOptional<z.ZodString>;
|
|
433
|
+
tools: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
export type ToolSearchOutputItem = z.infer<typeof ToolSearchOutputItem>;
|
|
389
436
|
export declare const ToolCallOutputContent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
390
437
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
391
438
|
type: z.ZodLiteral<"text">;
|
|
@@ -445,6 +492,7 @@ export declare const FunctionCallResultItem: z.ZodObject<{
|
|
|
445
492
|
id: z.ZodOptional<z.ZodString>;
|
|
446
493
|
type: z.ZodLiteral<"function_call_result">;
|
|
447
494
|
name: z.ZodString;
|
|
495
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
448
496
|
callId: z.ZodString;
|
|
449
497
|
status: z.ZodEnum<{
|
|
450
498
|
in_progress: "in_progress";
|
|
@@ -514,7 +562,7 @@ export declare const ComputerUseCallItem: z.ZodObject<{
|
|
|
514
562
|
completed: "completed";
|
|
515
563
|
incomplete: "incomplete";
|
|
516
564
|
}>;
|
|
517
|
-
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
565
|
+
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
518
566
|
type: z.ZodLiteral<"screenshot">;
|
|
519
567
|
}, z.core.$strip>, z.ZodObject<{
|
|
520
568
|
type: z.ZodLiteral<"click">;
|
|
@@ -555,7 +603,49 @@ export declare const ComputerUseCallItem: z.ZodObject<{
|
|
|
555
603
|
x: z.ZodNumber;
|
|
556
604
|
y: z.ZodNumber;
|
|
557
605
|
}, z.core.$strip>>;
|
|
558
|
-
}, z.core.$strip>], "type"
|
|
606
|
+
}, z.core.$strip>], "type">>;
|
|
607
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
608
|
+
type: z.ZodLiteral<"screenshot">;
|
|
609
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
610
|
+
type: z.ZodLiteral<"click">;
|
|
611
|
+
x: z.ZodNumber;
|
|
612
|
+
y: z.ZodNumber;
|
|
613
|
+
button: z.ZodEnum<{
|
|
614
|
+
left: "left";
|
|
615
|
+
right: "right";
|
|
616
|
+
wheel: "wheel";
|
|
617
|
+
back: "back";
|
|
618
|
+
forward: "forward";
|
|
619
|
+
}>;
|
|
620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
621
|
+
type: z.ZodLiteral<"double_click">;
|
|
622
|
+
x: z.ZodNumber;
|
|
623
|
+
y: z.ZodNumber;
|
|
624
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
625
|
+
type: z.ZodLiteral<"scroll">;
|
|
626
|
+
x: z.ZodNumber;
|
|
627
|
+
y: z.ZodNumber;
|
|
628
|
+
scroll_x: z.ZodNumber;
|
|
629
|
+
scroll_y: z.ZodNumber;
|
|
630
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
631
|
+
type: z.ZodLiteral<"type">;
|
|
632
|
+
text: z.ZodString;
|
|
633
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
634
|
+
type: z.ZodLiteral<"wait">;
|
|
635
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
636
|
+
type: z.ZodLiteral<"move">;
|
|
637
|
+
x: z.ZodNumber;
|
|
638
|
+
y: z.ZodNumber;
|
|
639
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
640
|
+
type: z.ZodLiteral<"keypress">;
|
|
641
|
+
keys: z.ZodArray<z.ZodString>;
|
|
642
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
643
|
+
type: z.ZodLiteral<"drag">;
|
|
644
|
+
path: z.ZodArray<z.ZodObject<{
|
|
645
|
+
x: z.ZodNumber;
|
|
646
|
+
y: z.ZodNumber;
|
|
647
|
+
}, z.core.$strip>>;
|
|
648
|
+
}, z.core.$strip>], "type">>>;
|
|
559
649
|
}, z.core.$strip>;
|
|
560
650
|
export type ComputerUseCallItem = z.infer<typeof ComputerUseCallItem>;
|
|
561
651
|
export declare const ComputerCallResultItem: z.ZodObject<{
|
|
@@ -704,7 +794,7 @@ export declare const ToolCallItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
704
794
|
completed: "completed";
|
|
705
795
|
incomplete: "incomplete";
|
|
706
796
|
}>;
|
|
707
|
-
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
797
|
+
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
708
798
|
type: z.ZodLiteral<"screenshot">;
|
|
709
799
|
}, z.core.$strip>, z.ZodObject<{
|
|
710
800
|
type: z.ZodLiteral<"click">;
|
|
@@ -745,7 +835,49 @@ export declare const ToolCallItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
745
835
|
x: z.ZodNumber;
|
|
746
836
|
y: z.ZodNumber;
|
|
747
837
|
}, z.core.$strip>>;
|
|
748
|
-
}, z.core.$strip>], "type"
|
|
838
|
+
}, z.core.$strip>], "type">>;
|
|
839
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
840
|
+
type: z.ZodLiteral<"screenshot">;
|
|
841
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
842
|
+
type: z.ZodLiteral<"click">;
|
|
843
|
+
x: z.ZodNumber;
|
|
844
|
+
y: z.ZodNumber;
|
|
845
|
+
button: z.ZodEnum<{
|
|
846
|
+
left: "left";
|
|
847
|
+
right: "right";
|
|
848
|
+
wheel: "wheel";
|
|
849
|
+
back: "back";
|
|
850
|
+
forward: "forward";
|
|
851
|
+
}>;
|
|
852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
853
|
+
type: z.ZodLiteral<"double_click">;
|
|
854
|
+
x: z.ZodNumber;
|
|
855
|
+
y: z.ZodNumber;
|
|
856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
857
|
+
type: z.ZodLiteral<"scroll">;
|
|
858
|
+
x: z.ZodNumber;
|
|
859
|
+
y: z.ZodNumber;
|
|
860
|
+
scroll_x: z.ZodNumber;
|
|
861
|
+
scroll_y: z.ZodNumber;
|
|
862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
863
|
+
type: z.ZodLiteral<"type">;
|
|
864
|
+
text: z.ZodString;
|
|
865
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
866
|
+
type: z.ZodLiteral<"wait">;
|
|
867
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
868
|
+
type: z.ZodLiteral<"move">;
|
|
869
|
+
x: z.ZodNumber;
|
|
870
|
+
y: z.ZodNumber;
|
|
871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
872
|
+
type: z.ZodLiteral<"keypress">;
|
|
873
|
+
keys: z.ZodArray<z.ZodString>;
|
|
874
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
875
|
+
type: z.ZodLiteral<"drag">;
|
|
876
|
+
path: z.ZodArray<z.ZodObject<{
|
|
877
|
+
x: z.ZodNumber;
|
|
878
|
+
y: z.ZodNumber;
|
|
879
|
+
}, z.core.$strip>>;
|
|
880
|
+
}, z.core.$strip>], "type">>>;
|
|
749
881
|
}, z.core.$strip>, z.ZodObject<{
|
|
750
882
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
751
883
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -788,6 +920,7 @@ export declare const ToolCallItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
788
920
|
type: z.ZodLiteral<"function_call">;
|
|
789
921
|
callId: z.ZodString;
|
|
790
922
|
name: z.ZodString;
|
|
923
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
791
924
|
status: z.ZodOptional<z.ZodEnum<{
|
|
792
925
|
in_progress: "in_progress";
|
|
793
926
|
completed: "completed";
|
|
@@ -874,6 +1007,30 @@ export declare const OutputModelItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
874
1007
|
type: z.ZodLiteral<"image">;
|
|
875
1008
|
image: z.ZodString;
|
|
876
1009
|
}, z.core.$strip>], "type">>;
|
|
1010
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1011
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1012
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
type: z.ZodLiteral<"tool_search_call">;
|
|
1014
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1015
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1016
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
1017
|
+
client: "client";
|
|
1018
|
+
server: "server";
|
|
1019
|
+
}>>;
|
|
1020
|
+
arguments: z.ZodUnknown;
|
|
1021
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1023
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1024
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
type: z.ZodLiteral<"tool_search_output">;
|
|
1026
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1027
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1028
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
1029
|
+
client: "client";
|
|
1030
|
+
server: "server";
|
|
1031
|
+
}>>;
|
|
1032
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
tools: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
877
1034
|
}, z.core.$strip>, z.ZodObject<{
|
|
878
1035
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
879
1036
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -888,6 +1045,7 @@ export declare const OutputModelItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
888
1045
|
type: z.ZodLiteral<"function_call">;
|
|
889
1046
|
callId: z.ZodString;
|
|
890
1047
|
name: z.ZodString;
|
|
1048
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
891
1049
|
status: z.ZodOptional<z.ZodEnum<{
|
|
892
1050
|
in_progress: "in_progress";
|
|
893
1051
|
completed: "completed";
|
|
@@ -904,7 +1062,7 @@ export declare const OutputModelItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
904
1062
|
completed: "completed";
|
|
905
1063
|
incomplete: "incomplete";
|
|
906
1064
|
}>;
|
|
907
|
-
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1065
|
+
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
908
1066
|
type: z.ZodLiteral<"screenshot">;
|
|
909
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
910
1068
|
type: z.ZodLiteral<"click">;
|
|
@@ -945,7 +1103,49 @@ export declare const OutputModelItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
945
1103
|
x: z.ZodNumber;
|
|
946
1104
|
y: z.ZodNumber;
|
|
947
1105
|
}, z.core.$strip>>;
|
|
948
|
-
}, z.core.$strip>], "type"
|
|
1106
|
+
}, z.core.$strip>], "type">>;
|
|
1107
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1108
|
+
type: z.ZodLiteral<"screenshot">;
|
|
1109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1110
|
+
type: z.ZodLiteral<"click">;
|
|
1111
|
+
x: z.ZodNumber;
|
|
1112
|
+
y: z.ZodNumber;
|
|
1113
|
+
button: z.ZodEnum<{
|
|
1114
|
+
left: "left";
|
|
1115
|
+
right: "right";
|
|
1116
|
+
wheel: "wheel";
|
|
1117
|
+
back: "back";
|
|
1118
|
+
forward: "forward";
|
|
1119
|
+
}>;
|
|
1120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1121
|
+
type: z.ZodLiteral<"double_click">;
|
|
1122
|
+
x: z.ZodNumber;
|
|
1123
|
+
y: z.ZodNumber;
|
|
1124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1125
|
+
type: z.ZodLiteral<"scroll">;
|
|
1126
|
+
x: z.ZodNumber;
|
|
1127
|
+
y: z.ZodNumber;
|
|
1128
|
+
scroll_x: z.ZodNumber;
|
|
1129
|
+
scroll_y: z.ZodNumber;
|
|
1130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1131
|
+
type: z.ZodLiteral<"type">;
|
|
1132
|
+
text: z.ZodString;
|
|
1133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1134
|
+
type: z.ZodLiteral<"wait">;
|
|
1135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1136
|
+
type: z.ZodLiteral<"move">;
|
|
1137
|
+
x: z.ZodNumber;
|
|
1138
|
+
y: z.ZodNumber;
|
|
1139
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1140
|
+
type: z.ZodLiteral<"keypress">;
|
|
1141
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1142
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1143
|
+
type: z.ZodLiteral<"drag">;
|
|
1144
|
+
path: z.ZodArray<z.ZodObject<{
|
|
1145
|
+
x: z.ZodNumber;
|
|
1146
|
+
y: z.ZodNumber;
|
|
1147
|
+
}, z.core.$strip>>;
|
|
1148
|
+
}, z.core.$strip>], "type">>>;
|
|
949
1149
|
}, z.core.$strip>, z.ZodObject<{
|
|
950
1150
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
951
1151
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -987,6 +1187,7 @@ export declare const OutputModelItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
987
1187
|
id: z.ZodOptional<z.ZodString>;
|
|
988
1188
|
type: z.ZodLiteral<"function_call_result">;
|
|
989
1189
|
name: z.ZodString;
|
|
1190
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
990
1191
|
callId: z.ZodString;
|
|
991
1192
|
status: z.ZodEnum<{
|
|
992
1193
|
in_progress: "in_progress";
|
|
@@ -1167,6 +1368,30 @@ export declare const ModelItem: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1167
1368
|
type: z.ZodOptional<z.ZodLiteral<"message">>;
|
|
1168
1369
|
role: z.ZodLiteral<"system">;
|
|
1169
1370
|
content: z.ZodString;
|
|
1371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1372
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1373
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
type: z.ZodLiteral<"tool_search_call">;
|
|
1375
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1376
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1377
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
1378
|
+
client: "client";
|
|
1379
|
+
server: "server";
|
|
1380
|
+
}>>;
|
|
1381
|
+
arguments: z.ZodUnknown;
|
|
1382
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1384
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1385
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
type: z.ZodLiteral<"tool_search_output">;
|
|
1387
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1389
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
1390
|
+
client: "client";
|
|
1391
|
+
server: "server";
|
|
1392
|
+
}>>;
|
|
1393
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
tools: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1170
1395
|
}, z.core.$strip>, z.ZodObject<{
|
|
1171
1396
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1172
1397
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1181,6 +1406,7 @@ export declare const ModelItem: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1181
1406
|
type: z.ZodLiteral<"function_call">;
|
|
1182
1407
|
callId: z.ZodString;
|
|
1183
1408
|
name: z.ZodString;
|
|
1409
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1184
1410
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1185
1411
|
in_progress: "in_progress";
|
|
1186
1412
|
completed: "completed";
|
|
@@ -1197,7 +1423,7 @@ export declare const ModelItem: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1197
1423
|
completed: "completed";
|
|
1198
1424
|
incomplete: "incomplete";
|
|
1199
1425
|
}>;
|
|
1200
|
-
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1426
|
+
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1201
1427
|
type: z.ZodLiteral<"screenshot">;
|
|
1202
1428
|
}, z.core.$strip>, z.ZodObject<{
|
|
1203
1429
|
type: z.ZodLiteral<"click">;
|
|
@@ -1238,7 +1464,49 @@ export declare const ModelItem: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1238
1464
|
x: z.ZodNumber;
|
|
1239
1465
|
y: z.ZodNumber;
|
|
1240
1466
|
}, z.core.$strip>>;
|
|
1241
|
-
}, z.core.$strip>], "type"
|
|
1467
|
+
}, z.core.$strip>], "type">>;
|
|
1468
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1469
|
+
type: z.ZodLiteral<"screenshot">;
|
|
1470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1471
|
+
type: z.ZodLiteral<"click">;
|
|
1472
|
+
x: z.ZodNumber;
|
|
1473
|
+
y: z.ZodNumber;
|
|
1474
|
+
button: z.ZodEnum<{
|
|
1475
|
+
left: "left";
|
|
1476
|
+
right: "right";
|
|
1477
|
+
wheel: "wheel";
|
|
1478
|
+
back: "back";
|
|
1479
|
+
forward: "forward";
|
|
1480
|
+
}>;
|
|
1481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1482
|
+
type: z.ZodLiteral<"double_click">;
|
|
1483
|
+
x: z.ZodNumber;
|
|
1484
|
+
y: z.ZodNumber;
|
|
1485
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1486
|
+
type: z.ZodLiteral<"scroll">;
|
|
1487
|
+
x: z.ZodNumber;
|
|
1488
|
+
y: z.ZodNumber;
|
|
1489
|
+
scroll_x: z.ZodNumber;
|
|
1490
|
+
scroll_y: z.ZodNumber;
|
|
1491
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1492
|
+
type: z.ZodLiteral<"type">;
|
|
1493
|
+
text: z.ZodString;
|
|
1494
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1495
|
+
type: z.ZodLiteral<"wait">;
|
|
1496
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1497
|
+
type: z.ZodLiteral<"move">;
|
|
1498
|
+
x: z.ZodNumber;
|
|
1499
|
+
y: z.ZodNumber;
|
|
1500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1501
|
+
type: z.ZodLiteral<"keypress">;
|
|
1502
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1504
|
+
type: z.ZodLiteral<"drag">;
|
|
1505
|
+
path: z.ZodArray<z.ZodObject<{
|
|
1506
|
+
x: z.ZodNumber;
|
|
1507
|
+
y: z.ZodNumber;
|
|
1508
|
+
}, z.core.$strip>>;
|
|
1509
|
+
}, z.core.$strip>], "type">>>;
|
|
1242
1510
|
}, z.core.$strip>, z.ZodObject<{
|
|
1243
1511
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1244
1512
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1280,6 +1548,7 @@ export declare const ModelItem: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1280
1548
|
id: z.ZodOptional<z.ZodString>;
|
|
1281
1549
|
type: z.ZodLiteral<"function_call_result">;
|
|
1282
1550
|
name: z.ZodString;
|
|
1551
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1283
1552
|
callId: z.ZodString;
|
|
1284
1553
|
status: z.ZodEnum<{
|
|
1285
1554
|
in_progress: "in_progress";
|
|
@@ -1499,6 +1768,30 @@ export declare const StreamEventResponseCompleted: z.ZodObject<{
|
|
|
1499
1768
|
type: z.ZodLiteral<"image">;
|
|
1500
1769
|
image: z.ZodString;
|
|
1501
1770
|
}, z.core.$strip>], "type">>;
|
|
1771
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1772
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1773
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1774
|
+
type: z.ZodLiteral<"tool_search_call">;
|
|
1775
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1776
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1777
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
1778
|
+
client: "client";
|
|
1779
|
+
server: "server";
|
|
1780
|
+
}>>;
|
|
1781
|
+
arguments: z.ZodUnknown;
|
|
1782
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1783
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1784
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1785
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
type: z.ZodLiteral<"tool_search_output">;
|
|
1787
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1788
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1789
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
1790
|
+
client: "client";
|
|
1791
|
+
server: "server";
|
|
1792
|
+
}>>;
|
|
1793
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1794
|
+
tools: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1502
1795
|
}, z.core.$strip>, z.ZodObject<{
|
|
1503
1796
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1504
1797
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1513,6 +1806,7 @@ export declare const StreamEventResponseCompleted: z.ZodObject<{
|
|
|
1513
1806
|
type: z.ZodLiteral<"function_call">;
|
|
1514
1807
|
callId: z.ZodString;
|
|
1515
1808
|
name: z.ZodString;
|
|
1809
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1516
1810
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1517
1811
|
in_progress: "in_progress";
|
|
1518
1812
|
completed: "completed";
|
|
@@ -1529,7 +1823,7 @@ export declare const StreamEventResponseCompleted: z.ZodObject<{
|
|
|
1529
1823
|
completed: "completed";
|
|
1530
1824
|
incomplete: "incomplete";
|
|
1531
1825
|
}>;
|
|
1532
|
-
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1826
|
+
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1533
1827
|
type: z.ZodLiteral<"screenshot">;
|
|
1534
1828
|
}, z.core.$strip>, z.ZodObject<{
|
|
1535
1829
|
type: z.ZodLiteral<"click">;
|
|
@@ -1570,7 +1864,49 @@ export declare const StreamEventResponseCompleted: z.ZodObject<{
|
|
|
1570
1864
|
x: z.ZodNumber;
|
|
1571
1865
|
y: z.ZodNumber;
|
|
1572
1866
|
}, z.core.$strip>>;
|
|
1573
|
-
}, z.core.$strip>], "type"
|
|
1867
|
+
}, z.core.$strip>], "type">>;
|
|
1868
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1869
|
+
type: z.ZodLiteral<"screenshot">;
|
|
1870
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1871
|
+
type: z.ZodLiteral<"click">;
|
|
1872
|
+
x: z.ZodNumber;
|
|
1873
|
+
y: z.ZodNumber;
|
|
1874
|
+
button: z.ZodEnum<{
|
|
1875
|
+
left: "left";
|
|
1876
|
+
right: "right";
|
|
1877
|
+
wheel: "wheel";
|
|
1878
|
+
back: "back";
|
|
1879
|
+
forward: "forward";
|
|
1880
|
+
}>;
|
|
1881
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1882
|
+
type: z.ZodLiteral<"double_click">;
|
|
1883
|
+
x: z.ZodNumber;
|
|
1884
|
+
y: z.ZodNumber;
|
|
1885
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1886
|
+
type: z.ZodLiteral<"scroll">;
|
|
1887
|
+
x: z.ZodNumber;
|
|
1888
|
+
y: z.ZodNumber;
|
|
1889
|
+
scroll_x: z.ZodNumber;
|
|
1890
|
+
scroll_y: z.ZodNumber;
|
|
1891
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1892
|
+
type: z.ZodLiteral<"type">;
|
|
1893
|
+
text: z.ZodString;
|
|
1894
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1895
|
+
type: z.ZodLiteral<"wait">;
|
|
1896
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1897
|
+
type: z.ZodLiteral<"move">;
|
|
1898
|
+
x: z.ZodNumber;
|
|
1899
|
+
y: z.ZodNumber;
|
|
1900
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1901
|
+
type: z.ZodLiteral<"keypress">;
|
|
1902
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1904
|
+
type: z.ZodLiteral<"drag">;
|
|
1905
|
+
path: z.ZodArray<z.ZodObject<{
|
|
1906
|
+
x: z.ZodNumber;
|
|
1907
|
+
y: z.ZodNumber;
|
|
1908
|
+
}, z.core.$strip>>;
|
|
1909
|
+
}, z.core.$strip>], "type">>>;
|
|
1574
1910
|
}, z.core.$strip>, z.ZodObject<{
|
|
1575
1911
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1576
1912
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1612,6 +1948,7 @@ export declare const StreamEventResponseCompleted: z.ZodObject<{
|
|
|
1612
1948
|
id: z.ZodOptional<z.ZodString>;
|
|
1613
1949
|
type: z.ZodLiteral<"function_call_result">;
|
|
1614
1950
|
name: z.ZodString;
|
|
1951
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1615
1952
|
callId: z.ZodString;
|
|
1616
1953
|
status: z.ZodEnum<{
|
|
1617
1954
|
in_progress: "in_progress";
|
|
@@ -1791,6 +2128,30 @@ export declare const StreamEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1791
2128
|
type: z.ZodLiteral<"image">;
|
|
1792
2129
|
image: z.ZodString;
|
|
1793
2130
|
}, z.core.$strip>], "type">>;
|
|
2131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2132
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2133
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2134
|
+
type: z.ZodLiteral<"tool_search_call">;
|
|
2135
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2136
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2137
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
2138
|
+
client: "client";
|
|
2139
|
+
server: "server";
|
|
2140
|
+
}>>;
|
|
2141
|
+
arguments: z.ZodUnknown;
|
|
2142
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2144
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2145
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2146
|
+
type: z.ZodLiteral<"tool_search_output">;
|
|
2147
|
+
call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2148
|
+
callId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2149
|
+
execution: z.ZodOptional<z.ZodEnum<{
|
|
2150
|
+
client: "client";
|
|
2151
|
+
server: "server";
|
|
2152
|
+
}>>;
|
|
2153
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2154
|
+
tools: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1794
2155
|
}, z.core.$strip>, z.ZodObject<{
|
|
1795
2156
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1796
2157
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1805,6 +2166,7 @@ export declare const StreamEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1805
2166
|
type: z.ZodLiteral<"function_call">;
|
|
1806
2167
|
callId: z.ZodString;
|
|
1807
2168
|
name: z.ZodString;
|
|
2169
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1808
2170
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1809
2171
|
in_progress: "in_progress";
|
|
1810
2172
|
completed: "completed";
|
|
@@ -1821,7 +2183,7 @@ export declare const StreamEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1821
2183
|
completed: "completed";
|
|
1822
2184
|
incomplete: "incomplete";
|
|
1823
2185
|
}>;
|
|
1824
|
-
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2186
|
+
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1825
2187
|
type: z.ZodLiteral<"screenshot">;
|
|
1826
2188
|
}, z.core.$strip>, z.ZodObject<{
|
|
1827
2189
|
type: z.ZodLiteral<"click">;
|
|
@@ -1862,7 +2224,49 @@ export declare const StreamEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1862
2224
|
x: z.ZodNumber;
|
|
1863
2225
|
y: z.ZodNumber;
|
|
1864
2226
|
}, z.core.$strip>>;
|
|
1865
|
-
}, z.core.$strip>], "type"
|
|
2227
|
+
}, z.core.$strip>], "type">>;
|
|
2228
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2229
|
+
type: z.ZodLiteral<"screenshot">;
|
|
2230
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2231
|
+
type: z.ZodLiteral<"click">;
|
|
2232
|
+
x: z.ZodNumber;
|
|
2233
|
+
y: z.ZodNumber;
|
|
2234
|
+
button: z.ZodEnum<{
|
|
2235
|
+
left: "left";
|
|
2236
|
+
right: "right";
|
|
2237
|
+
wheel: "wheel";
|
|
2238
|
+
back: "back";
|
|
2239
|
+
forward: "forward";
|
|
2240
|
+
}>;
|
|
2241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2242
|
+
type: z.ZodLiteral<"double_click">;
|
|
2243
|
+
x: z.ZodNumber;
|
|
2244
|
+
y: z.ZodNumber;
|
|
2245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2246
|
+
type: z.ZodLiteral<"scroll">;
|
|
2247
|
+
x: z.ZodNumber;
|
|
2248
|
+
y: z.ZodNumber;
|
|
2249
|
+
scroll_x: z.ZodNumber;
|
|
2250
|
+
scroll_y: z.ZodNumber;
|
|
2251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2252
|
+
type: z.ZodLiteral<"type">;
|
|
2253
|
+
text: z.ZodString;
|
|
2254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2255
|
+
type: z.ZodLiteral<"wait">;
|
|
2256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2257
|
+
type: z.ZodLiteral<"move">;
|
|
2258
|
+
x: z.ZodNumber;
|
|
2259
|
+
y: z.ZodNumber;
|
|
2260
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2261
|
+
type: z.ZodLiteral<"keypress">;
|
|
2262
|
+
keys: z.ZodArray<z.ZodString>;
|
|
2263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2264
|
+
type: z.ZodLiteral<"drag">;
|
|
2265
|
+
path: z.ZodArray<z.ZodObject<{
|
|
2266
|
+
x: z.ZodNumber;
|
|
2267
|
+
y: z.ZodNumber;
|
|
2268
|
+
}, z.core.$strip>>;
|
|
2269
|
+
}, z.core.$strip>], "type">>>;
|
|
1866
2270
|
}, z.core.$strip>, z.ZodObject<{
|
|
1867
2271
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1868
2272
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1904,6 +2308,7 @@ export declare const StreamEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1904
2308
|
id: z.ZodOptional<z.ZodString>;
|
|
1905
2309
|
type: z.ZodLiteral<"function_call_result">;
|
|
1906
2310
|
name: z.ZodString;
|
|
2311
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1907
2312
|
callId: z.ZodString;
|
|
1908
2313
|
status: z.ZodEnum<{
|
|
1909
2314
|
in_progress: "in_progress";
|