Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(desktop): 复用订阅状态列表
liugaowei8cd7e10fad11
diff --git a/apps/desktop/src/renderer/features/billing/BillingPage.tsx b/apps/desktop/src/renderer/features/billing/BillingPage.tsxindex be95abccac..64488a0384 100644--- a/apps/desktop/src/renderer/features/billing/BillingPage.tsx+++ b/apps/desktop/src/renderer/features/billing/BillingPage.tsx@@ -87,14 +87,7 @@ const SUBSCRIPTION_PURCHASE_BLOCKING_STATUSES: BillingSubscription['status'][] ='UNPAID','PAUSED',];-const SUBSCRIPTION_CANCELLABLE_STATUSES: BillingSubscription['status'][] = [- 'INCOMPLETE',- 'TRIALING',- 'ACTIVE',- 'PAST_DUE',- 'UNPAID',- 'PAUSED',-];+const SUBSCRIPTION_CANCELLABLE_STATUSES = SUBSCRIPTION_PURCHASE_BLOCKING_STATUSES;function decimalParts(value: string): { value: bigint; scale: number } | null {const match = /^(0|[1-9]\d{0,14})(?:\.(\d{1,9}))?$/.exec(value.trim());