codex-reset: a tiny Linux/CLI redeem tool building on your wham research #994
aaamosh
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey @Soju06 — thanks for the usage-refresh-policy spec and the broader
/wham/*reverse-engineering work in this repo. They were the cleanest public notes I found while figuring out how the new banked rate-limit reset feature talks to the backend.OpenAI rolled out savable rate-limit resets on 2026-06-12 but the redeem button only exists in the desktop / VS Code extension — the Rust CLI doesn't expose it and the extension's prompt doesn't reliably appear on Linux either. So I extracted the endpoint from the official
openai.chatgptVS Code extension's webview bundle and wrote a no-deps Python CLI that does the same redeem flow via~/.codex/auth.json:https://github.com/aaamosh/codex-reset
Endpoints, in case useful for codex-lb itself (they sit alongside
/wham/usage):GET /wham/rate-limit-reset-credits— list credits (status / granted_at / expires_at)POST /wham/rate-limit-reset-credits/consume— body{credit_id, redeem_request_id}, returns{code: "reset", windows_reset: 1}Verified live against a Plus account on the June rollout: weekly window went 100% → 0%,
available_count1 → 0 in one call. Mentioned codex-lb in the README acknowledgements. Cheers.All reactions