pub fn detect(tb: &dyn Toolbox, tool: &str, opts: DetectOpts<'_>) -> ProbeExpand description
Detect a single tool: project-local first (it wins over a global install),
then PATH, then — only if allow_npx — an npx provisionable fallback,
else missing.