Expose managed application network requirements (#42417)

## What changed

- Add `application.network` managed requirements with exact-domain allow/deny
  rules, default-enabled behavior, domain normalization, and normal managed TOML
  precedence.
- Return the policy separately from agent network requirements through the
  experimental `configRequirements/read` API. The endpoint reports the policy
  but does not enforce it.
- Export the new protocol types and schemas, and document the TOML format.

## Testing

- Cover parsing, validation, normalization, layered precedence, and cloud
  requirement composition.
- Verify app-server responses, defaults, separation from agent policy, and
  rejection of invalid domains.

GitOrigin-RevId: 563eeed296d9748430b819797204a44a8db92f3b
This commit is contained in:
acrognale-oai authored and copyberry committed 2026-09-03 02:09:10 +00:00
1 parent 88912c04cd
commit b27a6321fa
27 files changed
+658 -5

No files matched your search

+3
View File
@@ -1,3 +1,4 @@
mod application_requirements;
mod auth_policy;
mod browser_computer_use_requirements;
mod browser_use;
@@ -39,6 +40,8 @@ pub mod types;
pub const CONFIG_TOML_FILE: &str = "config.toml";
pub use application_requirements::ApplicationNetworkRequirementsToml;
pub use application_requirements::ApplicationRequirementsToml;
pub use auth_policy::ManagedAuthPolicy;
pub use browser_computer_use_requirements::AllowDenyRequirementToml;
pub use browser_computer_use_requirements::BrowserUseAccessApprovalLifetimeToml;