@aiplus/openclaw-bridge
v1.0.1
Published
OpenClawBridge - OpenClaw Bridge channel plugin for remote control
Downloads
224
Maintainers
Readme
@aiplus/openclaw-bridge
OpenClawBridge 插件,通过 WebSocket 中转服务器实现远程控制,支持通过龙虾团小程序与 OpenClaw Agent 之间的消息桥接。
安装
npm install @aiplus/openclaw-bridge或使用 OpenClaw 插件命令:
openclaw plugins install @aiplus/openclaw-bridge配置
在 ~/.openclaw/openclaw.json 中添加:
{
"plugins": {
"allow": ["@aiplus/openclaw-bridge"],
"entries": {
"@aiplus/openclaw-bridge": {
"enabled": true,
"config": {
"apiKey": "your-api-key",
"sessionKey": "agent:main:main"
}
}
}
}
}配置完成后重启 Gateway:
openclaw gateway restart配置项
| 配置项 | 必填 | 说明 |
|--------|------|------|
| apiKey | ✅ | Bridge Server 的 API Key,通过龙虾团小程序注册龙虾获取 |
| sessionKey | ❌ | OpenClaw 会话标识,默认 agent:main:main |
| debug | ❌ | 开启调试日志,默认 false |
多账户模式
{
"plugins": {
"entries": {
"@aiplus/openclaw-bridge": {
"enabled": true,
"config": {
"accounts": {
"account1": {
"apiKey": "api-key-1",
"sessionKey": "agent:bot1:main"
},
"account2": {
"apiKey": "api-key-2",
"sessionKey": "agent:bot2:main"
}
}
}
}
}
}
}