refactor(presets): align CCSub to end of partner block across apps

Move the CCSub preset to sit right after DouBaoSeed, at the end of the
partner block and before the first non-partner provider, so its position
is consistent across all six apps:

- Codex / OpenCode: moved up from the 2nd slot (between Shengsuanyun and
  the next partner) to the block tail
- OpenClaw / Hermes: moved up from the aggregator section to the block tail
- Claude / Claude Desktop: already at the block tail

Also add the missing CHANGELOG entry for the CCSub preset, and drop the
provider preset order test that enforced a now-unneeded ordering invariant.
This commit is contained in:
Jason
2026-06-08 23:07:50 +08:00
parent fa17194d84
commit 5beb63e67d
8 changed files with 197 additions and 281 deletions
+13 -13
View File
@@ -167,19 +167,6 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
partnerPromotionKey: "shengsuanyun",
icon: "shengsuanyun",
},
{
name: "CCSub",
websiteUrl: "https://www.ccsub.net",
apiKeyUrl: "https://www.ccsub.net/register?ref=Y6Z8DXEA",
category: "aggregator",
baseUrl: "https://www.ccsub.net",
mode: "direct",
apiFormat: "anthropic",
modelRoutes: passthroughRoutes(true),
isPartner: true,
partnerPromotionKey: "ccsub",
icon: "ccsub",
},
{
name: "PatewayAI",
websiteUrl: "https://pateway.ai",
@@ -253,6 +240,19 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
icon: "doubao",
iconColor: "#3370FF",
},
{
name: "CCSub",
websiteUrl: "https://www.ccsub.net",
apiKeyUrl: "https://www.ccsub.net/register?ref=Y6Z8DXEA",
category: "aggregator",
baseUrl: "https://www.ccsub.net",
mode: "direct",
apiFormat: "anthropic",
modelRoutes: passthroughRoutes(true),
isPartner: true,
partnerPromotionKey: "ccsub",
icon: "ccsub",
},
{
name: "Gemini Native",
websiteUrl: "https://ai.google.dev/gemini-api",