feat: publish standalone PIGWay Agent Console plugin
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"id": "pigway-agent",
|
||||
"name": "PIGWay Agent",
|
||||
"version": "1.0.0",
|
||||
"protocol_version": 1,
|
||||
"entrypoint": "worker.py",
|
||||
"runtime": "python3",
|
||||
"capabilities": [
|
||||
"status",
|
||||
"logs",
|
||||
"config",
|
||||
"services",
|
||||
"processes",
|
||||
"hardware"
|
||||
],
|
||||
"config_contract": "pigway-agent-v1",
|
||||
"connection_schema": {
|
||||
"url": {
|
||||
"label": {
|
||||
"zh": "设备地址",
|
||||
"en": "Device URL"
|
||||
},
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"format": "http-origin"
|
||||
},
|
||||
"token": {
|
||||
"label": {
|
||||
"zh": "设备 API 令牌",
|
||||
"en": "Device API token"
|
||||
},
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"secret": true
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"contract": "console-ui-v1",
|
||||
"entrypoint": "ui/index.js"
|
||||
},
|
||||
"legacy_connection_fields": true
|
||||
}
|
||||
Reference in New Issue
Block a user