@openclaw/twitch 2026.10.10-beta.5 → 2026.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { n as sendMessageTwitchInternal, r as getOrCreateClientManager } from "./plugin-Ds8927WG.mjs";
2
- import { l as normalizeTwitchChannel } from "./setup-surface-BHuTmMZL.mjs";
3
- import { t as getTwitchRuntime } from "./runtime-B5If4b0g.mjs";
1
+ import { n as sendMessageTwitchInternal, r as getOrCreateClientManager } from "./plugin-DQbaBSx7.mjs";
2
+ import { l as normalizeTwitchChannel } from "./setup-surface-8f7RsuJw.mjs";
3
+ import { t as getTwitchRuntime } from "./runtime-DrwVh6hF.mjs";
4
4
  import { createChannelIngressError, createChannelIngressMonitor } from "openclaw/plugin-sdk/channel-outbound";
5
5
  import { createChannelInboundEnvelopeBuilderAsync } from "openclaw/plugin-sdk/channel-inbound";
6
6
  import { collectErrorGraphCandidates, formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
@@ -8,7 +8,7 @@ import { normalizeLowercaseStringOrEmpty, normalizeNullableString } from "opencl
8
8
  import { HttpStatusCodeError } from "@twurple/api-call";
9
9
  import { resolveOutboundMediaUrls } from "openclaw/plugin-sdk/reply-payload";
10
10
  import { defineStableChannelIngressIdentity } from "openclaw/plugin-sdk/channel-ingress-runtime";
11
- //#region extensions/twitch/src/access-control.ts
11
+ // extensions/twitch/src/access-control.ts
12
12
  const twitchUserIdentity = defineStableChannelIngressIdentity({
13
13
  key: "sender-id",
14
14
  entryIdPrefix: "twitch-user-entry"
@@ -120,8 +120,7 @@ function mentionsBot(message, botUsername) {
120
120
  while ((match = mentionRegex.exec(message)) !== null) if ((match[1] ? normalizeLowercaseStringOrEmpty(match[1]) : "") === expected) return true;
121
121
  return false;
122
122
  }
123
- //#endregion
124
- //#region extensions/twitch/src/twitch-ingress.ts
123
+ // extensions/twitch/src/twitch-ingress.ts
125
124
  const TWITCH_INGRESS_PAYLOAD_VERSION = 1;
126
125
  const TWITCH_INGRESS_DRAIN_INTERVAL_MS = 1e3;
127
126
  const TwitchIngressPermanentError = createChannelIngressError("TwitchIngressPermanentError");
@@ -260,8 +259,7 @@ function createTwitchIngress(options) {
260
259
  }
261
260
  };
262
261
  }
263
- //#endregion
264
- //#region extensions/twitch/src/monitor.ts
262
+ // extensions/twitch/src/monitor.ts
265
263
  async function monitorTwitchProvider(options) {
266
264
  const { account, accountId, channelRuntime, config, runtime, abortSignal, statusSink } = options;
267
265
  const core = getTwitchRuntime();
@@ -454,5 +452,4 @@ async function monitorTwitchProvider(options) {
454
452
  }, { once: true });
455
453
  return { stop };
456
454
  }
457
- //#endregion
458
455
  export { monitorTwitchProvider };
@@ -1,4 +1,4 @@
1
- import { a as resolveTwitchAccountContext, c as normalizeToken, i as resolveDefaultTwitchAccountId, l as normalizeTwitchChannel, n as DEFAULT_ACCOUNT_ID$1, o as twitchConfigAdapter, r as getAccountConfig, s as isAccountConfigured, t as twitchSetupPlugin, u as resolveTwitchToken } from "./setup-surface-BHuTmMZL.mjs";
1
+ import { a as resolveTwitchAccountContext, c as normalizeToken, i as resolveDefaultTwitchAccountId, l as normalizeTwitchChannel, n as DEFAULT_ACCOUNT_ID$1, o as twitchConfigAdapter, r as getAccountConfig, s as isAccountConfigured, t as twitchSetupPlugin, u as resolveTwitchToken } from "./setup-surface-8f7RsuJw.mjs";
2
2
  import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
3
3
  import { MarkdownConfigSchema, buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
4
4
  import { buildChannelOutboundSessionRoute, createChatChannelPlugin, stripChannelTargetPrefix } from "openclaw/plugin-sdk/channel-core";
@@ -19,7 +19,7 @@ import { z } from "zod";
19
19
  import { runChannelProbe, withTimeout } from "openclaw/plugin-sdk/text-utility-runtime";
20
20
  import { raceWithTimeout } from "openclaw/plugin-sdk/time-runtime";
21
21
  import { HttpStatusCodeError, callTwitchApi } from "@twurple/api-call";
22
- //#region extensions/twitch/src/actions.ts
22
+ // extensions/twitch/src/actions.ts
23
23
  function readSendValue(value) {
24
24
  return typeof value === "string" || typeof value === "number" || typeof value === "boolean" ? String(value).trim() : void 0;
25
25
  }
@@ -35,8 +35,7 @@ const twitchMessageActions = {
35
35
  } : null;
36
36
  }
37
37
  };
38
- //#endregion
39
- //#region extensions/twitch/src/twitch-client.ts
38
+ // extensions/twitch/src/twitch-client.ts
40
39
  const TWITCH_CHAT_AUTH_INTENTS = ["chat"];
41
40
  var TwitchClientManager = class {
42
41
  constructor(logger, statusSink) {
@@ -306,8 +305,7 @@ var TwitchClientManager = class {
306
305
  return `${account.username}:${account.channel}`;
307
306
  }
308
307
  };
309
- //#endregion
310
- //#region extensions/twitch/src/client-manager-registry.ts
308
+ // extensions/twitch/src/client-manager-registry.ts
311
309
  const registry = /* @__PURE__ */ new Map();
312
310
  function getOrCreateClientManager(accountId, logger, statusSink) {
313
311
  const existing = registry.get(accountId);
@@ -336,8 +334,7 @@ async function removeClientManager(accountId) {
336
334
  entry.logger.info(`Unregistered client manager for account: ${accountId}`);
337
335
  }
338
336
  }
339
- //#endregion
340
- //#region extensions/twitch/src/config-schema.ts
337
+ // extensions/twitch/src/config-schema.ts
341
338
  const TwitchRoleSchema = z.enum([
342
339
  "moderator",
343
340
  "owner",
@@ -389,8 +386,7 @@ const MultiAccountSchema = z.object({
389
386
  accounts: z.record(z.string(), TwitchAccountSchema)
390
387
  }).refine((val) => Object.keys(val.accounts).length > 0, { message: "accounts must contain at least one entry" });
391
388
  const TwitchConfigSchema = z.union([SimplifiedSchema, MultiAccountSchema]);
392
- //#endregion
393
- //#region extensions/twitch/src/send.ts
389
+ // extensions/twitch/src/send.ts
394
390
  function createTwitchSendReceipt(messageId, channel) {
395
391
  return createMessageReceiptFromOutboundResults({
396
392
  results: messageId ? [{
@@ -417,8 +413,31 @@ async function sendMessageTwitchInternal(params) {
417
413
  receipt: createTwitchSendReceipt(messageId, params.channel)
418
414
  };
419
415
  }
420
- //#endregion
421
- //#region extensions/twitch/src/outbound.ts
416
+ // extensions/twitch/src/target.ts
417
+ function parseTwitchMessagingTarget(target) {
418
+ const providerTarget = stripChannelTargetPrefix(target, "twitch", "twitch-chat");
419
+ const kindMatch = /^(user|dm|channel|group|conversation|room):/i.exec(providerTarget);
420
+ const kind = kindMatch?.[1]?.toLowerCase();
421
+ return {
422
+ channelTarget: kindMatch ? providerTarget.slice(kindMatch[0].length) : providerTarget,
423
+ isDirectMessage: kind === "user" || kind === "dm"
424
+ };
425
+ }
426
+ /**
427
+ * Normalizes a Twitch messaging target to the bare channel name used by routing
428
+ * and the chat transport. Accepts internal addresses such as
429
+ * `twitch:channel:<channel>` and their `twitch-chat:` alias. Direct-message
430
+ * targets are unsupported and normalize to an empty string.
431
+ */
432
+ function normalizeTwitchMessagingTarget(target) {
433
+ const parsed = parseTwitchMessagingTarget(target);
434
+ return parsed.isDirectMessage ? "" : normalizeTwitchChannel(parsed.channelTarget);
435
+ }
436
+ /** Direct-message/user addresses are unsupported and must not fall back to a channel. */
437
+ function isTwitchDirectMessageTarget(target) {
438
+ return parseTwitchMessagingTarget(target).isDirectMessage;
439
+ }
440
+ // extensions/twitch/src/outbound.ts
422
441
  const twitchOutbound = {
423
442
  deliveryMode: "direct",
424
443
  deliveryCapabilities: { durableFinal: {
@@ -432,8 +451,8 @@ const twitchOutbound = {
432
451
  const trimmed = to?.trim() ?? "";
433
452
  const allowListRaw = normalizeStringEntries(allowFrom ?? []);
434
453
  const hasWildcard = allowListRaw.includes("*");
435
- const allowList = allowListRaw.filter((entry) => entry !== "*").map((entry) => normalizeTwitchChannel(entry)).filter((entry) => entry.length > 0);
436
- const normalizedTo = normalizeTwitchChannel(trimmed);
454
+ const allowList = allowListRaw.filter((entry) => entry !== "*").map((entry) => normalizeTwitchMessagingTarget(entry)).filter((entry) => entry.length > 0);
455
+ const normalizedTo = normalizeTwitchMessagingTarget(trimmed);
437
456
  if (normalizedTo && (!(mode === "implicit" || mode === "heartbeat") || hasWildcard || allowList.length === 0 || allowList.includes(normalizedTo))) return {
438
457
  ok: true,
439
458
  to: normalizedTo
@@ -448,13 +467,13 @@ const twitchOutbound = {
448
467
  if (params.signal?.aborted) throw new Error("Outbound delivery aborted");
449
468
  const { account, accountId: normalizedAccountId, availableAccountIds, configured } = resolveTwitchAccountContext(cfg, accountId);
450
469
  if (!account) throw new Error(`Twitch account not found: ${accountId ?? normalizedAccountId}. Available accounts: ${availableAccountIds.join(", ") || "none"}`);
451
- const channel = to || account.channel;
452
- if (!channel) throw new Error("No channel specified and no default channel in account config");
453
- if (!configured) throw new Error(`Account ${normalizedAccountId} is not properly configured. Required: username, clientId, and accessToken (config or env for default account).`);
454
- const deliveryChannel = normalizeTwitchChannel(channel) || account.channel;
470
+ const target = to.trim();
471
+ if (isTwitchDirectMessageTarget(target)) throw new Error("Delivering to Twitch requires target <channel-name>");
472
+ const deliveryChannel = normalizeTwitchMessagingTarget(target) || normalizeTwitchChannel(account.channel);
455
473
  if (!deliveryChannel) throw new Error("No channel specified and no default channel in account config");
474
+ if (!configured) throw new Error(`Account ${normalizedAccountId} is not properly configured. Required: username, clientId, and accessToken (config or env for default account).`);
456
475
  const result = await sendMessageTwitchInternal({
457
- channel: normalizeTwitchChannel(deliveryChannel),
476
+ channel: deliveryChannel,
458
477
  text,
459
478
  cfg,
460
479
  account,
@@ -483,8 +502,7 @@ const twitchMessageAdapter = createChannelMessageAdapterFromOutbound({
483
502
  id: "twitch",
484
503
  outbound: twitchOutbound
485
504
  });
486
- //#endregion
487
- //#region extensions/twitch/src/probe.ts
505
+ // extensions/twitch/src/probe.ts
488
506
  async function probeTwitch(account, timeoutMs) {
489
507
  let client;
490
508
  try {
@@ -546,8 +564,7 @@ async function probeTwitch(account, timeoutMs) {
546
564
  } catch {}
547
565
  }
548
566
  }
549
- //#endregion
550
- //#region extensions/twitch/src/resolver.ts
567
+ // extensions/twitch/src/resolver.ts
551
568
  const TWITCH_HELIX_USER_LOOKUP_TIMEOUT_MS = 1e4;
552
569
  function normalizeUsername(input) {
553
570
  const trimmed = input.trim();
@@ -641,8 +658,7 @@ async function resolveTwitchTargets(inputs, account, _kind, log) {
641
658
  }
642
659
  return results;
643
660
  }
644
- //#endregion
645
- //#region extensions/twitch/src/status.ts
661
+ // extensions/twitch/src/status.ts
646
662
  function collectTwitchStatusIssues(accounts) {
647
663
  const issues = [];
648
664
  for (const entry of accounts) {
@@ -695,16 +711,7 @@ function collectTwitchStatusIssues(accounts) {
695
711
  }
696
712
  return issues;
697
713
  }
698
- //#endregion
699
- //#region extensions/twitch/src/plugin.ts
700
- function normalizeTwitchMessagingTarget(target) {
701
- const providerTarget = stripChannelTargetPrefix(target, "twitch", "twitch-chat");
702
- const kindMatch = /^(user|dm|channel|group|conversation|room):/i.exec(providerTarget);
703
- const kind = kindMatch?.[1]?.toLowerCase();
704
- if (kind === "user" || kind === "dm") return "";
705
- const channelTarget = kindMatch ? providerTarget.slice(kindMatch[0].length) : providerTarget;
706
- return normalizeTwitchChannel(channelTarget);
707
- }
714
+ // extensions/twitch/src/plugin.ts
708
715
  const twitchPlugin = createChatChannelPlugin({
709
716
  pairing: {
710
717
  idLabel: "twitchUserId",
@@ -819,7 +826,7 @@ const twitchPlugin = createChatChannelPlugin({
819
826
  await runPassiveAccountLifecycle({
820
827
  abortSignal: ctx.abortSignal,
821
828
  start: async () => {
822
- const { monitorTwitchProvider } = await import("./monitor-DH2GTYQv.mjs");
829
+ const { monitorTwitchProvider } = await import("./monitor-BcIEp3sb.mjs");
823
830
  return monitorTwitchProvider({
824
831
  account,
825
832
  accountId,
@@ -857,5 +864,4 @@ const twitchPlugin = createChatChannelPlugin({
857
864
  }
858
865
  }
859
866
  });
860
- //#endregion
861
867
  export { sendMessageTwitchInternal as n, getOrCreateClientManager as r, twitchPlugin as t };
@@ -1,8 +1,7 @@
1
1
  import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
2
- //#region extensions/twitch/src/runtime.ts
2
+ // extensions/twitch/src/runtime.ts
3
3
  const { setRuntime: setTwitchRuntime, getRuntime: getTwitchRuntime } = createPluginRuntimeStore({
4
4
  pluginId: "twitch",
5
5
  errorMessage: "Twitch runtime not initialized"
6
6
  });
7
- //#endregion
8
7
  export { setTwitchRuntime as n, getTwitchRuntime as t };
@@ -0,0 +1,2 @@
1
+ export { t as twitchSetupPlugin } from "./setup-surface-8f7RsuJw.mjs";
2
+ import "../setup-plugin-api.js";
@@ -6,7 +6,7 @@ import { createChannelDmPolicy } from "openclaw/plugin-sdk/channel-dm-policy";
6
6
  import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
7
7
  import { getChatChannelMeta } from "openclaw/plugin-sdk/core";
8
8
  import { createSetupTranslator, formatDocsLink, normalizeAccountId as normalizeAccountId$1, patchTopLevelChannelConfigSection, setSetupChannelEnabled, splitSetupEntries } from "openclaw/plugin-sdk/setup";
9
- //#region extensions/twitch/src/token.ts
9
+ // extensions/twitch/src/token.ts
10
10
  function normalizeTwitchToken(raw) {
11
11
  if (!raw) return;
12
12
  const trimmed = raw.trim();
@@ -35,8 +35,7 @@ function resolveTwitchToken(cfg, opts = {}) {
35
35
  source: "none"
36
36
  };
37
37
  }
38
- //#endregion
39
- //#region extensions/twitch/src/utils/twitch.ts
38
+ // extensions/twitch/src/utils/twitch.ts
40
39
  function normalizeTwitchChannel(channel) {
41
40
  const trimmed = normalizeLowercaseStringOrEmpty(channel);
42
41
  return trimmed.startsWith("#") ? trimmed.slice(1) : trimmed;
@@ -48,8 +47,7 @@ function isAccountConfigured(account, resolvedToken) {
48
47
  const token = resolvedToken ?? account.accessToken;
49
48
  return Boolean(account.username && token && account.clientId);
50
49
  }
51
- //#endregion
52
- //#region extensions/twitch/src/config.ts
50
+ // extensions/twitch/src/config.ts
53
51
  const { listAccountIds, resolveDefaultAccountId: resolveDefaultTwitchAccountId } = createAccountListHelpers("twitch", {
54
52
  normalizeAccountId,
55
53
  fallbackAccountIdWhenEmpty: false,
@@ -130,8 +128,7 @@ const twitchConfigAdapter = {
130
128
  isConfigured: (account, cfg) => resolveTwitchAccountContext(cfg, account.accountId).configured,
131
129
  isEnabled: (account) => account?.enabled !== false
132
130
  };
133
- //#endregion
134
- //#region extensions/twitch/src/setup-surface.ts
131
+ // extensions/twitch/src/setup-surface.ts
135
132
  const channel = "twitch";
136
133
  const t = createSetupTranslator();
137
134
  const INVALID_ACCOUNT_ID_MESSAGE = "Invalid Twitch account id";
@@ -443,5 +440,4 @@ const twitchSetupPlugin = {
443
440
  setupContract: twitchSetupContract,
444
441
  setupWizard: twitchSetupWizard
445
442
  };
446
- //#endregion
447
443
  export { resolveTwitchAccountContext as a, normalizeToken as c, resolveDefaultTwitchAccountId as i, normalizeTwitchChannel as l, DEFAULT_ACCOUNT_ID$1 as n, twitchConfigAdapter as o, getAccountConfig as r, isAccountConfigured as s, twitchSetupPlugin as t, resolveTwitchToken as u };
@@ -1 +1 @@
1
- {"version":3,"entries":[{"output":"api.js","source":"extensions/twitch/api.ts"},{"output":"channel-plugin-api.js","source":"extensions/twitch/channel-plugin-api.ts"},{"output":"index.js","source":"extensions/twitch/index.ts"},{"output":"runtime-api.js","source":"extensions/twitch/runtime-api.ts"},{"output":"setup-entry.js","source":"extensions/twitch/setup-entry.ts"},{"output":"setup-plugin-api.js","source":"extensions/twitch/setup-plugin-api.ts"}],"chunks":[{"output":".setup/monitor-DH2GTYQv.mjs","sha256":"f1027e8a9a50730c00e352c0d0eae9c59615e1c6b19f3f36707b00702c1d4398","facadeSource":"extensions/twitch/src/monitor.ts","sources":["extensions/twitch/src/access-control.ts","extensions/twitch/src/monitor.ts","extensions/twitch/src/twitch-ingress.ts"]},{"output":".setup/plugin-Ds8927WG.mjs","sha256":"fbd4696f95f1bfc91b7d1991559efc182c95c88dbc1c9669f42f3754d2333316","facadeSource":null,"sources":["extensions/twitch/src/actions.ts","extensions/twitch/src/client-manager-registry.ts","extensions/twitch/src/config-schema.ts","extensions/twitch/src/outbound.ts","extensions/twitch/src/plugin.ts","extensions/twitch/src/probe.ts","extensions/twitch/src/resolver.ts","extensions/twitch/src/send.ts","extensions/twitch/src/status.ts","extensions/twitch/src/twitch-client.ts"]},{"output":".setup/runtime-B5If4b0g.mjs","sha256":"1482ac52cae0fbaa600d2f622bf66feec37434646264743bd3d70529f4129317","facadeSource":null,"sources":["extensions/twitch/src/runtime.ts"]},{"output":".setup/setup-plugin-api-VbVHO_SG.mjs","sha256":"01c62c46acd12ec5144b6c1aaa60122efb60606652269a6a77c785eed24bc9d5","facadeSource":"extensions/twitch/setup-plugin-api.ts","sources":[]},{"output":".setup/setup-surface-BHuTmMZL.mjs","sha256":"22d501bd048dcef00597aed0b5ed02560416d6b97fd3a5bee45560deda7971bc","facadeSource":null,"sources":["extensions/twitch/src/config.ts","extensions/twitch/src/setup-surface.ts","extensions/twitch/src/token.ts","extensions/twitch/src/utils/twitch.ts"]},{"output":"api.js","sha256":"67c922c17abe5b12e7456e35e4caa6e3f3d7392d6d4ecf04a618321addb401ec","facadeSource":"extensions/twitch/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"af61b2478c49fb61db7f5e44f1ca515da17e5546176a6561b213130f5ea53a47","facadeSource":"extensions/twitch/channel-plugin-api.ts","sources":[]},{"output":"index.js","sha256":"4abcaf190b4f945d2c7547c73893858486037a13c2a40ae97a3d59688ca41527","facadeSource":"extensions/twitch/index.ts","sources":["extensions/twitch/index.ts"]},{"output":"runtime-api.js","sha256":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","facadeSource":"extensions/twitch/runtime-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"bb76ee8b720de1462ab57f1f4651fe6adfa7e5b85af938fdb187edc6d639a827","facadeSource":"extensions/twitch/setup-entry.ts","sources":["extensions/twitch/setup-entry.ts"]},{"output":"setup-plugin-api.js","sha256":"c706977485ac4fe748e1bcfa1e2aa890b37622a2b48ddaf00b9d6aa99554f75a","facadeSource":"extensions/twitch/setup-plugin-api.ts","sources":[]}],"unrenderedSources":["extensions/twitch/api.ts","extensions/twitch/channel-plugin-api.ts","extensions/twitch/runtime-api.ts","extensions/twitch/setup-plugin-api.ts","extensions/twitch/src/constants.ts"]}
1
+ {"version":3,"entries":[{"output":"api.js","source":"extensions/twitch/api.ts"},{"output":"channel-plugin-api.js","source":"extensions/twitch/channel-plugin-api.ts"},{"output":"index.js","source":"extensions/twitch/index.ts"},{"output":"runtime-api.js","source":"extensions/twitch/runtime-api.ts"},{"output":"setup-entry.js","source":"extensions/twitch/setup-entry.ts"},{"output":"setup-plugin-api.js","source":"extensions/twitch/setup-plugin-api.ts"}],"chunks":[{"output":".setup/monitor-BcIEp3sb.mjs","sha256":"cb0433871a8d2e6609ef5912188bcccda34b309eeaa62893332464c60b373059","facadeSource":"extensions/twitch/src/monitor.ts","sources":["extensions/twitch/src/access-control.ts","extensions/twitch/src/monitor.ts","extensions/twitch/src/twitch-ingress.ts"]},{"output":".setup/plugin-DQbaBSx7.mjs","sha256":"2a522587b7b8d2df91908f64ac7ac32ad0b02f5fef2a5f3a771474b5b4c9f8ee","facadeSource":null,"sources":["extensions/twitch/src/actions.ts","extensions/twitch/src/client-manager-registry.ts","extensions/twitch/src/config-schema.ts","extensions/twitch/src/outbound.ts","extensions/twitch/src/plugin.ts","extensions/twitch/src/probe.ts","extensions/twitch/src/resolver.ts","extensions/twitch/src/send.ts","extensions/twitch/src/status.ts","extensions/twitch/src/target.ts","extensions/twitch/src/twitch-client.ts"]},{"output":".setup/runtime-DrwVh6hF.mjs","sha256":"3617013b885cf1d86fd26001e27a0701f88851d853668218820ece37fafaf014","facadeSource":null,"sources":["extensions/twitch/src/runtime.ts"]},{"output":".setup/setup-plugin-api-DCp5heMU.mjs","sha256":"973936c3ed15061983cb2c633ad0070a0032ca7f091d8d16c3078e6f9127da1d","facadeSource":"extensions/twitch/setup-plugin-api.ts","sources":[]},{"output":".setup/setup-surface-8f7RsuJw.mjs","sha256":"ce0a8b74b0f640a3db87f6a5ce500c93611155b2cd276e6ca492e49fc0c3e4c0","facadeSource":null,"sources":["extensions/twitch/src/config.ts","extensions/twitch/src/setup-surface.ts","extensions/twitch/src/token.ts","extensions/twitch/src/utils/twitch.ts"]},{"output":"api.js","sha256":"b1def76ad376e836d113fc75dd07bfa081445ffb51c0fe2af7cb8bd7b51417f2","facadeSource":"extensions/twitch/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"677641f19ed5ef255d3c9222299eeb2c4cfd08b2f176c4e9b5e5143018db3487","facadeSource":"extensions/twitch/channel-plugin-api.ts","sources":[]},{"output":"index.js","sha256":"ae12fa88716486195f5e255ab8bd0824c67979d83593c2be4f4c3a423bfc8307","facadeSource":"extensions/twitch/index.ts","sources":["extensions/twitch/index.ts"]},{"output":"runtime-api.js","sha256":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","facadeSource":"extensions/twitch/runtime-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"8d4bb618699fb5498c3df4fa7e0f1accac475b732b08c42407e3d6b07a917f23","facadeSource":"extensions/twitch/setup-entry.ts","sources":["extensions/twitch/setup-entry.ts"]},{"output":"setup-plugin-api.js","sha256":"d1d232f8767fd877552e54a815cdc1518c185f42261273780dff6abbb19a28d1","facadeSource":"extensions/twitch/setup-plugin-api.ts","sources":[]}],"unrenderedSources":["extensions/twitch/api.ts","extensions/twitch/channel-plugin-api.ts","extensions/twitch/runtime-api.ts","extensions/twitch/setup-plugin-api.ts","extensions/twitch/src/constants.ts"]}
package/dist/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as twitchPlugin } from "./.setup/plugin-Ds8927WG.mjs";
2
- import { n as setTwitchRuntime } from "./.setup/runtime-B5If4b0g.mjs";
1
+ import { t as twitchPlugin } from "./.setup/plugin-DQbaBSx7.mjs";
2
+ import { n as setTwitchRuntime } from "./.setup/runtime-DrwVh6hF.mjs";
3
3
  export { setTwitchRuntime, twitchPlugin };
@@ -1 +1 @@
1
- export { t as twitchPlugin } from "./.setup/plugin-Ds8927WG.mjs";
1
+ export { t as twitchPlugin } from "./.setup/plugin-DQbaBSx7.mjs";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
- //#region extensions/twitch/index.ts
2
+ // extensions/twitch/index.ts
3
3
  var twitch_default = defineBundledChannelEntry({
4
4
  id: "twitch",
5
5
  name: "Twitch",
@@ -14,5 +14,4 @@ var twitch_default = defineBundledChannelEntry({
14
14
  exportName: "setTwitchRuntime"
15
15
  }
16
16
  });
17
- //#endregion
18
17
  export { twitch_default as default };
@@ -1,12 +1,11 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region extensions/twitch/setup-entry.ts
3
+ // extensions/twitch/setup-entry.ts
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/setup-plugin-api-VbVHO_SG.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/setup-plugin-api-DCp5heMU.mjs", import.meta.url).href),
8
8
  exportName: "twitchSetupPlugin"
9
9
  }
10
10
  });
11
- //#endregion
12
11
  export { setup_entry_default as default };
@@ -1 +1 @@
1
- export { t as twitchSetupPlugin } from "./.setup/setup-surface-BHuTmMZL.mjs";
1
+ export { t as twitchSetupPlugin } from "./.setup/setup-surface-8f7RsuJw.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/twitch",
3
- "version": "2026.10.10-beta.5",
3
+ "version": "2026.11.1",
4
4
  "description": "OpenClaw Twitch channel plugin for chat and moderation workflows.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,10 +31,10 @@
31
31
  "minHostVersion": ">=2026.4.10"
32
32
  },
33
33
  "compat": {
34
- "pluginApi": ">=2026.10.10-beta.5"
34
+ "pluginApi": ">=2026.11.1"
35
35
  },
36
36
  "build": {
37
- "openclawVersion": "2026.10.10-beta.5"
37
+ "openclawVersion": "2026.11.1"
38
38
  },
39
39
  "channel": {
40
40
  "id": "twitch",
@@ -74,7 +74,7 @@
74
74
  "assets/activity.svg"
75
75
  ],
76
76
  "peerDependencies": {
77
- "openclaw": ">=2026.10.10-beta.5"
77
+ "openclaw": ">=2026.11.1"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "openclaw": {
@@ -1,2 +0,0 @@
1
- export { t as twitchSetupPlugin } from "./setup-surface-BHuTmMZL.mjs";
2
- import "../setup-plugin-api.js";