openai 7.24.0 → 7.25.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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/resources/audio/speech.d.mts +1 -1
- package/resources/audio/speech.d.ts +1 -1
- package/resources/audio/speech.js +1 -1
- package/resources/audio/speech.mjs +1 -1
- package/resources/beta/agents/agents.d.mts +565 -11
- package/resources/beta/agents/agents.d.mts.map +1 -1
- package/resources/beta/agents/agents.d.ts +565 -11
- package/resources/beta/agents/agents.d.ts.map +1 -1
- package/resources/beta/agents/agents.js.map +1 -1
- package/resources/beta/agents/agents.mjs.map +1 -1
- package/resources/beta/agents/environments/templates.d.mts +56 -3
- package/resources/beta/agents/environments/templates.d.mts.map +1 -1
- package/resources/beta/agents/environments/templates.d.ts +56 -3
- package/resources/beta/agents/environments/templates.d.ts.map +1 -1
- package/resources/beta/agents/index.d.mts +1 -1
- package/resources/beta/agents/index.d.mts.map +1 -1
- package/resources/beta/agents/index.d.ts +1 -1
- package/resources/beta/agents/index.d.ts.map +1 -1
- package/resources/beta/agents/index.js.map +1 -1
- package/resources/beta/agents/index.mjs.map +1 -1
- package/resources/beta/agents/sessions/events.d.mts +10 -7
- package/resources/beta/agents/sessions/events.d.mts.map +1 -1
- package/resources/beta/agents/sessions/events.d.ts +10 -7
- package/resources/beta/agents/sessions/events.d.ts.map +1 -1
- package/resources/beta/agents/sessions/events.js +10 -7
- package/resources/beta/agents/sessions/events.js.map +1 -1
- package/resources/beta/agents/sessions/events.mjs +10 -7
- package/resources/beta/agents/sessions/events.mjs.map +1 -1
- package/resources/beta/beta.d.mts +2 -2
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +2 -2
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/index.d.mts +1 -1
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +1 -1
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs.map +1 -1
- package/src/resources/audio/speech.ts +1 -1
- package/src/resources/beta/agents/agents.ts +686 -6
- package/src/resources/beta/agents/environments/templates.ts +64 -3
- package/src/resources/beta/agents/index.ts +3 -0
- package/src/resources/beta/agents/sessions/events.ts +10 -7
- package/src/resources/beta/beta.ts +6 -0
- package/src/resources/beta/index.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -143,6 +143,49 @@ export interface Agent {
|
|
|
143
143
|
*/
|
|
144
144
|
updated_at: number;
|
|
145
145
|
}
|
|
146
|
+
export interface AgentBrowserAuthenticationCancelParam {
|
|
147
|
+
action: 'cancel';
|
|
148
|
+
type: 'browser_authentication';
|
|
149
|
+
}
|
|
150
|
+
export interface AgentBrowserAuthenticationSubmitParam {
|
|
151
|
+
action: 'submit';
|
|
152
|
+
/**
|
|
153
|
+
* Values for up to six active fields in the required action. The submitted
|
|
154
|
+
* field-value mapping and selected option must fit within 120 KiB of JSON.
|
|
155
|
+
*/
|
|
156
|
+
fields: Array<AgentBrowserAuthenticationSubmitParam.Field>;
|
|
157
|
+
type: 'browser_authentication';
|
|
158
|
+
/**
|
|
159
|
+
* The chosen method. Required when the required action contains options.
|
|
160
|
+
*/
|
|
161
|
+
selected_option?: string | null;
|
|
162
|
+
}
|
|
163
|
+
export declare namespace AgentBrowserAuthenticationSubmitParam {
|
|
164
|
+
/**
|
|
165
|
+
* One user-entered value, including non-password fields such as an email address.
|
|
166
|
+
*/
|
|
167
|
+
interface Field {
|
|
168
|
+
/**
|
|
169
|
+
* The field ID from the required action.
|
|
170
|
+
*/
|
|
171
|
+
field_id: string;
|
|
172
|
+
/**
|
|
173
|
+
* The value to enter into the registered control.
|
|
174
|
+
*/
|
|
175
|
+
value: string;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
export interface AgentBrowserOriginAccessParam {
|
|
179
|
+
/**
|
|
180
|
+
* Whether to allow, deny, or cancel the requested origin access.
|
|
181
|
+
*
|
|
182
|
+
* - `approve` - Allow the browser to access this origin.
|
|
183
|
+
* - `deny` - Deny access to this origin.
|
|
184
|
+
* - `cancel` - Dismiss this request without approving access.
|
|
185
|
+
*/
|
|
186
|
+
decision: 'approve' | 'deny' | 'cancel';
|
|
187
|
+
type: 'browser_origin_access';
|
|
188
|
+
}
|
|
146
189
|
/**
|
|
147
190
|
* A request to close a subagent.
|
|
148
191
|
*/
|
|
@@ -443,7 +486,141 @@ export interface AgentOutputCommandExecutionOutputDeltaEvent {
|
|
|
443
486
|
/**
|
|
444
487
|
* An output item produced by an agent.
|
|
445
488
|
*/
|
|
446
|
-
export type AgentOutputItem = AgentSessionAssistantMessage | AgentReasoningItem | AgentFunctionCallItem | AgentMcpCallItem | AgentWebSearchCallItem | AgentCommandExecutionItem | AgentCreateSubagentCallItem | AgentSendSubagentInputCallItem | AgentResumeSubagentCallItem | AgentWaitForSubagentsCallItem | AgentInterruptSubagentCallItem | AgentCloseSubagentCallItem;
|
|
489
|
+
export type AgentOutputItem = AgentSessionAssistantMessage | AgentReasoningItem | AgentFunctionCallItem | AgentMcpCallItem | AgentOutputItem.ComputerUseCallItemResource | AgentOutputItem.BrowserAuthenticationRequestItemResource | AgentWebSearchCallItem | AgentCommandExecutionItem | AgentCreateSubagentCallItem | AgentSendSubagentInputCallItem | AgentResumeSubagentCallItem | AgentWaitForSubagentsCallItem | AgentInterruptSubagentCallItem | AgentCloseSubagentCallItem;
|
|
490
|
+
export declare namespace AgentOutputItem {
|
|
491
|
+
/**
|
|
492
|
+
* One execution of the platform-provided computer-use capability.
|
|
493
|
+
*/
|
|
494
|
+
interface ComputerUseCallItemResource {
|
|
495
|
+
/**
|
|
496
|
+
* The ID of the activity item.
|
|
497
|
+
*/
|
|
498
|
+
id: string;
|
|
499
|
+
/**
|
|
500
|
+
* The last screenshot emitted by the model. Null when screenshot inclusion is
|
|
501
|
+
* disabled or the call emitted no screenshot.
|
|
502
|
+
*/
|
|
503
|
+
output: ComputerUseCallItemResource.Output | null;
|
|
504
|
+
/**
|
|
505
|
+
* The execution status of the activity.
|
|
506
|
+
*/
|
|
507
|
+
status: AgentsAPI.AgentFunctionCallStatus;
|
|
508
|
+
/**
|
|
509
|
+
* A model-generated description of the activity, when available.
|
|
510
|
+
*/
|
|
511
|
+
title: string | null;
|
|
512
|
+
/**
|
|
513
|
+
* The ID of the turn that contains this item.
|
|
514
|
+
*/
|
|
515
|
+
turn_id: string;
|
|
516
|
+
/**
|
|
517
|
+
* The item type. Always `computer_use_call`.
|
|
518
|
+
*/
|
|
519
|
+
type: 'computer_use_call';
|
|
520
|
+
}
|
|
521
|
+
namespace ComputerUseCallItemResource {
|
|
522
|
+
/**
|
|
523
|
+
* The last screenshot emitted by the model. Null when screenshot inclusion is
|
|
524
|
+
* disabled or the call emitted no screenshot.
|
|
525
|
+
*/
|
|
526
|
+
interface Output {
|
|
527
|
+
/**
|
|
528
|
+
* The complete JPEG image as a base64 data URL.
|
|
529
|
+
*/
|
|
530
|
+
image_url: string;
|
|
531
|
+
/**
|
|
532
|
+
* The content type. Always `computer_screenshot`.
|
|
533
|
+
*/
|
|
534
|
+
type: 'computer_screenshot';
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* A credential-free history record of the emitted login request.
|
|
539
|
+
*/
|
|
540
|
+
interface BrowserAuthenticationRequestItemResource {
|
|
541
|
+
/**
|
|
542
|
+
* The stable history item ID.
|
|
543
|
+
*/
|
|
544
|
+
id: string;
|
|
545
|
+
/**
|
|
546
|
+
* A registered form awaiting the application's response.
|
|
547
|
+
*/
|
|
548
|
+
request: BrowserAuthenticationRequestItemResource.Request;
|
|
549
|
+
request_id: string;
|
|
550
|
+
turn_id: string;
|
|
551
|
+
/**
|
|
552
|
+
* The item type. Always computer_use_approval_request.
|
|
553
|
+
*/
|
|
554
|
+
type: 'computer_use_approval_request';
|
|
555
|
+
}
|
|
556
|
+
namespace BrowserAuthenticationRequestItemResource {
|
|
557
|
+
/**
|
|
558
|
+
* A registered form awaiting the application's response.
|
|
559
|
+
*/
|
|
560
|
+
interface Request {
|
|
561
|
+
/**
|
|
562
|
+
* The registered form or frame origin where values will be entered.
|
|
563
|
+
*/
|
|
564
|
+
credential_origin: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* Controls to render. All submitted values are sensitive.
|
|
567
|
+
*/
|
|
568
|
+
fields: Array<Request.Field>;
|
|
569
|
+
/**
|
|
570
|
+
* Sign-in methods. Empty for a plain form.
|
|
571
|
+
*/
|
|
572
|
+
options: Array<Request.Option>;
|
|
573
|
+
/**
|
|
574
|
+
* Why the agent needs the user to sign in.
|
|
575
|
+
*/
|
|
576
|
+
reason: string | null;
|
|
577
|
+
/**
|
|
578
|
+
* The type of the object. Always `browser_authentication`.
|
|
579
|
+
*/
|
|
580
|
+
type: 'browser_authentication';
|
|
581
|
+
}
|
|
582
|
+
namespace Request {
|
|
583
|
+
/**
|
|
584
|
+
* A control in a registered browser-login form.
|
|
585
|
+
*/
|
|
586
|
+
interface Field {
|
|
587
|
+
/**
|
|
588
|
+
* The field ID to submit as field_id in a fields entry.
|
|
589
|
+
*/
|
|
590
|
+
id: string;
|
|
591
|
+
/**
|
|
592
|
+
* The label to display beside the control.
|
|
593
|
+
*/
|
|
594
|
+
label: string;
|
|
595
|
+
/**
|
|
596
|
+
* Whether this control requires a nonempty value.
|
|
597
|
+
*/
|
|
598
|
+
required: boolean;
|
|
599
|
+
/**
|
|
600
|
+
* The rendering type, such as email, password, or text.
|
|
601
|
+
*/
|
|
602
|
+
type: string;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* A sign-in method and the fields that belong to it.
|
|
606
|
+
*/
|
|
607
|
+
interface Option {
|
|
608
|
+
/**
|
|
609
|
+
* The option ID to submit as selected_option.
|
|
610
|
+
*/
|
|
611
|
+
id: string;
|
|
612
|
+
/**
|
|
613
|
+
* IDs from the registered fields that this method accepts.
|
|
614
|
+
*/
|
|
615
|
+
field_ids: Array<string>;
|
|
616
|
+
/**
|
|
617
|
+
* The method label to display.
|
|
618
|
+
*/
|
|
619
|
+
label: string;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
447
624
|
/**
|
|
448
625
|
* The status of an agent output item.
|
|
449
626
|
*
|
|
@@ -618,7 +795,7 @@ export interface AgentSession {
|
|
|
618
795
|
/**
|
|
619
796
|
* Actions that must be completed before the session can continue.
|
|
620
797
|
*/
|
|
621
|
-
required_actions: Array<AgentSession.SessionRequiredActionResourceFunctionCall | AgentSession.SessionRequiredActionResourceEnvironmentConnection>;
|
|
798
|
+
required_actions: Array<AgentSession.SessionRequiredActionResourceComputerUseApprovalRequest | AgentSession.SessionRequiredActionResourceFunctionCall | AgentSession.SessionRequiredActionResourceEnvironmentConnection>;
|
|
622
799
|
/**
|
|
623
800
|
* The current status of the session.
|
|
624
801
|
*
|
|
@@ -682,6 +859,111 @@ export declare namespace AgentSession {
|
|
|
682
859
|
*/
|
|
683
860
|
tools: Array<AgentsAPI.AgentTool>;
|
|
684
861
|
}
|
|
862
|
+
/**
|
|
863
|
+
* Respond to a computer-use request.
|
|
864
|
+
*/
|
|
865
|
+
interface SessionRequiredActionResourceComputerUseApprovalRequest {
|
|
866
|
+
/**
|
|
867
|
+
* The information needed to render the request.
|
|
868
|
+
*/
|
|
869
|
+
request: SessionRequiredActionResourceComputerUseApprovalRequest.ComputerUseApprovalRequestKindResourceBrowserAuthentication | SessionRequiredActionResourceComputerUseApprovalRequest.ComputerUseApprovalRequestKindResourceBrowserOriginAccess;
|
|
870
|
+
/**
|
|
871
|
+
* The registered request ID to echo when responding.
|
|
872
|
+
*/
|
|
873
|
+
request_id: string;
|
|
874
|
+
/**
|
|
875
|
+
* The turn that requested approval.
|
|
876
|
+
*/
|
|
877
|
+
turn_id: string;
|
|
878
|
+
/**
|
|
879
|
+
* The type of the object. Always `computer_use_approval_request`.
|
|
880
|
+
*/
|
|
881
|
+
type: 'computer_use_approval_request';
|
|
882
|
+
}
|
|
883
|
+
namespace SessionRequiredActionResourceComputerUseApprovalRequest {
|
|
884
|
+
/**
|
|
885
|
+
* A registered form awaiting the application's response.
|
|
886
|
+
*/
|
|
887
|
+
interface ComputerUseApprovalRequestKindResourceBrowserAuthentication {
|
|
888
|
+
/**
|
|
889
|
+
* The registered form or frame origin where values will be entered.
|
|
890
|
+
*/
|
|
891
|
+
credential_origin: string | null;
|
|
892
|
+
/**
|
|
893
|
+
* Controls to render. All submitted values are sensitive.
|
|
894
|
+
*/
|
|
895
|
+
fields: Array<ComputerUseApprovalRequestKindResourceBrowserAuthentication.Field>;
|
|
896
|
+
/**
|
|
897
|
+
* Sign-in methods. Empty for a plain form.
|
|
898
|
+
*/
|
|
899
|
+
options: Array<ComputerUseApprovalRequestKindResourceBrowserAuthentication.Option>;
|
|
900
|
+
/**
|
|
901
|
+
* Why the agent needs the user to sign in.
|
|
902
|
+
*/
|
|
903
|
+
reason: string | null;
|
|
904
|
+
/**
|
|
905
|
+
* The type of the object. Always `browser_authentication`.
|
|
906
|
+
*/
|
|
907
|
+
type: 'browser_authentication';
|
|
908
|
+
}
|
|
909
|
+
namespace ComputerUseApprovalRequestKindResourceBrowserAuthentication {
|
|
910
|
+
/**
|
|
911
|
+
* A control in a registered browser-login form.
|
|
912
|
+
*/
|
|
913
|
+
interface Field {
|
|
914
|
+
/**
|
|
915
|
+
* The field ID to submit as field_id in a fields entry.
|
|
916
|
+
*/
|
|
917
|
+
id: string;
|
|
918
|
+
/**
|
|
919
|
+
* The label to display beside the control.
|
|
920
|
+
*/
|
|
921
|
+
label: string;
|
|
922
|
+
/**
|
|
923
|
+
* Whether this control requires a nonempty value.
|
|
924
|
+
*/
|
|
925
|
+
required: boolean;
|
|
926
|
+
/**
|
|
927
|
+
* The rendering type, such as email, password, or text.
|
|
928
|
+
*/
|
|
929
|
+
type: string;
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* A sign-in method and the fields that belong to it.
|
|
933
|
+
*/
|
|
934
|
+
interface Option {
|
|
935
|
+
/**
|
|
936
|
+
* The option ID to submit as selected_option.
|
|
937
|
+
*/
|
|
938
|
+
id: string;
|
|
939
|
+
/**
|
|
940
|
+
* IDs from the registered fields that this method accepts.
|
|
941
|
+
*/
|
|
942
|
+
field_ids: Array<string>;
|
|
943
|
+
/**
|
|
944
|
+
* The method label to display.
|
|
945
|
+
*/
|
|
946
|
+
label: string;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* A browser origin awaiting the application's approval decision.
|
|
951
|
+
*/
|
|
952
|
+
interface ComputerUseApprovalRequestKindResourceBrowserOriginAccess {
|
|
953
|
+
/**
|
|
954
|
+
* The origin the browser needs permission to access.
|
|
955
|
+
*/
|
|
956
|
+
origin: string;
|
|
957
|
+
/**
|
|
958
|
+
* The browser's explanation for this request, or null when unavailable.
|
|
959
|
+
*/
|
|
960
|
+
reason: string | null;
|
|
961
|
+
/**
|
|
962
|
+
* The type of the object. Always `browser_origin_access`.
|
|
963
|
+
*/
|
|
964
|
+
type: 'browser_origin_access';
|
|
965
|
+
}
|
|
966
|
+
}
|
|
685
967
|
/**
|
|
686
968
|
* Run a function tool and submit its result.
|
|
687
969
|
*/
|
|
@@ -1090,8 +1372,26 @@ export interface AgentSessionInputMessageParam {
|
|
|
1090
1372
|
/**
|
|
1091
1373
|
* Input submitted to an existing session.
|
|
1092
1374
|
*/
|
|
1093
|
-
export type AgentSessionInputParam = AgentSessionInputParam.SessionInputParamAgentSessionInputMessage | AgentSessionInputParam.SessionInputParamAgentSessionInputCancel | AgentSessionInputParam.SessionInputParamAgentSessionInputToolResult;
|
|
1375
|
+
export type AgentSessionInputParam = AgentSessionInputParam.SessionInputParamAgentSessionInputComputerUseApprovalRequestResult | AgentSessionInputParam.SessionInputParamAgentSessionInputMessage | AgentSessionInputParam.SessionInputParamAgentSessionInputCancel | AgentSessionInputParam.SessionInputParamAgentSessionInputToolResult;
|
|
1094
1376
|
export declare namespace AgentSessionInputParam {
|
|
1377
|
+
/**
|
|
1378
|
+
* Responds to a pending Computer Use approval request.
|
|
1379
|
+
*/
|
|
1380
|
+
interface SessionInputParamAgentSessionInputComputerUseApprovalRequestResult {
|
|
1381
|
+
/**
|
|
1382
|
+
* The registered request ID from the required action.
|
|
1383
|
+
*/
|
|
1384
|
+
request_id: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* The response for this request type.
|
|
1387
|
+
*/
|
|
1388
|
+
response: AgentsAPI.AgentBrowserAuthenticationSubmitParam | AgentsAPI.AgentBrowserAuthenticationCancelParam | AgentsAPI.AgentBrowserOriginAccessParam;
|
|
1389
|
+
/**
|
|
1390
|
+
* The type of the object. Always
|
|
1391
|
+
* `agent.session.input.computer_use_approval_request_result`.
|
|
1392
|
+
*/
|
|
1393
|
+
type: 'agent.session.input.computer_use_approval_request_result';
|
|
1394
|
+
}
|
|
1095
1395
|
/**
|
|
1096
1396
|
* Adds one or more user messages and starts a turn.
|
|
1097
1397
|
*/
|
|
@@ -1147,7 +1447,7 @@ export declare namespace AgentSessionInputParam {
|
|
|
1147
1447
|
/**
|
|
1148
1448
|
* An item associated with a session turn.
|
|
1149
1449
|
*/
|
|
1150
|
-
export type AgentSessionItem = AgentSessionMessage | AgentReasoningItem | AgentFunctionCallItem | AgentSessionItem.FunctionCallOutputItemResource | AgentSessionItem.AgentMessageItemResource | AgentMcpCallItem | AgentWebSearchCallItem | AgentCommandExecutionItem | AgentCreateSubagentCallItem | AgentSendSubagentInputCallItem | AgentResumeSubagentCallItem | AgentWaitForSubagentsCallItem | AgentInterruptSubagentCallItem | AgentCloseSubagentCallItem;
|
|
1450
|
+
export type AgentSessionItem = AgentSessionMessage | AgentReasoningItem | AgentFunctionCallItem | AgentSessionItem.FunctionCallOutputItemResource | AgentSessionItem.AgentMessageItemResource | AgentMcpCallItem | AgentSessionItem.ComputerUseCallItemResource | AgentSessionItem.BrowserAuthenticationRequestItemResource | AgentSessionItem.ComputerUseApprovalRequestResultItemResource | AgentWebSearchCallItem | AgentCommandExecutionItem | AgentCreateSubagentCallItem | AgentSendSubagentInputCallItem | AgentResumeSubagentCallItem | AgentWaitForSubagentsCallItem | AgentInterruptSubagentCallItem | AgentCloseSubagentCallItem;
|
|
1151
1451
|
export declare namespace AgentSessionItem {
|
|
1152
1452
|
/**
|
|
1153
1453
|
* The result supplied for a function call.
|
|
@@ -1211,6 +1511,174 @@ export declare namespace AgentSessionItem {
|
|
|
1211
1511
|
*/
|
|
1212
1512
|
type: 'agent_message';
|
|
1213
1513
|
}
|
|
1514
|
+
/**
|
|
1515
|
+
* One execution of the platform-provided computer-use capability.
|
|
1516
|
+
*/
|
|
1517
|
+
interface ComputerUseCallItemResource {
|
|
1518
|
+
/**
|
|
1519
|
+
* The ID of the activity item.
|
|
1520
|
+
*/
|
|
1521
|
+
id: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* The last screenshot emitted by the model. Null when screenshot inclusion is
|
|
1524
|
+
* disabled or the call emitted no screenshot.
|
|
1525
|
+
*/
|
|
1526
|
+
output: ComputerUseCallItemResource.Output | null;
|
|
1527
|
+
/**
|
|
1528
|
+
* The execution status of the activity.
|
|
1529
|
+
*/
|
|
1530
|
+
status: AgentsAPI.AgentFunctionCallStatus;
|
|
1531
|
+
/**
|
|
1532
|
+
* A model-generated description of the activity, when available.
|
|
1533
|
+
*/
|
|
1534
|
+
title: string | null;
|
|
1535
|
+
/**
|
|
1536
|
+
* The ID of the turn that contains this item.
|
|
1537
|
+
*/
|
|
1538
|
+
turn_id: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* The item type. Always `computer_use_call`.
|
|
1541
|
+
*/
|
|
1542
|
+
type: 'computer_use_call';
|
|
1543
|
+
}
|
|
1544
|
+
namespace ComputerUseCallItemResource {
|
|
1545
|
+
/**
|
|
1546
|
+
* The last screenshot emitted by the model. Null when screenshot inclusion is
|
|
1547
|
+
* disabled or the call emitted no screenshot.
|
|
1548
|
+
*/
|
|
1549
|
+
interface Output {
|
|
1550
|
+
/**
|
|
1551
|
+
* The complete JPEG image as a base64 data URL.
|
|
1552
|
+
*/
|
|
1553
|
+
image_url: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* The content type. Always `computer_screenshot`.
|
|
1556
|
+
*/
|
|
1557
|
+
type: 'computer_screenshot';
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
/**
|
|
1561
|
+
* A credential-free history record of the emitted login request.
|
|
1562
|
+
*/
|
|
1563
|
+
interface BrowserAuthenticationRequestItemResource {
|
|
1564
|
+
/**
|
|
1565
|
+
* The stable history item ID.
|
|
1566
|
+
*/
|
|
1567
|
+
id: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* A registered form awaiting the application's response.
|
|
1570
|
+
*/
|
|
1571
|
+
request: BrowserAuthenticationRequestItemResource.Request;
|
|
1572
|
+
request_id: string;
|
|
1573
|
+
turn_id: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* The item type. Always computer_use_approval_request.
|
|
1576
|
+
*/
|
|
1577
|
+
type: 'computer_use_approval_request';
|
|
1578
|
+
}
|
|
1579
|
+
namespace BrowserAuthenticationRequestItemResource {
|
|
1580
|
+
/**
|
|
1581
|
+
* A registered form awaiting the application's response.
|
|
1582
|
+
*/
|
|
1583
|
+
interface Request {
|
|
1584
|
+
/**
|
|
1585
|
+
* The registered form or frame origin where values will be entered.
|
|
1586
|
+
*/
|
|
1587
|
+
credential_origin: string | null;
|
|
1588
|
+
/**
|
|
1589
|
+
* Controls to render. All submitted values are sensitive.
|
|
1590
|
+
*/
|
|
1591
|
+
fields: Array<Request.Field>;
|
|
1592
|
+
/**
|
|
1593
|
+
* Sign-in methods. Empty for a plain form.
|
|
1594
|
+
*/
|
|
1595
|
+
options: Array<Request.Option>;
|
|
1596
|
+
/**
|
|
1597
|
+
* Why the agent needs the user to sign in.
|
|
1598
|
+
*/
|
|
1599
|
+
reason: string | null;
|
|
1600
|
+
/**
|
|
1601
|
+
* The type of the object. Always `browser_authentication`.
|
|
1602
|
+
*/
|
|
1603
|
+
type: 'browser_authentication';
|
|
1604
|
+
}
|
|
1605
|
+
namespace Request {
|
|
1606
|
+
/**
|
|
1607
|
+
* A control in a registered browser-login form.
|
|
1608
|
+
*/
|
|
1609
|
+
interface Field {
|
|
1610
|
+
/**
|
|
1611
|
+
* The field ID to submit as field_id in a fields entry.
|
|
1612
|
+
*/
|
|
1613
|
+
id: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* The label to display beside the control.
|
|
1616
|
+
*/
|
|
1617
|
+
label: string;
|
|
1618
|
+
/**
|
|
1619
|
+
* Whether this control requires a nonempty value.
|
|
1620
|
+
*/
|
|
1621
|
+
required: boolean;
|
|
1622
|
+
/**
|
|
1623
|
+
* The rendering type, such as email, password, or text.
|
|
1624
|
+
*/
|
|
1625
|
+
type: string;
|
|
1626
|
+
}
|
|
1627
|
+
/**
|
|
1628
|
+
* A sign-in method and the fields that belong to it.
|
|
1629
|
+
*/
|
|
1630
|
+
interface Option {
|
|
1631
|
+
/**
|
|
1632
|
+
* The option ID to submit as selected_option.
|
|
1633
|
+
*/
|
|
1634
|
+
id: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* IDs from the registered fields that this method accepts.
|
|
1637
|
+
*/
|
|
1638
|
+
field_ids: Array<string>;
|
|
1639
|
+
/**
|
|
1640
|
+
* The method label to display.
|
|
1641
|
+
*/
|
|
1642
|
+
label: string;
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
* A credential-free record of an admitted response, not proof of completion.
|
|
1648
|
+
*/
|
|
1649
|
+
interface ComputerUseApprovalRequestResultItemResource {
|
|
1650
|
+
/**
|
|
1651
|
+
* The stable history item ID.
|
|
1652
|
+
*/
|
|
1653
|
+
id: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* The registered request answered by this item.
|
|
1656
|
+
*/
|
|
1657
|
+
request_id: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* The admitted response, without submitted credential values.
|
|
1660
|
+
*/
|
|
1661
|
+
response: ComputerUseApprovalRequestResultItemResource.ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResource | ComputerUseApprovalRequestResultItemResource.ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResource;
|
|
1662
|
+
/**
|
|
1663
|
+
* The ID of the turn that contains this item.
|
|
1664
|
+
*/
|
|
1665
|
+
turn_id: string;
|
|
1666
|
+
type: 'computer_use_approval_request_result';
|
|
1667
|
+
}
|
|
1668
|
+
namespace ComputerUseApprovalRequestResultItemResource {
|
|
1669
|
+
interface ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResource {
|
|
1670
|
+
action: 'submit';
|
|
1671
|
+
/**
|
|
1672
|
+
* The chosen sign-in method, or null when no options were offered.
|
|
1673
|
+
*/
|
|
1674
|
+
selected_option: string | null;
|
|
1675
|
+
type: 'browser_authentication';
|
|
1676
|
+
}
|
|
1677
|
+
interface ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResource {
|
|
1678
|
+
action: 'cancel';
|
|
1679
|
+
type: 'browser_authentication';
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1214
1682
|
}
|
|
1215
1683
|
/**
|
|
1216
1684
|
* A user or assistant message recorded in a session.
|
|
@@ -1894,7 +2362,7 @@ export interface AgentTextParam {
|
|
|
1894
2362
|
/**
|
|
1895
2363
|
* A tool available to the agent.
|
|
1896
2364
|
*/
|
|
1897
|
-
export type AgentTool = AgentTool.AgentToolResourceFunction | AgentTool.AgentToolResourceProgrammaticToolCalling | AgentTool.AgentToolResourceMcp | AgentTool.AgentToolResourceWebSearch;
|
|
2365
|
+
export type AgentTool = AgentTool.AgentToolResourceFunction | AgentTool.AgentToolResourceProgrammaticToolCalling | AgentTool.AgentToolResourceMcp | AgentTool.AgentToolResourceWebSearch | AgentTool.AgentToolResourceComputerUse;
|
|
1898
2366
|
export declare namespace AgentTool {
|
|
1899
2367
|
/**
|
|
1900
2368
|
* A function defined by the application.
|
|
@@ -2024,11 +2492,24 @@ export declare namespace AgentTool {
|
|
|
2024
2492
|
timezone: string | null;
|
|
2025
2493
|
}
|
|
2026
2494
|
}
|
|
2495
|
+
/**
|
|
2496
|
+
* Browser use in an OpenAI-hosted session.
|
|
2497
|
+
*/
|
|
2498
|
+
interface AgentToolResourceComputerUse {
|
|
2499
|
+
/**
|
|
2500
|
+
* Whether computer tool outputs include screenshots.
|
|
2501
|
+
*/
|
|
2502
|
+
include_screenshots: boolean;
|
|
2503
|
+
/**
|
|
2504
|
+
* The type of the object. Always `computer_use`.
|
|
2505
|
+
*/
|
|
2506
|
+
type: 'computer_use';
|
|
2507
|
+
}
|
|
2027
2508
|
}
|
|
2028
2509
|
/**
|
|
2029
2510
|
* A tool available to the agent.
|
|
2030
2511
|
*/
|
|
2031
|
-
export type AgentToolParam = AgentToolParam.AgentToolConfigParamFunction | AgentToolParam.AgentToolConfigParamToolSearch | AgentToolParam.AgentToolConfigParamProgrammaticToolCalling | AgentToolParam.AgentToolConfigParamMcp | AgentToolParam.AgentToolConfigParamWebSearch;
|
|
2512
|
+
export type AgentToolParam = AgentToolParam.AgentToolConfigParamFunction | AgentToolParam.AgentToolConfigParamToolSearch | AgentToolParam.AgentToolConfigParamProgrammaticToolCalling | AgentToolParam.AgentToolConfigParamMcp | AgentToolParam.AgentToolConfigParamWebSearch | AgentToolParam.AgentToolConfigParamComputerUse;
|
|
2032
2513
|
export declare namespace AgentToolParam {
|
|
2033
2514
|
/**
|
|
2034
2515
|
* A function defined by the application.
|
|
@@ -2178,6 +2659,19 @@ export declare namespace AgentToolParam {
|
|
|
2178
2659
|
timezone?: string | null;
|
|
2179
2660
|
}
|
|
2180
2661
|
}
|
|
2662
|
+
/**
|
|
2663
|
+
* Browser use in an OpenAI-hosted session.
|
|
2664
|
+
*/
|
|
2665
|
+
interface AgentToolConfigParamComputerUse {
|
|
2666
|
+
/**
|
|
2667
|
+
* The type of the object. Always `computer_use`.
|
|
2668
|
+
*/
|
|
2669
|
+
type: 'computer_use';
|
|
2670
|
+
/**
|
|
2671
|
+
* Whether computer tool outputs include screenshots. Defaults to `false`.
|
|
2672
|
+
*/
|
|
2673
|
+
include_screenshots?: boolean;
|
|
2674
|
+
}
|
|
2181
2675
|
}
|
|
2182
2676
|
/**
|
|
2183
2677
|
* A request to wait for one or more subagents.
|
|
@@ -2284,6 +2778,10 @@ export declare namespace Environment {
|
|
|
2284
2778
|
* The type of the object. Always `openai_hosted`.
|
|
2285
2779
|
*/
|
|
2286
2780
|
type: 'openai_hosted';
|
|
2781
|
+
/**
|
|
2782
|
+
* The effective desktop configuration.
|
|
2783
|
+
*/
|
|
2784
|
+
desktop?: EnvironmentResourceOpenAIHosted.Desktop;
|
|
2287
2785
|
}
|
|
2288
2786
|
namespace EnvironmentResourceOpenAIHosted {
|
|
2289
2787
|
/**
|
|
@@ -2295,7 +2793,7 @@ export declare namespace Environment {
|
|
|
2295
2793
|
*
|
|
2296
2794
|
* - `enabled` - Allows unrestricted network access.
|
|
2297
2795
|
* - `disabled` - Disables network access.
|
|
2298
|
-
* - `restricted` -
|
|
2796
|
+
* - `restricted` - Applies the configured domain restrictions.
|
|
2299
2797
|
*/
|
|
2300
2798
|
access: 'enabled' | 'disabled' | 'restricted';
|
|
2301
2799
|
/**
|
|
@@ -2320,6 +2818,15 @@ export declare namespace Environment {
|
|
|
2320
2818
|
*/
|
|
2321
2819
|
system: Array<string>;
|
|
2322
2820
|
}
|
|
2821
|
+
/**
|
|
2822
|
+
* The effective desktop configuration.
|
|
2823
|
+
*/
|
|
2824
|
+
interface Desktop {
|
|
2825
|
+
/**
|
|
2826
|
+
* Whether the environment provisions a desktop and browser proxy.
|
|
2827
|
+
*/
|
|
2828
|
+
enabled: boolean;
|
|
2829
|
+
}
|
|
2323
2830
|
}
|
|
2324
2831
|
/**
|
|
2325
2832
|
* An environment hosted by the application.
|
|
@@ -2376,6 +2883,11 @@ export declare namespace EnvironmentParam {
|
|
|
2376
2883
|
* list.
|
|
2377
2884
|
*/
|
|
2378
2885
|
capability_directories?: Array<string> | null;
|
|
2886
|
+
/**
|
|
2887
|
+
* Desktop provisioning. Omission or null inherits the template setting, or
|
|
2888
|
+
* defaults to disabled.
|
|
2889
|
+
*/
|
|
2890
|
+
desktop?: EnvironmentParamOpenAIHosted.Desktop | null;
|
|
2379
2891
|
/**
|
|
2380
2892
|
* Environment variables made available to the agent.
|
|
2381
2893
|
*/
|
|
@@ -2415,6 +2927,16 @@ export declare namespace EnvironmentParam {
|
|
|
2415
2927
|
skills?: Array<AgentsAPI.HostedSkillParam> | null;
|
|
2416
2928
|
}
|
|
2417
2929
|
namespace EnvironmentParamOpenAIHosted {
|
|
2930
|
+
/**
|
|
2931
|
+
* Desktop provisioning. Omission or null inherits the template setting, or
|
|
2932
|
+
* defaults to disabled.
|
|
2933
|
+
*/
|
|
2934
|
+
interface Desktop {
|
|
2935
|
+
/**
|
|
2936
|
+
* Whether to provision the desktop and its browser proxy.
|
|
2937
|
+
*/
|
|
2938
|
+
enabled: boolean;
|
|
2939
|
+
}
|
|
2418
2940
|
/**
|
|
2419
2941
|
* Network access policy for the environment. Defaults to disabled for GA requests
|
|
2420
2942
|
* and enabled for beta requests.
|
|
@@ -2425,13 +2947,19 @@ export declare namespace EnvironmentParam {
|
|
|
2425
2947
|
*
|
|
2426
2948
|
* - `enabled` - Allows unrestricted network access.
|
|
2427
2949
|
* - `disabled` - Disables network access.
|
|
2428
|
-
* - `restricted` -
|
|
2950
|
+
* - `restricted` - Applies the configured domain restrictions.
|
|
2429
2951
|
*/
|
|
2430
2952
|
access: 'enabled' | 'disabled' | 'restricted';
|
|
2431
2953
|
/**
|
|
2432
2954
|
* Domains the environment may access when network access is restricted.
|
|
2433
2955
|
*/
|
|
2434
2956
|
allowed_domains?: Array<string> | null;
|
|
2957
|
+
/**
|
|
2958
|
+
* Domains blocked for both executor and browser when access is restricted. A
|
|
2959
|
+
* nonempty list requires `access: restricted` and cannot be combined with nonempty
|
|
2960
|
+
* `allowed_domains`. Wildcard domains are not supported.
|
|
2961
|
+
*/
|
|
2962
|
+
blocked_domains?: Array<string> | null;
|
|
2435
2963
|
}
|
|
2436
2964
|
/**
|
|
2437
2965
|
* Packages to install in the environment. Defaults to empty package lists.
|
|
@@ -2921,7 +3449,7 @@ export interface OutputText {
|
|
|
2921
3449
|
/**
|
|
2922
3450
|
* A credential-free tool available to a reusable agent.
|
|
2923
3451
|
*/
|
|
2924
|
-
export type PersistedAgentTool = PersistedAgentTool.PersistedAgentToolResourceFunction | PersistedAgentTool.PersistedAgentToolResourceToolSearch | PersistedAgentTool.PersistedAgentToolResourceProgrammaticToolCalling | PersistedAgentTool.PersistedAgentToolResourceMcp | PersistedAgentTool.PersistedAgentToolResourceWebSearch;
|
|
3452
|
+
export type PersistedAgentTool = PersistedAgentTool.PersistedAgentToolResourceFunction | PersistedAgentTool.PersistedAgentToolResourceToolSearch | PersistedAgentTool.PersistedAgentToolResourceProgrammaticToolCalling | PersistedAgentTool.PersistedAgentToolResourceMcp | PersistedAgentTool.PersistedAgentToolResourceWebSearch | PersistedAgentTool.PersistedAgentToolResourceComputerUse;
|
|
2925
3453
|
export declare namespace PersistedAgentTool {
|
|
2926
3454
|
/**
|
|
2927
3455
|
* A function defined by the application.
|
|
@@ -3059,11 +3587,24 @@ export declare namespace PersistedAgentTool {
|
|
|
3059
3587
|
timezone: string | null;
|
|
3060
3588
|
}
|
|
3061
3589
|
}
|
|
3590
|
+
/**
|
|
3591
|
+
* Browser use in an OpenAI-hosted session.
|
|
3592
|
+
*/
|
|
3593
|
+
interface PersistedAgentToolResourceComputerUse {
|
|
3594
|
+
/**
|
|
3595
|
+
* Whether computer tool outputs include screenshots.
|
|
3596
|
+
*/
|
|
3597
|
+
include_screenshots: boolean;
|
|
3598
|
+
/**
|
|
3599
|
+
* The type of the object. Always `computer_use`.
|
|
3600
|
+
*/
|
|
3601
|
+
type: 'computer_use';
|
|
3602
|
+
}
|
|
3062
3603
|
}
|
|
3063
3604
|
/**
|
|
3064
3605
|
* A tool that can be stored on a reusable agent without session credentials.
|
|
3065
3606
|
*/
|
|
3066
|
-
export type PersistedAgentToolParam = PersistedAgentToolParam.PersistedAgentToolConfigParamFunction | PersistedAgentToolParam.PersistedAgentToolConfigParamToolSearch | PersistedAgentToolParam.PersistedAgentToolConfigParamProgrammaticToolCalling | PersistedAgentToolParam.PersistedAgentToolConfigParamMcp | PersistedAgentToolParam.PersistedAgentToolConfigParamWebSearch;
|
|
3607
|
+
export type PersistedAgentToolParam = PersistedAgentToolParam.PersistedAgentToolConfigParamFunction | PersistedAgentToolParam.PersistedAgentToolConfigParamToolSearch | PersistedAgentToolParam.PersistedAgentToolConfigParamProgrammaticToolCalling | PersistedAgentToolParam.PersistedAgentToolConfigParamMcp | PersistedAgentToolParam.PersistedAgentToolConfigParamWebSearch | PersistedAgentToolParam.PersistedAgentToolConfigParamComputerUse;
|
|
3067
3608
|
export declare namespace PersistedAgentToolParam {
|
|
3068
3609
|
/**
|
|
3069
3610
|
* A function defined by the application.
|
|
@@ -3211,6 +3752,19 @@ export declare namespace PersistedAgentToolParam {
|
|
|
3211
3752
|
timezone?: string | null;
|
|
3212
3753
|
}
|
|
3213
3754
|
}
|
|
3755
|
+
/**
|
|
3756
|
+
* Browser use in an OpenAI-hosted session.
|
|
3757
|
+
*/
|
|
3758
|
+
interface PersistedAgentToolConfigParamComputerUse {
|
|
3759
|
+
/**
|
|
3760
|
+
* The type of the object. Always `computer_use`.
|
|
3761
|
+
*/
|
|
3762
|
+
type: 'computer_use';
|
|
3763
|
+
/**
|
|
3764
|
+
* Whether computer tool outputs include screenshots. Defaults to `false`.
|
|
3765
|
+
*/
|
|
3766
|
+
include_screenshots?: boolean;
|
|
3767
|
+
}
|
|
3214
3768
|
}
|
|
3215
3769
|
/**
|
|
3216
3770
|
* A credential-free transport used to connect to an MCP server.
|
|
@@ -3728,7 +4282,7 @@ export interface AgentListParams extends Omit<CursorPageParams, 'limit'> {
|
|
|
3728
4282
|
order?: 'asc' | 'desc';
|
|
3729
4283
|
}
|
|
3730
4284
|
export declare namespace Agents {
|
|
3731
|
-
export { type Agent as Agent, type AgentCloseSubagentCallItem as AgentCloseSubagentCallItem, type AgentCommandExecutionItem as AgentCommandExecutionItem, type AgentContent as AgentContent, type AgentCreateSubagentCallItem as AgentCreateSubagentCallItem, type AgentDeleted as AgentDeleted, type AgentFunctionCallItem as AgentFunctionCallItem, type AgentFunctionCallOutput as AgentFunctionCallOutput, type AgentFunctionCallOutputParam as AgentFunctionCallOutputParam, type AgentFunctionCallStatus as AgentFunctionCallStatus, type AgentInterruptSubagentCallItem as AgentInterruptSubagentCallItem, type AgentMcpCallItem as AgentMcpCallItem, type AgentOutputCommandExecutionOutputDeltaEvent as AgentOutputCommandExecutionOutputDeltaEvent, type AgentOutputItem as AgentOutputItem, type AgentOutputItemStatus as AgentOutputItemStatus, type AgentReasoning as AgentReasoning, type AgentReasoningItem as AgentReasoningItem, type AgentReasoningParam as AgentReasoningParam, type AgentResumeSubagentCallItem as AgentResumeSubagentCallItem, type AgentSendSubagentInputCallItem as AgentSendSubagentInputCallItem, type AgentSession as AgentSession, type AgentSessionAssistantMessage as AgentSessionAssistantMessage, type AgentSessionCreatedEvent as AgentSessionCreatedEvent, type AgentSessionDeleted as AgentSessionDeleted, type AgentSessionEnvironmentConnectedEvent as AgentSessionEnvironmentConnectedEvent, type AgentSessionEnvironmentDisconnectedEvent as AgentSessionEnvironmentDisconnectedEvent, type AgentSessionEnvironmentFailedEvent as AgentSessionEnvironmentFailedEvent, type AgentSessionEnvironmentPendingEvent as AgentSessionEnvironmentPendingEvent, type AgentSessionEnvironmentReadyEvent as AgentSessionEnvironmentReadyEvent, type AgentSessionEnvironmentResetEvent as AgentSessionEnvironmentResetEvent, type AgentSessionEnvironmentState as AgentSessionEnvironmentState, type AgentSessionErrorEvent as AgentSessionErrorEvent, type AgentSessionEvent as AgentSessionEvent, type AgentSessionFailedEvent as AgentSessionFailedEvent, type AgentSessionIdleEvent as AgentSessionIdleEvent, type AgentSessionInProgressEvent as AgentSessionInProgressEvent, type AgentSessionInputMessageParam as AgentSessionInputMessageParam, type AgentSessionInputParam as AgentSessionInputParam, type AgentSessionItem as AgentSessionItem, type AgentSessionMessage as AgentSessionMessage, type AgentSessionMessageContent as AgentSessionMessageContent, type AgentSessionRequiresActionEvent as AgentSessionRequiresActionEvent, type AgentSessionSubagentActiveEvent as AgentSessionSubagentActiveEvent, type AgentSessionSubagentClosedEvent as AgentSessionSubagentClosedEvent, type AgentSessionSubagentCreatedEvent as AgentSessionSubagentCreatedEvent, type AgentSessionTurnCancelledEvent as AgentSessionTurnCancelledEvent, type AgentSessionTurnCompletedEvent as AgentSessionTurnCompletedEvent, type AgentSessionTurnContentPartAddedEvent as AgentSessionTurnContentPartAddedEvent, type AgentSessionTurnContentPartDoneEvent as AgentSessionTurnContentPartDoneEvent, type AgentSessionTurnCreatedEvent as AgentSessionTurnCreatedEvent, type AgentSessionTurnFailedEvent as AgentSessionTurnFailedEvent, type AgentSessionTurnInProgressEvent as AgentSessionTurnInProgressEvent, type AgentSessionTurnItemAddedEvent as AgentSessionTurnItemAddedEvent, type AgentSessionTurnItemDoneEvent as AgentSessionTurnItemDoneEvent, type AgentSessionTurnOutputTextDeltaEvent as AgentSessionTurnOutputTextDeltaEvent, type AgentSessionTurnOutputTextDoneEvent as AgentSessionTurnOutputTextDoneEvent, type AgentSessionTurnReasoningSummaryPartAddedEvent as AgentSessionTurnReasoningSummaryPartAddedEvent, type AgentSessionTurnReasoningSummaryPartDoneEvent as AgentSessionTurnReasoningSummaryPartDoneEvent, type AgentSessionTurnReasoningSummaryTextDeltaEvent as AgentSessionTurnReasoningSummaryTextDeltaEvent, type AgentSessionTurnReasoningSummaryTextDoneEvent as AgentSessionTurnReasoningSummaryTextDoneEvent, type AgentText as AgentText, type AgentTextParam as AgentTextParam, type AgentTool as AgentTool, type AgentToolParam as AgentToolParam, type AgentWaitForSubagentsCallItem as AgentWaitForSubagentsCallItem, type AgentWebSearchCallItem as AgentWebSearchCallItem, type Environment as Environment, type EnvironmentParam as EnvironmentParam, type HostedEnvironmentFile as HostedEnvironmentFile, type HostedEnvironmentFileID as HostedEnvironmentFileID, type HostedEnvironmentFileParam as HostedEnvironmentFileParam, type HostedPlugin as HostedPlugin, type HostedPluginParam as HostedPluginParam, type HostedSkill as HostedSkill, type HostedSkillParam as HostedSkillParam, type HostedSkillReference as HostedSkillReference, type InlineCapabilitySourceParam as InlineCapabilitySourceParam, type InputContent as InputContent, type InputContentParam as InputContentParam, type McpTransport as McpTransport, type McpTransportParam as McpTransportParam, type MultiAgentConfig as MultiAgentConfig, type MultiAgentConfigParam as MultiAgentConfigParam, type OutputText as OutputText, type PersistedAgentTool as PersistedAgentTool, type PersistedAgentToolParam as PersistedAgentToolParam, type PersistedMcpTransport as PersistedMcpTransport, type PersistedMcpTransportParam as PersistedMcpTransportParam, type SessionError as SessionError, type SessionTurnError as SessionTurnError, type SetupCommandParam as SetupCommandParam, type Subagent as Subagent, type SummaryText as SummaryText, type TextFormat as TextFormat, type TextFormatParam as TextFormatParam, type TokenUsage as TokenUsage, type WebSearchAction as WebSearchAction, type AgentsPage as AgentsPage, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, type AgentListParams as AgentListParams, };
|
|
4285
|
+
export { type Agent as Agent, type AgentBrowserAuthenticationCancelParam as AgentBrowserAuthenticationCancelParam, type AgentBrowserAuthenticationSubmitParam as AgentBrowserAuthenticationSubmitParam, type AgentBrowserOriginAccessParam as AgentBrowserOriginAccessParam, type AgentCloseSubagentCallItem as AgentCloseSubagentCallItem, type AgentCommandExecutionItem as AgentCommandExecutionItem, type AgentContent as AgentContent, type AgentCreateSubagentCallItem as AgentCreateSubagentCallItem, type AgentDeleted as AgentDeleted, type AgentFunctionCallItem as AgentFunctionCallItem, type AgentFunctionCallOutput as AgentFunctionCallOutput, type AgentFunctionCallOutputParam as AgentFunctionCallOutputParam, type AgentFunctionCallStatus as AgentFunctionCallStatus, type AgentInterruptSubagentCallItem as AgentInterruptSubagentCallItem, type AgentMcpCallItem as AgentMcpCallItem, type AgentOutputCommandExecutionOutputDeltaEvent as AgentOutputCommandExecutionOutputDeltaEvent, type AgentOutputItem as AgentOutputItem, type AgentOutputItemStatus as AgentOutputItemStatus, type AgentReasoning as AgentReasoning, type AgentReasoningItem as AgentReasoningItem, type AgentReasoningParam as AgentReasoningParam, type AgentResumeSubagentCallItem as AgentResumeSubagentCallItem, type AgentSendSubagentInputCallItem as AgentSendSubagentInputCallItem, type AgentSession as AgentSession, type AgentSessionAssistantMessage as AgentSessionAssistantMessage, type AgentSessionCreatedEvent as AgentSessionCreatedEvent, type AgentSessionDeleted as AgentSessionDeleted, type AgentSessionEnvironmentConnectedEvent as AgentSessionEnvironmentConnectedEvent, type AgentSessionEnvironmentDisconnectedEvent as AgentSessionEnvironmentDisconnectedEvent, type AgentSessionEnvironmentFailedEvent as AgentSessionEnvironmentFailedEvent, type AgentSessionEnvironmentPendingEvent as AgentSessionEnvironmentPendingEvent, type AgentSessionEnvironmentReadyEvent as AgentSessionEnvironmentReadyEvent, type AgentSessionEnvironmentResetEvent as AgentSessionEnvironmentResetEvent, type AgentSessionEnvironmentState as AgentSessionEnvironmentState, type AgentSessionErrorEvent as AgentSessionErrorEvent, type AgentSessionEvent as AgentSessionEvent, type AgentSessionFailedEvent as AgentSessionFailedEvent, type AgentSessionIdleEvent as AgentSessionIdleEvent, type AgentSessionInProgressEvent as AgentSessionInProgressEvent, type AgentSessionInputMessageParam as AgentSessionInputMessageParam, type AgentSessionInputParam as AgentSessionInputParam, type AgentSessionItem as AgentSessionItem, type AgentSessionMessage as AgentSessionMessage, type AgentSessionMessageContent as AgentSessionMessageContent, type AgentSessionRequiresActionEvent as AgentSessionRequiresActionEvent, type AgentSessionSubagentActiveEvent as AgentSessionSubagentActiveEvent, type AgentSessionSubagentClosedEvent as AgentSessionSubagentClosedEvent, type AgentSessionSubagentCreatedEvent as AgentSessionSubagentCreatedEvent, type AgentSessionTurnCancelledEvent as AgentSessionTurnCancelledEvent, type AgentSessionTurnCompletedEvent as AgentSessionTurnCompletedEvent, type AgentSessionTurnContentPartAddedEvent as AgentSessionTurnContentPartAddedEvent, type AgentSessionTurnContentPartDoneEvent as AgentSessionTurnContentPartDoneEvent, type AgentSessionTurnCreatedEvent as AgentSessionTurnCreatedEvent, type AgentSessionTurnFailedEvent as AgentSessionTurnFailedEvent, type AgentSessionTurnInProgressEvent as AgentSessionTurnInProgressEvent, type AgentSessionTurnItemAddedEvent as AgentSessionTurnItemAddedEvent, type AgentSessionTurnItemDoneEvent as AgentSessionTurnItemDoneEvent, type AgentSessionTurnOutputTextDeltaEvent as AgentSessionTurnOutputTextDeltaEvent, type AgentSessionTurnOutputTextDoneEvent as AgentSessionTurnOutputTextDoneEvent, type AgentSessionTurnReasoningSummaryPartAddedEvent as AgentSessionTurnReasoningSummaryPartAddedEvent, type AgentSessionTurnReasoningSummaryPartDoneEvent as AgentSessionTurnReasoningSummaryPartDoneEvent, type AgentSessionTurnReasoningSummaryTextDeltaEvent as AgentSessionTurnReasoningSummaryTextDeltaEvent, type AgentSessionTurnReasoningSummaryTextDoneEvent as AgentSessionTurnReasoningSummaryTextDoneEvent, type AgentText as AgentText, type AgentTextParam as AgentTextParam, type AgentTool as AgentTool, type AgentToolParam as AgentToolParam, type AgentWaitForSubagentsCallItem as AgentWaitForSubagentsCallItem, type AgentWebSearchCallItem as AgentWebSearchCallItem, type Environment as Environment, type EnvironmentParam as EnvironmentParam, type HostedEnvironmentFile as HostedEnvironmentFile, type HostedEnvironmentFileID as HostedEnvironmentFileID, type HostedEnvironmentFileParam as HostedEnvironmentFileParam, type HostedPlugin as HostedPlugin, type HostedPluginParam as HostedPluginParam, type HostedSkill as HostedSkill, type HostedSkillParam as HostedSkillParam, type HostedSkillReference as HostedSkillReference, type InlineCapabilitySourceParam as InlineCapabilitySourceParam, type InputContent as InputContent, type InputContentParam as InputContentParam, type McpTransport as McpTransport, type McpTransportParam as McpTransportParam, type MultiAgentConfig as MultiAgentConfig, type MultiAgentConfigParam as MultiAgentConfigParam, type OutputText as OutputText, type PersistedAgentTool as PersistedAgentTool, type PersistedAgentToolParam as PersistedAgentToolParam, type PersistedMcpTransport as PersistedMcpTransport, type PersistedMcpTransportParam as PersistedMcpTransportParam, type SessionError as SessionError, type SessionTurnError as SessionTurnError, type SetupCommandParam as SetupCommandParam, type Subagent as Subagent, type SummaryText as SummaryText, type TextFormat as TextFormat, type TextFormatParam as TextFormatParam, type TokenUsage as TokenUsage, type WebSearchAction as WebSearchAction, type AgentsPage as AgentsPage, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, type AgentListParams as AgentListParams, };
|
|
3732
4286
|
export { Environments as Environments, type EnvironmentInfo as EnvironmentInfo };
|
|
3733
4287
|
export { Vaults as Vaults, type Vault as Vault, type VaultDeleted as VaultDeleted, type VaultStatus as VaultStatus, type VaultStatusFilter as VaultStatusFilter, type VaultsPage as VaultsPage, type VaultCreateParams as VaultCreateParams, type VaultListParams as VaultListParams, };
|
|
3734
4288
|
export { Sessions as Sessions, type SessionCreateParams as SessionCreateParams, type SessionCreateParamsNonStreaming as SessionCreateParamsNonStreaming, type SessionCreateParamsStreaming as SessionCreateParamsStreaming, type SessionUpdateParams as SessionUpdateParams, type SessionListParams as SessionListParams, };
|