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

+1
View File
@@ -130,6 +130,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
chat: {
connect: () => ipcRenderer.invoke('chat:connect'),
getSessions: () => ipcRenderer.invoke('chat:getSessions'),
getExportTabCounts: () => ipcRenderer.invoke('chat:getExportTabCounts'),
enrichSessionsContactInfo: (usernames: string[]) =>
ipcRenderer.invoke('chat:enrichSessionsContactInfo', usernames),
getMessages: (sessionId: string, offset?: number, limit?: number, startTime?: number, endTime?: number, ascending?: boolean) =>