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:
rafael-oai authored and copyberry committed 2026-08-21 19:20:09 +00:00
1 parent 56012fafb8
commit 950dd184a1
8 files changed
+464 -27

No files matched your search

+1
View File
@@ -953,6 +953,7 @@ interrupt_message = false
allow_managed_hooks_only: Some(true),
allow_appshots: Some(false),
allow_remote_control: Some(false),
allow_browser_and_computer_use: None,
computer_use: None,
browser_use: None,
in_app_browser: None,