mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Expand browser and computer use requirements (#39995)
## What changed - Add a top-level `allow_browser_and_computer_use` requirement. - Support browser requirements for history access, automatic review, persistent approvals, and default or per-origin access policies. - Support computer-use requirements for persistent approvals, default app access, macOS bundle IDs, Windows AUMIDs, and Windows executables. - Preserve these settings and their sources when composing layered requirements. ## Testing - Cover deserialization, empty-value detection, source propagation, and layered TOML merging for the new requirements. GitOrigin-RevId: d14a10b64465f1c54e9bcc3795dc93031e6b029b
This commit is contained in:
1 parent
56012fafb8
commit
950dd184a1
8 files changed
+464
-27
No files matched your search
@@ -1,4 +1,5 @@
|
||||
mod auth_policy;
|
||||
mod browser_computer_use_requirements;
|
||||
mod cloud_config_bundle;
|
||||
mod cloud_config_layers;
|
||||
mod config_layer_source;
|
||||
@@ -37,6 +38,14 @@ pub mod types;
|
||||
pub const CONFIG_TOML_FILE: &str = "config.toml";
|
||||
|
||||
pub use auth_policy::ManagedAuthPolicy;
|
||||
pub use browser_computer_use_requirements::AllowDenyRequirementToml;
|
||||
pub use browser_computer_use_requirements::BrowserUseAccessApprovalLifetimeToml;
|
||||
pub use browser_computer_use_requirements::BrowserUseOriginPolicyToml;
|
||||
pub use browser_computer_use_requirements::BrowserUseRequirementsToml;
|
||||
pub use browser_computer_use_requirements::ComputerUseMacosRequirementsToml;
|
||||
pub use browser_computer_use_requirements::ComputerUseRequirementsToml;
|
||||
pub use browser_computer_use_requirements::ComputerUseWindowsExeRequirementToml;
|
||||
pub use browser_computer_use_requirements::ComputerUseWindowsRequirementsToml;
|
||||
pub use cloud_config_bundle::CloudConfigBundle;
|
||||
pub use cloud_config_bundle::CloudConfigBundleLayers;
|
||||
pub use cloud_config_bundle::CloudConfigBundleLoadError;
|
||||
@@ -69,8 +78,6 @@ pub use config_requirements::AppToolRequirementToml;
|
||||
pub use config_requirements::AppToolsRequirementsToml;
|
||||
pub use config_requirements::AppsRequirementsToml;
|
||||
pub use config_requirements::AutoReviewRequirementsToml;
|
||||
pub use config_requirements::BrowserUseRequirementsToml;
|
||||
pub use config_requirements::ComputerUseRequirementsToml;
|
||||
pub use config_requirements::ConfigRequirements;
|
||||
pub use config_requirements::ConfigRequirementsToml;
|
||||
pub use config_requirements::ConfigRequirementsWithSources;
|
||||
|
||||
Reference in new issue
Block a user