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