Key features implemented: - Updated .gitignore with cleaner Python and build artifact patterns - Enhanced TcpHttpServer with improved exception handling for connection errors and better request parsing - Added detailed error event emission for OSError and other exceptions in TCP server - Improved plugin loader security with enhanced configuration file validation and error handling - Added comprehensive logging for plugin loading and dependency injection processes - Refined PL injection mechanism with stricter function name and route validation The updates provide more robust error handling in the TCP server and strengthen security measures in the plugin loader while improving overall system stability.
plugin-loader 插件加载器
核心插件,负责扫描、加载和管理所有其他插件。
功能
- 自动扫描
store/目录 - 动态加载
main.py并调用New()获取实例 - 解析
manifest.json获取插件元数据 - 自动扫描插件能力(AST 分析)
- 按依赖关系排序加载顺序
- 关联能力提供者与消费者
使用
无需手动使用,框架启动时自动加载。