feat: 新增批量管理,支持批量删除和合并

This commit is contained in:
digua
2026-01-30 23:50:38 +08:00
committed by digua
parent 3d333476a5
commit 51ed4a9f53
12 changed files with 907 additions and 848 deletions
+9 -1
View File
@@ -165,6 +165,15 @@ interface ChatApi {
newMessageCount: number
error?: string
}>
exportSessionsToTempFiles: (sessionIds: string[]) => Promise<{
success: boolean
tempFiles: string[]
error?: string
}>
cleanupTempExportFiles: (filePaths: string[]) => Promise<{
success: boolean
error?: string
}>
}
interface Api {
@@ -193,7 +202,6 @@ interface MergeApi {
checkConflicts: (filePaths: string[]) => Promise<ConflictCheckResult>
mergeFiles: (params: MergeParams) => Promise<MergeResult>
clearCache: (filePath?: string) => Promise<boolean>
onParseProgress: (callback: (data: { filePath: string; progress: ImportProgress }) => void) => () => void
}
// AI 相关类型