feat(ui-flow): automation health dashboard and digest notify prefs IPC

Handle get-automation-health-dashboard and set-automation-digest-notify-prefs
worker messages for server settings automation panel.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 05:46:16 -04:00
co-authored by Cursor
parent f2d3928e1d
commit 3e2af0f29f
+10
View File
@@ -201,6 +201,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
send({ type: 'automation-schedule-dashboard', dashboard })
return true
}
if (t === 'get-automation-health-dashboard') {
const dashboard = await platform.getAutomationHealthDashboard()
send({ type: 'automation-health-dashboard', dashboard })
return true
}
if (t === 'set-automation-digest-notify-prefs') {
await platform.setAutomationDigestNotifyPrefs(msg.prefs || {})
pushState()
return true
}
if (t === 'run-overdue-automation-schedules') {
const result = await platform.runOverdueAutomationSchedules()
pushState()