tmux
tmux
The tmux worker drives the tmux binary on the host and reads the same tmux
server the person uses in their terminal. It reports every session, window
and pane with the foreground command, working directory and title, and adds
what tmux itself does not know: the agent CLI running in a pane (matched in
the pane's process tree) with a working / waiting / idle state read from the
pane's last lines, the iii compose daemon running in a pane with its
engine's WebSocket port and its workers' ports, and every TCP port this
user's processes listen on, each traced back to the pane that started it.
It also reads how much of their weekly and 5-hour allowance Claude Code and
Codex have used, and keeps several Claude Code accounts, each a config folder
of its own (CLAUDE_CONFIG_DIR); default is ~/.claude. The global
account is the one plain claude gets in a new tmux window (tmux's global
environment). A Claude Code pane follows the global account, is pinned to
one, or was started by hand (manual); sessions::list says which, per pane,
under claude.