Make sandbox settings environment-owned

This commit is contained in:
pakrym-oai
2026-07-20 12:11:25 -07:00
parent bd92b056dd
commit 2e5153cf4b
74 changed files with 2494 additions and 251 deletions
@@ -198,6 +198,15 @@ impl TestAppServer {
environment_id: selection.environment_id.clone(),
cwd: selection.cwd.clone().into(),
runtime_workspace_roots: None,
sandbox: selection.sandbox.clone().map(|sandbox| {
codex_app_server_protocol::TurnEnvironmentSandboxParams {
permission_profile: sandbox.permission_profile.into(),
active_permission_profile: sandbox.active_permission_profile.map(Into::into),
windows_sandbox_level: sandbox.windows_sandbox_level,
windows_sandbox_private_desktop: sandbox.windows_sandbox_private_desktop,
use_legacy_landlock: sandbox.use_legacy_landlock,
}
}),
})
}