Preserve the fork's teams, session groups, widgets/Live Activities, skins,
DSH steering and custom Claude models while adopting upstream session-attached
jobs, tri-state pin policy, presence badges, ACP prompt timing, agent quotas
and the usage parser version.
Resolutions worth knowing:
- schema ladder is now v35; local v31→v32 chat attachments and upstream's
session-jobs step coexist, and v32→v33 installs jobs for existing fork DBs
- store keeps local Studio/live-activity/share/attachment stores alongside
upstream SessionJobsStore and SessionRedirectStore
- DSH steering stays enabled through upstream's capability map
- iOS keeps personal bundle ids, grouped sections and widgets; upstream's
presence badge, job line, sort order and Filter menu are integrated
- team tools and peer spawn remain, now gated by enabledTools
via [HAPI](https://hapi.run)
Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
- Decode DSH sessions by accepting workspace-write / danger-full-access
permission modes (the missing cases made the whole session detail fail to
decode, so pending ask_user_question requests never reached the card).
- Carry background task snapshots from Session/SessionPatch and let the
composer chip list the running task descriptions.
- Compact the nav subtitle to project + machine, add a tap-through session
info sheet, and hide the duplicated status wording.
- Mute archived rows: desaturated agent icon, secondary title, hint-coloured
detail/timestamp and an archivebox indicator.
- Add a Select Text action backed by a read-only UITextView so arbitrary
ranges (including cross-paragraph) select with native handles; enable
inline table selection too.
- Point home widget card taps at their session instead of the list, and keep
the list link only as the empty fallback.
- Update LastSeen tests for the optimistic read watermark semantics.
via [HAPI](https://hapi.run)
Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
iOS ignored SessionSummary.attachedJob, and its strict SessionPatch
decoder rejected every `attachedJob` SSE patch, so each job heartbeat
fell back to a REST list refetch while the row never showed the job.
- Decode AttachedJob on summaries (open-ended status, older rows without
a watermark gate as 0) and the versioned `attachedJob` patch, applied
only when strictly newer, as on web, so a lagged heartbeat cannot
resurrect a cleared job. Full-session events keep the row's job.
- A running job counts as working on the presence badge even when the
agent is idle or disconnected, keeps the session under Active only and
out of Archived only (web #1404).
- The row's second line shows the job instead of the project:
label · remaining or percent · elapsed, amber with "no heartbeat" after
15 minutes. No progress bar, so row height is unchanged.
- Document the patch in the SSE client contract and the iOS display in
the session jobs guide.
Track readable content revisions and durable read cursors in the hub. Acknowledge only rendered foreground tails, persist offline read operations, and preserve newer manual unread choices across devices.
Migrate existing history to a read baseline and cover pagination receipts with shared native conformance fixtures.
Persist and backfill the last user-message timestamp, and use it for deterministic session ordering across web and native clients while preserving manual pins.
Remove the fixed-order setting and guard ordering against transcript echoes, replayed messages, and stale REST/SSE updates. Add regression coverage and regenerate the SSE fixture.
* fix: list Claude background tasks from the snapshot instead of guessing
The status panel only had a count from `background_tasks_changed` and
reconstructed commands by regex-matching Bash results in loaded chat
history, so tasks whose start message was unloaded, auto-backgrounded
("moved to the background (ID: …)"), or non-Bash showed
"N running · exact command unavailable".
The hub now keeps the snapshot's tasks (id, type, description) on the
session alongside the count. The web panel lists them directly, using
the exact task ID to look up the Bash command when loaded and the
snapshot description otherwise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(web): only attribute a Bash command from its background launch result
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(native): accept backgroundTasks in strict session patch decoders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>