feat: 新增复读分析

This commit is contained in:
digua
2025-11-27 21:58:01 +08:00
parent 84bfab0b43
commit 00eea87a11
7 changed files with 577 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import type {
DailyActivity,
MessageType,
ImportProgress,
RepeatAnalysis,
} from '../../src/types/chat'
interface TimeFilter {
@@ -33,6 +34,7 @@ interface ChatApi {
getDbDirectory: () => Promise<string | null>
getSupportedFormats: () => Promise<Array<{ name: string; platform: string }>>
onImportProgress: (callback: (progress: ImportProgress) => void) => () => void
getRepeatAnalysis: (sessionId: string, filter?: TimeFilter) => Promise<RepeatAnalysis>
}
interface Api {