mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
fix: restore Codex environment setup table (#31337)
## Why Creating a Codex worktree skips local environment setup because `.codex/environments/environment.toml` omits the required `setup` object. ## What Restore an empty `[setup]` table with `script = ""`, preserving the intended no-op setup while satisfying the environment parser schema. ## Validation - Parsed the final TOML and verified `setup.script` is present as a string.
This commit is contained in:
committed by
GitHub
parent
641aa1b619
commit
8f3431054f
@@ -2,6 +2,10 @@
|
||||
version = 1
|
||||
name = "codex"
|
||||
|
||||
# TODO(anp) make it optional to specify this field
|
||||
[setup]
|
||||
script = ""
|
||||
|
||||
[[actions]]
|
||||
name = "Run"
|
||||
icon = "run"
|
||||
|
||||
Reference in New Issue
Block a user