mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-01 04:02:02 +08:00
feat(presets): add ClaudeCN provider presets
Add ClaudeCN as a new partner provider with support for: - Claude Code preset (Anthropic native protocol) - Codex preset (gpt-5.5 model) - Claude Desktop preset (direct mode with passthrough routes) - OpenCode preset (@ai-sdk/anthropic) - OpenClaw preset (anthropic-messages protocol) - Hermes preset (anthropic_messages mode) - Icon configuration (claudecn.png) - i18n support (zh/en/ja) with enterprise service promotion ClaudeCN is an enterprise-grade AI gateway operated by a registered company, supporting enterprise procurement processes with corporate payments, contracts, and compliance guarantees.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// Do not edit manually
|
||||
|
||||
import _claudeapi from "./ClaudeApi.png";
|
||||
import _claudecn from "./claudecn.png";
|
||||
import _eflowcode from "./eflowcode.png";
|
||||
import _hermes from "./hermes.png";
|
||||
import _lemondata from "./lemondata.png";
|
||||
@@ -83,6 +84,7 @@ export const icons: Record<string, string> = {
|
||||
|
||||
export const iconUrls: Record<string, string> = {
|
||||
claudeapi: _claudeapi,
|
||||
claudecn: _claudecn,
|
||||
eflowcode: _eflowcode,
|
||||
hermes: _hermes,
|
||||
lemondata: _lemondata,
|
||||
|
||||
@@ -78,6 +78,12 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
category: "ai-provider",
|
||||
keywords: ["claudeapi", "claude", "anthropic", "bedrock"],
|
||||
},
|
||||
claudecn: {
|
||||
name: "claudecn",
|
||||
displayName: "ClaudeCN",
|
||||
category: "ai-provider",
|
||||
keywords: ["claudecn", "claude", "enterprise"],
|
||||
},
|
||||
cloudflare: {
|
||||
name: "cloudflare",
|
||||
displayName: "Cloudflare",
|
||||
|
||||
Reference in New Issue
Block a user