Files
PIT_Channel/openclaw.plugin.json

88 lines
2.5 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/openclaw/openclaw/main/schemas/plugin.json",
"id": "openclaw-zhidui-channel",
"name": "智队频道",
"version": "1.0.0",
"description": "连接智队中枢实现多 Agent 协作",
"entry": "dist/index.js",
"minOpenClawVersion": "2026.3.0",
"author": "小白 🐶",
"license": "MIT",
"repository": "https://github.com/your-org/openclaw-zhidui-channel",
"homepage": "https://github.com/your-org/openclaw-zhidui-channel#readme",
"capabilities": {
"chatTypes": ["direct"],
"media": true,
"reactions": false,
"threads": false,
"blockStreaming": false
},
"configSchema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true,
"description": "启用智队频道"
},
"routerUrl": {
"type": "string",
"format": "uri",
"description": "智队中枢 WebSocket 地址"
},
"authToken": {
"type": "string",
"description": "认证 Token 或 ${ENV_VAR}"
},
"reconnectInterval": {
"type": "integer",
"minimum": 1000,
"default": 5000,
"description": "重连间隔(毫秒)"
},
"heartbeatInterval": {
"type": "integer",
"minimum": 1000,
"default": 30000,
"description": "心跳间隔(毫秒)"
},
"heartbeatTimeout": {
"type": "integer",
"minimum": 1000,
"default": 10000,
"description": "心跳超时(毫秒)"
},
"ackTimeout": {
"type": "integer",
"minimum": 1000,
"default": 30000,
"description": "消息确认超时(毫秒)"
},
"maxQueueSize": {
"type": "integer",
"minimum": 1,
"default": 100,
"description": "离线消息队列最大长度"
},
"accounts": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"name": { "type": "string" },
"routerUrl": { "type": "string" },
"authToken": { "type": "string" },
"reconnectInterval": { "type": "integer" },
"heartbeatInterval": { "type": "integer" },
"heartbeatTimeout": { "type": "integer" },
"ackTimeout": { "type": "integer" },
"maxQueueSize": { "type": "integer" }
}
}
}
},
"required": ["routerUrl"]
}
}