Skip to main content

notes

Function notes 

Source
pub(crate) async fn notes(state: &AppState, agent: &str) -> Vec<Value>
Expand description

The lines for agent’s Browser tool to end an answer with: one per pane of theirs that is zoomed, as the host holds it now. The host changes a zoom on its own (it follows a resize, drops one it could not apply, and loses one with a browser that slept), so each pane is asked about; a host that cannot be reached leaves what was recorded. Asked without waking a pane that sleeps.