Key features implemented: - Updated package metadata and dependencies in PKG-INFO, setup files - Added main.py entry point for backward compatibility with README launch method - Enhanced CLI with config options, system info command, and proper signal handling - Implemented minimal PluginManager loading only plugin-loader core plugin - Refactored PluginLoader to follow minimal core design, removed sandbox/isolation complexity - Updated auto-dependency plugin with safer PL injection mechanism and disabled pl_injection - Removed legacy plugin files (firewall, frp_proxy, ftp_server, multi_lang_deploy, ops_toolbox, security_gateway) as functionality moved to core plugin system - Improved gitignore with comprehensive ignore patterns The changes implement a minimal core framework design where only the plugin-loader is directly loaded by the core, with all other plugins managed through the PL injection mechanism, significantly simplifying the architecture.
plugin-loader 插件加载器
核心插件,负责扫描、加载和管理所有其他插件。
功能
- 自动扫描
store/目录 - 动态加载
main.py并调用New()获取实例 - 解析
manifest.json获取插件元数据 - 自动扫描插件能力(AST 分析)
- 按依赖关系排序加载顺序
- 关联能力提供者与消费者
使用
无需手动使用,框架启动时自动加载。