feat(FN-2866): wire provider-backed notification service into engine

- Add notification service module with provider abstractions and ntfy provider implementation
- Refactor NtfyNotifier into a compatibility wrapper that delegates task-event delivery to NotificationService
- Initialize and stop NotificationService from ProjectEngine while preserving gridlock notifications via NtfyNotifier
- Export notification APIs from engine index and add focused unit coverage for provider, service, and project-engine wiring
This commit is contained in:
Fusion
2026-04-28 09:22:46 -07:00
committed by gsxdsm
parent a7670dd612
commit 7e83521f22
9 changed files with 629 additions and 158 deletions

View File

@@ -72,6 +72,14 @@ vi.mock("../notifier.js", () => ({
NtfyNotifier: vi.fn().mockImplementation(() => ({
start: vi.fn(async () => undefined),
stop: vi.fn(),
notifyGridlock: vi.fn(),
})),
}));
vi.mock("../notification/index.js", () => ({
NotificationService: vi.fn().mockImplementation(() => ({
start: vi.fn().mockResolvedValue(undefined),
stop: vi.fn(),
})),
}));