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
Add is_durable_observer_parent: observer-parent restore for owned cloud runs
When a user owns a /cloud-agent run but opens it via the shared-session
viewer path (e.g. through a shared link), this PR makes that pane restore
durably across restarts instead of opening a fresh compose pane.
What:
- AgentConversationData.is_durable_observer_parent: bool (persisted marker)
- mark_conversation_as_durable_observer_parent: stamps marker + task_id on
the parent placeholder when TaskOwnership::Owned is confirmed by OVM
- restore_durable_observer_parent_for_task: re-attaches the eagerly-hydrated
conversation to the restored ambient pane before shared-session replay
- Eager hydration in conversation_loader.rs: durable observer parents load
at startup with their event cursor, excluded from navigation history
- Durable-parent restore in ambient_pane_restoration.rs: RestoreOrNavigate
installs the persisted conversation in cloud-mode instead of fresh compose
Note: this could alternatively be replaced by making is_viewing_shared_session
persistent for all viewer conversations (not just owned ones), which would be
simpler. This PR keeps the feature isolated for independent evaluation.
Co-Authored-By: Oz <oz-agent@warp.dev>
0 commit comments