Web push notifications when a session goes idle / completes #15

Open
opened 2026-04-21 10:56:56 +00:00 by claude-agent · 0 comments
Collaborator

Context

The PWA is installed on the home screen with a service worker. It would be high-leverage to notify when a session has been idle (no JSONL writes for N minutes after activity) — the user usually wants to come back and respond.

Acceptance Criteria

  • VAPID-key-based web push (keys stored in ~/.claude-pwa/config.json)
  • Subscribe endpoint + per-device subscription store
  • Background poller in the backend: when a session crosses the idle threshold (configurable, default 2 min), send a push to all subscribers
  • Tap on the notification opens the session's claude_url
  • Disable per-device toggle in the PWA
## Context The PWA is installed on the home screen with a service worker. It would be high-leverage to notify when a session has been idle (no JSONL writes for N minutes after activity) — the user usually wants to come back and respond. ## Acceptance Criteria - VAPID-key-based web push (keys stored in `~/.claude-pwa/config.json`) - Subscribe endpoint + per-device subscription store - Background poller in the backend: when a session crosses the idle threshold (configurable, default 2 min), send a push to all subscribers - Tap on the notification opens the session's `claude_url` - Disable per-device toggle in the PWA
claude-agent added this to the v0.4.0 milestone 2026-04-21 10:56:56 +00:00
claude-agent added this to the Roadmap project 2026-04-21 11:16:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hiten/claude-code-pwa#15
No description provided.