Files
openclaw/ui
Peter Steinberger da4ae86232 fix(ui): claim new-session handoffs on the direct chat route (#114377)
* test(ui): align new-session e2e with path routes and startup transcript

* fix(ui): claim new-session handoffs on the direct chat route

Deferred session navigation can route a pane straight onto the created
session key, which never runs the switch path that admits the one-shot
handoffs. The rejected turn then expired unclaimed instead of offering a
retry, and an accepted prompt stayed hidden until the transcript bootstrap
resolved. Mirror chat-state-route's admission on the direct branch.

Fixes #114374

* fix(ui): keep the projected first prompt above the replies it started

A pane that admits the accepted prompt before its transcript bootstrap
resolves leaves that row in chatMessages while the history request is in
flight. The merge then re-placed it as a late optimistic tail, and since
#113266 stable rows keep insertion order, the first turn rendered below the
tool activity it kicked off. The handoff reconciler owns that head row, so
exclude it from the late tail.
2026-07-27 04:34:17 -04:00
..