$ the-wire · showcase
Cost line items gain model and token category; Code Mode keeps schema constraints
By RepoJournal · Filed · About OpenAI · Composed from the cited sources · methodology
Both official SDKs now read the billed model and token category on organization cost line items, while Codex adds an opt-in flag to stop Code Mode signatures from dropping JSON Schema constraints.
feat(api): add model and token category to organization costs openai/openai-node
openai-node now reads the billed model and token category off organization cost line items when the API supplies them, so cost reporting code can break spend out per model without re-deriving it. The same field additions landed in openai-python as well.
Preserve JSON Schema constraints in Code Mode signatures openai/codex
Code Mode signatures dropped constraints when a JSON Schema combined composition keywords with sibling constraints, and Responses-compat types could narrow nullable arguments: an argument accepting a string or an object with a required name could appear to accept an object with no required fields. The new opt-in features.code_mode_schema_composition flag restores them, so types stay wrong until...
Extract model lookup and reasoning effort validation into protocol openai/codex
Model lookup and reasoning effort validation moved into reusable helpers in codex_protocol::openai_models, now used to validate spawn_agent overrides. Lookup searches the backend-eligible catalog by exact name including hidden models, and unknown-model errors suggest up to 16 visible models in catalog order.
Show clearer file preview messages in the TUI sidebar openai/codex
Binary and non-UTF-8 files in the TUI sidebar now show a muted preview-unavailable notice instead of a generic open error, with a dedicated notice for Windows hosts. Oversized files get a "File too large to preview" heading that keeps the server's size-limit details, and long headings wrap in narrow panes.
Wait for Codex CLI exit in the TypeScript turn failure test (#65518) openai/codex
The turn failure test now tracks spawned processes in codexExecSpy and waits for them at teardown, closing a race where thread.run() rejected on turn.failed while the CLI still held its writer lock and cleanup raced to remove the temporary CODEX_HOME.