Skip to main content

Module remote

Module remote 

Source
Expand description

Tower on another machine (SPEC_TOWER_TASK_MANAGER_PANE_2026_10_08.md §8.2): the host’s processes, sampled there by AgentMux’s helper (agentmux_remote::procs) and sent as one small frame per request.

  • SSH: the helper connection file browsing already uses (remote::files): one serve --stdio per host, its install consent and idle close unchanged.
  • WSL: the Linux helper this package ships, run inside the distribution straight from where it is installed (wsl.exe --cd <its folder> --exec ./agentmux-remote serve --stdio): nothing is copied in, no network.

Frames carry names, never command lines. A pane asks every couple of seconds while it is visible; two asking at once share a frame, so the CPU window isn’t halved.

Constants§

TOP
Rows per list (busiest, largest) a frame carries.

Functions§

is_local
Whether conn names this computer (no connection, local).
sample
A sample of conn’s processes. ask: where ssh’s prompts go (the pane that asked).
to_snapshot
A helper’s frame as the pane’s snapshot: a Host view, no tasks (a remote machine has no AgentMux panes to group by).
wsl_helper
The Linux helper running inside distro, started if it isn’t (also a WSL pane’s stats badge’s, blockstats.detail).