pub async fn init_plugin_registry(
config: &PluginsConfig,
plugin_env: HashMap<String, String>,
) -> Arc<PluginRegistry>Expand description
Discover plugin manifests, instantiate ScriptPlugins, and register them.
plugin_env is injected into every plugin script invocation. Callers should
populate it with workspace context (ROBOTICUS_WORKSPACE,
ROBOTICUS_DELEGATION_DEPTH, etc.) so plugins can discover allowed paths.