feat(export): prioritize tab counts via lightweight api

This commit is contained in:
tisonhuang
2026-03-01 16:32:48 +08:00
parent adff7b9e1e
commit c6e8bde078
5 changed files with 162 additions and 4 deletions

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)
})