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
Commit 1102530
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mothership): end desktop tools at sign-out and settle held reports as final
- Signing out cancels every desktop tool still running in the tab, so no
local read or browser action outlives the session that started it.
- Local file tools lease the turn captured at stream start, like browser
actions.
- The confirm route records a held_by_desktop outcome for its 409s, and the
page-exit reporter treats a 409 as final.
- A stale browser observation says it never started and not to retry it in
this turn.
'The Sim window closed while this browser action was in flight. It may already have taken effect. Do not retry it automatically; take a fresh browser snapshot before deciding what to do.'
110
110
constREPLAY_OUTCOME_UNKNOWN_MESSAGE=
111
111
'This browser action was recorded before the Sim page reloaded, but its terminal result could not be recovered. It may already have taken effect. Do not retry it automatically; take a fresh browser snapshot before deciding what to do.'
112
+
constSTALE_OBSERVATION_NOT_STARTED_MESSAGE=
113
+
'Not run: this browser observation never started, because it reached the Sim desktop app too late to run safely. Nothing happened in the browser. Do not retry it in this turn; tell the user to keep this chat open in the Sim desktop app, or to ask again later.'
112
114
constSTALE_STATEFUL_OUTCOME_UNKNOWN_MESSAGE=
113
115
'This browser action was delivered too late to recover its exact result. It may already have taken effect. Do not retry it automatically; take a fresh browser snapshot before deciding what to do.'
114
116
constREPLAY_GUARD_CAPACITY_MESSAGE=
@@ -593,7 +595,7 @@ export async function executeBrowserToolOnClient(
593
595
logger.info('Skipping stale browser tool event',{ toolCallId, toolName, age })
0 commit comments