diff --git a/docs/guide/faq.md b/docs/guide/faq.md index cdf76525..b292faad 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -63,6 +63,13 @@ Yes. Telegram is optional. You can use the web app directly in any browser or in 3. Navigate to the active session 4. Approve or deny the pending permission +### How do I receive notifications? + +HAPI supports two methods: + +1. **PWA Push Notifications** - Enable when prompted, works even when app is closed +2. **Telegram Bot** - See [Telegram Setup](/guide/installation#telegram-setup) + ### Can I start sessions remotely? Yes, with daemon mode: diff --git a/docs/guide/pwa.md b/docs/guide/pwa.md index 44478dd6..c91cc3c2 100644 --- a/docs/guide/pwa.md +++ b/docs/guide/pwa.md @@ -83,10 +83,23 @@ HAPI uses intelligent caching: ## Notifications -::: warning Work in Progress -Push notifications are planned for a future release. Currently, notifications work through: -- Telegram bot (recommended) -- Keeping the app open in background +HAPI supports push notifications to alert you when agents need attention. + +### Enable Notifications + +1. Open HAPI - a permission popup appears automatically +2. Tap **Allow** to enable notifications +3. If you missed the popup, go to system settings to grant permission + +### Notification Types + +| Type | When Sent | +|------|-----------| +| Permission Request | Agent needs your approval | +| Ready | Agent finished and awaits input | + +::: tip +If push notifications don't work in your region (e.g., FCM unavailable), use [Telegram integration](/guide/installation#telegram-setup) instead. ::: ## Managing Your PWA