Files
cindy/apps/mobile/plugins/notification-content
Dash ce3e341ea3 feat(notifications): answer questions and act on task alerts from the notification
Task alerts on iPhone can now be acted on without opening the app:

- A question the agent asked shows a custom card when the alert is expanded
  (task, full question, what each option means) with one system button per
  option, plus "Reply" and "Open task".
- A finished task can be replied to from the alert.
- A low-risk permission request whose whole operation fits the alert offers
  "Allow once" (unlocked device only) and "Deny".

The press is handled in the background: the app reconnects, re-reads the
pending request from the computer, and answers only the request the alert
described. A press that does not get through is reported with a local alert.
Login credentials become readable after first unlock so this works while the
phone is locked; a locked background cold launch is held instead of being
treated as signed out.

The agent Live Activity also gains a compact layout for the Apple Watch Smart
Stack.

Protocol: NotifyPayload gains an optional `action`. Old servers and apps
ignore it.

Native changes (new content extension target, background-work module,
notification categories, Keychain accessibility) change the mobile runtime
fingerprint and need a native release.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 18:05:27 +13:00
..