UNPKG

@gguf/claw

Version:

WhatsApp gateway CLI (Baileys web) with Pi RPC agent

20 lines (17 loc) 694 B
import type { OpenClawPluginApi } from "openclaw/plugin-sdk"; import { emptyPluginConfigSchema } from "openclaw/plugin-sdk"; import { bluebubblesPlugin } from "./src/channel.js"; import { handleBlueBubblesWebhookRequest } from "./src/monitor.js"; import { setBlueBubblesRuntime } from "./src/runtime.js"; const plugin = { id: "bluebubbles", name: "BlueBubbles", description: "BlueBubbles channel plugin (macOS app)", configSchema: emptyPluginConfigSchema(), register(api: OpenClawPluginApi) { setBlueBubblesRuntime(api.runtime); api.registerChannel({ plugin: bluebubblesPlugin }); api.registerHttpHandler(handleBlueBubblesWebhookRequest); }, }; export default plugin;