Skip to main content

agent_command

Function agent_command 

Source
pub fn agent_command(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. Project configuration cannot set [agents], so none is read.