mirror of
https://github.com/openai/codex.git
synced 2026-12-04 00:51:02 +00:00
## Why MCP tool results can contain multi-megabyte image, audio, or resource bodies, even though TUI history renders only summaries for those content types. ## What changed - Project completed MCP results into width-independent display data, dropping media and resource bodies that history does not render. - Preserve text output, JSON fallbacks, error state, Node REPL rendering, and the fully decoded image-output marker. - Add tests covering width-dependent rendering, image validation, and Node REPL text fields on non-text and unknown content blocks. GitOrigin-RevId: 2cfddf0864093e6837a4431e541f7a9cab544a68