pub fn agent_command(agent: &str) -> Result<Command>
The agent’s command line: claude and codex run headless with edits allowed in the crate; anything else runs as given, reading the prompt on stdin.
claude
codex