Skip to main content

Module user_attention

Module user_attention 

Source
Expand description

“An agent is waiting for you”, announced by srv for the calls to action it holds open: a browser hand-off or approval, an SSH consent or other host question, a widget install (docs/reports/REPORT_AGENT_ATTENTION_CTA_CONTRAST_AND_TONE_2026_10_10.md §2).

Each one publishes userattention with active: true when it starts and active: false when it ends, however it ends: the guard’s Drop sends the end. The frontend’s waiting-for-you registry turns them into the waiting tone, the tab flash and the OS notification for the pane, in the windows that show it (window_ids; empty means every window).

Structs§

Asking
The request is open while this lives.
UserAttentionEvent
One call to action srv holds open: the userattention event’s payload (mps_events::UserAttention), and a row of notify.attention’s list.

Functions§

open 🔒
The announcements open now, for a window that starts while one is.
open_requests
Every open announcement (active: true), oldest first.
publish 🔒