mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-25 13:45:03 +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:
@@ -1654,14 +1654,14 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "CTok.ai",
|
||||
websiteUrl: "https://ctok.ai",
|
||||
apiKeyUrl: "https://ctok.ai",
|
||||
name: "ETok.ai",
|
||||
websiteUrl: "https://etok.ai",
|
||||
apiKeyUrl: "https://etok.ai",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
name: "CTok",
|
||||
name: "ETok",
|
||||
options: {
|
||||
baseURL: "https://api.ctok.ai/v1",
|
||||
baseURL: "https://api.etok.ai/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
@@ -1672,8 +1672,8 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
category: "third_party",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "ctok",
|
||||
icon: "ctok",
|
||||
partnerPromotionKey: "etok",
|
||||
icon: "etok",
|
||||
iconColor: "#000000",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
|
||||
Reference in New Issue
Block a user