diff --git a/src/components/quota/quotaConfigs.ts b/src/components/quota/quotaConfigs.ts index c57f9af..a0f5578 100644 --- a/src/components/quota/quotaConfigs.ts +++ b/src/components/quota/quotaConfigs.ts @@ -974,6 +974,13 @@ const resolveClaudePlanType = (profile: ClaudeProfileResponse | null): string | const hasClaudePro = normalizeFlagValue(profile.account?.has_claude_pro); if (hasClaudePro) return 'plan_pro'; + const organizationType = normalizeStringValue(profile.organization?.organization_type)?.toLowerCase(); + const subscriptionStatus = normalizeStringValue(profile.organization?.subscription_status)?.toLowerCase(); + + if (organizationType === 'claude_team' && subscriptionStatus === 'active') { + return 'plan_team'; + } + if (hasClaudeMax === false && hasClaudePro === false) return 'plan_free'; return null; diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index e529e9a..f2ce195 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -645,7 +645,8 @@ "plan_pro": "Pro", "plan_max": "Max", "plan_max5": "Max 5x", - "plan_max20": "Max 20x" + "plan_max20": "Max 20x", + "plan_team": "Team" }, "codex_quota": { "title": "Codex Quota", diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index 176353b..562e71d 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -642,7 +642,8 @@ "plan_pro": "Pro", "plan_max": "Max", "plan_max5": "Max 5x", - "plan_max20": "Max 20x" + "plan_max20": "Max 20x", + "plan_team": "Team" }, "codex_quota": { "title": "Квота Codex", diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json index 5d09f7e..f112317 100644 --- a/src/i18n/locales/zh-CN.json +++ b/src/i18n/locales/zh-CN.json @@ -645,7 +645,8 @@ "plan_pro": "专业版", "plan_max": "Max", "plan_max5": "Max 5x", - "plan_max20": "Max 20x" + "plan_max20": "Max 20x", + "plan_team": "团队版" }, "codex_quota": { "title": "Codex 额度", diff --git a/src/i18n/locales/zh-TW.json b/src/i18n/locales/zh-TW.json index 7db6685..010aa62 100644 --- a/src/i18n/locales/zh-TW.json +++ b/src/i18n/locales/zh-TW.json @@ -645,7 +645,8 @@ "plan_pro": "專業版", "plan_max": "Max", "plan_max5": "Max 5x", - "plan_max20": "Max 20x" + "plan_max20": "Max 20x", + "plan_team": "團隊版" }, "codex_quota": { "title": "Codex 配額",