fix: define Zoom channel meta inline instead of using getChatChannelMeta

Plugin channels need to define meta inline since they're not in the core
CHAT_CHANNEL_META registry. Matches pattern from matrix/zalo extensions.
This commit is contained in:
Pranav Katariya 2026-01-27 19:48:40 -08:00
parent 737ae1cdec
commit 7373b77baf

View File

@ -1,7 +1,6 @@
import {
buildChannelConfigSchema,
DEFAULT_ACCOUNT_ID,
getChatChannelMeta,
type ChannelPlugin,
type ResolvedZoomAccount,
resolveZoomAccount,
@ -10,7 +9,16 @@ import {
zoomOnboardingAdapter,
} from "clawdbot/plugin-sdk";
const meta = getChatChannelMeta("zoom");
const meta = {
id: "zoom",
label: "Zoom",
selectionLabel: "Zoom Team Chat",
docsPath: "/channels/zoom",
docsLabel: "zoom",
blurb: "Zoom Team Chat via Team Chat Bot API.",
order: 45,
quickstartAllowFrom: true,
};
export const zoomPlugin: ChannelPlugin<ResolvedZoomAccount> = {
id: "zoom",