- Add ui/src/api/push.ts with getVapidPublicKey, subscribe, unsubscribe methods - Add ui/src/hooks/usePushNotifications.ts with SW pushManager subscription flow - urlBase64ToUint8Array utility converts VAPID key for applicationServerKey - NotificationPermissionPrompt shows after 3rd agent response (engagement gate) - Checks nexus.notifPromptDismissed localStorage key for dismiss state - ChatPanel tracks agentResponseCount from assistant messages and renders prompt - Install idb package (missing dependency from plan 26-00 prerequisites) |
||
|---|---|---|
| .. | ||
| adapters | ||
| api | ||
| components | ||
| context | ||
| fixtures | ||
| hooks | ||
| lib | ||
| pages | ||
| plugins | ||
| types | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||