fn popup_window_target(
state: &AppState,
id: &str,
agent_id: &str,
) -> Result<String, (StatusCode, String)>Expand description
A popup window (a native window a pane’s page opened, id popup-…) may be
driven by the agent recorded when it opened, while that agent still owns
the pane that opened it and that pane isn’t waiting on the person
(SPEC_BROWSER_PANE_NATIVE_POPUPS_AGENT_DRIVEN_2026_10_08.md §5).