feat(FN-3180): add dreams notification event and harden plugin setup sync

This merge lands four features: a new "dreams" notification event exposed through settings and docs (FN-3180), hardened plugin setup sync with test isolation improvements (FN-3573), and feedback-driven enhancements to the native shell connection manager (FN-3402). Core settings schema, the plugin AP

Fusion-Task-Id: FN-3180
This commit is contained in:
Fusion
2026-05-06 14:36:50 -07:00
committed by gsxdsm
parent ea485b28bb
commit f22db4d1fe
9 changed files with 20 additions and 8 deletions

View File

@@ -326,6 +326,7 @@ describe("GlobalSettingsStore", () => {
"planning-awaiting-input",
"gridlock",
"fallback-used",
"memory-dreams-processed",
]);
});

View File

@@ -138,8 +138,8 @@ describe("NotificationDispatcher", () => {
});
it("keeps ntfy defaults unchanged and adds notificationProviders default", () => {
const event: NtfyNotificationEvent = "in-review";
expect(event).toBe("in-review");
const event: NtfyNotificationEvent = "memory-dreams-processed";
expect(event).toBe("memory-dreams-processed");
expect(DEFAULT_GLOBAL_SETTINGS.ntfyEnabled).toBe(false);
expect(DEFAULT_GLOBAL_SETTINGS.ntfyTopic).toBeUndefined();
@@ -154,6 +154,7 @@ describe("NotificationDispatcher", () => {
"planning-awaiting-input",
"gridlock",
"fallback-used",
"memory-dreams-processed",
]);
expect(DEFAULT_GLOBAL_SETTINGS.notificationProviders).toEqual([]);
});

View File

@@ -32,6 +32,7 @@ export const DEFAULT_GLOBAL_SETTINGS = {
"planning-awaiting-input",
"gridlock",
"fallback-used",
"memory-dreams-processed",
],
ntfyDashboardHost: undefined,
webhookEnabled: false,

View File

@@ -226,7 +226,8 @@ export type NtfyNotificationEvent =
| "awaiting-user-review"
| "planning-awaiting-input"
| "gridlock"
| "fallback-used";
| "fallback-used"
| "memory-dreams-processed";
/** Known notification event types. Providers may support additional custom events. */
export const NOTIFICATION_EVENTS = [
@@ -238,6 +239,7 @@ export const NOTIFICATION_EVENTS = [
"planning-awaiting-input",
"gridlock",
"fallback-used",
"memory-dreams-processed",
] as const;
/** Notification event type. Known events plus provider-specific custom events. */