You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OPE-181: Live-update session context from TUI v2 usage events #613
On a v2 server, Session Chat context / token usage should update while a turn runs, without leaving and re-entering the session.
TUI v2 patches cost and tokens from session.usage.updated and can refresh the turn footer from session.step.ended. Mobile only loads context over REST, so the bar stays stale during a live v2 turn.
While a v2 session is open, context usage (tokens / cost as the product already shows) updates from live usage events. Reconnect still refreshes from REST. v1 context loading stays as it is. Both platforms.
Acceptance criteria
session.usage.updated patches the open session’s context usage
The Session Chat context chrome updates without a manual refresh
Reconnect / server.connected still reseeds from REST
v1 context behavior is unchanged
iOS and Android stay in parity
Blocked by
None — can start immediately.
Imported from Linear OPE-181. Linear status: Done. Priority: Medium. Created 2026-08-18. Completed 2026-08-19.
Parent: OPE-183.
Related: OPE-193, OPE-183.
Activity