feat(export): prioritize tab counts via lightweight api

This commit is contained in:
tisonhuang committed 2026-03-04 21:16:39 +08:00
1 parent adff7b9e1e
commit c6e8bde078
5 files changed
+162 -4

No files matched your search

+4
View File
@@ -912,6 +912,10 @@ function registerIpcHandlers() {
return chatService.getSessions()
})
ipcMain.handle('chat:getExportTabCounts', async () => {
return chatService.getExportTabCounts()
})
ipcMain.handle('chat:enrichSessionsContactInfo', async (_, usernames: string[]) => {
return chatService.enrichSessionsContactInfo(usernames)
})