@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.
- package/dist/.setup/{monitor-DH2GTYQv.mjs → monitor-BcIEp3sb.mjs} +6 -9
- package/dist/.setup/{plugin-Ds8927WG.mjs → plugin-DQbaBSx7.mjs} +43 -37
- package/dist/.setup/{runtime-B5If4b0g.mjs → runtime-DrwVh6hF.mjs} +1 -2
- package/dist/.setup/setup-plugin-api-DCp5heMU.mjs +2 -0
- package/dist/.setup/{setup-surface-BHuTmMZL.mjs → setup-surface-8f7RsuJw.mjs} +4 -8
- package/dist/.source-module-urls/e92ae748f4a308f6cf1a5ef62518f7ba0627945de435d928747fa07ea1b4421f.json +1 -1
- package/dist/api.js +2 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/index.js +1 -2
- package/dist/setup-entry.js +2 -3
- package/dist/setup-plugin-api.js +1 -1
- package/package.json +4 -4
- package/dist/.setup/setup-plugin-api-VbVHO_SG.mjs +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as sendMessageTwitchInternal, r as getOrCreateClientManager } from "./plugin-
|
|
2
|
-
import { l as normalizeTwitchChannel } from "./setup-surface-
|
|
3
|
-
import { t as getTwitchRuntime } from "./runtime-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
421
|
-
|
|
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) =>
|
|
436
|
-
const normalizedTo =
|
|
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
|
|
452
|
-
if (
|
|
453
|
-
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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 };
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
2
|
-
import { n as setTwitchRuntime } from "./.setup/runtime-
|
|
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-
|
|
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
|
-
|
|
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 };
|
package/dist/setup-entry.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
|
|
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-
|
|
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 };
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as twitchSetupPlugin } from "./.setup/setup-surface-
|
|
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.
|
|
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.
|
|
34
|
+
"pluginApi": ">=2026.11.1"
|
|
35
35
|
},
|
|
36
36
|
"build": {
|
|
37
|
-
"openclawVersion": "2026.
|
|
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.
|
|
77
|
+
"openclaw": ">=2026.11.1"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
80
80
|
"openclaw": {
|