From 25e4bf6c190a67dc81c20b8326be1ec6a9de2d3a Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Fri, 17 Apr 2026 02:59:35 -0400 Subject: [PATCH] Twitch: add setup entry sidecar --- extensions/twitch/setup-entry.ts | 2 +- extensions/twitch/setup-plugin-api.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 extensions/twitch/setup-plugin-api.ts diff --git a/extensions/twitch/setup-entry.ts b/extensions/twitch/setup-entry.ts index c4f4957c76c..2c06653ec9a 100644 --- a/extensions/twitch/setup-entry.ts +++ b/extensions/twitch/setup-entry.ts @@ -3,7 +3,7 @@ import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entr export default defineBundledChannelSetupEntry({ importMetaUrl: import.meta.url, plugin: { - specifier: "./src/setup-surface.js", + specifier: "./setup-plugin-api.js", exportName: "twitchSetupPlugin", }, }); diff --git a/extensions/twitch/setup-plugin-api.ts b/extensions/twitch/setup-plugin-api.ts new file mode 100644 index 00000000000..ed9ff5909df --- /dev/null +++ b/extensions/twitch/setup-plugin-api.ts @@ -0,0 +1,3 @@ +// Keep bundled setup entry imports narrow so setup loads do not pull the +// broader Twitch channel plugin surface. +export { twitchSetupPlugin } from "./src/setup-surface.js";