feat: 新增脚手架/开发模式/权限白名单/system-monitor插件
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.13) (push) Has been cancelled

- nebula create mod/key/list-templates 模组脚手架
- nebula dev 开发模式热重载
- manifest permissions.imports 权限白名单机制
- system-monitor 系统监控仪表盘插件
- 默认端口统一为 10086
- 修复 _init_nbpf 误读 Ed25519 私钥为 RSA 的 bug
- 更新 README.md 文档
This commit is contained in:
starlight-apk
2026-05-16 20:20:43 +08:00
parent bce27db4ac
commit 5fbc5cc335
14 changed files with 1225 additions and 312 deletions

View File

@@ -0,0 +1,45 @@
{
"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"
]
}
}