mirror of
https://github.com/openai/codex.git
synced 2026-11-30 00:10:49 +00:00
## What changed Serialize `ClientResponse` JSON-RPC results through the untagged `ClientResponsePayload` enum, and serialize payloads directly instead of matching on each variant. Preserve existing result shapes and request IDs. ## Testing Add regression tests covering v1 and v2 payloads with integer and string request IDs, legacy interrupt responses, and serialization errors from non-UTF-8 paths on Unix across typed, borrowed, and owned response conversions. GitOrigin-RevId: d46403b02f910a0d3e41a48a5bc6faa2581873e1