Expand description
Move an agent here from another pane of this AgentMux.
A second pane of an agent that is live in another pane is refused (open_in_other_pane). This
is the recovery the refused pane offers beside “Go there”: stop the pane that holds the agent
and let the refused pane have it. The holder pane stays open, showing the same notice with the
roles swapped, so the move can be undone from there.
Spec: docs/specs/SPEC_AGENT_SAME_PROCESS_DUPLICATE_PANE_RECOVERY_2026_10_01.md §4.3.
Constants§
- MOVE_
GRACE 🔒 - How long the holder’s turn in flight may finish before its CLI process is killed.
- MOVE_
WAIT 🔒 - How long the claimant waits for the holder’s lease to drop after the process is told to stop.
Functions§
- move_
here 🔒 - Stop the pane that holds
block_id’s agent, wait for the agent to be free, and tell the holder pane where it went.Okwith nofrom_blockwhen no other pane held it.