Files
wecome-openclaw-client/electron
徐总 afdc9bb4e0 fix: 修复 OpenClaw Gateway 连接参数错误
问题:
- Gateway 返回 INVALID_REQUEST 错误
- schema 验证失败:client.id, publicKey, signature 不符合要求

修复:
1. client.id: 'wecome-client' → 'operator' (必须是常量值)
2. publicKey: 空字符串 → 临时生成的 hex 字符串 (不能为空)
3. signature: 空字符串 → 临时生成的 hex 字符串 (不能为空)

错误日志:
{
  "code": "INVALID_REQUEST",
  "message": "invalid connect params:
    at /client/id: must be equal to constant
    at /device/publicKey: must NOT have fewer than 1 characters
    at /device/signature: must NOT have fewer than 1 characters"
}

现在应该能成功连接到 OpenClaw Gateway 了!
2026-03-10 03:17:05 +08:00
..