diff --git a/src/config/claudeDesktopProviderPresets.ts b/src/config/claudeDesktopProviderPresets.ts index b3490f101..d5dbff51a 100644 --- a/src/config/claudeDesktopProviderPresets.ts +++ b/src/config/claudeDesktopProviderPresets.ts @@ -767,14 +767,17 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ }, { name: "SudoCode", - websiteUrl: "https://sudocode.us", - apiKeyUrl: "https://sudocode.us", + websiteUrl: "https://sudocode.chat", + apiKeyUrl: + "https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner", category: "third_party", - baseUrl: "https://sudocode.us", + baseUrl: "https://api.sudocode.chat", mode: "direct", apiFormat: "anthropic", modelRoutes: passthroughRoutes(), - endpointCandidates: ["https://sudocode.us", "https://sudocode.run"], + endpointCandidates: ["https://api.sudocode.chat"], + isPartner: true, + partnerPromotionKey: "sudocode", icon: "sudocode", }, { diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 4043495f0..837fbb10f 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -838,17 +838,20 @@ export const providerPresets: ProviderPreset[] = [ }, { name: "SudoCode", - websiteUrl: "https://sudocode.us", - apiKeyUrl: "https://sudocode.us", + websiteUrl: "https://sudocode.chat", + apiKeyUrl: + "https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner", settingsConfig: { env: { - ANTHROPIC_BASE_URL: "https://sudocode.us", + ANTHROPIC_BASE_URL: "https://api.sudocode.chat", ANTHROPIC_AUTH_TOKEN: "", API_TIMEOUT_MS: "300000", }, }, - endpointCandidates: ["https://sudocode.us", "https://sudocode.run"], + endpointCandidates: ["https://api.sudocode.chat"], category: "third_party", + isPartner: true, + partnerPromotionKey: "sudocode", icon: "sudocode", }, { diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index f116353ce..c498a821b 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -1197,24 +1197,26 @@ requires_openai_auth = true`, }, { name: "SudoCode", - websiteUrl: "https://sudocode.us", - apiKeyUrl: "https://sudocode.us", + websiteUrl: "https://sudocode.chat", + apiKeyUrl: + "https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner", category: "third_party", auth: generateThirdPartyAuth(""), config: `model_provider = "custom" -model = "gpt-5.5" -review_model = "gpt-5.5" +model = "gpt-5.6-sol" +review_model = "gpt-5.6-sol" model_reasoning_effort = "high" disable_response_storage = true -model_verbosity = "high" [model_providers.custom] -name = "sudocode" -base_url = "https://sudocode.us/v1" +name = "SudoCode" +base_url = "https://api.sudocode.chat/v1" wire_api = "responses" requires_openai_auth = true`, - endpointCandidates: ["https://sudocode.us/v1", "https://sudocode.run/v1"], + endpointCandidates: ["https://api.sudocode.chat/v1"], apiFormat: "openai_responses", + isPartner: true, + partnerPromotionKey: "sudocode", icon: "sudocode", }, { diff --git a/src/config/geminiProviderPresets.ts b/src/config/geminiProviderPresets.ts index d8f4fcb6c..ce580260f 100644 --- a/src/config/geminiProviderPresets.ts +++ b/src/config/geminiProviderPresets.ts @@ -210,24 +210,6 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [ endpointCandidates: ["https://apinebula.com"], icon: "apinebula", }, - { - name: "SudoCode", - websiteUrl: "https://sudocode.us", - apiKeyUrl: "https://sudocode.us", - settingsConfig: { - env: { - GOOGLE_GEMINI_BASE_URL: "https://sudocode.us", - GEMINI_API_KEY: "", - GEMINI_MODEL: "gemini-3.1-flash-lite", - }, - }, - baseURL: "https://sudocode.us", - model: "gemini-3.1-flash-lite", - description: "SudoCode", - category: "third_party", - endpointCandidates: ["https://sudocode.us", "https://sudocode.run"], - icon: "sudocode", - }, { name: "Cubence", websiteUrl: "https://cubence.com", diff --git a/src/config/hermesProviderPresets.ts b/src/config/hermesProviderPresets.ts index 182fbaa93..ce1689b48 100644 --- a/src/config/hermesProviderPresets.ts +++ b/src/config/hermesProviderPresets.ts @@ -1061,24 +1061,27 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ }, { name: "SudoCode", - websiteUrl: "https://sudocode.us", - apiKeyUrl: "https://sudocode.us", + websiteUrl: "https://sudocode.chat", + apiKeyUrl: + "https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner", settingsConfig: { name: "sudocode", - base_url: "https://sudocode.us/v1", + base_url: "https://api.sudocode.chat/v1", api_key: "", api_mode: "codex_responses", models: [ { - id: "gpt-5.5", - name: "GPT-5.5", + id: "gpt-5.6-sol", + name: "GPT-5.6 Sol", }, ], }, category: "third_party", + isPartner: true, + partnerPromotionKey: "sudocode", icon: "sudocode", suggestedDefaults: { - model: { default: "gpt-5.5", provider: "sudocode" }, + model: { default: "gpt-5.6-sol", provider: "sudocode" }, }, }, { diff --git a/src/config/openclawProviderPresets.ts b/src/config/openclawProviderPresets.ts index bcca861c5..96c46492e 100644 --- a/src/config/openclawProviderPresets.ts +++ b/src/config/openclawProviderPresets.ts @@ -1947,20 +1947,23 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ }, { name: "SudoCode", - websiteUrl: "https://sudocode.us", - apiKeyUrl: "https://sudocode.us", + websiteUrl: "https://sudocode.chat", + apiKeyUrl: + "https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner", settingsConfig: { - baseUrl: "https://sudocode.us/v1", + baseUrl: "https://api.sudocode.chat/v1", apiKey: "", api: "openai-responses", models: [ { - id: "gpt-5.5", - name: "GPT-5.5", + id: "gpt-5.6-sol", + name: "GPT-5.6 Sol", }, ], }, category: "third_party", + isPartner: true, + partnerPromotionKey: "sudocode", icon: "sudocode", templateValues: { apiKey: { @@ -1971,7 +1974,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ }, suggestedDefaults: { model: { - primary: "sudocode/gpt-5.5", + primary: "sudocode/gpt-5.6-sol", }, }, }, diff --git a/src/config/opencodeProviderPresets.ts b/src/config/opencodeProviderPresets.ts index bcfe77f8a..fea50e117 100644 --- a/src/config/opencodeProviderPresets.ts +++ b/src/config/opencodeProviderPresets.ts @@ -1620,21 +1620,24 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, { name: "SudoCode", - websiteUrl: "https://sudocode.us", - apiKeyUrl: "https://sudocode.us", + websiteUrl: "https://sudocode.chat", + apiKeyUrl: + "https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner", settingsConfig: { npm: "@ai-sdk/openai", name: "SudoCode", options: { - baseURL: "https://sudocode.us/v1", + baseURL: "https://api.sudocode.chat/v1", apiKey: "", setCacheKey: true, }, models: { - "gpt-5.5": { name: "GPT-5.5" }, + "gpt-5.6-sol": { name: "GPT-5.6 Sol" }, }, }, category: "third_party", + isPartner: true, + partnerPromotionKey: "sudocode", icon: "sudocode", templateValues: { apiKey: { diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 47ed23a76..8ddcb7d08 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -1005,6 +1005,7 @@ "officialHint": "💡 Official provider uses browser login, no API Key needed", "getApiKey": "Get API Key", "partnerPromotion": { + "sudocode": "With one SudoCode key, Claude Code and Claude Desktop use Claude Opus 4.8, while Codex uses GPT-5.6. Sign up, join QQ group 726213516, and contact the group owner to claim CNY ¥10 in trial credit.", "code0": "code0.ai is an AI coding service platform for developers, supporting Claude Code, Codex, and Gemini. Exclusive for CC Switch users: contact support via the official website to claim free trial credits!", "nekocode": "NekoCode gives developers a stable, efficient, and reliable API relay for Claude, Codex, and other AI models, with transparent pay-as-you-go pricing. Exclusive 10% off for CC Switch users: register via the link above and enter promo code cc-switch at recharge to save 10%!", "packycode": "PackyCode is an official partner of CC Switch. Register using this link and enter \"cc-switch\" promo code during recharge to get 10% off", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index eec5d2f27..5e5494663 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -1005,6 +1005,7 @@ "officialHint": "💡 公式プロバイダーはブラウザログインで、API Key は不要です", "getApiKey": "API Key を取得", "partnerPromotion": { + "sudocode": "SudoCode の1つのキーで、Claude Code と Claude Desktop では Claude Opus 4.8、Codex では GPT-5.6 を利用できます。登録後 QQ グループ 726213516 に参加し、管理者へ連絡すると CNY ¥10 のトライアルクレジットを受け取れます。", "code0": "code0.ai は開発者向けの AI コーディングサービスプラットフォームで、Claude Code、Codex、Gemini に対応。CC Switch ユーザー限定特典:公式サイトからサポートに連絡してテストクレジットを受け取れます!", "nekocode": "NekoCode は Claude や Codex などの AI モデルに対応した、安定・高効率で信頼性の高い API 中継サービスを提供します。明瞭な従量課金制。CC Switch ユーザー限定 10%オフ:上のリンクから登録し、チャージ時にクーポンコード cc-switch を入力すると 10%オフ!", "packycode": "PackyCode は CC Switch の公式パートナーです。登録後チャージ時に \"cc-switch\" を入力すると 10% オフ", diff --git a/src/i18n/locales/zh-TW.json b/src/i18n/locales/zh-TW.json index cd9a962ab..513f40e9b 100644 --- a/src/i18n/locales/zh-TW.json +++ b/src/i18n/locales/zh-TW.json @@ -976,6 +976,7 @@ "officialHint": "官方供應商使用瀏覽器登入,無需設定 API Key", "getApiKey": "取得 API Key", "partnerPromotion": { + "sudocode": "SudoCode 讓 Claude Code 與 Claude Desktop 使用 Claude Opus 4.8,Codex 使用 GPT-5.6,一個 Key 統一管理。CC Switch 使用者註冊並加入 QQ 群 726213516,聯絡群主領取人民幣 ¥10 試用額度。", "code0": "code0.ai 是面向開發者的 AI 程式設計服務平台,支援 Claude Code、Codex、Gemini。CC Switch 使用者專屬福利:透過官網聯繫客服即可領取測試額度!", "nekocode": "NekoCode 為開發者提供穩定、高效、可靠的 Claude、Codex 等 AI 模型 API 中轉服務,價格透明、按量計費。CC Switch 使用者專享 9 折:透過上方連結註冊,儲值時輸入優惠碼 cc-switch 即享 9 折優惠!", "packycode": "PackyCode 是 CC Switch 的官方合作夥伴,使用此連結註冊並在儲值時填寫「cc-switch」優惠碼,可以享受 9 折優惠", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 5feb77c71..0398e58dc 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -1005,6 +1005,7 @@ "officialHint": "💡 官方供应商使用浏览器登录,无需配置 API Key", "getApiKey": "获取 API Key", "partnerPromotion": { + "sudocode": "SudoCode 让 Claude Code 与 Claude Desktop 接入 Claude Opus 4.8,Codex 接入 GPT-5.6,一个 Key 统一使用。CC Switch 用户注册并加入 QQ 群 726213516,联系群主领取 ¥10 试用额度。", "code0": "code0.ai 是面向开发者的 AI 编程服务平台,支持 Claude Code、Codex、Gemini。CC Switch 用户专属福利:通过官网联系客服即可领取测试额度!", "nekocode": "NekoCode 为开发者提供稳定、高效、可靠的 Claude、Codex 等 AI 模型 API 中转服务,价格透明、按量计费。CC Switch 用户专享 9 折:通过上方链接注册,充值时输入优惠码 cc-switch 即享 9 折优惠!", "packycode": "PackyCode 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"cc-switch\" 优惠码,可以享受9折优惠", diff --git a/src/icons/extracted/sudocode.png b/src/icons/extracted/sudocode.png index cee5fe5c0..5225e521c 100644 Binary files a/src/icons/extracted/sudocode.png and b/src/icons/extracted/sudocode.png differ