core-agent-ide/codex-rs/app-server-protocol/schema
Michael Bolin 48af93399e
feat: use OAI Responses API MessagePhase type directly in App Server v2 (#12422)
https://github.com/openai/codex/pull/10455 introduced the `phase` field,
and then https://github.com/openai/codex/pull/12072 introduced a
`MessagePhase` type in `v2.rs` that paralleled the `MessagePhase` type
in `codex-rs/protocol/src/models.rs`.

The app server protocol prefers `camelCase` while the Responses API uses
`snake_case`, so this meant we had two versions of `MessagePhase` with
different serialization rules. When the app server protocol refers to
types from the Responses API, we use the wire format of the the
Responses API even though it is inconsistent with the app server API.

This PR deletes `MessagePhase` from `v2.rs` and consolidates on the
Responses API version to eliminate confusion.
2026-02-20 20:43:36 -08:00
..
json feat: use OAI Responses API MessagePhase type directly in App Server v2 (#12422) 2026-02-20 20:43:36 -08:00
typescript feat: use OAI Responses API MessagePhase type directly in App Server v2 (#12422) 2026-02-20 20:43:36 -08:00