pub fn detect_npm() -> Result<PathBuf>Expand description
Detect the npm executable on PATH. Returns the resolved absolute path
on success, or an error with a download link when missing. Used by the
session-manager sidecar installer (Node.js sidecar that drives the
Claude Agent SDK and codex CLI).