Revert "keep the Lock Screen agent card current with APNs pushes" (#7482)

Merged
SA
2mo ago
+43-23205

Reverts #7482. It was merged without Satya's review; the same change is reopened as a PR for review.

https://claude.ai/code/session_019R4jiQ8STC4BY594f4jjPc


Summary by cubic

Reverts the APNs push feature so the Lock Screen agent card is foreground-only again. Hosts no longer report agent status to the API, and the API no longer stores push tokens or sends Live Activity pushes; once the app closes, the card stops updating and shows Not updating.

  • Removes the v2_agent_status and v2_live_activity_tokens tables and their Drizzle migrations from the journal instead of adding a reversal.
  • Removes the APNs environment variables and mobile token registration hook; the widget goes back to displaying pre-formatted elapsed labels.

Summary by CodeRabbit

  • Changes
    • iOS Live Activity updates are now limited to when the app is open; cards may become stale after the app closes.
    • Elapsed times on Live Activity cards are displayed as readable labels such as “12m,” “1h,” or “3d.”
    • Automatic background updates and push-based Live Activity synchronization are no longer available.
    • Removed support for registering Live Activity push tokens and configuring Apple push notification credentials.