mirror of
https://github.com/openai/codex.git
synced 2026-05-01 03:42:05 +03:00
We currently have nested enums when sending raw response items in the app-server protocol. This makes downstream schemas confusing because we need to embed `type`-discriminated enums within each other. This PR adds a small wrapper around the response item so we can keep the schemas separate