2026-10-11 14:52:40 +08:00
|
|
|
{
|
|
|
|
|
"id": "pigway-agent",
|
2026-10-11 16:29:27 +08:00
|
|
|
"name": "PIGWay Raspberry Pi Agent",
|
2026-10-15 01:13:02 +08:00
|
|
|
"version": "1.3.2",
|
2026-10-11 14:52:40 +08:00
|
|
|
"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"
|
|
|
|
|
},
|
2026-10-15 00:35:02 +08:00
|
|
|
"legacy_connection_fields": true,
|
|
|
|
|
"collection": {
|
2026-10-15 01:13:02 +08:00
|
|
|
"interval_seconds": 4
|
2026-10-15 00:35:02 +08:00
|
|
|
}
|
2026-10-11 14:52:40 +08:00
|
|
|
}
|