get_plugin_registry
Function
This function is defined in the plugins module.Return a truthful, unified view of all discoverable plugins. Combines three real sources — no hardcoded/fake entries:
- Entry-point plugins (installed pip packages registering in the
praisonai.pluginsgroup), reported with theirsourceas their distribution/entry-point provenance. - Registered
Plugininstances held by the :class:PluginManager. - Project/user single-file plugins discovered on disk (
.praisonai/pluginsand~/.praisonai/plugins), reported without executing them.
name, version, source
(entry_point | registered | single_file), enabled state,
hooks and description. Enabled state reflects both the live manager
and the persisted config allow-list, so a truthful CLI can render it
without a running agent.
Signature
Returns
list
List of plugin entry dicts.
Uses
get_plugin_managerget_enabled_pluginsmanager.is_enabledmanager.list_pluginsseen.add_md.entry_pointsdebuglogging.getLoggerdiscover_plugins
Source
View on GitHub
praisonaiagents/plugins/__init__.py at line 308
