Files
pigway-console-adapter-rasp…/plugin/manifest.json
T

46 lines
879 B
JSON
Raw Normal View History

{
"id": "pigway-agent",
"name": "PIGWay Raspberry Pi Agent",
"version": "1.3.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,
"collection": {
"interval_seconds": 1
}
}