feat:插件依赖管理(如管
This commit is contained in:
@@ -16,10 +16,12 @@ from src.plugin_system.base.component_types import (
|
||||
ActionInfo,
|
||||
CommandInfo,
|
||||
PluginInfo,
|
||||
PythonDependency,
|
||||
)
|
||||
from src.plugin_system.apis.plugin_api import PluginAPI, create_plugin_api, create_command_api
|
||||
from src.plugin_system.core.plugin_manager import plugin_manager
|
||||
from src.plugin_system.core.component_registry import component_registry
|
||||
from src.plugin_system.core.dependency_manager import dependency_manager
|
||||
|
||||
__version__ = "1.0.0"
|
||||
|
||||
@@ -36,6 +38,7 @@ __all__ = [
|
||||
"ActionInfo",
|
||||
"CommandInfo",
|
||||
"PluginInfo",
|
||||
"PythonDependency",
|
||||
# API接口
|
||||
"PluginAPI",
|
||||
"create_plugin_api",
|
||||
@@ -43,6 +46,7 @@ __all__ = [
|
||||
# 管理器
|
||||
"plugin_manager",
|
||||
"component_registry",
|
||||
"dependency_manager",
|
||||
# 装饰器
|
||||
"register_plugin",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user