last-done
Copy pageSwitches to the agent that most recently completed its task or is waiting for user input. Repeated invocations cycle through all done/waiting agents in reverse chronological order (most recent first). The cycle resets when a new agent finishes, so you always see the latest first.
This is a hidden command (not shown in --help), typically invoked via a tmux keybinding.
workmux last-doneHow it works
Section titled “How it works”- Finds all agents with “done” or “waiting” status.
- Sorts them by most recent status change first.
- Switches to the most recent one.
- On repeated invocations, advances to the next oldest agent in the list.
- When a new agent finishes (the most recent timestamp changes), the cycle resets back to the newest.
Tmux keybinding
Section titled “Tmux keybinding”Add to ~/.tmux.conf for quick access:
bind l run-shell "workmux last-done"Then press prefix + l to jump to the last completed or waiting agent. Press again to cycle to the next oldest.
Examples
Section titled “Examples”# Jump to the most recently completed/waiting agentworkmux last-done
# Press again to cycle to the next oldestworkmux last-doneRelated
Section titled “Related”- Status tracking explains how agent status is detected and displayed