diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 49254e29..58cdd6b2 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -452,7 +452,7 @@ export const providerPresets: ProviderPreset[] = [ { name: "RightCode", websiteUrl: "https://www.right.codes", - apiKeyUrl: "https://www.right.codes/register?aff=0bdf9bfa", + apiKeyUrl: "https://www.right.codes/register?aff=CCSWITCH", settingsConfig: { env: { ANTHROPIC_BASE_URL: "https://www.right.codes/claude", @@ -460,6 +460,8 @@ export const providerPresets: ProviderPreset[] = [ }, }, category: "third_party", + isPartner: true, + partnerPromotionKey: "rightcode", icon: "rc", iconColor: "#E96B2C", }, diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index 6622a2cf..6e46dd03 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -195,7 +195,7 @@ requires_openai_auth = true`, { name: "RightCode", websiteUrl: "https://www.right.codes", - apiKeyUrl: "https://www.right.codes/register?aff=0bdf9bfa", + apiKeyUrl: "https://www.right.codes/register?aff=CCSWITCH", auth: generateThirdPartyAuth(""), config: generateThirdPartyConfig( "rightcode", @@ -203,6 +203,8 @@ requires_openai_auth = true`, "gpt-5.2", ), category: "third_party", + isPartner: true, + partnerPromotionKey: "rightcode", icon: "rc", iconColor: "#E96B2C", }, diff --git a/src/config/opencodeProviderPresets.ts b/src/config/opencodeProviderPresets.ts index 99cb08be..1f4d4daa 100644 --- a/src/config/opencodeProviderPresets.ts +++ b/src/config/opencodeProviderPresets.ts @@ -649,7 +649,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ { name: "RightCode", websiteUrl: "https://www.right.codes", - apiKeyUrl: "https://www.right.codes/register?aff=0bdf9bfa", + apiKeyUrl: "https://www.right.codes/register?aff=CCSWITCH", settingsConfig: { npm: "@ai-sdk/openai", name: "RightCode", @@ -663,6 +663,8 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, }, category: "third_party", + isPartner: true, + partnerPromotionKey: "rightcode", icon: "rc", iconColor: "#E96B2C", templateValues: { diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 63568863..9a035541 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -393,7 +393,8 @@ "minimax_en": "MiniMax Coding Plan Black Friday, Starter is now $2/mo (80% OFF!)", "dmxapi": "Claude Code exclusive model 66% OFF now!", "cubence": "Cubence is an official partner of CC Switch. Register using this link and enter \"CCSWITCH\" promo code during recharge to get 10% off every top-up", - "aigocode": "AIGoCode is an official partner of CC Switch. Register using this link and get 10% bonus credit on your first top-up!" + "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!" }, "parameterConfig": "Parameter Config - {{name}} *", "mainModel": "Main Model (optional)", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 29172b74..80f2bd6f 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -393,7 +393,8 @@ "minimax_en": "MiniMax Coding Plan Black Friday、Starter が月額 $2(80% OFF)", "dmxapi": "Claude Code 専用モデル 66% OFF 実施中!", "cubence": "Cubence は CC Switch の公式パートナーです。登録後チャージ時に \"CCSWITCH\" を入力すると、毎回 10% オフ", - "aigocode": "AIGoCode は CC Switch の公式パートナーです。このリンクから登録すると、初回チャージ時に 10% のボーナスクレジットがもらえます!" + "aigocode": "AIGoCode は CC Switch の公式パートナーです。このリンクから登録すると、初回チャージ時に 10% のボーナスクレジットがもらえます!", + "rightcode": "RightCode は CC Switch の公式パートナーです。このリンクから登録すると、毎回のチャージに 5% のボーナスクレジットがもらえます!" }, "parameterConfig": "パラメーター設定 - {{name}} *", "mainModel": "メインモデル(任意)", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 8c9bb049..dcd6659a 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -393,7 +393,8 @@ "minimax_en": "MiniMax Coding Plan 黑五特惠,Starter 套餐现仅 $2/月(2折优惠!)", "dmxapi": "Claude Code 专属模型 3.4 折优惠进行中!", "cubence": "Cubence 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"CCSWITCH\" 优惠码,每次充值均可享受9折优惠", - "aigocode": "AIGoCode 是 CC Switch 的官方合作伙伴,使用此链接注册首次充值时可以获得10%额度奖励!" + "aigocode": "AIGoCode 是 CC Switch 的官方合作伙伴,使用此链接注册首次充值时可以获得10%额度奖励!", + "rightcode": "RightCode 是 CC Switch 的官方合作伙伴,使用此链接注册每次充值均可赠送5%额外额度!" }, "parameterConfig": "参数配置 - {{name}} *", "mainModel": "主模型 (可选)",