Files
hapi/ios/Hapi/Features
4387dc7f4a feat(ios): search message content and jump to the matched message
Port the H5 content-search scope to the native session list:

- The search field gains a Sessions/Content scope menu. Content mode
  debounces the hub's POST /sessions/content-search over the sessions
  visible under the current machine/status/unread filters, discards stale
  responses by generation, and surfaces loading, failure, and
  potentially-incomplete result states.
- Result rows keep the two-line contract: the matched snippet (plus a
  truncation mark) replaces the project line, while server relevance
  order is preserved.
- Tapping a hit passes its message id to the chat. A row already in the
  loaded transcript scrolls directly; otherwise the window controller
  loads the hub's bounded message-context page, enters history mode, and
  the chat scrolls/flashes the target. "Back to latest" still resets to
  the live tail because a context window is explicitly not the tail.

Adds content-search wire models, endpoint coverage, context-window
transition tests, and session-list model tests for scoping and rendering.

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

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-12-01 07:22:36 +08:00
..
2026-11-20 13:33:58 +08:00