Commit Graph
6 Commits
Author SHA1 Message Date
2fd8c4e553 feat(ios): make the session-detail widget configurable
- Replace the automatic Focus card with Session Detail configured by a
  session picker (AppIntentConfiguration + AppEntity).
- Multiple Session Detail widgets can be added and stacked in a Smart
  Stack, each bound to a different session.
- Keep the automatic fallback when no session is selected or it vanished.
- Bump the local build to 31.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-07 12:33:31 +08:00
339bd35ee3 feat(ios): add one-session focus widget
Large detail card for the most relevant session: task, latest assistant
result, status/time and todo progress; tapping opens the chat. Reloads with
the other home widget kinds.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-07 12:09:06 +08:00
df656cb803 feat(ios,hub): add running and review widgets
- Hub: store the latest assistant result preview per session, backfill
  existing rows, and expose lastAssistantMessagePreview in the session list.
- iOS: carry lastResult in the widget snapshot and add Running + Review
  widget kinds. Running shows the task given to the agent; Review shows
  unread assistant results. All home widget kinds reload together.
- Keep unread markers on running rows; Review excludes running so it only
  shows finished results.
- Bump the local build to 29.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-07 09:52:40 +08:00
5f511d7684 feat(ios): polish session widgets and live activity surfaces
- Group the large widget into running/active sections, show up to nine
  sessions, and use the last human prompt as the subtitle.
- Show compact status icons plus web-style relative times, right-aligned.
- Mirror the per-install push key into the protected App Group container so
  the Live Activity extension and NSE can decrypt while the data-protection
  Keychain is unavailable on the Lock Screen.
- Redesign the Lock Screen card and Dynamic Island compact/expanded/minimal
  states; Live Activities are now opt-in and recovered activities are ended
  when disabled.
- Rename the app and widget display name to Happy Coding; bump the local
  build to 10.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-07 00:22:34 +08:00
eb4fa1806f feat(ios): add snapshot-backed home and lock screen widgets
- add the WidgetSnapshot contract, App Group store, status/title builder
- write debounced snapshots from SessionListStore; NSE refreshes them
  from decrypted pushes and reloads widget timelines
- add small/medium/large, accessory, and StandBy widget families with
  attention-first rows and session deep links
- add App Group entitlements for the app, NSE, and widget extension
- document the snapshot data flow and privacy properties
- cover selection, title fallback, store round-trip, and push updates

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-06 20:42:11 +08:00
b81c6be39b feat(ios): add lock-screen Live Activities for running sessions
Hub:
- add encrypted Live Activity token registry, registration API, and
  update/end pushes over direct APNs
- enable only for HAPI_IOS_PUSH=apns; relay reports remote:false
- keep content-state encrypted with the per-install push key and a
  domain-separated AAD

iOS:
- add ActivityKit coordinator, HapiWidgets extension, lock-screen and
  Dynamic Island UI, encrypted content-state, deep links, and settings toggle
- cap concurrent activities and reconcile across hub switches

Docs/tests:
- native contract, privacy, READMEs, localization catalogs
- cross-language cipher fixture and hub/iOS unit tests

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-06 19:18:09 +08:00