Codex CLI 0.170.0-alpha.2 changes how it handles oversized WebSocket requests

OpenAI tagged Codex CLI 0.170.0-alpha.2 as a preview. Two changes in the tagged source switch oversized requests to HTTP sooner, avoiding retries against the same WebSocket transport limit. GitHub tag

When the CLI switches to HTTP

If the server advertises a valid message size limit during the handshake, the CLI checks the request size before sending it. A request above that limit goes through the existing HTTP fallback without first uploading the oversized WebSocket message. Pre-send check

If the connection closes with code 1009 (message too big) before any text arrives, the CLI can also switch to HTTP without exhausting its WebSocket retries. These changes concern transport. They do not establish a larger model context window or guarantee that every large request will succeed. Early close handling

Can you install it now?

When checked, GitHub listed only source archives and npm did not have this exact version. This report covers the tagged source; CodexBro has not tested the change with an installable build. GitHub assets