diff --git a/README.md b/README.md index 6fbb4409a56b26575dc9e4c2db42b7e2f0db03d3..585e563aa44c176db894e0c2c664f231c5ecd8fb 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ ## 🚀 Project Introduction -PolyMind is an AI intelligent assistant developed based on [DeepChat](https://github.com/thinkinaixyz/deepchat), providing environment awareness and powerful tool scheduling capabilities for the DevStation distribution. +PolyMind is an AI intelligent assistant developed based on [PolyMind](https://gitee.com/openeuler/polymind), providing environment awareness and powerful tool scheduling capabilities for the DevStation distribution. As a cross-platform AI assistant application, it not only supports basic chat functionality but also provides advanced features such as search enhancement, tool calling, multimodal interaction, making AI capabilities more convenient and efficient. diff --git a/README.zh.md b/README.zh.md index 0be2738eaffd2694412f3144452d310ca6b2e013..f5decf109b88d62fc4f98be54e70fd4f97b9bdc6 100644 --- a/README.zh.md +++ b/README.zh.md @@ -30,7 +30,7 @@ ## 🚀 项目简介 -PolyMind是一款基于[DeepChat](https://github.com/thinkinaixyz/deepchat)开发的AI智能助手,为DevStation发行版提供环境感知和强大的工具调度能力。 +PolyMind是一款基于[PolyMind](https://gitee.com/openeuler/polymind)开发的AI智能助手,为DevStation发行版提供环境感知和强大的工具调度能力。 作为一个跨平台的AI助手应用,不仅支持基础的聊天功能,还提供了搜索增强、工具调用、多模态交互等高级特性,让AI能力的应用更加便捷和高效。 diff --git a/brand-config.template.json b/brand-config.template.json index 57a280b9e6f68c16c1502f4cce7aee6e1e1832d4..66efc01a11aac6569321e396adc013e9771fa545 100644 --- a/brand-config.template.json +++ b/brand-config.template.json @@ -1,10 +1,10 @@ { "_comment": "请修改以下配置为您的品牌信息", "app": { - "name": "DeepChat", - "productName": "DeepChat", - "appId": "com.wefonk.deepchat", - "description": "DeepChat,一个简单易用的AI客户端", + "name": "PolyMind", + "productName": "PolyMind", + "appId": "com.wefonk.polymind", + "description": "PolyMind,一个简单易用的AI客户端", "author": "ThinkInAIXYZ", "website": "https://deepchatai.cn", "copyright": "© 2025 ThinkInAIXYZ", @@ -15,26 +15,26 @@ }, "i18n": { "appTitle": { - "en-US": "DeepChat", - "zh-CN": "DeepChat", - "zh-TW": "DeepChat", - "zh-HK": "DeepChat", - "ja-JP": "DeepChat", - "ko-KR": "DeepChat", - "ru-RU": "DeepChat", - "fr-FR": "DeepChat", - "fa-IR": "DeepChat" + "en-US": "PolyMind", + "zh-CN": "PolyMind", + "zh-TW": "PolyMind", + "zh-HK": "PolyMind", + "ja-JP": "PolyMind", + "ko-KR": "PolyMind", + "ru-RU": "PolyMind", + "fr-FR": "PolyMind", + "fa-IR": "PolyMind" }, "appDescription": { - "en-US": "DeepChat is a cross-platform AI client, dedicated to making AI accessible to more people.", - "zh-CN": "DeepChat是一个跨平台AI客户端,致力于让更多人便捷地使用AI。", - "zh-TW": "DeepChat 是一款跨平台 AI 應用程式,致力於讓更多人輕鬆使用 AI。", - "zh-HK": "DeepChat是一個跨平台AI客戶端,致力於讓更多人便捷地使用AI。", - "ja-JP": "DeepChatは、より多くの人々にAIへのアクセスを提供することを目的としたクロスプラットフォームAIクライアントです。", - "ko-KR": "DeepChat은 더 많은 사람들이 AI에 접근할 수 있도록 하는 크로스 플랫폼 AI 클라이언트입니다。", - "ru-RU": "DeepChat - это кроссплатформенный AI-клиент, предназначенный для того, чтобы сделать AI доступным для большего количества людей.", - "fr-FR": "DeepChat est un client IA multiplateforme, dédié à rendre l'IA accessible à plus de personnes.", - "fa-IR": "دیپ چت یک کلاینت هوش مصنوعی چندپلتفرمه که هدفش در دسترس قرار دادن هوش مصنوعی برای افراد بیشتری است." + "en-US": "PolyMind is a cross-platform AI client, dedicated to making AI accessible to more people.", + "zh-CN": "PolyMind是一个跨平台AI客户端,致力于让更多人便捷地使用AI。", + "zh-TW": "PolyMind 是一款跨平台 AI 應用程式,致力於讓更多人輕鬆使用 AI。", + "zh-HK": "PolyMind是一個跨平台AI客戶端,致力於讓更多人便捷地使用AI。", + "ja-JP": "PolyMindは、より多くの人々にAIへのアクセスを提供することを目的としたクロスプラットフォームAIクライアントです。", + "ko-KR": "PolyMind은 더 많은 사람들이 AI에 접근할 수 있도록 하는 크로스 플랫폼 AI 클라이언트입니다。", + "ru-RU": "PolyMind - это кроссплатформенный AI-клиент, предназначенный для того, чтобы сделать AI доступным для большего количества людей.", + "fr-FR": "PolyMind est un client IA multiplateforme, dédié à rendre l'IA accessible à plus de personnes.", + "fa-IR": "PolyMind یک کلاینت هوش مصنوعی چندپلتفرمه که هدفش در دسترس قرار دادن هوش مصنوعی برای افراد بیشتری است。" }, "websiteText": { "en-US": "Visit Our Website", diff --git a/build/icon.icns b/build/icon.icns index 5ec6ebdc29753b358b982bff77c00bbf04be0d95..69d3e600aa643edcc354d34864ceb13161fa5346 100644 Binary files a/build/icon.icns and b/build/icon.icns differ diff --git a/build/icon.ico b/build/icon.ico index d1ceeb54865938b853a675b1d05f00ca8172621a..9561d0280cca88406f8ae52fc6848c3207b8ec4b 100644 Binary files a/build/icon.ico and b/build/icon.ico differ diff --git a/build/icon.png b/build/icon.png index 3ec18a558fb43e5e10cd7194a964b5b952d0cf56..90e81ca2d7a0978343fe7cdcc74018eee65b05f4 100644 Binary files a/build/icon.png and b/build/icon.png differ diff --git a/docs/developer-guide.md b/docs/developer-guide.md index d4e2ea4a072ec8e186b463fdcce0d0fc7066ce83..ec184b682c55c2f939d7f843aa453cfa13a3ba98 100644 --- a/docs/developer-guide.md +++ b/docs/developer-guide.md @@ -1,6 +1,6 @@ -# DeepChat Developer Guide +# PolyMind Developer Guide -This guide provides information for developers looking to understand, build, and contribute to the DeepChat project. +This guide provides information for developers looking to understand, build, and contribute to the PolyMind project. ## 📑 Table of Contents @@ -17,7 +17,7 @@ This guide provides information for developers looking to understand, build, and ## Project Structure -The DeepChat repository is organized into several key directories: +The PolyMind repository is organized into several key directories: - **`src/`**: Contains the core source code of the application. - **`src/main/`**: Code for Electron's main process (handles window management, system events, backend logic). Written in TypeScript. @@ -37,7 +37,7 @@ For more details, refer to the "Project Structure" section in [CONTRIBUTING.md]( ### Electron Architecture -DeepChat is an Electron application. This means it has: +PolyMind is an Electron application. This means it has: - **Main Process**: A single process that is the entry point of the application. It runs Node.js and has access to system-level operations. It's responsible for creating and managing application windows (renderer processes) and handling application lifecycle events. The code for the main process is in `src/main/`. For a detailed explanation of the application lifecycle, see the [App Lifecycle Management](./app-lifecycle.md) document. - **Renderer Processes**: Each window in DeepChat runs its own renderer process. This process is responsible for rendering web content (HTML, CSS, JavaScript). The UI is built using web technologies. The code for the renderer process is in `src/renderer/`. - **Preload Scripts**: These scripts run in a privileged context in the renderer process and can expose specific Node.js APIs or main process functionalities to the renderer process via an IPC (Inter-Process Communication) bridge. See `src/preload/`. @@ -73,7 +73,7 @@ Developers should familiarize themselves with these definition files to understa ## Model Context Protocol (MCP) -The Model Context Protocol (MCP) is a core feature of DeepChat, enabling advanced capabilities like tool calling and search enhancement. As described in the `README.md`: +The Model Context Protocol (MCP) is a core feature of PolyMind, enabling advanced capabilities like tool calling and search enhancement. As described in the `README.md`: - It allows LLMs to use **Resources**, **Prompts**, and **Tools**. - It supports features like code execution (via a built-in Node.js runtime), web information retrieval, and file operations. @@ -89,7 +89,7 @@ For more detailed information on MCP, its design, and how to develop tools or in ## Development Setup -To set up your local development environment for DeepChat: +To set up your local development environment for PolyMind: 1. **Clone the repository.** 2. **Install Node.js** (Latest LTS version recommended). @@ -104,7 +104,7 @@ After setup, you can usually start the development server using `npm run dev` or ## Building the Application -Instructions for building the DeepChat application for different platforms (Windows, macOS, Linux) and architectures are available in the `README.md`: +Instructions for building the PolyMind application for different platforms (Windows, macOS, Linux) and architectures are available in the `README.md`: - Refer to the "[Build](https://github.com/ThinkInAIXYZ/deepchat#build)" section in the main `README.md` file for the necessary commands (e.g., `npm run build:win`, `npm run build:mac`, `npm run build:linux`). @@ -112,7 +112,7 @@ The `README.md` also mentions that Windows and Linux packaging is handled by Git ## Contribution Guidelines -If you wish to contribute to DeepChat, please review the contribution guidelines. They cover: +If you wish to contribute to PolyMind, please review the contribution guidelines. They cover: - Development process for internal and external contributors. - Coding style (ESLint, Prettier). diff --git a/docs/user-guide.md b/docs/user-guide.md index b8ee3963ca4f919cec936e5ca9447b1f1cf06e6d..e03972d97487348b1512fbb6e77e46cf2c373174 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -1,6 +1,6 @@ -# DeepChat User Guide +# PolyMind User Guide -Welcome to DeepChat! This guide will walk you through installing DeepChat, configuring its features, and using it to interact with various Large Language Models (LLMs). +Welcome to PolyMind! This guide will walk you through installing PolyMind, configuring its features, and using it to interact with various Large Language Models (LLMs). ## 📑 Table of Contents @@ -28,7 +28,7 @@ Welcome to DeepChat! This guide will walk you through installing DeepChat, confi ## Installation and Setup -To get started with DeepChat, download the latest version for your operating system from the [GitHub Releases page](https://github.com/ThinkInAIXYZ/deepchat/releases). +To get started with PolyMind, download the latest version for your operating system from the [Gitee Releases page](https://gitee.com/openeuler/polymind/releases). - **Windows**: Download the `.exe` installer. - **macOS**: Download the `.dmg` installation file. @@ -40,13 +40,13 @@ After downloading, run the installer and follow the on-screen instructions to co DeepChat supports a wide range of LLM providers, both cloud-based and local. -1. Launch the DeepChat application. +1. Launch the PolyMind application. 2. Click the **Settings icon** (often a gear or cogwheel symbol). 3. Navigate to the **"Model Providers"** tab. ### Cloud LLM Providers -DeepChat supports various cloud LLMs, including: +PolyMind supports various cloud LLMs, including: - DeepSeek - OpenAI (including Azure OpenAI) - SiliconFlow @@ -73,7 +73,7 @@ To configure a cloud provider: ### Local Models (Ollama) -DeepChat has integrated support for Ollama, allowing you to manage and use local models without command-line operations. +PolyMind has integrated support for Ollama, allowing you to manage and use local models without command-line operations. 1. In the "Model Providers" tab, select Ollama. 2. DeepChat allows you to: * Download Ollama models directly within the application. @@ -104,7 +104,7 @@ DeepChat has integrated support for Ollama, allowing you to manage and use local ### Multi-Window and Multi-Tab -DeepChat supports a multi-window and multi-tab architecture, similar to a web browser. This allows for: +PolyMind supports a multi-window and multi-tab architecture, similar to a web browser. This allows for: - Parallel multi-session operations. - Non-blocking experience, improving efficiency when working with multiple models or conversations simultaneously. @@ -112,24 +112,24 @@ DeepChat supports a multi-window and multi-tab architecture, similar to a web br ### Markdown Rendering -- DeepChat provides complete Markdown rendering for chat messages. +- PolyMind provides complete Markdown rendering for chat messages. - This includes support for headings, lists, bold/italic text, links, and code blocks. - Code blocks are rendered using CodeMirror for syntax highlighting and clarity. ### Multi-Modal Content -- DeepChat supports displaying multi-modal content within chats. +- PolyMind supports displaying multi-modal content within chats. - This means you can view images generated by models (e.g., using GPT-4o, Gemini, Grok text-to-image capabilities). - Support for Mermaid diagrams allows for rendering complex diagrams directly in the chat. ### Artifacts Rendering -- DeepChat supports Artifacts rendering, which provides diverse ways to present results from LLMs, especially when using Tool Calling (MCP). +- PolyMind supports Artifacts rendering, which provides diverse ways to present results from LLMs, especially when using Tool Calling (MCP). - This can significantly save token consumption and present complex data more effectively than plain text. ## Using Search Enhancement -DeepChat enhances LLM responses by integrating with search engines. This provides more accurate, timely, and verifiable information. +PolyMind enhances LLM responses by integrating with search engines. This provides more accurate, timely, and verifiable information. - **Automatic Search (MCP Mode)**: When using MCP-enabled models, the LLM can intelligently decide when to perform a web search to answer your query. It can use built-in integrations with BoSearch or Brave Search. - **Simulated Web Browsing**: DeepChat can simulate user web browsing for mainstream search engines like Google, Bing, Baidu, and Sogou Official Accounts. This allows the LLM to "read" search engine results like a human. @@ -138,7 +138,7 @@ DeepChat enhances LLM responses by integrating with search engines. This provide ## Using Tool Calling (MCP) -DeepChat features excellent Model Context Protocol (MCP) support, allowing LLMs to use tools and access external resources. +PolyMind features excellent Model Context Protocol (MCP) support, allowing LLMs to use tools and access external resources. - **Configuration**: MCP services can be configured through a user-friendly interface. DeepLink support allows for one-click installation of MCP services. - **Capabilities**: MCP enables: @@ -153,24 +153,24 @@ DeepChat features excellent Model Context Protocol (MCP) support, allowing LLMs ## Privacy and Security Features -DeepChat prioritizes user privacy and data security. +PolyMind prioritizes user privacy and data security. ### Screen Projection Hiding -- To prevent sensitive information from being accidentally displayed during screen sharing or projections, DeepChat offers a screen projection hiding feature. This typically obscures the chat content when active. +- To prevent sensitive information from being accidentally displayed during screen sharing or projections, PolyMind offers a screen projection hiding feature. This typically obscures the chat content when active. ### Network Proxies -- You can configure DeepChat to use network proxies, adding an extra layer of privacy and potentially bypassing network restrictions. +- You can configure PolyMind to use network proxies, adding an extra layer of privacy and potentially bypassing network restrictions. ### Data Storage and Encryption - Chat data and configuration data have reserved encryption interfaces. -- DeepChat focuses on local data storage where possible to reduce the risk of information leakage. +- PolyMind focuses on local data storage where possible to reduce the risk of information leakage. ## DeepLink Support -DeepChat utilizes rich DeepLink support, which allows: +PolyMind utilizes rich DeepLink support, which allows: - **Initiating Conversations**: Start new chat sessions or interact with specific parts of the application via external links. This enables seamless integration with other applications or workflows. - **One-Click MCP Service Installation**: Simplify the setup of MCP services by installing them through a single click on a DeepLink. diff --git a/electron-builder-macx64.yml b/electron-builder-macx64.yml index dacefa747e4d002bc7d957b6da4578848844b4dd..434b3af238c3e9773e37b85465fbe13c1f980160 100644 --- a/electron-builder-macx64.yml +++ b/electron-builder-macx64.yml @@ -1,5 +1,5 @@ -appId: com.wefonk.deepchat -productName: DeepChat +appId: com.wefonk.polymind +productName: PolyMind directories: buildResources: build files: @@ -68,4 +68,4 @@ mac: npmRebuild: true publish: provider: generic - url: https://cdn.deepchatai.cn/upgrade/ + url: https://cdn.polymindai.cn/upgrade/ diff --git a/electron-builder.yml b/electron-builder.yml index 2e6daa0e9b0ee22d6c6bda03d3a90a4000fca0ee..9ea438246389d6e33516329b63ca065757f24e19 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -1,5 +1,5 @@ -appId: com.wefonk.deepchat -productName: DeepChat +appId: com.wefonk.polymind +productName: PolyMind directories: buildResources: build files: @@ -50,7 +50,7 @@ electronLanguages: - fa-IR - fa win: - executableName: DeepChat + executableName: PolyMind nsis: artifactName: ${name}-${version}-windows-${arch}.${ext} shortcutName: ${productName} @@ -84,8 +84,8 @@ linux: category: Utility artifactName: ${name}-${version}-linux-${arch}.${ext} mimeTypes: - - x-scheme-handler/deepchat + - x-scheme-handler/polymind npmRebuild: true publish: provider: generic - url: https://cdn.deepchatai.cn/upgrade/ + url: https://cdn.polymindai.cn/upgrade/ diff --git a/package.json b/package.json index 515e8de3b6ac79dbb85490ec1d82666267b7823d..f49b56c3a12df6ba043b166437063e046740ec52 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "DeepChat", + "name": "PolyMind", "version": "0.3.5", - "description": "DeepChat,一个简单易用的AI客户端", + "description": "PolyMind,一个简单易用的AI客户端", "main": "./out/main/index.js", "author": "ThinkInAIXYZ", "type": "module", diff --git a/resources/icon.ico b/resources/icon.ico index d1ceeb54865938b853a675b1d05f00ca8172621a..9e3d4d2939f04400ae44906718c2a93a62f611da 100644 Binary files a/resources/icon.ico and b/resources/icon.ico differ diff --git a/resources/icon.png b/resources/icon.png index 3ec18a558fb43e5e10cd7194a964b5b952d0cf56..222fe784dfa740dfb09d32c549705bd47066b387 100644 Binary files a/resources/icon.png and b/resources/icon.png differ diff --git a/resources/linux_tray.png b/resources/linux_tray.png index 09e0ec2cd73c7e071b5dea02e666e70861ca424c..222fe784dfa740dfb09d32c549705bd47066b387 100644 Binary files a/resources/linux_tray.png and b/resources/linux_tray.png differ diff --git a/resources/macTrayTemplate.png b/resources/macTrayTemplate.png index 1e9b8801f7c66899d2bd8af63fe5e0fa71b4f863..222fe784dfa740dfb09d32c549705bd47066b387 100644 Binary files a/resources/macTrayTemplate.png and b/resources/macTrayTemplate.png differ diff --git a/resources/win_tray.ico b/resources/win_tray.ico index 5935b82e3ea0ba04965810c7b7fdb2014ba4487a..9e3d4d2939f04400ae44906718c2a93a62f611da 100644 Binary files a/resources/win_tray.ico and b/resources/win_tray.ico differ diff --git a/src/main/index.ts b/src/main/index.ts index 90d63433a9b004087af7723106e7daec6b44d825..e9c2e5b0f7fb2bc767686b9794309ce5e5d394cb 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -29,7 +29,7 @@ let presenter: Presenter // Start the lifecycle management system instead of using app.whenReady() app.whenReady().then(async () => { // Set app user model id for windows - electronApp.setAppUserModelId('com.wefonk.deepchat') + electronApp.setAppUserModelId('com.wefonk.polymind') try { console.log('main: Application lifecycle startup') await lifecycleManager.start() diff --git a/src/main/lib/watermark.ts b/src/main/lib/watermark.ts index 3f54b22985c134222de0913f7e91599a949c756d..d3275819358f701483be81057e864098b155212c 100644 --- a/src/main/lib/watermark.ts +++ b/src/main/lib/watermark.ts @@ -31,7 +31,7 @@ const createWatermarkSvg = (width: number, options: WatermarkOptions): string => const lowerTextY = textBaselineY + lineHeight / 2 + 4 // Brand identifier and version information - const brandText = texts.brand || 'DeepChat' + const brandText = texts.brand || 'PolyMind' const versionInfo = 'v' + version // Build time information, add model and provider info before timestamp @@ -55,7 +55,7 @@ const createWatermarkSvg = (width: number, options: WatermarkOptions): string => timeLineText = timeStr } - const tipText = texts.tip || 'Generated by DeepChat' + const tipText = texts.tip || 'Generated by PolyMind' const backgroundColor = isDark ? 'rgba(0, 0, 0, 0.8)' : 'rgba(255, 255, 255, 0.8)' const textColor = isDark ? 'rgba(255, 255, 255, 0.9)' : 'rgba(0, 0, 0, 0.9)' diff --git a/src/main/presenter/configPresenter/index.ts b/src/main/presenter/configPresenter/index.ts index 69fdf1f610caa070258cfccf17dd81d763847388..958af5b9fd49849d2f14cde93aab1e581e34114f 100644 --- a/src/main/presenter/configPresenter/index.ts +++ b/src/main/presenter/configPresenter/index.ts @@ -33,7 +33,7 @@ import { KnowledgeConfHelper } from './knowledgeConfHelper' import { SYSTEM_PROMPT } from '../promptPresenter/system' // Default system prompt constant -const DEFAULT_SYSTEM_PROMPT = `You are DeepChat, a highly capable AI assistant. Your goal is to fully complete the user’s requested task before handing the conversation back to them. Keep working autonomously until the task is fully resolved. +const DEFAULT_SYSTEM_PROMPT = `You are PolyMind, a highly capable AI assistant. Your goal is to fully complete the user's requested task before handing the conversation back to them. Keep working autonomously until the task is fully resolved. Be thorough in gathering information. Before replying, make sure you have all the details necessary to provide a complete solution. Use additional tools or ask clarifying questions when needed, but if you can find the answer on your own, avoid asking the user for help. When using tools, briefly describe your intended steps first—for example, which tool you’ll use and for what purpose. Adhere to this in all languages.Always respond in the same language as the user's query.` @@ -147,7 +147,7 @@ export class ConfigPresenter implements IConfigPresenter { prompts: [ { id: 'default', - name: 'DeepChat', + name: 'PolyMind', content: DEFAULT_SYSTEM_PROMPT, isDefault: true, createdAt: Date.now(), @@ -321,7 +321,7 @@ export class ConfigPresenter implements IConfigPresenter { } else { prompts.push({ id: 'default', - name: 'DeepChat', + name: 'PolyMind', content: legacyDefault, isDefault: true, createdAt: now, diff --git a/src/main/presenter/configPresenter/mcpConfHelper.ts b/src/main/presenter/configPresenter/mcpConfHelper.ts index 78dd1483e3c785ab2254c43d02f8a02fe9537b68..9449830641d19651901ca3a8ec2c62fc3e94c1a4 100644 --- a/src/main/presenter/configPresenter/mcpConfHelper.ts +++ b/src/main/presenter/configPresenter/mcpConfHelper.ts @@ -63,7 +63,7 @@ const PLATFORM_SPECIFIC_SERVERS: Record = { ? { 'deepchat/apple-server': { args: [], - descriptions: 'DeepChat内置Apple系统集成服务 (仅macOS)', + descriptions: 'PolyMind内置Apple系统集成服务 (仅macOS)', icons: '🍎', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -79,7 +79,7 @@ const PLATFORM_SPECIFIC_SERVERS: Record = { ? { // 'deepchat-inmemory/windows-server': { // args: [], - // descriptions: 'DeepChat built-in Windows system integration service (Windows only)', + // descriptions: 'PolyMind built-in Windows system integration service (Windows only)', // icons: '🪟', // autoApprove: ['all'], // type: 'inmemory' as MCPServerType, @@ -95,7 +95,7 @@ const PLATFORM_SPECIFIC_SERVERS: Record = { ? { // 'deepchat-inmemory/linux-server': { // args: [], - // descriptions: 'DeepChat built-in Linux system integration service (Linux only)', + // descriptions: 'PolyMind built-in Linux system integration service (Linux only)', // icons: '🐧', // autoApprove: ['all'], // type: 'inmemory' as MCPServerType, @@ -111,7 +111,7 @@ const PLATFORM_SPECIFIC_SERVERS: Record = { const DEFAULT_INMEMORY_SERVERS: Record = { buildInFileSystem: { args: [app.getPath('home')], - descriptions: 'DeepChat内置文件系统mcp服务', + descriptions: 'PolyMind内置文件系统mcp服务', icons: '📁', autoApprove: ['read'], type: 'inmemory' as MCPServerType, @@ -121,7 +121,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, Artifacts: { args: [], - descriptions: 'DeepChat内置 artifacts mcp服务', + descriptions: 'PolyMind内置 artifacts mcp服务', icons: '🎨', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -131,7 +131,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, bochaSearch: { args: [], - descriptions: 'DeepChat内置博查搜索服务', + descriptions: 'PolyMind内置博查搜索服务', icons: '🔍', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -143,7 +143,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, braveSearch: { args: [], - descriptions: 'DeepChat内置Brave搜索服务', + descriptions: 'PolyMind内置Brave搜索服务', icons: '🦁', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -155,7 +155,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, difyKnowledge: { args: [], - descriptions: 'DeepChat内置Dify知识库检索服务', + descriptions: 'PolyMind内置Dify知识库检索服务', icons: '📚', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -184,7 +184,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, powerpack: { args: [], - descriptions: 'DeepChat内置增强工具包', + descriptions: 'PolyMind内置增强工具包', icons: '🛠️', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -194,7 +194,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, ragflowKnowledge: { args: [], - descriptions: 'DeepChat内置RAGFlow知识库检索服务', + descriptions: 'PolyMind内置RAGFlow知识库检索服务', icons: '📚', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -213,7 +213,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, fastGptKnowledge: { args: [], - descriptions: 'DeepChat内置FastGPT知识库检索服务', + descriptions: 'PolyMind内置FastGPT知识库检索服务', icons: '📚', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -232,7 +232,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, builtinKnowledge: { args: [], - descriptions: 'DeepChat内置知识库检索服务', + descriptions: 'PolyMind内置知识库检索服务', icons: '📚', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -245,7 +245,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { 'deepchat-inmemory/deep-research-server': { args: [], descriptions: - 'DeepChat内置深度研究服务,使用博查搜索(注意该服务需要较长的上下文模型,请勿在短上下文的模型中使用)', + 'PolyMind内置深度研究服务,使用博查搜索(注意该服务需要较长的上下文模型,请勿在短上下文的模型中使用)', icons: '🔬', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -257,7 +257,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, 'deepchat-inmemory/auto-prompting-server': { args: [], - descriptions: 'DeepChat内置自动模板提示词服务', + descriptions: 'PolyMind内置自动模板提示词服务', icons: '📜', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -267,7 +267,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, 'deepchat-inmemory/conversation-search-server': { args: [], - descriptions: 'DeepChat built-in conversation history search service', + descriptions: 'PolyMind built-in conversation history search service', icons: '🔍', autoApprove: ['all'], type: 'inmemory' as MCPServerType, @@ -277,7 +277,7 @@ const DEFAULT_INMEMORY_SERVERS: Record = { }, 'deepchat-inmemory/meeting-server': { args: [], - descriptions: 'DeepChat内置会议服务,用于组织多Agent讨论', + descriptions: 'PolyMind内置会议服务,用于组织多Agent讨论', icons: '👥', autoApprove: ['all'], type: 'inmemory' as MCPServerType, diff --git a/src/main/presenter/devicePresenter/index.ts b/src/main/presenter/devicePresenter/index.ts index 321f2cc23061e7294784517fed9a853f0e44841f..483fd7fb6d22aee866bf6171f68f97218e26a30a 100644 --- a/src/main/presenter/devicePresenter/index.ts +++ b/src/main/presenter/devicePresenter/index.ts @@ -17,7 +17,7 @@ export class DevicePresenter implements IDevicePresenter { static getDefaultHeaders(): Record { return { 'HTTP-Referer': 'https://deepchatai.cn', - 'X-Title': 'DeepChat' + 'X-Title': 'PolyMind' } } async getAppVersion(): Promise { diff --git a/src/main/presenter/mcpPresenter/inMemoryServers/artifactsServer.ts b/src/main/presenter/mcpPresenter/inMemoryServers/artifactsServer.ts index 69fd5b6db921f0a8d13e70b5959ee21aab8010ca..05333e245d9a70e7756e5bc32fa4ada6eaf21227 100644 --- a/src/main/presenter/mcpPresenter/inMemoryServers/artifactsServer.ts +++ b/src/main/presenter/mcpPresenter/inMemoryServers/artifactsServer.ts @@ -181,7 +181,7 @@ ${ARTIFACT_INSTRUCTIONS_HEAD} - It is inappropriate to use "text/html" when sharing snippets, code samples & example HTML or CSS code, as it would be rendered as a webpage and the source code would be obscured. The assistant should instead use "application/vnd.ant.code" defined above. - If the assistant is unable to follow the above requirements for any reason, use "application/vnd.ant.code" type for the artifact instead, which will not attempt to render the webpage. - Do not put HTML code in a code block when using artifacts. - - do not forget to add AI information in the footer: "Generated with [DeepChat](https://github.com/ThinkInAIXYZ/deepchat) | All page content is AI-generated and for reference only" ,ensure it matches the page language + - do not forget to add AI information in the footer: "Generated with [PolyMind](https://gitee.com/openeuler/polymind) | All page content is AI-generated and for reference only" ,ensure it matches the page language ${ARTIFACT_INSTRUCTIONS_TAIL} Can you create a simple HTML landing page for a fictional coffee shop called "Morning Brew"? @@ -378,7 +378,7 @@ ${ARTIFACT_INSTRUCTIONS_TAIL}
- Generated with DeepChat | All page content is AI-generated and for reference only + Generated with PolyMind | All page content is AI-generated and for reference only
diff --git a/src/main/presenter/mcpPresenter/mcpClient.ts b/src/main/presenter/mcpPresenter/mcpClient.ts index 865fb8e4c4031dd6e29ac26032490bc83ed498c4..26892ac4d39ab9cb250b09e48f58f8e3aeb21ce6 100644 --- a/src/main/presenter/mcpPresenter/mcpClient.ts +++ b/src/main/presenter/mcpPresenter/mcpClient.ts @@ -577,7 +577,7 @@ export class McpClient { // 创建 MCP 客户端 this.client = new Client( - { name: 'DeepChat', version: app.getVersion() }, + { name: 'PolyMind', version: app.getVersion() }, { capabilities: { resources: {}, diff --git a/src/main/presenter/mcpPresenter/mcprouterManager.ts b/src/main/presenter/mcpPresenter/mcprouterManager.ts index 186682847ba3e9d3b565e4a903a7b1320ad5c687..d451a36a7ec262656145f318273e01741a01978b 100644 --- a/src/main/presenter/mcpPresenter/mcprouterManager.ts +++ b/src/main/presenter/mcpPresenter/mcprouterManager.ts @@ -47,7 +47,7 @@ export class McpRouterManager { return { 'Content-Type': 'application/json', 'HTTP-Referer': 'deepchatai.cn', - 'X-Title': 'DeepChat' + 'X-Title': 'PolyMind' } } @@ -112,7 +112,7 @@ export class McpRouterManager { 'Content-Type': 'application/json', Authorization: `Bearer ${apiKey}`, 'HTTP-Referer': 'deepchatai.cn', - 'X-Title': 'DeepChat' + 'X-Title': 'PolyMind' }, source: 'mcprouter', sourceId: serverKey diff --git a/src/main/presenter/trayPresenter.ts b/src/main/presenter/trayPresenter.ts index 4567e012e165b661a1cecaf572d7fe3c99fc8a20..e1517f1d8afaa9c50619e0d2d87a7c95b376c33c 100644 --- a/src/main/presenter/trayPresenter.ts +++ b/src/main/presenter/trayPresenter.ts @@ -33,7 +33,7 @@ export class TrayPresenter { } this.tray = new Tray(image) - this.tray.setToolTip('DeepChat') + this.tray.setToolTip('PolyMind') // 获取当前系统语言 const locale = presenter.configPresenter.getLanguage?.() || 'zh-CN' diff --git a/src/renderer/index.html b/src/renderer/index.html index a5c323d87124f2a1a0b8e77a0da10436e7aa572a..010b425ef5ec2b9743d6858f030c6099aeaade0c 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -2,7 +2,7 @@ - DeepChat + PolyMind diff --git a/src/renderer/shell/components/AppBar.vue b/src/renderer/shell/components/AppBar.vue index f41247998c649ad18ccc439063b29af0aa5ab777..957d4bd9e6a3b76c1968cb237890fe796559f646 100644 --- a/src/renderer/shell/components/AppBar.vue +++ b/src/renderer/shell/components/AppBar.vue @@ -45,7 +45,7 @@ @dragover="onTabItemDragOver(idx, $event)" > - {{ tab.title ?? 'DeepChat' }} + {{ tab.title ?? 'PolyMind' }}
- DeepChat - Shell + PolyMind - Shell diff --git a/src/renderer/src/assets/logo-dark.png b/src/renderer/src/assets/logo-dark.png index a652d4ce444167bba1844722233bdc7655800a21..90e81ca2d7a0978343fe7cdcc74018eee65b05f4 100644 Binary files a/src/renderer/src/assets/logo-dark.png and b/src/renderer/src/assets/logo-dark.png differ diff --git a/src/renderer/src/assets/logo.png b/src/renderer/src/assets/logo.png index e12b67382e78b7526f4d10aee5ecd86e0720306f..90e81ca2d7a0978343fe7cdcc74018eee65b05f4 100644 Binary files a/src/renderer/src/assets/logo.png and b/src/renderer/src/assets/logo.png differ diff --git a/src/renderer/src/components/artifacts/ArtifactDialog.vue b/src/renderer/src/components/artifacts/ArtifactDialog.vue index 3a37fe1dbbc10173ea4fd09d770c192f7292b346..d43051db83c53a9c84267a52e9f2fcda183d6895 100644 --- a/src/renderer/src/components/artifacts/ArtifactDialog.vue +++ b/src/renderer/src/components/artifacts/ArtifactDialog.vue @@ -534,7 +534,7 @@ const handleCopyAsImage = async () => { isDark: themeStore.isDark, version: appVersion.value, texts: { - brand: 'DeepChat', + brand: 'PolyMind', tip: t('common.watermarkTip') } } diff --git a/src/renderer/src/components/message/MessageList.vue b/src/renderer/src/components/message/MessageList.vue index 9e0d6afeffa264025b04903d8b2e08af34cee09f..02349bc6c5c3c12553eaa14da4b8fc344e4f5ec7 100644 --- a/src/renderer/src/components/message/MessageList.vue +++ b/src/renderer/src/components/message/MessageList.vue @@ -265,7 +265,7 @@ const handleCopyImage = async ( isDark: themeStore.isDark, version: appVersion.value, texts: { - brand: 'DeepChat', + brand: 'PolyMind', tip: t('common.watermarkTip'), model: modelInfo?.model_name, provider: modelInfo?.model_provider diff --git a/src/renderer/src/components/settings/AboutUsSettings.vue b/src/renderer/src/components/settings/AboutUsSettings.vue index 0487240d9c8b060642a2bd00c23173274b493727..e6e81c061e1d3d8d0a157389d2763c09bfc1e238 100644 --- a/src/renderer/src/components/settings/AboutUsSettings.vue +++ b/src/renderer/src/components/settings/AboutUsSettings.vue @@ -12,7 +12,7 @@
@@ -21,7 +21,7 @@ > @@ -30,7 +30,7 @@ diff --git a/src/renderer/src/components/settings/PromptSetting.vue b/src/renderer/src/components/settings/PromptSetting.vue index bd42a0aa3024d4476e6dbae39e0aed8f85cc58a4..4eeeecd5a58cec67bce969e042257bf6851ae4a3 100644 --- a/src/renderer/src/components/settings/PromptSetting.vue +++ b/src/renderer/src/components/settings/PromptSetting.vue @@ -932,7 +932,7 @@ const saveCurrentSystemPrompt = async () => { const resetDefaultSystemPrompt = async () => { try { - const originalContent = `You are DeepChat, a highly capable AI assistant. Your goal is to fully complete the user's requested task before handing the conversation back to them. Keep working autonomously until the task is fully resolved. + const originalContent = `You are PolyMind, a highly capable AI assistant. Your goal is to fully complete the user's requested task before handing the conversation back to them. Keep working autonomously until the task is fully resolved. Be thorough in gathering information. Before replying, make sure you have all the details necessary to provide a complete solution. Use additional tools or ask clarifying questions when needed, but if you can find the answer on your own, avoid asking the user for help. When using tools, briefly describe your intended steps first—for example, which tool you'll use and for what purpose. Adhere to this in all languages.Always respond in the same language as the user's query.` diff --git a/src/renderer/src/composables/usePageCapture.example.ts b/src/renderer/src/composables/usePageCapture.example.ts index 4b61bb449c522d2dbb2a8d24afd963256241c772..3200cd66f9fb92d891f2d46ee20cc7714aada26f 100644 --- a/src/renderer/src/composables/usePageCapture.example.ts +++ b/src/renderer/src/composables/usePageCapture.example.ts @@ -22,7 +22,7 @@ export function useMessageCapture() { isDark, version: appVersion.value, texts: { - brand: 'DeepChat', + brand: 'PolyMind', tip: t('common.watermarkTip'), model: modelName, provider: providerName diff --git a/src/renderer/src/i18n/zh-CN/about.json b/src/renderer/src/i18n/zh-CN/about.json index 88f9bfc1d980323f57262d359ff2c829e2ce70f8..ab6e080e6b2b2684de510b87e2428c72376418f3 100644 --- a/src/renderer/src/i18n/zh-CN/about.json +++ b/src/renderer/src/i18n/zh-CN/about.json @@ -1,6 +1,6 @@ { - "title": "DeepChat", - "description": "DeepChat是一个跨平台AI客户端,致力于让更多人便捷地使用AI。", + "title": "PolyMind", + "description": "PolyMind是一个跨平台AI客户端,致力于让更多人便捷地使用AI。", "website": "访问我们的网站", "disclaimerButton": "免责声明", "disclaimerTitle": "使用条款声明", diff --git a/src/renderer/src/i18n/zh-CN/mcp.json b/src/renderer/src/i18n/zh-CN/mcp.json index 21d95fcae54d70af75b7740ee1f7b5940ead645a..511f46fae6c95e51512f85c02779df6ad2415a48 100644 --- a/src/renderer/src/i18n/zh-CN/mcp.json +++ b/src/renderer/src/i18n/zh-CN/mcp.json @@ -168,15 +168,15 @@ }, "buildInFileSystem": { "name": "文件系统", - "desc": "让 DeepChat 能够操作本地文件" + "desc": "让 PolyMind 能够操作本地文件" }, "Artifacts": { "name": "Artifacts", - "desc": "让你的 DeepChat 输出的多样化的 Artifacts 内容" + "desc": "让你的 PolyMind 输出的多样化的 Artifacts 内容" }, "imageServer": { "name": "图片服务", - "desc": "开启后 DeepChat 中任意模型都能看懂图片,能生成图片" + "desc": "开启后 PolyMind 中任意模型都能看懂图片,能生成图片" }, "braveSearch": { "name": "Brave搜索", @@ -200,15 +200,15 @@ }, "builtinKnowledge": { "name": "内置知识库检索", - "desc": "DeepChat内置知识库检索服务,可以对DeepChat内置知识库内容进行检索" + "desc": "PolyMind内置知识库检索服务,可以对PolyMind内置知识库内容进行检索" }, "deepchat-inmemory/custom-prompts-server": { "name": "自定义提示词", - "desc": "DeepChat内置自定义提示词服务" + "desc": "PolyMind内置自定义提示词服务" }, "deepchat-inmemory/deep-research-server": { "name": "DeepResearch", - "desc": "基于博查搜索的DeepChat内置深度研究服务,(注意需要长上下文模型才能使用,上下文不足的模型可能会失败)" + "desc": "基于博查搜索的PolyMind内置深度研究服务,(注意需要长上下文模型才能使用,上下文不足的模型可能会失败)" }, "deepchat-inmemory/auto-prompting-server": { "name": "自动模板提示词", @@ -216,11 +216,11 @@ }, "deepchat-inmemory/conversation-search-server": { "name": "对话历史搜索", - "desc": "DeepChat内置对话历史搜索服务,可搜索历史对话记录和消息内容" + "desc": "PolyMind内置对话历史搜索服务,可搜索历史对话记录和消息内容" }, "deepchat-inmemory/meeting-server": { "name": "多智能体会议", - "desc": "DeepChat 内置会议服务,支持发起和主持多智能体讨论" + "desc": "PolyMind 内置会议服务,支持发起和主持多智能体讨论" }, "deepchat/apple-server": { "name": "macOS系统助手", diff --git a/src/renderer/src/i18n/zh-CN/settings.json b/src/renderer/src/i18n/zh-CN/settings.json index 96d513a35243bbc9a2e06be4e624fce442c0327b..25eb302e73a9227e9d66c3ba5431382186d2eaea 100644 --- a/src/renderer/src/i18n/zh-CN/settings.json +++ b/src/renderer/src/i18n/zh-CN/settings.json @@ -39,8 +39,8 @@ }, "contentProtection": "投屏保护", "contentProtectionDialogTitle": "投屏保护切换确认", - "contentProtectionEnableDesc": "开启投屏保护可以防止投屏软件捕获DeepChat主窗口,用来保护您的内容隐私。请注意,此功能不会彻底隐藏所有界面,请合理合规使用。并且,并不是所有投屏软件都遵守用户隐私设定,该功能可能会在一些不遵守隐私设定的投屏软件上失效,且部分环境中可能会残留一个黑色窗体。", - "contentProtectionDisableDesc": "关闭投屏保护将允许投屏软件捕获DeepChat窗口。", + "contentProtectionEnableDesc": "开启投屏保护可以防止投屏软件捕获PolyMind主窗口,用来保护您的内容隐私。请注意,此功能不会彻底隐藏所有界面,请合理合规使用。并且,并不是所有投屏软件都遵守用户隐私设定,该功能可能会在一些不遵守隐私设定的投屏软件上失效,且部分环境中可能会残留一个黑色窗体。", + "contentProtectionDisableDesc": "关闭投屏保护将允许投屏软件捕获PolyMind窗口。", "contentProtectionRestartNotice": "切换此设置将导致程序重启,请确认是否继续?", "soundEnabled": "启用音效", "copyWithCotEnabled": "复制COT信息", @@ -54,7 +54,7 @@ "loggingRestartNotice": "切换此设置将导致程序重启,请确认是否继续?", "openLogFolder": "打开日志文件夹", "notifications": "系统通知", - "notificationsDesc": "当 DeepChat 不在前台时,如有会话生成完毕会发送系统通知" + "notificationsDesc": "当 PolyMind 不在前台时,如有会话生成完毕会发送系统通知" }, "data": { "title": "数据设置", @@ -140,7 +140,7 @@ }, "functionCall": { "label": "函数调用", - "description": "模型是否原生支持函数调用(关闭这个选项后DeepChat会自动模拟函数调用)" + "description": "模型是否原生支持函数调用(关闭这个选项后PolyMind会自动模拟函数调用)" }, "reasoning": { "label": "推理能力", @@ -440,7 +440,7 @@ "githubCopilotNotConnected": "GitHub Copilot 未连接", "loginWithGitHub": "使用 GitHub 登录", "loggingIn": "登录中...", - "githubCopilotLoginTip": "点击授权 DeepChat 访问您的 GitHub Copilot 订阅", + "githubCopilotLoginTip": "点击授权 PolyMind 访问您的 GitHub Copilot 订阅", "loginSuccess": "登录成功", "loginFailed": "登录失败", "tokenValid": "令牌有效", @@ -458,7 +458,7 @@ "apiUrlLabel": "API URL", "anthropicConnected": "Anthropic 已连接", "anthropicNotConnected": "Anthropic 未连接", - "anthropicOAuthTip": "点击授权 DeepChat 访问您的 Anthropic 账户", + "anthropicOAuthTip": "点击授权 PolyMind 访问您的 Anthropic 账户", "oauthLogin": "OAuth 登录", "anthropicApiKeyTip": "请前往 Anthropic Console 获取您的 API Key", "anthropicOAuthFlowTip": "系统将自动打开授权窗口,授权后请回来输入授权码", @@ -477,7 +477,7 @@ "oauthVerifySuccess": "OAuth 连接验证成功", "oauthVerifyFailed": "OAuth 连接验证失败", "bedrockLimitTip": "* 仅支持 Anthropic Claude(包括 Opus,Sonnet,Haiku 模型)", - "bedrockVerifyTip": "DeepChat 使用 Claude 3.5 Sonnet 模型验证,若您无此模型的调用权限验证将失败。这不会影响其他模型的使用。" + "bedrockVerifyTip": "PolyMind 使用 Claude 3.5 Sonnet 模型验证,若您无此模型的调用权限验证将失败。这不会影响其他模型的使用。" }, "knowledgeBase": { "title": "知识库设置", diff --git a/src/renderer/src/i18n/zh-CN/update.json b/src/renderer/src/i18n/zh-CN/update.json index 898f916cf6480c1c5718aae0030d7d502f15ef44..1daa167d305d47ee21d980d12c4e7add99f0dd9e 100644 --- a/src/renderer/src/i18n/zh-CN/update.json +++ b/src/renderer/src/i18n/zh-CN/update.json @@ -12,5 +12,5 @@ "autoUpdate": "自动更新", "restarting": "正在重启", "alreadyUpToDate": "已经是最新版本了", - "alreadyUpToDateDesc": "您的 DeepChat 目前已经是最新版本,无需更新。" + "alreadyUpToDateDesc": "您的 PolyMind 目前已经是最新版本,无需更新。" } diff --git a/src/renderer/src/i18n/zh-CN/welcome.json b/src/renderer/src/i18n/zh-CN/welcome.json index ab83693a7ccdb48d6df703420b4da99b1cfbc0d1..d0140fe7481d1fc1db3b1d405e2bc6e02b2c2ffb 100644 --- a/src/renderer/src/i18n/zh-CN/welcome.json +++ b/src/renderer/src/i18n/zh-CN/welcome.json @@ -2,7 +2,7 @@ "steps": { "welcome": { "title": "欢迎", - "description": "让我们开始设置 DeepChat" + "description": "让我们开始设置 PolyMind" }, "provider": { "title": "模型服务商", @@ -17,7 +17,7 @@ "description": "一切就绪,可以开始使用了!" } }, - "title": "欢迎使用 DeepChat", + "title": "欢迎使用 PolyMind", "description": "让我们一起完成设置过程", "provider": { "select": "选择服务商",