Skip to content

Answering agents from the lock screen

On herdr, agent_status is a field on every pane — nothing to install. On tmux, hooks you install stamp four @moshpit_* options onto the pane the agent runs in.

While Moshpit is running it sweeps every tracked session every 2s. On herdr the control poll is 2s while things move, easing to 8s once the tree goes quiet.

The lock-screen buttons run inside Moshpit, not in the widget. Each sends raw bytes into that pane — Enter, Esc, Ctrl-C, or your text. Nothing else.