2026-01-30 03:15:10 +01:00
|
|
|
import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
|
|
|
|
|
import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
|
2026-01-18 03:17:30 +00:00
|
|
|
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)",
|
2026-01-19 03:38:51 +00:00
|
|
|
configSchema: emptyPluginConfigSchema(),
|
2026-01-30 03:15:10 +01:00
|
|
|
register(api: OpenClawPluginApi) {
|
2026-01-18 03:17:30 +00:00
|
|
|
setBlueBubblesRuntime(api.runtime);
|
|
|
|
|
api.registerChannel({ plugin: bluebubblesPlugin });
|
|
|
|
|
api.registerHttpHandler(handleBlueBubblesWebhookRequest);
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default plugin;
|