mirror of
https://github.com/openai/codex.git
synced 2026-10-25 18:28:38 +00:00
mcp: include permission profiles in sandbox state
This commit is contained in:
@@ -513,6 +513,7 @@ async fn augment_mcp_tool_request_meta_with_sandbox_state(
|
||||
}
|
||||
|
||||
let sandbox_state = serde_json::to_value(SandboxState {
|
||||
permission_profile: Some(turn_context.permission_profile()),
|
||||
sandbox_policy: turn_context.sandbox_policy.get().clone(),
|
||||
codex_linux_sandbox_exe: turn_context.codex_linux_sandbox_exe.clone(),
|
||||
sandbox_cwd: turn_context.cwd.to_path_buf(),
|
||||
|
||||
Reference in New Issue
Block a user