pub fn command_uses_tool(root: &Path, command: &[String], tool: &str) -> boolExpand description
Resolve npm/pnpm/yarn script indirection before identifying a runner. This
is shared by discovery and the Rust-owned execution frontend so npm test
receives exactly the same adapter decision as an explicit runner command.