pub fn document_discovery_config(
base_dir: &Path,
directories: &[String],
) -> StringExpand description
Build the PluginInput::config JSON string for this plugin.
Centralized here so callers (the loader) don’t need to know the schema — the plugin owns its own config shape.