pub fn partition_by_lane(
tool_calls: &[ToolCall],
) -> (Vec<ToolCall>, Vec<ToolCall>)Expand description
Partition tool calls into Query-lane (parallelizable) and sequential tools.
Query-lane tools (read, glob, grep, ls, search, list_files) are pure reads with no side effects — safe to execute in parallel. All other tools are executed sequentially to preserve side-effect ordering.