Skip to main content

hook_subagent

Function hook_subagent 

Source
pub fn hook_subagent(input: &str) -> (Option<String>, bool, String)
Expand description

What a hook call says about a subagent: its type when the call fired inside one (subagentType, or agent_type), and whether a stop gate already held it this turn (stopHookActive), and the agent’s id when the runner shares one session between a parent and its subagents.