mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-04 11:43:57 +08:00
feat(presets): add NekoCode partner preset for 6 apps
Partner aggregator (New API gateway) across Claude Code, Claude Desktop, Codex, OpenCode, OpenClaw, and Hermes -- no Gemini, since its /v1beta surface falls through to the web app. Claude Code and Claude Desktop use the bare host https://nekocode.ai; Codex, OpenCode, OpenClaw, and Hermes use /v1 with gpt-5.5. Marks isPartner with the ?aff=CCSWITCH referral on apiKeyUrl only (the website URL and every API endpoint stay bare, so the attribution param never rides on a real request). Adds the partnerPromotion blurb in all four locales and a sponsor row appended to the end of all four READMEs, surfacing the CC Switch offer: 10% off top-ups with promo code cc-switch. Registers the logo-derived nekocode-icon.png via URL import; the README banner is normalized to the standard 1920x798 aspect ratio.
This commit is contained in:
@@ -376,6 +376,22 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
partnerPromotionKey: "code0",
|
||||
icon: "code0",
|
||||
},
|
||||
{
|
||||
name: "NekoCode",
|
||||
websiteUrl: "https://nekocode.ai",
|
||||
apiKeyUrl: "https://nekocode.ai?aff=CCSWITCH",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"nekocode",
|
||||
"https://nekocode.ai/v1",
|
||||
"gpt-5.5",
|
||||
),
|
||||
endpointCandidates: ["https://nekocode.ai/v1"],
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "nekocode",
|
||||
icon: "nekocode",
|
||||
},
|
||||
{
|
||||
name: "Azure OpenAI",
|
||||
websiteUrl:
|
||||
|
||||
Reference in New Issue
Block a user