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.
21 lines
482 B
JSON
21 lines
482 B
JSON
{
|
|
"metadata": {
|
|
"name": "code-reviewer",
|
|
"version": "1.0.0",
|
|
"author": "FutureOSS",
|
|
"description": "代码审查器 - 提供 oss check 功能,自动扫描代码问题",
|
|
"type": "tool"
|
|
},
|
|
"config": {
|
|
"enabled": true,
|
|
"args": {
|
|
"scan_dirs": ["store", "oss"],
|
|
"exclude_patterns": ["__pycache__", "*.pyc", "*.pyo"],
|
|
"max_file_size": 102400,
|
|
"report_format": "console"
|
|
}
|
|
},
|
|
"dependencies": [],
|
|
"permissions": ["*"]
|
|
}
|