feat:插件依赖管理(如管

This commit is contained in:
SengokuCola
2025-06-15 23:53:23 +08:00
parent 16c0dd1b9a
commit 2fce679aa4
9 changed files with 1214 additions and 4 deletions

View File

@@ -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",
]