Repository navigation
Description
On a v2 server, assistant turns, shell, and compaction should update the Session Chat timeline using TUI v2 event names — not only the unused session.next.* aliases from classic dev.
Mobile already maps session.next.step.ended / .failed, session.next.shell.*, and session.next.compaction.*. Official TUI v2 on origin/beta emits session.step.ended / .failed, session.shell.*, and session.compaction.*. Those names currently fall through, so the turn never settles, shell never becomes a transcript row, and compaction only flips idle.
Do not treat session.next. as a blind prefix strip: some next and non-next spellings already mean different things.
Parent
OPE-146 — Server API v2 Compatibility
Comparison: http://ivan-m2.local:8787/2026-08-18/2210-sse-event-sync--tui-v1--v2--mobile/
What to build
A live v2 turn completes, fails, runs a shell, or compacts with the same timeline effect mobile already has for the session.next.* twins. Idle still comes from execution settle, not from session.step.ended. Both platforms.
Acceptance criteria
-
session.step.endedfinalizes the assistant row (tokens / footer as today for thenexttwin) -
session.step.failedshows the step error and does not leave the row in-flight -
session.shell.started/.endedappear as a shell/bash transcript row, not status-only -
session.compaction.started/.delta/.ended/.failedupdate a compaction part;.ended/.failedare not idle-only -
session.step.endeddoes not mark the session idle - Existing
session.next.*mappings still work - iOS and Android stay in parity
Blocked by
None — can start immediately.
Imported from Linear OPE-179. Linear status: Done. Priority: High. Created 2026-08-18. Completed 2026-08-19.
Parent: OPE-183.
Related: OPE-146, OPE-183.
Activity