release: prepare Desktop 0.13.10

This commit is contained in:
mesalogo
2026-09-21 22:53:44 +08:00
parent 6c4c054180
commit a0b35d1192
24 changed files with 677 additions and 30 deletions
+3 -2
View File
@@ -7504,9 +7504,10 @@ export function registerIpcHandlers(
})
registerHandler(ipcChannels.tasksExecutionStats, (event, input: unknown) => {
assertTrustedSender(event, window)
return assistantDatabase.getExecutionStats(
return assistantDatabase.getExecutionStatsAsync(
executionStatsInputSchema.parse(input),
new Set([...activeRequests].filter(([, lease]) => lease.isReply && !lease.controller.signal.aborted).map(([id]) => id))
new Set([...activeRequests].filter(([, lease]) => lease.isReply && !lease.controller.signal.aborted).map(([id]) => id)),
join(app.getAppPath(), 'out/main/execution-stats-worker.js')
)
})
registerHandler(ipcChannels.tasksSetStatus, (event, input: unknown) => {