feat: wire ephemeral in codex exec (#10758)

This commit is contained in:
jif-oai
2026-02-05 15:49:57 +00:00
committed by GitHub
parent 4033f905c6
commit d337b51741
5 changed files with 65 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ You can enable notifications by configuring a script that is run whenever the ag
### `codex exec` to run Codex programmatically/non-interactively
To run Codex non-interactively, run `codex exec PROMPT` (you can also pass the prompt via `stdin`) and Codex will work on your task until it decides that it is done and exits. Output is printed to the terminal directly. You can set the `RUST_LOG` environment variable to see more about what's going on.
Use `codex exec --ephemeral ...` to run without persisting session rollout files to disk.
### Experimenting with the Codex Sandbox