fn target_of(
state: &AppState,
regs: &[AgentRegistration],
typed: &str,
) -> (String, String)Expand description
The name and uid a task is for, from what was typed: a registered agent, else an agent the identity store knows by uid (stopped now), else the bare name.