From 876e9f898d874eeead75ada823940b2d7ac3598c Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 26 Jul 2026 10:18:57 +0800 Subject: [PATCH] feat(presets): restore AICoding partner across seven app types Bring back the AICoding (aicoding.sh) provider preset that was dropped in 910ca3b4, covering claude, claudeDesktop, codex, gemini, hermes, opencode and openclaw, along with the partnerPromotion.aicoding string in zh/en/ja and the sponsor entry in the three READMEs. Model ids follow the current baseline rather than the pre-removal values: gpt-5.5 for Codex, gemini-3.5-flash for Gemini, and claude-opus-4-8 / claude-sonnet-5 for the Anthropic-relay presets. OpenClaw costs use standard list pricing, consistent with its peers. The icon, the logo asset, the zh-TW string and the legacy id in codex_history_migration.rs were never removed and are reused as-is. --- README.md | 9 ++- README_JA.md | 9 ++- README_ZH.md | 9 ++- src/config/claudeDesktopProviderPresets.ts | 45 ++++++++----- src/config/claudeProviderPresets.ts | 43 +++++++++---- src/config/codexProviderPresets.ts | 36 ++++++++--- src/config/geminiProviderPresets.ts | 44 +++++++++---- src/config/grokBuildProviderPresets.ts | 26 ++++---- src/config/hermesProviderPresets.ts | 48 ++++++++++---- src/config/openclawProviderPresets.ts | 74 ++++++++++++++++++---- src/config/opencodeProviderPresets.ts | 52 +++++++++++---- src/i18n/locales/en.json | 1 + src/i18n/locales/ja.json | 1 + src/i18n/locales/zh.json | 1 + 14 files changed, 292 insertions(+), 106 deletions(-) diff --git a/README.md b/README.md index 2a4e59bfa..abfd58510 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ Register now via this lin -Shengsuanyun -Thanks to Shengsuanyun for sponsoring this project! Shengsuanyun is a super factory serving AI Native Teams — an industrial-grade AI task parallel execution platform. Its model marketplace aggregates Claude, ChatGPT, Gemini, and other domestic and international LLM and multimedia model capabilities with direct supply. Absolutely no reverse engineering or dilution — platform-wide model SLA availability reaches 99.7%, with monitoring dashboards showing green across the board. It also offers enterprise-grade custom gateways for fine-grained team cost and permission management, smart routing, security protection, and BYOK (Bring Your Own Key) hosting. The platform charges on a pay-per-use and tokens plan (coming soon) basis, with invoicing available. Register via this link as a new user to receive ¥10 in credits plus a 10% bonus on your first top-up. +AICoding +Thanks to AICoding.sh for sponsoring this project! AICoding.sh — Global AI Model API Relay Service at Unbeatable Prices! Claude Code at 19% of original price, GPT at just 1%! Trusted by hundreds of enterprises for cost-effective AI services. Supports Claude Code, GPT, Gemini and major domestic models, with enterprise-grade high concurrency, fast invoicing, and 24/7 dedicated technical support. CC Switch users who register via this link get 10% off their first top-up! @@ -87,6 +87,11 @@ Register now via this lin Thanks to AIGoCode for sponsoring this project! AIGoCode is an all-in-one platform that integrates Claude Code, Codex, and the latest Gemini models, providing you with stable, efficient, and highly cost-effective AI coding services. The platform offers flexible subscription plans, zero risk of account suspension, direct access with no VPN required, and lightning-fast responses. AIGoCode has prepared a special benefit for CC Switch users: if you register via this link, you'll receive an extra 10% bonus credit on your first top-up! + +Shengsuanyun +Thanks to Shengsuanyun for sponsoring this project! Shengsuanyun is a super factory serving AI Native Teams — an industrial-grade AI task parallel execution platform. Its model marketplace aggregates Claude, ChatGPT, Gemini, and other domestic and international LLM and multimedia model capabilities with direct supply. Absolutely no reverse engineering or dilution — platform-wide model SLA availability reaches 99.7%, with monitoring dashboards showing green across the board. It also offers enterprise-grade custom gateways for fine-grained team cost and permission management, smart routing, security protection, and BYOK (Bring Your Own Key) hosting. The platform charges on a pay-per-use and tokens plan (coming soon) basis, with invoicing available. Register via this link as a new user to receive ¥10 in credits plus a 10% bonus on your first top-up. + + SubRouter Thanks to SubRouter for sponsoring this project! SubRouter is a marketplace and smart routing platform for AI service operators. Merchants can launch operating sites, publish packages, manage users, models, and pricing, while users discover services and access reliable AI models through one unified API. Register via this link! diff --git a/README_JA.md b/README_JA.md index 7917dd2db..11b93e8de 100644 --- a/README_JA.md +++ b/README_JA.md @@ -78,8 +78,8 @@ Claude Code / Codex / Gemini 公式チャンネルが最安で元価格の 38% / -Shengsuanyun -胜算雲(Shengsuanyun)のご支援に感謝します!胜算雲は AI ネイティブチーム向けのスーパーファクトリーであり、産業グレードの AI タスク並列実行プラットフォームです。モデルマーケットプレイスでは Claude、ChatGPT、Gemini をはじめとする国内外の LLM およびマルチメディアモデルの計算リソースを集約・直接提供。リバースエンジニアリングや品質低下は一切なく、プラットフォーム全体のモデル SLA 可用性は 99.7% に達し、監視ダッシュボードは常時グリーン表示です。さらにエンタープライズ向けカスタムゲートウェイを提供し、チームのきめ細かなコスト・権限管理、スマートルーティング、セキュリティ保護、BYOK(自社キー持ち込み)ホスティングを実現します。従量課金およびトークンプラン(近日公開)対応で、請求書発行にも対応。このリンクから新規登録すると 10 元分のクレジットと初回チャージ 10% ボーナスが付与されます。 +AICoding +AICoding.sh のご支援に感謝します!AICoding.sh —— グローバル AI モデル API 超お得な中継サービス!Claude Code 81% オフ、GPT 99% オフ!数百社の企業に高コストパフォーマンスの AI サービスを提供。Claude Code、GPT、Gemini および国内主要モデルに対応、エンタープライズ級の高同時接続、迅速な請求書発行、24 時間年中無休の専属テクニカルサポート。こちらのリンクから登録した CC Switch ユーザーは、初回チャージ 10% オフ! @@ -87,6 +87,11 @@ Claude Code / Codex / Gemini 公式チャンネルが最安で元価格の 38% / 本プロジェクトは AIGoCode のスポンサー提供でお届けしています。AIGoCode は、Claude Code・Codex・最新の Gemini モデルを統合したオールインワンのAIコーディングプラットフォームで、安定性・高速性・コストパフォーマンスに優れた開発サービスを提供します。柔軟なサブスクリプションプランを備え、レスポンスも非常に高速です。さらに、CC Switch ユーザー向けの特典として、このリンクから登録すると、初回チャージ時に10%分のボーナスクレジットが付与されます! + +Shengsuanyun +胜算雲(Shengsuanyun)のご支援に感謝します!胜算雲は AI ネイティブチーム向けのスーパーファクトリーであり、産業グレードの AI タスク並列実行プラットフォームです。モデルマーケットプレイスでは Claude、ChatGPT、Gemini をはじめとする国内外の LLM およびマルチメディアモデルの計算リソースを集約・直接提供。リバースエンジニアリングや品質低下は一切なく、プラットフォーム全体のモデル SLA 可用性は 99.7% に達し、監視ダッシュボードは常時グリーン表示です。さらにエンタープライズ向けカスタムゲートウェイを提供し、チームのきめ細かなコスト・権限管理、スマートルーティング、セキュリティ保護、BYOK(自社キー持ち込み)ホスティングを実現します。従量課金およびトークンプラン(近日公開)対応で、請求書発行にも対応。このリンクから新規登録すると 10 元分のクレジットと初回チャージ 10% ボーナスが付与されます。 + + SubRouter 本プロジェクトをご支援いただいている SubRouter に感謝します!SubRouter は、AI サービス事業者向けのマーケットプレイス兼スマートルーティングプラットフォームです。事業者は独立した運営サイトを立ち上げ、プランを公開し、ユーザー・モデル・価格を管理でき、ユーザーはマーケットでサービスを見つけ、統一された API を通じて安定かつ高効率なモデル呼び出しを利用できます。こちらのリンクから登録してください! diff --git a/README_ZH.md b/README_ZH.md index c05118482..0cab6ce7b 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -78,8 +78,8 @@ Claude Code / Codex / Gemini 官方渠道低至 3.8 / 0.2 / 0.9 折,充值更 -Shengsuanyun -感谢胜算云赞助了本项目!胜算云是专为AI Native Teams服务的超级工厂,工业级AI任务并行执行平台,模型商城集采直供聚合接入了Claude、Chatgpt、Gemini等海内外LLM及图片视频多媒体模型算力,绝无逆向掺水、全站模型SLA可用性高达99.7%、监测接口日常全绿。更有企业级专属定制网关,实现团队精细化成本与权限管控,智能路由+安全防护+BYOK企业自带密钥托管。平台按量及tokens plan(即将上线)计费,可开票,使用此链接注册新用户可获10元模力及首充10%赠送。 +AICoding +感谢 AICoding.sh 赞助了本项目!AICoding.sh —— 全球大模型 API 超值中转服务!Claude Code 1.9 折,GPT 0.1 折,已为数百家企业提供高性价比 AI 服务。支持 Claude Code、GPT、Gemini 及国内主流模型,企业级高并发、极速开票、7×24 专属技术支持,通过此链接 注册的 CC Switch 用户,首充可享受九折优惠! @@ -87,6 +87,11 @@ Claude Code / Codex / Gemini 官方渠道低至 3.8 / 0.2 / 0.9 折,充值更 感谢 AIGoCode 赞助了本项目!AIGoCode 是一个集成了 Claude Code、Codex 以及 Gemini 最新模型的一站式平台,为你提供稳定、高效且高性价比的AI编程服务。本站提供灵活的订阅计划,零封号风险,国内直连,无需魔法,极速响应。AIGoCode 为 CC Switch 的用户提供了特别福利,通过此链接注册的用户首次充值可以获得额外10%奖励额度! + +Shengsuanyun +感谢胜算云赞助了本项目!胜算云是专为AI Native Teams服务的超级工厂,工业级AI任务并行执行平台,模型商城集采直供聚合接入了Claude、Chatgpt、Gemini等海内外LLM及图片视频多媒体模型算力,绝无逆向掺水、全站模型SLA可用性高达99.7%、监测接口日常全绿。更有企业级专属定制网关,实现团队精细化成本与权限管控,智能路由+安全防护+BYOK企业自带密钥托管。平台按量及tokens plan(即将上线)计费,可开票,使用此链接注册新用户可获10元模力及首充10%赠送。 + + SubRouter 感谢 SubRouter 赞助本项目!SubRouter 是面向 AI 服务经营者的公开市场与智能路由平台。商家可快速开通独立经营站,发布套餐、管理用户与模型价格;用户可在市场发现服务,并通过统一 API 获得稳定高效的模型调用。通过此链接注册! diff --git a/src/config/claudeDesktopProviderPresets.ts b/src/config/claudeDesktopProviderPresets.ts index 428daeb74..305ea5f45 100644 --- a/src/config/claudeDesktopProviderPresets.ts +++ b/src/config/claudeDesktopProviderPresets.ts @@ -297,6 +297,36 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ partnerPromotionKey: "unity2", icon: "unity2", }, + { + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", + category: "third_party", + baseUrl: "https://api.aicoding.sh", + mode: "direct", + apiFormat: "anthropic", + modelRoutes: passthroughRoutes(), + endpointCandidates: ["https://api.aicoding.sh"], + isPartner: true, + partnerPromotionKey: "aicoding", + icon: "aicoding", + iconColor: "#000000", + }, + { + name: "AIGoCode", + websiteUrl: "https://aigocode.com", + apiKeyUrl: "https://aigocode.com/invite/CC-SWITCH", + category: "third_party", + baseUrl: "https://api.aigocode.com", + mode: "direct", + apiFormat: "anthropic", + modelRoutes: passthroughRoutes(), + endpointCandidates: ["https://api.aigocode.com"], + isPartner: true, + partnerPromotionKey: "aigocode", + icon: "aigocode", + iconColor: "#5B7FFF", + }, { name: "Shengsuanyun", nameKey: "providerForm.presets.shengsuanyun", @@ -315,21 +345,6 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ partnerPromotionKey: "shengsuanyun", icon: "shengsuanyun", }, - { - name: "AIGoCode", - websiteUrl: "https://aigocode.com", - apiKeyUrl: "https://aigocode.com/invite/CC-SWITCH", - category: "third_party", - baseUrl: "https://api.aigocode.com", - mode: "direct", - apiFormat: "anthropic", - modelRoutes: passthroughRoutes(), - endpointCandidates: ["https://api.aigocode.com"], - isPartner: true, - partnerPromotionKey: "aigocode", - icon: "aigocode", - iconColor: "#5B7FFF", - }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 47e140281..67721779d 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -268,24 +268,21 @@ export const providerPresets: ProviderPreset[] = [ icon: "unity2", }, { - name: "Shengsuanyun", - nameKey: "providerForm.presets.shengsuanyun", - websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", - apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", settingsConfig: { env: { - ANTHROPIC_BASE_URL: "https://router.shengsuanyun.com/api", + ANTHROPIC_BASE_URL: "https://api.aicoding.sh", ANTHROPIC_AUTH_TOKEN: "", - ANTHROPIC_MODEL: "anthropic/claude-sonnet-5", - ANTHROPIC_DEFAULT_HAIKU_MODEL: "anthropic/claude-haiku-4.5", - ANTHROPIC_DEFAULT_SONNET_MODEL: "anthropic/claude-sonnet-5", - ANTHROPIC_DEFAULT_OPUS_MODEL: "anthropic/claude-opus-4.8", }, }, - category: "aggregator", - isPartner: true, - partnerPromotionKey: "shengsuanyun", - icon: "shengsuanyun", + endpointCandidates: ["https://api.aicoding.sh"], + category: "third_party", + isPartner: true, // 合作伙伴 + partnerPromotionKey: "aicoding", // 促销信息 i18n key + icon: "aicoding", + iconColor: "#000000", }, { name: "AIGoCode", @@ -305,6 +302,26 @@ export const providerPresets: ProviderPreset[] = [ icon: "aigocode", iconColor: "#5B7FFF", }, + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + settingsConfig: { + env: { + ANTHROPIC_BASE_URL: "https://router.shengsuanyun.com/api", + ANTHROPIC_AUTH_TOKEN: "", + ANTHROPIC_MODEL: "anthropic/claude-sonnet-5", + ANTHROPIC_DEFAULT_HAIKU_MODEL: "anthropic/claude-haiku-4.5", + ANTHROPIC_DEFAULT_SONNET_MODEL: "anthropic/claude-sonnet-5", + ANTHROPIC_DEFAULT_OPUS_MODEL: "anthropic/claude-opus-4.8", + }, + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index fa77f44c8..71c03e4f0 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -336,20 +336,20 @@ requires_openai_auth = true`, icon: "unity2", }, { - name: "Shengsuanyun", - nameKey: "providerForm.presets.shengsuanyun", - websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", - apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", auth: generateThirdPartyAuth(""), config: generateThirdPartyConfig( - "shengsuanyun", - "https://router.shengsuanyun.com/api/v1", - "openai/gpt-5.5", + "aicoding", + "https://api.aicoding.sh", + "gpt-5.5", ), - category: "aggregator", + endpointCandidates: ["https://api.aicoding.sh"], isPartner: true, - partnerPromotionKey: "shengsuanyun", - icon: "shengsuanyun", + partnerPromotionKey: "aicoding", + icon: "aicoding", + iconColor: "#000000", }, { name: "AIGoCode", @@ -368,6 +368,22 @@ requires_openai_auth = true`, icon: "aigocode", iconColor: "#5B7FFF", }, + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + auth: generateThirdPartyAuth(""), + config: generateThirdPartyConfig( + "shengsuanyun", + "https://router.shengsuanyun.com/api/v1", + "openai/gpt-5.5", + ), + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/config/geminiProviderPresets.ts b/src/config/geminiProviderPresets.ts index 8eebb11a1..9279df29e 100644 --- a/src/config/geminiProviderPresets.ts +++ b/src/config/geminiProviderPresets.ts @@ -136,23 +136,24 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [ icon: "unity2", }, { - name: "Shengsuanyun", - nameKey: "providerForm.presets.shengsuanyun", - websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", - apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", settingsConfig: { env: { - GOOGLE_GEMINI_BASE_URL: "https://router.shengsuanyun.com/api", - GEMINI_MODEL: "google/gemini-3.5-flash", + GOOGLE_GEMINI_BASE_URL: "https://api.aicoding.sh", + GEMINI_MODEL: "gemini-3.5-flash", }, }, - baseURL: "https://router.shengsuanyun.com/api", - model: "google/gemini-3.5-flash", - description: "Shengsuanyun", - category: "aggregator", + baseURL: "https://api.aicoding.sh", + model: "gemini-3.5-flash", + description: "AICoding", + category: "third_party", isPartner: true, - partnerPromotionKey: "shengsuanyun", - icon: "shengsuanyun", + partnerPromotionKey: "aicoding", + endpointCandidates: ["https://api.aicoding.sh"], + icon: "aicoding", + iconColor: "#000000", }, { name: "AIGoCode", @@ -174,6 +175,25 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [ icon: "aigocode", iconColor: "#5B7FFF", }, + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + settingsConfig: { + env: { + GOOGLE_GEMINI_BASE_URL: "https://router.shengsuanyun.com/api", + GEMINI_MODEL: "google/gemini-3.5-flash", + }, + }, + baseURL: "https://router.shengsuanyun.com/api", + model: "google/gemini-3.5-flash", + description: "Shengsuanyun", + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/config/grokBuildProviderPresets.ts b/src/config/grokBuildProviderPresets.ts index ddcf3c9ca..de16a235b 100644 --- a/src/config/grokBuildProviderPresets.ts +++ b/src/config/grokBuildProviderPresets.ts @@ -184,6 +184,19 @@ export const grokBuildProviderPresets: GrokBuildProviderPreset[] = [ partnerPromotionKey: "unity2", icon: "unity2", }, + { + name: "AIGoCode", + websiteUrl: "https://aigocode.com", + apiKeyUrl: "https://aigocode.com/invite/CC-SWITCH", + auth: grokAuth(), + config: grokPresetConfig("AIGoCode", "https://api.aigocode.com"), + endpointCandidates: ["https://api.aigocode.com"], + category: "third_party", + isPartner: true, + partnerPromotionKey: "aigocode", + icon: "aigocode", + iconColor: "#5B7FFF", + }, { name: "Shengsuanyun", nameKey: "providerForm.presets.shengsuanyun", @@ -200,19 +213,6 @@ export const grokBuildProviderPresets: GrokBuildProviderPreset[] = [ partnerPromotionKey: "shengsuanyun", icon: "shengsuanyun", }, - { - name: "AIGoCode", - websiteUrl: "https://aigocode.com", - apiKeyUrl: "https://aigocode.com/invite/CC-SWITCH", - auth: grokAuth(), - config: grokPresetConfig("AIGoCode", "https://api.aigocode.com"), - endpointCandidates: ["https://api.aigocode.com"], - category: "third_party", - isPartner: true, - partnerPromotionKey: "aigocode", - icon: "aigocode", - iconColor: "#5B7FFF", - }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/config/hermesProviderPresets.ts b/src/config/hermesProviderPresets.ts index 699d13d01..912d21862 100644 --- a/src/config/hermesProviderPresets.ts +++ b/src/config/hermesProviderPresets.ts @@ -335,23 +335,27 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ }, }, { - name: "Shengsuanyun", - nameKey: "providerForm.presets.shengsuanyun", - websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", - apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", settingsConfig: { - name: "shengsuanyun", - base_url: "https://router.shengsuanyun.com/api/v1", + name: "aicoding", + base_url: "https://api.aicoding.sh", api_key: "", - api_mode: "chat_completions", - models: [{ id: "openai/gpt-5.5", name: "GPT-5.5" }], + api_mode: "anthropic_messages", + models: [ + { id: "claude-opus-4-8", name: "Claude Opus 4.8" }, + { id: "claude-sonnet-5", name: "Claude Sonnet 5" }, + { id: "claude-haiku-4-5-20251001", name: "Claude Haiku 4.5" }, + ], }, - category: "aggregator", + category: "third_party", isPartner: true, - partnerPromotionKey: "shengsuanyun", - icon: "shengsuanyun", + partnerPromotionKey: "aicoding", + icon: "aicoding", + iconColor: "#000000", suggestedDefaults: { - model: { default: "openai/gpt-5.5", provider: "shengsuanyun" }, + model: { default: "claude-opus-4-8", provider: "aicoding" }, }, }, { @@ -378,6 +382,26 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ model: { default: "claude-opus-4-8", provider: "aigocode" }, }, }, + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + settingsConfig: { + name: "shengsuanyun", + base_url: "https://router.shengsuanyun.com/api/v1", + api_key: "", + api_mode: "chat_completions", + models: [{ id: "openai/gpt-5.5", name: "GPT-5.5" }], + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + suggestedDefaults: { + model: { default: "openai/gpt-5.5", provider: "shengsuanyun" }, + }, + }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/config/openclawProviderPresets.ts b/src/config/openclawProviderPresets.ts index 4f37f7c2d..c0023e15c 100644 --- a/src/config/openclawProviderPresets.ts +++ b/src/config/openclawProviderPresets.ts @@ -467,33 +467,33 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ }, }, { - name: "Shengsuanyun", - nameKey: "providerForm.presets.shengsuanyun", - websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", - apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", settingsConfig: { - baseUrl: "https://router.shengsuanyun.com/api", + baseUrl: "https://api.aicoding.sh", apiKey: "", api: "anthropic-messages", models: [ { - id: "anthropic/claude-opus-4.8", + id: "claude-opus-4-8", name: "Claude Opus 4.8", contextWindow: 1000000, cost: { input: 5, output: 25 }, }, { - id: "anthropic/claude-sonnet-5", + id: "claude-sonnet-5", name: "Claude Sonnet 5", contextWindow: 1000000, cost: { input: 3, output: 15 }, }, ], }, - category: "aggregator", + category: "third_party", isPartner: true, - partnerPromotionKey: "shengsuanyun", - icon: "shengsuanyun", + partnerPromotionKey: "aicoding", + icon: "aicoding", + iconColor: "#000000", templateValues: { apiKey: { label: "API Key", @@ -503,12 +503,12 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ }, suggestedDefaults: { model: { - primary: "shengsuanyun/anthropic/claude-opus-4.8", - fallbacks: ["shengsuanyun/anthropic/claude-sonnet-5"], + primary: "aicoding/claude-opus-4-8", + fallbacks: ["aicoding/claude-sonnet-5"], }, modelCatalog: { - "shengsuanyun/anthropic/claude-opus-4.8": { alias: "Opus" }, - "shengsuanyun/anthropic/claude-sonnet-5": { alias: "Sonnet" }, + "aicoding/claude-opus-4-8": { alias: "Opus" }, + "aicoding/claude-sonnet-5": { alias: "Sonnet" }, }, }, }, @@ -558,6 +558,52 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ }, }, }, + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + settingsConfig: { + baseUrl: "https://router.shengsuanyun.com/api", + apiKey: "", + api: "anthropic-messages", + models: [ + { + id: "anthropic/claude-opus-4.8", + name: "Claude Opus 4.8", + contextWindow: 1000000, + cost: { input: 5, output: 25 }, + }, + { + id: "anthropic/claude-sonnet-5", + name: "Claude Sonnet 5", + contextWindow: 1000000, + cost: { input: 3, output: 15 }, + }, + ], + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + templateValues: { + apiKey: { + label: "API Key", + placeholder: "", + editorValue: "", + }, + }, + suggestedDefaults: { + model: { + primary: "shengsuanyun/anthropic/claude-opus-4.8", + fallbacks: ["shengsuanyun/anthropic/claude-sonnet-5"], + }, + modelCatalog: { + "shengsuanyun/anthropic/claude-opus-4.8": { alias: "Opus" }, + "shengsuanyun/anthropic/claude-sonnet-5": { alias: "Sonnet" }, + }, + }, + }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/config/opencodeProviderPresets.ts b/src/config/opencodeProviderPresets.ts index 719735668..2e1a4a0bd 100644 --- a/src/config/opencodeProviderPresets.ts +++ b/src/config/opencodeProviderPresets.ts @@ -560,27 +560,27 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, }, { - name: "Shengsuanyun", - nameKey: "providerForm.presets.shengsuanyun", - websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", - apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", settingsConfig: { npm: "@ai-sdk/anthropic", - name: "Shengsuanyun", + name: "AICoding", options: { - baseURL: "https://router.shengsuanyun.com/api/v1", + baseURL: "https://api.aicoding.sh", apiKey: "", setCacheKey: true, }, models: { - "anthropic/claude-opus-4.8": { name: "Claude Opus 4.8" }, - "anthropic/claude-sonnet-5": { name: "Claude Sonnet 5" }, + "claude-sonnet-5": { name: "Claude Sonnet 5" }, + "claude-opus-4-8": { name: "Claude Opus 4.8" }, }, }, - category: "aggregator", + category: "third_party", isPartner: true, - partnerPromotionKey: "shengsuanyun", - icon: "shengsuanyun", + partnerPromotionKey: "aicoding", + icon: "aicoding", + iconColor: "#000000", templateValues: { apiKey: { label: "API Key", @@ -619,6 +619,36 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, }, }, + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + settingsConfig: { + npm: "@ai-sdk/anthropic", + name: "Shengsuanyun", + options: { + baseURL: "https://router.shengsuanyun.com/api/v1", + apiKey: "", + setCacheKey: true, + }, + models: { + "anthropic/claude-opus-4.8": { name: "Claude Opus 4.8" }, + "anthropic/claude-sonnet-5": { name: "Claude Sonnet 5" }, + }, + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + templateValues: { + apiKey: { + label: "API Key", + placeholder: "", + editorValue: "", + }, + }, + }, { name: "SubRouter", websiteUrl: "https://subrouter.ai", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index d3b3c9034..de99f4afc 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -1039,6 +1039,7 @@ "aigocode": "AIGoCode is an official partner of CC Switch. Register using this link and get 10% bonus credit on your first top-up!", "rightcode": "RightCode is an official partner of CC Switch. Register using this link and get 5% bonus credit on every top-up!", "aicodemirror": "AICodeMirror is an official partner of CC Switch. Register using this link to get 20% off!", + "aicoding": "AI Coding offers an exclusive discount for CC Switch users — 10% off your first top-up!", "crazyrouter": "CrazyRouter offers an exclusive bonus for CC Switch users — 30% extra credit on your first top-up!", "sssaicode": "SSAI Code offers an exclusive bonus for CC Switch users — $10 extra credit on every top-up!", "siliconflow": "SiliconFlow is an official partner of CC Switch", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 485acc96e..90d89eee7 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -1039,6 +1039,7 @@ "aigocode": "AIGoCode は CC Switch の公式パートナーです。このリンクから登録すると、初回チャージ時に 10% のボーナスクレジットがもらえます!", "rightcode": "RightCode は CC Switch の公式パートナーです。このリンクから登録すると、毎回のチャージに 5% のボーナスクレジットがもらえます!", "aicodemirror": "AICodeMirror は CC Switch の公式パートナーです。このリンクから登録すると20%オフ!", + "aicoding": "AI Coding は CC Switch ユーザー向けに特別割引を提供しています。初回チャージが 10% オフ!", "crazyrouter": "CrazyRouter は CC Switch ユーザー向けに特別ボーナスを提供しています。初回チャージで 30% の追加クレジットがもらえます!", "sssaicode": "SSAI Code は CC Switch ユーザー向けに特別ボーナスを提供しています。チャージごとに $10 の追加クレジットがもらえます!", "siliconflow": "SiliconFlow は CC Switch の公式パートナーです", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index b9ad55789..6f7bf10ea 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -1039,6 +1039,7 @@ "aigocode": "AIGoCode 是 CC Switch 的官方合作伙伴,使用此链接注册首次充值时可以获得10%额度奖励!", "rightcode": "RightCode 是 CC Switch 的官方合作伙伴,使用此链接注册每次充值均可赠送5%额外额度!", "aicodemirror": "AICodeMirror 是 CC Switch 的官方合作伙伴,使用此链接注册可享受8折优惠!", + "aicoding": "AI Coding 为 CC Switch 的用户提供了特殊优惠,首次充值可以享受 9 折优惠!", "crazyrouter": "CrazyRouter 为 CC Switch 的用户提供了特殊优惠,首次充值赠予 30% 额外额度!", "sssaicode": "SSAI Code 为 CC Switch 的用户提供了特殊优惠,每次充值赠予额外 $10 额度!", "siliconflow": "硅基流动是 CC Switch 的官方合作伙伴",