mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-02 18:41:35 +08:00
feat(presets): add CCSub provider across six apps
Add CCSub, a multi-model aggregator partner, as a preset for Claude, Codex, OpenCode, OpenClaw, Claude Desktop, and Hermes. Each preset carries the referral signup link as apiKeyUrl. - Register the ccsub icon via iconUrls (1.1MB SVG URL import) + metadata - Add partnerPromotion copy in zh/en/ja - List CCSub in the sponsor section of all README locales - Use gpt-5.5 and gemini-3.1-pro as the OpenAI/Gemini model ids
This commit is contained in:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.1 MiB |
@@ -6,6 +6,7 @@ import _apinebula from "./apinebula_icon.png";
|
||||
import _atlascloud from "./atlascloud_icon.png";
|
||||
import _claudeapi from "./ClaudeApi.png";
|
||||
import _byteplus from "./byteplus.png";
|
||||
import _ccsub from "./ccsub.svg?url";
|
||||
import _claudecn from "./claudecn.png";
|
||||
import _cherryin from "./cherryin.png";
|
||||
import _eflowcode from "./eflowcode.png";
|
||||
@@ -97,6 +98,7 @@ export const iconUrls: Record<string, string> = {
|
||||
apinebula: _apinebula,
|
||||
atlascloud: _atlascloud,
|
||||
byteplus: _byteplus,
|
||||
ccsub: _ccsub,
|
||||
claudeapi: _claudeapi,
|
||||
claudecn: _claudecn,
|
||||
cherryin: _cherryin,
|
||||
|
||||
@@ -133,6 +133,13 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
keywords: ["byteplus", "volcengine", "ark", "modelark"],
|
||||
defaultColor: "#3370FF",
|
||||
},
|
||||
ccsub: {
|
||||
name: "ccsub",
|
||||
displayName: "CCSub",
|
||||
category: "ai-provider",
|
||||
keywords: ["ccsub", "aggregator", "relay", "claude", "codex", "gateway"],
|
||||
defaultColor: "#1E88E5",
|
||||
},
|
||||
chatglm: {
|
||||
name: "chatglm",
|
||||
displayName: "chatglm",
|
||||
|
||||
Reference in New Issue
Block a user