Expand description
The SSH hosts AgentMux’s helper has answered on (spec §7.1 of
SPEC_REMOTE_TERMINALS_AND_DURABLE_SESSIONS_2026_10_02.md): on such a host
a new terminal pane is durable unless the pane, the connection’s settings
or the global setting say otherwise. Kept in remote-helper-hosts.json
under AgentMux’s config dir; a host is its canonical connection name
(ConnTarget::name), so one host is one entry however it is spelled.
The same file keeps what AgentMux learned about each host for the Remotes
pane (SPEC_REMOTES_PANE_2026_10_05.md §4.6): its platform (uname -sm, from
the helper install’s probe) and the AgentMux version whose helper last
answered there.
Structs§
Constants§
Statics§
- LOCK 🔒
- Serializes read-modify-write of the file within this srv.
Functions§
- all_in
- Every host the helper has answered on, and every host’s record, by canonical name.
- canonical 🔒
- change_
in 🔒 - Change
connection’s record (and, withhelper, mark the helper as there), writing only when something changed. - forget_
helper forget_helper_inunder this instance’s config dir.- forget_
helper_ in - The helper was removed from
connection’s host: it is no longer a helper host, and no version is there. Its platform stays known. - known
known_inunder this instance’s config dir.- known_
in - Whether the helper has answered on
connection’s host. - path_in 🔒
- read 🔒
- record_
uname record_uname_inunder this instance’s config dir. Best effort.- record_
uname_ in - Record
connection’s platform, asuname -smprinted it. - remember
remember_inunder this instance’s config dir, for this AgentMux’s version. Best effort: a host not remembered only means its next pane is not durable by default.- remember_
in - Remember that the helper of AgentMux
versionanswered onconnection’s host. - write 🔒