Files
codex/docs
Michael Bolin 75f61c335e feat: codex exec writes only the final message to stdout
This updates `codex exec` so that, by default, most of the agent's activity is
written to stderr so that only the final agent message is written to stdout.
This makes it easier to pipe `codex exec` into another tool without extra filtering.

I introduced `#![deny(clippy::print_stdout)]` to help enforce this change and
renamed the `ts_println!()` macro to `ts_msg()` because (1) it no longer calls
`println!()` and (2), `ts_eprintln!()` seemed too long of a name.

While here, this also adds `-o` as an alias for `--output-last-message`.

Fixes https://github.com/openai/codex/issues/1670
2025-10-03 08:21:22 -07:00
..
2025-10-02 13:33:08 -07:00
2025-08-27 10:30:39 -07:00
2025-08-27 10:30:39 -07:00
2025-08-27 10:30:39 -07:00
2025-09-14 19:33:19 -04:00
2025-08-27 10:30:39 -07:00
2025-08-27 10:30:39 -07:00
2025-09-25 16:03:44 -07:00
2025-09-05 10:41:47 -07:00