feat: add sandbox browser control allowlists

This commit is contained in:
Peter Steinberger committed 2026-01-11 01:52:32 +01:00
1 parent b0b4b33b6b
commit 07be761779
12 files changed
+165 -5

No files matched your search

+1
View File
@@ -244,5 +244,6 @@ How it maps:
- `controlUrl` sets `target: "custom"` implicitly (remote control server).
- In sandboxed sessions, `target: "host"` requires `agents.defaults.sandbox.browser.allowHostControl=true`.
- If `target` is omitted: sandboxed sessions default to `sandbox`, non-sandbox sessions default to `host`.
- Sandbox allowlists can restrict `target: "custom"` to specific URLs/hosts/ports.
This keeps the agent deterministic and avoids brittle selectors.