Title: Implement minimal core framework with PL injection and update build config
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.
This commit is contained in:
40
store/@{FutureOSS}/plugin-loader-pro/manifest.json
Normal file
40
store/@{FutureOSS}/plugin-loader-pro/manifest.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "plugin-loader-pro",
|
||||
"version": "1.0.0",
|
||||
"author": "FutureOSS",
|
||||
"description": "插件加载 Pro - 为 plugin-loader 提供熔断、降级、容错、自动修复等高级机制",
|
||||
"type": "enhancer"
|
||||
},
|
||||
"config": {
|
||||
"enabled": true,
|
||||
"args": {
|
||||
"circuit_breaker": {
|
||||
"failure_threshold": 3,
|
||||
"recovery_timeout": 60,
|
||||
"half_open_requests": 1
|
||||
},
|
||||
"retry": {
|
||||
"max_retries": 3,
|
||||
"backoff_factor": 2,
|
||||
"initial_delay": 1
|
||||
},
|
||||
"health_check": {
|
||||
"interval": 30,
|
||||
"timeout": 5,
|
||||
"max_failures": 5
|
||||
},
|
||||
"auto_recovery": {
|
||||
"enabled": true,
|
||||
"max_attempts": 3,
|
||||
"delay": 10
|
||||
},
|
||||
"isolation": {
|
||||
"enabled": true,
|
||||
"timeout_per_plugin": 30
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": ["plugin-loader"],
|
||||
"permissions": ["*"]
|
||||
}
|
||||
Reference in New Issue
Block a user