feat(ui-flow): automation digest export schedule IPC handlers

Add set-automation-digest-export-schedule and run-automation-digest-export-now
for scheduled email-style digest bundle exports in server settings.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 05:23:38 -04:00
co-authored by Cursor
parent 4633245da7
commit 5f96ee8b9d
+11
View File
@@ -227,6 +227,17 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
send({ type: 'worker-trial-matrix', result })
return true
}
if (t === 'set-automation-digest-export-schedule') {
await platform.setAutomationDigestExportSchedule(msg.schedule || {})
pushState()
return true
}
if (t === 'run-automation-digest-export-now') {
const out = await platform.runScheduledAutomationDigestExportNow()
pushState()
send({ type: 'automation-digest-export-scheduled', result: out })
return true
}
if (t === 'run-worker-install-trial') {
const result = await platform.runIntegrationWorkerTrial({
templateId: msg.templateId,