mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
531ce7626f
Now that https://github.com/openai/codex/pull/1373 simplified the sandbox config, we can print something much simpler in the TUI (and in `codex exec`) to summarize the sandbox config. Before:  With this change:  For reference, my `config.toml` contains: ``` [sandbox] mode = "workspace-write" writable_roots = ["/tmp", "/Users/mbolin/.pyenv/shims"] ``` Fixes https://github.com/openai/codex/issues/1248
20 lines
410 B
Rust
20 lines
410 B
Rust
#[cfg(feature = "cli")]
|
|
mod approval_mode_cli_arg;
|
|
|
|
#[cfg(feature = "elapsed")]
|
|
pub mod elapsed;
|
|
|
|
#[cfg(feature = "cli")]
|
|
pub use approval_mode_cli_arg::ApprovalModeCliArg;
|
|
|
|
#[cfg(any(feature = "cli", test))]
|
|
mod config_override;
|
|
|
|
#[cfg(feature = "cli")]
|
|
pub use config_override::CliConfigOverrides;
|
|
|
|
mod sandbox_summary;
|
|
|
|
#[cfg(feature = "sandbox_summary")]
|
|
pub use sandbox_summary::summarize_sandbox_policy;
|