core-agent-ide/codex-rs/common/src
Anton Panasenko 3429de21b3
feat: introduce ExternalSandbox policy (#8290)
## Description

Introduced `ExternalSandbox` policy to cover use case when sandbox
defined by outside environment, effectively it translates to
`SandboxMode#DangerFullAccess` for file system (since sandbox configured
on container level) and configurable `network_access` (either Restricted
or Enabled by outside environment).

as example you can configure `ExternalSandbox` policy as part of
`sendUserTurn` v1 app_server API:

```
 {
            "conversationId": <id>,
            "cwd": <cwd>,
            "approvalPolicy": "never",
            "sandboxPolicy": {
                  "type": ""external-sandbox",
                  "network_access": "enabled"/"restricted"
            },
            "model": <model>,
            "effort": <effort>,
            ....
        }
```
2025-12-18 17:02:03 -08:00
..
approval_mode_cli_arg.rs [approval_policy] Add OnRequest approval_policy (#1865) 2025-08-05 20:44:20 -07:00
approval_presets.rs Prompt to turn on windows sandbox when auto mode selected. (#6618) 2025-11-18 11:38:18 -08:00
config_override.rs chore: verify boolean values can be parsed as config overrides (#6516) 2025-11-12 08:19:16 -08:00
config_summary.rs feat: Constrain values for approval_policy (#7778) 2025-12-17 16:19:27 +00:00
elapsed.rs Add spacing to timer duration formats (#3471) 2025-09-12 12:05:57 -04:00
format_env_display.rs [MCP] Redact environment variable values in /mcp and mcp get (#5648) 2025-10-24 18:30:20 -04:00
fuzzy_match.rs Scrollable slash commands (#1830) 2025-08-06 21:23:09 -07:00
lib.rs Migrate model preset (#7542) 2025-12-03 20:30:43 +00:00
oss.rs LM Studio OSS Support (#2312) 2025-11-17 11:49:09 -08:00
sandbox_mode_cli_arg.rs feat: introduce ExternalSandbox policy (#8290) 2025-12-18 17:02:03 -08:00
sandbox_summary.rs feat: introduce ExternalSandbox policy (#8290) 2025-12-18 17:02:03 -08:00