mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why Image generation did not save its result when the extension host did not provide a host-local save root. ## What changed - Save generated images under the turn environment's `generated_images` directory through its sandboxed filesystem executor when no host save root is configured. - Limit executor-written images to 32 MiB, reject symlinked output directories and existing destinations, and continue returning the image if persistence fails. - Include the saved workspace path in the tool output hint while preserving host-managed persistence when a save root is available. ## Testing - Extend the granted-turn-permissions integration test to verify the image and path hint are written to the turn workspace without creating a host-local artifact. GitOrigin-RevId: 3d24381a75fe4595641b5250e19fac8ed473b2cd