mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-28 00:35:32 +08:00
chore(presets): refresh sponsor domains and referral links
- PackyCode: packyapi.com -> www.packyapi.ai across all 8 app presets; drop the api-slb.packyapi.com endpoint candidate - RightCode: right.codes -> www.rightapi.ai across 7 app presets, keeping the /claude and /codex/v1 path split and adding the www prefix that the Codex-side endpoints were missing - ClaudeAPI: site -> www.apito.ai, referral -> console.apito.ai/agent/..., endpoint -> gw.apito.ai (Claude Code and Claude Desktop only) - APINebula: apinebula.com -> apinebula.ai across all 8 app presets, including the endpoint inside the Codex config.toml template - SudoCode.chat: referral link only, /register -> /sign-up with new aff and utm parameters (7 app presets); SudoCode.us is a different company and is untouched READMEs (en/zh/ja/de) carry the same URL updates. Brand names, icons, i18n promo keys and README copy are deliberately unchanged.
This commit is contained in:
@@ -359,13 +359,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
|
||||
{
|
||||
name: "PackyCode",
|
||||
websiteUrl: "https://www.packyapi.com",
|
||||
apiKeyUrl: "https://www.packyapi.com/register?aff=cc-switch",
|
||||
websiteUrl: "https://www.packyapi.ai",
|
||||
apiKeyUrl: "https://www.packyapi.ai/register?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
name: "PackyCode",
|
||||
options: {
|
||||
baseURL: "https://www.packyapi.com/v1",
|
||||
baseURL: "https://www.packyapi.ai/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
@@ -416,13 +416,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "APINebula",
|
||||
websiteUrl: "https://apinebula.com",
|
||||
apiKeyUrl: "https://apinebula.com/VjM74M",
|
||||
websiteUrl: "https://apinebula.ai",
|
||||
apiKeyUrl: "https://apinebula.ai/VjM74M",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "APINebula",
|
||||
options: {
|
||||
baseURL: "https://apinebula.com/v1",
|
||||
baseURL: "https://apinebula.ai/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
@@ -1039,13 +1039,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "RightCode",
|
||||
websiteUrl: "https://www.right.codes",
|
||||
apiKeyUrl: "https://www.right.codes/register?aff=CCSWITCH",
|
||||
websiteUrl: "https://www.rightapi.ai",
|
||||
apiKeyUrl: "https://www.rightapi.ai/register?aff=CCSWITCH",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai",
|
||||
name: "RightCode",
|
||||
options: {
|
||||
baseURL: "https://right.codes/codex/v1",
|
||||
baseURL: "https://www.rightapi.ai/codex/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
@@ -1217,7 +1217,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
name: "SudoCode.chat",
|
||||
websiteUrl: "https://sudocode.chat",
|
||||
apiKeyUrl:
|
||||
"https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner",
|
||||
"https://sudocode.chat/sign-up?aff=CC-SWITCH&utm_source=cc-switch&utm_medium=sponsor&utm_campaign=ccswitch",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai",
|
||||
name: "SudoCode.chat",
|
||||
|
||||
Reference in New Issue
Block a user