pub fn validate_plugin_manifest(
manifest: &PluginManifest,
root: &Path,
) -> Result<()>Expand description
Check a manifest before anything it declares is installed or run.
§Errors
An empty name, and any entry under skills, agents, hooks, mcp,
prompts, or bin that is absolute or escapes root — a plugin may only
point at files inside its own directory. Declared capabilities are not
checked: they are advisory disclosures, not something this can enforce.