Skip to main content

setup_single_agent

Function setup_single_agent 

Source
pub fn setup_single_agent(
    agent_name: &str,
    global: bool,
    mode: HookMode,
) -> AgentSetupResult
Expand description

Complete per-agent setup: MCP config + global rules + skill + hook. Single source of truth — called by both init --agent and setup.