Files
openclaw/extensions/whatsapp/index.ts
Peter Steinberger 82610d3b15 feat(whatsapp): add requester-bound MeowCaller calls (#99635)
* feat(whatsapp): add requester-bound MeowCaller calls

* fix(whatsapp): align MeowCaller CLI contract

* test(whatsapp): narrow MeowCaller audio path

* fix(whatsapp): budget MeowCaller setup phases

* feat(whatsapp): gate experimental calls

* fix(whatsapp): use managed call temp storage

* fix(whatsapp): preserve channel entry boundary
2026-07-04 02:19:28 -07:00

34 lines
966 B
TypeScript

// Whatsapp plugin entrypoint registers its OpenClaw integration.
import {
defineBundledChannelEntry,
loadBundledEntryExportSync,
} from "openclaw/plugin-sdk/channel-entry-contract";
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/channel-entry-contract";
function registerWhatsAppCallTool(api: OpenClawPluginApi): void {
const registerTool = loadBundledEntryExportSync<(api: OpenClawPluginApi) => void>(
import.meta.url,
{
specifier: "./call-tool-api.js",
exportName: "registerWhatsAppCallTool",
},
);
registerTool(api);
}
export default defineBundledChannelEntry({
id: "whatsapp",
name: "WhatsApp",
description: "WhatsApp channel plugin",
importMetaUrl: import.meta.url,
plugin: {
specifier: "./channel-plugin-api.js",
exportName: "whatsappPlugin",
},
runtime: {
specifier: "./runtime-setter-api.js",
exportName: "setWhatsAppRuntime",
},
registerFull: registerWhatsAppCallTool,
});