feat: 新增脚手架/开发模式/权限白名单/system-monitor插件
- 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:
22
oss/templates/mod/manifest.json
Normal file
22
oss/templates/mod/manifest.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "@{{ author }}/{{ mod_name }}",
|
||||
"version": "0.1.0",
|
||||
"description": "{{ description }}",
|
||||
"author": "{{ author }}",
|
||||
"license": "MIT",
|
||||
"type": "{{ mod_type }}",
|
||||
"main": "main.py",
|
||||
"enabled": true,
|
||||
"priority": 999,
|
||||
"runtime": {
|
||||
"language": "python",
|
||||
"entry_point": "main.py",
|
||||
"requirements": []
|
||||
},
|
||||
"capabilities": [],
|
||||
"services": {
|
||||
"provides": [],
|
||||
"consumes": []
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
Reference in New Issue
Block a user