core-agent-ide/codex-rs/exec/tests
Michael Bolin 042d4d55d9
feat: codex exec writes only the final message to stdout (#4644)
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 16:22:12 +00:00
..
fixtures Use helpers instead of fixtures (#3888) 2025-09-19 06:46:25 -07:00
suite feat: codex exec writes only the final message to stdout (#4644) 2025-10-03 16:22:12 +00:00
all.rs Add explicit codex exec events (#4177) 2025-09-25 17:47:09 +00:00
event_processor_with_json_output.rs chore: refactor tool handling (#4510) 2025-10-03 13:21:06 +01:00