From 34698723e3b6fa911ecce8502779015c37eb392a Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 8 May 2026 15:29:54 +0800 Subject: [PATCH] fix(claude-desktop): remove proxy-stopped status alert The route toggle in the top-right corner already communicates proxy state; the extra warning banner was redundant and inconsistent with other managed apps. --- src/components/providers/ProviderList.tsx | 11 ----------- src/i18n/locales/en.json | 1 - src/i18n/locales/ja.json | 1 - src/i18n/locales/zh.json | 1 - 4 files changed, 14 deletions(-) diff --git a/src/components/providers/ProviderList.tsx b/src/components/providers/ProviderList.tsx index a24a4cc66..43e30d953 100644 --- a/src/components/providers/ProviderList.tsx +++ b/src/components/providers/ProviderList.tsx @@ -343,17 +343,6 @@ export function ProviderList({ }), ); } - if ( - claudeDesktopStatus.mode === "proxy" && - !claudeDesktopStatus.proxyRunning - ) { - messages.push( - t("claudeDesktop.statusProxyStopped", { - defaultValue: - "当前供应商需要 CC Switch 本地路由,但本地路由未运行;开启右上角路由开关后再重启 Claude Desktop。", - }), - ); - } if ( claudeDesktopStatus.mode === "proxy" && !claudeDesktopStatus.gatewayTokenConfigured diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 7e19442c1..396aac0a2 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -200,7 +200,6 @@ "statusUnsupported": "This platform does not support writing Claude Desktop 3P configuration yet.", "statusStaleRawModels": "The Claude Desktop profile contains non-claude-* model IDs. Newer Claude Desktop versions may reject it; switch to the current provider again to repair it.", "statusMissingRouteMappings": "The current provider has model mapping enabled but no valid routes. Edit the provider and add at least one mapping.", - "statusProxyStopped": "The current provider needs CC Switch local routing, but local routing is not running. Turn on the route switch in the top-right, then restart Claude Desktop.", "statusGatewayTokenMissing": "The local routing token has not been generated yet. Switching to this provider again will write a new local token.", "statusBaseUrlMismatch": "The Claude Desktop profile points to a different URL than the current provider. Current: {{actual}}; expected: {{expected}}. Switch to the current provider again to repair it.", "route": { diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 528e9ad1e..e8e93b69e 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -200,7 +200,6 @@ "statusUnsupported": "このプラットフォームでは Claude Desktop 3P 設定の書き込みはまだサポートされていません。", "statusStaleRawModels": "Claude Desktop profile に claude-* ではないモデル ID が含まれています。新しい Claude Desktop では拒否される可能性があります。現在のプロバイダーへ再度切り替えると修復できます。", "statusMissingRouteMappings": "現在のプロバイダーはモデルマッピングを有効にしていますが、有効なルートがありません。プロバイダーを編集し、少なくとも 1 つのマッピングを追加してください。", - "statusProxyStopped": "現在のプロバイダーには CC Switch のローカルルーティングが必要ですが、起動していません。右上のルートスイッチをオンにしてから Claude Desktop を再起動してください。", "statusGatewayTokenMissing": "ローカルルーティング token がまだ生成されていません。このプロバイダーへ再度切り替えると新しい token が書き込まれます。", "statusBaseUrlMismatch": "Claude Desktop profile の URL が現在のプロバイダーと一致しません。現在: {{actual}}、期待値: {{expected}}。現在のプロバイダーへ再度切り替えると修復できます。", "route": { diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 86d48fe9d..638ff59e8 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -200,7 +200,6 @@ "statusUnsupported": "当前平台暂不支持 Claude Desktop 3P 配置写入。", "statusStaleRawModels": "Claude Desktop profile 中存在非 claude-* 模型名,新版 Claude Desktop 可能拒绝加载;重新切换当前供应商可修复。", "statusMissingRouteMappings": "当前供应商启用了模型映射,但没有有效路由;请编辑供应商并补全至少一个模型映射。", - "statusProxyStopped": "当前供应商需要 CC Switch 本地路由,但本地路由未运行;开启右上角路由开关后再重启 Claude Desktop。", "statusGatewayTokenMissing": "当前本地路由 token 尚未生成;重新切换该供应商会写入新的本地 token。", "statusBaseUrlMismatch": "Claude Desktop profile 指向的地址与当前供应商不一致;当前为 {{actual}},应为 {{expected}}。重新切换当前供应商可修复。", "route": {