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:
Jason
2026-06-08 22:04:16 +08:00
parent f1118d370f
commit fa17194d84
17 changed files with 235 additions and 3 deletions
+33
View File
@@ -308,6 +308,39 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
},
},
{
name: "CCSub",
websiteUrl: "https://www.ccsub.net",
apiKeyUrl: "https://www.ccsub.net/register?ref=Y6Z8DXEA",
settingsConfig: {
npm: "@ai-sdk/openai-compatible",
name: "CCSub",
options: {
baseURL: "https://www.ccsub.net/v1",
apiKey: "",
setCacheKey: true,
},
models: {
"claude-opus-4-8": { name: "Claude Opus 4.8" },
"claude-sonnet-4-6": { name: "Claude Sonnet 4.6" },
"gpt-5.5": { name: "GPT-5.5" },
o3: { name: "o3" },
"gemini-3.1-pro": { name: "Gemini 3.1 Pro" },
"deepseek-v4-flash": { name: "DeepSeek V4 Flash" },
},
},
category: "aggregator",
isPartner: true,
partnerPromotionKey: "ccsub",
icon: "ccsub",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
},
{
name: "火山Agentplan",
websiteUrl: