From 443544d1f7356107b670ac47e20f4d4afb453154 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 14 Aug 2026 09:42:50 +0800 Subject: [PATCH] fix(h5): show TKMind as the user-facing product name Keep the chat chrome, page title, and related copy aligned with the existing TKMind brand. Co-authored-by: Cursor --- index.html | 2 +- scripts/wechat-mp-menu.mjs | 2 +- src/components/FeedbackSubmitView.tsx | 3 ++- src/utils/appBrand.ts | 2 +- system-disclosure-policy.mjs | 5 +++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index e216820..48cd2fc 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ - Memind + TKMind
diff --git a/scripts/wechat-mp-menu.mjs b/scripts/wechat-mp-menu.mjs index f761608..31625ce 100755 --- a/scripts/wechat-mp-menu.mjs +++ b/scripts/wechat-mp-menu.mjs @@ -22,7 +22,7 @@ const MENU = { button: [ { type: 'view', - name: 'Memind', + name: 'TKMind', url: 'https://m.tkmind.cn', }, { diff --git a/src/components/FeedbackSubmitView.tsx b/src/components/FeedbackSubmitView.tsx index 8fa886e..676ce64 100644 --- a/src/components/FeedbackSubmitView.tsx +++ b/src/components/FeedbackSubmitView.tsx @@ -8,6 +8,7 @@ import { CHAT_IMAGE_MAX_SIDE, compressImageForUpload, } from '../utils/imageUpload'; +import { APP_DISPLAY_NAME } from '../utils/appBrand'; import { FeedbackPageHeader } from './FeedbackPageHeader'; import { VoiceInputButton } from './VoiceInputButton'; @@ -277,7 +278,7 @@ export function FeedbackSubmitView({ >
-

帮助我们改进 Memind

+

帮助我们改进 {APP_DISPLAY_NAME}

提交 Bug 或需求

你可以用文字描述、上传截图,或点击麦克风口述问题。我们会自动附带当前页面与设备信息,便于定位问题。 diff --git a/src/utils/appBrand.ts b/src/utils/appBrand.ts index 8e8cbb5..5bcb7b8 100644 --- a/src/utils/appBrand.ts +++ b/src/utils/appBrand.ts @@ -1,5 +1,5 @@ /** User-facing product name shown in nav, login, and page chrome. */ -export const APP_DISPLAY_NAME = 'Memind'; +export const APP_DISPLAY_NAME = 'TKMind'; /** Branded tagline suffix used on welcome and marketing surfaces. */ export const APP_DISPLAY_TAGLINE = `${APP_DISPLAY_NAME} 智趣`; diff --git a/system-disclosure-policy.mjs b/system-disclosure-policy.mjs index a682d94..ac7ed75 100644 --- a/system-disclosure-policy.mjs +++ b/system-disclosure-policy.mjs @@ -12,9 +12,10 @@ export const SYSTEM_DISCLOSURE_MODE = Object.freeze({ }); export const DEFAULT_SYSTEM_DISCLOSURE_REFUSAL = - '出于安全与隐私考虑,我不能提供 TKMind、Memind 或 MindSpace 的内部技术实现信息。我可以继续帮助你了解公开功能、使用方法、服务边界,或者讨论不针对本系统的一般性技术原理。'; + '出于安全与隐私考虑,我不能提供 TKMind 或 MindSpace 的内部技术实现信息。我可以继续帮助你了解公开功能、使用方法、服务边界,或者讨论不针对本系统的一般性技术原理。'; const DEFAULT_PRODUCT_NAMES = Object.freeze([ + 'tikmind', 'tkmind', 'memind', 'mindspace', @@ -42,7 +43,7 @@ const TECHNICAL_CATEGORY_PATTERNS = Object.freeze({ /(?:底层|内部|系统|技术|整体|服务|运行时|agent)\s*(?:架构|设计|实现|原理|机制)/iu, /(?:架构|设计|实现|原理|机制)\s*(?:图|说明|细节|文档|方案|是什|怎么|如何)/iu, /(?:技术栈|开发语言|编程语言|前端框架|后端框架|开源组件|内部组件|依赖版本|运行框架)/iu, - /(?:tkmind|memind|mindspace).{0,24}(?:关系|区别|协作|调用链|怎么工作|如何工作)/iu, + /(?:tikmind|tkmind|memind|mindspace).{0,24}(?:关系|区别|协作|调用链|怎么工作|如何工作)/iu, /\b(?:architecture|internals?|implementation|system design|runtime design)\b/iu, ], model_and_routing: [