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';