mirror of
https://github.com/openai/codex.git
synced 2026-09-07 15:40:00 +00:00
Merge 2025b5f054 into sapling-pr-archive-bolinfest
This commit is contained in:
@@ -30,7 +30,7 @@ pub enum StdioPolicy {
|
||||
Inherit,
|
||||
}
|
||||
|
||||
/// Spawns the appropriate child process for the ExecParams and SandboxPolicy,
|
||||
/// Spawns the appropriate child process for the prepared exec request,
|
||||
/// ensuring the args and environment variables used to create the `Command`
|
||||
/// (and `Child`) honor the configuration.
|
||||
///
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
//! Standard type to use with the `--sandbox` (`-s`) CLI option.
|
||||
//!
|
||||
//! This mirrors the variants of [`codex_protocol::protocol::SandboxPolicy`], but
|
||||
//! without any of the associated data so it can be expressed as a simple flag
|
||||
//! on the command-line. Users that need to tweak the advanced options for
|
||||
//! `workspace-write` can continue to do so via `-c` overrides or their
|
||||
//! `config.toml`.
|
||||
//! This mirrors the legacy sandbox mode names, but without any associated data
|
||||
//! so it can be expressed as a simple flag on the command-line. Users that need
|
||||
//! to tweak the advanced options for `workspace-write` can continue to do so
|
||||
//! via `-c` overrides or their `config.toml`.
|
||||
|
||||
use clap::ValueEnum;
|
||||
use codex_protocol::config_types::SandboxMode;
|
||||
|
||||
Reference in New Issue
Block a user