diff --git a/change/@acedatacloud-nexior-b8ce4e5f-efc4-4192-b9f9-332c076ca3f6.json b/change/@acedatacloud-nexior-b8ce4e5f-efc4-4192-b9f9-332c076ca3f6.json new file mode 100644 index 00000000..52374106 --- /dev/null +++ b/change/@acedatacloud-nexior-b8ce4e5f-efc4-4192-b9f9-332c076ca3f6.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "add claude", + "packageName": "@acedatacloud/nexior", + "email": "cqc@cuiqingcai.com", + "dependentChangeType": "patch" +} diff --git a/src/components/chat/ModelSelector.vue b/src/components/chat/ModelSelector.vue index 7bed4235..cb04bc0b 100644 --- a/src/components/chat/ModelSelector.vue +++ b/src/components/chat/ModelSelector.vue @@ -36,7 +36,8 @@ import { CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK, - CHAT_MODEL_GROUP_GEMINI + CHAT_MODEL_GROUP_GEMINI, + CHAT_MODEL_GROUP_CLAUDE } from '@/constants'; interface IData { @@ -54,7 +55,13 @@ export default defineComponent({ emits: ['update:modelValue', 'select', 'model-group-changed', 'model-changed'], data(): IData { return { - options: [CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK, CHAT_MODEL_GROUP_GEMINI] + options: [ + CHAT_MODEL_GROUP_CHATGPT, + CHAT_MODEL_GROUP_DEEPSEEK, + CHAT_MODEL_GROUP_GROK, + CHAT_MODEL_GROUP_GEMINI, + CHAT_MODEL_GROUP_CLAUDE + ] }; }, computed: { @@ -81,7 +88,8 @@ export default defineComponent({ CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK, - CHAT_MODEL_GROUP_GEMINI + CHAT_MODEL_GROUP_GEMINI, + CHAT_MODEL_GROUP_CLAUDE ]; const foundGroup = modelGroups.find((group) => group.name === this.modelGroup.name); console.debug('Found model group:', foundGroup); diff --git a/src/components/common/Navigator.vue b/src/components/common/Navigator.vue index 69191027..1913eee4 100644 --- a/src/components/common/Navigator.vue +++ b/src/components/common/Navigator.vue @@ -42,6 +42,8 @@ import { ROUTE_GROK_CONVERSATION, ROUTE_GEMINI_CONVERSATION_NEW, ROUTE_GEMINI_CONVERSATION, + ROUTE_CLAUDE_CONVERSATION_NEW, + ROUTE_CLAUDE_CONVERSATION, ROUTE_KLING_INDEX, ROUTE_KLING_HISTORY, ROUTE_PIXVERSE_INDEX, @@ -56,7 +58,8 @@ import { CHAT_MODEL_ICON_CHATGPT, CHAT_MODEL_ICON_DEEPSEEK, CHAT_MODEL_ICON_GROK, - CHAT_MODEL_ICON_GEMINI + CHAT_MODEL_ICON_GEMINI, + CHAT_MODEL_ICON_CLAUDE } from '@/constants/chat'; import Logo from './Logo.vue'; import UserCenter from '@/components/user/Center.vue'; @@ -131,6 +134,17 @@ export default defineComponent({ routes: [ROUTE_GEMINI_CONVERSATION, ROUTE_GEMINI_CONVERSATION_NEW] }); } + // Add claude's leftmost icon + if (this.$store?.state?.site?.features?.claude?.enabled) { + result.push({ + route: { + name: ROUTE_CLAUDE_CONVERSATION_NEW + }, + displayName: this.$t('common.nav.claude'), + logo: CHAT_MODEL_ICON_CLAUDE, + routes: [ROUTE_CLAUDE_CONVERSATION, ROUTE_CLAUDE_CONVERSATION_NEW] + }); + } // Add midjourney's leftmost icon if (this.$store?.state?.site?.features?.midjourney?.enabled) { result.push({ diff --git a/src/components/setting/Function.vue b/src/components/setting/Function.vue index 3331966b..ee25b290 100644 --- a/src/components/setting/Function.vue +++ b/src/components/setting/Function.vue @@ -5,6 +5,7 @@ 'chatgpt', 'grok', 'gemini', + 'claude', 'deepseek', 'midjourney', 'qrart', diff --git a/src/constants/chat.ts b/src/constants/chat.ts index a7a41624..8c36835c 100644 --- a/src/constants/chat.ts +++ b/src/constants/chat.ts @@ -26,11 +26,15 @@ export const CHAT_MODEL_NAME_GROK_3_DEEPSEARCH = 'grok-3-deepsearch'; export const CHAT_MODEL_NAME_GEMINI_3_0_PRO = 'gemini-3.0-pro'; export const CHAT_MODEL_NAME_GEMINI_2_5_PRO = 'gemini-2.5-pro'; export const CHAT_MODEL_NAME_GEMINI_2_5_FLASH = 'gemini-2.5-flash'; +export const CHAT_MODEL_NAME_CLAUDE_OPUS_4 = 'claude-opus-4'; +export const CHAT_MODEL_NAME_CLAUDE_SONNET_4 = 'claude-sonnet-4'; +export const CHAT_MODEL_NAME_CLAUDE_3_7_SONNET = 'claude-3-7-sonnet'; export const CHAT_MODEL_ICON_CHATGPT = 'https://cdn.acedata.cloud/7dljuv.png'; export const CHAT_MODEL_ICON_GROK = 'https://cdn.acedata.cloud/p1ge98.png'; export const CHAT_MODEL_ICON_DEEPSEEK = 'https://cdn.acedata.cloud/4rb23t.jpg'; export const CHAT_MODEL_ICON_GEMINI = 'https://cdn.acedata.cloud/psfx0g.jpg'; +export const CHAT_MODEL_ICON_CLAUDE = 'https://cdn.acedata.cloud/8fnw4v.jpg'; export const CHAT_SERVICE_ID = 'b1fbcc32-e218-4253-9dc3-4fe600a1bfb9'; @@ -238,6 +242,33 @@ export const CHAT_MODEL_GEMINI_2_5_FLASH: IChatModel = { getDescription: () => i18n.global.t('chat.model.gemini25FlashDescription') }; +export const CHAT_MODEL_CLAUDE_OPUS_4: IChatModel = { + enabled: true, + name: CHAT_MODEL_NAME_CLAUDE_OPUS_4, + icon: CHAT_MODEL_ICON_CLAUDE, + modelGroup: 'claude', + getDisplayName: () => i18n.global.t('chat.model.claudeOpus4'), + getDescription: () => i18n.global.t('chat.model.claudeOpus4Description') +}; + +export const CHAT_MODEL_CLAUDE_SONNET_4: IChatModel = { + enabled: true, + name: CHAT_MODEL_NAME_CLAUDE_SONNET_4, + icon: CHAT_MODEL_ICON_CLAUDE, + modelGroup: 'claude', + getDisplayName: () => i18n.global.t('chat.model.claudeSonnet4'), + getDescription: () => i18n.global.t('chat.model.claudeSonnet4Description') +}; + +export const CHAT_MODEL_CLAUDE_3_7_SONNET: IChatModel = { + enabled: true, + name: CHAT_MODEL_NAME_CLAUDE_3_7_SONNET, + icon: CHAT_MODEL_ICON_CLAUDE, + modelGroup: 'claude', + getDisplayName: () => i18n.global.t('chat.model.claude37Sonnet'), + getDescription: () => i18n.global.t('chat.model.claude37SonnetDescription') +}; + export const CHAT_MODEL_GROUP_CHATGPT: IChatModelGroup = { icon: CHAT_MODEL_ICON_CHATGPT, name: 'chatgpt', @@ -282,6 +313,14 @@ export const CHAT_MODEL_GROUP_GEMINI: IChatModelGroup = { models: [CHAT_MODEL_GEMINI_3_0_PRO, CHAT_MODEL_GEMINI_2_5_PRO, CHAT_MODEL_GEMINI_2_5_FLASH] }; +export const CHAT_MODEL_GROUP_CLAUDE: IChatModelGroup = { + icon: CHAT_MODEL_ICON_CLAUDE, + name: 'claude', + getDisplayName: () => i18n.global.t('chat.modelGroup.claude'), + getDescription: () => i18n.global.t('chat.modelGroup.claudeDescription'), + models: [CHAT_MODEL_CLAUDE_OPUS_4, CHAT_MODEL_CLAUDE_SONNET_4, CHAT_MODEL_CLAUDE_3_7_SONNET] +}; + export const CHAT_MODELS: IChatModel[] = [ CHAT_MODEL_GPT_5_ALL, CHAT_MODEL_GPT_5, @@ -301,12 +340,16 @@ export const CHAT_MODELS: IChatModel[] = [ CHAT_MODEL_GROK_3_DEEPSEARCH, CHAT_MODEL_GEMINI_3_0_PRO, CHAT_MODEL_GEMINI_2_5_PRO, - CHAT_MODEL_GEMINI_2_5_FLASH + CHAT_MODEL_GEMINI_2_5_FLASH, + CHAT_MODEL_CLAUDE_OPUS_4, + CHAT_MODEL_CLAUDE_SONNET_4, + CHAT_MODEL_CLAUDE_3_7_SONNET ]; export const CHAT_MODEL_GROUPS: IChatModelGroup[] = [ CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK, - CHAT_MODEL_GROUP_GEMINI + CHAT_MODEL_GROUP_GEMINI, + CHAT_MODEL_GROUP_CLAUDE ]; diff --git a/src/i18n/ar/chat.json b/src/i18n/ar/chat.json index afdf069c..fa5ab4bc 100644 --- a/src/i18n/ar/chat.json +++ b/src/i18n/ar/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/ar/common.json b/src/i18n/ar/common.json index 68613574..54931a1b 100644 --- a/src/i18n/ar/common.json +++ b/src/i18n/ar/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/ar/site.json b/src/i18n/ar/site.json index 540a1bdf..74413b16 100644 --- a/src/i18n/ar/site.json +++ b/src/i18n/ar/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/de/chat.json b/src/i18n/de/chat.json index 7f46b3fb..463f2996 100644 --- a/src/i18n/de/chat.json +++ b/src/i18n/de/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/de/common.json b/src/i18n/de/common.json index c8b3915d..f58ce703 100644 --- a/src/i18n/de/common.json +++ b/src/i18n/de/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/de/site.json b/src/i18n/de/site.json index cf5a9b1a..89aadfe0 100644 --- a/src/i18n/de/site.json +++ b/src/i18n/de/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/el/chat.json b/src/i18n/el/chat.json index f39357f8..77dc43c7 100644 --- a/src/i18n/el/chat.json +++ b/src/i18n/el/chat.json @@ -274,5 +274,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/el/common.json b/src/i18n/el/common.json index 5187e88b..0420dd47 100644 --- a/src/i18n/el/common.json +++ b/src/i18n/el/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/el/site.json b/src/i18n/el/site.json index b673fa13..0b98d1e6 100644 --- a/src/i18n/el/site.json +++ b/src/i18n/el/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/en/chat.json b/src/i18n/en/chat.json index 6e4f4fe8..07a5a262 100644 --- a/src/i18n/en/chat.json +++ b/src/i18n/en/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/en/common.json b/src/i18n/en/common.json index baa07968..c5902ebd 100644 --- a/src/i18n/en/common.json +++ b/src/i18n/en/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/en/site.json b/src/i18n/en/site.json index fca87ca6..401049c5 100644 --- a/src/i18n/en/site.json +++ b/src/i18n/en/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/es/chat.json b/src/i18n/es/chat.json index 728cab09..3e49fbc2 100644 --- a/src/i18n/es/chat.json +++ b/src/i18n/es/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/es/common.json b/src/i18n/es/common.json index 66d79d75..da74d452 100644 --- a/src/i18n/es/common.json +++ b/src/i18n/es/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/es/site.json b/src/i18n/es/site.json index d0ca5d03..f1184175 100644 --- a/src/i18n/es/site.json +++ b/src/i18n/es/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/fi/chat.json b/src/i18n/fi/chat.json index 19cebd48..79630baf 100644 --- a/src/i18n/fi/chat.json +++ b/src/i18n/fi/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/fi/common.json b/src/i18n/fi/common.json index 1ad3a1af..6d8ec73a 100644 --- a/src/i18n/fi/common.json +++ b/src/i18n/fi/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/fi/site.json b/src/i18n/fi/site.json index 22430d09..74ff0697 100644 --- a/src/i18n/fi/site.json +++ b/src/i18n/fi/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/fr/chat.json b/src/i18n/fr/chat.json index 49475e0f..b90904b2 100644 --- a/src/i18n/fr/chat.json +++ b/src/i18n/fr/chat.json @@ -250,5 +250,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/fr/common.json b/src/i18n/fr/common.json index 61d7c3c5..8447316d 100644 --- a/src/i18n/fr/common.json +++ b/src/i18n/fr/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/fr/site.json b/src/i18n/fr/site.json index 84f0bfcd..63e6cb6e 100644 --- a/src/i18n/fr/site.json +++ b/src/i18n/fr/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/it/chat.json b/src/i18n/it/chat.json index b544e70e..171b81e9 100644 --- a/src/i18n/it/chat.json +++ b/src/i18n/it/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/it/common.json b/src/i18n/it/common.json index 726fe9ce..c967ef7b 100644 --- a/src/i18n/it/common.json +++ b/src/i18n/it/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/it/site.json b/src/i18n/it/site.json index 3672d627..ae615911 100644 --- a/src/i18n/it/site.json +++ b/src/i18n/it/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/ja/chat.json b/src/i18n/ja/chat.json index afffcfc1..f0a63297 100644 --- a/src/i18n/ja/chat.json +++ b/src/i18n/ja/chat.json @@ -170,5 +170,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/ja/common.json b/src/i18n/ja/common.json index 006544da..0abdc1d9 100644 --- a/src/i18n/ja/common.json +++ b/src/i18n/ja/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/ja/site.json b/src/i18n/ja/site.json index 9df4bed6..c6c9a9fd 100644 --- a/src/i18n/ja/site.json +++ b/src/i18n/ja/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/ko/chat.json b/src/i18n/ko/chat.json index e20361a1..02c6d2ba 100644 --- a/src/i18n/ko/chat.json +++ b/src/i18n/ko/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/ko/common.json b/src/i18n/ko/common.json index 17cd7bbf..f57eadf4 100644 --- a/src/i18n/ko/common.json +++ b/src/i18n/ko/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/ko/site.json b/src/i18n/ko/site.json index 46d18e61..0d34f646 100644 --- a/src/i18n/ko/site.json +++ b/src/i18n/ko/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/pl/chat.json b/src/i18n/pl/chat.json index 780e3559..7977e32b 100644 --- a/src/i18n/pl/chat.json +++ b/src/i18n/pl/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/pl/common.json b/src/i18n/pl/common.json index c668060b..8f391ad8 100644 --- a/src/i18n/pl/common.json +++ b/src/i18n/pl/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/pl/site.json b/src/i18n/pl/site.json index 1f2b7b13..27e2f2f9 100644 --- a/src/i18n/pl/site.json +++ b/src/i18n/pl/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/pt/chat.json b/src/i18n/pt/chat.json index d87f67b2..6d37d429 100644 --- a/src/i18n/pt/chat.json +++ b/src/i18n/pt/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/pt/common.json b/src/i18n/pt/common.json index 5daf092e..b061ce97 100644 --- a/src/i18n/pt/common.json +++ b/src/i18n/pt/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/pt/site.json b/src/i18n/pt/site.json index 18152e92..a2fe5d05 100644 --- a/src/i18n/pt/site.json +++ b/src/i18n/pt/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/ru/chat.json b/src/i18n/ru/chat.json index e4b7f3f6..f1bd0d2a 100644 --- a/src/i18n/ru/chat.json +++ b/src/i18n/ru/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/ru/common.json b/src/i18n/ru/common.json index b1a7898e..d9389f09 100644 --- a/src/i18n/ru/common.json +++ b/src/i18n/ru/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/ru/site.json b/src/i18n/ru/site.json index c17b7ea9..8fbe4885 100644 --- a/src/i18n/ru/site.json +++ b/src/i18n/ru/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/sr/chat.json b/src/i18n/sr/chat.json index 5cc1bef1..32b81c13 100644 --- a/src/i18n/sr/chat.json +++ b/src/i18n/sr/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/sr/common.json b/src/i18n/sr/common.json index 7ac8ab3c..0faa8eda 100644 --- a/src/i18n/sr/common.json +++ b/src/i18n/sr/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/sr/site.json b/src/i18n/sr/site.json index 8f3f0fe7..59d47160 100644 --- a/src/i18n/sr/site.json +++ b/src/i18n/sr/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/sv/chat.json b/src/i18n/sv/chat.json index 68863052..b8ef8f9a 100644 --- a/src/i18n/sv/chat.json +++ b/src/i18n/sv/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/sv/common.json b/src/i18n/sv/common.json index 9ae4451d..7fcf1cb9 100644 --- a/src/i18n/sv/common.json +++ b/src/i18n/sv/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/sv/site.json b/src/i18n/sv/site.json index 713d0a35..b0528380 100644 --- a/src/i18n/sv/site.json +++ b/src/i18n/sv/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/uk/chat.json b/src/i18n/uk/chat.json index c893d049..e495a27e 100644 --- a/src/i18n/uk/chat.json +++ b/src/i18n/uk/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/uk/common.json b/src/i18n/uk/common.json index 44762d96..6db7147b 100644 --- a/src/i18n/uk/common.json +++ b/src/i18n/uk/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/uk/site.json b/src/i18n/uk/site.json index 54c07adc..bf43cb1f 100644 --- a/src/i18n/uk/site.json +++ b/src/i18n/uk/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/zh-CN/chat.json b/src/i18n/zh-CN/chat.json index 69f15faa..08e6f9ef 100644 --- a/src/i18n/zh-CN/chat.json +++ b/src/i18n/zh-CN/chat.json @@ -374,5 +374,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/zh-CN/common.json b/src/i18n/zh-CN/common.json index 18998d8e..34ec7ad8 100644 --- a/src/i18n/zh-CN/common.json +++ b/src/i18n/zh-CN/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/zh-CN/site.json b/src/i18n/zh-CN/site.json index c6f85c9c..423759b5 100644 --- a/src/i18n/zh-CN/site.json +++ b/src/i18n/zh-CN/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/i18n/zh-TW/chat.json b/src/i18n/zh-TW/chat.json index 556f58a2..d7e22bd2 100644 --- a/src/i18n/zh-TW/chat.json +++ b/src/i18n/zh-TW/chat.json @@ -238,5 +238,37 @@ "model.gemini25FlashDescription": { "message": "Fast and lightweight Gemini model", "description": "Description of the Gemini 2.5 Flash model" + }, + "modelGroup.claude": { + "message": "Claude", + "description": "The name of the service model, i.e., Claude" + }, + "modelGroup.claudeDescription": { + "message": "AI model developed by Anthropic", + "description": "Description of the Claude model" + }, + "model.claudeOpus4": { + "message": "claude-opus-4", + "description": "The name of the service model" + }, + "model.claudeOpus4Description": { + "message": "Top-tier reasoning and complex tasks", + "description": "Description of the Claude Opus 4 model" + }, + "model.claudeSonnet4": { + "message": "claude-sonnet-4", + "description": "The name of the service model" + }, + "model.claudeSonnet4Description": { + "message": "Balanced performance and efficiency", + "description": "Description of the Claude Sonnet 4 model" + }, + "model.claude37Sonnet": { + "message": "claude-3-7-sonnet", + "description": "The name of the service model" + }, + "model.claude37SonnetDescription": { + "message": "Fast iterative Claude Sonnet 3.7", + "description": "Description of the Claude 3.7 Sonnet model" } } diff --git a/src/i18n/zh-TW/common.json b/src/i18n/zh-TW/common.json index 3096430e..6dc6bb0f 100644 --- a/src/i18n/zh-TW/common.json +++ b/src/i18n/zh-TW/common.json @@ -570,5 +570,9 @@ "nav.gemini": { "message": "Gemini", "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" + }, + "nav.claude": { + "message": "Claude", + "description": "Text in the website navigation bar to display the Claude page, must remain as 'Claude'" } } diff --git a/src/i18n/zh-TW/site.json b/src/i18n/zh-TW/site.json index a6d27135..4c18b966 100644 --- a/src/i18n/zh-TW/site.json +++ b/src/i18n/zh-TW/site.json @@ -382,5 +382,13 @@ "message.featuresGemini": { "message": "Enable or disable the Gemini feature module.", "description": "Description of the Gemini feature" + }, + "field.featuresClaude": { + "message": "Claude", + "description": "Displayed as the title in the editing box" + }, + "message.featuresClaude": { + "message": "Enable or disable the Claude feature module.", + "description": "Description of the Claude feature" } } diff --git a/src/models/chat.ts b/src/models/chat.ts index 6d960f9f..908d4d5c 100644 --- a/src/models/chat.ts +++ b/src/models/chat.ts @@ -22,7 +22,10 @@ import { CHAT_MODEL_NAME_GROK_4, CHAT_MODEL_NAME_GEMINI_2_5_FLASH, CHAT_MODEL_NAME_GEMINI_2_5_PRO, - CHAT_MODEL_NAME_GEMINI_3_0_PRO + CHAT_MODEL_NAME_GEMINI_3_0_PRO, + CHAT_MODEL_NAME_CLAUDE_OPUS_4, + CHAT_MODEL_NAME_CLAUDE_SONNET_4, + CHAT_MODEL_NAME_CLAUDE_3_7_SONNET } from '@/constants'; export type IChatModelName = @@ -47,13 +50,16 @@ export type IChatModelName = | typeof CHAT_MODEL_NAME_O3 | typeof CHAT_MODEL_NAME_GEMINI_3_0_PRO | typeof CHAT_MODEL_NAME_GEMINI_2_5_PRO - | typeof CHAT_MODEL_NAME_GEMINI_2_5_FLASH; + | typeof CHAT_MODEL_NAME_GEMINI_2_5_FLASH + | typeof CHAT_MODEL_NAME_CLAUDE_OPUS_4 + | typeof CHAT_MODEL_NAME_CLAUDE_SONNET_4 + | typeof CHAT_MODEL_NAME_CLAUDE_3_7_SONNET; export interface IChatModel { enabled?: boolean; name: IChatModelName; icon: string; - modelGroup?: 'chatgpt' | 'deepseek' | 'grok' | 'gemini'; + modelGroup?: 'chatgpt' | 'deepseek' | 'grok' | 'gemini' | 'claude'; getDisplayName: () => string; getDescription: () => string; isSearchSupported?: boolean; @@ -64,7 +70,7 @@ export interface IChatModel { } export interface IChatModelGroup { - name: 'chatgpt' | 'deepseek' | 'grok' | 'gemini'; + name: 'chatgpt' | 'deepseek' | 'grok' | 'gemini' | 'claude'; icon: string; getDisplayName: () => string; getDescription: () => string; diff --git a/src/models/site.ts b/src/models/site.ts index 82f3d0c3..2525fc71 100644 --- a/src/models/site.ts +++ b/src/models/site.ts @@ -3,6 +3,7 @@ export interface ISiteFeatures { deepseek?: any; grok?: any; gemini?: any; + claude?: any; midjourney?: any; flux?: any; qrart?: any; diff --git a/src/router/claude.ts b/src/router/claude.ts new file mode 100644 index 00000000..2f89894e --- /dev/null +++ b/src/router/claude.ts @@ -0,0 +1,29 @@ +import { CHAT_MODEL_GROUP_CLAUDE } from '@/constants'; +import { ROUTE_CLAUDE_CONVERSATION, ROUTE_CLAUDE_CONVERSATION_NEW } from './constants'; + +export default { + path: '/claude', + meta: { + modelGroup: CHAT_MODEL_GROUP_CLAUDE, + appName: 'chat' + }, + component: () => import('@/layouts/Main.vue'), + children: [ + { + path: '', + redirect: { + name: ROUTE_CLAUDE_CONVERSATION_NEW + } + }, + { + path: 'conversations', + name: ROUTE_CLAUDE_CONVERSATION_NEW, + component: () => import('@/pages/chat/Conversation.vue') + }, + { + path: 'conversations/:id', + name: ROUTE_CLAUDE_CONVERSATION, + component: () => import('@/pages/chat/Conversation.vue') + } + ] +}; diff --git a/src/router/constants.ts b/src/router/constants.ts index e8d058ce..103baabe 100644 --- a/src/router/constants.ts +++ b/src/router/constants.ts @@ -15,6 +15,8 @@ export const ROUTE_GROK_CONVERSATION = 'grok-conversation'; export const ROUTE_GROK_CONVERSATION_NEW = 'grok-conversation-new'; export const ROUTE_GEMINI_CONVERSATION = 'gemini-conversation'; export const ROUTE_GEMINI_CONVERSATION_NEW = 'gemini-conversation-new'; +export const ROUTE_CLAUDE_CONVERSATION = 'claude-conversation'; +export const ROUTE_CLAUDE_CONVERSATION_NEW = 'claude-conversation-new'; export const ROUTE_MIDJOURNEY_INDEX = 'midjourney-index'; diff --git a/src/router/index.ts b/src/router/index.ts index bbaeeab3..a7cf4f0e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -3,6 +3,7 @@ import auth from './auth'; import console from './console'; import grok from './grok'; import gemini from './gemini'; +import claude from './claude'; import deepseek from './deepseek'; import chatgpt from './chatgpt'; import midjourney from './midjourney'; @@ -37,6 +38,7 @@ const routes = [ chatgpt, grok, gemini, + claude, deepseek, qrart, luma,