The TUI and tmux
The dashboard is where most of this product is used, and this page is the part that is not. If you live in a terminal, you can list the fleet, attach to any session, and drive the lifecycle without a browser — because both are views of the same daemon.
What is not here: the board, reviews, planning workspaces and the Manage screens have no terminal equivalent, and are not meant to.
The basics
Section titled “The basics”pm ls # every bucket, project and live session, most recent firstpm attach 23 # the session's terminal, in your shellpm interrupt 23 # send Ctrl-C into itpm kill 23 # stop the agent processpm attach replays the scrollback first and then goes live, so you are not
dropped into the middle of a sentence. Ctrl-\ detaches and leaves the agent
working — it is not a way to stop anything.
The same session can be attached here and open in the browser at the same time. Type in either.
The TUI
Section titled “The TUI”pm tuiThe fleet, full screen. j and k move through sessions, h and l switch
between a session’s agent terminal and the shells beside it, Enter attaches
into the selected one, and Ctrl-\ comes back out with it still running. q
quits.
It is the same list the dashboard shows, with the same ordering and the same needs-input sessions at the top.
For people who already live in tmux, there is glue rather than a replacement.
pm tmux status # one-line fleet summary in status-line markuppm tmux open 12 23 # open these sessions as tmux windowspm tmux open --needs-input # open every session currently waiting on youpm tmux pick # choose one from a tmux menupm tmux workspace # list saved workspacespm tmux workspace fleet # recreate one's layout as native splitspm tmux status is meant for status-right polling, so the fleet’s state ends
up in the status line you already have.
pm tmux open --needs-input is the one worth binding to a key: it opens
exactly the sessions that are asking for you, and nothing else.
Each window or pane it creates is running pm attach, so they are ordinary
attachments — detach, close, or leave them.
From another machine
Section titled “From another machine”Everything above also works against a daemon on another machine. Sign in to its dashboard address once, under a name you choose:
pm login https://pm.example.com --name work # asks for your username and passwordpm ls # the sessions on "work"pm attach 23 --name workpm tui --name workpm remotes # saved loginspm logout --name work # revoke it and forget itWhich daemon a command talks to:
- No saved login: the daemon on this machine, over its unix socket.
- One saved login and no local daemon running: that login.
- More than one choice, a local daemon plus a login or several logins: every
command needs
--name.--name localis the daemon on this machine. --socketorPM_SOCKETalways selects the local daemon.
--name goes before or after the subcommand. The exception is pm worker,
which has a --name of its own, so write pm --name work worker ... there.
A login is a device on the controller, listed under Devices in Settings next
to any phones, and revoking it there signs the CLI out. Its tokens are refreshed
for you. pm transcript and pm terminal transcript read files on the
controller’s disk and work only on the machine running the daemon.
If the controller serves a certificate your system does not trust, such as a
self-signed one, pm login shows the SHA-256 of its public key and asks before
pinning it. The daemon logs the same fingerprint when it starts, so you can
compare the two. Pass --pin <sha256> to skip the prompt, for example from a
script with --password-stdin. Over plain http:// the password and tokens
cross the network in the clear, and pm login says so.
Which to use
Section titled “Which to use”The dashboard is the frontend and has things the terminal does not: the board, reviews, plans, published previews. The TUI and the tmux glue are for when you are already in a terminal and want the fleet without leaving it, on this machine or on one you have signed in to.
Neither is a degraded mode. A session answered from pm attach is answered.