mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-04 19:45:34 +08:00
feat(presets): add Code0.ai partner preset for 7 apps
Partner aggregator (New API gateway) across Claude Code, Claude Desktop, Codex, Gemini, OpenCode, OpenClaw, and Hermes. Claude Code, Claude Desktop, and Gemini use the bare host (gemini-3.1-pro-preview for Gemini); Codex, OpenCode, OpenClaw, and Hermes use /v1 with gpt-5.5. Marks isPartner with ?source=ccswitch attribution on apiKeyUrl only (website URL stays clean). Adds the partnerPromotion blurb in all four locales and a sponsor row in all four READMEs. Positioned after ClaudeAPI in the Claude Code and Claude Desktop lists (the two apps that carry a ClaudeAPI preset). Registers the favicon-derived code0.png icon via URL import; the README banner is normalized to the standard 1920x798 aspect ratio.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -9,6 +9,7 @@ import _byteplus from "./byteplus.png";
|
||||
import _ccsub from "./ccsub.svg?url";
|
||||
import _claudecn from "./claudecn.png";
|
||||
import _cherryin from "./cherryin.png";
|
||||
import _code0 from "./code0.png";
|
||||
import _eflowcode from "./eflowcode.png";
|
||||
import _etok from "./etok.png";
|
||||
import _fenno from "./fenno-icon.webp";
|
||||
@@ -108,6 +109,7 @@ export const iconUrls: Record<string, string> = {
|
||||
claudeapi: _claudeapi,
|
||||
claudecn: _claudecn,
|
||||
cherryin: _cherryin,
|
||||
code0: _code0,
|
||||
eflowcode: _eflowcode,
|
||||
etok: _etok,
|
||||
fenno: _fenno,
|
||||
|
||||
@@ -211,6 +211,13 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
keywords: ["cloudflare", "cdn"],
|
||||
defaultColor: "#F38020",
|
||||
},
|
||||
code0: {
|
||||
name: "code0",
|
||||
displayName: "Code0",
|
||||
category: "ai-provider",
|
||||
keywords: ["code0", "code0ai", "aggregator", "relay", "gateway", "gpt"],
|
||||
defaultColor: "#20C050",
|
||||
},
|
||||
cohere: {
|
||||
name: "cohere",
|
||||
displayName: "Cohere",
|
||||
|
||||
Reference in New Issue
Block a user