Add CUA requirements subsection for locked computer use (#23555)

Adds a new top-level section for "CUA" requirements that can allow for
disablement of specific features as needed for enterprises.
This commit is contained in:
adams-oai
2026-05-19 15:41:44 -07:00
committed by GitHub
parent c53da029bc
commit d86352d520
17 changed files with 189 additions and 2 deletions
+2
View File
@@ -700,6 +700,7 @@ mod tests {
remote_sandbox_config: None,
allowed_web_search_modes: Some(vec![WebSearchModeRequirement::Cached]),
allow_managed_hooks_only: Some(true),
computer_use: None,
guardian_policy_config: Some("Use the managed guardian policy.".to_string()),
feature_requirements: Some(FeatureRequirementsToml {
entries: BTreeMap::from([("guardian_approval".to_string(), true)]),
@@ -914,6 +915,7 @@ approval_policy = "never"
remote_sandbox_config: None,
allowed_web_search_modes: Some(Vec::new()),
allow_managed_hooks_only: None,
computer_use: None,
guardian_policy_config: None,
feature_requirements: None,
hooks: None,