@loongphy/codex-auth-win32-x64 0.3.2-alpha.2 → 0.3.2-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/bin/codex-auth.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,6 +58,7 @@ Detailed command documentation lives in [docs/commands/README.md](./docs/command
|
|
|
58
58
|
| [`codex-auth remove [--live] [--api\|--skip-api]`](./docs/commands/remove.md) | Remove accounts interactively |
|
|
59
59
|
| [`codex-auth remove <query> [<query>...]`](./docs/commands/remove.md) | Remove accounts by selector |
|
|
60
60
|
| [`codex-auth remove --all`](./docs/commands/remove.md) | Remove all stored accounts |
|
|
61
|
+
| [`codex-auth reset <query>`](./docs/commands/reset.md) | Use the soonest-expiring reset credit for one account |
|
|
61
62
|
| [`codex-auth alias set <query> <alias>`](./docs/commands/alias.md) | Set an alias for an account |
|
|
62
63
|
| [`codex-auth alias clear <query>`](./docs/commands/alias.md) | Clear the alias for an account |
|
|
63
64
|
|
|
@@ -158,8 +159,6 @@ This project is provided as-is and use is at your own risk.
|
|
|
158
159
|
2. **Local-only:** With per-command `--skip-api`, the tool scans local `~/.codex/sessions/*/rollout-*.jsonl` files for usage data and skips team name refresh API calls. This mode is safer, but it can be less accurate because recent Codex rollout files often contain `rate_limits: null`, so the latest local usage limit data may lag by several hours.
|
|
159
160
|
|
|
160
161
|
**API Call Declaration:**
|
|
161
|
-
By using the default API-backed refresh, this tool will send your ChatGPT access token to OpenAI's servers for usage limit and team name refresh.
|
|
162
|
-
- `GET https://chatgpt.com/backend-api/wham/usage`
|
|
163
|
-
- `GET https://chatgpt.com/backend-api/accounts`
|
|
162
|
+
By using the default API-backed refresh, this tool will send your ChatGPT access token to OpenAI's servers for usage limit, reset-credit, and team name refresh. Redeeming a reset credit with `codex-auth reset` (or from the `list --live` rail) additionally sends a consume request — the only state-mutating call this tool makes — and it is never sent during a refresh. See [docs/api.md](docs/api.md) for the exact endpoints.
|
|
164
163
|
|
|
165
164
|
This behavior may be detected by OpenAI and could violate their terms of service, potentially leading to account suspension or other risks. The decision to use this feature and any resulting consequences are entirely yours.
|
package/bin/codex-auth.exe
CHANGED
|
Binary file
|