mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-26 07:50:52 +08:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user