Files
DeepTutor/deeptutor/plugins/__init__.py
alanguan73 0c9093db90 feat(plugins): add the deeptutor.plugins entry-point loader (#908)
CapabilityRegistry.load_plugins() and /plugins/list already imported deeptutor.plugins.loader behind a try/except, but the module never existed — plugin discovery was a dead path. Implement it: discover manifests from the deeptutor.plugins entry-point group and instantiate BaseCapability subclasses. PluginManifest carries exactly the fields both call sites read.
2026-08-19 23:59:14 +08:00

14 lines
281 B
Python

"""DeepTutor plugin package — entry-point discovery lives in ``loader``."""
from deeptutor.plugins.loader import (
PluginManifest,
discover_plugins,
load_plugin_capability,
)
__all__ = [
"PluginManifest",
"discover_plugins",
"load_plugin_capability",
]