mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why Web search events in `codex exec --json` dropped structured results and relied on a serialization round trip to convert action types. ## What changed Map web search actions explicitly, preserving `open_page` URLs and `find_in_page` URLs and patterns. Forward structured results through an optional `results` field, omitting it when unavailable while preserving empty arrays and error payloads. ## Testing Add regression coverage for page actions with absent, empty, successful, and error results in serialized `item.completed` events. GitOrigin-RevId: 9a7f4c9c2eb163ba62f5e1642437a9debffc3816