Expand description
Asking before AgentMux’s helper is installed on a host (SPEC_REMOTES_PANE_2026_10_05.md §4.9).
The helper is software put on someone’s machine, so nothing is uploaded
until the user says so: in a modal over the pane that needs it
(sagas::pane_confirm; with no pane, the approval window), which agents
can neither read nor answer. conn:helper for the host, else
the global conn:helper, says ask (the default), always or never.
An install an agent’s pane sets off is always asked about, whatever the
setting: letting an agent use a host is not letting it install software
there.
The server installs the window and the settings (install) once srv is
up; until then (and in tests) there is no one to ask, so nothing installs.
Structs§
- Agent
Opening - An agent’s
pane.openon a host is in flight while this lives. - Answer
- The user’s answer to the question.
- Deps
- What
allow_installneeds from the server.
Enums§
- Need
- What needs the helper on a host: it decides what an answer given earlier for the host (since srv started) means now.
- Policy
- What the settings say for a host.
- Step
- What to do before installing.
Functions§
- allow_
install - Whether the helper may be installed on
connectionnow, for the paneblock_id(None: no pane, which counts as an agent’s doing).Errsays why not, for the pane to show. - begin_
agent_ open - Call before an agent’s
pane.openonconnection; hold the guard until the pane is noted (note_agent_pane). - forget_
answers - The helper was removed from
connection’s host: what was answered for it since srv started (Install, Not now, a failed try) no longer holds, and its next need asks again. A stored Always or Never is a setting, and stays. - install
- Called once, when srv is up.
- not_
installed - Whether
connection’s helper didn’t get installed for a terminal durable by default, since srv started. - note_
agent_ pane block_idwas opened byagent(a verified agent’spane.openon a host).- note_
not_ installed connection’s helper didn’t get installed for a terminal durable by default.- note_
unsupported connection’s host can’t run the helper (a Windows host, spec §6.4 of the remote-terminals spec): its durable panes run as plain SSH terminals.- outcome
- What an answer does: install or not, and what to store for the host.
- plain_
instead - Whether a durable pane on
connectionruns as a plain SSH terminal instead, because the user doesn’t want the helper there (§4.9: “Not now, or Never: the pane falls back”): the host is set to Never, or the user answered “Not now” for it since srv started. Set to Always, never. Also a host the helper can’t run on (a Windows host), whatever the setting. - question
- The question (§4.9).
- step
Alwaysinstalls andNeverrefuses without asking, for the user’s own panes only; an agent’s always asks.- unsupported_
host - Whether
connection’s host was found to be one the helper can’t run on.