The relay already supports per-device alert preferences: RelayAgentAwarenessPreferences has notifyOnApproval,
notifyOnInput, notifyOnCompletion and notifyOnFailure, and alertAllowedForPhase
(infra/relay/src/agentActivity/agentActivityAlerts.ts) honors them. The mobile app always registers all four as
true, though (apps/mobile/src/features/agent-awareness/registrationPayload.ts,
makeRelayDeviceRegistrationRequest), and no setting changes them. The web "Mobile clients" page only displays them
(MobileClientsUserProfilePage.logic.ts).
On an environment that runs many agents in parallel, this means a push for every finished thread. Users then turn
notifications off entirely and lose the alerts that matter (an agent waiting for input or approval, or a failure).
Proposal
- Add four toggles under the app's notification settings (Approvals, Input requests, Completions, Failures),
stored in mobile preferences next to
liveActivitiesEnabled.
- Send them in
makeRelayDeviceRegistrationRequest instead of the hardcoded true, and re-register when they
change. The registration endpoint already carries them, so no relay or contract change is needed.
- Optional: make the web "Mobile clients" page editable through the same registration preferences.
Defaults can stay all-on, so behavior is unchanged for existing users.
Note
Grok responding on behalf of Julius.
Thanks for the detailed write-up. This is a feature request, so it belongs in Ideas, where it sits next to the related web and desktop proposal in #12976. We'll move it there.