core-agent-ide/codex-rs/exec
Michael Bolin 50924101d2
feat: add --dangerously-bypass-approvals-and-sandbox (#1384)
This PR reworks `assess_command_safety()` so that the combination of
`AskForApproval::Never` and `SandboxPolicy::DangerFullAccess` ensures
that commands are run without _any_ sandbox and the user should never be
prompted. In turn, it adds support for a new
`--dangerously-bypass-approvals-and-sandbox` flag (that cannot be used
with `--approval-policy` or `--full-auto`) that sets both of those
options.

Fixes https://github.com/openai/codex/issues/1254
2025-06-25 12:36:10 -07:00
..
src feat: add --dangerously-bypass-approvals-and-sandbox (#1384) 2025-06-25 12:36:10 -07:00
Cargo.toml fix: pretty-print the sandbox config in the TUI/exec modes (#1376) 2025-06-24 17:48:51 -07:00