pub async fn lint(directory: &Path, sample_query: &str) -> LintReportExpand description
Check a plugin directory: the manifest, the commands it names, and the output of one sample query against the item schema.
This runs the plugin’s query command — that is the point: the schema violations that break a plugin live in its output, not its manifest.