mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-30 02:14:43 +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:
@@ -196,19 +196,16 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
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",
|
||||
category: "third_party",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"packycode",
|
||||
"https://www.packyapi.com/v1",
|
||||
"https://www.packyapi.ai/v1",
|
||||
"gpt-5.5",
|
||||
),
|
||||
endpointCandidates: [
|
||||
"https://www.packyapi.com/v1",
|
||||
"https://api-slb.packyapi.com/v1",
|
||||
],
|
||||
endpointCandidates: ["https://www.packyapi.ai/v1"],
|
||||
isPartner: true, // 合作伙伴
|
||||
partnerPromotionKey: "packycode", // 促销信息 i18n key
|
||||
icon: "packycode",
|
||||
@@ -231,8 +228,8 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "APINebula",
|
||||
websiteUrl: "https://apinebula.com",
|
||||
apiKeyUrl: "https://apinebula.com/VjM74M",
|
||||
websiteUrl: "https://apinebula.ai",
|
||||
apiKeyUrl: "https://apinebula.ai/VjM74M",
|
||||
category: "third_party",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: `model_provider = "custom"
|
||||
@@ -243,10 +240,10 @@ disable_response_storage = true
|
||||
|
||||
[model_providers.custom]
|
||||
name = "APINebula"
|
||||
base_url = "https://apinebula.com/v1"
|
||||
base_url = "https://apinebula.ai/v1"
|
||||
wire_api = "responses"
|
||||
requires_openai_auth = true`,
|
||||
endpointCandidates: ["https://apinebula.com/v1"],
|
||||
endpointCandidates: ["https://apinebula.ai/v1"],
|
||||
apiFormat: "openai_responses",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "apinebula",
|
||||
@@ -744,12 +741,12 @@ requires_openai_auth = true`,
|
||||
},
|
||||
{
|
||||
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",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"rightcode",
|
||||
"https://right.codes/codex/v1",
|
||||
"https://www.rightapi.ai/codex/v1",
|
||||
"gpt-5.5",
|
||||
),
|
||||
category: "third_party",
|
||||
@@ -851,7 +848,7 @@ requires_openai_auth = true`,
|
||||
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",
|
||||
category: "third_party",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: `model_provider = "custom"
|
||||
|
||||
Reference in New Issue
Block a user