Skip to content
Source
Sign inSign up
pingdotgg/t3code

Mobile: per-type push preferences (approval / input / completion / failure) #21515

Closedsaxyguy81(GitHub profile, opens in a new tab) opened this issue 1 comment

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

  1. Add four toggles under the app's notification settings (Approvals, Input requests, Completions, Failures), stored in mobile preferences next to liveActivitiesEnabled.
  2. 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.
  3. 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.

  1. 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.

  2. juliusmarminge added labelsenhancement

  3. juliusmarminge added labelsvia-triage

  4. juliusmarminge closed this

Sign in to join this conversation.