@openclaw/twitch 2026.6.8 → 2026.6.9-beta.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/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as twitchPlugin } from "./plugin-CKzmPOuR.js";
1
+ import { t as twitchPlugin } from "./plugin-BqKCtREI.js";
2
2
  import { n as setTwitchRuntime } from "./runtime-B5If4b0g.js";
3
3
  export { setTwitchRuntime, twitchPlugin };
@@ -1,2 +1,2 @@
1
- import { t as twitchPlugin } from "./plugin-CKzmPOuR.js";
1
+ import { t as twitchPlugin } from "./plugin-BqKCtREI.js";
2
2
  export { twitchPlugin };
@@ -1,4 +1,4 @@
1
- import { n as stripMarkdownForTwitch, r as getOrCreateClientManager } from "./plugin-CKzmPOuR.js";
1
+ import { n as stripMarkdownForTwitch, r as getOrCreateClientManager } from "./plugin-BqKCtREI.js";
2
2
  import { t as getTwitchRuntime } from "./runtime-B5If4b0g.js";
3
3
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
4
4
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -1341,19 +1341,28 @@ const twitchPlugin = createChatChannelPlugin({
1341
1341
  lastError: null
1342
1342
  });
1343
1343
  ctx.log?.info(`Starting Twitch connection for ${account.username}`);
1344
- await runStoppablePassiveMonitor({
1345
- abortSignal: ctx.abortSignal,
1346
- start: async () => {
1347
- const { monitorTwitchProvider } = await import("./monitor-BtpH6LRk.js");
1348
- return monitorTwitchProvider({
1349
- account,
1350
- accountId,
1351
- config: ctx.cfg,
1352
- runtime: ctx.runtime,
1353
- abortSignal: ctx.abortSignal
1354
- });
1355
- }
1356
- });
1344
+ try {
1345
+ await runStoppablePassiveMonitor({
1346
+ abortSignal: ctx.abortSignal,
1347
+ start: async () => {
1348
+ const { monitorTwitchProvider } = await import("./monitor-D6Hrkex_.js");
1349
+ return monitorTwitchProvider({
1350
+ account,
1351
+ accountId,
1352
+ config: ctx.cfg,
1353
+ runtime: ctx.runtime,
1354
+ abortSignal: ctx.abortSignal
1355
+ });
1356
+ }
1357
+ });
1358
+ } catch (error) {
1359
+ ctx.setStatus?.({
1360
+ accountId,
1361
+ running: false,
1362
+ lastStopAt: Date.now()
1363
+ });
1364
+ throw error;
1365
+ }
1357
1366
  },
1358
1367
  stopAccount: async (ctx) => {
1359
1368
  const account = ctx.account;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/twitch",
3
- "version": "2026.6.8",
3
+ "version": "2026.6.9-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/twitch",
9
- "version": "2026.6.8",
9
+ "version": "2026.6.9-beta.1",
10
10
  "dependencies": {
11
11
  "@twurple/api": "8.1.4",
12
12
  "@twurple/auth": "8.1.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/twitch",
3
- "version": "2026.6.8",
3
+ "version": "2026.6.9-beta.1",
4
4
  "description": "OpenClaw Twitch channel plugin for chat and moderation workflows.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,10 +24,10 @@
24
24
  "minHostVersion": ">=2026.4.10"
25
25
  },
26
26
  "compat": {
27
- "pluginApi": ">=2026.6.8"
27
+ "pluginApi": ">=2026.6.9-beta.1"
28
28
  },
29
29
  "build": {
30
- "openclawVersion": "2026.6.8"
30
+ "openclawVersion": "2026.6.9-beta.1"
31
31
  },
32
32
  "channel": {
33
33
  "id": "twitch",
@@ -55,7 +55,7 @@
55
55
  "README.md"
56
56
  ],
57
57
  "peerDependencies": {
58
- "openclaw": ">=2026.6.8"
58
+ "openclaw": ">=2026.6.9-beta.1"
59
59
  },
60
60
  "peerDependenciesMeta": {
61
61
  "openclaw": {