Files
pigway-console-adapter-rasp…/plugin/manifest.json
T
2026-10-20 21:04:03 +08:00

56 lines
1.1 KiB
JSON

{
"id": "pigway-agent",
"name": "PIGWay Raspberry Pi Agent",
"version": "1.6.14",
"protocol_version": 1,
"entrypoint": "worker.py",
"runtime": "python3",
"capabilities": [
"refresh",
"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
},
"management_url": {
"label": {
"zh": "访问地址",
"en": "Access URL"
},
"type": "string",
"required": false,
"format": "http-origin"
}
},
"ui": {
"contract": "console-ui-v1",
"entrypoint": "ui/index.js"
},
"legacy_connection_fields": true,
"collection": {
"interval_seconds": 1
}
}