mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 02:27:43 +00:00
* fix(mobile): leave Agent Session History when resuming a session from it Resuming always pushed the session screen, so Back from it landed on the history screen again (A -> B -> A). History now learns it was opened from a session (origin=session, as Source Control does): resuming into that same workspace pops back to it, anything else replaces the history screen. The history screen is a page in the shell, and the page could only ask the shell to push. The navigate notify gains an optional replace flag; a page with no in-page history asks the shell to replace its screen, and one with history below pops its own entry and has the shell push. Older shells strip the flag and push as before. Co-authored-by: zhangxaochen <3416677+zhangxaochen@users.noreply.github.com> * fix(mobile): show the resumed terminal on the session that opened Agent Session History Going back to the session screen below kept its old tab: the session pins its own pick over the host's caller-scoped snapshot. History now hands the resumed terminal to that session through the registry Source Control already uses for opened diffs, renamed to session-screen-handlers since it carries both. * refactor(mobile): positional replace flag on notifyNavigate, share the owned-session test fixture * fix(mobile): keep MobileWebShellScreen under its line cap --------- Co-authored-by: zhangxaochen <3416677+zhangxaochen@users.noreply.github.com>