fn build_interactive( config: &HashMap<String, Value>, discovery: &Option<String>, resources: &Arc<PluginResources>, ) -> Result<Interactive, String>
Builds the interactive-mode configuration from the plugin config.