BlueBubbles(macOS REST)
状态:内置插件,通过 HTTP 与 BlueBubbles macOS 服务器通信。由于其更丰富的 API 和更简便的设置,推荐用于 iMessage 集成,优于旧版 imsg 渠道。 概述 通过 BlueBubbles 辅助应用在 macOS 上运行(bluebubbles.app)。 推荐/已测试版本:macOS Sequoia (15)。macOS Tahoe (26) 可用;但在 Tahoe 上编辑功能目前不可用,群组图标更新可能显示成功但实际未同步。 OpenClaw 通过其 REST API 与之通信(GET /api/v1/ping、POST /message/text、POST /chat/:id/*)。 传入消息通过 webhook 到达;发出的回复、输入指示器、已读回执和 tapback 均为 REST 调用。 附件和贴纸作为入站媒体被接收(并在可能时呈现给智能体)。 配对/白名单的工作方式与其他渠道相同(/channels/pairing 等),使用 channels.bluebubbles.allowFrom + 配对码。 回应作为系统事件呈现,与 Slack/Telegram 类似,智能体可以在回复前"提及"它们。 高级功能:编辑、撤回、回复线程、消息效果、群组管理。 快速开始 在你的 Mac 上安装 BlueBubbles 服务器(按照 bluebubbles.app/install 的说明操作)。 在 BlueBubbles 配置中,启用 web API 并设置密码。 运行 openclaw onboard 并选择 BlueBubbles,或手动配置: { channels: { bluebubbles: { enabled: true, serverUrl: "http://192.168.1.100:1234", password: "example-password", webhookPath: "/bluebubbles-webhook", }, }, } 将 BlueBubbles webhook 指向你的 Gateway 网关(示例:https://your-gateway-host:3000/bluebubbles-webhook?password=<password>)。 启动 Gateway 网关;它将注册 webhook 处理程序并开始配对。 新手引导 BlueBubbles 可在交互式设置向导中使用: ...