pub fn agent_command(workspace: &Path, agent: &str) -> Result<Command>Expand description
Build a command for a native agent’s CLI with the same private home and
cleaned environment the daemon’s agent_<name> tool uses, so the agent’s
own sign-in stores credentials where delegated runs will find them.