Skip to main content

Module browser_close_route

Module browser_close_route 

Source
Expand description

POST /api/v1/ui/browser/close: backs Browser’s close. An agent closes a browser tab it drives, when its job is done. The tab goes through the same check every other agent browser call does (target_block_id: it must still be the agent’s, not taken over, paused or another agent’s), then the shared close path, where the user has a few seconds to keep it. Only that tab closes: the pane’s other tabs, the person’s or another agent’s, stay, and the pane goes with it only when it was the last tab.

Functions§

handle_ui_browser_close 🔒