Expand description
An agent’s deep-link open, carried to the window and its outcome carried back (docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md §4.2, R3, G9).
srv’s guard (server::deeplink_guard) has already let the open through when it reaches here. srv publishes
deeplink:open; the window that holds the tab carries it out with the app’s executor, which applies the rules only
the window can (R5, the caps and the typing queue of G3, G6), and answers deeplink.open.done. The answer is
accepted only from the proven AgentMux window (operator_only), so an agent can’t report an outcome for itself.
An open the window has not answered within WAIT_FOR is queued for the caller (the person is typing, the
app is starting); its outcome is recorded when it comes, until KEEP_FOR.
Structs§
- Command
Deep Link Open Done Data - Data for
deeplink.open.done. - Deep
Link Open Done Result - Deep
Link Outcome - What the window answers: the outcome of R3, as the executor gave it.
- Entry 🔒
Constants§
- COMMAND_
DEEPLINK_ OPEN_ DONE - KEEP_
FOR - How long a window may still carry an open out, and srv still records its outcome.
- REPLAY_
EVENTS 🔒 - How many opens a window that connects late is given (§8: the app is still starting; a queue of ten).
- WAIT_
FOR - How long the caller waits for the window’s answer before it is told
queued. Longer than the typing queue’s own wait (two seconds after the last keystroke, ten at most), so an open that waited for the person still answers.
Statics§
- ENTRIES 🔒
Functions§
- carry_
out - Publish
eventand wait up towindowfor the window’s outcome.Nonewhen none came in time: the caller saysqueued, andlaterecords the outcome if it comes before the event expires. - done
- The window’s outcome for open
id. - entries 🔒
- register
deeplink.open.done, accepted only from the proven AgentMux window (operator_only), never from an agent.
Type Aliases§
- Late
- What to do with an outcome that comes after the caller stopped waiting: record it.