feat(import): update demo data sources to 4 files

Switch from 2 demo files (group + private) to 4 files:
- demo-group.json
- demo-private-A-cuilan.json
- demo-private-B-wukong.json
- demo-private-C-spider.json

Update DemoImportResult.privateSessionId to privateSessionIds array
to support multiple private chat demos.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
diguaandCursor committed 2026-05-30 14:19:42 +08:00
1 parent b3c2b20a9f
commit fdb6d8f648
6 files changed
+65 -50

No files matched your search

+1 -1
View File
@@ -501,7 +501,7 @@ export const chatApi = {
): Promise<{
success: boolean
groupSessionId?: string
privateSessionId?: string
privateSessionIds?: string[]
error?: string
}> => {
return ipcRenderer.invoke('demo:downloadAndImport', locale)