@openclaw/twitch 2026.6.34 → 2026.6.35

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-BqKCtREI.js";
1
+ import { t as twitchPlugin } from "./plugin-lprvRL_L.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-BqKCtREI.js";
1
+ import { t as twitchPlugin } from "./plugin-lprvRL_L.js";
2
2
  export { twitchPlugin };
@@ -1,4 +1,4 @@
1
- import { n as stripMarkdownForTwitch, r as getOrCreateClientManager } from "./plugin-BqKCtREI.js";
1
+ import { n as stripMarkdownForTwitch, r as getOrCreateClientManager } from "./plugin-lprvRL_L.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";
@@ -8,6 +8,7 @@ import { createComputedAccountStatusAdapter, createDefaultChannelRuntimeState }
8
8
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
9
9
  import { normalizeLowercaseStringOrEmpty, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
10
10
  import { createMessageReceiptFromOutboundResults, defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-outbound";
11
+ import { sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
11
12
  import { RefreshingAuthProvider, StaticAuthProvider } from "@twurple/auth";
12
13
  import { ChatClient, LogLevel } from "@twurple/chat";
13
14
  import { MarkdownConfigSchema } from "openclaw/plugin-sdk/channel-config-primitives";
@@ -568,6 +569,8 @@ const twitchOutbound = {
568
569
  } },
569
570
  /** Twitch chat message limit is 500 characters */
570
571
  textChunkLimit: 500,
572
+ /** Strip internal assistant tool-trace scaffolding before delivery */
573
+ sanitizeText: ({ text }) => sanitizeAssistantVisibleText(text),
571
574
  /** Word-boundary chunker with markdown stripping */
572
575
  chunker: chunkTextForTwitch,
573
576
  /**
@@ -1345,7 +1348,7 @@ const twitchPlugin = createChatChannelPlugin({
1345
1348
  await runStoppablePassiveMonitor({
1346
1349
  abortSignal: ctx.abortSignal,
1347
1350
  start: async () => {
1348
- const { monitorTwitchProvider } = await import("./monitor-D6Hrkex_.js");
1351
+ const { monitorTwitchProvider } = await import("./monitor-Bvh7zmJc.js");
1349
1352
  return monitorTwitchProvider({
1350
1353
  account,
1351
1354
  accountId,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/twitch",
3
- "version": "2026.6.34",
3
+ "version": "2026.6.35",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/twitch",
9
- "version": "2026.6.34",
9
+ "version": "2026.6.35",
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.34",
3
+ "version": "2026.6.35",
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.34"
27
+ "pluginApi": ">=2026.6.35"
28
28
  },
29
29
  "build": {
30
- "openclawVersion": "2026.6.34"
30
+ "openclawVersion": "2026.6.35"
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.34"
58
+ "openclaw": ">=2026.6.35"
59
59
  },
60
60
  "peerDependenciesMeta": {
61
61
  "openclaw": {