Expand description
POST /api/v1/ui/browser/retake and /handoff_status: an agent drives again a pane the person took over once they
gave it back, and asks what became of a hand-off whose call it lost
(docs/specs/SPEC_BROWSER_RETAKE_AND_COMMANDEER_2026_11_04.md §1). Neither goes through target_block_id: a retake is
asked for a pane the agent no longer owns, so the rule is browser_owner::may_retake, and the caller’s identity is
checked the same way every agent browser call checks it. The person’s Give back arrives from the host
(give_back, called by handle_host_browser_attention), never from a client.
Functions§
- give_
back 🔒 - The person’s Give back on
block_id, relayed by the host: the agent that drove the pane last may retake it. Written to the block’s meta too, so it holds after an srv restart. - handle_
ui_ 🔒browser_ handoff_ status - handle_
ui_ 🔒browser_ retake - limit_
of 🔒 - The sites the pane was limited to, as its header recorded them (
browser:allowed_origins). - since_
person_ 🔒input - How long ago the host last saw the person use
pane’s page (Duration::MAXif it never has), or None when the host cannot say, which keeps the pane the person’s until they give it back. - trimmed 🔒