github sunnoy/openclaw-plugin-wecom v1.4.0
v1.4.0 — 多账号支持(Multi-Bot)

latest releases: v3.0.1, v3.0.0, v2.4.0...
one month ago

🎉 新功能

多账号支持(Multi-Bot)

现在可以在一个 OpenClaw 实例中接入多个企业微信机器人,每个机器人独立配置、互不干扰。

{
  "channels": {
    "wecom": {
      "bot1": {
        "token": "Bot1 Token",
        "encodingAesKey": "...",
        "agent": { "corpId": "...", "corpSecret": "...", "agentId": 1000001 }
      },
      "bot2": {
        "token": "Bot2 Token",
        "encodingAesKey": "...",
        "agent": { "corpId": "...", "corpSecret": "...", "agentId": 1000002 }
      }
    }
  }
}

特性:

  • 字典式配置:channels.wecom 下每个 key 即为一个账号
  • 完全向后兼容:旧的单账号配置无需修改,自动识别为 default 账号
  • 独立路由:每个账号自动分配独立的 Webhook 路径(/webhooks/wecom/{accountId}
  • Agent 隔离:动态 Agent ID 按账号命名空间隔离
  • 冲突检测:启动时自动检测重复 Token / Agent ID

其他改进

  • 文件发送:LLM 生成的文件自动通过 Agent DM 发送
  • 沙箱路径解析:/workspace/ 路径自动映射到宿主机
  • 流式响应修复:双信号关闭机制防止流永不结束
  • 小文件处理:< 5 字节文件以文本形式内联发送

Closes #45

Don't miss a new openclaw-plugin-wecom release

NewReleases is sending notifications on new releases.