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
464 B
TOML
20 lines
464 B
TOML
[package]
|
|
name = "codex-common"
|
|
version = { workspace = true }
|
|
edition = "2024"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive", "wrap_help"], optional = true }
|
|
codex-core = { path = "../core" }
|
|
toml = { version = "0.8", optional = true }
|
|
serde = { version = "1", optional = true }
|
|
|
|
[features]
|
|
# Separate feature so that `clap` is not a mandatory dependency.
|
|
cli = ["clap", "toml", "serde"]
|
|
elapsed = []
|
|
sandbox_summary = []
|