From 610a170daeba231ee63c33ae7b67d81dc033fb43 Mon Sep 17 00:00:00 2001 From: wushanchao Date: Mon, 23 Jun 2025 18:57:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E5=B0=86=20Model=20Control=20P?= =?UTF-8?q?rotocol=20(MCP)=20=E9=87=8D=E5=91=BD=E5=90=8D=E4=B8=BA=20Model?= =?UTF-8?q?=20Context=20Protocol?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在多个语言的配置文件中更新了 MCP 的描述 - 修改了开发者指南中的 MCP 相关章节标题 - 更新了设置页面和 MCP 配置对话框中的描述文本 --- docs/deeplinks.md | 2 +- docs/developer-guide.md | 2 +- src/renderer/src/i18n/en-US/mcp.json | 2 +- src/renderer/src/i18n/en-US/settings.json | 2 +- src/renderer/src/i18n/fr-FR/settings.json | 2 +- src/renderer/src/i18n/ja-JP/mcp.json | 2 +- src/renderer/src/i18n/ja-JP/settings.json | 2 +- src/renderer/src/i18n/ko-KR/mcp.json | 2 +- src/renderer/src/i18n/ko-KR/settings.json | 2 +- src/renderer/src/i18n/ru-RU/mcp.json | 2 +- src/renderer/src/i18n/ru-RU/settings.json | 2 +- src/renderer/src/i18n/zh-CN/mcp.json | 2 +- src/renderer/src/i18n/zh-HK/mcp.json | 2 +- src/renderer/src/i18n/zh-HK/settings.json | 2 +- src/renderer/src/i18n/zh-TW/mcp.json | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/deeplinks.md b/docs/deeplinks.md index 37f96235b..8d92d139a 100644 --- a/docs/deeplinks.md +++ b/docs/deeplinks.md @@ -61,7 +61,7 @@ deepchat://start?msg=帮我分析这段代码&model=deepseek-coder&system=你是 通过此深度链接可以安装MCP(模型控制协议)服务配置。 -Use this deeplink to install Model Control Protocol (MCP) service configuration. +Use this deeplink to install Model Context Protocol (MCP) service configuration. ### URL格式 / URL Format diff --git a/docs/developer-guide.md b/docs/developer-guide.md index 8f823a052..85da8d172 100644 --- a/docs/developer-guide.md +++ b/docs/developer-guide.md @@ -10,7 +10,7 @@ This guide provides information for developers looking to understand, build, and - [Technology Stack](#technology-stack) - [Architectural Documents](#architectural-documents) - [API Documentation](#api-documentation) -- [Model Context Protocol (MCP)](#model-controller-platform-mcp) +- [Model Context Protocol(MCP)](#model-context-protocol-mcp) - [Development Setup](#development-setup) - [Building the Application](#building-the-application) - [Contribution Guidelines](#contribution-guidelines) diff --git a/src/renderer/src/i18n/en-US/mcp.json b/src/renderer/src/i18n/en-US/mcp.json index 4ff4a11e1..5993b98c8 100644 --- a/src/renderer/src/i18n/en-US/mcp.json +++ b/src/renderer/src/i18n/en-US/mcp.json @@ -55,7 +55,7 @@ "confirmRemoveServer": "Are you sure you want to delete the server {name}? \nThis operation cannot be cancelled.", "default": "default", "deleteServer": "Delete the server", - "description": "Manage and configure MCP (Model Control Protocol) servers and tools", + "description": "Manage and configure MCP (Model Context Protocol) servers and tools", "editServer": "Edit the server", "editServerDialog": { "description": "Edit MCP server configuration", diff --git a/src/renderer/src/i18n/en-US/settings.json b/src/renderer/src/i18n/en-US/settings.json index fd6d733dc..436f9e887 100644 --- a/src/renderer/src/i18n/en-US/settings.json +++ b/src/renderer/src/i18n/en-US/settings.json @@ -292,7 +292,7 @@ }, "mcp": { "title": "MCP Settings", - "description": "Manage and configure MCP (Model Control Protocol) servers and tools", + "description": "Manage and configure MCP (Model Context Protocol) servers and tools", "enabledTitle": "Enable MCP", "enabledDescription": "Enable or disable MCP functionality and tools", "enableToAccess": "Please enable MCP to access configuration options", diff --git a/src/renderer/src/i18n/fr-FR/settings.json b/src/renderer/src/i18n/fr-FR/settings.json index 44374304d..efa238d3b 100644 --- a/src/renderer/src/i18n/fr-FR/settings.json +++ b/src/renderer/src/i18n/fr-FR/settings.json @@ -292,7 +292,7 @@ }, "mcp": { "title": "Paramètres MCP", - "description": "Gérer et configurer les serveurs et outils MCP (Model Control Protocol)", + "description": "Gérer et configurer les serveurs et outils MCP (Model Context Protocol)", "enabledTitle": "Activer MCP", "enabledDescription": "Activer ou désactiver les fonctionnalités et outils MCP", "enableToAccess": "Veuillez activer MCP pour accéder aux options de configuration", diff --git a/src/renderer/src/i18n/ja-JP/mcp.json b/src/renderer/src/i18n/ja-JP/mcp.json index 4f91d05af..21b80a87b 100644 --- a/src/renderer/src/i18n/ja-JP/mcp.json +++ b/src/renderer/src/i18n/ja-JP/mcp.json @@ -55,7 +55,7 @@ "confirmRemoveServer": "サーバー{name}を削除したいですか?この操作はキャンセルできません。", "default": "デフォルト", "deleteServer": "サーバーを削除します", - "description": "MCP(Model Control Protocol)サーバーとツールの管理と設定", + "description": "MCP(Model Context Protocol)サーバーとツールの管理と設定", "editServer": "サーバーを編集します", "editServerDialog": { "description": "MCPサーバーの構成を編集します", diff --git a/src/renderer/src/i18n/ja-JP/settings.json b/src/renderer/src/i18n/ja-JP/settings.json index 5aa062d51..6fe7dd5f0 100644 --- a/src/renderer/src/i18n/ja-JP/settings.json +++ b/src/renderer/src/i18n/ja-JP/settings.json @@ -292,7 +292,7 @@ }, "mcp": { "title": "MCP設定", - "description": "MCP(Model Control Protocol)サーバーとツールを管理および構成します", + "description": "MCP(Model Context Protocol)サーバーとツールを管理および構成します", "enabledTitle": "MCPを有効化", "enabledDescription": "MCP機能とツールを有効または無効にします", "enableToAccess": "設定オプションにアクセスするにはMCPを有効にしてください", diff --git a/src/renderer/src/i18n/ko-KR/mcp.json b/src/renderer/src/i18n/ko-KR/mcp.json index 6e7467ffd..e990d4276 100644 --- a/src/renderer/src/i18n/ko-KR/mcp.json +++ b/src/renderer/src/i18n/ko-KR/mcp.json @@ -1,6 +1,6 @@ { "title": "MCP 설정", - "description": "MCP(Model Control Protocol) 서버 및 도구 관리 및 구성", + "description": "MCP(Model Context Protocol) 서버 및 도구 관리 및 구성", "enabledTitle": "MCP 활성화", "enabledDescription": "MCP 기능 및 도구 활성화 또는 비활성화", "enableToAccess": "구성 옵션에 액세스하려면 먼저 MCP를 활성화하세요", diff --git a/src/renderer/src/i18n/ko-KR/settings.json b/src/renderer/src/i18n/ko-KR/settings.json index ddb6991c4..2651609ba 100644 --- a/src/renderer/src/i18n/ko-KR/settings.json +++ b/src/renderer/src/i18n/ko-KR/settings.json @@ -292,7 +292,7 @@ }, "mcp": { "title": "MCP 설정", - "description": "MCP(Model Control Protocol) 서버 및 도구 관리 및 구성", + "description": "MCP(Model Context Protocol) 서버 및 도구 관리 및 구성", "enabledTitle": "MCP 활성화", "enabledDescription": "MCP 기능 및 도구 활성화 또는 비활성화", "enableToAccess": "구성 옵션에 액세스하려면 MCP를 활성화하세요", diff --git a/src/renderer/src/i18n/ru-RU/mcp.json b/src/renderer/src/i18n/ru-RU/mcp.json index aba533ff7..ffcd99472 100644 --- a/src/renderer/src/i18n/ru-RU/mcp.json +++ b/src/renderer/src/i18n/ru-RU/mcp.json @@ -55,7 +55,7 @@ "confirmRemoveServer": "Вы уверены, что хотите удалить сервер {name}? Эта операция не может быть отменена.", "default": "по умолчанию", "deleteServer": "Удалить сервер", - "description": "Управление и настройка серверов и инструментов MCP (Model Control Protocol)", + "description": "Управление и настройка серверов и инструментов MCP (Model Context Protocol)", "editServer": "Отредактируйте сервер", "editServerDialog": { "description": "Редактировать конфигурацию сервера MCP", diff --git a/src/renderer/src/i18n/ru-RU/settings.json b/src/renderer/src/i18n/ru-RU/settings.json index 52c286841..2694058ac 100644 --- a/src/renderer/src/i18n/ru-RU/settings.json +++ b/src/renderer/src/i18n/ru-RU/settings.json @@ -292,7 +292,7 @@ }, "mcp": { "title": "Настройки MCP", - "description": "Управление и настройка серверов и инструментов MCP (Model Control Protocol)", + "description": "Управление и настройка серверов и инструментов MCP (Model Context Protocol)", "enabledTitle": "Включить MCP", "enabledDescription": "Включение или отключение функций и инструментов MCP", "enableToAccess": "Пожалуйста, включите MCP для доступа к настройкам", diff --git a/src/renderer/src/i18n/zh-CN/mcp.json b/src/renderer/src/i18n/zh-CN/mcp.json index 391c2d333..d70bf94c7 100644 --- a/src/renderer/src/i18n/zh-CN/mcp.json +++ b/src/renderer/src/i18n/zh-CN/mcp.json @@ -1,6 +1,6 @@ { "title": "MCP设置", - "description": "管理和配置MCP(Model Control Protocol)服务器和工具", + "description": "管理和配置MCP(Model Context Protocol)服务器和工具", "enabledTitle": "启用MCP", "enabledDescription": "启用或禁用MCP功能和工具", "enableToAccess": "请先启用MCP以访问配置选项", diff --git a/src/renderer/src/i18n/zh-HK/mcp.json b/src/renderer/src/i18n/zh-HK/mcp.json index e06953c8c..b9aa2e5fb 100644 --- a/src/renderer/src/i18n/zh-HK/mcp.json +++ b/src/renderer/src/i18n/zh-HK/mcp.json @@ -55,7 +55,7 @@ "confirmRemoveServer": "確定要刪除服務器 {name} 嗎?\n此操作無法撤銷。", "default": "預設", "deleteServer": "刪除服務器", - "description": "管理和配置MCP(Model Control Protocol)伺服器和工具", + "description": "管理和配置MCP(Model Context Protocol)伺服器和工具", "editServer": "編輯服務器", "editServerDialog": { "description": "編輯MCP服務器配置", diff --git a/src/renderer/src/i18n/zh-HK/settings.json b/src/renderer/src/i18n/zh-HK/settings.json index 068353d31..a0a00a2e5 100644 --- a/src/renderer/src/i18n/zh-HK/settings.json +++ b/src/renderer/src/i18n/zh-HK/settings.json @@ -292,7 +292,7 @@ }, "mcp": { "title": "MCP設置", - "description": "管理和配置MCP(Model Control Protocol)服務器和工具", + "description": "管理和配置MCP(Model Context Protocol)服務器和工具", "enabledTitle": "啟用MCP", "enabledDescription": "啟用或禁用MCP功能和工具", "enableToAccess": "請先啟用MCP以訪問配置選項", diff --git a/src/renderer/src/i18n/zh-TW/mcp.json b/src/renderer/src/i18n/zh-TW/mcp.json index be96b4e3e..4eefe0a1e 100644 --- a/src/renderer/src/i18n/zh-TW/mcp.json +++ b/src/renderer/src/i18n/zh-TW/mcp.json @@ -1,6 +1,6 @@ { "title": "MCP設定", - "description": "管理和配置MCP(Model Control Protocol)伺服器和工具", + "description": "管理和配置MCP(Model Context Protocol)伺服器和工具", "enabledTitle": "啟用MCP", "enabledDescription": "啟用或禁用MCP功能和工具", "enableToAccess": "請先啟用MCP以訪問配置選項", From 15cb240bcdb88dbf25996a2646153084633bccd6 Mon Sep 17 00:00:00 2001 From: wushanchao Date: Mon, 23 Jun 2025 19:17:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?refactor(renderer):=20=E5=9C=A8=20ChatConfi?= =?UTF-8?q?g=20=E7=BB=84=E4=BB=B6=E4=B8=AD=E4=B8=BA=20TooltipProvider=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BF=BD=E7=95=A5=E9=9D=9E=E9=94=AE=E7=9B=98?= =?UTF-8?q?=E7=84=A6=E7=82=B9=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 ChatConfig.vue 文件中,为 TooltipProvider 组件添加了 :ignoreNonKeyboardFocus="true" 属性 - 此修改旨在改进工具提示的显示逻辑,仅在使用键盘时触发焦点 --- src/renderer/src/components/ChatConfig.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/ChatConfig.vue b/src/renderer/src/components/ChatConfig.vue index 8096435ea..3f7036a1f 100644 --- a/src/renderer/src/components/ChatConfig.vue +++ b/src/renderer/src/components/ChatConfig.vue @@ -71,7 +71,7 @@ const formatSize = (size: number): string => {
- +