Skip to content

feat(cli): show Codex usage#11612

Draft
lambertjosh wants to merge 6 commits into
feat/provider-usage-centerfrom
feat/codex-usage-visibility
Draft

feat(cli): show Codex usage#11612
lambertjosh wants to merge 6 commits into
feat/provider-usage-centerfrom
feat/codex-usage-visibility

Conversation

@lambertjosh

Copy link
Copy Markdown
Contributor

What changed

Add a Codex adapter to the Provider Usage Center using the already-resolved ChatGPT OAuth transport from the OpenAI provider. It queries the fixed ChatGPT usage backend, decodes quota windows lossily so malformed siblings do not hide valid data, and normalizes five-hour, weekly, named additional, purchased-credit, and spend-control state into the shared contract.

Why

Codex users should see current ChatGPT quota and credit state alongside Kilo and MiniMax sources without duplicating OAuth handling or exposing access tokens and account identifiers.

Stack

This draft is stacked on #11611 and should be reviewed after that base Provider Usage Center PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant