@openclaw/slack 2026.10.5-beta.1 → 2026.10.5-beta.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/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/package.json +4 -4
- package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts.map +1 -1
- package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +9 -17
- package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js.map +1 -1
- package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/package.json +4 -4
- package/node_modules/@slack/bolt/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/bolt/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@slack/bolt/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/package.json +2 -17
- package/node_modules/@slack/bolt/node_modules/@types/node/zlib.d.ts +6 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +6 -0
- package/package.json +4 -4
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/README.md +0 -15
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +0 -68
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +0 -1077
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +0 -711
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +0 -471
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +0 -1800
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +0 -1361
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +0 -432
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +0 -93
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/constants.d.ts +0 -14
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +0 -3964
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +0 -652
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +0 -497
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +0 -876
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +0 -150
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +0 -1008
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ffi.d.ts +0 -500
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +0 -1477
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +0 -4803
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +0 -2218
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +0 -2498
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +0 -400
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +0 -116
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +0 -265
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +0 -4406
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -726
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +0 -1074
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +0 -498
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/package.json +0 -155
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +0 -178
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +0 -617
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +0 -2269
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +0 -89
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +0 -139
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/quic.d.ts +0 -2191
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +0 -158
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +0 -508
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +0 -420
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +0 -47
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +0 -1140
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +0 -114
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/iter.d.ts +0 -449
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +0 -320
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +0 -1806
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +0 -27
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test/reporters.d.ts +0 -60
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +0 -2558
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -149
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +0 -1232
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +0 -103
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -467
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +0 -118
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +0 -118
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +0 -226
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +0 -556
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +0 -1677
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +0 -1059
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/vfs.d.ts +0 -211
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +0 -1137
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +0 -131
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/streams.d.ts +0 -119
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +0 -672
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +0 -606
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slack/socket-mode",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Official library for using the Slack Platform's Socket Mode API",
|
|
5
5
|
"author": "Slack Technologies, LLC",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@slack/logger": "^5.0.0",
|
|
55
|
-
"@slack/web-api": "^8.
|
|
55
|
+
"@slack/web-api": "^8.2.0",
|
|
56
56
|
"@types/node": ">=20",
|
|
57
57
|
"eventemitter3": "^5"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"undici": "^7.0.0"
|
|
60
|
+
"undici": "^7.0.0 || ^8.0.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/proxyquire": "^1.3.31",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"proxyquire": "^2.1.3",
|
|
67
67
|
"sinon": "^22.1.0",
|
|
68
68
|
"tsd": "^0.33.0",
|
|
69
|
-
"undici": "^7.
|
|
69
|
+
"undici": "^7.29.0",
|
|
70
70
|
"ws": "^8.21.3"
|
|
71
71
|
},
|
|
72
72
|
"tsd": {
|
package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackWebSocket.d.ts","sourceRoot":"","sources":["../../src/SlackWebSocket.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,OAAY,EAAE,KAAK,MAAM,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,eAAO,MAAM,eAAe,UAA8C,CAAC;AAsB3E,MAAM,WAAW,qBAAqB;IACpC,0DAA0D;IAC1D,GAAG,EAAE,MAAM,CAAC;IACZ,8FAA8F;IAC9F,MAAM,EAAE,YAAY,CAAC;IACrB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wFAAwF;IACxF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,qGAAqG;IACrG,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;OAGG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,qBAAa,cAAc;IAEzB,OAAO,CAAC,MAAM,CAAC,UAAU,CAAoB;IAE7C,OAAO,CA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AAqB;IAoBxB;;OAEG;IACI,OAAO,IAAI,IAAI;IAkEtB;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IAiB9B;;OAEG;IACI,UAAU,IAAI,IAAI;IA0BzB;;OAEG;IACH,OAAO,CAAC,OAAO;IA4Bf;;OAEG;IACI,QAAQ,IAAI,OAAO;IAU1B;;;OAGG;IACH,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;IAED;;OAEG;IACI,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,GAAG,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,GAAG,IAAI;IASrE;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;CA4C3B"}
|
|
@@ -40,11 +40,11 @@ const errors_1 = require("./errors");
|
|
|
40
40
|
const logger_1 = __importStar(require("./logger"));
|
|
41
41
|
exports.WS_READY_STATES = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];
|
|
42
42
|
const CLOSE_HANDSHAKE_TIMEOUT_MS = 30_000;
|
|
43
|
-
function
|
|
43
|
+
function isMessageForSocket(message, websocket) {
|
|
44
44
|
if (typeof message !== 'object' || message === null) {
|
|
45
45
|
return false;
|
|
46
46
|
}
|
|
47
|
-
if (!('websocket' in message && message.websocket
|
|
47
|
+
if (!('websocket' in message && message.websocket === websocket)) {
|
|
48
48
|
return false;
|
|
49
49
|
}
|
|
50
50
|
if (!('payload' in message && Buffer.isBuffer(message.payload))) {
|
|
@@ -155,30 +155,21 @@ class SlackWebSocket {
|
|
|
155
155
|
this.disconnect();
|
|
156
156
|
};
|
|
157
157
|
this.websocket.addEventListener('close', this.closeHandler);
|
|
158
|
-
//
|
|
159
|
-
// These channels fire for ALL undici WebSocket instances, so we filter by matching instance.
|
|
158
|
+
// These channels fire for every undici WebSocket in the process, so filter to this socket's frames.
|
|
160
159
|
this.pingHandler = (message) => {
|
|
161
|
-
if (!
|
|
162
|
-
this.logger.warn('Received unexpected ping diagnostics message format');
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
if (message.websocket !== this.websocket)
|
|
160
|
+
if (!this.websocket || !isMessageForSocket(message, this.websocket))
|
|
166
161
|
return;
|
|
167
162
|
if (this.options.pingPongLoggingEnabled) {
|
|
168
|
-
this.logger.debug(`WebSocket received ping from Slack server (data: ${message.payload
|
|
163
|
+
this.logger.debug(`WebSocket received ping from Slack server (data: ${message.payload.toString()})`);
|
|
169
164
|
}
|
|
170
165
|
this.monitorPingFromSlack();
|
|
171
166
|
};
|
|
172
167
|
SlackWebSocket.pingChannel.subscribe(this.pingHandler);
|
|
173
168
|
this.pongHandler = (message) => {
|
|
174
|
-
if (!
|
|
175
|
-
this.logger.warn('Received unexpected pong diagnostics message format');
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
if (message.websocket !== this.websocket)
|
|
169
|
+
if (!this.websocket || !isMessageForSocket(message, this.websocket))
|
|
179
170
|
return;
|
|
180
171
|
if (this.options.pingPongLoggingEnabled) {
|
|
181
|
-
this.logger.debug(`WebSocket received pong from Slack server (data: ${message.payload
|
|
172
|
+
this.logger.debug(`WebSocket received pong from Slack server (data: ${message.payload.toString()})`);
|
|
182
173
|
}
|
|
183
174
|
this.lastPongReceivedTimestamp = Date.now();
|
|
184
175
|
};
|
|
@@ -190,7 +181,8 @@ class SlackWebSocket {
|
|
|
190
181
|
* leaving no other way to close a stalled peer.
|
|
191
182
|
*/
|
|
192
183
|
buildDefaultDispatcher() {
|
|
193
|
-
|
|
184
|
+
// undici v8 defaults allowH2 to true; pin HTTP/1.1 so the WebSocket keeps a dedicated socket.
|
|
185
|
+
const baseConnect = (0, undici_1.buildConnector)({ allowH2: false });
|
|
194
186
|
return new undici_1.Agent({
|
|
195
187
|
connect: (opts, callback) => {
|
|
196
188
|
baseConnect(opts, (err, socket) => {
|
package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackWebSocket.js","sourceRoot":"","sources":["../../src/SlackWebSocket.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAmD;AAKnD,mCAAuH;AAEvH,qCAA4C;AAC5C,mDAAsD;AAGzC,QAAA,eAAe,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;AAE3E,MAAM,0BAA0B,GAAG,MAAM,CAAC;AAO1C,SAAS,
|
|
1
|
+
{"version":3,"file":"SlackWebSocket.js","sourceRoot":"","sources":["../../src/SlackWebSocket.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAmD;AAKnD,mCAAuH;AAEvH,qCAA4C;AAC5C,mDAAsD;AAGzC,QAAA,eAAe,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;AAE3E,MAAM,0BAA0B,GAAG,MAAM,CAAC;AAO1C,SAAS,kBAAkB,CAAC,OAAgB,EAAE,SAAoB;IAChE,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACpD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC,CAAC,WAAW,IAAI,OAAO,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,CAAC,EAAE,CAAC;QACjE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC,CAAC,SAAS,IAAI,OAAO,IAAI,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAiCD;;;GAGG;AACH,MAAa,cAAc;IACzB,2BAA2B;IACnB,MAAM,CAAC,UAAU,GAAG,gBAAgB,CAAC;I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YACD,4FAA4F;YAC5F,IAAI,SAAS,GAAY,gBAAgB,GAAG,CAAC,CAAC;YAC9C,IAAI,IAAI,CAAC,yBAAyB,KAAK,SAAS,EAAE,CAAC;gBACjD,wEAAwE;gBACxE,4EAA4E;gBAC5E,MAAM,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,yBAAyB,CAAC;gBACpD,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC;YACxD,CAAC;YACD,IAAI,SAAS,EAAE,CAAC;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,gEAAgE,IAAI,CAAC,OAAO,CAAC,mBAAmB,KAAK,CACtG,CAAC;gBACF,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,CAAC;QACH,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,mBAAmB,GAAG,CAAC,CAAC,CAAC;QACzC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,mDAAmD,CAAC,CAAC;IACzE,CAAC;;AApUH,wCAqUC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slack/socket-mode",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Official library for using the Slack Platform's Socket Mode API",
|
|
5
5
|
"author": "Slack Technologies, LLC",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@slack/logger": "^5.0.0",
|
|
55
|
-
"@slack/web-api": "^8.
|
|
55
|
+
"@slack/web-api": "^8.2.0",
|
|
56
56
|
"@types/node": ">=20",
|
|
57
57
|
"eventemitter3": "^5"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"undici": "^7.0.0"
|
|
60
|
+
"undici": "^7.0.0 || ^8.0.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/proxyquire": "^1.3.31",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"proxyquire": "^2.1.3",
|
|
67
67
|
"sinon": "^22.1.0",
|
|
68
68
|
"tsd": "^0.33.0",
|
|
69
|
-
"undici": "^7.
|
|
69
|
+
"undici": "^7.29.0",
|
|
70
70
|
"ws": "^8.21.3"
|
|
71
71
|
},
|
|
72
72
|
"tsd": {
|
|
@@ -8,8 +8,8 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 01 Oct 2026 22:35:12 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [
|
|
15
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
|
|
@@ -3633,7 +3633,7 @@ declare module "node:crypto" {
|
|
|
3633
3633
|
hash: HashAlgorithmIdentifier;
|
|
3634
3634
|
length?: number;
|
|
3635
3635
|
}
|
|
3636
|
-
interface KangarooTwelveParams {
|
|
3636
|
+
interface KangarooTwelveParams extends Algorithm {
|
|
3637
3637
|
customization?: NodeJS.BufferSource;
|
|
3638
3638
|
outputLength: number;
|
|
3639
3639
|
}
|
|
@@ -3706,7 +3706,7 @@ declare module "node:crypto" {
|
|
|
3706
3706
|
interface RsaPssParams extends Algorithm {
|
|
3707
3707
|
saltLength: number;
|
|
3708
3708
|
}
|
|
3709
|
-
interface TurboShakeParams {
|
|
3709
|
+
interface TurboShakeParams extends Algorithm {
|
|
3710
3710
|
domainSeparation?: number;
|
|
3711
3711
|
outputLength: number;
|
|
3712
3712
|
}
|
|
@@ -284,7 +284,7 @@ declare module "node:dgram" {
|
|
|
284
284
|
* and the `'connect'` event is emitted on the next tick. Trying to call
|
|
285
285
|
* `connectSync()` on an already connected socket throws an
|
|
286
286
|
* `ERR_SOCKET_DGRAM_IS_CONNECTED` exception, and calling it while an
|
|
287
|
-
* asynchronous
|
|
287
|
+
* asynchronous `socket.bind()` is still in progress throws an
|
|
288
288
|
* `ERR_SOCKET_ALREADY_BOUND` exception.
|
|
289
289
|
*
|
|
290
290
|
* `address` must be a numeric IP literal; `connectSync()` never performs DNS
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "26.6.
|
|
3
|
+
"version": "26.6.4",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,11 +50,6 @@
|
|
|
50
50
|
"githubUsername": "WilcoBakker",
|
|
51
51
|
"url": "https://github.com/WilcoBakker"
|
|
52
52
|
},
|
|
53
|
-
{
|
|
54
|
-
"name": "Marcin Kopacz",
|
|
55
|
-
"githubUsername": "chyzwar",
|
|
56
|
-
"url": "https://github.com/chyzwar"
|
|
57
|
-
},
|
|
58
53
|
{
|
|
59
54
|
"name": "Trivikram Kamat",
|
|
60
55
|
"githubUsername": "trivikr",
|
|
@@ -65,11 +60,6 @@
|
|
|
65
60
|
"githubUsername": "yoursunny",
|
|
66
61
|
"url": "https://github.com/yoursunny"
|
|
67
62
|
},
|
|
68
|
-
{
|
|
69
|
-
"name": "Ilia Baryshnikov",
|
|
70
|
-
"githubUsername": "qwelias",
|
|
71
|
-
"url": "https://github.com/qwelias"
|
|
72
|
-
},
|
|
73
63
|
{
|
|
74
64
|
"name": "ExE Boss",
|
|
75
65
|
"githubUsername": "ExE-Boss",
|
|
@@ -85,11 +75,6 @@
|
|
|
85
75
|
"githubUsername": "addaleax",
|
|
86
76
|
"url": "https://github.com/addaleax"
|
|
87
77
|
},
|
|
88
|
-
{
|
|
89
|
-
"name": "Victor Perin",
|
|
90
|
-
"githubUsername": "victorperin",
|
|
91
|
-
"url": "https://github.com/victorperin"
|
|
92
|
-
},
|
|
93
78
|
{
|
|
94
79
|
"name": "NodeJS Contributors",
|
|
95
80
|
"githubUsername": "NodeJS",
|
|
@@ -150,6 +135,6 @@
|
|
|
150
135
|
"undici-types": "~8.9.0"
|
|
151
136
|
},
|
|
152
137
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
138
|
+
"typesPublisherContentHash": "6c3e6bb0de9116746132571c03cd320ed541b2c7576c42dd3c7fa509e3440b61",
|
|
154
139
|
"typeScriptVersion": "5.6"
|
|
155
140
|
}
|
|
@@ -94,6 +94,12 @@ declare module "node:zlib" {
|
|
|
94
94
|
* [Zstd parameters](https://nodejs.org/docs/latest-v26.x/api/zlib.html#zstd-constants).
|
|
95
95
|
*/
|
|
96
96
|
params?: { [key: number]: number | boolean } | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Expected total size of the uncompressed input. Must match the input size
|
|
99
|
+
* when compression finishes. Only applicable to Zstd compressors.
|
|
100
|
+
* @since v22.15.0
|
|
101
|
+
*/
|
|
102
|
+
pledgedSrcSize?: number | undefined;
|
|
97
103
|
/**
|
|
98
104
|
* Limits output size when using
|
|
99
105
|
* [convenience methods](https://nodejs.org/docs/latest-v26.x/api/zlib.html#convenience-methods).
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 01 Oct 2026 22:35:12 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -3633,7 +3633,7 @@ declare module "node:crypto" {
|
|
|
3633
3633
|
hash: HashAlgorithmIdentifier;
|
|
3634
3634
|
length?: number;
|
|
3635
3635
|
}
|
|
3636
|
-
interface KangarooTwelveParams {
|
|
3636
|
+
interface KangarooTwelveParams extends Algorithm {
|
|
3637
3637
|
customization?: NodeJS.BufferSource;
|
|
3638
3638
|
outputLength: number;
|
|
3639
3639
|
}
|
|
@@ -3706,7 +3706,7 @@ declare module "node:crypto" {
|
|
|
3706
3706
|
interface RsaPssParams extends Algorithm {
|
|
3707
3707
|
saltLength: number;
|
|
3708
3708
|
}
|
|
3709
|
-
interface TurboShakeParams {
|
|
3709
|
+
interface TurboShakeParams extends Algorithm {
|
|
3710
3710
|
domainSeparation?: number;
|
|
3711
3711
|
outputLength: number;
|
|
3712
3712
|
}
|
|
@@ -284,7 +284,7 @@ declare module "node:dgram" {
|
|
|
284
284
|
* and the `'connect'` event is emitted on the next tick. Trying to call
|
|
285
285
|
* `connectSync()` on an already connected socket throws an
|
|
286
286
|
* `ERR_SOCKET_DGRAM_IS_CONNECTED` exception, and calling it while an
|
|
287
|
-
* asynchronous
|
|
287
|
+
* asynchronous `socket.bind()` is still in progress throws an
|
|
288
288
|
* `ERR_SOCKET_ALREADY_BOUND` exception.
|
|
289
289
|
*
|
|
290
290
|
* `address` must be a numeric IP literal; `connectSync()` never performs DNS
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "26.6.
|
|
3
|
+
"version": "26.6.4",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
"undici-types": "~8.9.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {},
|
|
138
|
-
"typesPublisherContentHash": "
|
|
138
|
+
"typesPublisherContentHash": "6c3e6bb0de9116746132571c03cd320ed541b2c7576c42dd3c7fa509e3440b61",
|
|
139
139
|
"typeScriptVersion": "5.6"
|
|
140
140
|
}
|
|
@@ -94,6 +94,12 @@ declare module "node:zlib" {
|
|
|
94
94
|
* [Zstd parameters](https://nodejs.org/docs/latest-v26.x/api/zlib.html#zstd-constants).
|
|
95
95
|
*/
|
|
96
96
|
params?: { [key: number]: number | boolean } | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Expected total size of the uncompressed input. Must match the input size
|
|
99
|
+
* when compression finishes. Only applicable to Zstd compressors.
|
|
100
|
+
* @since v22.15.0
|
|
101
|
+
*/
|
|
102
|
+
pledgedSrcSize?: number | undefined;
|
|
97
103
|
/**
|
|
98
104
|
* Limits output size when using
|
|
99
105
|
* [convenience methods](https://nodejs.org/docs/latest-v26.x/api/zlib.html#convenience-methods).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/slack",
|
|
3
|
-
"version": "2026.10.5-beta.
|
|
3
|
+
"version": "2026.10.5-beta.2",
|
|
4
4
|
"description": "OpenClaw Slack channel plugin for channels, DMs, commands, and app events.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"zod": "4.6.5"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"openclaw": ">=2026.10.5-beta.
|
|
20
|
+
"openclaw": ">=2026.10.5-beta.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependenciesMeta": {
|
|
23
23
|
"openclaw": {
|
|
@@ -150,10 +150,10 @@
|
|
|
150
150
|
"allowInvalidConfigRecovery": true
|
|
151
151
|
},
|
|
152
152
|
"compat": {
|
|
153
|
-
"pluginApi": ">=2026.10.5-beta.
|
|
153
|
+
"pluginApi": ">=2026.10.5-beta.2"
|
|
154
154
|
},
|
|
155
155
|
"build": {
|
|
156
|
-
"openclawVersion": "2026.10.5-beta.
|
|
156
|
+
"openclawVersion": "2026.10.5-beta.2",
|
|
157
157
|
"bundledDist": false
|
|
158
158
|
},
|
|
159
159
|
"release": {
|
package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Installation
|
|
2
|
-
> `npm install --save @types/node`
|
|
3
|
-
|
|
4
|
-
# Summary
|
|
5
|
-
This package contains type definitions for node (https://nodejs.org/).
|
|
6
|
-
|
|
7
|
-
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
|
-
|
|
10
|
-
### Additional Details
|
|
11
|
-
* Last updated: Tue, 15 Sep 2026 20:33:28 GMT
|
|
12
|
-
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
|
-
|
|
14
|
-
# Credits
|
|
15
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
declare module "node:assert/strict" {
|
|
2
|
-
import {
|
|
3
|
-
Assert,
|
|
4
|
-
AssertionError,
|
|
5
|
-
AssertionErrorOptions,
|
|
6
|
-
AssertMessageFunction,
|
|
7
|
-
AssertOptions,
|
|
8
|
-
AssertPredicate,
|
|
9
|
-
AssertStrict,
|
|
10
|
-
deepStrictEqual,
|
|
11
|
-
doesNotMatch,
|
|
12
|
-
doesNotReject,
|
|
13
|
-
doesNotThrow,
|
|
14
|
-
fail,
|
|
15
|
-
ifError,
|
|
16
|
-
match,
|
|
17
|
-
notDeepStrictEqual,
|
|
18
|
-
notStrictEqual,
|
|
19
|
-
ok,
|
|
20
|
-
partialDeepStrictEqual,
|
|
21
|
-
rejects,
|
|
22
|
-
strictEqual,
|
|
23
|
-
throws,
|
|
24
|
-
} from "node:assert";
|
|
25
|
-
function strict(
|
|
26
|
-
value: unknown,
|
|
27
|
-
message?: Error | AssertMessageFunction,
|
|
28
|
-
): asserts value;
|
|
29
|
-
function strict(
|
|
30
|
-
value: unknown,
|
|
31
|
-
message: string,
|
|
32
|
-
...args: unknown[]
|
|
33
|
-
): asserts value;
|
|
34
|
-
namespace strict {
|
|
35
|
-
export {
|
|
36
|
-
Assert,
|
|
37
|
-
AssertionError,
|
|
38
|
-
AssertionErrorOptions,
|
|
39
|
-
AssertOptions,
|
|
40
|
-
AssertPredicate,
|
|
41
|
-
AssertStrict,
|
|
42
|
-
deepStrictEqual,
|
|
43
|
-
deepStrictEqual as deepEqual,
|
|
44
|
-
doesNotMatch,
|
|
45
|
-
doesNotReject,
|
|
46
|
-
doesNotThrow,
|
|
47
|
-
fail,
|
|
48
|
-
ifError,
|
|
49
|
-
match,
|
|
50
|
-
notDeepStrictEqual,
|
|
51
|
-
notDeepStrictEqual as notDeepEqual,
|
|
52
|
-
notStrictEqual,
|
|
53
|
-
notStrictEqual as notEqual,
|
|
54
|
-
ok,
|
|
55
|
-
partialDeepStrictEqual,
|
|
56
|
-
rejects,
|
|
57
|
-
strict,
|
|
58
|
-
strictEqual,
|
|
59
|
-
strictEqual as equal,
|
|
60
|
-
throws,
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
export = strict;
|
|
64
|
-
}
|
|
65
|
-
declare module "assert/strict" {
|
|
66
|
-
import strict = require("node:assert/strict");
|
|
67
|
-
export = strict;
|
|
68
|
-
}
|