Merge 2025b5f054 into sapling-pr-archive-bolinfest

This commit is contained in:
Michael Bolin
2026-04-30 10:02:56 -07:00
committed by GitHub
2 changed files with 5 additions and 6 deletions

View File

@@ -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.
///

View File

@@ -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;