The authentication and transport behavior follows OpenAI Codex revision be6e8eac029b183056b7e4402879f15d2c85f61b.
That revision corresponds to the rust-v0.147.0 tag. The package sends 0.147.0 as its compatible Codex client version.
The implementation follows these upstream areas:
codex-rs/login/src/pkce.rsdefines PKCE values.codex-rs/login/src/server.rsdefines OAuth parameters and callback behavior.codex-rs/login/src/auth/default_client.rsdefines client headers.codex-rs/models-manager/src/manager.rsdefines catalog priority and default selection.codex-rs/core/src/client.rsdefines the Responses request shape.
The source revision is available in the OpenAI Codex repository.
The package requests the live Codex model catalog before each response. It selects the first visible model after an ascending priority sort.
If catalog discovery fails, the package uses gpt-5.6-sol. Current OpenAI guidance identifies that model as the flagship GPT-5.6 target.
The model fallback source is the GPT-5.6 upgrade guide.
-
Select an exact OpenAI Codex revision.
-
Compare the complete login, model catalog, headers, request body, and SSE paths.
-
Update
compatibleCodexVersionafter the transport comparison passes. -
Update
fallbackLatestModelfrom current official model guidance. -
Update request and response tests before behavior changes.
-
Run the package tests and the iOS demo build.
-
Complete one device sign-in and one real SSE request.