pub(crate) async fn run_remote(
state: &AppState,
who: &str,
action: &str,
agent: &str,
) -> Result<Value, (StatusCode, String)>Expand description
start or stop of agent for an agent on another machine (remote_ops::agent_ops): the same
code a local call runs, with who (slug@machine) as the actor. Such a caller owns no worker here,
so a stop of another agent always waits for the person’s override window.