core-agent-ide/docs
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
..
advanced.md Add a separate exec doc (#4583) 2025-10-02 13:33:08 -07:00
authentication.md fix: replace --api-key with --with-api-key in codex login (#4646) 2025-10-03 06:17:31 +00:00
CLA.md Set up CLA process and remove DCO (#129) 2025-04-16 15:24:31 -07:00
config.md Fall back to configured instruction files if AGENTS.md isn't available (#4544) 2025-10-01 18:19:59 +00:00
contributing.md README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
exec.md feat: codex exec writes only the final message to stdout (#4644) 2025-10-03 16:22:12 +00:00
experimental.md README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
faq.md README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
getting-started.md enable-resume (#3537) 2025-09-14 19:33:19 -04:00
install.md README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
license.md README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
open-source-fund.md README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
platform-sandboxing.md README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
prompts.md Custom prompt args (numeric) (#4470) 2025-09-29 16:14:37 -07:00
release_management.md fix: make GitHub Action publish to npm using trusted publishing (#3431) 2025-09-16 20:33:59 -07:00
sandbox.md fix typo in sandbox doc (#4256) 2025-09-25 16:03:44 -07:00
zdr.md Never store requests (#3212) 2025-09-05 10:41:47 -07:00