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 e152d13
Browse filesBrowse the repository at this point in the historyBrowse files
feat(desktop): bind turns to a desktop and supervise their calls in the background
Wires the run loop to the background executor protocol, still inert until a
desktop that speaks it registers with the flag on:
- A desktop composer whose shell has a background executor sends its device
id and protocol version. Admission binds the run to that device only when
the flag is on for the user and the device is registered, as an executor,
to the caller's own session; otherwise the turn stays with the chat view.
- On a bound run every desktop call is persisted pending. Once it may run, a
supervisor offers it to the device and rings its doorbell, fails it at once
as not started when the device is offline, fails it as not started when no
one claims it within 15 s, and fails it as outcome unknown when a claimed
call's lease lapses. Every failure is sealed like a device result and woken
through the confirmation channel. A gated call rings an approval doorbell.
- The resume gate leaves bound desktop calls to that supervisor, so a long
terminal command lives as long as the device renews its lease, and the Sim
tool lease sweep no longer claims executor leases.
- The chat view's authorize and confirm routes refuse a bound run's calls,
and Stop rings the device so it cancels what it is running.
0 commit comments