Clone the repo and tell pi to use your local copy:
git clone https://github.com/leohenon/pi-mux.git
cd pi-mux
pi install .No build step, pi runs the TypeScript directly. Edit the source, then /reload pick up changes. Must be in a tmux session.
npm install
npx tsc --noEmitsrc/
index.ts event hooks, commands
heartbeat.ts liveness files
swap.ts pool spawn + swap
mux-menu.ts /mux UI