fix(core): add session-scoped network approvals for managed proxy

This commit is contained in:
viyatb-oai
2026-02-12 16:33:01 -08:00
parent 01f80b2057
commit d33fa6ef00
13 changed files with 585 additions and 130 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ async fn run_command_under_sandbox(
// This proxy should only live for the lifetime of the child process.
let network_proxy = match config.permissions.network.as_ref() {
Some(spec) => Some(
spec.start_proxy(config.sandbox_policy.get())
spec.start_proxy(config.sandbox_policy.get(), None)
.await
.map_err(|err| anyhow::anyhow!("failed to start managed network proxy: {err}"))?,
),