Add a new channel plugin for Zoom Team Chat integration: - Server-to-Server OAuth with client_credentials grant - Webhook signature verification (HMAC-SHA256) - Support for both DMs and channel messages - Policy controls for DMs and group messaging - Onboarding wizard for credentials setup - Connection health probe Requires a Zoom Team Chat app with `imchat:bot` scope. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
591 B
TypeScript
21 lines
591 B
TypeScript
import type { MoltbotPluginApi } from "clawdbot/plugin-sdk";
|
|
import { emptyPluginConfigSchema } from "clawdbot/plugin-sdk";
|
|
|
|
import { zoomPlugin } from "./src/channel.js";
|
|
import { setZoomRuntime } from "./src/runtime.js";
|
|
|
|
export { monitorZoomProvider } from "./src/monitor.js";
|
|
|
|
const plugin = {
|
|
id: "zoom",
|
|
name: "Zoom Team Chat",
|
|
description: "Zoom Team Chat channel plugin (S2S OAuth)",
|
|
configSchema: emptyPluginConfigSchema(),
|
|
register(api: MoltbotPluginApi) {
|
|
setZoomRuntime(api.runtime);
|
|
api.registerChannel({ plugin: zoomPlugin });
|
|
},
|
|
};
|
|
|
|
export default plugin;
|