@zzdk 在 delete codex invalidated-auth 401 json 中发帖
#!/usr/bin/env python3
"""Scan Codex auth files, report HTTP 401/no-limit credentials, and
delete invalidated-auth 401 entries by default.
This script ports key parts from CLIProxyAPI's Codex implementation:
- Default Codex base URL from `internal/runtime/executor/codex_executor.go`
- Codex request headers style from `applyCodexHeaders`
- Refresh-token flow from `internal/auth/codex/openai_auth....