Commit Graph
8 Commits
Author SHA1 Message Date
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
18b955615e fix(push): show HappyCoding in notification fallbacks
- The generic APNs alert (used when the notification service extension
  cannot decrypt the envelope) and the extension's own fallback title
  still said "HAPI", so notifications presented the old name.
- Align the Android relay fallback title with the renamed app.
- Bump the local build to 26.

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

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: OpenCode <noreply@opencode.ai>
2026-11-07 07:03:29 +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
a4ff51d216 chore(ios): use personal team and bundle identifiers for local builds
- set team X75CUV458P
- app com.wusu.hapi; widget/NSE/tests use the same prefix
- App Group group.com.wusu.hapi and Keychain group com.wusu.hapi.push

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

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-06 21:04:11 +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
weishu e1093466c9 feat(ios): support macOS through Mac Catalyst
Build the app and notification extension for Mac Catalyst with the Mac
idiom, so Macs get a 1:1 native window instead of the scaled iPad app.
The Mac build keeps the run.hapi.app bundle ID and adds Mac entitlements
(sandbox, network, microphone, user-selected files, Mac APNs).

- Always use the split on Mac with a sidebar list style, denser rows,
  14pt reading text, a hidden duplicate titlebar title, a minimum window
  size and page-sized sheets; open web links in the default browser and
  hide the unavailable live QR scanner.
- Add menu bar / hardware-keyboard commands: New Session, Settings,
  Toggle Sidebar, a Session menu (settings, files, rename, export, stop,
  previous/next session) and a guide link.
- Composer: Return sends on Mac (Shift/Option-Return for a newline, IME
  untouched, first suggestion picked); dropped files and pasted images or
  copied files become attachments on all platforms.
- CI builds Mac Catalyst and runs the navigation, split and transcript
  geometry tests there; README documents the Mac build.
2026-11-03 11:15:11 +08:00
weishu e0db9c6815 fix(notifications): distinguish user questions from permission requests 2026-09-13 12:41:38 +08:00
weishu e289a0a776 feat(ios): push — APNs registration, E2E notification service extension, actions (P3) 2026-08-18 21:07:15 +08:00