feat(FN-4178): add room message notification delivery

This merge implements room message notifications across the system, adding a core room event type, wiring the notification dispatcher to room activity, and delivering notifications via ntfy and webhook providers with updated settings UI and API routes.

Fusion-Task-Id: FN-4178
This commit is contained in:
Fusion
2026-05-12 13:25:29 -07:00
committed by gsxdsm
parent 8d4835998c
commit 044b1cba2f
20 changed files with 531 additions and 53 deletions

View File

@@ -344,6 +344,7 @@ describe("GlobalSettingsStore", () => {
"planning-awaiting-input",
"message:agent-to-user",
"message:agent-to-agent",
"message:room",
"gridlock",
"fallback-used",
"memory-dreams-processed",

View File

@@ -154,6 +154,7 @@ describe("NotificationDispatcher", () => {
"planning-awaiting-input",
"message:agent-to-user",
"message:agent-to-agent",
"message:room",
"gridlock",
"fallback-used",
"memory-dreams-processed",

View File

@@ -33,6 +33,7 @@ export const DEFAULT_GLOBAL_SETTINGS = {
"planning-awaiting-input",
"message:agent-to-user",
"message:agent-to-agent",
"message:room",
"gridlock",
"fallback-used",
"memory-dreams-processed",

View File

@@ -258,7 +258,8 @@ export type NtfyNotificationEvent =
| "fallback-used"
| "memory-dreams-processed"
| "message:agent-to-user"
| "message:agent-to-agent";
| "message:agent-to-agent"
| "message:room";
/** Known notification event types. Providers may support additional custom events. */
export const NOTIFICATION_EVENTS = [
@@ -273,6 +274,7 @@ export const NOTIFICATION_EVENTS = [
"memory-dreams-processed",
"message:agent-to-user",
"message:agent-to-agent",
"message:room",
] as const;
/** Notification event type. Known events plus provider-specific custom events. */