@openclaw/twitch 2026.10.10 → 2026.11.2
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-OlDdzwhV.mjs → monitor-XFQjqI0k.mjs} +9 -6
- package/dist/.setup/{plugin-CnPNkPhc.mjs → plugin-BoinLbED.mjs} +54 -27
- package/dist/.setup/{runtime-DrwVh6hF.mjs → runtime-B5If4b0g.mjs} +2 -1
- package/dist/.setup/setup-plugin-api-BC-Kt0o_.mjs +3 -0
- package/dist/.setup/{setup-surface-8f7RsuJw.mjs → setup-surface-BHuTmMZL.mjs} +8 -4
- package/dist/api.js +2 -2
- package/dist/channel-plugin-api.js +2 -1
- package/dist/index.js +2 -1
- package/dist/setup-entry.js +3 -2
- package/dist/setup-plugin-api.js +2 -1
- package/package.json +4 -4
- package/dist/.setup/setup-plugin-api-DCp5heMU.mjs +0 -2
- package/dist/.source-module-urls/e92ae748f4a308f6cf1a5ef62518f7ba0627945de435d928747fa07ea1b4421f.json +0 -1
|
@@ -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-BoinLbED.mjs";
|
|
2
|
+
import { l as normalizeTwitchChannel } from "./setup-surface-BHuTmMZL.mjs";
|
|
3
|
+
import { t as getTwitchRuntime } from "./runtime-B5If4b0g.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
|
+
//#region extensions/twitch/src/access-control.ts
|
|
12
12
|
const twitchUserIdentity = defineStableChannelIngressIdentity({
|
|
13
13
|
key: "sender-id",
|
|
14
14
|
entryIdPrefix: "twitch-user-entry"
|
|
@@ -120,7 +120,8 @@ 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
|
-
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region extensions/twitch/src/twitch-ingress.ts
|
|
124
125
|
const TWITCH_INGRESS_PAYLOAD_VERSION = 1;
|
|
125
126
|
const TWITCH_INGRESS_DRAIN_INTERVAL_MS = 1e3;
|
|
126
127
|
const TwitchIngressPermanentError = createChannelIngressError("TwitchIngressPermanentError");
|
|
@@ -259,7 +260,8 @@ function createTwitchIngress(options) {
|
|
|
259
260
|
}
|
|
260
261
|
};
|
|
261
262
|
}
|
|
262
|
-
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region extensions/twitch/src/monitor.ts
|
|
263
265
|
async function monitorTwitchProvider(options) {
|
|
264
266
|
const { account, accountId, channelRuntime, config, runtime, abortSignal, statusSink } = options;
|
|
265
267
|
const core = getTwitchRuntime();
|
|
@@ -452,4 +454,5 @@ async function monitorTwitchProvider(options) {
|
|
|
452
454
|
}, { once: true });
|
|
453
455
|
return { stop };
|
|
454
456
|
}
|
|
457
|
+
//#endregion
|
|
455
458
|
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-BHuTmMZL.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
|
+
//#region 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,7 +35,8 @@ const twitchMessageActions = {
|
|
|
35
35
|
} : null;
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region extensions/twitch/src/twitch-client.ts
|
|
39
40
|
const TWITCH_CHAT_AUTH_INTENTS = ["chat"];
|
|
40
41
|
var TwitchClientManager = class {
|
|
41
42
|
constructor(logger, statusSink) {
|
|
@@ -305,7 +306,8 @@ var TwitchClientManager = class {
|
|
|
305
306
|
return `${account.username}:${account.channel}`;
|
|
306
307
|
}
|
|
307
308
|
};
|
|
308
|
-
|
|
309
|
+
//#endregion
|
|
310
|
+
//#region extensions/twitch/src/client-manager-registry.ts
|
|
309
311
|
const registry = /* @__PURE__ */ new Map();
|
|
310
312
|
function getOrCreateClientManager(accountId, logger, statusSink) {
|
|
311
313
|
const existing = registry.get(accountId);
|
|
@@ -334,7 +336,8 @@ async function removeClientManager(accountId) {
|
|
|
334
336
|
entry.logger.info(`Unregistered client manager for account: ${accountId}`);
|
|
335
337
|
}
|
|
336
338
|
}
|
|
337
|
-
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region extensions/twitch/src/config-schema.ts
|
|
338
341
|
const TwitchRoleSchema = z.enum([
|
|
339
342
|
"moderator",
|
|
340
343
|
"owner",
|
|
@@ -386,7 +389,8 @@ const MultiAccountSchema = z.object({
|
|
|
386
389
|
accounts: z.record(z.string(), TwitchAccountSchema)
|
|
387
390
|
}).refine((val) => Object.keys(val.accounts).length > 0, { message: "accounts must contain at least one entry" });
|
|
388
391
|
const TwitchConfigSchema = z.union([SimplifiedSchema, MultiAccountSchema]);
|
|
389
|
-
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region extensions/twitch/src/send.ts
|
|
390
394
|
function createTwitchSendReceipt(messageId, channel) {
|
|
391
395
|
return createMessageReceiptFromOutboundResults({
|
|
392
396
|
results: messageId ? [{
|
|
@@ -413,7 +417,33 @@ async function sendMessageTwitchInternal(params) {
|
|
|
413
417
|
receipt: createTwitchSendReceipt(messageId, params.channel)
|
|
414
418
|
};
|
|
415
419
|
}
|
|
416
|
-
|
|
420
|
+
//#endregion
|
|
421
|
+
//#region extensions/twitch/src/target.ts
|
|
422
|
+
function parseTwitchMessagingTarget(target) {
|
|
423
|
+
const providerTarget = stripChannelTargetPrefix(target, "twitch", "twitch-chat");
|
|
424
|
+
const kindMatch = /^(user|dm|channel|group|conversation|room):/i.exec(providerTarget);
|
|
425
|
+
const kind = kindMatch?.[1]?.toLowerCase();
|
|
426
|
+
return {
|
|
427
|
+
channelTarget: kindMatch ? providerTarget.slice(kindMatch[0].length) : providerTarget,
|
|
428
|
+
isDirectMessage: kind === "user" || kind === "dm"
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Normalizes a Twitch messaging target to the bare channel name used by routing
|
|
433
|
+
* and the chat transport. Accepts internal addresses such as
|
|
434
|
+
* `twitch:channel:<channel>` and their `twitch-chat:` alias. Direct-message
|
|
435
|
+
* targets are unsupported and normalize to an empty string.
|
|
436
|
+
*/
|
|
437
|
+
function normalizeTwitchMessagingTarget(target) {
|
|
438
|
+
const parsed = parseTwitchMessagingTarget(target);
|
|
439
|
+
return parsed.isDirectMessage ? "" : normalizeTwitchChannel(parsed.channelTarget);
|
|
440
|
+
}
|
|
441
|
+
/** Direct-message/user addresses are unsupported and must not fall back to a channel. */
|
|
442
|
+
function isTwitchDirectMessageTarget(target) {
|
|
443
|
+
return parseTwitchMessagingTarget(target).isDirectMessage;
|
|
444
|
+
}
|
|
445
|
+
//#endregion
|
|
446
|
+
//#region extensions/twitch/src/outbound.ts
|
|
417
447
|
const twitchOutbound = {
|
|
418
448
|
deliveryMode: "direct",
|
|
419
449
|
deliveryCapabilities: { durableFinal: {
|
|
@@ -427,8 +457,8 @@ const twitchOutbound = {
|
|
|
427
457
|
const trimmed = to?.trim() ?? "";
|
|
428
458
|
const allowListRaw = normalizeStringEntries(allowFrom ?? []);
|
|
429
459
|
const hasWildcard = allowListRaw.includes("*");
|
|
430
|
-
const allowList = allowListRaw.filter((entry) => entry !== "*").map((entry) =>
|
|
431
|
-
const normalizedTo =
|
|
460
|
+
const allowList = allowListRaw.filter((entry) => entry !== "*").map((entry) => normalizeTwitchMessagingTarget(entry)).filter((entry) => entry.length > 0);
|
|
461
|
+
const normalizedTo = normalizeTwitchMessagingTarget(trimmed);
|
|
432
462
|
if (normalizedTo && (!(mode === "implicit" || mode === "heartbeat") || hasWildcard || allowList.length === 0 || allowList.includes(normalizedTo))) return {
|
|
433
463
|
ok: true,
|
|
434
464
|
to: normalizedTo
|
|
@@ -443,13 +473,13 @@ const twitchOutbound = {
|
|
|
443
473
|
if (params.signal?.aborted) throw new Error("Outbound delivery aborted");
|
|
444
474
|
const { account, accountId: normalizedAccountId, availableAccountIds, configured } = resolveTwitchAccountContext(cfg, accountId);
|
|
445
475
|
if (!account) throw new Error(`Twitch account not found: ${accountId ?? normalizedAccountId}. Available accounts: ${availableAccountIds.join(", ") || "none"}`);
|
|
446
|
-
const
|
|
447
|
-
if (
|
|
448
|
-
|
|
449
|
-
const deliveryChannel = normalizeTwitchChannel(channel) || account.channel;
|
|
476
|
+
const target = to.trim();
|
|
477
|
+
if (isTwitchDirectMessageTarget(target)) throw new Error("Delivering to Twitch requires target <channel-name>");
|
|
478
|
+
const deliveryChannel = normalizeTwitchMessagingTarget(target) || normalizeTwitchChannel(account.channel);
|
|
450
479
|
if (!deliveryChannel) throw new Error("No channel specified and no default channel in account config");
|
|
480
|
+
if (!configured) throw new Error(`Account ${normalizedAccountId} is not properly configured. Required: username, clientId, and accessToken (config or env for default account).`);
|
|
451
481
|
const result = await sendMessageTwitchInternal({
|
|
452
|
-
channel:
|
|
482
|
+
channel: deliveryChannel,
|
|
453
483
|
text,
|
|
454
484
|
cfg,
|
|
455
485
|
account,
|
|
@@ -478,7 +508,8 @@ const twitchMessageAdapter = createChannelMessageAdapterFromOutbound({
|
|
|
478
508
|
id: "twitch",
|
|
479
509
|
outbound: twitchOutbound
|
|
480
510
|
});
|
|
481
|
-
|
|
511
|
+
//#endregion
|
|
512
|
+
//#region extensions/twitch/src/probe.ts
|
|
482
513
|
async function probeTwitch(account, timeoutMs) {
|
|
483
514
|
let client;
|
|
484
515
|
try {
|
|
@@ -540,7 +571,8 @@ async function probeTwitch(account, timeoutMs) {
|
|
|
540
571
|
} catch {}
|
|
541
572
|
}
|
|
542
573
|
}
|
|
543
|
-
|
|
574
|
+
//#endregion
|
|
575
|
+
//#region extensions/twitch/src/resolver.ts
|
|
544
576
|
const TWITCH_HELIX_USER_LOOKUP_TIMEOUT_MS = 1e4;
|
|
545
577
|
function normalizeUsername(input) {
|
|
546
578
|
const trimmed = input.trim();
|
|
@@ -634,7 +666,8 @@ async function resolveTwitchTargets(inputs, account, _kind, log) {
|
|
|
634
666
|
}
|
|
635
667
|
return results;
|
|
636
668
|
}
|
|
637
|
-
|
|
669
|
+
//#endregion
|
|
670
|
+
//#region extensions/twitch/src/status.ts
|
|
638
671
|
function collectTwitchStatusIssues(accounts) {
|
|
639
672
|
const issues = [];
|
|
640
673
|
for (const entry of accounts) {
|
|
@@ -687,15 +720,8 @@ function collectTwitchStatusIssues(accounts) {
|
|
|
687
720
|
}
|
|
688
721
|
return issues;
|
|
689
722
|
}
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
const providerTarget = stripChannelTargetPrefix(target, "twitch", "twitch-chat");
|
|
693
|
-
const kindMatch = /^(user|dm|channel|group|conversation|room):/i.exec(providerTarget);
|
|
694
|
-
const kind = kindMatch?.[1]?.toLowerCase();
|
|
695
|
-
if (kind === "user" || kind === "dm") return "";
|
|
696
|
-
const channelTarget = kindMatch ? providerTarget.slice(kindMatch[0].length) : providerTarget;
|
|
697
|
-
return normalizeTwitchChannel(channelTarget);
|
|
698
|
-
}
|
|
723
|
+
//#endregion
|
|
724
|
+
//#region extensions/twitch/src/plugin.ts
|
|
699
725
|
const twitchPlugin = createChatChannelPlugin({
|
|
700
726
|
pairing: {
|
|
701
727
|
idLabel: "twitchUserId",
|
|
@@ -810,7 +836,7 @@ const twitchPlugin = createChatChannelPlugin({
|
|
|
810
836
|
await runPassiveAccountLifecycle({
|
|
811
837
|
abortSignal: ctx.abortSignal,
|
|
812
838
|
start: async () => {
|
|
813
|
-
const { monitorTwitchProvider } = await import("./monitor-
|
|
839
|
+
const { monitorTwitchProvider } = await import("./monitor-XFQjqI0k.mjs");
|
|
814
840
|
return monitorTwitchProvider({
|
|
815
841
|
account,
|
|
816
842
|
accountId,
|
|
@@ -848,4 +874,5 @@ const twitchPlugin = createChatChannelPlugin({
|
|
|
848
874
|
}
|
|
849
875
|
}
|
|
850
876
|
});
|
|
877
|
+
//#endregion
|
|
851
878
|
export { sendMessageTwitchInternal as n, getOrCreateClientManager as r, twitchPlugin as t };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
2
|
-
|
|
2
|
+
//#region 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
|
|
7
8
|
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
|
+
//#region extensions/twitch/src/token.ts
|
|
10
10
|
function normalizeTwitchToken(raw) {
|
|
11
11
|
if (!raw) return;
|
|
12
12
|
const trimmed = raw.trim();
|
|
@@ -35,7 +35,8 @@ function resolveTwitchToken(cfg, opts = {}) {
|
|
|
35
35
|
source: "none"
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region extensions/twitch/src/utils/twitch.ts
|
|
39
40
|
function normalizeTwitchChannel(channel) {
|
|
40
41
|
const trimmed = normalizeLowercaseStringOrEmpty(channel);
|
|
41
42
|
return trimmed.startsWith("#") ? trimmed.slice(1) : trimmed;
|
|
@@ -47,7 +48,8 @@ function isAccountConfigured(account, resolvedToken) {
|
|
|
47
48
|
const token = resolvedToken ?? account.accessToken;
|
|
48
49
|
return Boolean(account.username && token && account.clientId);
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region extensions/twitch/src/config.ts
|
|
51
53
|
const { listAccountIds, resolveDefaultAccountId: resolveDefaultTwitchAccountId } = createAccountListHelpers("twitch", {
|
|
52
54
|
normalizeAccountId,
|
|
53
55
|
fallbackAccountIdWhenEmpty: false,
|
|
@@ -128,7 +130,8 @@ const twitchConfigAdapter = {
|
|
|
128
130
|
isConfigured: (account, cfg) => resolveTwitchAccountContext(cfg, account.accountId).configured,
|
|
129
131
|
isEnabled: (account) => account?.enabled !== false
|
|
130
132
|
};
|
|
131
|
-
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region extensions/twitch/src/setup-surface.ts
|
|
132
135
|
const channel = "twitch";
|
|
133
136
|
const t = createSetupTranslator();
|
|
134
137
|
const INVALID_ACCOUNT_ID_MESSAGE = "Invalid Twitch account id";
|
|
@@ -440,4 +443,5 @@ const twitchSetupPlugin = {
|
|
|
440
443
|
setupContract: twitchSetupContract,
|
|
441
444
|
setupWizard: twitchSetupWizard
|
|
442
445
|
};
|
|
446
|
+
//#endregion
|
|
443
447
|
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 };
|
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-BoinLbED.mjs";
|
|
2
|
+
import { n as setTwitchRuntime } from "./.setup/runtime-B5If4b0g.mjs";
|
|
3
3
|
export { setTwitchRuntime, twitchPlugin };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as twitchPlugin } from "./.setup/plugin-BoinLbED.mjs";
|
|
2
|
+
export { twitchPlugin };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
2
|
-
|
|
2
|
+
//#region extensions/twitch/index.ts
|
|
3
3
|
var twitch_default = defineBundledChannelEntry({
|
|
4
4
|
id: "twitch",
|
|
5
5
|
name: "Twitch",
|
|
@@ -14,4 +14,5 @@ var twitch_default = defineBundledChannelEntry({
|
|
|
14
14
|
exportName: "setTwitchRuntime"
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
+
//#endregion
|
|
17
18
|
export { twitch_default as default };
|
package/dist/setup-entry.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
|
|
3
|
+
//#region 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-BC-Kt0o_.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "twitchSetupPlugin"
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
//#endregion
|
|
11
12
|
export { setup_entry_default as default };
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as twitchSetupPlugin } from "./.setup/setup-surface-BHuTmMZL.mjs";
|
|
2
|
+
export { twitchSetupPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/twitch",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.11.2",
|
|
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.2"
|
|
35
35
|
},
|
|
36
36
|
"build": {
|
|
37
|
-
"openclawVersion": "2026.
|
|
37
|
+
"openclawVersion": "2026.11.2"
|
|
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.2"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
80
80
|
"openclaw": {
|
|
@@ -1 +0,0 @@
|
|
|
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-OlDdzwhV.mjs","sha256":"47f069744f14b8b5226cc4a937cc917a8903b5d4496b3e39b80a96bdc72ab0cb","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-CnPNkPhc.mjs","sha256":"2535ad958e3e1c5da46598268beefefdbe404960741b82b8f4f23564393d3bec","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-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":"67c5bb85628166e621530ea38760e20bafd217630439da4c7c902819e083b93c","facadeSource":"extensions/twitch/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"b6ea5f7fa47831948dea934ec538d7a5ca9650a6862fe51b6d4c5c63dfd6338e","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"]}
|