feat(rain): add date preset picker and reduce time clarification prompts.
Memind CI / Test, build, and release guards (push) Successful in 5m5s

Default to last 3 days in UI and backend, only ask when time is truly ambiguous, and treat「做成页面」as HTML report pages without follow-up questions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-07 16:54:11 +08:00
parent 7cc3fb7f8a
commit d2d463b1db
11 changed files with 230 additions and 24 deletions
+2
View File
@@ -100,6 +100,7 @@ type ChatSubmitOptions = {
pgRequired?: boolean;
imageGenerationMode?: ImageGenerationMode;
selectedChatSkill?: string;
rainTimePreset?: import('../utils/rainTimeRange').RainTimePresetId;
fileAttachments?: ChatFileAttachment[];
goalRunId?: string;
};
@@ -1874,6 +1875,7 @@ export function useTKMindChat(
...(options?.pgRequired ? { pgRequired: true } : {}),
imageGenerationMode: options?.imageGenerationMode ?? 'auto',
...(options?.selectedChatSkill ? { selectedChatSkill: options.selectedChatSkill } : {}),
...(options?.rainTimePreset ? { rainTimePreset: options.rainTimePreset } : {}),
},
};