mirror of
https://github.com/openai/codex.git
synced 2026-11-18 23:02:23 +00:00
Expose managed WebMCP policy through the app server (#42823)
## What changed - Parse the optional `[browser_use].allow_webmcp` boolean from managed requirements and preserve requirement-layer precedence. - Return the policy as `browserUse.allowWebmcp` from `configRequirements/read`, including explicit `true`, explicit `false`, and `null` when omitted. - Update the generated JSON and TypeScript protocol schemas. ## Testing - Cover parsing, invalid values, layered overrides, and app-server response serialization. GitOrigin-RevId: a3fd7d1a6f838bb3ab0ac2a644409101a2338ca6
This commit is contained in:
1 parent
387bc6ba59
commit
0f64d70808
17 files changed
+183
-3
No files matched your search
@@ -505,6 +505,7 @@ pub struct ComputerUseRequirements {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct BrowserUseRequirements {
|
||||
pub allow_webmcp: Option<bool>,
|
||||
pub allow_history_access: Option<bool>,
|
||||
pub disable_auto_review: Option<bool>,
|
||||
pub allow_global_persistent_approval: Option<bool>,
|
||||
|
||||
Reference in new issue
Block a user