43 lines
830 B
JSON
43 lines
830 B
JSON
{
|
|
"id": "pigway-agent",
|
|
"name": "PIGWay Raspberry Pi Agent",
|
|
"version": "1.2.2",
|
|
"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
|
|
}
|