mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-13 08:06:41 +00:00
- gateway-admin: drop the mirrored 7-variant enum; re-export the core type - gateway-api: serialize wire availability via core as_str (bytes unchanged) - gateway-store: drop ProviderAccountAvailability and four identity mappers; rows parse through core's codec with the same error string; redis state validation reuses core parse instead of a literal 7-string set - providers/openai+xai: drop core<->admin identity mappers made moot by the admin re-export - providers/xai: a single exhaustive From<GrokCredentialAvailability> impl is now the only Grok->core translation point No behavior change: DB strings, wire JSON, and the AccountStatus fold (including Invalid->Expired display) are byte-identical. 1244 tests green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>