Commit Graph
9 Commits
Author SHA1 Message Date
52ac85a3ba feat(ios): expand session creation and chat status surfaces
- Fetch Claude models from the machine catalog, expose the full grouped picker with per-model efforts, and remember launch defaults.
- Add directory quick-create, known-directory suggestions, live machine CPU/memory in filters, and the DeepSeek agent icon.
- Add the collapsible session status card (goal, tasks, subagents, terminals, team), context-usage meter, and compaction/background/fast/collaboration composer chips without the redundant inline model controls.
- Add code block line numbers, wrapping and collapse; per-message share and rewind; a floating session search that does not push the list; and move sign out to the bottom of Settings.

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

Co-Authored-By: HAPI <noreply@hapi.run>

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-08 11:59:29 +08:00
b098419645 feat(ios): add a manual widget refresh control
- Add an interactive refresh button to the home widget headers and medium Session Detail card.
- Record the last user-initiated refresh in the App Group and show its time beside the button for ten minutes as visible feedback.
- Keep the action reload-only: opening the app still performs the authenticated snapshot fetch.

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

Co-Authored-By: HAPI <noreply@hapi.run>

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-08 00:40:50 +08:00
19fd3b91df fix(ios,hub): keep widget snapshots fresh in the background
- Include the latest assistant preview in the silent-push fingerprint so result-only changes wake the phone; the status-only fingerprint missed results that landed while a session stayed working.
- Coalesce WidgetKit reloads (60s) and reload only installed widget kinds, with a fallback when configuration lookup is empty; the previous every-update/all-kind reloads exhausted the system redraw budget.
- Wait for AppModel/hub restoration on a cold silent-push launch instead of clearing the last good snapshot.
- Use a 15-minute widget timeline fallback and 60-second hub push throttle.
- Add the medium Session Detail layout with in-card paging, plain-text previews, status labels, and the hidden-row indicator.

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

Co-Authored-By: HAPI <noreply@hapi.run>

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-07 22:00:26 +08:00
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