feat: 口头禅分析

This commit is contained in:
digua
2025-11-27 22:17:06 +08:00
parent 00eea87a11
commit 8e40b73836
6 changed files with 267 additions and 17 deletions

View File

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