feat(ipc): handle set-hook-failure-prefs from server settings UI

Wires hook failure notification mute checkbox to platform
setHookFailurePrefs and refreshes view state.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 04:05:12 -04:00
co-authored by Cursor
parent 1ea00cabc5
commit 43b5648f1c
+5
View File
@@ -105,6 +105,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState()
return true
}
if (t === 'set-hook-failure-prefs') {
await platform.setHookFailurePrefs(msg.prefs || {})
pushState()
return true
}
if (t === 'export-integration-worker-script') {
const script = platform.buildIntegrationWorkerScript(msg.templateId || 'message-logger')
send({