mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-02 10:21:16 +08:00
feat(providers): rebrand CTok to ETok across presets, icons, and docs
The vendor renamed its domain, API endpoints, and trademark from CTok to ETok. Update all user-facing branding accordingly: - Presets (claude, claude-desktop, codex, gemini, hermes, openclaw, opencode): ctok.ai -> etok.ai, api.ctok.ai -> api.etok.ai, internal provider id ctok -> etok, display name CTok.ai -> ETok.ai - Icons: replace inline placeholder SVG with the new ETok brand PNG, moved from `icons` to `iconUrls`; key ctok -> etok; banner logo ctok.png -> etok.png - README (en/zh/ja/de) partner banner: new logo, links, and copy - i18n (en/ja/zh/zh-TW): partnerPromotion key ctok -> etok Keep "ctok" in the Codex history-migration whitelist as a legacy id and add "etok", so existing users' local session history stays correctly bucketed after the rename.
This commit is contained in:
@@ -1195,12 +1195,12 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "CTok.ai",
|
||||
websiteUrl: "https://ctok.ai",
|
||||
apiKeyUrl: "https://ctok.ai",
|
||||
name: "ETok.ai",
|
||||
websiteUrl: "https://etok.ai",
|
||||
apiKeyUrl: "https://etok.ai",
|
||||
settingsConfig: {
|
||||
name: "ctok",
|
||||
base_url: "https://api.ctok.ai",
|
||||
name: "etok",
|
||||
base_url: "https://api.etok.ai",
|
||||
api_key: "",
|
||||
api_mode: "anthropic_messages",
|
||||
models: [
|
||||
@@ -1211,11 +1211,11 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
},
|
||||
category: "third_party",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "ctok",
|
||||
icon: "ctok",
|
||||
partnerPromotionKey: "etok",
|
||||
icon: "etok",
|
||||
iconColor: "#000000",
|
||||
suggestedDefaults: {
|
||||
model: { default: "claude-opus-4-8", provider: "ctok" },
|
||||
model: { default: "claude-opus-4-8", provider: "etok" },
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user