Support prolite plan type (#17419)

Addresses #17353

Problem: Codex rate-limit fetching failed when the backend returned the
new `prolite` subscription plan type.

Solution: Add `prolite` to the backend/account/auth plan mappings, keep
unknown WHAM plan values decodable, and regenerate app-server plan
schemas.
This commit is contained in:
Eric Traut
2026-04-11 13:58:16 -07:00
committed by GitHub
parent 163ae7d3e6
commit 3b948d9dd8
17 changed files with 40 additions and 4 deletions

View File

@@ -65,6 +65,8 @@ pub enum PlanType {
Plus,
#[serde(rename = "pro")]
Pro,
#[serde(rename = "prolite")]
ProLite,
#[serde(rename = "free_workspace")]
FreeWorkspace,
#[serde(rename = "team")]
@@ -85,4 +87,6 @@ pub enum PlanType {
Enterprise,
#[serde(rename = "edu")]
Edu,
#[serde(rename = "unknown", other)]
Unknown,
}