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 03d9ebd
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mothership): keep local file tools running when the chat view changes
Local file reads and imports now take the same Stop-only lifetime as browser
actions: a history reconnect, a stream recovery or leaving the chat view
leaves them running so they finish and report, and only the user's Stop
cancels them.
The desktop-tool classifier in client-executed-tools.ts is removed in favour
of the single one in tools/desktop-tools.ts.
When the desktop app holds a call, confirm now answers 409 to any other
reporter (a stale replay, a lost race against the claim), and the client
treats 409 as final instead of retrying a 404 five times.
The not-started results now tell the model what it can act on: the action
never started; don't retry it in this turn; ask the user to keep the chat
open in the Sim desktop app. A local read the server cannot see picked up
is no longer described as started.
The obsolete admission probe script is deleted. Nothing ran it, it no longer
type-checked against the repository API, and the integration suites cover
the same admission behaviour against real Postgres.
'Not run: this chat is not open in the Sim desktop app, so nothing picked up this call and nothing happened on the user’s computer. It is safe to retry once the user opens this chat in the Sim desktop app.'
14
+
'Not run: this action never started, because nothing in the Sim desktop apppicked it up (this chat is not open there). Nothing happened on the user’s computer. 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.'
15
15
16
16
/** The model-facing result of a desktop call that was never picked up. */
'This tool started, but its result never came back, so it was abandoned to let the conversation continue. Its outcome is unknown: it may already have taken effect, so inspect the current state before repeating it, and do not retry it automatically.'
415
415
constDESKTOP_TOOL_RESULT_LOST_MESSAGE=
416
416
'The Sim desktop app started this action, but its result never came back (the chat view closed or the app stopped responding). Its outcome is unknown: it may already have taken effect, so inspect the current state before repeating it, and do not retry it automatically.'
417
+
/**
418
+
* A local read the server cannot see picked up (one an older desktop reads without claiming) may
419
+
* never have started; either way, reading changed nothing.
420
+
*/
421
+
constDESKTOP_LOCAL_READ_RESULT_MISSING_MESSAGE=
422
+
'No result came back from the Sim desktop app for this read: it may never have started (this chat may not be open there), or its result was lost. Reading changes nothing on the user’s computer. 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.'
417
423
constUNAVAILABLE_TOOL_SETTLEMENT_MESSAGE=
418
424
'The tool result could not be restored before the conversation resumed. Its outcome is unknown; do not retry it automatically.'
0 commit comments