From a4bec3d018d6265e7a03bfaa2efab44d6520436e Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Fri, 11 Sep 2026 17:06:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E4=B8=8B=E3=80=8C=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E6=8F=90=E9=86=92=E3=80=8D=E5=81=8F=E5=A5=BD=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E5=8D=95=E9=94=AE=E3=80=81=E4=B8=8D=E6=8C=89=E5=85=A5=E5=8F=A3?= =?UTF-8?q?=E5=88=86=E5=9F=9F=E7=9A=84=E7=90=86=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 该键关掉的只有聊天输入区的「发送前提醒」;资源侧生成素材与快速编辑没有可关的提醒,润色是显式按钮动作 - 分域只在「每个入口都有可关的提醒」时才有意义,现在分域等于给不存在的提醒提前留位 - 只补注释,不改行为与断言 --- .../src/features/project-workspace/chatPromptPolish.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src/features/project-workspace/chatPromptPolish.ts b/apps/ai-game-creator-shell/src/features/project-workspace/chatPromptPolish.ts index adc32db8b..68372d749 100644 --- a/apps/ai-game-creator-shell/src/features/project-workspace/chatPromptPolish.ts +++ b/apps/ai-game-creator-shell/src/features/project-workspace/chatPromptPolish.ts @@ -4,7 +4,14 @@ import { chatReferenceListKey, } from './resourceReferences'; -/** 「不再提醒」偏好存本机 localStorage,不进 manifest、不进后端。 */ +/** + * 「不再提醒」偏好存本机 localStorage,不进 manifest、不进后端。 + * + * **刻意只留这一个全局键,不按入口分域**:它关掉的是聊天输入区那一条「发送前提醒」 + * (≥40 字、非 `/` 命令)——资源侧的生成素材 / 快速编辑没有这条提醒可关,润色在那里 + * 是显式按钮动作,不存在被打断的场景。分域只有在「每个入口都有可关的提醒」时才有意义, + * 现在分域等于给不存在的提醒提前留位。 + */ export const CHAT_PROMPT_POLISH_REMINDER_STORAGE_KEY = 'agc.chat.prompt-polish-reminder.disabled';