@openclaw/slack 2026.10.10-beta.4 → 2026.10.10
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/{account-configured-zcR9TJJN.mjs → account-configured-35y0-Hso.mjs} +1 -2
- package/dist/.setup/{account-inspect-CmkKiSb9.mjs → account-inspect-Bc7TVU8F.mjs} +3 -4
- package/dist/.setup/{accounts-msihSF3-.mjs → accounts-CEgdyqoW.mjs} +6 -10
- package/dist/.setup/{action-runtime-CgYsBWl6.mjs → action-runtime-DPoxYao5.mjs} +9 -10
- package/dist/.setup/action-runtime.runtime-DWKWaKgC.mjs +1 -0
- package/dist/.setup/{actions-CafoV8hS.mjs → actions-PF2cP6to.mjs} +14 -22
- package/dist/.setup/{approval-handler.runtime-Pty8hAZ9.mjs → approval-handler.runtime-BtRklemy.mjs} +7 -8
- package/dist/.setup/{approval-message-updates-DCnXFLf3.mjs → approval-message-updates-CpwbsEj6.mjs} +2 -3
- package/dist/.setup/{channel-B7jkkIen.mjs → channel-B6bRmYmX.mjs} +32 -39
- package/dist/.setup/{channel-meta-C443t-lI.mjs → channel-meta-C5vsCo3a.mjs} +1 -2
- package/dist/.setup/{channel-type-BrbGGbzI.mjs → channel-type-Dh4vwh1Y.mjs} +5 -6
- package/dist/.setup/{channel.setup-u6QQdbTa.mjs → channel.setup-BBzT6uKA.mjs} +10 -14
- package/dist/.setup/{config-schema-DNnh6bWU.mjs → config-schema-Cz3uId-c.mjs} +2 -4
- package/dist/.setup/{directory-config-Cjj0N8R0.mjs → directory-config-BEPra1E2.mjs} +5 -6
- package/dist/.setup/{directory-live-BIKD-5B_.mjs → directory-live-BkUwPrS0.mjs} +4 -5
- package/dist/.setup/{doctor-contract-Cd4-VzIM.mjs → doctor-contract-HK8aedwU.mjs} +7 -13
- package/dist/.setup/http-GpAVKwSX.mjs +2 -0
- package/dist/.setup/{message-tool-api-BS5ekEA_.mjs → message-tool-api-DeiQJoRV.mjs} +5 -7
- package/dist/.setup/{monitor-B36YZetK.mjs → monitor-DsZUQtTM.mjs} +116 -147
- package/dist/.setup/{outbound-adapter-BlN9vmT-.mjs → outbound-adapter-C0R5jz6S.mjs} +8 -9
- package/dist/.setup/{pipeline.runtime-CT7Krkyw.mjs → pipeline.runtime-CIFVL0kf.mjs} +41 -68
- package/dist/.setup/{plugin-routes-D4qozHVn.mjs → plugin-routes-lXsy_bNV.mjs} +2 -3
- package/dist/.setup/{policy-D4eNyn8m.mjs → policy-Bp1FvE6m.mjs} +4 -6
- package/dist/.setup/{probe-IiHogLQN.mjs → probe-C5VWf3sz.mjs} +11 -19
- package/dist/.setup/{registry-DizWcnNp.mjs → registry-1G0f1zuZ.mjs} +2 -4
- package/dist/.setup/{relay-source-DCfb4yWT.mjs → relay-source-DFBDTA5Z.mjs} +4 -6
- package/dist/.setup/{replies-Dwwt4eVi.mjs → replies-7DRN46EL.mjs} +7 -9
- package/dist/.setup/{reply-blocks-CoZ_dGM_.mjs → reply-blocks-DOjiDr44.mjs} +4 -7
- package/dist/.setup/{resolve-channels-DRRhElwz.mjs → resolve-channels-BNQ1KZXh.mjs} +4 -5
- package/dist/.setup/{resolve-users-Cz8e17ky.mjs → resolve-users-C4dC8Z7D.mjs} +4 -5
- package/dist/.setup/{rolldown-runtime-B4FMCO8f.mjs → rolldown-runtime-nwUcYXjP.mjs} +1 -2
- package/dist/.setup/{runtime-JSVZSWAj.mjs → runtime-C6HKn7Av.mjs} +1 -2
- package/dist/.setup/runtime-setter-api-DrXr965r.mjs +2 -0
- package/dist/.setup/{scopes-DfQVi8Jw.mjs → scopes-C1aeCBa6.mjs} +2 -3
- package/dist/.setup/{secret-contract-B-Qm6aQQ.mjs → secret-contract-D0UY2JWF.mjs} +1 -2
- package/dist/.setup/{secret-contract-api-DB6CMdgc.mjs → secret-contract-api-BhzGpUb0.mjs} +1 -1
- package/dist/.setup/{security-audit-DFGiFLqd.mjs → security-audit-C3hXCfDt.mjs} +2 -3
- package/dist/.setup/{send-pi6r24yv.mjs → send-C5uXkmZV.mjs} +14 -21
- package/dist/.setup/{send-results-eeOu_HYm.mjs → send-results-D-o6PgtS.mjs} +1 -2
- package/dist/.setup/{session-status-DQY4hZLd.mjs → session-status-CHkEn3HM.mjs} +39 -59
- package/dist/.setup/setup-plugin-api-D7DoueEh.mjs +2 -0
- package/dist/.setup/{setup-surface-9WVQgYCT.mjs → setup-surface-CtM1pm-9.mjs} +7 -8
- package/dist/.setup/{shared-DpHCoKy2.mjs → shared-CohTHxM1.mjs} +14 -18
- package/dist/.setup/{slash-dispatch.runtime-BDEJ2s49.mjs → slash-dispatch.runtime-Bnn9a5qB.mjs} +1 -1
- package/dist/.setup/{target-parsing-FFE26kOV.mjs → target-parsing-0pRZtahO.mjs} +1 -2
- package/dist/.setup/{targets-C6LZQL1Q.mjs → targets-BqXz7CpG.mjs} +2 -3
- package/dist/.setup/{thread-ts-Cvt7WD6B.mjs → thread-ts-47Au2-Yn.mjs} +1 -2
- package/dist/.source-module-urls/562d694877afe9d9dcbb3b32a8883c16974738f2aa892c48d45572cdc9a62529.json +1 -1
- package/dist/account-inspect-api.js +2 -3
- package/dist/api.js +17 -17
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-entry.js +1 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/configured-state.js +2 -3
- package/dist/directory-contract-api.js +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/http-routes-api.js +1 -1
- package/dist/index.js +2 -3
- package/dist/message-tool-api.js +1 -1
- package/dist/runtime-api.js +12 -12
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/setup-entry.js +4 -5
- package/dist/setup-plugin-api.js +1 -1
- package/node_modules/@slack/bolt/node_modules/body-parser/README.md +17 -13
- package/node_modules/@slack/bolt/node_modules/body-parser/lib/read.js +74 -57
- package/node_modules/@slack/bolt/node_modules/body-parser/lib/types/json.js +11 -11
- package/node_modules/@slack/bolt/node_modules/body-parser/lib/types/urlencoded.js +5 -5
- package/node_modules/@slack/bolt/node_modules/body-parser/lib/utils.js +0 -15
- package/node_modules/@slack/bolt/node_modules/body-parser/package.json +7 -12
- package/node_modules/undici/README.md +25 -3
- package/node_modules/undici/docs/docs/api/CacheStore.md +24 -9
- package/node_modules/undici/docs/docs/api/Client.md +11 -6
- package/node_modules/undici/docs/docs/api/Dispatcher.md +3 -0
- package/node_modules/undici/docs/docs/api/Errors.md +76 -1
- package/node_modules/undici/docs/docs/api/H2CClient.md +3 -2
- package/node_modules/undici/docs/docs/api/Interceptors.md +13 -6
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +13 -10
- package/node_modules/undici/docs/docs/index.md +12 -12
- package/node_modules/undici/docs/docs/type-map.json +66 -66
- package/node_modules/undici/lib/cache/memory-cache-store.js +48 -13
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +83 -5
- package/node_modules/undici/lib/core/connect.js +10 -4
- package/node_modules/undici/lib/core/constants.js +12 -1
- package/node_modules/undici/lib/core/errors.js +38 -1
- package/node_modules/undici/lib/core/request.js +16 -1
- package/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/undici/lib/core/util.js +26 -1
- package/node_modules/undici/lib/dispatcher/agent.js +6 -2
- package/node_modules/undici/lib/dispatcher/client-h1.js +116 -80
- package/node_modules/undici/lib/dispatcher/client-h2.js +46 -14
- package/node_modules/undici/lib/dispatcher/client.js +4 -1
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +3 -2
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +20 -3
- package/node_modules/undici/lib/dispatcher/parser-h1.js +1064 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +65 -28
- package/node_modules/undici/lib/dispatcher/pool.js +11 -8
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -8
- package/node_modules/undici/lib/dispatcher/retry-agent.js +10 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +15 -5
- package/node_modules/undici/lib/handler/cache-handler.js +153 -15
- package/node_modules/undici/lib/handler/deduplication-handler.js +112 -51
- package/node_modules/undici/lib/handler/redirect-handler.js +28 -8
- package/node_modules/undici/lib/handler/retry-handler.js +44 -11
- package/node_modules/undici/lib/interceptor/cache.js +11 -3
- package/node_modules/undici/lib/interceptor/decompress.js +22 -9
- package/node_modules/undici/lib/interceptor/dns.js +11 -0
- package/node_modules/undici/lib/interceptor/response-error.js +72 -28
- package/node_modules/undici/lib/milo/LICENSE.md +7 -0
- package/node_modules/undici/lib/milo/no-simd.js +1002 -0
- package/node_modules/undici/lib/milo/simd.js +1002 -0
- package/node_modules/undici/lib/mock/mock-agent.js +11 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +3 -2
- package/node_modules/undici/lib/mock/snapshot-utils.js +3 -2
- package/node_modules/undici/lib/util/cache.js +11 -5
- package/node_modules/undici/lib/web/cookies/util.js +19 -2
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +69 -15
- package/node_modules/undici/lib/web/eventsource/eventsource.js +25 -2
- package/node_modules/undici/lib/web/fetch/body.js +47 -38
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +12 -4
- package/node_modules/undici/lib/web/fetch/headers.js +2 -2
- package/node_modules/undici/lib/web/fetch/index.js +8 -4
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +5 -5
- package/node_modules/undici/lib/web/websocket/receiver.js +25 -4
- package/node_modules/undici/package.json +7 -5
- package/node_modules/undici/types/cache-interceptor.d.ts +10 -0
- package/node_modules/undici/types/client.d.ts +10 -4
- package/node_modules/undici/types/errors.d.ts +16 -1
- package/node_modules/undici/types/h2c-client.d.ts +1 -1
- package/node_modules/undici/types/interceptors.d.ts +6 -1
- package/package.json +5 -5
- package/dist/.setup/action-runtime.runtime-WS3mGjut.mjs +0 -1
- package/dist/.setup/http-C9sM-FXe.mjs +0 -2
- package/dist/.setup/runtime-setter-api-Cx_PV-xu.mjs +0 -2
- package/dist/.setup/setup-plugin-api-B18kDKtr.mjs +0 -2
|
@@ -16,6 +16,7 @@ const { failWebsocketConnection } = require('./connection')
|
|
|
16
16
|
const { WebsocketFrameSend } = require('./frame')
|
|
17
17
|
const { PerMessageDeflate } = require('./permessage-deflate')
|
|
18
18
|
const { MessageSizeExceededError } = require('../../core/errors')
|
|
19
|
+
const { defaultWebSocketMaxFragments, defaultWebSocketMaxPayloadSize } = require('../../core/constants')
|
|
19
20
|
|
|
20
21
|
// This code was influenced by ws released under the MIT license.
|
|
21
22
|
// Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
|
|
@@ -48,18 +49,25 @@ class ByteParser extends Writable {
|
|
|
48
49
|
/**
|
|
49
50
|
* @param {import('./websocket').Handler} handler
|
|
50
51
|
* @param {Map<string, string>|null} extensions
|
|
51
|
-
* @param {{ maxPayloadSize?: number }} [options]
|
|
52
|
+
* @param {{ maxFragments?: number, maxPayloadSize?: number }} [options]
|
|
53
|
+
* A missing value uses the default limit; `0` disables the limit.
|
|
52
54
|
*/
|
|
53
55
|
constructor (handler, extensions, options = {}) {
|
|
54
56
|
super()
|
|
55
57
|
|
|
56
58
|
this.#handler = handler
|
|
57
59
|
this.#extensions = extensions == null ? new Map() : extensions
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
// Options come from the dispatcher's `webSocketOptions`, which only
|
|
61
|
+
// DispatcherBase provides. Fall back to the defaults rather than to no
|
|
62
|
+
// limit, so RetryAgent, MockAgent or a custom dispatcher can't turn off
|
|
63
|
+
// the payload and decompression limits by accident.
|
|
64
|
+
this.#maxFragments = options.maxFragments ?? defaultWebSocketMaxFragments
|
|
65
|
+
this.#maxPayloadSize = options.maxPayloadSize ?? defaultWebSocketMaxPayloadSize
|
|
60
66
|
|
|
61
67
|
if (this.#extensions.has('permessage-deflate')) {
|
|
62
|
-
this.#extensions.set('permessage-deflate', new PerMessageDeflate(extensions,
|
|
68
|
+
this.#extensions.set('permessage-deflate', new PerMessageDeflate(extensions, {
|
|
69
|
+
maxPayloadSize: this.#maxPayloadSize
|
|
70
|
+
}))
|
|
63
71
|
}
|
|
64
72
|
}
|
|
65
73
|
|
|
@@ -244,6 +252,19 @@ class ByteParser extends Writable {
|
|
|
244
252
|
if (isControlFrame(this.#info.opcode)) {
|
|
245
253
|
this.#loop = this.parseControlFrame(body)
|
|
246
254
|
this.#state = parserStates.INFO
|
|
255
|
+
|
|
256
|
+
// If the automatic PONG/CLOSE reply filled the socket's write buffer,
|
|
257
|
+
// stop parsing and resume on drain so a PING flood cannot grow the
|
|
258
|
+
// outbound queue without bound.
|
|
259
|
+
if (this.#loop && this.#handler.socket.writableNeedDrain) {
|
|
260
|
+
this.#loop = false
|
|
261
|
+
this.#handler.socket.once('drain', () => {
|
|
262
|
+
if (this.destroyed) return
|
|
263
|
+
this.#loop = true
|
|
264
|
+
this.run(callback)
|
|
265
|
+
})
|
|
266
|
+
return
|
|
267
|
+
}
|
|
247
268
|
} else {
|
|
248
269
|
if (!this.#info.compressed) {
|
|
249
270
|
if (!this.writeFragments(body)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "undici",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.2",
|
|
4
4
|
"description": "An HTTP/1.1 client, written from scratch for Node.js",
|
|
5
5
|
"homepage": "https://undici.nodejs.org",
|
|
6
6
|
"bugs": {
|
|
@@ -63,13 +63,15 @@
|
|
|
63
63
|
"types": "index.d.ts",
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build:node": "esbuild index-fetch.js --bundle --platform=node --outfile=undici-fetch.js --define:esbuildDetection=1 --keep-names && node scripts/strip-comments.js",
|
|
66
|
-
"build:
|
|
66
|
+
"build:milo": "node build/milo.js",
|
|
67
|
+
"build:llhttp": "node build/llhttp.js --docker",
|
|
68
|
+
"build:wasm": "node build/llhttp.js --docker",
|
|
67
69
|
"generate-pem": "node scripts/generate-pem.js",
|
|
68
70
|
"lint": "eslint --cache",
|
|
69
71
|
"lint:fix": "eslint --fix --cache",
|
|
70
72
|
"test": "npm run test:javascript && cross-env NODE_V8_COVERAGE= npm run test:typescript",
|
|
71
73
|
"test:javascript": "npm run test:javascript:no-jest && npm run test:jest",
|
|
72
|
-
"test:javascript:no-jest": "npm run generate-pem && npm run test:unit && npm run test:fetch && npm run test:node-fetch && npm run test:infra && npm run test:cache && npm run test:cache-interceptor && npm run test:interceptors && npm run test:cookies && npm run test:eventsource && npm run test:subresource-integrity && npm run test:
|
|
74
|
+
"test:javascript:no-jest": "npm run generate-pem && npm run test:unit && npm run test:fetch && npm run test:node-fetch && npm run test:infra && npm run test:cache && npm run test:cache-interceptor && npm run test:interceptors && npm run test:cookies && npm run test:eventsource && npm run test:subresource-integrity && npm run test:websocket && npm run test:node-test && npm run test:cache-tests",
|
|
73
75
|
"test:javascript:without-intl": "npm run test:javascript:no-jest",
|
|
74
76
|
"test:busboy": "borp --timeout 180000 -p \"test/busboy/*.js\"",
|
|
75
77
|
"test:cache": "borp --timeout 180000 -p \"test/cache/*.js\"",
|
|
@@ -97,7 +99,7 @@
|
|
|
97
99
|
"test:websocket:autobahn": "node test/autobahn/client.js",
|
|
98
100
|
"test:websocket:autobahn:report": "node test/autobahn/report.js",
|
|
99
101
|
"test:wpt:setup": "node test/web-platform-tests/wpt-runner.mjs setup",
|
|
100
|
-
"test:wpt": "npm run test:wpt:setup && node test/web-platform-tests/wpt-runner.mjs run /fetch /mimesniff /xhr /websockets /eventsource",
|
|
102
|
+
"test:wpt": "npm run test:wpt:setup && node test/web-platform-tests/wpt-runner.mjs run /fetch /mimesniff /xhr /websockets /eventsource /service-workers",
|
|
101
103
|
"test:cache-tests": "node test/cache-interceptor/cache-tests.mjs --ci",
|
|
102
104
|
"coverage": "npm run coverage:clean && cross-env NODE_V8_COVERAGE=./coverage/tmp npm run test:javascript && npm run coverage:report",
|
|
103
105
|
"coverage:ci": "npm run coverage:clean && cross-env NODE_V8_COVERAGE=./coverage/tmp npm run test:javascript && npm run coverage:report:ci",
|
|
@@ -109,7 +111,7 @@
|
|
|
109
111
|
"prepare": "husky && node ./scripts/platform-shell.js"
|
|
110
112
|
},
|
|
111
113
|
"devDependencies": {
|
|
112
|
-
"@fastify/busboy": "3.2.
|
|
114
|
+
"@fastify/busboy": "3.2.3",
|
|
113
115
|
"@matteo.collina/tspl": "^0.2.0",
|
|
114
116
|
"@metcoder95/https-pem": "^1.0.0",
|
|
115
117
|
"@sinonjs/fake-timers": "^12.0.0",
|
|
@@ -160,6 +160,16 @@ declare namespace CacheHandler {
|
|
|
160
160
|
* @default Infinity
|
|
161
161
|
*/
|
|
162
162
|
maxEntrySize?: number
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Responses whose body size, in bytes, is greater than this value are
|
|
166
|
+
* stored compressed with zstd. Responses with an easily compressible
|
|
167
|
+
* Content-Type (e.g. json, xml, plain text) are compressed regardless of
|
|
168
|
+
* size. Requires Node with zstd support
|
|
169
|
+
* (22.19+).
|
|
170
|
+
* @default 1048576 (1 MiB)
|
|
171
|
+
*/
|
|
172
|
+
compressThreshold?: number
|
|
163
173
|
}
|
|
164
174
|
|
|
165
175
|
export class SqliteCacheStore implements CacheStore {
|
|
@@ -92,7 +92,7 @@ export declare namespace Client {
|
|
|
92
92
|
*/
|
|
93
93
|
allowH2?: boolean;
|
|
94
94
|
/**
|
|
95
|
-
* @description Dictates the maximum number of concurrent streams for a single H2 session.
|
|
95
|
+
* @description Dictates the maximum number of concurrent streams for a single H2 session. The server's SETTINGS_MAX_CONCURRENT_STREAMS can lower it, but not raise it.
|
|
96
96
|
* @default 100
|
|
97
97
|
* @deprecated Use h2Options.maxConcurrentStreams instead
|
|
98
98
|
*/
|
|
@@ -119,6 +119,8 @@ export declare namespace Client {
|
|
|
119
119
|
* @description HTTP/2 configuration options
|
|
120
120
|
*/
|
|
121
121
|
h2Options?: Client.H2Options;
|
|
122
|
+
/** @experimental Enables the experimental Milo HTTP/1 parser for this client. Defaults to the `UNDICI_USE_MILO` environment variable. */
|
|
123
|
+
useMilo?: boolean;
|
|
122
124
|
}
|
|
123
125
|
export interface SocketInfo {
|
|
124
126
|
localAddress?: string
|
|
@@ -157,7 +159,7 @@ export declare namespace Client {
|
|
|
157
159
|
*/
|
|
158
160
|
pingInterval?: number;
|
|
159
161
|
/**
|
|
160
|
-
* @description Dictates the maximum number of concurrent streams for a single H2 session.
|
|
162
|
+
* @description Dictates the maximum number of concurrent streams for a single H2 session. The server's SETTINGS_MAX_CONCURRENT_STREAMS can lower it, but not raise it.
|
|
161
163
|
* @default 100
|
|
162
164
|
*/
|
|
163
165
|
maxConcurrentStreams?: number;
|
|
@@ -173,8 +175,12 @@ export declare namespace Client {
|
|
|
173
175
|
}
|
|
174
176
|
export interface EventSourceOptions {
|
|
175
177
|
/**
|
|
176
|
-
* Maximum
|
|
177
|
-
*
|
|
178
|
+
* Maximum total bytes of data and metadata field values retained for a
|
|
179
|
+
* pending EventSource event. Each unfinished line is separately bounded
|
|
180
|
+
* to this value plus seven syntax bytes. The number of data lines per
|
|
181
|
+
* event and buffered input chunks are each limited to
|
|
182
|
+
* min(131072, max(1024, floor(maxEventSize / 128))).
|
|
183
|
+
* Set to 0 to disable these limits.
|
|
178
184
|
* @default buffer.kStringMaxLength
|
|
179
185
|
*/
|
|
180
186
|
maxEventSize?: number;
|
|
@@ -39,13 +39,15 @@ declare namespace Errors {
|
|
|
39
39
|
code: number,
|
|
40
40
|
options: {
|
|
41
41
|
headers?: IncomingHttpHeaders | string[] | null,
|
|
42
|
-
body?: null | Record<string, any> | string
|
|
42
|
+
body?: null | Record<string, any> | string,
|
|
43
|
+
bodyTruncated?: boolean
|
|
43
44
|
}
|
|
44
45
|
)
|
|
45
46
|
name: 'ResponseError'
|
|
46
47
|
code: 'UND_ERR_RESPONSE'
|
|
47
48
|
statusCode: number
|
|
48
49
|
body: null | Record<string, any> | string
|
|
50
|
+
bodyTruncated: boolean
|
|
49
51
|
headers: IncomingHttpHeaders | string[] | null
|
|
50
52
|
}
|
|
51
53
|
|
|
@@ -121,6 +123,13 @@ declare namespace Errors {
|
|
|
121
123
|
code: string
|
|
122
124
|
}
|
|
123
125
|
|
|
126
|
+
/** WebAssembly is unavailable when initializing the HTTP/1 parser. */
|
|
127
|
+
export class WebAssemblyNotSupportedError extends Error {
|
|
128
|
+
constructor (message?: string)
|
|
129
|
+
name: 'Error'
|
|
130
|
+
code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'
|
|
131
|
+
}
|
|
132
|
+
|
|
124
133
|
/** The response exceed the length allowed. */
|
|
125
134
|
export class ResponseExceededMaxSizeError extends UndiciError {
|
|
126
135
|
name: 'ResponseExceededMaxSizeError'
|
|
@@ -169,6 +178,12 @@ declare namespace Errors {
|
|
|
169
178
|
code: 'UND_ERR_MAX_ORIGINS_REACHED'
|
|
170
179
|
}
|
|
171
180
|
|
|
181
|
+
/** The maximum number of redirects has been reached. */
|
|
182
|
+
export class MaxRedirectsError extends UndiciError {
|
|
183
|
+
name: 'MaxRedirectsError'
|
|
184
|
+
code: 'UND_ERR_REDIRECT_MAX'
|
|
185
|
+
}
|
|
186
|
+
|
|
172
187
|
/** SOCKS5 proxy related error. */
|
|
173
188
|
export class Socks5ProxyError extends UndiciError {
|
|
174
189
|
constructor (
|
|
@@ -63,7 +63,7 @@ export declare namespace H2CClient {
|
|
|
63
63
|
/** The amount of time in milliseconds to wait for a connection attempt to finish before trying the next address when using the `autoSelectFamily` option. */
|
|
64
64
|
autoSelectFamilyAttemptTimeout?: number;
|
|
65
65
|
/**
|
|
66
|
-
* @description Dictates the maximum number of concurrent streams for a single H2 session.
|
|
66
|
+
* @description Dictates the maximum number of concurrent streams for a single H2 session. The server's SETTINGS_MAX_CONCURRENT_STREAMS can lower it, but not raise it.
|
|
67
67
|
* @default 100
|
|
68
68
|
*/
|
|
69
69
|
maxConcurrentStreams?: number
|
|
@@ -16,7 +16,12 @@ declare namespace Interceptors {
|
|
|
16
16
|
maxSize?: number
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export type ResponseErrorInterceptorOpts = {
|
|
19
|
+
export type ResponseErrorInterceptorOpts = {
|
|
20
|
+
/** @deprecated This option is ignored. The interceptor always throws on error responses. */
|
|
21
|
+
throwOnError?: boolean
|
|
22
|
+
/** Maximum number of response body bytes to include in the error. 0 disables the limit. @default 1048576 */
|
|
23
|
+
maxSize?: number
|
|
24
|
+
}
|
|
20
25
|
export type CacheInterceptorOpts = CacheHandler.CacheOptions
|
|
21
26
|
|
|
22
27
|
// DNS interceptor
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/slack",
|
|
3
|
-
"version": "2026.10.10
|
|
3
|
+
"version": "2026.10.10",
|
|
4
4
|
"description": "OpenClaw Slack channel plugin for channels, DMs, commands, and app events.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"@slack/web-api": "8.2.0",
|
|
14
14
|
"get-east-asian-width": "1.7.0",
|
|
15
15
|
"typebox": "1.3.35",
|
|
16
|
-
"undici": "8.
|
|
16
|
+
"undici": "8.12.2",
|
|
17
17
|
"zod": "4.6.5"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"openclaw": ">=2026.10.10
|
|
20
|
+
"openclaw": ">=2026.10.10"
|
|
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.10
|
|
153
|
+
"pluginApi": ">=2026.10.10"
|
|
154
154
|
},
|
|
155
155
|
"build": {
|
|
156
|
-
"openclawVersion": "2026.10.10
|
|
156
|
+
"openclawVersion": "2026.10.10",
|
|
157
157
|
"bundledDist": false
|
|
158
158
|
},
|
|
159
159
|
"release": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as handleSlackAction } from "./action-runtime-CgYsBWl6.mjs";
|