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
|
@@ -414,6 +414,11 @@ export interface EnvironmentTemplate {
|
|
|
414
414
|
* The Unix timestamp, in seconds, when the template was last updated.
|
|
415
415
|
*/
|
|
416
416
|
updated_at: number;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Desktop configuration for each OpenAI-hosted environment.
|
|
420
|
+
*/
|
|
421
|
+
desktop?: EnvironmentTemplate.Desktop;
|
|
417
422
|
}
|
|
418
423
|
|
|
419
424
|
export namespace EnvironmentTemplate {
|
|
@@ -466,7 +471,7 @@ export namespace EnvironmentTemplate {
|
|
|
466
471
|
*
|
|
467
472
|
* - `enabled` - Allows unrestricted network access.
|
|
468
473
|
* - `disabled` - Disables network access.
|
|
469
|
-
* - `restricted` -
|
|
474
|
+
* - `restricted` - Applies the configured domain restrictions.
|
|
470
475
|
*/
|
|
471
476
|
access: 'enabled' | 'disabled' | 'restricted';
|
|
472
477
|
|
|
@@ -535,6 +540,16 @@ export namespace EnvironmentTemplate {
|
|
|
535
540
|
*/
|
|
536
541
|
type: 'inline';
|
|
537
542
|
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Desktop configuration for each OpenAI-hosted environment.
|
|
546
|
+
*/
|
|
547
|
+
export interface Desktop {
|
|
548
|
+
/**
|
|
549
|
+
* Whether the environment provisions a desktop and browser proxy.
|
|
550
|
+
*/
|
|
551
|
+
enabled: boolean;
|
|
552
|
+
}
|
|
538
553
|
}
|
|
539
554
|
|
|
540
555
|
/**
|
|
@@ -564,6 +579,12 @@ export interface TemplateCreateParams {
|
|
|
564
579
|
*/
|
|
565
580
|
capability_directories?: Array<string> | null;
|
|
566
581
|
|
|
582
|
+
/**
|
|
583
|
+
* Desktop provisioning. Omission or null inherits the template setting, or
|
|
584
|
+
* defaults to disabled.
|
|
585
|
+
*/
|
|
586
|
+
desktop?: TemplateCreateParams.Desktop | null;
|
|
587
|
+
|
|
567
588
|
/**
|
|
568
589
|
* Environment variables made available to the agent.
|
|
569
590
|
*/
|
|
@@ -608,6 +629,17 @@ export interface TemplateCreateParams {
|
|
|
608
629
|
}
|
|
609
630
|
|
|
610
631
|
export namespace TemplateCreateParams {
|
|
632
|
+
/**
|
|
633
|
+
* Desktop provisioning. Omission or null inherits the template setting, or
|
|
634
|
+
* defaults to disabled.
|
|
635
|
+
*/
|
|
636
|
+
export interface Desktop {
|
|
637
|
+
/**
|
|
638
|
+
* Whether to provision the desktop and its browser proxy.
|
|
639
|
+
*/
|
|
640
|
+
enabled: boolean;
|
|
641
|
+
}
|
|
642
|
+
|
|
611
643
|
/**
|
|
612
644
|
* Network access policy for the environment. Defaults to disabled for GA requests
|
|
613
645
|
* and enabled for beta requests.
|
|
@@ -618,7 +650,7 @@ export namespace TemplateCreateParams {
|
|
|
618
650
|
*
|
|
619
651
|
* - `enabled` - Allows unrestricted network access.
|
|
620
652
|
* - `disabled` - Disables network access.
|
|
621
|
-
* - `restricted` -
|
|
653
|
+
* - `restricted` - Applies the configured domain restrictions.
|
|
622
654
|
*/
|
|
623
655
|
access: 'enabled' | 'disabled' | 'restricted';
|
|
624
656
|
|
|
@@ -626,6 +658,13 @@ export namespace TemplateCreateParams {
|
|
|
626
658
|
* Domains the environment may access when network access is restricted.
|
|
627
659
|
*/
|
|
628
660
|
allowed_domains?: Array<string> | null;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Domains blocked for both executor and browser when access is restricted. A
|
|
664
|
+
* nonempty list requires `access: restricted` and cannot be combined with nonempty
|
|
665
|
+
* `allowed_domains`. Wildcard domains are not supported.
|
|
666
|
+
*/
|
|
667
|
+
blocked_domains?: Array<string> | null;
|
|
629
668
|
}
|
|
630
669
|
|
|
631
670
|
/**
|
|
@@ -655,6 +694,11 @@ export interface TemplateUpdateParams {
|
|
|
655
694
|
*/
|
|
656
695
|
capability_directories?: Array<string> | null;
|
|
657
696
|
|
|
697
|
+
/**
|
|
698
|
+
* Replacement desktop configuration, or null to disable the desktop.
|
|
699
|
+
*/
|
|
700
|
+
desktop?: TemplateUpdateParams.Desktop | null;
|
|
701
|
+
|
|
658
702
|
/**
|
|
659
703
|
* Replacement confidential environment values.
|
|
660
704
|
*/
|
|
@@ -699,6 +743,16 @@ export interface TemplateUpdateParams {
|
|
|
699
743
|
}
|
|
700
744
|
|
|
701
745
|
export namespace TemplateUpdateParams {
|
|
746
|
+
/**
|
|
747
|
+
* Replacement desktop configuration, or null to disable the desktop.
|
|
748
|
+
*/
|
|
749
|
+
export interface Desktop {
|
|
750
|
+
/**
|
|
751
|
+
* Whether to provision the desktop and its browser proxy.
|
|
752
|
+
*/
|
|
753
|
+
enabled: boolean;
|
|
754
|
+
}
|
|
755
|
+
|
|
702
756
|
/**
|
|
703
757
|
* Network access available after setup completes. Omit to preserve the current
|
|
704
758
|
* policy, or pass `null` to reset to disabled for GA requests or enabled for beta
|
|
@@ -710,7 +764,7 @@ export namespace TemplateUpdateParams {
|
|
|
710
764
|
*
|
|
711
765
|
* - `enabled` - Allows unrestricted network access.
|
|
712
766
|
* - `disabled` - Disables network access.
|
|
713
|
-
* - `restricted` -
|
|
767
|
+
* - `restricted` - Applies the configured domain restrictions.
|
|
714
768
|
*/
|
|
715
769
|
access: 'enabled' | 'disabled' | 'restricted';
|
|
716
770
|
|
|
@@ -718,6 +772,13 @@ export namespace TemplateUpdateParams {
|
|
|
718
772
|
* Domains the environment may access when network access is restricted.
|
|
719
773
|
*/
|
|
720
774
|
allowed_domains?: Array<string> | null;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Domains blocked for both executor and browser when access is restricted. A
|
|
778
|
+
* nonempty list requires `access: restricted` and cannot be combined with nonempty
|
|
779
|
+
* `allowed_domains`. Wildcard domains are not supported.
|
|
780
|
+
*/
|
|
781
|
+
blocked_domains?: Array<string> | null;
|
|
721
782
|
}
|
|
722
783
|
|
|
723
784
|
/**
|
|
@@ -31,13 +31,16 @@ export class Events extends APIResource {
|
|
|
31
31
|
* {
|
|
32
32
|
* events: [
|
|
33
33
|
* {
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
34
|
+
* request_id: 'request_id',
|
|
35
|
+
* response: {
|
|
36
|
+
* action: 'submit',
|
|
37
|
+
* fields: [
|
|
38
|
+
* { field_id: 'field_id', value: 'value' },
|
|
39
|
+
* ],
|
|
40
|
+
* type: 'browser_authentication',
|
|
41
|
+
* },
|
|
42
|
+
* type:
|
|
43
|
+
* 'agent.session.input.computer_use_approval_request_result',
|
|
41
44
|
* },
|
|
42
45
|
* ],
|
|
43
46
|
* },
|
|
@@ -76,6 +76,9 @@ import {
|
|
|
76
76
|
import * as AgentsAPI from './agents/agents';
|
|
77
77
|
import {
|
|
78
78
|
Agent,
|
|
79
|
+
AgentBrowserAuthenticationCancelParam,
|
|
80
|
+
AgentBrowserAuthenticationSubmitParam,
|
|
81
|
+
AgentBrowserOriginAccessParam,
|
|
79
82
|
AgentCloseSubagentCallItem,
|
|
80
83
|
AgentCommandExecutionItem,
|
|
81
84
|
AgentContent,
|
|
@@ -451,6 +454,9 @@ export declare namespace Beta {
|
|
|
451
454
|
type TranscriptionSessionUpdatedEvent as TranscriptionSessionUpdatedEvent,
|
|
452
455
|
Agents as Agents,
|
|
453
456
|
type Agent as Agent,
|
|
457
|
+
type AgentBrowserAuthenticationCancelParam as AgentBrowserAuthenticationCancelParam,
|
|
458
|
+
type AgentBrowserAuthenticationSubmitParam as AgentBrowserAuthenticationSubmitParam,
|
|
459
|
+
type AgentBrowserOriginAccessParam as AgentBrowserOriginAccessParam,
|
|
454
460
|
type AgentCloseSubagentCallItem as AgentCloseSubagentCallItem,
|
|
455
461
|
type AgentCommandExecutionItem as AgentCommandExecutionItem,
|
|
456
462
|
type AgentContent as AgentContent,
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Version of the installed OpenAI SDK package. */
|
|
2
|
-
export const VERSION = '7.
|
|
2
|
+
export const VERSION = '7.25.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
/** Version of the installed OpenAI SDK package. */
|
|
5
|
-
exports.VERSION = '7.
|
|
5
|
+
exports.VERSION = '7.25.0'; // x-release-please-version
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED