mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
Support Enterprise automation account plans (#36228)
## What changed - Recognize `enterprise_cbp_automation` as an Enterprise workspace plan in authentication, backend responses, and app-server account and rate-limit APIs. - Expose the plan in generated protocol schemas and display it as `Enterprise (Automation)` in account status. - Apply existing workspace eligibility and Business usage-limit behavior to the new plan. ## Testing - Cover JWT parsing, plan conversion and serialization, app-server responses, workspace eligibility, usage-limit formatting, and TUI status rendering. GitOrigin-RevId: d84ae2be3dd60fe398f226e6dc434efe27a387a5
This commit is contained in:
@@ -120,6 +120,8 @@ pub enum PlanType {
|
||||
Business,
|
||||
#[serde(rename = "ent26")]
|
||||
Ent26,
|
||||
#[serde(rename = "enterprise_cbp_automation")]
|
||||
EnterpriseCbpAutomation,
|
||||
#[serde(rename = "enterprise_cbp_usage_based")]
|
||||
EnterpriseCbpUsageBased,
|
||||
#[serde(rename = "education")]
|
||||
|
||||
Reference in New Issue
Block a user