mirror of
https://github.com/openai/codex.git
synced 2026-09-02 14:49:14 +00:00
## What changed - Move JSON-RPC request, notification, response, error, and malformed-message handling into a dedicated `RequestDispatcher`. - Keep the connection loop responsible for receiving events and closing the connection when dispatch reports a terminal condition. ## Testing - Add an integration test confirming that ordinary requests are processed serially by default, including when a blocking `process/read` queues later requests. GitOrigin-RevId: 29d1358d4524edd492ff3855b29f23c42c8b3390