Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(desktop): SuperGrok 额外 credits 的 zh-CN 改用「点数」
Dash61327c04fccc
diff --git a/apps/desktop/src/renderer/components/status/TodaySpendChip.tsx b/apps/desktop/src/renderer/components/status/TodaySpendChip.tsxindex a10808ad9b..e8279e8f45 100644--- a/apps/desktop/src/renderer/components/status/TodaySpendChip.tsx+++ b/apps/desktop/src/renderer/components/status/TodaySpendChip.tsx@@ -1588,7 +1588,7 @@ export function TodaySpendChip({latestTurnUsage,);} else if (usesXaiQuotaForm) {- // 账号周用量进 chip;限流头与额外积分只在 tooltip。文案是账号级,不是本任务配额。+ // 账号周用量进 chip;限流头与额外点数只在 tooltip。文案是账号级,不是本任务配额。const chipSegments = [...windowSegments];if (sessionSegment) chipSegments.push(sessionSegment);labelNode = chipSegments.length > 0diff --git a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.jsonindex 7a6f34b9d1..9f6f158e3c 100644--- a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json+++ b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json@@ -4366,7 +4366,7 @@"planLine": "套餐 {{plan}}","resetAt": "{{at}} 重置","productLine": "{{product}} {{percent}}",- "extraCreditsLine": "额外积分 {{amount}}",+ "extraCreditsLine": "额外点数 {{amount}}","accountWeeklyHint": "账号周用量,不是本任务配额"},"dailyLimitLabel": "今日 {{spend}}/{{limit}}",diff --git a/apps/desktop/src/shared/xaiSubscriptionUsage.ts b/apps/desktop/src/shared/xaiSubscriptionUsage.tsindex fb8c3d0b71..e1ac3549f2 100644--- a/apps/desktop/src/shared/xaiSubscriptionUsage.ts+++ b/apps/desktop/src/shared/xaiSubscriptionUsage.ts@@ -28,7 +28,7 @@ export interface XaiSubscriptionUsageSnapshot {/** 分产品已用百分比。 */productUsage?: XaiProductUsage[];/**- * 额外使用积分余额。单位按 grok.com 页面为美元;0 / 缺失不要当「免费额度」展示。+ * 额外使用点数余额。单位按 grok.com 页面为美元;0 / 缺失不要当「免费额度」展示。*/prepaidBalance?: number | null;source?: 'cli-billing' | string | null;