pub fn classify(
tools: &[&str],
bash_cmds: &[&str],
user_msg: Option<&str>,
text_chars: u32,
) -> ActivityExpand description
Classify a single assistant turn.
Arguments:
tools: tool names invoked in this turn (fromtool_usecontent blocks)bash_cmds: bash/shell command strings invoked (fromtool_use.input.command)user_msg: the preceding user message text, already lowercased+truncated vianormalize_user_text.Noneif there is no paired user turn (rare — happens for synthetic / SDK-initiated conversations).text_chars: number of text characters the assistant produced in this turn (sum oftextcontent blocks). Used to distinguish silent tool-only turns from pure-text conversations.