@openclaw/twitch 2026.5.26 → 2026.5.27

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.
Files changed (145) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/channel-plugin-api.js +1 -1
  3. package/dist/{monitor-OQV-HuXr.js → monitor-DtKWUPTM.js} +7 -15
  4. package/dist/{plugin-C_YMBt4q.js → plugin-n6agZBWc.js} +2 -2
  5. package/node_modules/@types/ws/node_modules/@types/node/LICENSE +21 -0
  6. package/node_modules/@types/ws/node_modules/@types/node/README.md +15 -0
  7. package/node_modules/@types/ws/node_modules/@types/node/assert/strict.d.ts +59 -0
  8. package/node_modules/@types/ws/node_modules/@types/node/assert.d.ts +950 -0
  9. package/node_modules/@types/ws/node_modules/@types/node/async_hooks.d.ts +711 -0
  10. package/node_modules/@types/ws/node_modules/@types/node/buffer.buffer.d.ts +466 -0
  11. package/node_modules/@types/ws/node_modules/@types/node/buffer.d.ts +1765 -0
  12. package/node_modules/@types/ws/node_modules/@types/node/child_process.d.ts +1366 -0
  13. package/node_modules/@types/ws/node_modules/@types/node/cluster.d.ts +432 -0
  14. package/node_modules/@types/ws/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  15. package/node_modules/@types/ws/node_modules/@types/node/console.d.ts +93 -0
  16. package/node_modules/@types/ws/node_modules/@types/node/constants.d.ts +14 -0
  17. package/node_modules/@types/ws/node_modules/@types/node/crypto.d.ts +4058 -0
  18. package/node_modules/@types/ws/node_modules/@types/node/dgram.d.ts +537 -0
  19. package/node_modules/@types/ws/node_modules/@types/node/diagnostics_channel.d.ts +552 -0
  20. package/node_modules/@types/ws/node_modules/@types/node/dns/promises.d.ts +497 -0
  21. package/node_modules/@types/ws/node_modules/@types/node/dns.d.ts +876 -0
  22. package/node_modules/@types/ws/node_modules/@types/node/domain.d.ts +150 -0
  23. package/node_modules/@types/ws/node_modules/@types/node/events.d.ts +1008 -0
  24. package/node_modules/@types/ws/node_modules/@types/node/fs/promises.d.ts +1468 -0
  25. package/node_modules/@types/ws/node_modules/@types/node/fs.d.ts +4780 -0
  26. package/node_modules/@types/ws/node_modules/@types/node/globals.d.ts +150 -0
  27. package/node_modules/@types/ws/node_modules/@types/node/globals.typedarray.d.ts +101 -0
  28. package/node_modules/@types/ws/node_modules/@types/node/http.d.ts +2147 -0
  29. package/node_modules/@types/ws/node_modules/@types/node/http2.d.ts +2485 -0
  30. package/node_modules/@types/ws/node_modules/@types/node/https.d.ts +400 -0
  31. package/node_modules/@types/ws/node_modules/@types/node/index.d.ts +117 -0
  32. package/node_modules/@types/ws/node_modules/@types/node/inspector/promises.d.ts +35 -0
  33. package/node_modules/@types/ws/node_modules/@types/node/inspector.d.ts +264 -0
  34. package/node_modules/@types/ws/node_modules/@types/node/inspector.generated.d.ts +4406 -0
  35. package/node_modules/@types/ws/node_modules/@types/node/module.d.ts +755 -0
  36. package/node_modules/@types/ws/node_modules/@types/node/net.d.ts +970 -0
  37. package/node_modules/@types/ws/node_modules/@types/node/os.d.ts +498 -0
  38. package/node_modules/@types/ws/node_modules/@types/node/package.json +155 -0
  39. package/node_modules/@types/ws/node_modules/@types/node/path/posix.d.ts +8 -0
  40. package/node_modules/@types/ws/node_modules/@types/node/path/win32.d.ts +8 -0
  41. package/node_modules/@types/ws/node_modules/@types/node/path.d.ts +178 -0
  42. package/node_modules/@types/ws/node_modules/@types/node/perf_hooks.d.ts +612 -0
  43. package/node_modules/@types/ws/node_modules/@types/node/process.d.ts +2204 -0
  44. package/node_modules/@types/ws/node_modules/@types/node/punycode.d.ts +89 -0
  45. package/node_modules/@types/ws/node_modules/@types/node/querystring.d.ts +139 -0
  46. package/node_modules/@types/ws/node_modules/@types/node/quic.d.ts +897 -0
  47. package/node_modules/@types/ws/node_modules/@types/node/readline/promises.d.ts +158 -0
  48. package/node_modules/@types/ws/node_modules/@types/node/readline.d.ts +507 -0
  49. package/node_modules/@types/ws/node_modules/@types/node/repl.d.ts +420 -0
  50. package/node_modules/@types/ws/node_modules/@types/node/sea.d.ts +47 -0
  51. package/node_modules/@types/ws/node_modules/@types/node/sqlite.d.ts +1068 -0
  52. package/node_modules/@types/ws/node_modules/@types/node/stream/consumers.d.ts +114 -0
  53. package/node_modules/@types/ws/node_modules/@types/node/stream/iter.d.ts +301 -0
  54. package/node_modules/@types/ws/node_modules/@types/node/stream/promises.d.ts +211 -0
  55. package/node_modules/@types/ws/node_modules/@types/node/stream/web.d.ts +300 -0
  56. package/node_modules/@types/ws/node_modules/@types/node/stream.d.ts +1774 -0
  57. package/node_modules/@types/ws/node_modules/@types/node/string_decoder.d.ts +27 -0
  58. package/node_modules/@types/ws/node_modules/@types/node/test/reporters.d.ts +59 -0
  59. package/node_modules/@types/ws/node_modules/@types/node/test.d.ts +2279 -0
  60. package/node_modules/@types/ws/node_modules/@types/node/timers/promises.d.ts +93 -0
  61. package/node_modules/@types/ws/node_modules/@types/node/timers.d.ts +149 -0
  62. package/node_modules/@types/ws/node_modules/@types/node/tls.d.ts +1193 -0
  63. package/node_modules/@types/ws/node_modules/@types/node/trace_events.d.ts +103 -0
  64. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
  65. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  66. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  67. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/index.d.ts +119 -0
  68. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  69. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/index.d.ts +119 -0
  70. package/node_modules/@types/ws/node_modules/@types/node/tty.d.ts +225 -0
  71. package/node_modules/@types/ws/node_modules/@types/node/url.d.ts +556 -0
  72. package/node_modules/@types/ws/node_modules/@types/node/util/types.d.ts +558 -0
  73. package/node_modules/@types/ws/node_modules/@types/node/util.d.ts +1677 -0
  74. package/node_modules/@types/ws/node_modules/@types/node/v8.d.ts +980 -0
  75. package/node_modules/@types/ws/node_modules/@types/node/vm.d.ts +1136 -0
  76. package/node_modules/@types/ws/node_modules/@types/node/wasi.d.ts +131 -0
  77. package/node_modules/@types/ws/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
  78. package/node_modules/@types/ws/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  79. package/node_modules/@types/ws/node_modules/@types/node/web-globals/console.d.ts +9 -0
  80. package/node_modules/@types/ws/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
  81. package/node_modules/@types/ws/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  82. package/node_modules/@types/ws/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  83. package/node_modules/@types/ws/node_modules/@types/node/web-globals/events.d.ts +106 -0
  84. package/node_modules/@types/ws/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
  85. package/node_modules/@types/ws/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  86. package/node_modules/@types/ws/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  87. package/node_modules/@types/ws/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  88. package/node_modules/@types/ws/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  89. package/node_modules/@types/ws/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  90. package/node_modules/@types/ws/node_modules/@types/node/web-globals/streams.d.ts +115 -0
  91. package/node_modules/@types/ws/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  92. package/node_modules/@types/ws/node_modules/@types/node/web-globals/url.d.ts +24 -0
  93. package/node_modules/@types/ws/node_modules/@types/node/worker_threads.d.ts +671 -0
  94. package/node_modules/@types/ws/node_modules/@types/node/zlib/iter.d.ts +131 -0
  95. package/node_modules/@types/ws/node_modules/@types/node/zlib.d.ts +589 -0
  96. package/node_modules/@types/ws/node_modules/undici-types/LICENSE +21 -0
  97. package/node_modules/@types/ws/node_modules/undici-types/README.md +6 -0
  98. package/node_modules/@types/ws/node_modules/undici-types/agent.d.ts +32 -0
  99. package/node_modules/@types/ws/node_modules/undici-types/api.d.ts +43 -0
  100. package/node_modules/@types/ws/node_modules/undici-types/balanced-pool.d.ts +30 -0
  101. package/node_modules/@types/ws/node_modules/undici-types/cache-interceptor.d.ts +179 -0
  102. package/node_modules/@types/ws/node_modules/undici-types/cache.d.ts +36 -0
  103. package/node_modules/@types/ws/node_modules/undici-types/client-stats.d.ts +15 -0
  104. package/node_modules/@types/ws/node_modules/undici-types/client.d.ts +123 -0
  105. package/node_modules/@types/ws/node_modules/undici-types/connector.d.ts +36 -0
  106. package/node_modules/@types/ws/node_modules/undici-types/content-type.d.ts +21 -0
  107. package/node_modules/@types/ws/node_modules/undici-types/cookies.d.ts +30 -0
  108. package/node_modules/@types/ws/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
  109. package/node_modules/@types/ws/node_modules/undici-types/dispatcher.d.ts +279 -0
  110. package/node_modules/@types/ws/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  111. package/node_modules/@types/ws/node_modules/undici-types/errors.d.ts +177 -0
  112. package/node_modules/@types/ws/node_modules/undici-types/eventsource.d.ts +66 -0
  113. package/node_modules/@types/ws/node_modules/undici-types/fetch.d.ts +211 -0
  114. package/node_modules/@types/ws/node_modules/undici-types/formdata.d.ts +108 -0
  115. package/node_modules/@types/ws/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  116. package/node_modules/@types/ws/node_modules/undici-types/global-origin.d.ts +7 -0
  117. package/node_modules/@types/ws/node_modules/undici-types/h2c-client.d.ts +73 -0
  118. package/node_modules/@types/ws/node_modules/undici-types/handlers.d.ts +15 -0
  119. package/node_modules/@types/ws/node_modules/undici-types/header.d.ts +160 -0
  120. package/node_modules/@types/ws/node_modules/undici-types/index.d.ts +91 -0
  121. package/node_modules/@types/ws/node_modules/undici-types/interceptors.d.ts +80 -0
  122. package/node_modules/@types/ws/node_modules/undici-types/mock-agent.d.ts +68 -0
  123. package/node_modules/@types/ws/node_modules/undici-types/mock-call-history.d.ts +111 -0
  124. package/node_modules/@types/ws/node_modules/undici-types/mock-client.d.ts +27 -0
  125. package/node_modules/@types/ws/node_modules/undici-types/mock-errors.d.ts +12 -0
  126. package/node_modules/@types/ws/node_modules/undici-types/mock-interceptor.d.ts +94 -0
  127. package/node_modules/@types/ws/node_modules/undici-types/mock-pool.d.ts +27 -0
  128. package/node_modules/@types/ws/node_modules/undici-types/package.json +55 -0
  129. package/node_modules/@types/ws/node_modules/undici-types/patch.d.ts +29 -0
  130. package/node_modules/@types/ws/node_modules/undici-types/pool-stats.d.ts +19 -0
  131. package/node_modules/@types/ws/node_modules/undici-types/pool.d.ts +41 -0
  132. package/node_modules/@types/ws/node_modules/undici-types/proxy-agent.d.ts +29 -0
  133. package/node_modules/@types/ws/node_modules/undici-types/readable.d.ts +68 -0
  134. package/node_modules/@types/ws/node_modules/undici-types/retry-agent.d.ts +8 -0
  135. package/node_modules/@types/ws/node_modules/undici-types/retry-handler.d.ts +125 -0
  136. package/node_modules/@types/ws/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  137. package/node_modules/@types/ws/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  138. package/node_modules/@types/ws/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
  139. package/node_modules/@types/ws/node_modules/undici-types/util.d.ts +18 -0
  140. package/node_modules/@types/ws/node_modules/undici-types/utility.d.ts +7 -0
  141. package/node_modules/@types/ws/node_modules/undici-types/webidl.d.ts +347 -0
  142. package/node_modules/@types/ws/node_modules/undici-types/websocket.d.ts +188 -0
  143. package/npm-shrinkwrap.json +17 -2
  144. package/openclaw.plugin.json +2 -0
  145. package/package.json +5 -5
@@ -0,0 +1,188 @@
1
+ /// <reference types="node" />
2
+
3
+ import type { Blob } from 'node:buffer'
4
+ import type { ReadableStream, WritableStream } from 'node:stream/web'
5
+ import type { MessagePort } from 'node:worker_threads'
6
+ import {
7
+ EventInit,
8
+ EventListenerOptions,
9
+ AddEventListenerOptions,
10
+ EventListenerOrEventListenerObject
11
+ } from './patch'
12
+ import Dispatcher from './dispatcher'
13
+ import { HeadersInit } from './fetch'
14
+
15
+ export type BinaryType = 'blob' | 'arraybuffer'
16
+
17
+ interface WebSocketEventMap {
18
+ close: CloseEvent
19
+ error: ErrorEvent
20
+ message: MessageEvent
21
+ open: Event
22
+ }
23
+
24
+ interface WebSocket extends EventTarget {
25
+ binaryType: BinaryType
26
+
27
+ readonly bufferedAmount: number
28
+ readonly extensions: string
29
+
30
+ onclose: ((this: WebSocket, ev: WebSocketEventMap['close']) => any) | null
31
+ onerror: ((this: WebSocket, ev: WebSocketEventMap['error']) => any) | null
32
+ onmessage: ((this: WebSocket, ev: WebSocketEventMap['message']) => any) | null
33
+ onopen: ((this: WebSocket, ev: WebSocketEventMap['open']) => any) | null
34
+
35
+ readonly protocol: string
36
+ readonly readyState: number
37
+ readonly url: string
38
+
39
+ close(code?: number, reason?: string): void
40
+ send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
41
+
42
+ readonly CLOSED: number
43
+ readonly CLOSING: number
44
+ readonly CONNECTING: number
45
+ readonly OPEN: number
46
+
47
+ addEventListener<K extends keyof WebSocketEventMap>(
48
+ type: K,
49
+ listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
50
+ options?: boolean | AddEventListenerOptions
51
+ ): void
52
+ addEventListener(
53
+ type: string,
54
+ listener: EventListenerOrEventListenerObject,
55
+ options?: boolean | AddEventListenerOptions
56
+ ): void
57
+ removeEventListener<K extends keyof WebSocketEventMap>(
58
+ type: K,
59
+ listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
60
+ options?: boolean | EventListenerOptions
61
+ ): void
62
+ removeEventListener(
63
+ type: string,
64
+ listener: EventListenerOrEventListenerObject,
65
+ options?: boolean | EventListenerOptions
66
+ ): void
67
+ }
68
+
69
+ export declare const WebSocket: {
70
+ prototype: WebSocket
71
+ new (url: string | URL, protocols?: string | string[] | WebSocketInit): WebSocket
72
+ readonly CLOSED: number
73
+ readonly CLOSING: number
74
+ readonly CONNECTING: number
75
+ readonly OPEN: number
76
+ }
77
+
78
+ interface CloseEventInit extends EventInit {
79
+ code?: number
80
+ reason?: string
81
+ wasClean?: boolean
82
+ }
83
+
84
+ interface CloseEvent extends Event {
85
+ readonly code: number
86
+ readonly reason: string
87
+ readonly wasClean: boolean
88
+ }
89
+
90
+ export declare const CloseEvent: {
91
+ prototype: CloseEvent
92
+ new (type: string, eventInitDict?: CloseEventInit): CloseEvent
93
+ }
94
+
95
+ interface MessageEventInit<T = any> extends EventInit {
96
+ data?: T
97
+ lastEventId?: string
98
+ origin?: string
99
+ ports?: MessagePort[]
100
+ source?: MessagePort | null
101
+ }
102
+
103
+ interface MessageEvent<T = any> extends Event {
104
+ readonly data: T
105
+ readonly lastEventId: string
106
+ readonly origin: string
107
+ readonly ports: readonly MessagePort[]
108
+ readonly source: MessagePort | null
109
+ initMessageEvent(
110
+ type: string,
111
+ bubbles?: boolean,
112
+ cancelable?: boolean,
113
+ data?: any,
114
+ origin?: string,
115
+ lastEventId?: string,
116
+ source?: MessagePort | null,
117
+ ports?: MessagePort[]
118
+ ): void;
119
+ }
120
+
121
+ export declare const MessageEvent: {
122
+ prototype: MessageEvent
123
+ new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>
124
+ }
125
+
126
+ interface ErrorEventInit extends EventInit {
127
+ message?: string
128
+ filename?: string
129
+ lineno?: number
130
+ colno?: number
131
+ error?: any
132
+ }
133
+
134
+ interface ErrorEvent extends Event {
135
+ readonly message: string
136
+ readonly filename: string
137
+ readonly lineno: number
138
+ readonly colno: number
139
+ readonly error: Error
140
+ }
141
+
142
+ export declare const ErrorEvent: {
143
+ prototype: ErrorEvent
144
+ new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent
145
+ }
146
+
147
+ interface WebSocketInit {
148
+ protocols?: string | string[],
149
+ dispatcher?: Dispatcher,
150
+ headers?: HeadersInit
151
+ }
152
+
153
+ interface WebSocketStreamOptions {
154
+ protocols?: string | string[]
155
+ signal?: AbortSignal
156
+ }
157
+
158
+ interface WebSocketCloseInfo {
159
+ closeCode: number
160
+ reason: string
161
+ }
162
+
163
+ interface WebSocketStream {
164
+ closed: Promise<WebSocketCloseInfo>
165
+ opened: Promise<{
166
+ extensions: string
167
+ protocol: string
168
+ readable: ReadableStream
169
+ writable: WritableStream
170
+ }>
171
+ url: string
172
+
173
+ close(options?: Partial<WebSocketCloseInfo>): void
174
+ }
175
+
176
+ export declare const WebSocketStream: {
177
+ prototype: WebSocketStream
178
+ new (url: string | URL, options?: WebSocketStreamOptions): WebSocketStream
179
+ }
180
+
181
+ interface WebSocketError extends Event, WebSocketCloseInfo {}
182
+
183
+ export declare const WebSocketError: {
184
+ prototype: WebSocketError
185
+ new (type: string, init?: WebSocketCloseInfo): WebSocketError
186
+ }
187
+
188
+ export declare const ping: (ws: WebSocket, body?: Buffer) => void
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/twitch",
3
- "version": "2026.5.26",
3
+ "version": "2026.5.27",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/twitch",
9
- "version": "2026.5.26",
9
+ "version": "2026.5.27",
10
10
  "dependencies": {
11
11
  "@twurple/api": "8.1.4",
12
12
  "@twurple/auth": "8.1.4",
@@ -235,6 +235,21 @@
235
235
  "@types/node": "*"
236
236
  }
237
237
  },
238
+ "node_modules/@types/ws/node_modules/@types/node": {
239
+ "version": "25.9.1",
240
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.1.tgz",
241
+ "integrity": "sha512-xfrlY7UD5rMJk3ZVJP8BNzS28J36YJg+xp+LPXV1TdWxr8uMH5A860QNxYDGQe/ylDSgjxE52Q9VnO7p75tJxg==",
242
+ "license": "MIT",
243
+ "dependencies": {
244
+ "undici-types": ">=7.24.0 <7.24.7"
245
+ }
246
+ },
247
+ "node_modules/@types/ws/node_modules/undici-types": {
248
+ "version": "7.24.6",
249
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
250
+ "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
251
+ "license": "MIT"
252
+ },
238
253
  "node_modules/ircv3": {
239
254
  "version": "0.33.1",
240
255
  "resolved": "https://registry.npmjs.org/ircv3/-/ircv3-0.33.1.tgz",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "id": "twitch",
3
+ "name": "Twitch",
4
+ "description": "OpenClaw Twitch channel plugin for chat and moderation workflows.",
3
5
  "activation": {
4
6
  "onStartup": false
5
7
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openclaw/twitch",
3
- "version": "2026.5.26",
4
- "description": "OpenClaw Twitch channel plugin",
3
+ "version": "2026.5.27",
4
+ "description": "OpenClaw Twitch channel plugin for chat and moderation workflows.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/openclaw/openclaw"
@@ -24,10 +24,10 @@
24
24
  "minHostVersion": ">=2026.4.10"
25
25
  },
26
26
  "compat": {
27
- "pluginApi": ">=2026.5.26"
27
+ "pluginApi": ">=2026.5.27"
28
28
  },
29
29
  "build": {
30
- "openclawVersion": "2026.5.26"
30
+ "openclawVersion": "2026.5.27"
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.5.26"
58
+ "openclaw": ">=2026.5.27"
59
59
  },
60
60
  "peerDependenciesMeta": {
61
61
  "openclaw": {