- nebula create mod/key/list-templates 模组脚手架 - nebula dev 开发模式热重载 - manifest permissions.imports 权限白名单机制 - system-monitor 系统监控仪表盘插件 - 默认端口统一为 10086 - 修复 _init_nbpf 误读 Ed25519 私钥为 RSA 的 bug - 更新 README.md 文档
45 lines
828 B
JSON
45 lines
828 B
JSON
{
|
||
"name": "@NebulaShell/system-monitor",
|
||
"version": "0.1.0",
|
||
"description": "实时系统监控:CPU/内存/磁盘/网络/进程TOP,提供HTTP仪表盘和REST API",
|
||
"author": "NebulaShell",
|
||
"license": "MIT",
|
||
"type": "tool",
|
||
"main": "main.py",
|
||
"enabled": true,
|
||
"priority": 999,
|
||
"runtime": {
|
||
"language": "python",
|
||
"entry_point": "main.py",
|
||
"requirements": [
|
||
"psutil>=5.8.0"
|
||
]
|
||
},
|
||
"capabilities": [
|
||
"monitoring"
|
||
],
|
||
"services": {
|
||
"provides": [
|
||
"system-monitor"
|
||
],
|
||
"consumes": []
|
||
},
|
||
"config": {
|
||
"port": 10087,
|
||
"host": "0.0.0.0",
|
||
"interval": 5,
|
||
"max_history": 60
|
||
},
|
||
"permissions": {
|
||
"imports": [
|
||
"os",
|
||
"threading",
|
||
"json",
|
||
"time",
|
||
"collections",
|
||
"http",
|
||
"urllib",
|
||
"psutil"
|
||
]
|
||
}
|
||
} |