OpenClaw 已移除 BlueBubbles channel。iMessage 支持现在通过内置 imessage 插件运行,使用 imsg 通过 stdin/stdout 进行 JSON-RPC 通信。

变更内容

  • 不再有 BlueBubbles HTTP 服务器、webhook 路由、REST 密码或插件运行时
  • OpenClaw 通过 imsg 在已登录 Messages.app 的 Mac 上读写消息
  • Linux/Windows Gateway 可通过 SSH wrapper 使用 iMessage

迁移步骤

  1. 安装并验证 imsg:
brew install steipete/tap/imsg
imsg --version
imsg chats --limit 3
  1. 授予 Full Disk Access 和 Automation 权限

  2. 更新配置:

{
  channels: {
    imessage: {
      enabled: true,
      cliPath: "/opt/homebrew/bin/imsg",
      dmPolicy: "pairing",
      allowFrom: ["+15555550123"],
    },
  },
}
  1. 重启 Gateway 并验证:openclaw channels status --probe

迁移注意事项

  • channels.bluebubbles.serverUrl 和 password 在 iMessage 中无对应项
  • allowFrom、groupAllowFrom、groups、includeAttachments 均有对应配置
  • ACP bindings 中 channel: "bluebubbles" 需改为 channel: "imessage"
  • 旧 BlueBubbles session key 不会自动转换为 iMessage session key

相关页面