@openclaw/slack 2026.7.2-beta.4 → 2026.7.2-beta.7
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/README.md +1 -1
- package/dist/account-inspect-DEKpg9Ip.js +89 -0
- package/dist/account-inspect-api.js +1 -1
- package/dist/accounts-CHAeNZOX.js +186 -0
- package/dist/accounts.runtime-BHD4Ma2R.js +2 -0
- package/dist/action-runtime-DfuYoMjG.js +561 -0
- package/dist/action-runtime.runtime-DQErZYpz.js +2 -0
- package/dist/actions-D3NuJvva.js +876 -0
- package/dist/actions.runtime-BIRU_G4M.js +2 -0
- package/dist/api.js +14 -15
- package/dist/approval-handler.runtime-BA05P0QT.js +367 -0
- package/dist/block-text-DkHaoGem.js +79 -0
- package/dist/channel-B9fVdW3s.js +1118 -0
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/channel-type-DXyos1d2.js +108 -0
- package/dist/channel.setup-CLP5oTvh.js +56 -0
- package/dist/config-adapter-CxBQH8fq.js +566 -0
- package/dist/config-schema-SgZT6nXV.js +373 -0
- package/dist/cursor-pages-eX7p8Wwt.js +19 -0
- package/dist/directory-config-CnCIAktf.js +54 -0
- package/dist/directory-contract-api.js +1 -1
- package/dist/directory-live-DKunWh3A.js +131 -0
- package/dist/doctor-contract-CsGH1Dfc.js +158 -0
- package/dist/doctor-contract-api.js +1 -1
- package/dist/group-policy-NQZti9t-.js +2442 -0
- package/dist/message-tool-api-DkhFpMoy.js +127 -0
- package/dist/message-tool-api.js +1 -1
- package/dist/monitor-CmKz0wtI.js +13 -0
- package/dist/outbound-adapter-BkuMp2Vs.js +236 -0
- package/dist/pipeline.runtime-DgtmuYCP.js +4360 -0
- package/dist/policy-PRysPn23.js +65 -0
- package/dist/probe-CgDsSops.js +345 -0
- package/dist/provider-DmRizMZt.js +5900 -0
- package/dist/relay-source-Blxj8xb4.js +272 -0
- package/dist/replies-4s_Vq_z9.js +457 -0
- package/dist/resolve-channels-yEqmM-3I.js +92 -0
- package/dist/resolve-users-BOrt5K-5.js +118 -0
- package/dist/rolldown-runtime-8H4AJuhK.js +14 -0
- package/dist/runtime-api-QMb-Q5Ko.js +10 -0
- package/dist/runtime-api.js +11 -11
- package/dist/scopes-BJSrkAp6.js +73 -0
- package/dist/security-audit-DR097212.js +41 -0
- package/dist/security-contract-api.js +1 -1
- package/dist/send-DsLeZpST.js +1269 -0
- package/dist/send.runtime-gUdK6V3h.js +2 -0
- package/dist/setup-plugin-api.js +1 -1
- package/dist/setup-surface-BeNzrMrJ.js +148 -0
- package/dist/shared-DgIN3Dcr.js +268 -0
- package/dist/slash-dispatch.runtime-zPkyl7dB.js +33 -0
- package/node_modules/@slack/bolt/dist/App.d.ts +4 -19
- package/node_modules/@slack/bolt/dist/App.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/App.js +21 -40
- package/node_modules/@slack/bolt/dist/App.js.map +1 -1
- package/node_modules/@slack/bolt/dist/context/create-respond.d.ts +3 -3
- package/node_modules/@slack/bolt/dist/context/create-respond.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/context/create-respond.js +13 -2
- package/node_modules/@slack/bolt/dist/context/create-respond.js.map +1 -1
- package/node_modules/@slack/bolt/dist/errors.d.ts +6 -8
- package/node_modules/@slack/bolt/dist/errors.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/errors.js +11 -11
- package/node_modules/@slack/bolt/dist/errors.js.map +1 -1
- package/node_modules/@slack/bolt/dist/helpers.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/helpers.js +1 -2
- package/node_modules/@slack/bolt/dist/helpers.js.map +1 -1
- package/node_modules/@slack/bolt/dist/index.d.ts +0 -1
- package/node_modules/@slack/bolt/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/index.js +1 -3
- package/node_modules/@slack/bolt/dist/index.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts +10 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js +5 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.js +10 -14
- package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeFunctions.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeFunctions.js +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeFunctions.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.d.ts +3 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js +2 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/dist/types/actions/index.d.ts +2 -4
- package/node_modules/@slack/bolt/dist/types/actions/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/types/actions/index.js +0 -2
- package/node_modules/@slack/bolt/dist/types/actions/index.js.map +1 -1
- package/node_modules/@slack/bolt/dist/types/events/index.d.ts +2 -0
- package/node_modules/@slack/bolt/dist/types/events/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/types/utilities.d.ts +2 -2
- package/node_modules/@slack/bolt/dist/types/utilities.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/types/view/index.d.ts +1 -31
- package/node_modules/@slack/bolt/dist/types/view/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/node_modules/@slack/logger/README.md +66 -0
- package/node_modules/@slack/bolt/node_modules/@slack/logger/dist/index.js +98 -0
- package/node_modules/@slack/bolt/node_modules/@slack/logger/dist/index.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/logger/package.json +42 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/README.md +379 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.d.ts +50 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.d.ts.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.js +60 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/install-provider.js +705 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/install-provider.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/file-store.js +118 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/file-store.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/memory-store.js +76 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/memory-store.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/clear-state-store.js +42 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/clear-state-store.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/file-state-store.js +101 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/file-state-store.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/@slack/oauth/package.json +54 -0
- package/node_modules/@slack/bolt/node_modules/media-typer/README.md +94 -0
- package/node_modules/@slack/bolt/node_modules/media-typer/index.js +135 -0
- package/node_modules/@slack/bolt/node_modules/media-typer/package.json +37 -0
- package/node_modules/@slack/bolt/package.json +10 -11
- package/node_modules/@slack/socket-mode/README.md +1 -1
- package/node_modules/@slack/socket-mode/dist/package.json +21 -13
- package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts +14 -8
- package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +136 -48
- package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.d.ts +12 -6
- package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.d.ts.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js +87 -38
- package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/SocketModeOptions.d.ts +31 -1
- package/node_modules/@slack/socket-mode/dist/src/SocketModeOptions.d.ts.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/errors.d.ts +31 -37
- package/node_modules/@slack/socket-mode/dist/src/errors.d.ts.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/errors.js +43 -47
- package/node_modules/@slack/socket-mode/dist/src/errors.js.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/index.d.ts +2 -2
- package/node_modules/@slack/socket-mode/dist/src/index.d.ts.map +1 -1
- package/node_modules/@slack/socket-mode/dist/src/index.js +7 -1
- package/node_modules/@slack/socket-mode/dist/src/index.js.map +1 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/LICENSE +23 -0
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/README.md +66 -0
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.d.ts +94 -0
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.d.ts.map +1 -0
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.js +98 -0
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.js.map +1 -0
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/package.json +42 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/README.md +15 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/assert/strict.d.ts +68 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/assert.d.ts +1077 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/buffer.d.ts +1799 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/child_process.d.ts +1362 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/cluster.d.ts +432 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/console.d.ts +93 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/constants.d.ts +14 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/crypto.d.ts +3954 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dgram.d.ts +537 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/diagnostics_channel.d.ts +794 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dns.d.ts +876 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/domain.d.ts +150 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/events.d.ts +1008 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ffi.d.ts +486 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/fs/promises.d.ts +1481 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/fs.d.ts +4786 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/globals.d.ts +150 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/http.d.ts +2172 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/http2.d.ts +2489 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/https.d.ts +400 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/index.d.ts +115 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector.d.ts +264 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/module.d.ts +726 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/net.d.ts +970 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/os.d.ts +498 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/package.json +155 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/path.d.ts +178 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/perf_hooks.d.ts +604 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/process.d.ts +2217 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/punycode.d.ts +89 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/querystring.d.ts +139 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/quic.d.ts +978 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/readline.d.ts +508 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/repl.d.ts +420 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/sea.d.ts +47 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/sqlite.d.ts +1123 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/iter.d.ts +451 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/web.d.ts +300 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream.d.ts +1806 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/test.d.ts +2389 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/timers.d.ts +149 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/tls.d.ts +1193 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/trace_events.d.ts +103 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/index.d.ts +117 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.7/index.d.ts +117 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/tty.d.ts +225 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/url.d.ts +556 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/util.d.ts +1677 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/v8.d.ts +1062 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/vm.d.ts +1136 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/wasi.d.ts +131 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/domexception.d.ts +83 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/worker_threads.d.ts +669 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@slack/socket-mode/node_modules/@types/node/zlib.d.ts +589 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/README.md +6 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/agent.d.ts +30 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/client.d.ts +129 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/connector.d.ts +36 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/dispatcher.d.ts +253 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/errors.d.ts +177 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/fetch.d.ts +231 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/handlers.d.ts +14 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/header.d.ts +165 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/index.d.ts +93 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/interceptors.d.ts +80 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/package.json +55 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/round-robin-pool.d.ts +39 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/snapshot-agent.d.ts +113 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/webidl.d.ts +346 -0
- package/node_modules/@slack/socket-mode/node_modules/undici-types/websocket.d.ts +188 -0
- package/node_modules/@slack/socket-mode/package.json +21 -13
- package/node_modules/@slack/types/README.md +1 -1
- package/node_modules/@slack/types/dist/events/app.d.ts +28 -0
- package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.d.ts +2 -2
- package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.js.map +1 -1
- package/node_modules/@slack/types/dist/events/message.d.ts +2 -0
- package/node_modules/@slack/types/dist/events/message.d.ts.map +1 -1
- package/node_modules/@slack/types/package.json +3 -3
- package/node_modules/@slack/web-api/README.md +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.d.ts +42 -71
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.js +180 -248
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +37 -22
- package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
- package/node_modules/@slack/web-api/dist/errors.d.ts +32 -51
- package/node_modules/@slack/web-api/dist/errors.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/errors.js +64 -55
- package/node_modules/@slack/web-api/dist/errors.js.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.d.ts +0 -9
- package/node_modules/@slack/web-api/dist/file-upload.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.js +41 -46
- package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
- package/node_modules/@slack/web-api/dist/index.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/index.js +8 -1
- package/node_modules/@slack/web-api/dist/index.js.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.d.ts +2 -38
- package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.js +1347 -1384
- package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/files.d.ts +0 -1
- package/node_modules/@slack/web-api/dist/types/request/files.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts +3 -3
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +66 -1
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/rtm.d.ts +1 -14
- package/node_modules/@slack/web-api/dist/types/request/rtm.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts +0 -29
- package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts.map +1 -1
- package/node_modules/@slack/web-api/node_modules/@slack/logger/LICENSE +23 -0
- package/node_modules/@slack/web-api/node_modules/@slack/logger/README.md +66 -0
- package/node_modules/@slack/web-api/node_modules/@slack/logger/dist/index.d.ts +94 -0
- package/node_modules/@slack/web-api/node_modules/@slack/logger/dist/index.d.ts.map +1 -0
- package/node_modules/@slack/web-api/node_modules/@slack/logger/dist/index.js +98 -0
- package/node_modules/@slack/web-api/node_modules/@slack/logger/dist/index.js.map +1 -0
- package/node_modules/@slack/web-api/node_modules/@slack/logger/package.json +42 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +15 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/assert/strict.d.ts +68 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +1077 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +1799 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1362 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +432 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +93 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/constants.d.ts +14 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +3954 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +537 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +794 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +876 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +150 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +1008 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ffi.d.ts +486 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +1481 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +4786 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +150 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +2172 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +2489 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +400 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +115 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +264 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +726 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +970 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +498 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +155 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +178 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +604 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +2217 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +89 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +139 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/quic.d.ts +978 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +508 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +420 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +47 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +1123 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/iter.d.ts +451 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +300 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +1806 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2389 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +149 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +1193 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +103 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/index.d.ts +117 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/index.d.ts +117 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +225 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +556 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +1677 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +1062 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +1136 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +131 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/domexception.d.ts +83 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +669 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +589 -0
- package/node_modules/@slack/web-api/node_modules/@types/retry/LICENSE +21 -0
- package/node_modules/@slack/web-api/node_modules/@types/retry/README.md +16 -0
- package/node_modules/@slack/web-api/node_modules/@types/retry/index.d.ts +151 -0
- package/node_modules/@slack/web-api/node_modules/@types/retry/package.json +28 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/README.md +85 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/dist/eventemitter3.esm.js +355 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/dist/eventemitter3.umd.js +363 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/index.d.ts +135 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/index.mjs +4 -0
- package/node_modules/@slack/web-api/node_modules/eventemitter3/package.json +62 -0
- package/node_modules/@slack/web-api/node_modules/p-queue/node_modules/eventemitter3/LICENSE +21 -0
- package/node_modules/@slack/web-api/node_modules/p-queue/node_modules/eventemitter3/index.js +336 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/README.md +6 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +30 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +129 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +36 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +253 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +177 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +231 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/handlers.d.ts +14 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/header.d.ts +165 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +93 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +80 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +55 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/round-robin-pool.d.ts +39 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/snapshot-agent.d.ts +113 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +346 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +188 -0
- package/node_modules/@slack/web-api/package.json +6 -10
- package/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/node_modules/get-east-asian-width/index.js +30 -0
- package/node_modules/get-east-asian-width/lookup-data.js +21 -0
- package/node_modules/get-east-asian-width/lookup.js +138 -0
- package/node_modules/get-east-asian-width/package.json +71 -0
- package/node_modules/get-east-asian-width/readme.md +65 -0
- package/node_modules/get-east-asian-width/utilities.js +24 -0
- package/node_modules/p-map/index.js +1 -0
- package/node_modules/p-map/package.json +1 -1
- package/node_modules/undici/LICENSE +21 -0
- package/node_modules/undici/README.md +741 -0
- package/node_modules/undici/docs/docs/api/Agent.md +84 -0
- package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
- package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
- package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
- package/node_modules/undici/docs/docs/api/Client.md +288 -0
- package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
- package/node_modules/undici/docs/docs/api/Connector.md +115 -0
- package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
- package/node_modules/undici/docs/docs/api/Cookies.md +128 -0
- package/node_modules/undici/docs/docs/api/Debug.md +62 -0
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +315 -0
- package/node_modules/undici/docs/docs/api/Dispatcher.md +1392 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
- package/node_modules/undici/docs/docs/api/Errors.md +49 -0
- package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
- package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
- package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
- package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
- package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
- package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
- package/node_modules/undici/docs/docs/api/Pool.md +84 -0
- package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
- package/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
- package/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
- package/node_modules/undici/docs/docs/api/Util.md +25 -0
- package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
- package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
- package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
- package/node_modules/undici/index-fetch.js +65 -0
- package/node_modules/undici/index.d.ts +3 -0
- package/node_modules/undici/index.js +234 -0
- package/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/node_modules/undici/lib/api/api-connect.js +110 -0
- package/node_modules/undici/lib/api/api-pipeline.js +252 -0
- package/node_modules/undici/lib/api/api-request.js +214 -0
- package/node_modules/undici/lib/api/api-stream.js +209 -0
- package/node_modules/undici/lib/api/api-upgrade.js +111 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +580 -0
- package/node_modules/undici/lib/cache/memory-cache-store.js +234 -0
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +461 -0
- package/node_modules/undici/lib/core/connect.js +153 -0
- package/node_modules/undici/lib/core/constants.js +143 -0
- package/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/node_modules/undici/lib/core/errors.js +477 -0
- package/node_modules/undici/lib/core/request.js +453 -0
- package/node_modules/undici/lib/core/socks5-client.js +422 -0
- package/node_modules/undici/lib/core/socks5-utils.js +212 -0
- package/node_modules/undici/lib/core/symbols.js +75 -0
- package/node_modules/undici/lib/core/tree.js +160 -0
- package/node_modules/undici/lib/core/util.js +992 -0
- package/node_modules/undici/lib/dispatcher/agent.js +158 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1722 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
- package/node_modules/undici/lib/dispatcher/client.js +664 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
- package/node_modules/undici/lib/dispatcher/pool.js +118 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
- package/node_modules/undici/lib/encoding/index.js +33 -0
- package/node_modules/undici/lib/global.js +59 -0
- package/node_modules/undici/lib/handler/cache-handler.js +578 -0
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
- package/node_modules/undici/lib/handler/retry-handler.js +394 -0
- package/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
- package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/node_modules/undici/lib/interceptor/cache.js +495 -0
- package/node_modules/undici/lib/interceptor/decompress.js +259 -0
- package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/node_modules/undici/lib/interceptor/dump.js +112 -0
- package/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
- package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
- package/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
- package/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/node_modules/undici/lib/mock/mock-utils.js +486 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
- package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/node_modules/undici/lib/util/cache.js +414 -0
- package/node_modules/undici/lib/util/date.js +653 -0
- package/node_modules/undici/lib/util/promise.js +28 -0
- package/node_modules/undici/lib/util/runtime-features.js +124 -0
- package/node_modules/undici/lib/util/stats.js +32 -0
- package/node_modules/undici/lib/util/timers.js +425 -0
- package/node_modules/undici/lib/web/cache/cache.js +864 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/node_modules/undici/lib/web/cookies/parse.js +314 -0
- package/node_modules/undici/lib/web/cookies/util.js +282 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
- package/node_modules/undici/lib/web/fetch/body.js +509 -0
- package/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/node_modules/undici/lib/web/fetch/index.js +2413 -0
- package/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/node_modules/undici/lib/web/fetch/util.js +1522 -0
- package/node_modules/undici/lib/web/infra/index.js +229 -0
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/node_modules/undici/lib/web/webidl/index.js +1006 -0
- package/node_modules/undici/lib/web/websocket/connection.js +329 -0
- package/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/node_modules/undici/lib/web/websocket/frame.js +133 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +507 -0
- package/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +498 -0
- package/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +758 -0
- package/node_modules/undici/package.json +152 -0
- package/node_modules/undici/scripts/strip-comments.js +10 -0
- package/node_modules/undici/types/README.md +6 -0
- package/node_modules/undici/types/agent.d.ts +32 -0
- package/node_modules/undici/types/api.d.ts +43 -0
- package/node_modules/undici/types/balanced-pool.d.ts +30 -0
- package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici/types/cache.d.ts +36 -0
- package/node_modules/undici/types/client-stats.d.ts +15 -0
- package/node_modules/undici/types/client.d.ts +139 -0
- package/node_modules/undici/types/connector.d.ts +36 -0
- package/node_modules/undici/types/content-type.d.ts +21 -0
- package/node_modules/undici/types/cookies.d.ts +30 -0
- package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici/types/dispatcher.d.ts +275 -0
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici/types/errors.d.ts +177 -0
- package/node_modules/undici/types/eventsource.d.ts +66 -0
- package/node_modules/undici/types/fetch.d.ts +231 -0
- package/node_modules/undici/types/formdata.d.ts +114 -0
- package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici/types/global-origin.d.ts +7 -0
- package/node_modules/undici/types/h2c-client.d.ts +73 -0
- package/node_modules/undici/types/handlers.d.ts +14 -0
- package/node_modules/undici/types/header.d.ts +160 -0
- package/node_modules/undici/types/index.d.ts +91 -0
- package/node_modules/undici/types/interceptors.d.ts +80 -0
- package/node_modules/undici/types/mock-agent.d.ts +68 -0
- package/node_modules/undici/types/mock-call-history.d.ts +111 -0
- package/node_modules/undici/types/mock-client.d.ts +27 -0
- package/node_modules/undici/types/mock-errors.d.ts +12 -0
- package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici/types/mock-pool.d.ts +27 -0
- package/node_modules/undici/types/patch.d.ts +29 -0
- package/node_modules/undici/types/pool-stats.d.ts +19 -0
- package/node_modules/undici/types/pool.d.ts +41 -0
- package/node_modules/undici/types/proxy-agent.d.ts +29 -0
- package/node_modules/undici/types/readable.d.ts +68 -0
- package/node_modules/undici/types/retry-agent.d.ts +8 -0
- package/node_modules/undici/types/retry-handler.d.ts +125 -0
- package/node_modules/undici/types/round-robin-pool.d.ts +41 -0
- package/node_modules/undici/types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici/types/util.d.ts +18 -0
- package/node_modules/undici/types/utility.d.ts +7 -0
- package/node_modules/undici/types/webidl.d.ts +347 -0
- package/node_modules/undici/types/websocket.d.ts +188 -0
- package/openclaw.plugin.json +72 -102
- package/package.json +20 -9
- package/dist/account-inspect-jn1xLaVi.js +0 -86
- package/dist/accounts-BSr252c_.js +0 -188
- package/dist/accounts.runtime-CjULMLTa.js +0 -2
- package/dist/action-runtime-CFU52n4W.js +0 -561
- package/dist/action-runtime.runtime-9-17zvKH.js +0 -2
- package/dist/actions-D51foiwR.js +0 -900
- package/dist/actions.runtime-BMJwtf5C.js +0 -2
- package/dist/approval-handler.runtime-3b4-wxMl.js +0 -368
- package/dist/channel-Ds8NKvfr.js +0 -1130
- package/dist/channel-type-DXkUajFP.js +0 -109
- package/dist/channel.setup-DOSTEDfA.js +0 -76
- package/dist/config-schema-B4j4tCOI.js +0 -428
- package/dist/cursor-pages-DSmTg0su.js +0 -13
- package/dist/directory-config-B08pm5ZT.js +0 -54
- package/dist/directory-live-DpPKzPrn.js +0 -131
- package/dist/doctor-contract-U6oVntbM.js +0 -173
- package/dist/group-policy-CdnQzQBI.js +0 -2318
- package/dist/interactive-replies-C3ffk6oN.js +0 -197
- package/dist/interactive-replies-api.js +0 -2
- package/dist/message-tool-api-ByVyIVOh.js +0 -128
- package/dist/monitor-CnB_WKvF.js +0 -13
- package/dist/outbound-adapter-DuPz2HHt.js +0 -272
- package/dist/pipeline.runtime-5rRYZuX5.js +0 -4219
- package/dist/policy-C31RYSuT.js +0 -65
- package/dist/probe-CVRuArHA.js +0 -340
- package/dist/provider-htuIJGFD.js +0 -5857
- package/dist/relay-source-Df9EaiTF.js +0 -272
- package/dist/replies-Cgr2Gli4.js +0 -420
- package/dist/resolve-channels-DodP2TFx.js +0 -92
- package/dist/resolve-users-M9eF8891.js +0 -118
- package/dist/rolldown-runtime-D7D4PA-g.js +0 -13
- package/dist/runtime-api-D5XYMMsf.js +0 -10
- package/dist/scopes-CJRpHkDC.js +0 -73
- package/dist/security-audit-Cz6erklv.js +0 -41
- package/dist/send-BZ1tPv7-.js +0 -1283
- package/dist/send.runtime-a2pilFor.js +0 -2
- package/dist/setup-core-tPxMuFez.js +0 -600
- package/dist/setup-surface-wV-S1dE_.js +0 -156
- package/dist/shared-BfMskaMx.js +0 -295
- package/dist/slash-dispatch.runtime-lfeIsXTX.js +0 -32
- package/node_modules/@slack/bolt/dist/WorkflowStep.d.ts +0 -159
- package/node_modules/@slack/bolt/dist/WorkflowStep.d.ts.map +0 -1
- package/node_modules/@slack/bolt/dist/WorkflowStep.js +0 -217
- package/node_modules/@slack/bolt/dist/WorkflowStep.js.map +0 -1
- package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.d.ts +0 -49
- package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.d.ts.map +0 -1
- package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.js +0 -3
- package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.js.map +0 -1
- package/node_modules/@slack/logger/README.md +0 -66
- package/node_modules/@slack/logger/dist/index.js +0 -94
- package/node_modules/@slack/logger/dist/index.js.map +0 -1
- package/node_modules/@slack/logger/package.json +0 -43
- package/node_modules/@slack/oauth/README.md +0 -379
- package/node_modules/@slack/oauth/dist/errors.d.ts +0 -39
- package/node_modules/@slack/oauth/dist/errors.d.ts.map +0 -1
- package/node_modules/@slack/oauth/dist/errors.js +0 -69
- package/node_modules/@slack/oauth/dist/errors.js.map +0 -1
- package/node_modules/@slack/oauth/dist/install-provider.js +0 -663
- package/node_modules/@slack/oauth/dist/install-provider.js.map +0 -1
- package/node_modules/@slack/oauth/dist/installation-stores/file-store.js +0 -116
- package/node_modules/@slack/oauth/dist/installation-stores/file-store.js.map +0 -1
- package/node_modules/@slack/oauth/dist/installation-stores/memory-store.js +0 -89
- package/node_modules/@slack/oauth/dist/installation-stores/memory-store.js.map +0 -1
- package/node_modules/@slack/oauth/dist/state-stores/clear-state-store.js +0 -40
- package/node_modules/@slack/oauth/dist/state-stores/clear-state-store.js.map +0 -1
- package/node_modules/@slack/oauth/dist/state-stores/file-state-store.js +0 -98
- package/node_modules/@slack/oauth/dist/state-stores/file-state-store.js.map +0 -1
- package/node_modules/@slack/oauth/package.json +0 -55
- package/node_modules/@types/retry/README.md +0 -15
- package/node_modules/@types/retry/index.d.ts +0 -144
- package/node_modules/@types/retry/package.json +0 -30
- package/node_modules/@types/ws/README.md +0 -15
- package/node_modules/@types/ws/index.d.mts +0 -451
- package/node_modules/@types/ws/index.d.ts +0 -445
- package/node_modules/@types/ws/package.json +0 -72
- package/node_modules/agent-base/README.md +0 -145
- package/node_modules/agent-base/dist/src/index.d.ts +0 -78
- package/node_modules/agent-base/dist/src/index.js +0 -203
- package/node_modules/agent-base/dist/src/index.js.map +0 -1
- package/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
- package/node_modules/agent-base/dist/src/promisify.js +0 -18
- package/node_modules/agent-base/dist/src/promisify.js.map +0 -1
- package/node_modules/agent-base/package.json +0 -64
- package/node_modules/agent-base/src/index.ts +0 -345
- package/node_modules/agent-base/src/promisify.ts +0 -33
- package/node_modules/asynckit/LICENSE +0 -21
- package/node_modules/asynckit/README.md +0 -233
- package/node_modules/asynckit/bench.js +0 -76
- package/node_modules/asynckit/index.js +0 -6
- package/node_modules/asynckit/lib/abort.js +0 -29
- package/node_modules/asynckit/lib/async.js +0 -34
- package/node_modules/asynckit/lib/defer.js +0 -26
- package/node_modules/asynckit/lib/iterate.js +0 -75
- package/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/node_modules/asynckit/lib/state.js +0 -37
- package/node_modules/asynckit/lib/streamify.js +0 -141
- package/node_modules/asynckit/lib/terminator.js +0 -29
- package/node_modules/asynckit/package.json +0 -63
- package/node_modules/asynckit/parallel.js +0 -43
- package/node_modules/asynckit/serial.js +0 -17
- package/node_modules/asynckit/serialOrdered.js +0 -75
- package/node_modules/asynckit/stream.js +0 -21
- package/node_modules/axios/CHANGELOG.md +0 -1872
- package/node_modules/axios/LICENSE +0 -7
- package/node_modules/axios/MIGRATION_GUIDE.md +0 -877
- package/node_modules/axios/README.md +0 -2559
- package/node_modules/axios/dist/axios.js +0 -5249
- package/node_modules/axios/dist/axios.min.js +0 -5
- package/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/axios/dist/browser/axios.cjs +0 -5146
- package/node_modules/axios/dist/esm/axios.js +0 -5167
- package/node_modules/axios/dist/esm/axios.min.js +0 -3
- package/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/axios/dist/node/axios.cjs +0 -5996
- package/node_modules/axios/index.d.cts +0 -738
- package/node_modules/axios/index.d.ts +0 -755
- package/node_modules/axios/index.js +0 -45
- package/node_modules/axios/lib/adapters/README.md +0 -36
- package/node_modules/axios/lib/adapters/adapters.js +0 -132
- package/node_modules/axios/lib/adapters/fetch.js +0 -643
- package/node_modules/axios/lib/adapters/http.js +0 -1417
- package/node_modules/axios/lib/adapters/xhr.js +0 -228
- package/node_modules/axios/lib/axios.js +0 -89
- package/node_modules/axios/lib/cancel/CancelToken.js +0 -135
- package/node_modules/axios/lib/cancel/CanceledError.js +0 -22
- package/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/axios/lib/core/Axios.js +0 -283
- package/node_modules/axios/lib/core/AxiosError.js +0 -188
- package/node_modules/axios/lib/core/AxiosHeaders.js +0 -351
- package/node_modules/axios/lib/core/InterceptorManager.js +0 -72
- package/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/axios/lib/core/buildFullPath.js +0 -50
- package/node_modules/axios/lib/core/dispatchRequest.js +0 -89
- package/node_modules/axios/lib/core/mergeConfig.js +0 -159
- package/node_modules/axios/lib/core/settle.js +0 -27
- package/node_modules/axios/lib/core/transformData.js +0 -28
- package/node_modules/axios/lib/defaults/index.js +0 -177
- package/node_modules/axios/lib/defaults/transitional.js +0 -10
- package/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/axios/lib/env/classes/FormData.js +0 -2
- package/node_modules/axios/lib/env/data.js +0 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
- package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
- package/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
- package/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
- package/node_modules/axios/lib/helpers/bind.js +0 -14
- package/node_modules/axios/lib/helpers/buildURL.js +0 -69
- package/node_modules/axios/lib/helpers/callbackify.js +0 -18
- package/node_modules/axios/lib/helpers/combineURLs.js +0 -15
- package/node_modules/axios/lib/helpers/composeSignals.js +0 -57
- package/node_modules/axios/lib/helpers/cookies.js +0 -64
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -105
- package/node_modules/axios/lib/helpers/formDataToJSON.js +0 -119
- package/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
- package/node_modules/axios/lib/helpers/fromDataURI.js +0 -68
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
- package/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
- package/node_modules/axios/lib/helpers/null.js +0 -2
- package/node_modules/axios/lib/helpers/parseHeaders.js +0 -69
- package/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
- package/node_modules/axios/lib/helpers/readBlob.js +0 -15
- package/node_modules/axios/lib/helpers/resolveConfig.js +0 -119
- package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -210
- package/node_modules/axios/lib/helpers/speedometer.js +0 -55
- package/node_modules/axios/lib/helpers/spread.js +0 -28
- package/node_modules/axios/lib/helpers/throttle.js +0 -44
- package/node_modules/axios/lib/helpers/toFormData.js +0 -285
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
- package/node_modules/axios/lib/helpers/trackStream.js +0 -89
- package/node_modules/axios/lib/helpers/validator.js +0 -112
- package/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
- package/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
- package/node_modules/axios/lib/platform/browser/index.js +0 -13
- package/node_modules/axios/lib/platform/common/utils.js +0 -52
- package/node_modules/axios/lib/platform/index.js +0 -7
- package/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
- package/node_modules/axios/lib/platform/node/index.js +0 -37
- package/node_modules/axios/lib/utils.js +0 -1017
- package/node_modules/axios/package.json +0 -201
- package/node_modules/combined-stream/License +0 -19
- package/node_modules/combined-stream/Readme.md +0 -138
- package/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/node_modules/combined-stream/package.json +0 -25
- package/node_modules/delayed-stream/.npmignore +0 -1
- package/node_modules/delayed-stream/License +0 -19
- package/node_modules/delayed-stream/Makefile +0 -7
- package/node_modules/delayed-stream/Readme.md +0 -141
- package/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/node_modules/delayed-stream/package.json +0 -27
- package/node_modules/es-set-tostringtag/.eslintrc +0 -13
- package/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
- package/node_modules/es-set-tostringtag/LICENSE +0 -21
- package/node_modules/es-set-tostringtag/README.md +0 -53
- package/node_modules/es-set-tostringtag/index.d.ts +0 -10
- package/node_modules/es-set-tostringtag/index.js +0 -35
- package/node_modules/es-set-tostringtag/package.json +0 -78
- package/node_modules/es-set-tostringtag/test/index.js +0 -85
- package/node_modules/follow-redirects/LICENSE +0 -18
- package/node_modules/follow-redirects/README.md +0 -157
- package/node_modules/follow-redirects/debug.js +0 -15
- package/node_modules/follow-redirects/http.js +0 -1
- package/node_modules/follow-redirects/https.js +0 -1
- package/node_modules/follow-redirects/index.js +0 -709
- package/node_modules/follow-redirects/package.json +0 -58
- package/node_modules/form-data/CHANGELOG.md +0 -669
- package/node_modules/form-data/License +0 -19
- package/node_modules/form-data/README.md +0 -350
- package/node_modules/form-data/index.d.ts +0 -51
- package/node_modules/form-data/lib/browser.js +0 -4
- package/node_modules/form-data/lib/form_data.js +0 -514
- package/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/form-data/node_modules/mime-db/HISTORY.md +0 -507
- package/node_modules/form-data/node_modules/mime-db/README.md +0 -100
- package/node_modules/form-data/node_modules/mime-db/db.json +0 -8519
- package/node_modules/form-data/node_modules/mime-db/package.json +0 -60
- package/node_modules/form-data/node_modules/mime-types/HISTORY.md +0 -397
- package/node_modules/form-data/node_modules/mime-types/README.md +0 -113
- package/node_modules/form-data/node_modules/mime-types/index.js +0 -188
- package/node_modules/form-data/node_modules/mime-types/package.json +0 -44
- package/node_modules/form-data/package.json +0 -83
- package/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/has-tostringtag/.eslintrc +0 -5
- package/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/node_modules/has-tostringtag/CHANGELOG.md +0 -42
- package/node_modules/has-tostringtag/LICENSE +0 -21
- package/node_modules/has-tostringtag/README.md +0 -46
- package/node_modules/has-tostringtag/index.d.ts +0 -3
- package/node_modules/has-tostringtag/index.js +0 -8
- package/node_modules/has-tostringtag/package.json +0 -108
- package/node_modules/has-tostringtag/shams.d.ts +0 -3
- package/node_modules/has-tostringtag/shams.js +0 -8
- package/node_modules/has-tostringtag/test/index.js +0 -21
- package/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
- package/node_modules/has-tostringtag/test/tests.js +0 -15
- package/node_modules/has-tostringtag/tsconfig.json +0 -49
- package/node_modules/https-proxy-agent/README.md +0 -137
- package/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
- package/node_modules/https-proxy-agent/dist/agent.js +0 -177
- package/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
- package/node_modules/https-proxy-agent/dist/index.js +0 -14
- package/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- package/node_modules/https-proxy-agent/package.json +0 -56
- package/node_modules/is-electron/LICENSE +0 -21
- package/node_modules/is-electron/README.md +0 -25
- package/node_modules/is-electron/index.d.ts +0 -2
- package/node_modules/is-electron/index.js +0 -21
- package/node_modules/is-electron/package.json +0 -34
- package/node_modules/is-stream/index.d.ts +0 -79
- package/node_modules/is-stream/index.js +0 -28
- package/node_modules/is-stream/package.json +0 -42
- package/node_modules/is-stream/readme.md +0 -60
- package/node_modules/media-typer/README.md +0 -93
- package/node_modules/media-typer/index.js +0 -143
- package/node_modules/media-typer/package.json +0 -33
- package/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/mime-db/index.js +0 -12
- package/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/proxy-from-env/LICENSE +0 -20
- package/node_modules/proxy-from-env/README.md +0 -163
- package/node_modules/proxy-from-env/index.cjs +0 -105
- package/node_modules/proxy-from-env/index.js +0 -103
- package/node_modules/proxy-from-env/package.json +0 -43
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/tsconfig.json +0 -9
- package/npm-shrinkwrap.json +0 -1467
- /package/node_modules/@slack/{logger → bolt/node_modules/@slack/logger}/LICENSE +0 -0
- /package/node_modules/@slack/{logger → bolt/node_modules/@slack/logger}/dist/index.d.ts +0 -0
- /package/node_modules/@slack/{logger → bolt/node_modules/@slack/logger}/dist/index.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/LICENSE +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/authorize-result.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/authorize-result.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/authorize-result.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/authorize-result.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/callback-options.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/callback-options.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/callback-options.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/callback-options.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/default-render-html-for-install-path.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/default-render-html-for-install-path.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/default-render-html-for-install-path.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/default-render-html-for-install-path.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/index.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/index.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/index.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/index.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-path-options.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-path-options.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-path-options.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-path-options.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-provider-options.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-provider-options.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-provider-options.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-provider-options.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-provider.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-provider.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-url-options.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-url-options.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-url-options.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/install-url-options.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-query.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-query.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-query.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-query.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/file-store.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/file-store.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/index.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/index.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/index.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/index.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/interface.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/interface.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/interface.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/interface.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/memory-store.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation-stores/memory-store.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/installation.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/logger.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/logger.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/logger.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/logger.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/clear-state-store.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/clear-state-store.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/file-state-store.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/file-state-store.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/index.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/index.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/index.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/index.js.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/interface.d.ts +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/interface.d.ts.map +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/interface.js +0 -0
- /package/node_modules/@slack/{oauth → bolt/node_modules/@slack/oauth}/dist/state-stores/interface.js.map +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/jsonwebtoken/LICENSE +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/jsonwebtoken/README.md +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/jsonwebtoken/index.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/jsonwebtoken/package.json +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/ms/LICENSE +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/ms/README.md +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/ms/index.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/ms/package.json +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/LICENSE +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/README.md +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/assert/strict.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/assert.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/async_hooks.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/buffer.buffer.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/buffer.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/child_process.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/cluster.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/console.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/constants.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/crypto.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/dgram.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/diagnostics_channel.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/dns/promises.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/dns.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/domain.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/events.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/ffi.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/fs/promises.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/fs.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/globals.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/globals.typedarray.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/http.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/http2.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/https.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/index.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/inspector/promises.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/inspector.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/inspector.generated.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/module.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/net.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/os.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/package.json +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/path/posix.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/path/win32.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/path.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/perf_hooks.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/process.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/punycode.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/querystring.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/quic.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/readline/promises.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/readline.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/repl.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/sea.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/sqlite.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/stream/consumers.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/stream/iter.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/stream/promises.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/stream/web.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/stream.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/string_decoder.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/test/reporters.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/test.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/timers/promises.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/timers.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/tls.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/trace_events.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/ts5.6/buffer.buffer.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/ts5.6/compatibility/float16array.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/ts5.6/globals.typedarray.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/ts5.6/index.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/ts5.7/compatibility/float16array.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/ts5.7/index.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/tty.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/url.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/util/types.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/util.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/v8.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/vm.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/wasi.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/abortcontroller.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/blob.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/console.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/crypto.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/domexception.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/encoding.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/events.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/fetch.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/importmeta.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/messaging.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/navigator.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/performance.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/storage.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/streams.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/timers.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/web-globals/url.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/worker_threads.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/zlib/iter.d.ts +0 -0
- /package/node_modules/{@types → @slack/bolt/node_modules/@types}/node/zlib.d.ts +0 -0
- /package/node_modules/{accepts → @slack/bolt/node_modules/accepts}/HISTORY.md +0 -0
- /package/node_modules/{accepts → @slack/bolt/node_modules/accepts}/LICENSE +0 -0
- /package/node_modules/{accepts → @slack/bolt/node_modules/accepts}/README.md +0 -0
- /package/node_modules/{accepts → @slack/bolt/node_modules/accepts}/index.js +0 -0
- /package/node_modules/{accepts → @slack/bolt/node_modules/accepts}/package.json +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/LICENSE +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/README.md +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/index.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/lib/read.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/lib/types/json.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/lib/types/raw.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/lib/types/text.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/lib/types/urlencoded.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/lib/utils.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/node_modules/content-type/LICENSE +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/node_modules/content-type/README.md +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/node_modules/content-type/dist/index.d.ts +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/node_modules/content-type/dist/index.js +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/node_modules/content-type/dist/index.js.map +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/node_modules/content-type/package.json +0 -0
- /package/node_modules/{body-parser → @slack/bolt/node_modules/body-parser}/package.json +0 -0
- /package/node_modules/{buffer-equal-constant-time → @slack/bolt/node_modules/buffer-equal-constant-time}/.npmignore +0 -0
- /package/node_modules/{buffer-equal-constant-time → @slack/bolt/node_modules/buffer-equal-constant-time}/.travis.yml +0 -0
- /package/node_modules/{buffer-equal-constant-time → @slack/bolt/node_modules/buffer-equal-constant-time}/LICENSE.txt +0 -0
- /package/node_modules/{buffer-equal-constant-time → @slack/bolt/node_modules/buffer-equal-constant-time}/README.md +0 -0
- /package/node_modules/{buffer-equal-constant-time → @slack/bolt/node_modules/buffer-equal-constant-time}/index.js +0 -0
- /package/node_modules/{buffer-equal-constant-time → @slack/bolt/node_modules/buffer-equal-constant-time}/package.json +0 -0
- /package/node_modules/{buffer-equal-constant-time → @slack/bolt/node_modules/buffer-equal-constant-time}/test.js +0 -0
- /package/node_modules/{bytes → @slack/bolt/node_modules/bytes}/History.md +0 -0
- /package/node_modules/{bytes → @slack/bolt/node_modules/bytes}/LICENSE +0 -0
- /package/node_modules/{bytes → @slack/bolt/node_modules/bytes}/Readme.md +0 -0
- /package/node_modules/{bytes → @slack/bolt/node_modules/bytes}/index.js +0 -0
- /package/node_modules/{bytes → @slack/bolt/node_modules/bytes}/package.json +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/.eslintrc +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/.github/FUNDING.yml +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/.nycrc +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/CHANGELOG.md +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/LICENSE +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/README.md +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/actualApply.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/actualApply.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/applyBind.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/applyBind.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/functionApply.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/functionApply.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/functionCall.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/functionCall.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/index.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/index.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/package.json +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/reflectApply.d.ts +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/reflectApply.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/test/index.js +0 -0
- /package/node_modules/{call-bind-apply-helpers → @slack/bolt/node_modules/call-bind-apply-helpers}/tsconfig.json +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/.eslintrc +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/.github/FUNDING.yml +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/.nycrc +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/CHANGELOG.md +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/LICENSE +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/README.md +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/index.d.ts +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/index.js +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/package.json +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/test/index.js +0 -0
- /package/node_modules/{call-bound → @slack/bolt/node_modules/call-bound}/tsconfig.json +0 -0
- /package/node_modules/{content-disposition → @slack/bolt/node_modules/content-disposition}/LICENSE +0 -0
- /package/node_modules/{content-disposition → @slack/bolt/node_modules/content-disposition}/README.md +0 -0
- /package/node_modules/{content-disposition → @slack/bolt/node_modules/content-disposition}/index.js +0 -0
- /package/node_modules/{content-disposition → @slack/bolt/node_modules/content-disposition}/package.json +0 -0
- /package/node_modules/{content-type → @slack/bolt/node_modules/content-type}/HISTORY.md +0 -0
- /package/node_modules/{content-type → @slack/bolt/node_modules/content-type}/LICENSE +0 -0
- /package/node_modules/{content-type → @slack/bolt/node_modules/content-type}/README.md +0 -0
- /package/node_modules/{content-type → @slack/bolt/node_modules/content-type}/index.js +0 -0
- /package/node_modules/{content-type → @slack/bolt/node_modules/content-type}/package.json +0 -0
- /package/node_modules/{cookie → @slack/bolt/node_modules/cookie}/LICENSE +0 -0
- /package/node_modules/{cookie → @slack/bolt/node_modules/cookie}/README.md +0 -0
- /package/node_modules/{cookie → @slack/bolt/node_modules/cookie}/SECURITY.md +0 -0
- /package/node_modules/{cookie → @slack/bolt/node_modules/cookie}/index.js +0 -0
- /package/node_modules/{cookie → @slack/bolt/node_modules/cookie}/package.json +0 -0
- /package/node_modules/{cookie-signature → @slack/bolt/node_modules/cookie-signature}/History.md +0 -0
- /package/node_modules/{cookie-signature → @slack/bolt/node_modules/cookie-signature}/LICENSE +0 -0
- /package/node_modules/{cookie-signature → @slack/bolt/node_modules/cookie-signature}/Readme.md +0 -0
- /package/node_modules/{cookie-signature → @slack/bolt/node_modules/cookie-signature}/index.js +0 -0
- /package/node_modules/{cookie-signature → @slack/bolt/node_modules/cookie-signature}/package.json +0 -0
- /package/node_modules/{debug → @slack/bolt/node_modules/debug}/LICENSE +0 -0
- /package/node_modules/{debug → @slack/bolt/node_modules/debug}/README.md +0 -0
- /package/node_modules/{debug → @slack/bolt/node_modules/debug}/package.json +0 -0
- /package/node_modules/{debug → @slack/bolt/node_modules/debug}/src/browser.js +0 -0
- /package/node_modules/{debug → @slack/bolt/node_modules/debug}/src/common.js +0 -0
- /package/node_modules/{debug → @slack/bolt/node_modules/debug}/src/index.js +0 -0
- /package/node_modules/{debug → @slack/bolt/node_modules/debug}/src/node.js +0 -0
- /package/node_modules/{depd → @slack/bolt/node_modules/depd}/History.md +0 -0
- /package/node_modules/{depd → @slack/bolt/node_modules/depd}/LICENSE +0 -0
- /package/node_modules/{depd → @slack/bolt/node_modules/depd}/Readme.md +0 -0
- /package/node_modules/{depd → @slack/bolt/node_modules/depd}/index.js +0 -0
- /package/node_modules/{depd → @slack/bolt/node_modules/depd}/lib/browser/index.js +0 -0
- /package/node_modules/{depd → @slack/bolt/node_modules/depd}/package.json +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/.eslintrc +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/.nycrc +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/LICENSE +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/README.md +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/get.d.ts +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/get.js +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/package.json +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/set.d.ts +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/set.js +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/test/get.js +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/test/index.js +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/test/set.js +0 -0
- /package/node_modules/{dunder-proto → @slack/bolt/node_modules/dunder-proto}/tsconfig.json +0 -0
- /package/node_modules/{ecdsa-sig-formatter → @slack/bolt/node_modules/ecdsa-sig-formatter}/CODEOWNERS +0 -0
- /package/node_modules/{ecdsa-sig-formatter → @slack/bolt/node_modules/ecdsa-sig-formatter}/LICENSE +0 -0
- /package/node_modules/{ecdsa-sig-formatter → @slack/bolt/node_modules/ecdsa-sig-formatter}/README.md +0 -0
- /package/node_modules/{ecdsa-sig-formatter → @slack/bolt/node_modules/ecdsa-sig-formatter}/package.json +0 -0
- /package/node_modules/{ecdsa-sig-formatter → @slack/bolt/node_modules/ecdsa-sig-formatter}/src/ecdsa-sig-formatter.d.ts +0 -0
- /package/node_modules/{ecdsa-sig-formatter → @slack/bolt/node_modules/ecdsa-sig-formatter}/src/ecdsa-sig-formatter.js +0 -0
- /package/node_modules/{ecdsa-sig-formatter → @slack/bolt/node_modules/ecdsa-sig-formatter}/src/param-bytes-for-alg.js +0 -0
- /package/node_modules/{ee-first → @slack/bolt/node_modules/ee-first}/LICENSE +0 -0
- /package/node_modules/{ee-first → @slack/bolt/node_modules/ee-first}/README.md +0 -0
- /package/node_modules/{ee-first → @slack/bolt/node_modules/ee-first}/index.js +0 -0
- /package/node_modules/{ee-first → @slack/bolt/node_modules/ee-first}/package.json +0 -0
- /package/node_modules/{encodeurl → @slack/bolt/node_modules/encodeurl}/LICENSE +0 -0
- /package/node_modules/{encodeurl → @slack/bolt/node_modules/encodeurl}/README.md +0 -0
- /package/node_modules/{encodeurl → @slack/bolt/node_modules/encodeurl}/index.js +0 -0
- /package/node_modules/{encodeurl → @slack/bolt/node_modules/encodeurl}/package.json +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/.eslintrc +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/.github/FUNDING.yml +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/.nycrc +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/CHANGELOG.md +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/LICENSE +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/README.md +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/index.d.ts +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/index.js +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/package.json +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/test/index.js +0 -0
- /package/node_modules/{es-define-property → @slack/bolt/node_modules/es-define-property}/tsconfig.json +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/.eslintrc +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/.github/FUNDING.yml +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/CHANGELOG.md +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/LICENSE +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/README.md +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/eval.d.ts +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/eval.js +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/index.d.ts +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/index.js +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/package.json +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/range.d.ts +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/range.js +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/ref.d.ts +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/ref.js +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/syntax.d.ts +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/syntax.js +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/test/index.js +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/tsconfig.json +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/type.d.ts +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/type.js +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/uri.d.ts +0 -0
- /package/node_modules/{es-errors → @slack/bolt/node_modules/es-errors}/uri.js +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/.eslintrc +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/.github/FUNDING.yml +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/CHANGELOG.md +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/LICENSE +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/README.md +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/RequireObjectCoercible.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/RequireObjectCoercible.js +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/ToObject.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/ToObject.js +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/index.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/index.js +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/isObject.d.ts +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/isObject.js +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/package.json +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/test/index.js +0 -0
- /package/node_modules/{es-object-atoms → @slack/bolt/node_modules/es-object-atoms}/tsconfig.json +0 -0
- /package/node_modules/{escape-html → @slack/bolt/node_modules/escape-html}/LICENSE +0 -0
- /package/node_modules/{escape-html → @slack/bolt/node_modules/escape-html}/Readme.md +0 -0
- /package/node_modules/{escape-html → @slack/bolt/node_modules/escape-html}/index.js +0 -0
- /package/node_modules/{escape-html → @slack/bolt/node_modules/escape-html}/package.json +0 -0
- /package/node_modules/{etag → @slack/bolt/node_modules/etag}/HISTORY.md +0 -0
- /package/node_modules/{etag → @slack/bolt/node_modules/etag}/LICENSE +0 -0
- /package/node_modules/{etag → @slack/bolt/node_modules/etag}/README.md +0 -0
- /package/node_modules/{etag → @slack/bolt/node_modules/etag}/index.js +0 -0
- /package/node_modules/{etag → @slack/bolt/node_modules/etag}/package.json +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/LICENSE +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/Readme.md +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/index.js +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/lib/application.js +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/lib/express.js +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/lib/request.js +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/lib/response.js +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/lib/utils.js +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/lib/view.js +0 -0
- /package/node_modules/{express → @slack/bolt/node_modules/express}/package.json +0 -0
- /package/node_modules/{finalhandler → @slack/bolt/node_modules/finalhandler}/HISTORY.md +0 -0
- /package/node_modules/{finalhandler → @slack/bolt/node_modules/finalhandler}/LICENSE +0 -0
- /package/node_modules/{finalhandler → @slack/bolt/node_modules/finalhandler}/README.md +0 -0
- /package/node_modules/{finalhandler → @slack/bolt/node_modules/finalhandler}/index.js +0 -0
- /package/node_modules/{finalhandler → @slack/bolt/node_modules/finalhandler}/package.json +0 -0
- /package/node_modules/{forwarded → @slack/bolt/node_modules/forwarded}/HISTORY.md +0 -0
- /package/node_modules/{forwarded → @slack/bolt/node_modules/forwarded}/LICENSE +0 -0
- /package/node_modules/{forwarded → @slack/bolt/node_modules/forwarded}/README.md +0 -0
- /package/node_modules/{forwarded → @slack/bolt/node_modules/forwarded}/index.js +0 -0
- /package/node_modules/{forwarded → @slack/bolt/node_modules/forwarded}/package.json +0 -0
- /package/node_modules/{fresh → @slack/bolt/node_modules/fresh}/HISTORY.md +0 -0
- /package/node_modules/{fresh → @slack/bolt/node_modules/fresh}/LICENSE +0 -0
- /package/node_modules/{fresh → @slack/bolt/node_modules/fresh}/README.md +0 -0
- /package/node_modules/{fresh → @slack/bolt/node_modules/fresh}/index.js +0 -0
- /package/node_modules/{fresh → @slack/bolt/node_modules/fresh}/package.json +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/.eslintrc +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/.github/FUNDING.yml +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/.github/SECURITY.md +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/.nycrc +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/CHANGELOG.md +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/LICENSE +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/README.md +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/implementation.js +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/index.js +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/package.json +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/test/.eslintrc +0 -0
- /package/node_modules/{function-bind → @slack/bolt/node_modules/function-bind}/test/index.js +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/.eslintrc +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/.github/FUNDING.yml +0 -0
- /package/node_modules/{es-set-tostringtag → @slack/bolt/node_modules/get-intrinsic}/.nycrc +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/CHANGELOG.md +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/LICENSE +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/README.md +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/index.js +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/package.json +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-intrinsic}/test/GetIntrinsic.js +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/.eslintrc +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{get-intrinsic → @slack/bolt/node_modules/get-proto}/.nycrc +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/LICENSE +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/Object.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/Object.getPrototypeOf.js +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/README.md +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/Reflect.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/Reflect.getPrototypeOf.js +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/index.d.ts +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/index.js +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/package.json +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/test/index.js +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/get-proto}/tsconfig.json +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/.eslintrc +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/.github/FUNDING.yml +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/CHANGELOG.md +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/LICENSE +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/README.md +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/gOPD.d.ts +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/gOPD.js +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/index.d.ts +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/index.js +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/package.json +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/gopd}/test/index.js +0 -0
- /package/node_modules/{es-set-tostringtag → @slack/bolt/node_modules/gopd}/tsconfig.json +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/.eslintrc +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/.github/FUNDING.yml +0 -0
- /package/node_modules/{get-proto → @slack/bolt/node_modules/has-symbols}/.nycrc +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/CHANGELOG.md +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/LICENSE +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/README.md +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/index.d.ts +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/index.js +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/package.json +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/shams.d.ts +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/shams.js +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/test/index.js +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/test/shams/core-js.js +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/test/shams/get-own-property-symbols.js +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/test/tests.js +0 -0
- /package/node_modules/{has-symbols → @slack/bolt/node_modules/has-symbols}/tsconfig.json +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/.github/FUNDING.yml +0 -0
- /package/node_modules/{has-tostringtag → @slack/bolt/node_modules/hasown}/.nycrc +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/CHANGELOG.md +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/LICENSE +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/README.md +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/eslint.config.mjs +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/index.d.ts +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/index.js +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/package.json +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/hasown}/tsconfig.json +0 -0
- /package/node_modules/{http-errors → @slack/bolt/node_modules/http-errors}/HISTORY.md +0 -0
- /package/node_modules/{http-errors → @slack/bolt/node_modules/http-errors}/LICENSE +0 -0
- /package/node_modules/{http-errors → @slack/bolt/node_modules/http-errors}/README.md +0 -0
- /package/node_modules/{http-errors → @slack/bolt/node_modules/http-errors}/index.js +0 -0
- /package/node_modules/{http-errors → @slack/bolt/node_modules/http-errors}/package.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/LICENSE +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/README.md +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/dbcs-codec.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/dbcs-data.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/index.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/internal.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/sbcs-codec.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/sbcs-data-generated.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/sbcs-data.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/big5-added.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/cp936.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/cp949.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/cp950.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/eucjp.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/gb18030-ranges.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/gbk-added.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/tables/shiftjis.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/utf16.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/utf32.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/encodings/utf7.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/lib/bom-handling.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/lib/helpers/merge-exports.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/lib/index.d.ts +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/lib/index.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/lib/streams.js +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/package.json +0 -0
- /package/node_modules/{iconv-lite → @slack/bolt/node_modules/iconv-lite}/types/encodings.d.ts +0 -0
- /package/node_modules/{inherits → @slack/bolt/node_modules/inherits}/LICENSE +0 -0
- /package/node_modules/{inherits → @slack/bolt/node_modules/inherits}/README.md +0 -0
- /package/node_modules/{inherits → @slack/bolt/node_modules/inherits}/inherits.js +0 -0
- /package/node_modules/{inherits → @slack/bolt/node_modules/inherits}/inherits_browser.js +0 -0
- /package/node_modules/{inherits → @slack/bolt/node_modules/inherits}/package.json +0 -0
- /package/node_modules/{ipaddr.js → @slack/bolt/node_modules/ipaddr.js}/LICENSE +0 -0
- /package/node_modules/{ipaddr.js → @slack/bolt/node_modules/ipaddr.js}/README.md +0 -0
- /package/node_modules/{ipaddr.js → @slack/bolt/node_modules/ipaddr.js}/ipaddr.min.js +0 -0
- /package/node_modules/{ipaddr.js → @slack/bolt/node_modules/ipaddr.js}/lib/ipaddr.js +0 -0
- /package/node_modules/{ipaddr.js → @slack/bolt/node_modules/ipaddr.js}/lib/ipaddr.js.d.ts +0 -0
- /package/node_modules/{ipaddr.js → @slack/bolt/node_modules/ipaddr.js}/package.json +0 -0
- /package/node_modules/{is-promise → @slack/bolt/node_modules/is-promise}/LICENSE +0 -0
- /package/node_modules/{is-promise → @slack/bolt/node_modules/is-promise}/index.d.ts +0 -0
- /package/node_modules/{is-promise → @slack/bolt/node_modules/is-promise}/index.js +0 -0
- /package/node_modules/{is-promise → @slack/bolt/node_modules/is-promise}/index.mjs +0 -0
- /package/node_modules/{is-promise → @slack/bolt/node_modules/is-promise}/package.json +0 -0
- /package/node_modules/{is-promise → @slack/bolt/node_modules/is-promise}/readme.md +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/LICENSE +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/README.md +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/decode.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/index.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/JsonWebTokenError.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/NotBeforeError.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/TokenExpiredError.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/asymmetricKeyDetailsSupported.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/psSupported.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/rsaPssKeyDetailsSupported.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/timespan.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/lib/validateAsymmetricKey.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/package.json +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/sign.js +0 -0
- /package/node_modules/{jsonwebtoken → @slack/bolt/node_modules/jsonwebtoken}/verify.js +0 -0
- /package/node_modules/{jwa → @slack/bolt/node_modules/jwa}/LICENSE +0 -0
- /package/node_modules/{jwa → @slack/bolt/node_modules/jwa}/README.md +0 -0
- /package/node_modules/{jwa → @slack/bolt/node_modules/jwa}/index.js +0 -0
- /package/node_modules/{jwa → @slack/bolt/node_modules/jwa}/opslevel.yml +0 -0
- /package/node_modules/{jwa → @slack/bolt/node_modules/jwa}/package.json +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/CHANGELOG.md +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/LICENSE +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/index.js +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/lib/data-stream.js +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/lib/sign-stream.js +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/lib/tostring.js +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/lib/verify-stream.js +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/opslevel.yml +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/package.json +0 -0
- /package/node_modules/{jws → @slack/bolt/node_modules/jws}/readme.md +0 -0
- /package/node_modules/{lodash.includes → @slack/bolt/node_modules/lodash.includes}/LICENSE +0 -0
- /package/node_modules/{lodash.includes → @slack/bolt/node_modules/lodash.includes}/README.md +0 -0
- /package/node_modules/{lodash.includes → @slack/bolt/node_modules/lodash.includes}/index.js +0 -0
- /package/node_modules/{lodash.includes → @slack/bolt/node_modules/lodash.includes}/package.json +0 -0
- /package/node_modules/{lodash.isboolean → @slack/bolt/node_modules/lodash.isboolean}/LICENSE +0 -0
- /package/node_modules/{lodash.isboolean → @slack/bolt/node_modules/lodash.isboolean}/README.md +0 -0
- /package/node_modules/{lodash.isboolean → @slack/bolt/node_modules/lodash.isboolean}/index.js +0 -0
- /package/node_modules/{lodash.isboolean → @slack/bolt/node_modules/lodash.isboolean}/package.json +0 -0
- /package/node_modules/{lodash.isinteger → @slack/bolt/node_modules/lodash.isinteger}/LICENSE +0 -0
- /package/node_modules/{lodash.isinteger → @slack/bolt/node_modules/lodash.isinteger}/README.md +0 -0
- /package/node_modules/{lodash.isinteger → @slack/bolt/node_modules/lodash.isinteger}/index.js +0 -0
- /package/node_modules/{lodash.isinteger → @slack/bolt/node_modules/lodash.isinteger}/package.json +0 -0
- /package/node_modules/{lodash.isnumber → @slack/bolt/node_modules/lodash.isnumber}/LICENSE +0 -0
- /package/node_modules/{lodash.isnumber → @slack/bolt/node_modules/lodash.isnumber}/README.md +0 -0
- /package/node_modules/{lodash.isnumber → @slack/bolt/node_modules/lodash.isnumber}/index.js +0 -0
- /package/node_modules/{lodash.isnumber → @slack/bolt/node_modules/lodash.isnumber}/package.json +0 -0
- /package/node_modules/{lodash.isplainobject → @slack/bolt/node_modules/lodash.isplainobject}/LICENSE +0 -0
- /package/node_modules/{lodash.isplainobject → @slack/bolt/node_modules/lodash.isplainobject}/README.md +0 -0
- /package/node_modules/{lodash.isplainobject → @slack/bolt/node_modules/lodash.isplainobject}/index.js +0 -0
- /package/node_modules/{lodash.isplainobject → @slack/bolt/node_modules/lodash.isplainobject}/package.json +0 -0
- /package/node_modules/{lodash.isstring → @slack/bolt/node_modules/lodash.isstring}/LICENSE +0 -0
- /package/node_modules/{lodash.isstring → @slack/bolt/node_modules/lodash.isstring}/README.md +0 -0
- /package/node_modules/{lodash.isstring → @slack/bolt/node_modules/lodash.isstring}/index.js +0 -0
- /package/node_modules/{lodash.isstring → @slack/bolt/node_modules/lodash.isstring}/package.json +0 -0
- /package/node_modules/{lodash.once → @slack/bolt/node_modules/lodash.once}/LICENSE +0 -0
- /package/node_modules/{lodash.once → @slack/bolt/node_modules/lodash.once}/README.md +0 -0
- /package/node_modules/{lodash.once → @slack/bolt/node_modules/lodash.once}/index.js +0 -0
- /package/node_modules/{lodash.once → @slack/bolt/node_modules/lodash.once}/package.json +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/.eslintrc +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/.github/FUNDING.yml +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/CHANGELOG.md +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/LICENSE +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/README.md +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/abs.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/abs.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/constants/maxArrayLength.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/constants/maxArrayLength.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/constants/maxSafeInteger.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/constants/maxSafeInteger.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/constants/maxValue.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/constants/maxValue.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/floor.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/floor.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isFinite.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isFinite.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isInteger.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isInteger.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isNaN.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isNaN.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isNegativeZero.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/isNegativeZero.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/max.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/max.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/min.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/min.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/mod.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/mod.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/package.json +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/pow.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/pow.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/round.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/round.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/sign.d.ts +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/sign.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/test/index.js +0 -0
- /package/node_modules/{math-intrinsics → @slack/bolt/node_modules/math-intrinsics}/tsconfig.json +0 -0
- /package/node_modules/{media-typer → @slack/bolt/node_modules/media-typer}/HISTORY.md +0 -0
- /package/node_modules/{media-typer → @slack/bolt/node_modules/media-typer}/LICENSE +0 -0
- /package/node_modules/{merge-descriptors → @slack/bolt/node_modules/merge-descriptors}/index.d.ts +0 -0
- /package/node_modules/{merge-descriptors → @slack/bolt/node_modules/merge-descriptors}/index.js +0 -0
- /package/node_modules/{merge-descriptors → @slack/bolt/node_modules/merge-descriptors}/license +0 -0
- /package/node_modules/{merge-descriptors → @slack/bolt/node_modules/merge-descriptors}/package.json +0 -0
- /package/node_modules/{merge-descriptors → @slack/bolt/node_modules/merge-descriptors}/readme.md +0 -0
- /package/node_modules/{mime-db → @slack/bolt/node_modules/mime-db}/HISTORY.md +0 -0
- /package/node_modules/{form-data → @slack/bolt}/node_modules/mime-db/LICENSE +0 -0
- /package/node_modules/{mime-db → @slack/bolt/node_modules/mime-db}/README.md +0 -0
- /package/node_modules/{mime-db → @slack/bolt/node_modules/mime-db}/db.json +0 -0
- /package/node_modules/{form-data → @slack/bolt}/node_modules/mime-db/index.js +0 -0
- /package/node_modules/{mime-db → @slack/bolt/node_modules/mime-db}/package.json +0 -0
- /package/node_modules/{mime-types → @slack/bolt/node_modules/mime-types}/HISTORY.md +0 -0
- /package/node_modules/{form-data → @slack/bolt}/node_modules/mime-types/LICENSE +0 -0
- /package/node_modules/{mime-types → @slack/bolt/node_modules/mime-types}/README.md +0 -0
- /package/node_modules/{mime-types → @slack/bolt/node_modules/mime-types}/index.js +0 -0
- /package/node_modules/{mime-types → @slack/bolt/node_modules/mime-types}/mimeScore.js +0 -0
- /package/node_modules/{mime-types → @slack/bolt/node_modules/mime-types}/package.json +0 -0
- /package/node_modules/{ms → @slack/bolt/node_modules/ms}/index.js +0 -0
- /package/node_modules/{ms → @slack/bolt/node_modules/ms}/license.md +0 -0
- /package/node_modules/{ms → @slack/bolt/node_modules/ms}/package.json +0 -0
- /package/node_modules/{ms → @slack/bolt/node_modules/ms}/readme.md +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/HISTORY.md +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/LICENSE +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/README.md +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/index.js +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/lib/charset.js +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/lib/encoding.js +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/lib/language.js +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/lib/mediaType.js +0 -0
- /package/node_modules/{negotiator → @slack/bolt/node_modules/negotiator}/package.json +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/.eslintrc +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/.github/FUNDING.yml +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/.nycrc +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/CHANGELOG.md +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/LICENSE +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/example/all.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/example/circular.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/example/fn.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/example/inspect.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/index.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/package-support.json +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/package.json +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/readme.markdown +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/bigint.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/browser/dom.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/circular.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/deep.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/element.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/err.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/fakes.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/fn.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/global.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/has.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/holes.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/indent-option.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/inspect.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/lowbyte.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/number.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/quoteStyle.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/toStringTag.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/undef.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test/values.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/test-core-js.js +0 -0
- /package/node_modules/{object-inspect → @slack/bolt/node_modules/object-inspect}/util.inspect.js +0 -0
- /package/node_modules/{on-finished → @slack/bolt/node_modules/on-finished}/HISTORY.md +0 -0
- /package/node_modules/{on-finished → @slack/bolt/node_modules/on-finished}/LICENSE +0 -0
- /package/node_modules/{on-finished → @slack/bolt/node_modules/on-finished}/README.md +0 -0
- /package/node_modules/{on-finished → @slack/bolt/node_modules/on-finished}/index.js +0 -0
- /package/node_modules/{on-finished → @slack/bolt/node_modules/on-finished}/package.json +0 -0
- /package/node_modules/{once → @slack/bolt/node_modules/once}/LICENSE +0 -0
- /package/node_modules/{once → @slack/bolt/node_modules/once}/README.md +0 -0
- /package/node_modules/{once → @slack/bolt/node_modules/once}/once.js +0 -0
- /package/node_modules/{once → @slack/bolt/node_modules/once}/package.json +0 -0
- /package/node_modules/{parseurl → @slack/bolt/node_modules/parseurl}/HISTORY.md +0 -0
- /package/node_modules/{parseurl → @slack/bolt/node_modules/parseurl}/LICENSE +0 -0
- /package/node_modules/{parseurl → @slack/bolt/node_modules/parseurl}/README.md +0 -0
- /package/node_modules/{parseurl → @slack/bolt/node_modules/parseurl}/index.js +0 -0
- /package/node_modules/{parseurl → @slack/bolt/node_modules/parseurl}/package.json +0 -0
- /package/node_modules/{path-to-regexp → @slack/bolt/node_modules/path-to-regexp}/LICENSE +0 -0
- /package/node_modules/{path-to-regexp → @slack/bolt/node_modules/path-to-regexp}/Readme.md +0 -0
- /package/node_modules/{path-to-regexp → @slack/bolt/node_modules/path-to-regexp}/dist/index.d.ts +0 -0
- /package/node_modules/{path-to-regexp → @slack/bolt/node_modules/path-to-regexp}/dist/index.js +0 -0
- /package/node_modules/{path-to-regexp → @slack/bolt/node_modules/path-to-regexp}/dist/index.js.map +0 -0
- /package/node_modules/{path-to-regexp → @slack/bolt/node_modules/path-to-regexp}/package.json +0 -0
- /package/node_modules/{proxy-addr → @slack/bolt/node_modules/proxy-addr}/HISTORY.md +0 -0
- /package/node_modules/{proxy-addr → @slack/bolt/node_modules/proxy-addr}/LICENSE +0 -0
- /package/node_modules/{proxy-addr → @slack/bolt/node_modules/proxy-addr}/README.md +0 -0
- /package/node_modules/{proxy-addr → @slack/bolt/node_modules/proxy-addr}/index.js +0 -0
- /package/node_modules/{proxy-addr → @slack/bolt/node_modules/proxy-addr}/package.json +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/.editorconfig +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/.github/FUNDING.yml +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/.github/SECURITY.md +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/.github/THREAT_MODEL.md +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/.nycrc +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/CHANGELOG.md +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/LICENSE.md +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/README.md +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/dist/qs.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/eslint.config.mjs +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/lib/formats.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/lib/index.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/lib/parse.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/lib/stringify.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/lib/utils.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/package.json +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/test/empty-keys-cases.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/test/parse.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/test/stringify.js +0 -0
- /package/node_modules/{qs → @slack/bolt/node_modules/qs}/test/utils.js +0 -0
- /package/node_modules/{range-parser → @slack/bolt/node_modules/range-parser}/HISTORY.md +0 -0
- /package/node_modules/{range-parser → @slack/bolt/node_modules/range-parser}/LICENSE +0 -0
- /package/node_modules/{range-parser → @slack/bolt/node_modules/range-parser}/README.md +0 -0
- /package/node_modules/{range-parser → @slack/bolt/node_modules/range-parser}/index.js +0 -0
- /package/node_modules/{range-parser → @slack/bolt/node_modules/range-parser}/package.json +0 -0
- /package/node_modules/{raw-body → @slack/bolt/node_modules/raw-body}/LICENSE +0 -0
- /package/node_modules/{raw-body → @slack/bolt/node_modules/raw-body}/README.md +0 -0
- /package/node_modules/{raw-body → @slack/bolt/node_modules/raw-body}/index.d.ts +0 -0
- /package/node_modules/{raw-body → @slack/bolt/node_modules/raw-body}/index.js +0 -0
- /package/node_modules/{raw-body → @slack/bolt/node_modules/raw-body}/package.json +0 -0
- /package/node_modules/{router → @slack/bolt/node_modules/router}/HISTORY.md +0 -0
- /package/node_modules/{router → @slack/bolt/node_modules/router}/LICENSE +0 -0
- /package/node_modules/{router → @slack/bolt/node_modules/router}/README.md +0 -0
- /package/node_modules/{router → @slack/bolt/node_modules/router}/index.js +0 -0
- /package/node_modules/{router → @slack/bolt/node_modules/router}/lib/layer.js +0 -0
- /package/node_modules/{router → @slack/bolt/node_modules/router}/lib/route.js +0 -0
- /package/node_modules/{router → @slack/bolt/node_modules/router}/package.json +0 -0
- /package/node_modules/{safe-buffer → @slack/bolt/node_modules/safe-buffer}/LICENSE +0 -0
- /package/node_modules/{safe-buffer → @slack/bolt/node_modules/safe-buffer}/README.md +0 -0
- /package/node_modules/{safe-buffer → @slack/bolt/node_modules/safe-buffer}/index.d.ts +0 -0
- /package/node_modules/{safe-buffer → @slack/bolt/node_modules/safe-buffer}/index.js +0 -0
- /package/node_modules/{safe-buffer → @slack/bolt/node_modules/safe-buffer}/package.json +0 -0
- /package/node_modules/{safer-buffer → @slack/bolt/node_modules/safer-buffer}/LICENSE +0 -0
- /package/node_modules/{safer-buffer → @slack/bolt/node_modules/safer-buffer}/Porting-Buffer.md +0 -0
- /package/node_modules/{safer-buffer → @slack/bolt/node_modules/safer-buffer}/Readme.md +0 -0
- /package/node_modules/{safer-buffer → @slack/bolt/node_modules/safer-buffer}/dangerous.js +0 -0
- /package/node_modules/{safer-buffer → @slack/bolt/node_modules/safer-buffer}/package.json +0 -0
- /package/node_modules/{safer-buffer → @slack/bolt/node_modules/safer-buffer}/safer.js +0 -0
- /package/node_modules/{safer-buffer → @slack/bolt/node_modules/safer-buffer}/tests.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/LICENSE +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/README.md +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/bin/semver.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/classes/comparator.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/classes/index.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/classes/range.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/classes/semver.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/clean.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/cmp.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/coerce.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/compare-build.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/compare-loose.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/compare.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/diff.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/eq.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/gt.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/gte.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/inc.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/lt.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/lte.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/major.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/minor.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/neq.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/parse.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/patch.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/prerelease.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/rcompare.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/rsort.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/satisfies.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/sort.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/truncate.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/functions/valid.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/index.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/internal/constants.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/internal/debug.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/internal/identifiers.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/internal/lrucache.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/internal/parse-options.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/internal/re.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/package.json +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/preload.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/range.bnf +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/gtr.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/intersects.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/ltr.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/max-satisfying.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/min-satisfying.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/min-version.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/outside.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/simplify.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/subset.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/to-comparators.js +0 -0
- /package/node_modules/{semver → @slack/bolt/node_modules/semver}/ranges/valid.js +0 -0
- /package/node_modules/{send → @slack/bolt/node_modules/send}/LICENSE +0 -0
- /package/node_modules/{send → @slack/bolt/node_modules/send}/README.md +0 -0
- /package/node_modules/{send → @slack/bolt/node_modules/send}/index.js +0 -0
- /package/node_modules/{send → @slack/bolt/node_modules/send}/package.json +0 -0
- /package/node_modules/{serve-static → @slack/bolt/node_modules/serve-static}/LICENSE +0 -0
- /package/node_modules/{serve-static → @slack/bolt/node_modules/serve-static}/README.md +0 -0
- /package/node_modules/{serve-static → @slack/bolt/node_modules/serve-static}/index.js +0 -0
- /package/node_modules/{serve-static → @slack/bolt/node_modules/serve-static}/package.json +0 -0
- /package/node_modules/{setprototypeof → @slack/bolt/node_modules/setprototypeof}/LICENSE +0 -0
- /package/node_modules/{setprototypeof → @slack/bolt/node_modules/setprototypeof}/README.md +0 -0
- /package/node_modules/{setprototypeof → @slack/bolt/node_modules/setprototypeof}/index.d.ts +0 -0
- /package/node_modules/{setprototypeof → @slack/bolt/node_modules/setprototypeof}/index.js +0 -0
- /package/node_modules/{setprototypeof → @slack/bolt/node_modules/setprototypeof}/package.json +0 -0
- /package/node_modules/{setprototypeof → @slack/bolt/node_modules/setprototypeof}/test/index.js +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/.editorconfig +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/.eslintrc +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/.github/FUNDING.yml +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel}/.nycrc +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/LICENSE +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/README.md +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/index.d.ts +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/index.js +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/package.json +0 -0
- /package/node_modules/{side-channel → @slack/bolt/node_modules/side-channel}/test/index.js +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel}/tsconfig.json +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/.editorconfig +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/.eslintrc +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/.github/FUNDING.yml +0 -0
- /package/node_modules/{hasown → @slack/bolt/node_modules/side-channel-list}/.nycrc +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/LICENSE +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/README.md +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/index.d.ts +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/index.js +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/list.d.ts +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/package.json +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-list}/test/index.js +0 -0
- /package/node_modules/{gopd → @slack/bolt/node_modules/side-channel-list}/tsconfig.json +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/.editorconfig +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/.eslintrc +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/.github/FUNDING.yml +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-map}/.nycrc +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/LICENSE +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/README.md +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/index.d.ts +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/index.js +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/package.json +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-map}/test/index.js +0 -0
- /package/node_modules/{side-channel-list → @slack/bolt/node_modules/side-channel-map}/tsconfig.json +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/.editorconfig +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/.eslintrc +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/.github/FUNDING.yml +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-weakmap}/.nycrc +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/CHANGELOG.md +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/LICENSE +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/README.md +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/index.d.ts +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/index.js +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/package.json +0 -0
- /package/node_modules/{side-channel-weakmap → @slack/bolt/node_modules/side-channel-weakmap}/test/index.js +0 -0
- /package/node_modules/{side-channel-map → @slack/bolt/node_modules/side-channel-weakmap}/tsconfig.json +0 -0
- /package/node_modules/{statuses → @slack/bolt/node_modules/statuses}/HISTORY.md +0 -0
- /package/node_modules/{statuses → @slack/bolt/node_modules/statuses}/LICENSE +0 -0
- /package/node_modules/{statuses → @slack/bolt/node_modules/statuses}/README.md +0 -0
- /package/node_modules/{statuses → @slack/bolt/node_modules/statuses}/codes.json +0 -0
- /package/node_modules/{statuses → @slack/bolt/node_modules/statuses}/index.js +0 -0
- /package/node_modules/{statuses → @slack/bolt/node_modules/statuses}/package.json +0 -0
- /package/node_modules/{toidentifier → @slack/bolt/node_modules/toidentifier}/HISTORY.md +0 -0
- /package/node_modules/{toidentifier → @slack/bolt/node_modules/toidentifier}/LICENSE +0 -0
- /package/node_modules/{toidentifier → @slack/bolt/node_modules/toidentifier}/README.md +0 -0
- /package/node_modules/{toidentifier → @slack/bolt/node_modules/toidentifier}/index.js +0 -0
- /package/node_modules/{toidentifier → @slack/bolt/node_modules/toidentifier}/package.json +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/.travis.yml +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/LICENSE +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/README.md +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/appveyor.yml +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/lib/index.js +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/package.json +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/test/benchmark/index.js +0 -0
- /package/node_modules/{tsscmp → @slack/bolt/node_modules/tsscmp}/test/unit/index.js +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/HISTORY.md +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/LICENSE +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/README.md +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/index.js +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/node_modules/content-type/LICENSE +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/node_modules/content-type/README.md +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/node_modules/content-type/dist/index.d.ts +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/node_modules/content-type/dist/index.js +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/node_modules/content-type/dist/index.js.map +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/node_modules/content-type/package.json +0 -0
- /package/node_modules/{type-is → @slack/bolt/node_modules/type-is}/package.json +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/LICENSE +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/README.md +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/agent.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/api.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/balanced-pool.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/cache-interceptor.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/cache.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/client-stats.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/client.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/connector.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/content-type.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/cookies.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/diagnostics-channel.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/dispatcher.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/dispatcher1-wrapper.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/env-http-proxy-agent.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/errors.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/eventsource.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/fetch.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/formdata.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/global-dispatcher.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/global-origin.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/h2c-client.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/handlers.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/header.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/index.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/interceptors.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/mock-agent.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/mock-call-history.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/mock-client.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/mock-errors.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/mock-interceptor.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/mock-pool.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/package.json +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/patch.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/pool-stats.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/pool.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/proxy-agent.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/readable.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/retry-agent.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/retry-handler.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/round-robin-pool.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/snapshot-agent.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/socks5-proxy-agent.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/util.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/utility.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/webidl.d.ts +0 -0
- /package/node_modules/{undici-types → @slack/bolt/node_modules/undici-types}/websocket.d.ts +0 -0
- /package/node_modules/{unpipe → @slack/bolt/node_modules/unpipe}/HISTORY.md +0 -0
- /package/node_modules/{unpipe → @slack/bolt/node_modules/unpipe}/LICENSE +0 -0
- /package/node_modules/{unpipe → @slack/bolt/node_modules/unpipe}/README.md +0 -0
- /package/node_modules/{unpipe → @slack/bolt/node_modules/unpipe}/index.js +0 -0
- /package/node_modules/{unpipe → @slack/bolt/node_modules/unpipe}/package.json +0 -0
- /package/node_modules/{vary → @slack/bolt/node_modules/vary}/HISTORY.md +0 -0
- /package/node_modules/{vary → @slack/bolt/node_modules/vary}/LICENSE +0 -0
- /package/node_modules/{vary → @slack/bolt/node_modules/vary}/README.md +0 -0
- /package/node_modules/{vary → @slack/bolt/node_modules/vary}/index.js +0 -0
- /package/node_modules/{vary → @slack/bolt/node_modules/vary}/package.json +0 -0
- /package/node_modules/{wrappy → @slack/bolt/node_modules/wrappy}/LICENSE +0 -0
- /package/node_modules/{wrappy → @slack/bolt/node_modules/wrappy}/README.md +0 -0
- /package/node_modules/{wrappy → @slack/bolt/node_modules/wrappy}/package.json +0 -0
- /package/node_modules/{wrappy → @slack/bolt/node_modules/wrappy}/wrappy.js +0 -0
- /package/node_modules/{@types/retry → @slack/socket-mode/node_modules/@types/node}/LICENSE +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/LICENSE +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/README.md +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/dist/eventemitter3.esm.js +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/dist/eventemitter3.esm.min.js +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/dist/eventemitter3.esm.min.js.map +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/dist/eventemitter3.umd.js +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/dist/eventemitter3.umd.min.js +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/dist/eventemitter3.umd.min.js.map +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/index.d.ts +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/index.js +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/index.mjs +0 -0
- /package/node_modules/{eventemitter3 → @slack/socket-mode/node_modules/eventemitter3}/package.json +0 -0
- /package/node_modules/{@types/ws → @slack/web-api/node_modules/@types/node}/LICENSE +0 -0
- /package/node_modules/{p-queue → @slack/web-api}/node_modules/eventemitter3/LICENSE +0 -0
- /package/node_modules/{p-queue → @slack/web-api}/node_modules/eventemitter3/index.js +0 -0
- /package/node_modules/{p-finally → @slack/web-api/node_modules/p-finally}/index.js +0 -0
- /package/node_modules/{p-finally → @slack/web-api/node_modules/p-finally}/license +0 -0
- /package/node_modules/{p-finally → @slack/web-api/node_modules/p-finally}/package.json +0 -0
- /package/node_modules/{p-finally → @slack/web-api/node_modules/p-finally}/readme.md +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/index.d.ts +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/index.js +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/lower-bound.d.ts +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/lower-bound.js +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/options.d.ts +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/options.js +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/priority-queue.d.ts +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/priority-queue.js +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/queue.d.ts +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/dist/queue.js +0 -0
- /package/node_modules/{is-stream → @slack/web-api/node_modules/p-queue}/license +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/node_modules/eventemitter3/README.md +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/node_modules/eventemitter3/index.d.ts +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/node_modules/eventemitter3/package.json +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/node_modules/eventemitter3/umd/eventemitter3.js +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/node_modules/eventemitter3/umd/eventemitter3.min.js +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/node_modules/eventemitter3/umd/eventemitter3.min.js.map +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/package.json +0 -0
- /package/node_modules/{p-queue → @slack/web-api/node_modules/p-queue}/readme.md +0 -0
- /package/node_modules/{p-retry → @slack/web-api/node_modules/p-retry}/index.d.ts +0 -0
- /package/node_modules/{p-retry → @slack/web-api/node_modules/p-retry}/index.js +0 -0
- /package/node_modules/{p-retry → @slack/web-api/node_modules/p-retry}/license +0 -0
- /package/node_modules/{p-retry → @slack/web-api/node_modules/p-retry}/package.json +0 -0
- /package/node_modules/{p-retry → @slack/web-api/node_modules/p-retry}/readme.md +0 -0
- /package/node_modules/{p-timeout → @slack/web-api/node_modules/p-timeout}/index.d.ts +0 -0
- /package/node_modules/{p-timeout → @slack/web-api/node_modules/p-timeout}/index.js +0 -0
- /package/node_modules/{p-timeout → @slack/web-api/node_modules/p-timeout}/license +0 -0
- /package/node_modules/{p-timeout → @slack/web-api/node_modules/p-timeout}/package.json +0 -0
- /package/node_modules/{p-timeout → @slack/web-api/node_modules/p-timeout}/readme.md +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/License +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/README.md +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/example/dns.js +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/example/stop.js +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/index.js +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/lib/retry.js +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/lib/retry_operation.js +0 -0
- /package/node_modules/{retry → @slack/web-api/node_modules/retry}/package.json +0 -0
- /package/node_modules/{p-queue → get-east-asian-width}/license +0 -0
|
@@ -1,2318 +0,0 @@
|
|
|
1
|
-
import { a as resolveSlackAccount, i as resolveDefaultSlackAccountId, n as listSlackAccountIds, o as resolveSlackAccountAllowFrom, r as mergeSlackAccountConfig } from "./accounts-BSr252c_.js";
|
|
2
|
-
import { i as parseSlackTarget, t as canonicalizeSlackApiTargetId } from "./target-parsing-N6lHogYZ.js";
|
|
3
|
-
import { t as isSlackPluginAccountConfigured } from "./account-configured-BwfXBo_F.js";
|
|
4
|
-
import { normalizeAccountId } from "openclaw/plugin-sdk/account-resolution";
|
|
5
|
-
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString, normalizeStringifiedOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
|
-
import { normalizeMessageChannel } from "openclaw/plugin-sdk/routing";
|
|
7
|
-
import { chunkTextForOutbound, markdownToIR, renderMarkdownIRChunksWithinLimit, renderMarkdownWithMarkers } from "openclaw/plugin-sdk/text-chunking";
|
|
8
|
-
import { createNativeApprovalChannelRouteGates, doesApprovalRequestMatchChannelAccount, resolveApprovalRequestSessionConversation } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
9
|
-
import { createChannelApprovalAuth, resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
10
|
-
import { createChannelExecApprovalProfile, isChannelExecApprovalClientEnabledFromConfig, isChannelExecApprovalTargetRecipient, matchesApprovalRequestFilters } from "openclaw/plugin-sdk/approval-client-runtime";
|
|
11
|
-
import { channelRouteTargetsMatchExact, stringifyRouteThreadId } from "openclaw/plugin-sdk/channel-route";
|
|
12
|
-
import { normalizeMessagePresentation, reduceLegacyInteractiveReply, renderMessagePresentationChartFallbackText, renderMessagePresentationFallbackText, renderMessagePresentationTableFallbackText, resolveMessagePresentationButtonAction, resolveMessagePresentationOptionAction } from "openclaw/plugin-sdk/interactive-runtime";
|
|
13
|
-
import { parseExecApprovalCommandText } from "openclaw/plugin-sdk/approval-reply-runtime";
|
|
14
|
-
import { buildApprovalResolutionRef } from "openclaw/plugin-sdk/approval-reference-runtime";
|
|
15
|
-
import { questionGatewayRuntime } from "openclaw/plugin-sdk/question-gateway-runtime";
|
|
16
|
-
import { sliceUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
17
|
-
import { compileAllowlist, resolveCompiledAllowlistMatch } from "openclaw/plugin-sdk/allow-from";
|
|
18
|
-
import { normalizeHyphenSlug, normalizeStringEntries as normalizeStringEntries$1, normalizeStringEntriesLower as normalizeStringEntriesLower$1 } from "openclaw/plugin-sdk/string-normalization-runtime";
|
|
19
|
-
import { resolveScopeRequireMention, resolveScopeToolsPolicy } from "openclaw/plugin-sdk/channel-policy";
|
|
20
|
-
//#region extensions/slack/src/exec-approvals.ts
|
|
21
|
-
function normalizeSlackUserLikeId(value) {
|
|
22
|
-
const upper = value.toUpperCase();
|
|
23
|
-
return /^[UW][A-Z0-9]+$/.test(upper) ? upper : void 0;
|
|
24
|
-
}
|
|
25
|
-
function normalizeSlackApproverId(value) {
|
|
26
|
-
const trimmed = normalizeStringifiedOptionalString(value);
|
|
27
|
-
if (!trimmed) return;
|
|
28
|
-
const prefixed = trimmed.match(/^(?:slack|user):([A-Z0-9]+)$/i);
|
|
29
|
-
if (prefixed?.[1]) return normalizeSlackUserLikeId(prefixed[1]);
|
|
30
|
-
const mention = trimmed.match(/^<@([A-Z0-9]+)>$/i);
|
|
31
|
-
if (mention?.[1]) return normalizeSlackUserLikeId(mention[1]);
|
|
32
|
-
return normalizeSlackUserLikeId(trimmed);
|
|
33
|
-
}
|
|
34
|
-
function resolveSlackOwnerApprovers(cfg) {
|
|
35
|
-
const ownerAllowFrom = cfg.commands?.ownerAllowFrom;
|
|
36
|
-
if (!Array.isArray(ownerAllowFrom) || ownerAllowFrom.length === 0) return [];
|
|
37
|
-
return resolveApprovalApprovers({
|
|
38
|
-
explicit: ownerAllowFrom,
|
|
39
|
-
normalizeApprover: normalizeSlackApproverId
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function getSlackExecApprovalApprovers(params) {
|
|
43
|
-
const account = resolveSlackAccount(params).config;
|
|
44
|
-
return resolveApprovalApprovers({
|
|
45
|
-
explicit: account.execApprovals?.approvers ?? resolveSlackOwnerApprovers(params.cfg),
|
|
46
|
-
normalizeApprover: normalizeSlackApproverId
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
function isSlackExecApprovalTargetRecipient(params) {
|
|
50
|
-
return isChannelExecApprovalTargetRecipient({
|
|
51
|
-
...params,
|
|
52
|
-
channel: "slack",
|
|
53
|
-
normalizeSenderId: normalizeSlackApproverId,
|
|
54
|
-
matchTarget: ({ target, normalizedSenderId }) => normalizeSlackApproverId(target.to) === normalizedSenderId
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
const slackExecApprovalProfile = createChannelExecApprovalProfile({
|
|
58
|
-
resolveConfig: (params) => resolveSlackAccount(params).config.execApprovals,
|
|
59
|
-
resolveApprovers: getSlackExecApprovalApprovers,
|
|
60
|
-
normalizeSenderId: normalizeSlackApproverId,
|
|
61
|
-
isTargetRecipient: isSlackExecApprovalTargetRecipient,
|
|
62
|
-
matchesRequestAccount: (params) => doesApprovalRequestMatchChannelAccount({
|
|
63
|
-
cfg: params.cfg,
|
|
64
|
-
request: params.request,
|
|
65
|
-
channel: "slack",
|
|
66
|
-
accountId: params.accountId
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
const isSlackExecApprovalClientEnabled = slackExecApprovalProfile.isClientEnabled;
|
|
70
|
-
const isSlackExecApprovalAuthorizedSender = slackExecApprovalProfile.isAuthorizedSender;
|
|
71
|
-
const resolveSlackExecApprovalTarget = slackExecApprovalProfile.resolveTarget;
|
|
72
|
-
const shouldSuppressLocalSlackExecApprovalPrompt = slackExecApprovalProfile.shouldSuppressLocalPrompt;
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region extensions/slack/src/approval-auth.ts
|
|
75
|
-
const slackApproval = createChannelApprovalAuth({
|
|
76
|
-
channelLabel: "Slack",
|
|
77
|
-
resolveInputs: ({ cfg, accountId }) => {
|
|
78
|
-
const account = resolveSlackAccount({
|
|
79
|
-
cfg,
|
|
80
|
-
accountId
|
|
81
|
-
}).config;
|
|
82
|
-
return {
|
|
83
|
-
allowFrom: resolveSlackAccountAllowFrom({
|
|
84
|
-
cfg,
|
|
85
|
-
accountId
|
|
86
|
-
}),
|
|
87
|
-
defaultTo: account.defaultTo
|
|
88
|
-
};
|
|
89
|
-
},
|
|
90
|
-
normalizeApprover: normalizeSlackApproverId,
|
|
91
|
-
normalizeDefaultTo: normalizeSlackApproverId,
|
|
92
|
-
isWildcardAuthorized: ({ purpose, senderId, inputs, approvers }) => purpose === "sender" && Boolean(senderId) && approvers.length === 0 && inputs.allowFrom?.some((entry) => String(entry).trim() === "*") === true
|
|
93
|
-
});
|
|
94
|
-
const getSlackApprovalApprovers = slackApproval.resolveApprovers;
|
|
95
|
-
const isSlackApprovalAuthorizedSender = slackApproval.isAuthorizedSender;
|
|
96
|
-
//#endregion
|
|
97
|
-
//#region extensions/slack/src/approval-native-gates.ts
|
|
98
|
-
const DEFAULT_APPROVAL_FORWARDING_MODE = "session";
|
|
99
|
-
const SLACK_DM_CHANNEL_ID_RE = /^D[A-Z0-9]{8,}$/i;
|
|
100
|
-
const SLACK_USER_ID_RE = /^[UW][A-Z0-9]{8,}$/i;
|
|
101
|
-
function resolveSlackApprovalKind(request) {
|
|
102
|
-
const isExec = "command" in request.request;
|
|
103
|
-
if (isExec === ("title" in request.request && "description" in request.request)) throw new Error("Slack approval request payload does not identify exactly one owner");
|
|
104
|
-
return isExec ? "exec" : "plugin";
|
|
105
|
-
}
|
|
106
|
-
function isSlackApprovalTransportEnabled(params) {
|
|
107
|
-
const account = resolveSlackAccount(params);
|
|
108
|
-
return account.config.enterpriseOrgInstall !== true && isSlackPluginAccountConfigured(account);
|
|
109
|
-
}
|
|
110
|
-
function resolveSlackNativeApprovalConfig(params) {
|
|
111
|
-
return resolveSlackAccount(params).config.execApprovals;
|
|
112
|
-
}
|
|
113
|
-
function resolvePluginApprovalForwardingConfig(cfg) {
|
|
114
|
-
return cfg.approvals?.plugin;
|
|
115
|
-
}
|
|
116
|
-
function normalizeSlackThreadMatchKey(threadId) {
|
|
117
|
-
return threadId == null ? "" : String(threadId).trim();
|
|
118
|
-
}
|
|
119
|
-
function normalizeComparableTarget(value) {
|
|
120
|
-
return normalizeLowercaseStringOrEmpty(value);
|
|
121
|
-
}
|
|
122
|
-
function extractSlackSessionKind(sessionKey) {
|
|
123
|
-
if (!sessionKey) return null;
|
|
124
|
-
const kind = normalizeLowercaseStringOrEmpty(sessionKey.match(/slack:(direct|channel|group):/i)?.[1]);
|
|
125
|
-
return kind ? kind : null;
|
|
126
|
-
}
|
|
127
|
-
function resolveSlackTurnSourceDefaultKind(params) {
|
|
128
|
-
if (SLACK_DM_CHANNEL_ID_RE.test(params.turnSourceTo)) return "channel";
|
|
129
|
-
return params.sessionKind === "direct" ? "user" : "channel";
|
|
130
|
-
}
|
|
131
|
-
function resolveTurnSourceSlackOriginTarget(request) {
|
|
132
|
-
const turnSourceChannel = normalizeLowercaseStringOrEmpty(request.request.turnSourceChannel);
|
|
133
|
-
const turnSourceTo = normalizeOptionalString(request.request.turnSourceTo) ?? "";
|
|
134
|
-
if (turnSourceChannel !== "slack" || !turnSourceTo) return null;
|
|
135
|
-
const parsed = parseSlackTarget(turnSourceTo, { defaultKind: resolveSlackTurnSourceDefaultKind({
|
|
136
|
-
turnSourceTo,
|
|
137
|
-
sessionKind: extractSlackSessionKind(request.request.sessionKey ?? void 0)
|
|
138
|
-
}) });
|
|
139
|
-
if (!parsed) return null;
|
|
140
|
-
return {
|
|
141
|
-
to: `${parsed.kind}:${parsed.id}`,
|
|
142
|
-
threadId: stringifyRouteThreadId(request.request.turnSourceThreadId)
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
function resolveSessionSlackOriginTarget(sessionTarget) {
|
|
146
|
-
return {
|
|
147
|
-
to: sessionTarget.to,
|
|
148
|
-
threadId: stringifyRouteThreadId(sessionTarget.threadId)
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
function resolveSlackFallbackOriginTarget(request) {
|
|
152
|
-
const sessionTarget = resolveApprovalRequestSessionConversation({
|
|
153
|
-
request,
|
|
154
|
-
channel: "slack",
|
|
155
|
-
bundledFallback: false
|
|
156
|
-
});
|
|
157
|
-
if (!sessionTarget) return null;
|
|
158
|
-
const parsed = parseSlackTarget(sessionTarget.id, { defaultKind: "channel" });
|
|
159
|
-
if (!parsed) return null;
|
|
160
|
-
return {
|
|
161
|
-
to: `${parsed.kind}:${canonicalizeSlackApiTargetId(parsed.kind, parsed.id)}`,
|
|
162
|
-
threadId: sessionTarget.threadId
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
function normalizeSlackOriginTarget(target) {
|
|
166
|
-
return {
|
|
167
|
-
...target,
|
|
168
|
-
to: normalizeComparableTarget(target.to)
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
function parseComparableSlackTarget(target) {
|
|
172
|
-
return parseSlackTarget(target.to, { defaultKind: "channel" });
|
|
173
|
-
}
|
|
174
|
-
function isSlackDmChannelToUserRoutePair(a, b) {
|
|
175
|
-
const left = parseComparableSlackTarget(a);
|
|
176
|
-
const right = parseComparableSlackTarget(b);
|
|
177
|
-
if (!left || !right) return false;
|
|
178
|
-
return left.kind === "channel" && SLACK_DM_CHANNEL_ID_RE.test(left.id) && right.kind === "user" || right.kind === "channel" && SLACK_DM_CHANNEL_ID_RE.test(right.id) && left.kind === "user";
|
|
179
|
-
}
|
|
180
|
-
function slackTargetsMatch(a, b) {
|
|
181
|
-
const threadKey = normalizeSlackThreadMatchKey(a.threadId);
|
|
182
|
-
if (threadKey !== normalizeSlackThreadMatchKey(b.threadId)) return false;
|
|
183
|
-
if (channelRouteTargetsMatchExact({
|
|
184
|
-
left: {
|
|
185
|
-
channel: "slack",
|
|
186
|
-
to: a.to
|
|
187
|
-
},
|
|
188
|
-
right: {
|
|
189
|
-
channel: "slack",
|
|
190
|
-
to: b.to
|
|
191
|
-
}
|
|
192
|
-
})) return true;
|
|
193
|
-
return Boolean(threadKey && isSlackDmChannelToUserRoutePair(a, b));
|
|
194
|
-
}
|
|
195
|
-
function normalizeSlackForwardTarget(target) {
|
|
196
|
-
if ((normalizeMessageChannel(target.channel) ?? target.channel) !== "slack") return null;
|
|
197
|
-
const to = normalizeOptionalString(target.to);
|
|
198
|
-
if (!to) return null;
|
|
199
|
-
const parsed = parseSlackTarget(to, { defaultKind: SLACK_USER_ID_RE.test(to) ? "user" : "channel" });
|
|
200
|
-
if (!parsed) return null;
|
|
201
|
-
return {
|
|
202
|
-
to: `${parsed.kind}:${parsed.id}`,
|
|
203
|
-
accountId: normalizeOptionalString(target.accountId),
|
|
204
|
-
threadId: stringifyRouteThreadId(target.threadId)
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
const { canApprovalPotentiallyRouteToChannel: canApprovalPotentiallyRouteToSlack, isSessionApprovalEligible: isForwardedSlackSessionApprovalEligible, isExplicitTargetEligible: isForwardedSlackExplicitTargetEligible } = createNativeApprovalChannelRouteGates({
|
|
208
|
-
channel: "slack",
|
|
209
|
-
defaultForwardingMode: DEFAULT_APPROVAL_FORWARDING_MODE,
|
|
210
|
-
isTransportEnabled: isSlackApprovalTransportEnabled,
|
|
211
|
-
listAccountIds: listSlackAccountIds,
|
|
212
|
-
resolveDefaultAccountId: resolveDefaultSlackAccountId,
|
|
213
|
-
normalizeForwardTarget: normalizeSlackForwardTarget,
|
|
214
|
-
resolveTurnSourceTarget: resolveTurnSourceSlackOriginTarget,
|
|
215
|
-
targetsMatch: slackTargetsMatch
|
|
216
|
-
});
|
|
217
|
-
function hasSlackPluginApprovers(params) {
|
|
218
|
-
return getSlackApprovalApprovers(params).length > 0;
|
|
219
|
-
}
|
|
220
|
-
function isSlackPluginNativeApprovalClientConfigEnabled(params) {
|
|
221
|
-
return isChannelExecApprovalClientEnabledFromConfig({
|
|
222
|
-
enabled: resolveSlackNativeApprovalConfig(params)?.enabled,
|
|
223
|
-
approverCount: getSlackApprovalApprovers(params).length
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
function isSlackPluginForwardingRoutePotentiallyEnabled(params) {
|
|
227
|
-
return canApprovalPotentiallyRouteToSlack({
|
|
228
|
-
...params,
|
|
229
|
-
approvalKind: "plugin"
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
function isSlackPluginNativeApprovalClientEnabled(params) {
|
|
233
|
-
return isSlackPluginNativeApprovalClientConfigEnabled(params) || isSlackPluginForwardingRoutePotentiallyEnabled(params);
|
|
234
|
-
}
|
|
235
|
-
function shouldHandleSlackPluginViaNativeClientConfig(params) {
|
|
236
|
-
if (!doesApprovalRequestMatchChannelAccount({
|
|
237
|
-
cfg: params.cfg,
|
|
238
|
-
request: params.request,
|
|
239
|
-
channel: "slack",
|
|
240
|
-
accountId: params.accountId
|
|
241
|
-
})) return false;
|
|
242
|
-
const config = resolveSlackNativeApprovalConfig(params);
|
|
243
|
-
if (!isChannelExecApprovalClientEnabledFromConfig({
|
|
244
|
-
enabled: config?.enabled,
|
|
245
|
-
approverCount: getSlackApprovalApprovers(params).length
|
|
246
|
-
})) return false;
|
|
247
|
-
return matchesSlackNativeApprovalFilters({
|
|
248
|
-
request: params.request,
|
|
249
|
-
agentFilter: config?.agentFilter,
|
|
250
|
-
sessionFilter: config?.sessionFilter
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
function matchesSlackNativeApprovalFilters(params) {
|
|
254
|
-
return matchesApprovalRequestFilters({
|
|
255
|
-
request: params.request.request,
|
|
256
|
-
agentFilter: params.agentFilter,
|
|
257
|
-
sessionFilter: params.sessionFilter
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
function isAnyForwardedSlackExplicitTargetEligible(params) {
|
|
261
|
-
return (resolvePluginApprovalForwardingConfig(params.cfg)?.targets ?? []).some((target) => isForwardedSlackExplicitTargetEligible({
|
|
262
|
-
...params,
|
|
263
|
-
approvalKind: "plugin",
|
|
264
|
-
target
|
|
265
|
-
}));
|
|
266
|
-
}
|
|
267
|
-
function shouldHandleSlackPluginViaForwarding(params) {
|
|
268
|
-
return isForwardedSlackSessionApprovalEligible({
|
|
269
|
-
...params,
|
|
270
|
-
approvalKind: "plugin"
|
|
271
|
-
}) || isAnyForwardedSlackExplicitTargetEligible(params);
|
|
272
|
-
}
|
|
273
|
-
function shouldHandleSlackPluginViaForwardingSession(params) {
|
|
274
|
-
return isForwardedSlackSessionApprovalEligible({
|
|
275
|
-
...params,
|
|
276
|
-
approvalKind: "plugin"
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
function isSlackNativeApprovalClientEnabled(params) {
|
|
280
|
-
if (params.approvalKind === "exec") return isSlackExecApprovalClientEnabled(params);
|
|
281
|
-
return isSlackPluginNativeApprovalClientEnabled(params);
|
|
282
|
-
}
|
|
283
|
-
function isSlackAnyNativeApprovalClientEnabled(params) {
|
|
284
|
-
return isSlackNativeApprovalClientEnabled({
|
|
285
|
-
...params,
|
|
286
|
-
approvalKind: "exec"
|
|
287
|
-
}) || isSlackNativeApprovalClientEnabled({
|
|
288
|
-
...params,
|
|
289
|
-
approvalKind: "plugin"
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
function shouldHandleSlackNativeApprovalRequest(params) {
|
|
293
|
-
if ((params.approvalKind ?? resolveSlackApprovalKind(params.request)) === "plugin") return shouldHandleSlackPluginViaNativeClientConfig(params) || shouldHandleSlackPluginViaForwarding(params);
|
|
294
|
-
if (!doesApprovalRequestMatchChannelAccount({
|
|
295
|
-
cfg: params.cfg,
|
|
296
|
-
request: params.request,
|
|
297
|
-
channel: "slack",
|
|
298
|
-
accountId: params.accountId
|
|
299
|
-
})) return false;
|
|
300
|
-
const config = resolveSlackNativeApprovalConfig(params);
|
|
301
|
-
if (!isChannelExecApprovalClientEnabledFromConfig({
|
|
302
|
-
enabled: config?.enabled,
|
|
303
|
-
approverCount: getSlackExecApprovalApprovers(params).length
|
|
304
|
-
})) return false;
|
|
305
|
-
return matchesSlackNativeApprovalFilters({
|
|
306
|
-
request: params.request,
|
|
307
|
-
agentFilter: config?.agentFilter,
|
|
308
|
-
sessionFilter: config?.sessionFilter
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
//#endregion
|
|
312
|
-
//#region extensions/slack/src/blocks-input.ts
|
|
313
|
-
const SLACK_MAX_BLOCKS = 50;
|
|
314
|
-
function parseBlocksJson(raw) {
|
|
315
|
-
try {
|
|
316
|
-
return JSON.parse(raw);
|
|
317
|
-
} catch {
|
|
318
|
-
throw new Error("blocks must be valid JSON");
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
function assertBlocksArray(raw) {
|
|
322
|
-
if (!Array.isArray(raw)) throw new Error("blocks must be an array");
|
|
323
|
-
if (raw.length === 0) throw new Error("blocks must contain at least one block");
|
|
324
|
-
if (raw.length > 50) throw new Error(`blocks cannot exceed 50 items`);
|
|
325
|
-
for (const block of raw) {
|
|
326
|
-
if (!block || typeof block !== "object" || Array.isArray(block)) throw new Error("each block must be an object");
|
|
327
|
-
const type = block.type;
|
|
328
|
-
if (typeof type !== "string" || type.trim().length === 0) throw new Error("each block must include a non-empty string type");
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
function validateSlackBlocksArray(raw) {
|
|
332
|
-
assertBlocksArray(raw);
|
|
333
|
-
return raw;
|
|
334
|
-
}
|
|
335
|
-
function parseSlackBlocksInput(raw) {
|
|
336
|
-
if (raw == null) return;
|
|
337
|
-
return validateSlackBlocksArray(typeof raw === "string" ? parseBlocksJson(raw) : raw);
|
|
338
|
-
}
|
|
339
|
-
const SLACK_BUTTON_VALUE_MAX = 2e3;
|
|
340
|
-
const SLACK_SECTION_TEXT_MAX = 3e3;
|
|
341
|
-
const SLACK_PRESENTATION_CAPABILITIES = {
|
|
342
|
-
supported: true,
|
|
343
|
-
buttons: true,
|
|
344
|
-
selects: true,
|
|
345
|
-
context: true,
|
|
346
|
-
divider: true,
|
|
347
|
-
charts: true,
|
|
348
|
-
tables: true,
|
|
349
|
-
limits: {
|
|
350
|
-
actions: {
|
|
351
|
-
maxActionsPerRow: 25,
|
|
352
|
-
maxValueBytes: SLACK_BUTTON_VALUE_MAX,
|
|
353
|
-
supportsStyles: true
|
|
354
|
-
},
|
|
355
|
-
selects: {
|
|
356
|
-
maxOptions: 100,
|
|
357
|
-
maxValueBytes: 150
|
|
358
|
-
},
|
|
359
|
-
text: {
|
|
360
|
-
encoding: "characters",
|
|
361
|
-
markdownDialect: "slack-mrkdwn",
|
|
362
|
-
supportsEdit: true
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
//#endregion
|
|
367
|
-
//#region extensions/slack/src/approval-actions.ts
|
|
368
|
-
const SLACK_APPROVAL_VALUE_PREFIX = "openclaw:approval:v1:";
|
|
369
|
-
function isApprovalDecision(value) {
|
|
370
|
-
return value === "allow-once" || value === "allow-always" || value === "deny";
|
|
371
|
-
}
|
|
372
|
-
/** Encode portable approval facts without exposing a slash command to Slack callbacks. */
|
|
373
|
-
function encodeSlackApprovalAction(action) {
|
|
374
|
-
const encode = (approvalId) => `${SLACK_APPROVAL_VALUE_PREFIX}${JSON.stringify({
|
|
375
|
-
approvalId,
|
|
376
|
-
approvalKind: action.approvalKind,
|
|
377
|
-
decision: action.decision
|
|
378
|
-
})}`;
|
|
379
|
-
const exact = encode(action.approvalId);
|
|
380
|
-
return exact.length <= 2e3 ? exact : encode(buildApprovalResolutionRef({
|
|
381
|
-
approvalId: action.approvalId,
|
|
382
|
-
approvalKind: action.approvalKind
|
|
383
|
-
}));
|
|
384
|
-
}
|
|
385
|
-
/** Decode only the exact Slack-owned approval envelope. Malformed callbacks fail closed. */
|
|
386
|
-
function decodeSlackApprovalAction(value) {
|
|
387
|
-
if (typeof value !== "string" || !value.startsWith(SLACK_APPROVAL_VALUE_PREFIX)) return null;
|
|
388
|
-
try {
|
|
389
|
-
const decoded = JSON.parse(value.slice(21));
|
|
390
|
-
if (!decoded || typeof decoded !== "object" || Array.isArray(decoded)) return null;
|
|
391
|
-
const record = decoded;
|
|
392
|
-
if (Object.keys(record).length !== 3 || typeof record.approvalId !== "string" || record.approvalId.length === 0 || record.approvalKind !== "exec" && record.approvalKind !== "plugin" || !isApprovalDecision(record.decision)) return null;
|
|
393
|
-
return {
|
|
394
|
-
type: "approval",
|
|
395
|
-
approvalId: record.approvalId,
|
|
396
|
-
approvalKind: record.approvalKind,
|
|
397
|
-
decision: record.decision
|
|
398
|
-
};
|
|
399
|
-
} catch {
|
|
400
|
-
return null;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
//#endregion
|
|
404
|
-
//#region extensions/slack/src/monitor/mrkdwn.ts
|
|
405
|
-
function escapeSlackMrkdwn(value) {
|
|
406
|
-
return value.replaceAll("\\", "\\\\").replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replace(/([*_`~])/g, "\\$1");
|
|
407
|
-
}
|
|
408
|
-
//#endregion
|
|
409
|
-
//#region extensions/slack/src/presentation-fallback.ts
|
|
410
|
-
const SLACK_UNCOPYABLE_COMMAND_WARNING = "not copyable: contains backtick";
|
|
411
|
-
function resolveSlackCommandFallback(command) {
|
|
412
|
-
if (!command.includes("`")) return { command };
|
|
413
|
-
return {
|
|
414
|
-
command: command.replaceAll("`", "[backtick]"),
|
|
415
|
-
warning: SLACK_UNCOPYABLE_COMMAND_WARNING
|
|
416
|
-
};
|
|
417
|
-
}
|
|
418
|
-
function escapeSlackPresentationChartBlock(block) {
|
|
419
|
-
if (block.chartType === "pie") return {
|
|
420
|
-
...block,
|
|
421
|
-
title: escapeSlackMrkdwn(block.title),
|
|
422
|
-
segments: block.segments.map((segment) => ({
|
|
423
|
-
...segment,
|
|
424
|
-
label: escapeSlackMrkdwn(segment.label)
|
|
425
|
-
}))
|
|
426
|
-
};
|
|
427
|
-
return {
|
|
428
|
-
...block,
|
|
429
|
-
title: escapeSlackMrkdwn(block.title),
|
|
430
|
-
categories: block.categories.map(escapeSlackMrkdwn),
|
|
431
|
-
series: block.series.map((series) => ({
|
|
432
|
-
...series,
|
|
433
|
-
name: escapeSlackMrkdwn(series.name)
|
|
434
|
-
})),
|
|
435
|
-
...block.xLabel ? { xLabel: escapeSlackMrkdwn(block.xLabel) } : {},
|
|
436
|
-
...block.yLabel ? { yLabel: escapeSlackMrkdwn(block.yLabel) } : {}
|
|
437
|
-
};
|
|
438
|
-
}
|
|
439
|
-
function escapeSlackPresentationTableBlock(block) {
|
|
440
|
-
return {
|
|
441
|
-
...block,
|
|
442
|
-
caption: escapeSlackMrkdwn(block.caption),
|
|
443
|
-
headers: block.headers.map(escapeSlackMrkdwn),
|
|
444
|
-
rows: block.rows.map((row) => row.map((cell) => typeof cell === "string" ? escapeSlackMrkdwn(cell) : cell))
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
function escapeSlackPresentationFallbackBlock(block) {
|
|
448
|
-
if (block.type === "chart") return escapeSlackPresentationChartBlock(block);
|
|
449
|
-
if (block.type === "table") return escapeSlackPresentationTableBlock(block);
|
|
450
|
-
if (block.type === "buttons") return {
|
|
451
|
-
...block,
|
|
452
|
-
buttons: block.buttons.map((button) => {
|
|
453
|
-
const commandFallback = button.action?.type === "command" ? resolveSlackCommandFallback(button.action.command) : void 0;
|
|
454
|
-
const label = commandFallback?.warning ? `${button.label} [${commandFallback.warning}]` : button.label;
|
|
455
|
-
return {
|
|
456
|
-
...button,
|
|
457
|
-
label: escapeSlackMrkdwn(label),
|
|
458
|
-
...button.value ? { value: escapeSlackMrkdwn(button.value) } : {},
|
|
459
|
-
...button.url ? { url: escapeSlackMrkdwn(button.url) } : {},
|
|
460
|
-
...button.webApp ? { webApp: { url: escapeSlackMrkdwn(button.webApp.url) } } : {},
|
|
461
|
-
...button.web_app ? { web_app: { url: escapeSlackMrkdwn(button.web_app.url) } } : {},
|
|
462
|
-
...button.action?.type === "command" && commandFallback ? { action: {
|
|
463
|
-
...button.action,
|
|
464
|
-
command: commandFallback.command
|
|
465
|
-
} } : {}
|
|
466
|
-
};
|
|
467
|
-
})
|
|
468
|
-
};
|
|
469
|
-
if (block.type === "select") return {
|
|
470
|
-
...block,
|
|
471
|
-
...block.placeholder ? { placeholder: escapeSlackMrkdwn(block.placeholder) } : {},
|
|
472
|
-
options: block.options.map((option) => ({
|
|
473
|
-
...option,
|
|
474
|
-
label: escapeSlackMrkdwn(option.label)
|
|
475
|
-
}))
|
|
476
|
-
};
|
|
477
|
-
return block;
|
|
478
|
-
}
|
|
479
|
-
function renderSlackMessagePresentationChartFallbackText(block) {
|
|
480
|
-
return renderMessagePresentationChartFallbackText(escapeSlackPresentationChartBlock(block));
|
|
481
|
-
}
|
|
482
|
-
function renderSlackMessagePresentationTableFallbackText(block) {
|
|
483
|
-
return renderMessagePresentationTableFallbackText(escapeSlackPresentationTableBlock(block));
|
|
484
|
-
}
|
|
485
|
-
function renderSlackMessagePresentationFallbackText(params) {
|
|
486
|
-
if (!params.presentation) return renderMessagePresentationFallbackText(params);
|
|
487
|
-
const presentation = {
|
|
488
|
-
...params.presentation,
|
|
489
|
-
...params.presentation.title ? { title: escapeSlackMrkdwn(params.presentation.title) } : {},
|
|
490
|
-
blocks: params.presentation.blocks.map(escapeSlackPresentationFallbackBlock)
|
|
491
|
-
};
|
|
492
|
-
return renderMessagePresentationFallbackText({
|
|
493
|
-
...params,
|
|
494
|
-
presentation
|
|
495
|
-
});
|
|
496
|
-
}
|
|
497
|
-
//#endregion
|
|
498
|
-
//#region extensions/slack/src/data-table.ts
|
|
499
|
-
const SLACK_DATA_TABLE_COLUMNS_MAX = 20;
|
|
500
|
-
const SLACK_DATA_TABLE_ROWS_MAX = 100;
|
|
501
|
-
function asRecord$3(value) {
|
|
502
|
-
return value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
503
|
-
}
|
|
504
|
-
function readNonEmptyString$1(value) {
|
|
505
|
-
return typeof value === "string" && value.trim().length > 0 ? value : void 0;
|
|
506
|
-
}
|
|
507
|
-
function countCharacters(value) {
|
|
508
|
-
return Array.from(value).length;
|
|
509
|
-
}
|
|
510
|
-
function readRichTextLeaf(record) {
|
|
511
|
-
const text = readNonEmptyString$1(record.text);
|
|
512
|
-
if (text) return text;
|
|
513
|
-
switch (record.type) {
|
|
514
|
-
case "link": return readNonEmptyString$1(record.url) ?? "";
|
|
515
|
-
case "user": {
|
|
516
|
-
const userId = readNonEmptyString$1(record.user_id);
|
|
517
|
-
return userId ? `<@${userId}>` : "";
|
|
518
|
-
}
|
|
519
|
-
case "channel": {
|
|
520
|
-
const channelId = readNonEmptyString$1(record.channel_id);
|
|
521
|
-
return channelId ? `<#${channelId}>` : "";
|
|
522
|
-
}
|
|
523
|
-
case "usergroup": {
|
|
524
|
-
const usergroupId = readNonEmptyString$1(record.usergroup_id);
|
|
525
|
-
return usergroupId ? `<!subteam^${usergroupId}>` : "";
|
|
526
|
-
}
|
|
527
|
-
case "broadcast": {
|
|
528
|
-
const range = readNonEmptyString$1(record.range);
|
|
529
|
-
return range ? `<!${range}>` : "";
|
|
530
|
-
}
|
|
531
|
-
case "emoji": {
|
|
532
|
-
const name = readNonEmptyString$1(record.name);
|
|
533
|
-
return name ? `:${name}:` : "";
|
|
534
|
-
}
|
|
535
|
-
case "date": return readNonEmptyString$1(record.fallback) ?? "";
|
|
536
|
-
default: return "";
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
function readRichTextElements(value) {
|
|
540
|
-
if (!Array.isArray(value)) return "";
|
|
541
|
-
const parts = [];
|
|
542
|
-
for (const rawElement of value) {
|
|
543
|
-
const element = asRecord$3(rawElement);
|
|
544
|
-
if (!element) continue;
|
|
545
|
-
if (Array.isArray(element.elements)) {
|
|
546
|
-
const rendered = readRichTextElements(element.elements);
|
|
547
|
-
if (rendered) parts.push(rendered);
|
|
548
|
-
continue;
|
|
549
|
-
}
|
|
550
|
-
const rendered = readRichTextLeaf(element);
|
|
551
|
-
if (rendered) parts.push(rendered);
|
|
552
|
-
}
|
|
553
|
-
return parts.join("");
|
|
554
|
-
}
|
|
555
|
-
function readSlackDataTableCell(value, allowRichText) {
|
|
556
|
-
const cell = asRecord$3(value);
|
|
557
|
-
if (!cell) return;
|
|
558
|
-
if (cell.type === "raw_text") return readNonEmptyString$1(cell.text);
|
|
559
|
-
if (cell.type === "raw_number") return typeof cell.value === "number" && Number.isFinite(cell.value) ? readNonEmptyString$1(cell.text) : void 0;
|
|
560
|
-
if (allowRichText && cell.type === "rich_text") return readNonEmptyString$1(readRichTextElements(cell.elements));
|
|
561
|
-
}
|
|
562
|
-
function parseSlackDataTable(value, options = {}) {
|
|
563
|
-
const block = asRecord$3(value);
|
|
564
|
-
const caption = readNonEmptyString$1(block?.caption);
|
|
565
|
-
if (block?.type !== "data_table" || !caption || !Array.isArray(block.rows)) return;
|
|
566
|
-
if (block.rows.length < 2) return;
|
|
567
|
-
const rawHeader = block.rows[0];
|
|
568
|
-
if (!Array.isArray(rawHeader) || rawHeader.length < 1) return;
|
|
569
|
-
const headers = rawHeader.map((cell) => readSlackDataTableCell(cell, false));
|
|
570
|
-
if (!headers.every((header) => Boolean(header))) return;
|
|
571
|
-
const rows = block.rows.slice(1).map((rawRow) => {
|
|
572
|
-
if (!Array.isArray(rawRow) || rawRow.length !== headers.length) return;
|
|
573
|
-
const cells = rawRow.map((cell) => readSlackDataTableCell(cell, true));
|
|
574
|
-
return cells.every((cell) => Boolean(cell)) ? cells : void 0;
|
|
575
|
-
});
|
|
576
|
-
if (!rows.every((row) => Boolean(row))) return;
|
|
577
|
-
const cellCharacterCount = [...headers, ...rows.flat()].reduce((total, cell) => total + countCharacters(cell), 0);
|
|
578
|
-
if (options.enforceNativeLimits && (block.rows.length > 101 || headers.length > SLACK_DATA_TABLE_COLUMNS_MAX || cellCharacterCount > 1e4)) return;
|
|
579
|
-
return {
|
|
580
|
-
caption,
|
|
581
|
-
headers,
|
|
582
|
-
rows,
|
|
583
|
-
cellCharacterCount
|
|
584
|
-
};
|
|
585
|
-
}
|
|
586
|
-
/** Detect current native table blocks without depending on unreleased Slack SDK types. */
|
|
587
|
-
function hasSlackDataTableBlock(blocks) {
|
|
588
|
-
return blocks?.some((block) => asRecord$3(block)?.type === "data_table") ?? false;
|
|
589
|
-
}
|
|
590
|
-
function countSlackDataTableCellCharacters(value) {
|
|
591
|
-
return parseSlackDataTable(value, { enforceNativeLimits: true })?.cellCharacterCount;
|
|
592
|
-
}
|
|
593
|
-
/** Count the aggregate native-table cell characters already present in a message. */
|
|
594
|
-
function countSlackDataTableBlocksCellCharacters(blocks) {
|
|
595
|
-
let total = 0;
|
|
596
|
-
for (const block of blocks ?? []) {
|
|
597
|
-
if (!hasSlackDataTableBlock([block])) continue;
|
|
598
|
-
const cellCharacterCount = countSlackDataTableCellCharacters(block);
|
|
599
|
-
if (cellCharacterCount === void 0) return;
|
|
600
|
-
total += cellCharacterCount;
|
|
601
|
-
}
|
|
602
|
-
return total;
|
|
603
|
-
}
|
|
604
|
-
function resolvePortableTableCellCharacterCount(block) {
|
|
605
|
-
if (typeof block.caption !== "string" || block.caption.trim().length === 0 || !Array.isArray(block.headers) || block.headers.length < 1 || block.headers.length > SLACK_DATA_TABLE_COLUMNS_MAX || !Array.isArray(block.rows) || block.rows.length < 1 || block.rows.length > SLACK_DATA_TABLE_ROWS_MAX || new Set(block.headers).size !== block.headers.length || !block.headers.every((header) => typeof header === "string" && header.trim().length > 0) || block.rowHeaderColumnIndex !== void 0 && (!Number.isInteger(block.rowHeaderColumnIndex) || block.rowHeaderColumnIndex < 0 || block.rowHeaderColumnIndex >= block.headers.length)) return;
|
|
606
|
-
const values = [...block.headers];
|
|
607
|
-
for (const row of block.rows) {
|
|
608
|
-
if (!Array.isArray(row) || row.length !== block.headers.length) return;
|
|
609
|
-
for (const cell of row) {
|
|
610
|
-
if (typeof cell === "number") {
|
|
611
|
-
if (!Number.isFinite(cell)) return;
|
|
612
|
-
values.push(String(cell));
|
|
613
|
-
continue;
|
|
614
|
-
}
|
|
615
|
-
if (typeof cell !== "string" || cell.trim().length === 0) return;
|
|
616
|
-
values.push(cell);
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
return values.reduce((total, value) => total + countCharacters(value), 0);
|
|
620
|
-
}
|
|
621
|
-
/** True when a portable table fits Slack's per-table and per-message contracts. */
|
|
622
|
-
function canRenderSlackDataTable(block, options = {}) {
|
|
623
|
-
const cellCharacterCountOffset = options.cellCharacterCountOffset ?? 0;
|
|
624
|
-
if (!Number.isSafeInteger(cellCharacterCountOffset) || cellCharacterCountOffset < 0) return false;
|
|
625
|
-
const cellCharacterCount = resolvePortableTableCellCharacterCount(block);
|
|
626
|
-
return cellCharacterCount !== void 0 && cellCharacterCountOffset + cellCharacterCount <= 1e4;
|
|
627
|
-
}
|
|
628
|
-
/** Map a validated portable table to Slack's current app-facing Block Kit shape. */
|
|
629
|
-
function buildSlackDataTableBlock(block, options = {}) {
|
|
630
|
-
if (!canRenderSlackDataTable(block, options)) return;
|
|
631
|
-
const header = block.headers.map((text) => ({
|
|
632
|
-
type: "raw_text",
|
|
633
|
-
text
|
|
634
|
-
}));
|
|
635
|
-
const rows = block.rows.map((row) => row.map((cell) => typeof cell === "number" ? {
|
|
636
|
-
type: "raw_number",
|
|
637
|
-
value: cell,
|
|
638
|
-
text: String(cell)
|
|
639
|
-
} : {
|
|
640
|
-
type: "raw_text",
|
|
641
|
-
text: cell
|
|
642
|
-
}));
|
|
643
|
-
return {
|
|
644
|
-
type: "data_table",
|
|
645
|
-
caption: block.caption,
|
|
646
|
-
rows: [header, ...rows],
|
|
647
|
-
...block.rowHeaderColumnIndex !== void 0 ? { row_header_column_index: block.rowHeaderColumnIndex } : {}
|
|
648
|
-
};
|
|
649
|
-
}
|
|
650
|
-
/** Extract a deterministic accessible summary from a native Slack table block. */
|
|
651
|
-
function renderSlackDataTableFallbackText(value) {
|
|
652
|
-
const block = asRecord$3(value);
|
|
653
|
-
if (block?.type !== "data_table") return;
|
|
654
|
-
const parsed = parseSlackDataTable(block);
|
|
655
|
-
if (parsed) return renderMessagePresentationTableFallbackText({
|
|
656
|
-
type: "table",
|
|
657
|
-
caption: parsed.caption,
|
|
658
|
-
headers: parsed.headers,
|
|
659
|
-
rows: parsed.rows
|
|
660
|
-
});
|
|
661
|
-
return readNonEmptyString$1(block.caption)?.trim();
|
|
662
|
-
}
|
|
663
|
-
function escapeCompactFallbackCell(value) {
|
|
664
|
-
return value.replaceAll("\\", "\\\\").replaceAll(" ", "\\t").replaceAll("\r", "\\r").replaceAll("\n", "\\n");
|
|
665
|
-
}
|
|
666
|
-
/** Render each native table cell once for bounded, formatting-disabled delivery. */
|
|
667
|
-
function renderSlackDataTableCompactPlainTextFallback(value) {
|
|
668
|
-
const block = asRecord$3(value);
|
|
669
|
-
if (block?.type !== "data_table") return;
|
|
670
|
-
const parsed = parseSlackDataTable(block);
|
|
671
|
-
if (!parsed) return readNonEmptyString$1(block.caption)?.trim();
|
|
672
|
-
return [
|
|
673
|
-
`${escapeCompactFallbackCell(parsed.caption)} (table)`,
|
|
674
|
-
parsed.headers.map(escapeCompactFallbackCell).join(" "),
|
|
675
|
-
...parsed.rows.map((row) => row.map(escapeCompactFallbackCell).join(" "))
|
|
676
|
-
].join("\n");
|
|
677
|
-
}
|
|
678
|
-
/** Render a native table as mrkdwn without activating raw cell control tokens. */
|
|
679
|
-
function renderSlackDataTableMrkdwnFallbackText(value) {
|
|
680
|
-
const block = asRecord$3(value);
|
|
681
|
-
if (block?.type !== "data_table") return;
|
|
682
|
-
const parsed = parseSlackDataTable(block);
|
|
683
|
-
if (parsed) return renderSlackMessagePresentationTableFallbackText({
|
|
684
|
-
type: "table",
|
|
685
|
-
caption: parsed.caption,
|
|
686
|
-
headers: parsed.headers,
|
|
687
|
-
rows: parsed.rows
|
|
688
|
-
});
|
|
689
|
-
const caption = readNonEmptyString$1(block.caption)?.trim();
|
|
690
|
-
return caption ? escapeSlackMrkdwn(caption) : void 0;
|
|
691
|
-
}
|
|
692
|
-
//#endregion
|
|
693
|
-
//#region extensions/slack/src/data-visualization.ts
|
|
694
|
-
const SLACK_CHART_TITLE_MAX = 50;
|
|
695
|
-
const SLACK_CHART_LABEL_MAX = 20;
|
|
696
|
-
const SLACK_CHART_AXIS_LABEL_MAX = 50;
|
|
697
|
-
const SLACK_CHART_SERIES_MAX = 12;
|
|
698
|
-
const SLACK_CHART_DATA_POINTS_MAX = 20;
|
|
699
|
-
function asRecord$2(value) {
|
|
700
|
-
return value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
701
|
-
}
|
|
702
|
-
/** Detect native chart blocks without depending on unreleased Slack SDK types. */
|
|
703
|
-
function hasSlackDataVisualizationBlock(blocks) {
|
|
704
|
-
return blocks?.some((block) => asRecord$2(block)?.type === "data_visualization") ?? false;
|
|
705
|
-
}
|
|
706
|
-
function isStringWithin(value, maxLength) {
|
|
707
|
-
return typeof value === "string" && value.trim().length > 0 && Array.from(value).length <= maxLength;
|
|
708
|
-
}
|
|
709
|
-
function hasUniqueStrings(values) {
|
|
710
|
-
return new Set(values).size === values.length;
|
|
711
|
-
}
|
|
712
|
-
/** True when a portable chart satisfies Slack's complete native-block contract. */
|
|
713
|
-
function canRenderSlackDataVisualization(block) {
|
|
714
|
-
if (!isStringWithin(block.title, SLACK_CHART_TITLE_MAX)) return false;
|
|
715
|
-
if (block.chartType === "pie") return block.segments.length >= 1 && block.segments.length <= SLACK_CHART_SERIES_MAX && block.segments.every((segment) => isStringWithin(segment.label, SLACK_CHART_LABEL_MAX) && Number.isFinite(segment.value) && segment.value > 0);
|
|
716
|
-
if (block.categories.length < 1 || block.categories.length > SLACK_CHART_DATA_POINTS_MAX || !block.categories.every((category) => isStringWithin(category, SLACK_CHART_LABEL_MAX)) || !hasUniqueStrings(block.categories) || block.series.length < 1 || block.series.length > SLACK_CHART_SERIES_MAX || !hasUniqueStrings(block.series.map((series) => series.name)) || block.xLabel !== void 0 && !isStringWithin(block.xLabel, SLACK_CHART_AXIS_LABEL_MAX) || block.yLabel !== void 0 && !isStringWithin(block.yLabel, SLACK_CHART_AXIS_LABEL_MAX)) return false;
|
|
717
|
-
return block.series.every((series) => isStringWithin(series.name, SLACK_CHART_LABEL_MAX) && series.values.length === block.categories.length && series.values.every((value) => Number.isFinite(value)));
|
|
718
|
-
}
|
|
719
|
-
/** Map a validated portable chart to Slack's app-facing Block Kit shape. */
|
|
720
|
-
function buildSlackDataVisualizationBlock(block) {
|
|
721
|
-
if (!canRenderSlackDataVisualization(block)) return;
|
|
722
|
-
if (block.chartType === "pie") return {
|
|
723
|
-
type: "data_visualization",
|
|
724
|
-
title: block.title,
|
|
725
|
-
chart: {
|
|
726
|
-
type: "pie",
|
|
727
|
-
segments: block.segments.map((segment) => ({ ...segment }))
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
|
-
return {
|
|
731
|
-
type: "data_visualization",
|
|
732
|
-
title: block.title,
|
|
733
|
-
chart: {
|
|
734
|
-
type: block.chartType,
|
|
735
|
-
series: block.series.map((series) => ({
|
|
736
|
-
name: series.name,
|
|
737
|
-
data: block.categories.map((label, index) => ({
|
|
738
|
-
label,
|
|
739
|
-
value: series.values[index]
|
|
740
|
-
}))
|
|
741
|
-
})),
|
|
742
|
-
axis_config: {
|
|
743
|
-
categories: [...block.categories],
|
|
744
|
-
...block.xLabel ? { x_label: block.xLabel } : {},
|
|
745
|
-
...block.yLabel ? { y_label: block.yLabel } : {}
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
function readSlackChartDatum(value) {
|
|
751
|
-
const record = asRecord$2(value);
|
|
752
|
-
const label = record?.label;
|
|
753
|
-
const datumValue = record?.value;
|
|
754
|
-
return typeof label === "string" && typeof datumValue === "number" ? {
|
|
755
|
-
label,
|
|
756
|
-
value: datumValue
|
|
757
|
-
} : void 0;
|
|
758
|
-
}
|
|
759
|
-
function parseSlackDataVisualizationBlock(value) {
|
|
760
|
-
const block = asRecord$2(value);
|
|
761
|
-
const title = block?.title;
|
|
762
|
-
const chart = asRecord$2(block?.chart);
|
|
763
|
-
if (block?.type !== "data_visualization" || typeof title !== "string" || !chart) return;
|
|
764
|
-
if (chart.type === "pie") {
|
|
765
|
-
if (!Array.isArray(chart.segments)) return;
|
|
766
|
-
const segments = chart.segments.map(readSlackChartDatum);
|
|
767
|
-
if (segments.some((segment) => !segment)) return;
|
|
768
|
-
const normalizedBlock = normalizeMessagePresentation({ blocks: [{
|
|
769
|
-
type: "chart",
|
|
770
|
-
chartType: "pie",
|
|
771
|
-
title,
|
|
772
|
-
segments
|
|
773
|
-
}] })?.blocks[0];
|
|
774
|
-
return normalizedBlock?.type === "chart" ? normalizedBlock : void 0;
|
|
775
|
-
}
|
|
776
|
-
if (chart.type !== "bar" && chart.type !== "area" && chart.type !== "line") return;
|
|
777
|
-
const axisConfig = asRecord$2(chart.axis_config);
|
|
778
|
-
const categories = axisConfig?.categories;
|
|
779
|
-
if (!Array.isArray(categories) || !categories.every((category) => typeof category === "string")) return;
|
|
780
|
-
if (!Array.isArray(chart.series)) return;
|
|
781
|
-
const series = chart.series.map((rawSeries) => {
|
|
782
|
-
const seriesRecord = asRecord$2(rawSeries);
|
|
783
|
-
if (typeof seriesRecord?.name !== "string" || !Array.isArray(seriesRecord.data)) return;
|
|
784
|
-
const data = seriesRecord.data.map(readSlackChartDatum);
|
|
785
|
-
if (data.some((datum) => !datum) || data.length !== categories.length) return;
|
|
786
|
-
const dataByLabel = new Map(data.map((datum) => [datum.label, datum.value]));
|
|
787
|
-
if (dataByLabel.size !== data.length || categories.some((category) => !dataByLabel.has(category))) return;
|
|
788
|
-
return {
|
|
789
|
-
name: seriesRecord.name,
|
|
790
|
-
values: categories.map((category) => dataByLabel.get(category))
|
|
791
|
-
};
|
|
792
|
-
});
|
|
793
|
-
if (series.some((entry) => !entry)) return;
|
|
794
|
-
const normalizedBlock = normalizeMessagePresentation({ blocks: [{
|
|
795
|
-
type: "chart",
|
|
796
|
-
chartType: chart.type,
|
|
797
|
-
title,
|
|
798
|
-
categories,
|
|
799
|
-
series,
|
|
800
|
-
xLabel: axisConfig?.x_label,
|
|
801
|
-
yLabel: axisConfig?.y_label
|
|
802
|
-
}] })?.blocks[0];
|
|
803
|
-
return normalizedBlock?.type === "chart" ? normalizedBlock : void 0;
|
|
804
|
-
}
|
|
805
|
-
/** Extract a deterministic accessible summary from a native Slack chart block. */
|
|
806
|
-
function renderSlackDataVisualizationFallbackText(value) {
|
|
807
|
-
const block = asRecord$2(value);
|
|
808
|
-
if (block?.type !== "data_visualization") return;
|
|
809
|
-
const parsed = parseSlackDataVisualizationBlock(block);
|
|
810
|
-
if (parsed) return renderMessagePresentationChartFallbackText(parsed);
|
|
811
|
-
return typeof block.title === "string" && block.title.trim() ? block.title.trim() : void 0;
|
|
812
|
-
}
|
|
813
|
-
/** Render a native chart as mrkdwn without activating raw data control tokens. */
|
|
814
|
-
function renderSlackDataVisualizationMrkdwnFallbackText(value) {
|
|
815
|
-
const block = asRecord$2(value);
|
|
816
|
-
if (block?.type !== "data_visualization") return;
|
|
817
|
-
const parsed = parseSlackDataVisualizationBlock(block);
|
|
818
|
-
if (parsed) return renderSlackMessagePresentationChartFallbackText(parsed);
|
|
819
|
-
return typeof block.title === "string" && block.title.trim() ? escapeSlackMrkdwn(block.title.trim()) : void 0;
|
|
820
|
-
}
|
|
821
|
-
//#endregion
|
|
822
|
-
//#region extensions/slack/src/question-actions.ts
|
|
823
|
-
const SLACK_QUESTION_VALUE_PREFIX = "slq1:";
|
|
824
|
-
const QUESTION_RECORD_ID_PATTERN = /^ask_[a-f0-9]{32}$/u;
|
|
825
|
-
function encodeSlackQuestionAction(action) {
|
|
826
|
-
if (!QUESTION_RECORD_ID_PATTERN.test(action.questionId) || !Number.isInteger(action.optionIndex) || action.optionIndex < 0 || action.optionIndex > 3) return;
|
|
827
|
-
const value = `${SLACK_QUESTION_VALUE_PREFIX}${action.questionId}:${action.optionIndex}`;
|
|
828
|
-
return value.length <= 2e3 ? value : void 0;
|
|
829
|
-
}
|
|
830
|
-
function decodeSlackQuestionAction(value) {
|
|
831
|
-
if (typeof value !== "string" || value.length > 2e3) return null;
|
|
832
|
-
const match = /^slq1:(ask_[a-f0-9]{32}):([0-3])$/u.exec(value);
|
|
833
|
-
return match?.[1] && match[2] ? {
|
|
834
|
-
questionId: match[1],
|
|
835
|
-
optionIndex: Number(match[2])
|
|
836
|
-
} : null;
|
|
837
|
-
}
|
|
838
|
-
async function resolveSlackQuestionAction(params) {
|
|
839
|
-
let result;
|
|
840
|
-
try {
|
|
841
|
-
result = await (params.resolveQuestion ?? questionGatewayRuntime.resolveOption)({
|
|
842
|
-
cfg: params.cfg,
|
|
843
|
-
questionId: params.action.questionId,
|
|
844
|
-
optionIndex: params.action.optionIndex,
|
|
845
|
-
senderId: params.userId,
|
|
846
|
-
clientDisplayName: `Slack question (${params.accountId})`
|
|
847
|
-
});
|
|
848
|
-
} catch {
|
|
849
|
-
await params.respond("Could not submit this answer.").catch(() => {});
|
|
850
|
-
return;
|
|
851
|
-
}
|
|
852
|
-
await params.respond(result.status === "answered" ? "Answer submitted." : "This question was already answered.").catch(() => {});
|
|
853
|
-
}
|
|
854
|
-
//#endregion
|
|
855
|
-
//#region extensions/slack/src/reply-action-ids.ts
|
|
856
|
-
const SLACK_REPLY_BUTTON_ACTION_ID = "openclaw:reply_button";
|
|
857
|
-
const SLACK_REPLY_LINK_ACTION_ID = "openclaw:reply_link";
|
|
858
|
-
const SLACK_REPLY_SELECT_ACTION_ID = "openclaw:reply_select";
|
|
859
|
-
const SLACK_CALLBACK_BUTTON_ACTION_ID = "openclaw:callback_button";
|
|
860
|
-
const SLACK_CALLBACK_SELECT_ACTION_ID = "openclaw:callback_select";
|
|
861
|
-
const SLACK_APPROVAL_BUTTON_ACTION_ID = "openclaw:approval_button";
|
|
862
|
-
const SLACK_APPROVAL_SELECT_ACTION_ID = "openclaw:approval_select";
|
|
863
|
-
const SLACK_QUESTION_BUTTON_ACTION_ID = "openclaw:question_button";
|
|
864
|
-
function isSlackQuestionActionId(actionId) {
|
|
865
|
-
return actionId === "openclaw:question_button" || actionId.startsWith(`openclaw:question_button:`);
|
|
866
|
-
}
|
|
867
|
-
function isSlackApprovalActionId(actionId) {
|
|
868
|
-
return actionId === "openclaw:approval_button" || actionId === "openclaw:approval_select" || actionId.startsWith(`openclaw:approval_button:`) || actionId.startsWith(`openclaw:approval_select:`);
|
|
869
|
-
}
|
|
870
|
-
function isSlackCallbackActionId(actionId) {
|
|
871
|
-
return actionId === "openclaw:callback_button" || actionId === "openclaw:callback_select" || actionId.startsWith(`openclaw:callback_button:`) || actionId.startsWith(`openclaw:callback_select:`);
|
|
872
|
-
}
|
|
873
|
-
//#endregion
|
|
874
|
-
//#region extensions/slack/src/truncate.ts
|
|
875
|
-
function truncateSlackText(value, max) {
|
|
876
|
-
const trimmed = value.trim();
|
|
877
|
-
if (trimmed.length <= max) return trimmed;
|
|
878
|
-
if (max <= 1) return sliceUtf16Safe(trimmed, 0, max);
|
|
879
|
-
return `${sliceUtf16Safe(trimmed, 0, max - 1)}…`;
|
|
880
|
-
}
|
|
881
|
-
//#endregion
|
|
882
|
-
//#region extensions/slack/src/blocks-render.ts
|
|
883
|
-
const SLACK_BUTTON_URL_MAX = 3e3;
|
|
884
|
-
function buildSlackReplyButtonActionId(buttonIndex, choiceIndex) {
|
|
885
|
-
return `${SLACK_REPLY_BUTTON_ACTION_ID}:${String(buttonIndex)}:${String(choiceIndex + 1)}`;
|
|
886
|
-
}
|
|
887
|
-
function buildSlackReplyLinkActionId(buttonIndex, choiceIndex) {
|
|
888
|
-
return `${SLACK_REPLY_LINK_ACTION_ID}:${String(buttonIndex)}:${String(choiceIndex + 1)}`;
|
|
889
|
-
}
|
|
890
|
-
function buildSlackReplySelectActionId(selectIndex) {
|
|
891
|
-
return `${SLACK_REPLY_SELECT_ACTION_ID}:${String(selectIndex)}`;
|
|
892
|
-
}
|
|
893
|
-
function buildSlackApprovalButtonActionId(buttonIndex, choiceIndex) {
|
|
894
|
-
return `${SLACK_APPROVAL_BUTTON_ACTION_ID}:${String(buttonIndex)}:${String(choiceIndex + 1)}`;
|
|
895
|
-
}
|
|
896
|
-
function buildSlackApprovalSelectActionId(selectIndex) {
|
|
897
|
-
return `${SLACK_APPROVAL_SELECT_ACTION_ID}:${String(selectIndex)}`;
|
|
898
|
-
}
|
|
899
|
-
function buildSlackCallbackButtonActionId(buttonIndex, choiceIndex) {
|
|
900
|
-
return `${SLACK_CALLBACK_BUTTON_ACTION_ID}:${String(buttonIndex)}:${String(choiceIndex + 1)}`;
|
|
901
|
-
}
|
|
902
|
-
function buildSlackCallbackSelectActionId(selectIndex) {
|
|
903
|
-
return `${SLACK_CALLBACK_SELECT_ACTION_ID}:${String(selectIndex)}`;
|
|
904
|
-
}
|
|
905
|
-
function buildSlackQuestionButtonActionId(buttonIndex, choiceIndex) {
|
|
906
|
-
return `${SLACK_QUESTION_BUTTON_ACTION_ID}:${String(buttonIndex)}:${String(choiceIndex + 1)}`;
|
|
907
|
-
}
|
|
908
|
-
function resolveSlackButtonStyle(style) {
|
|
909
|
-
if (style === "primary" || style === "danger") return style;
|
|
910
|
-
if (style === "success") return "primary";
|
|
911
|
-
}
|
|
912
|
-
function resolveSlackActionTarget(action, optionIndex) {
|
|
913
|
-
if (!action) return;
|
|
914
|
-
if (action.type === "approval") return {
|
|
915
|
-
kind: "approval",
|
|
916
|
-
value: encodeSlackApprovalAction(action)
|
|
917
|
-
};
|
|
918
|
-
if (action.type === "question") {
|
|
919
|
-
const value = optionIndex === void 0 ? void 0 : encodeSlackQuestionAction({
|
|
920
|
-
questionId: action.questionId,
|
|
921
|
-
optionIndex
|
|
922
|
-
});
|
|
923
|
-
return value ? {
|
|
924
|
-
kind: "question",
|
|
925
|
-
value
|
|
926
|
-
} : void 0;
|
|
927
|
-
}
|
|
928
|
-
if (action.type === "url" || action.type === "web-app") {
|
|
929
|
-
const url = normalizeOptionalString(action.url);
|
|
930
|
-
return url ? {
|
|
931
|
-
kind: "link",
|
|
932
|
-
url
|
|
933
|
-
} : void 0;
|
|
934
|
-
}
|
|
935
|
-
if (action.type === "callback") {
|
|
936
|
-
const value = normalizeOptionalString(action.value);
|
|
937
|
-
return value ? {
|
|
938
|
-
kind: "callback",
|
|
939
|
-
value
|
|
940
|
-
} : void 0;
|
|
941
|
-
}
|
|
942
|
-
const command = normalizeOptionalString(action.command);
|
|
943
|
-
return command && parseExecApprovalCommandText(command) ? {
|
|
944
|
-
kind: "reply",
|
|
945
|
-
value: command
|
|
946
|
-
} : void 0;
|
|
947
|
-
}
|
|
948
|
-
function resolveSlackButtonTarget(button, optionIndex) {
|
|
949
|
-
if (button.action !== void 0) {
|
|
950
|
-
const action = resolveMessagePresentationButtonAction(button);
|
|
951
|
-
return action ? resolveSlackActionTarget(action, optionIndex) : void 0;
|
|
952
|
-
}
|
|
953
|
-
const legacyUrl = normalizeOptionalString(button.url ?? button.webApp?.url ?? button.web_app?.url);
|
|
954
|
-
if (legacyUrl && isWithinSlackLimit(legacyUrl, SLACK_BUTTON_URL_MAX)) return {
|
|
955
|
-
kind: "link",
|
|
956
|
-
url: legacyUrl
|
|
957
|
-
};
|
|
958
|
-
const legacyValue = normalizeOptionalString(button.value);
|
|
959
|
-
if (legacyValue) return {
|
|
960
|
-
kind: "reply",
|
|
961
|
-
value: legacyValue
|
|
962
|
-
};
|
|
963
|
-
return legacyUrl ? {
|
|
964
|
-
kind: "link",
|
|
965
|
-
url: legacyUrl
|
|
966
|
-
} : void 0;
|
|
967
|
-
}
|
|
968
|
-
function resolveSlackOptionTarget(option) {
|
|
969
|
-
if (option.action !== void 0) {
|
|
970
|
-
const action = resolveMessagePresentationOptionAction(option);
|
|
971
|
-
const target = action ? resolveSlackActionTarget(action) : void 0;
|
|
972
|
-
return target?.kind === "link" || target?.kind === "question" ? void 0 : target;
|
|
973
|
-
}
|
|
974
|
-
const value = normalizeOptionalString(option.value);
|
|
975
|
-
return value ? {
|
|
976
|
-
kind: "reply",
|
|
977
|
-
value
|
|
978
|
-
} : void 0;
|
|
979
|
-
}
|
|
980
|
-
function isWithinSlackLimit(value, maxLength) {
|
|
981
|
-
return value.length <= maxLength;
|
|
982
|
-
}
|
|
983
|
-
function isRenderableSlackOption(option) {
|
|
984
|
-
return isWithinSlackLimit(option.value, 150);
|
|
985
|
-
}
|
|
986
|
-
function readSlackBlockId(block) {
|
|
987
|
-
const value = block.block_id;
|
|
988
|
-
return typeof value === "string" ? value : void 0;
|
|
989
|
-
}
|
|
990
|
-
function readSlackOpenClawBlockIndex(blockId, prefix) {
|
|
991
|
-
if (!blockId.startsWith(prefix)) return;
|
|
992
|
-
const value = Number.parseInt(blockId.slice(prefix.length), 10);
|
|
993
|
-
return Number.isSafeInteger(value) && value > 0 ? value : void 0;
|
|
994
|
-
}
|
|
995
|
-
/** Resolve existing Block Kit indexes and native-data budgets before appending portable blocks. */
|
|
996
|
-
function resolveSlackBlockOffsets(blocks) {
|
|
997
|
-
let buttonIndexOffset = 0;
|
|
998
|
-
const dataTableCellCharacterCountOffset = countSlackDataTableBlocksCellCharacters(blocks) ?? 10001;
|
|
999
|
-
let dataVisualizationCountOffset = 0;
|
|
1000
|
-
let selectIndexOffset = 0;
|
|
1001
|
-
for (const block of blocks ?? []) {
|
|
1002
|
-
if (hasSlackDataVisualizationBlock([block])) dataVisualizationCountOffset += 1;
|
|
1003
|
-
const blockId = readSlackBlockId(block);
|
|
1004
|
-
if (!blockId) continue;
|
|
1005
|
-
buttonIndexOffset = Math.max(buttonIndexOffset, readSlackOpenClawBlockIndex(blockId, "openclaw_reply_buttons_") ?? 0);
|
|
1006
|
-
selectIndexOffset = Math.max(selectIndexOffset, readSlackOpenClawBlockIndex(blockId, "openclaw_reply_select_") ?? 0);
|
|
1007
|
-
}
|
|
1008
|
-
return {
|
|
1009
|
-
buttonIndexOffset,
|
|
1010
|
-
dataTableCellCharacterCountOffset,
|
|
1011
|
-
dataVisualizationCountOffset,
|
|
1012
|
-
selectIndexOffset
|
|
1013
|
-
};
|
|
1014
|
-
}
|
|
1015
|
-
/**
|
|
1016
|
-
* @deprecated Use buildSlackPresentationBlocks with MessagePresentation.
|
|
1017
|
-
*/
|
|
1018
|
-
function buildSlackInteractiveBlocks(interactive, options = {}) {
|
|
1019
|
-
return reduceLegacyInteractiveReply(interactive, {
|
|
1020
|
-
blocks: [],
|
|
1021
|
-
buttonIndex: options.buttonIndexOffset ?? 0,
|
|
1022
|
-
selectIndex: options.selectIndexOffset ?? 0
|
|
1023
|
-
}, (state, block) => {
|
|
1024
|
-
if (block.type === "text") {
|
|
1025
|
-
const trimmed = block.text.trim();
|
|
1026
|
-
if (!trimmed) return state;
|
|
1027
|
-
state.blocks.push({
|
|
1028
|
-
type: "section",
|
|
1029
|
-
text: {
|
|
1030
|
-
type: "mrkdwn",
|
|
1031
|
-
text: truncateSlackText(trimmed, SLACK_SECTION_TEXT_MAX)
|
|
1032
|
-
}
|
|
1033
|
-
});
|
|
1034
|
-
return state;
|
|
1035
|
-
}
|
|
1036
|
-
if (block.type === "buttons") {
|
|
1037
|
-
const elements = block.buttons.flatMap((button, choiceIndex) => {
|
|
1038
|
-
const target = resolveSlackButtonTarget(button, choiceIndex);
|
|
1039
|
-
if (!target || (target.kind === "link" ? !isWithinSlackLimit(target.url, SLACK_BUTTON_URL_MAX) : !isWithinSlackLimit(target.value, 2e3))) return [];
|
|
1040
|
-
const style = resolveSlackButtonStyle(button.style);
|
|
1041
|
-
return [{
|
|
1042
|
-
type: "button",
|
|
1043
|
-
action_id: target.kind === "link" ? buildSlackReplyLinkActionId(state.buttonIndex + 1, choiceIndex) : target.kind === "approval" ? buildSlackApprovalButtonActionId(state.buttonIndex + 1, choiceIndex) : target.kind === "callback" ? buildSlackCallbackButtonActionId(state.buttonIndex + 1, choiceIndex) : target.kind === "question" ? buildSlackQuestionButtonActionId(state.buttonIndex + 1, choiceIndex) : buildSlackReplyButtonActionId(state.buttonIndex + 1, choiceIndex),
|
|
1044
|
-
text: {
|
|
1045
|
-
type: "plain_text",
|
|
1046
|
-
text: truncateSlackText(button.label, 75),
|
|
1047
|
-
emoji: true
|
|
1048
|
-
},
|
|
1049
|
-
...target.kind === "link" ? { url: target.url } : { value: target.value },
|
|
1050
|
-
...style ? { style } : {}
|
|
1051
|
-
}];
|
|
1052
|
-
}).slice(0, 25);
|
|
1053
|
-
if (elements.length === 0) return state;
|
|
1054
|
-
state.blocks.push({
|
|
1055
|
-
type: "actions",
|
|
1056
|
-
block_id: `openclaw_reply_buttons_${++state.buttonIndex}`,
|
|
1057
|
-
elements
|
|
1058
|
-
});
|
|
1059
|
-
return state;
|
|
1060
|
-
}
|
|
1061
|
-
const optionsLocal = block.options.flatMap((option) => {
|
|
1062
|
-
const target = resolveSlackOptionTarget(option);
|
|
1063
|
-
return target ? [{
|
|
1064
|
-
label: option.label,
|
|
1065
|
-
...target
|
|
1066
|
-
}] : [];
|
|
1067
|
-
}).filter(isRenderableSlackOption).slice(0, 100);
|
|
1068
|
-
const optionKinds = new Set(optionsLocal.map((option) => option.kind));
|
|
1069
|
-
if (optionsLocal.length === 0 || optionKinds.size !== 1) return state;
|
|
1070
|
-
state.blocks.push({
|
|
1071
|
-
type: "actions",
|
|
1072
|
-
block_id: `openclaw_reply_select_${++state.selectIndex}`,
|
|
1073
|
-
elements: [{
|
|
1074
|
-
type: "static_select",
|
|
1075
|
-
action_id: optionsLocal[0]?.kind === "approval" ? buildSlackApprovalSelectActionId(state.selectIndex) : optionsLocal[0]?.kind === "callback" ? buildSlackCallbackSelectActionId(state.selectIndex) : buildSlackReplySelectActionId(state.selectIndex),
|
|
1076
|
-
placeholder: {
|
|
1077
|
-
type: "plain_text",
|
|
1078
|
-
text: truncateSlackText(normalizeOptionalString(block.placeholder) ?? "Choose an option", 75),
|
|
1079
|
-
emoji: true
|
|
1080
|
-
},
|
|
1081
|
-
options: optionsLocal.map((option, _choiceIndex) => ({
|
|
1082
|
-
text: {
|
|
1083
|
-
type: "plain_text",
|
|
1084
|
-
text: truncateSlackText(option.label, 75),
|
|
1085
|
-
emoji: true
|
|
1086
|
-
},
|
|
1087
|
-
value: option.value
|
|
1088
|
-
}))
|
|
1089
|
-
}]
|
|
1090
|
-
});
|
|
1091
|
-
return state;
|
|
1092
|
-
}).blocks;
|
|
1093
|
-
}
|
|
1094
|
-
/** Render portable presentation blocks as Slack Block Kit blocks. */
|
|
1095
|
-
function buildSlackPresentationBlocks(presentation, options = {}) {
|
|
1096
|
-
if (!presentation) return [];
|
|
1097
|
-
const renderTablesNatively = canRenderSlackPresentationTables(presentation, options);
|
|
1098
|
-
const blocks = [];
|
|
1099
|
-
if (presentation.title) blocks.push({
|
|
1100
|
-
type: "header",
|
|
1101
|
-
text: {
|
|
1102
|
-
type: "plain_text",
|
|
1103
|
-
text: truncateSlackText(presentation.title, 150),
|
|
1104
|
-
emoji: true
|
|
1105
|
-
}
|
|
1106
|
-
});
|
|
1107
|
-
let buttonIndex = options.buttonIndexOffset ?? 0;
|
|
1108
|
-
let dataTableCellCharacterCount = options.dataTableCellCharacterCountOffset ?? 0;
|
|
1109
|
-
let dataVisualizationCount = options.dataVisualizationCountOffset ?? 0;
|
|
1110
|
-
let selectIndex = options.selectIndexOffset ?? 0;
|
|
1111
|
-
for (const block of presentation.blocks) {
|
|
1112
|
-
if (block.type === "text" || block.type === "context") {
|
|
1113
|
-
const text = block.text.trim();
|
|
1114
|
-
if (!text) continue;
|
|
1115
|
-
if (block.type === "context") blocks.push({
|
|
1116
|
-
type: "context",
|
|
1117
|
-
elements: [{
|
|
1118
|
-
type: "mrkdwn",
|
|
1119
|
-
text: truncateSlackText(text, SLACK_SECTION_TEXT_MAX),
|
|
1120
|
-
verbatim: true
|
|
1121
|
-
}]
|
|
1122
|
-
});
|
|
1123
|
-
else blocks.push({
|
|
1124
|
-
type: "section",
|
|
1125
|
-
text: {
|
|
1126
|
-
type: "mrkdwn",
|
|
1127
|
-
text: truncateSlackText(text, SLACK_SECTION_TEXT_MAX)
|
|
1128
|
-
}
|
|
1129
|
-
});
|
|
1130
|
-
continue;
|
|
1131
|
-
}
|
|
1132
|
-
if (block.type === "divider") {
|
|
1133
|
-
blocks.push({ type: "divider" });
|
|
1134
|
-
continue;
|
|
1135
|
-
}
|
|
1136
|
-
if (block.type === "buttons") {
|
|
1137
|
-
const rendered = buildSlackPresentationButtonBlock(block, buttonIndex + 1);
|
|
1138
|
-
if (rendered) {
|
|
1139
|
-
buttonIndex += 1;
|
|
1140
|
-
blocks.push(rendered);
|
|
1141
|
-
}
|
|
1142
|
-
continue;
|
|
1143
|
-
}
|
|
1144
|
-
if (block.type === "chart") {
|
|
1145
|
-
const rendered = dataVisualizationCount < 2 ? buildSlackPresentationChartBlock(block) : void 0;
|
|
1146
|
-
if (rendered) {
|
|
1147
|
-
dataVisualizationCount += 1;
|
|
1148
|
-
blocks.push(rendered);
|
|
1149
|
-
} else {
|
|
1150
|
-
const fallback = renderSlackMessagePresentationChartFallbackText(block);
|
|
1151
|
-
blocks.push(...chunkTextForOutbound(fallback, SLACK_SECTION_TEXT_MAX).map((text) => ({
|
|
1152
|
-
type: "context",
|
|
1153
|
-
elements: [{
|
|
1154
|
-
type: "mrkdwn",
|
|
1155
|
-
text,
|
|
1156
|
-
verbatim: true
|
|
1157
|
-
}]
|
|
1158
|
-
})));
|
|
1159
|
-
}
|
|
1160
|
-
continue;
|
|
1161
|
-
}
|
|
1162
|
-
if (block.type === "table") {
|
|
1163
|
-
if (!renderTablesNatively) continue;
|
|
1164
|
-
const rendered = buildSlackDataTableBlock(block, { cellCharacterCountOffset: dataTableCellCharacterCount });
|
|
1165
|
-
if (rendered) {
|
|
1166
|
-
dataTableCellCharacterCount += countSlackDataTableCellCharacters(rendered);
|
|
1167
|
-
blocks.push(rendered);
|
|
1168
|
-
}
|
|
1169
|
-
continue;
|
|
1170
|
-
}
|
|
1171
|
-
if (block.type === "select") {
|
|
1172
|
-
const rendered = buildSlackPresentationSelectBlock(block, selectIndex + 1);
|
|
1173
|
-
if (rendered) {
|
|
1174
|
-
selectIndex += 1;
|
|
1175
|
-
blocks.push(rendered);
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
return blocks;
|
|
1180
|
-
}
|
|
1181
|
-
function buildSlackPresentationChartBlock(block) {
|
|
1182
|
-
return buildSlackDataVisualizationBlock(block);
|
|
1183
|
-
}
|
|
1184
|
-
function buildSlackPresentationButtonBlock(block, buttonIndex) {
|
|
1185
|
-
const elements = block.buttons.flatMap((button, choiceIndex) => {
|
|
1186
|
-
const target = resolveSlackButtonTarget(button, choiceIndex);
|
|
1187
|
-
if (!target || (target.kind === "link" ? !isWithinSlackLimit(target.url, SLACK_BUTTON_URL_MAX) : !isWithinSlackLimit(target.value, 2e3))) return [];
|
|
1188
|
-
const style = resolveSlackButtonStyle(button.style);
|
|
1189
|
-
return [{
|
|
1190
|
-
type: "button",
|
|
1191
|
-
action_id: target.kind === "link" ? buildSlackReplyLinkActionId(buttonIndex, choiceIndex) : target.kind === "approval" ? buildSlackApprovalButtonActionId(buttonIndex, choiceIndex) : target.kind === "callback" ? buildSlackCallbackButtonActionId(buttonIndex, choiceIndex) : target.kind === "question" ? buildSlackQuestionButtonActionId(buttonIndex, choiceIndex) : buildSlackReplyButtonActionId(buttonIndex, choiceIndex),
|
|
1192
|
-
text: {
|
|
1193
|
-
type: "plain_text",
|
|
1194
|
-
text: truncateSlackText(button.label, 75),
|
|
1195
|
-
emoji: true
|
|
1196
|
-
},
|
|
1197
|
-
...target.kind === "link" ? { url: target.url } : { value: target.value },
|
|
1198
|
-
...style ? { style } : {}
|
|
1199
|
-
}];
|
|
1200
|
-
}).slice(0, 25);
|
|
1201
|
-
return elements.length > 0 ? {
|
|
1202
|
-
type: "actions",
|
|
1203
|
-
block_id: `openclaw_reply_buttons_${buttonIndex}`,
|
|
1204
|
-
elements
|
|
1205
|
-
} : void 0;
|
|
1206
|
-
}
|
|
1207
|
-
/** True when every portable table fits Slack's native per-message table budget. */
|
|
1208
|
-
function canRenderSlackPresentationTables(presentation, options = {}) {
|
|
1209
|
-
let cellCharacterCount = options.dataTableCellCharacterCountOffset ?? 0;
|
|
1210
|
-
for (const block of presentation.blocks) {
|
|
1211
|
-
if (block.type !== "table") continue;
|
|
1212
|
-
const rendered = buildSlackDataTableBlock(block, { cellCharacterCountOffset: cellCharacterCount });
|
|
1213
|
-
if (!rendered) return false;
|
|
1214
|
-
cellCharacterCount += countSlackDataTableCellCharacters(rendered);
|
|
1215
|
-
}
|
|
1216
|
-
return true;
|
|
1217
|
-
}
|
|
1218
|
-
/** True when native Slack rendering preserves every portable control. */
|
|
1219
|
-
function canRenderSlackPresentation(presentation, options = {}) {
|
|
1220
|
-
if (presentation.title && !isWithinSlackLimit(presentation.title.trim(), 150)) return false;
|
|
1221
|
-
if (!canRenderSlackPresentationTables(presentation, options)) return false;
|
|
1222
|
-
let dataVisualizationCount = options.dataVisualizationCountOffset ?? 0;
|
|
1223
|
-
for (const block of presentation.blocks) {
|
|
1224
|
-
if (block.type === "text" || block.type === "context") {
|
|
1225
|
-
if (!isWithinSlackLimit(block.text.trim(), 3e3)) return false;
|
|
1226
|
-
continue;
|
|
1227
|
-
}
|
|
1228
|
-
if (block.type === "buttons") {
|
|
1229
|
-
if (!(block.buttons.length <= 25 && block.buttons.every((button, choiceIndex) => {
|
|
1230
|
-
if (!isWithinSlackLimit(button.label, 75)) return false;
|
|
1231
|
-
const target = resolveSlackButtonTarget(button, choiceIndex);
|
|
1232
|
-
return target ? target.kind === "link" ? isWithinSlackLimit(target.url, SLACK_BUTTON_URL_MAX) : isWithinSlackLimit(target.value, 2e3) : false;
|
|
1233
|
-
}))) return false;
|
|
1234
|
-
continue;
|
|
1235
|
-
}
|
|
1236
|
-
if (block.type === "select") {
|
|
1237
|
-
if (!(isWithinSlackLimit(normalizeOptionalString(block.placeholder) ?? "Choose an option", 75) && block.options.length <= 100 && (!block.placeholder || isWithinSlackLimit(block.placeholder, 75)) && block.options.every((option) => {
|
|
1238
|
-
if (!isWithinSlackLimit(option.label, 75)) return false;
|
|
1239
|
-
const target = resolveSlackOptionTarget(option);
|
|
1240
|
-
return target ? isRenderableSlackOption({
|
|
1241
|
-
label: option.label,
|
|
1242
|
-
...target
|
|
1243
|
-
}) : false;
|
|
1244
|
-
}) && new Set(block.options.map((option) => resolveSlackOptionTarget(option)?.kind)).size === 1)) return false;
|
|
1245
|
-
continue;
|
|
1246
|
-
}
|
|
1247
|
-
if (block.type === "chart") {
|
|
1248
|
-
if (dataVisualizationCount >= 2 || !canRenderSlackDataVisualization(block)) return false;
|
|
1249
|
-
dataVisualizationCount += 1;
|
|
1250
|
-
continue;
|
|
1251
|
-
}
|
|
1252
|
-
if (block.type === "table") continue;
|
|
1253
|
-
}
|
|
1254
|
-
return true;
|
|
1255
|
-
}
|
|
1256
|
-
function buildSlackPresentationSelectBlock(block, selectIndex) {
|
|
1257
|
-
const options = block.options.flatMap((option) => {
|
|
1258
|
-
const target = resolveSlackOptionTarget(option);
|
|
1259
|
-
return target ? [{
|
|
1260
|
-
label: option.label,
|
|
1261
|
-
...target
|
|
1262
|
-
}] : [];
|
|
1263
|
-
}).filter(isRenderableSlackOption).slice(0, 100);
|
|
1264
|
-
const optionKinds = new Set(options.map((option) => option.kind));
|
|
1265
|
-
return options.length > 0 && optionKinds.size === 1 ? {
|
|
1266
|
-
type: "actions",
|
|
1267
|
-
block_id: `openclaw_reply_select_${selectIndex}`,
|
|
1268
|
-
elements: [{
|
|
1269
|
-
type: "static_select",
|
|
1270
|
-
action_id: options[0]?.kind === "approval" ? buildSlackApprovalSelectActionId(selectIndex) : options[0]?.kind === "callback" ? buildSlackCallbackSelectActionId(selectIndex) : buildSlackReplySelectActionId(selectIndex),
|
|
1271
|
-
placeholder: {
|
|
1272
|
-
type: "plain_text",
|
|
1273
|
-
text: truncateSlackText(normalizeOptionalString(block.placeholder) ?? "Choose an option", 75),
|
|
1274
|
-
emoji: true
|
|
1275
|
-
},
|
|
1276
|
-
options: options.map((option) => ({
|
|
1277
|
-
text: {
|
|
1278
|
-
type: "plain_text",
|
|
1279
|
-
text: truncateSlackText(option.label, 75),
|
|
1280
|
-
emoji: true
|
|
1281
|
-
},
|
|
1282
|
-
value: option.value
|
|
1283
|
-
}))
|
|
1284
|
-
}]
|
|
1285
|
-
} : void 0;
|
|
1286
|
-
}
|
|
1287
|
-
//#endregion
|
|
1288
|
-
//#region extensions/slack/src/limits.ts
|
|
1289
|
-
const SLACK_TEXT_LIMIT = 8e3;
|
|
1290
|
-
const SLACK_EDIT_TEXT_LIMIT = 4e3;
|
|
1291
|
-
const SLACK_MESSAGE_TEXT_HARD_LIMIT = 4e4;
|
|
1292
|
-
//#endregion
|
|
1293
|
-
//#region extensions/slack/src/authored-text.ts
|
|
1294
|
-
function normalizeComparableSlackText(text) {
|
|
1295
|
-
return text.trim().replace(/\s+/g, " ");
|
|
1296
|
-
}
|
|
1297
|
-
function isSlackAuthoredTextRepresentedInInteractive(text, interactive) {
|
|
1298
|
-
return isSlackAuthoredTextRepresentedInFragments(text, interactive?.blocks.flatMap((block) => block.type === "text" ? [block.text] : []) ?? []);
|
|
1299
|
-
}
|
|
1300
|
-
function isSlackAuthoredTextRepresentedInFragments(text, rawFragments) {
|
|
1301
|
-
const target = normalizeComparableSlackText(text);
|
|
1302
|
-
const fragments = rawFragments.map(normalizeComparableSlackText).filter(Boolean);
|
|
1303
|
-
for (let start = 0; start < fragments.length; start += 1) {
|
|
1304
|
-
let combined = "";
|
|
1305
|
-
for (let end = start; end < fragments.length; end += 1) {
|
|
1306
|
-
combined = normalizeComparableSlackText(`${combined} ${fragments[end]}`);
|
|
1307
|
-
if (combined === target) return true;
|
|
1308
|
-
if (combined.length > target.length) break;
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
return false;
|
|
1312
|
-
}
|
|
1313
|
-
/** Resolve placement from producer facts, before accessibility text changes the payload text. */
|
|
1314
|
-
function resolveSlackAuthoredTextPlacement(params) {
|
|
1315
|
-
const text = normalizeOptionalString(params.text);
|
|
1316
|
-
if (!text) return "none";
|
|
1317
|
-
return params.renderedInBlocks || isSlackAuthoredTextRepresentedInFragments(text, params.renderedTextFragments ?? []) || isSlackAuthoredTextRepresentedInInteractive(text, params.interactive) ? "blocks" : "outside-blocks";
|
|
1318
|
-
}
|
|
1319
|
-
//#endregion
|
|
1320
|
-
//#region extensions/slack/src/blocks-fallback.ts
|
|
1321
|
-
const SLACK_SELECT_ELEMENT_TYPES = /* @__PURE__ */ new Set([
|
|
1322
|
-
"static_select",
|
|
1323
|
-
"multi_static_select",
|
|
1324
|
-
"external_select",
|
|
1325
|
-
"multi_external_select",
|
|
1326
|
-
"users_select",
|
|
1327
|
-
"multi_users_select",
|
|
1328
|
-
"conversations_select",
|
|
1329
|
-
"multi_conversations_select",
|
|
1330
|
-
"channels_select",
|
|
1331
|
-
"multi_channels_select"
|
|
1332
|
-
]);
|
|
1333
|
-
function asRecord$1(value) {
|
|
1334
|
-
return value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
1335
|
-
}
|
|
1336
|
-
function readNonEmptyString(value) {
|
|
1337
|
-
if (typeof value !== "string") return;
|
|
1338
|
-
const trimmed = value.trim();
|
|
1339
|
-
return trimmed.length > 0 ? trimmed : void 0;
|
|
1340
|
-
}
|
|
1341
|
-
function readTextObject(value, options = {}) {
|
|
1342
|
-
const record = asRecord$1(value);
|
|
1343
|
-
if (!record) return;
|
|
1344
|
-
const text = readNonEmptyString(record?.text);
|
|
1345
|
-
if (!text) return;
|
|
1346
|
-
return record.type === "plain_text" && options.nativeDataFormat !== "plain" ? escapeSlackMrkdwn(text) : text;
|
|
1347
|
-
}
|
|
1348
|
-
function readTextValue(value, options = {}) {
|
|
1349
|
-
return readNonEmptyString(value) ?? readTextObject(value, options);
|
|
1350
|
-
}
|
|
1351
|
-
function renderSlackRichTextLeaf(element) {
|
|
1352
|
-
switch (element.type) {
|
|
1353
|
-
case "text": return typeof element.text === "string" ? escapeSlackMrkdwn(element.text) : "";
|
|
1354
|
-
case "link": return escapeSlackMrkdwn(readNonEmptyString(element.text) ?? readNonEmptyString(element.url) ?? "");
|
|
1355
|
-
case "user": {
|
|
1356
|
-
const userId = readNonEmptyString(element.user_id);
|
|
1357
|
-
return userId ? escapeSlackMrkdwn(`<@${userId}>`) : "";
|
|
1358
|
-
}
|
|
1359
|
-
case "channel": {
|
|
1360
|
-
const channelId = readNonEmptyString(element.channel_id);
|
|
1361
|
-
return channelId ? escapeSlackMrkdwn(`<#${channelId}>`) : "";
|
|
1362
|
-
}
|
|
1363
|
-
case "usergroup": {
|
|
1364
|
-
const usergroupId = readNonEmptyString(element.usergroup_id);
|
|
1365
|
-
return usergroupId ? escapeSlackMrkdwn(`<!subteam^${usergroupId}>`) : "";
|
|
1366
|
-
}
|
|
1367
|
-
case "broadcast": {
|
|
1368
|
-
const range = readNonEmptyString(element.range);
|
|
1369
|
-
return range ? escapeSlackMrkdwn(`<!${range}>`) : "";
|
|
1370
|
-
}
|
|
1371
|
-
case "emoji": {
|
|
1372
|
-
const name = readNonEmptyString(element.name);
|
|
1373
|
-
return name ? `:${name}:` : "";
|
|
1374
|
-
}
|
|
1375
|
-
case "date": return escapeSlackMrkdwn(readNonEmptyString(element.fallback) ?? "");
|
|
1376
|
-
default: return "";
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
function renderSlackRichTextElement(value) {
|
|
1380
|
-
const element = asRecord$1(value);
|
|
1381
|
-
if (!element) return "";
|
|
1382
|
-
switch (element.type) {
|
|
1383
|
-
case "rich_text_section":
|
|
1384
|
-
case "rich_text_preformatted":
|
|
1385
|
-
case "rich_text_quote": return renderSlackRichTextElements(element.elements, "");
|
|
1386
|
-
case "rich_text_list": return renderSlackRichTextElements(element.elements, "\n");
|
|
1387
|
-
default: return renderSlackRichTextLeaf(element);
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
function renderSlackRichTextElements(value, separator) {
|
|
1391
|
-
if (!Array.isArray(value)) return "";
|
|
1392
|
-
return value.map(renderSlackRichTextElement).filter(Boolean).join(separator);
|
|
1393
|
-
}
|
|
1394
|
-
function readImageText(block) {
|
|
1395
|
-
const altText = readNonEmptyString(block.alt_text);
|
|
1396
|
-
return (altText ? escapeSlackMrkdwn(altText) : void 0) ?? readTextObject(block.title);
|
|
1397
|
-
}
|
|
1398
|
-
function readVideoText(block, options = {}) {
|
|
1399
|
-
const altText = readNonEmptyString(block.alt_text);
|
|
1400
|
-
return readTextObject(block.title, options) ?? (altText ? escapeSlackMrkdwn(altText) : void 0);
|
|
1401
|
-
}
|
|
1402
|
-
function readContextText(block, options = {}) {
|
|
1403
|
-
if (!Array.isArray(block.elements)) return;
|
|
1404
|
-
const parts = block.elements.map((element) => {
|
|
1405
|
-
const record = asRecord$1(element);
|
|
1406
|
-
const altText = readNonEmptyString(record?.alt_text);
|
|
1407
|
-
return readTextObject(record, options) ?? (altText ? escapeSlackMrkdwn(altText) : void 0);
|
|
1408
|
-
}).filter((part) => Boolean(part));
|
|
1409
|
-
return parts.length > 0 ? parts.join(" ") : void 0;
|
|
1410
|
-
}
|
|
1411
|
-
function readControlElementText(value, options = {}) {
|
|
1412
|
-
const element = asRecord$1(value);
|
|
1413
|
-
const type = readNonEmptyString(element?.type);
|
|
1414
|
-
if (type === "button" || type === "workflow_button") return readTextValue(element?.text, options);
|
|
1415
|
-
if (type && SLACK_SELECT_ELEMENT_TYPES.has(type)) return readTextObject(element?.placeholder, options);
|
|
1416
|
-
}
|
|
1417
|
-
function readControlElementsText(values, options = {}) {
|
|
1418
|
-
const seen = /* @__PURE__ */ new Set();
|
|
1419
|
-
const labels = [];
|
|
1420
|
-
for (const value of values) {
|
|
1421
|
-
const candidate = readControlElementText(value, options);
|
|
1422
|
-
if (!candidate || seen.has(candidate)) continue;
|
|
1423
|
-
seen.add(candidate);
|
|
1424
|
-
labels.push(candidate);
|
|
1425
|
-
}
|
|
1426
|
-
return labels.length > 0 ? labels.join("\n") : void 0;
|
|
1427
|
-
}
|
|
1428
|
-
function readSectionText(block, options = {}) {
|
|
1429
|
-
const parts = [readTextObject(block.text, options)];
|
|
1430
|
-
if (Array.isArray(block.fields)) parts.push(...block.fields.map((field) => readTextObject(field, options)));
|
|
1431
|
-
parts.push(readControlElementText(block.accessory, options));
|
|
1432
|
-
const visibleParts = parts.filter((part) => Boolean(part));
|
|
1433
|
-
return visibleParts.length > 0 ? visibleParts.join("\n") : void 0;
|
|
1434
|
-
}
|
|
1435
|
-
function readActionsText(block, options = {}) {
|
|
1436
|
-
return Array.isArray(block.elements) ? readControlElementsText(block.elements, options) : void 0;
|
|
1437
|
-
}
|
|
1438
|
-
/** Read only user-visible text from one Slack block. */
|
|
1439
|
-
function renderSlackBlockFallbackText(raw, options = {}) {
|
|
1440
|
-
const block = asRecord$1(raw);
|
|
1441
|
-
if (!block) return;
|
|
1442
|
-
switch (block.type) {
|
|
1443
|
-
case "rich_text": return readNonEmptyString(renderSlackRichTextElements(block.elements, "\n"));
|
|
1444
|
-
case "header": return readTextObject(block.text, options);
|
|
1445
|
-
case "section": return readSectionText(block, options);
|
|
1446
|
-
case "image": return readImageText(block) ?? "Shared an image";
|
|
1447
|
-
case "video": return readVideoText(block, options) ?? "Shared a video";
|
|
1448
|
-
case "file": return "Shared a file";
|
|
1449
|
-
case "context": return readContextText(block, options);
|
|
1450
|
-
case "actions": return readActionsText(block, options);
|
|
1451
|
-
case "data_visualization": return options.nativeDataFormat === "plain" ? renderSlackDataVisualizationFallbackText(block) : renderSlackDataVisualizationMrkdwnFallbackText(block);
|
|
1452
|
-
case "data_table": return options.nativeDataFormat === "plain" ? renderSlackDataTableFallbackText(block) : renderSlackDataTableMrkdwnFallbackText(block);
|
|
1453
|
-
default: return;
|
|
1454
|
-
}
|
|
1455
|
-
}
|
|
1456
|
-
function buildSlackBlocksFallbackText(blocks) {
|
|
1457
|
-
for (const block of blocks) {
|
|
1458
|
-
const text = renderSlackBlockFallbackText(block);
|
|
1459
|
-
if (text) return text;
|
|
1460
|
-
}
|
|
1461
|
-
return "Shared a Block Kit message";
|
|
1462
|
-
}
|
|
1463
|
-
function buildSlackCompleteBlocksFallbackText(blocks) {
|
|
1464
|
-
return blocks.map((block) => renderSlackBlockFallbackText(block)).filter(Boolean).join("\n\n").trim() || buildSlackBlocksFallbackText(blocks);
|
|
1465
|
-
}
|
|
1466
|
-
//#endregion
|
|
1467
|
-
//#region extensions/slack/src/format.ts
|
|
1468
|
-
function escapeSlackMrkdwnSegment(text) {
|
|
1469
|
-
return text.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
1470
|
-
}
|
|
1471
|
-
const SLACK_ANGLE_TOKEN_RE = /<[^>\n]+>/g;
|
|
1472
|
-
function isAllowedSlackAngleToken(token) {
|
|
1473
|
-
if (!token.startsWith("<") || !token.endsWith(">")) return false;
|
|
1474
|
-
const inner = token.slice(1, -1);
|
|
1475
|
-
return inner.startsWith("@") || inner.startsWith("#") || inner.startsWith("!") || inner.startsWith("mailto:") || inner.startsWith("tel:") || inner.startsWith("http://") || inner.startsWith("https://") || inner.startsWith("slack://");
|
|
1476
|
-
}
|
|
1477
|
-
function escapeSlackMrkdwnContent(text) {
|
|
1478
|
-
if (!text) return "";
|
|
1479
|
-
if (!text.includes("&") && !text.includes("<") && !text.includes(">")) return text;
|
|
1480
|
-
SLACK_ANGLE_TOKEN_RE.lastIndex = 0;
|
|
1481
|
-
const out = [];
|
|
1482
|
-
let lastIndex = 0;
|
|
1483
|
-
for (let match = SLACK_ANGLE_TOKEN_RE.exec(text); match; match = SLACK_ANGLE_TOKEN_RE.exec(text)) {
|
|
1484
|
-
const matchIndex = match.index ?? 0;
|
|
1485
|
-
out.push(escapeSlackMrkdwnSegment(text.slice(lastIndex, matchIndex)));
|
|
1486
|
-
const token = match[0] ?? "";
|
|
1487
|
-
out.push(isAllowedSlackAngleToken(token) ? token : escapeSlackMrkdwnSegment(token));
|
|
1488
|
-
lastIndex = matchIndex + token.length;
|
|
1489
|
-
}
|
|
1490
|
-
out.push(escapeSlackMrkdwnSegment(text.slice(lastIndex)));
|
|
1491
|
-
return out.join("");
|
|
1492
|
-
}
|
|
1493
|
-
function escapeSlackMrkdwnText(text) {
|
|
1494
|
-
if (!text) return "";
|
|
1495
|
-
if (!text.includes("&") && !text.includes("<") && !text.includes(">")) return text;
|
|
1496
|
-
return text.split("\n").map((line) => {
|
|
1497
|
-
if (line.startsWith("> ")) return `> ${escapeSlackMrkdwnContent(line.slice(2))}`;
|
|
1498
|
-
return escapeSlackMrkdwnContent(line);
|
|
1499
|
-
}).join("\n");
|
|
1500
|
-
}
|
|
1501
|
-
function buildSlackLink(link, text) {
|
|
1502
|
-
const href = link.href.trim();
|
|
1503
|
-
if (!href) return null;
|
|
1504
|
-
const trimmedLabel = text.slice(link.start, link.end).trim();
|
|
1505
|
-
const comparableHref = href.startsWith("mailto:") ? href.slice(7) : href;
|
|
1506
|
-
if (!(trimmedLabel.length > 0 && trimmedLabel !== href && trimmedLabel !== comparableHref)) return null;
|
|
1507
|
-
const safeHref = escapeSlackMrkdwnSegment(href);
|
|
1508
|
-
return {
|
|
1509
|
-
start: link.start,
|
|
1510
|
-
end: link.end,
|
|
1511
|
-
open: `<${safeHref}|`,
|
|
1512
|
-
close: ">"
|
|
1513
|
-
};
|
|
1514
|
-
}
|
|
1515
|
-
const SLACK_FORMAT_PROFILE = {
|
|
1516
|
-
mechanism: "markdown",
|
|
1517
|
-
constructs: {
|
|
1518
|
-
bold: "native",
|
|
1519
|
-
italic: "native",
|
|
1520
|
-
underline: "strip",
|
|
1521
|
-
strikethrough: "native",
|
|
1522
|
-
spoiler: "fallback",
|
|
1523
|
-
codeInline: "native",
|
|
1524
|
-
codeBlock: "native",
|
|
1525
|
-
codeLanguage: "fallback",
|
|
1526
|
-
linkLabel: "native",
|
|
1527
|
-
heading: "fallback",
|
|
1528
|
-
bulletList: "fallback",
|
|
1529
|
-
orderedList: "fallback",
|
|
1530
|
-
taskList: "fallback",
|
|
1531
|
-
table: "fallback",
|
|
1532
|
-
blockquote: "native",
|
|
1533
|
-
image: "fallback",
|
|
1534
|
-
mention: "native"
|
|
1535
|
-
},
|
|
1536
|
-
chunk: {
|
|
1537
|
-
limit: 4e3,
|
|
1538
|
-
unit: "chars",
|
|
1539
|
-
hardCap: 4e4
|
|
1540
|
-
}
|
|
1541
|
-
};
|
|
1542
|
-
const SLACK_ASSISTANT_TRANSCRIPT_PREFIX = "`Assistant:` ";
|
|
1543
|
-
function tokenizeSlackMrkdwn(text) {
|
|
1544
|
-
const tokens = [];
|
|
1545
|
-
for (let index = 0; index < text.length;) {
|
|
1546
|
-
if (text.startsWith("```", index)) {
|
|
1547
|
-
tokens.push("```");
|
|
1548
|
-
index += 3;
|
|
1549
|
-
continue;
|
|
1550
|
-
}
|
|
1551
|
-
const entity = [
|
|
1552
|
-
"&",
|
|
1553
|
-
"<",
|
|
1554
|
-
">"
|
|
1555
|
-
].find((candidate) => text.startsWith(candidate, index));
|
|
1556
|
-
if (entity) {
|
|
1557
|
-
tokens.push(entity);
|
|
1558
|
-
index += entity.length;
|
|
1559
|
-
continue;
|
|
1560
|
-
}
|
|
1561
|
-
if (text[index] === "<") {
|
|
1562
|
-
const end = text.indexOf(">", index + 1);
|
|
1563
|
-
const angleToken = end >= 0 ? text.slice(index, end + 1) : void 0;
|
|
1564
|
-
if (angleToken && !angleToken.includes("\n") && isAllowedSlackAngleToken(angleToken)) {
|
|
1565
|
-
tokens.push(angleToken);
|
|
1566
|
-
index += angleToken.length;
|
|
1567
|
-
continue;
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
const codePoint = text.codePointAt(index);
|
|
1571
|
-
if (codePoint === void 0) break;
|
|
1572
|
-
const character = String.fromCodePoint(codePoint);
|
|
1573
|
-
index += character.length;
|
|
1574
|
-
if (character === "\\" && index < text.length) {
|
|
1575
|
-
const escapedCodePoint = text.codePointAt(index);
|
|
1576
|
-
if (escapedCodePoint !== void 0) {
|
|
1577
|
-
const escapedCharacter = String.fromCodePoint(escapedCodePoint);
|
|
1578
|
-
tokens.push(character + escapedCharacter);
|
|
1579
|
-
index += escapedCharacter.length;
|
|
1580
|
-
continue;
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
tokens.push(character);
|
|
1584
|
-
}
|
|
1585
|
-
return tokens;
|
|
1586
|
-
}
|
|
1587
|
-
function resolveSlackCodeMarkerTransition(active, token) {
|
|
1588
|
-
if (token === "```" && active !== "`") return active === "```" ? void 0 : "```";
|
|
1589
|
-
if (token === "`" && active !== "```") return active === "`" ? void 0 : "`";
|
|
1590
|
-
return null;
|
|
1591
|
-
}
|
|
1592
|
-
function maskSlackExcludedText(text) {
|
|
1593
|
-
return text.split("\n").map((line) => line.trim() ? `x${" ".repeat(Math.max(0, line.length - 1))}` : " ".repeat(line.length)).join("\n");
|
|
1594
|
-
}
|
|
1595
|
-
function maskSlackExcludedRanges(projection) {
|
|
1596
|
-
let masked = "";
|
|
1597
|
-
let cursor = 0;
|
|
1598
|
-
for (const range of projection.excludedRanges) {
|
|
1599
|
-
masked += projection.text.slice(cursor, range.start);
|
|
1600
|
-
masked += maskSlackExcludedText(projection.text.slice(range.start, range.end));
|
|
1601
|
-
cursor = range.end;
|
|
1602
|
-
}
|
|
1603
|
-
return masked + projection.text.slice(cursor);
|
|
1604
|
-
}
|
|
1605
|
-
function slackProjectionHasRoleHeader(projection) {
|
|
1606
|
-
return Boolean(markdownToIR(maskSlackExcludedRanges(projection), {
|
|
1607
|
-
assistantTranscriptRoleHeaders: true,
|
|
1608
|
-
autolink: false,
|
|
1609
|
-
blockquotePrefix: "",
|
|
1610
|
-
headingStyle: "none",
|
|
1611
|
-
linkify: false,
|
|
1612
|
-
tableMode: "off"
|
|
1613
|
-
}).annotations?.some((annotation) => annotation.type === "assistant_transcript_role"));
|
|
1614
|
-
}
|
|
1615
|
-
function decodeSlackMrkdwnEntities(text) {
|
|
1616
|
-
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
1617
|
-
}
|
|
1618
|
-
function projectSlackAngleToken(token, dateDisplay) {
|
|
1619
|
-
const inner = token.slice(1, -1);
|
|
1620
|
-
if (inner.startsWith("!date^")) {
|
|
1621
|
-
const fallbackSeparator = inner.indexOf("|");
|
|
1622
|
-
const tokenString = (fallbackSeparator === -1 ? inner : inner.slice(0, fallbackSeparator)).split("^")[2] ?? "";
|
|
1623
|
-
const fallback = fallbackSeparator === -1 ? "" : inner.slice(fallbackSeparator + 1);
|
|
1624
|
-
return decodeSlackMrkdwnEntities(dateDisplay === "fallback" ? fallback || tokenString : tokenString || fallback);
|
|
1625
|
-
}
|
|
1626
|
-
const labelSeparator = inner.indexOf("|");
|
|
1627
|
-
if (labelSeparator >= 0) return decodeSlackMrkdwnEntities(inner.slice(labelSeparator + 1));
|
|
1628
|
-
if (inner.startsWith("@")) return "@";
|
|
1629
|
-
if (inner.startsWith("#")) return "#";
|
|
1630
|
-
if (inner.startsWith("!")) return "!";
|
|
1631
|
-
return decodeSlackMrkdwnEntities(inner);
|
|
1632
|
-
}
|
|
1633
|
-
function appendSlackVisibleProjection(projection, visible, excluded) {
|
|
1634
|
-
if (!visible) return;
|
|
1635
|
-
const start = projection.text.length;
|
|
1636
|
-
projection.text += visible;
|
|
1637
|
-
if (!excluded) return;
|
|
1638
|
-
const previous = projection.excludedRanges.at(-1);
|
|
1639
|
-
if (previous?.end === start) previous.end = projection.text.length;
|
|
1640
|
-
else projection.excludedRanges.push({
|
|
1641
|
-
start,
|
|
1642
|
-
end: projection.text.length
|
|
1643
|
-
});
|
|
1644
|
-
}
|
|
1645
|
-
function projectSlackMrkdwnVisibleText(text, dateDisplay) {
|
|
1646
|
-
const projection = {
|
|
1647
|
-
text: "",
|
|
1648
|
-
excludedRanges: []
|
|
1649
|
-
};
|
|
1650
|
-
let activeMarker;
|
|
1651
|
-
let lineHasVisibleContent = false;
|
|
1652
|
-
for (const token of tokenizeSlackMrkdwn(text)) {
|
|
1653
|
-
const transition = resolveSlackCodeMarkerTransition(activeMarker, token);
|
|
1654
|
-
if (transition !== null) {
|
|
1655
|
-
activeMarker = transition;
|
|
1656
|
-
continue;
|
|
1657
|
-
}
|
|
1658
|
-
let visible = token;
|
|
1659
|
-
if (isAllowedSlackAngleToken(token)) visible = activeMarker ? token : projectSlackAngleToken(token, dateDisplay);
|
|
1660
|
-
else if (token === "&" || token === "<" || token === ">") visible = decodeSlackMrkdwnEntities(token);
|
|
1661
|
-
else if (!activeMarker && (token === "*" || token === "_" || token === "~")) visible = "";
|
|
1662
|
-
else if (!activeMarker && token === ">" && !lineHasVisibleContent) visible = "";
|
|
1663
|
-
else if (token.startsWith("\\") && token.length > 1) visible = token.slice(1);
|
|
1664
|
-
appendSlackVisibleProjection(projection, visible, activeMarker !== void 0);
|
|
1665
|
-
for (const character of visible) if (character === "\n") lineHasVisibleContent = false;
|
|
1666
|
-
else if (character !== " " && character !== " " && character !== "\r") lineHasVisibleContent = true;
|
|
1667
|
-
}
|
|
1668
|
-
return projection;
|
|
1669
|
-
}
|
|
1670
|
-
function protectSlackAssistantTranscriptRoleHeaders(text) {
|
|
1671
|
-
if (text.startsWith(SLACK_ASSISTANT_TRANSCRIPT_PREFIX)) return text;
|
|
1672
|
-
const tokenProjection = projectSlackMrkdwnVisibleText(text, "token");
|
|
1673
|
-
const fallbackProjection = projectSlackMrkdwnVisibleText(text, "fallback");
|
|
1674
|
-
if (!slackProjectionHasRoleHeader(tokenProjection) && !slackProjectionHasRoleHeader(fallbackProjection)) return text;
|
|
1675
|
-
return `${SLACK_ASSISTANT_TRANSCRIPT_PREFIX}${text}`;
|
|
1676
|
-
}
|
|
1677
|
-
function hardSliceSlackToken(token, limit) {
|
|
1678
|
-
const chunks = [];
|
|
1679
|
-
let chunk = "";
|
|
1680
|
-
for (const character of token) {
|
|
1681
|
-
if (chunk && chunk.length + character.length > limit) {
|
|
1682
|
-
chunks.push(chunk);
|
|
1683
|
-
chunk = "";
|
|
1684
|
-
}
|
|
1685
|
-
chunk += character;
|
|
1686
|
-
}
|
|
1687
|
-
if (chunk) chunks.push(chunk);
|
|
1688
|
-
return chunks;
|
|
1689
|
-
}
|
|
1690
|
-
function buildSlackRenderOptions() {
|
|
1691
|
-
return {
|
|
1692
|
-
annotationMarkers: { assistant_transcript_role: {
|
|
1693
|
-
open: "`",
|
|
1694
|
-
close: "`",
|
|
1695
|
-
suppressNestedFormatting: true
|
|
1696
|
-
} },
|
|
1697
|
-
styleMarkers: {
|
|
1698
|
-
bold: {
|
|
1699
|
-
open: "*",
|
|
1700
|
-
close: "*"
|
|
1701
|
-
},
|
|
1702
|
-
italic: {
|
|
1703
|
-
open: "_",
|
|
1704
|
-
close: "_"
|
|
1705
|
-
},
|
|
1706
|
-
strikethrough: {
|
|
1707
|
-
open: "~",
|
|
1708
|
-
close: "~"
|
|
1709
|
-
},
|
|
1710
|
-
code: {
|
|
1711
|
-
open: "`",
|
|
1712
|
-
close: "`"
|
|
1713
|
-
},
|
|
1714
|
-
code_block: {
|
|
1715
|
-
open: "```\n",
|
|
1716
|
-
close: "```"
|
|
1717
|
-
}
|
|
1718
|
-
},
|
|
1719
|
-
escapeText: escapeSlackMrkdwnText,
|
|
1720
|
-
buildLink: buildSlackLink
|
|
1721
|
-
};
|
|
1722
|
-
}
|
|
1723
|
-
function markdownToSlackMrkdwn(markdown, options = {}) {
|
|
1724
|
-
return renderMarkdownWithMarkers(markdownToIR(markdown ?? "", {
|
|
1725
|
-
assistantTranscriptRoleHeaders: true,
|
|
1726
|
-
linkify: false,
|
|
1727
|
-
autolink: false,
|
|
1728
|
-
headingStyle: "rich",
|
|
1729
|
-
blockquotePrefix: "> ",
|
|
1730
|
-
tableMode: options.tableMode
|
|
1731
|
-
}), buildSlackRenderOptions(), SLACK_FORMAT_PROFILE);
|
|
1732
|
-
}
|
|
1733
|
-
function normalizeSlackOutboundText(markdown) {
|
|
1734
|
-
return protectSlackAssistantTranscriptRoleHeaders(markdownToSlackMrkdwn(markdown ?? ""));
|
|
1735
|
-
}
|
|
1736
|
-
/** Chunk already-rendered Slack mrkdwn without splitting entities or code markers. */
|
|
1737
|
-
function chunkSlackMrkdwnText(text, limit) {
|
|
1738
|
-
if (text.length <= limit) return [text];
|
|
1739
|
-
if (!(text.includes("`") || text.includes("&") || text.includes("<") || text.includes(">") || (text.match(/<[^>\n]+>/gu)?.some(isAllowedSlackAngleToken) ?? false) || /\\[\s\S]/u.test(text))) return chunkTextForOutbound(text, limit);
|
|
1740
|
-
const chunks = [];
|
|
1741
|
-
let activeMarker;
|
|
1742
|
-
let content = "";
|
|
1743
|
-
const wrapper = () => activeMarker && limit > activeMarker.length * 2 ? activeMarker : void 0;
|
|
1744
|
-
const capacity = () => limit - (wrapper()?.length ?? 0) * 2;
|
|
1745
|
-
const flush = () => {
|
|
1746
|
-
if (!content) return;
|
|
1747
|
-
const marker = wrapper();
|
|
1748
|
-
chunks.push(marker ? `${marker}${content}${marker}` : content);
|
|
1749
|
-
content = "";
|
|
1750
|
-
};
|
|
1751
|
-
for (const token of tokenizeSlackMrkdwn(text)) {
|
|
1752
|
-
const transition = resolveSlackCodeMarkerTransition(activeMarker, token);
|
|
1753
|
-
if (transition !== null) {
|
|
1754
|
-
flush();
|
|
1755
|
-
activeMarker = transition;
|
|
1756
|
-
continue;
|
|
1757
|
-
}
|
|
1758
|
-
const contentLimit = capacity();
|
|
1759
|
-
if (token.length > contentLimit) {
|
|
1760
|
-
flush();
|
|
1761
|
-
const marker = wrapper();
|
|
1762
|
-
if (activeMarker && isAllowedSlackAngleToken(token)) {
|
|
1763
|
-
if (marker) chunks.push(...hardSliceSlackToken(token, contentLimit).map((fragment) => `${marker}${fragment}${marker}`));
|
|
1764
|
-
else chunks.push(...hardSliceSlackToken(escapeSlackMrkdwnSegment(token), limit));
|
|
1765
|
-
continue;
|
|
1766
|
-
}
|
|
1767
|
-
chunks.push(...token.length <= limit ? [token] : chunkTextForOutbound(token, limit));
|
|
1768
|
-
continue;
|
|
1769
|
-
}
|
|
1770
|
-
if (content && content.length + token.length > contentLimit) flush();
|
|
1771
|
-
content += token;
|
|
1772
|
-
}
|
|
1773
|
-
flush();
|
|
1774
|
-
return chunks;
|
|
1775
|
-
}
|
|
1776
|
-
function markdownToSlackMrkdwnChunks(markdown, limit, options = {}) {
|
|
1777
|
-
const ir = markdownToIR(markdown ?? "", {
|
|
1778
|
-
assistantTranscriptRoleHeaders: true,
|
|
1779
|
-
linkify: false,
|
|
1780
|
-
autolink: false,
|
|
1781
|
-
headingStyle: "rich",
|
|
1782
|
-
blockquotePrefix: "> ",
|
|
1783
|
-
tableMode: options.tableMode
|
|
1784
|
-
});
|
|
1785
|
-
const renderOptions = buildSlackRenderOptions();
|
|
1786
|
-
return renderMarkdownIRChunksWithinLimit({
|
|
1787
|
-
ir,
|
|
1788
|
-
limit,
|
|
1789
|
-
renderChunk: (chunk) => protectSlackAssistantTranscriptRoleHeaders(renderMarkdownWithMarkers(chunk, renderOptions, SLACK_FORMAT_PROFILE)),
|
|
1790
|
-
measureRendered: (rendered) => rendered.length
|
|
1791
|
-
}).map(({ rendered }) => rendered);
|
|
1792
|
-
}
|
|
1793
|
-
//#endregion
|
|
1794
|
-
//#region extensions/slack/src/native-data-blocks.ts
|
|
1795
|
-
const SLACK_MALFORMED_NATIVE_DATA_FALLBACK = "Slack could not render this chart or table data.";
|
|
1796
|
-
function asRecord(value) {
|
|
1797
|
-
return value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
1798
|
-
}
|
|
1799
|
-
/** Detect a native Slack chart or table block. */
|
|
1800
|
-
function hasSlackNativeDataBlock(blocks) {
|
|
1801
|
-
return hasSlackDataVisualizationBlock(blocks) || hasSlackDataTableBlock(blocks);
|
|
1802
|
-
}
|
|
1803
|
-
/** Keep every sibling block while removing Slack's native data blocks. */
|
|
1804
|
-
function stripSlackNativeDataBlocks(blocks) {
|
|
1805
|
-
return (blocks ?? []).filter((block) => {
|
|
1806
|
-
const type = asRecord(block)?.type;
|
|
1807
|
-
return type !== "data_table" && type !== "data_visualization";
|
|
1808
|
-
});
|
|
1809
|
-
}
|
|
1810
|
-
/** Match Slack's Web API and response_url `invalid_blocks` error shapes. */
|
|
1811
|
-
function isSlackInvalidBlocksError(error) {
|
|
1812
|
-
const record = asRecord(error);
|
|
1813
|
-
const rawData = record?.data;
|
|
1814
|
-
const data = asRecord(rawData);
|
|
1815
|
-
const rawResponseData = asRecord(record?.response)?.data;
|
|
1816
|
-
const responseData = asRecord(rawResponseData);
|
|
1817
|
-
const code = data?.error ?? (typeof rawData === "string" ? rawData : void 0) ?? responseData?.error ?? (typeof rawResponseData === "string" ? rawResponseData : void 0) ?? record?.error;
|
|
1818
|
-
return typeof code === "string" && code.trim().toLowerCase() === "invalid_blocks";
|
|
1819
|
-
}
|
|
1820
|
-
/** Extract a complete accessible summary from a supported native data block. */
|
|
1821
|
-
function renderSlackNativeDataFallbackText(value) {
|
|
1822
|
-
const type = asRecord(value)?.type;
|
|
1823
|
-
if (type === "data_visualization") return renderSlackDataVisualizationMrkdwnFallbackText(value);
|
|
1824
|
-
if (type === "data_table") return renderSlackDataTableMrkdwnFallbackText(value);
|
|
1825
|
-
}
|
|
1826
|
-
function comparableText(value) {
|
|
1827
|
-
return value.replace(/\s+/gu, " ").trim();
|
|
1828
|
-
}
|
|
1829
|
-
function countComparableOccurrences(value, candidate) {
|
|
1830
|
-
if (!candidate) return 0;
|
|
1831
|
-
let count = 0;
|
|
1832
|
-
let offset = 0;
|
|
1833
|
-
while ((offset = value.indexOf(candidate, offset)) >= 0) {
|
|
1834
|
-
count += 1;
|
|
1835
|
-
offset += candidate.length;
|
|
1836
|
-
}
|
|
1837
|
-
return count;
|
|
1838
|
-
}
|
|
1839
|
-
/** Consume native fallback occurrences already carried by an explicit outside base. */
|
|
1840
|
-
function createSlackNativeDataBaseTextConsumer(baseText) {
|
|
1841
|
-
const comparableBase = comparableText(baseText);
|
|
1842
|
-
const remainingByText = /* @__PURE__ */ new Map();
|
|
1843
|
-
return (text) => {
|
|
1844
|
-
const comparable = comparableText(text);
|
|
1845
|
-
const remaining = remainingByText.get(comparable) ?? countComparableOccurrences(comparableBase, comparable);
|
|
1846
|
-
if (remaining <= 0) return false;
|
|
1847
|
-
remainingByText.set(comparable, remaining - 1);
|
|
1848
|
-
return true;
|
|
1849
|
-
};
|
|
1850
|
-
}
|
|
1851
|
-
function appendSlackNativeDataFallback(text, blocks, render) {
|
|
1852
|
-
const base = text.trim();
|
|
1853
|
-
const consumeFromBase = createSlackNativeDataBaseTextConsumer(base);
|
|
1854
|
-
const dataTexts = [];
|
|
1855
|
-
for (const block of blocks ?? []) {
|
|
1856
|
-
const dataText = render(block);
|
|
1857
|
-
if (!dataText) continue;
|
|
1858
|
-
if (!comparableText(dataText) || consumeFromBase(dataText)) continue;
|
|
1859
|
-
dataTexts.push(dataText);
|
|
1860
|
-
}
|
|
1861
|
-
return [base, ...dataTexts].filter(Boolean).join("\n\n");
|
|
1862
|
-
}
|
|
1863
|
-
function renderSlackNativeDataPlainTextBlock(value) {
|
|
1864
|
-
const type = asRecord(value)?.type;
|
|
1865
|
-
if (type === "data_table") return renderSlackDataTableCompactPlainTextFallback(value);
|
|
1866
|
-
if (type === "data_visualization") return renderSlackDataVisualizationFallbackText(value);
|
|
1867
|
-
}
|
|
1868
|
-
/** Build formatting-disabled accessibility text from actual Slack block order. */
|
|
1869
|
-
function buildSlackNativeDataAccessibilityText(text, blocks) {
|
|
1870
|
-
const parts = [];
|
|
1871
|
-
const consumeFromBase = createSlackNativeDataBaseTextConsumer(text);
|
|
1872
|
-
const append = (value) => {
|
|
1873
|
-
if (value?.trim()) parts.push(value);
|
|
1874
|
-
};
|
|
1875
|
-
append(text);
|
|
1876
|
-
for (const block of blocks ?? []) {
|
|
1877
|
-
const isNativeData = hasSlackNativeDataBlock([block]);
|
|
1878
|
-
const rendered = renderSlackNativeDataPlainTextBlock(block) ?? renderSlackBlockFallbackText(block, { nativeDataFormat: "plain" }) ?? (isNativeData ? "Slack could not render this chart or table data." : void 0);
|
|
1879
|
-
if (!rendered || isNativeData && consumeFromBase(rendered)) continue;
|
|
1880
|
-
append(rendered);
|
|
1881
|
-
}
|
|
1882
|
-
return parts.join("\n\n");
|
|
1883
|
-
}
|
|
1884
|
-
/** Preserve every native data block's content once when Slack requires a text-only retry. */
|
|
1885
|
-
function appendSlackNativeDataFallbackText(text, blocks) {
|
|
1886
|
-
return appendSlackNativeDataFallback(text, blocks, renderSlackNativeDataFallbackText);
|
|
1887
|
-
}
|
|
1888
|
-
/** Build a bounded plain-text retry without activating control tokens. */
|
|
1889
|
-
function appendSlackNativeDataPlainTextFallback(text, blocks) {
|
|
1890
|
-
return appendSlackNativeDataFallback(text, blocks, renderSlackNativeDataPlainTextBlock);
|
|
1891
|
-
}
|
|
1892
|
-
//#endregion
|
|
1893
|
-
//#region extensions/slack/src/reply-blocks.ts
|
|
1894
|
-
function parseSlackReplyBlockSegments(value) {
|
|
1895
|
-
if (value === void 0) return;
|
|
1896
|
-
if (!Array.isArray(value)) throw new Error("Slack rendered presentation segments must be an array");
|
|
1897
|
-
return value.map((raw) => {
|
|
1898
|
-
if (!raw || typeof raw !== "object" || Array.isArray(raw)) throw new Error("Slack rendered presentation segment must be an object");
|
|
1899
|
-
const segment = raw;
|
|
1900
|
-
if (segment.kind === "text" && typeof segment.text === "string" && segment.mrkdwn === false) return {
|
|
1901
|
-
kind: "text",
|
|
1902
|
-
text: segment.text,
|
|
1903
|
-
mrkdwn: false
|
|
1904
|
-
};
|
|
1905
|
-
if (segment.kind === "blocks") {
|
|
1906
|
-
const blocks = parseSlackBlocksInput(segment.blocks);
|
|
1907
|
-
if (blocks?.length) return {
|
|
1908
|
-
kind: "blocks",
|
|
1909
|
-
blocks
|
|
1910
|
-
};
|
|
1911
|
-
}
|
|
1912
|
-
throw new Error("Slack rendered presentation segment is invalid");
|
|
1913
|
-
});
|
|
1914
|
-
}
|
|
1915
|
-
/** Convert compiled segments into ordered sender calls without re-inferring text placement. */
|
|
1916
|
-
function resolveSlackReplyDeliveryMessages(params) {
|
|
1917
|
-
const messages = [];
|
|
1918
|
-
let outsideText = params.authoredTextPlacement === "outside-blocks" ? params.text?.trim() ?? "" : "";
|
|
1919
|
-
for (const segment of params.segments) {
|
|
1920
|
-
if (segment.kind === "text") {
|
|
1921
|
-
const text = [outsideText, segment.text].filter(Boolean).join("\n\n");
|
|
1922
|
-
outsideText = "";
|
|
1923
|
-
if (text) messages.push({
|
|
1924
|
-
text,
|
|
1925
|
-
textIsSlackPlainText: true
|
|
1926
|
-
});
|
|
1927
|
-
continue;
|
|
1928
|
-
}
|
|
1929
|
-
const baseText = outsideText;
|
|
1930
|
-
outsideText = "";
|
|
1931
|
-
const text = buildSlackNativeDataAccessibilityText(baseText, segment.blocks) || buildSlackBlocksFallbackText(segment.blocks);
|
|
1932
|
-
const authoredTextPlacement = baseText ? "outside-blocks" : params.authoredTextPlacement === "blocks" ? "blocks" : "none";
|
|
1933
|
-
messages.push({
|
|
1934
|
-
text,
|
|
1935
|
-
blocks: segment.blocks,
|
|
1936
|
-
authoredTextPlacement,
|
|
1937
|
-
...baseText ? { nativeDataFallbackBaseText: baseText } : {}
|
|
1938
|
-
});
|
|
1939
|
-
}
|
|
1940
|
-
if (outsideText) messages.push({ text: outsideText });
|
|
1941
|
-
return messages;
|
|
1942
|
-
}
|
|
1943
|
-
function resolveSlackReplyText(payload, text = payload.text) {
|
|
1944
|
-
const presentation = normalizeMessagePresentation(payload.presentation);
|
|
1945
|
-
return presentation ? renderSlackMessagePresentationFallbackText({
|
|
1946
|
-
text,
|
|
1947
|
-
presentation
|
|
1948
|
-
}) : text ?? "";
|
|
1949
|
-
}
|
|
1950
|
-
function resolveSlackReplyRenderPlan(payload, text = payload.text) {
|
|
1951
|
-
const hasStructuredContent = hasSlackReplyStructuredContent(payload);
|
|
1952
|
-
const resolution = resolveSlackReplyBlockResolution({
|
|
1953
|
-
...payload,
|
|
1954
|
-
text
|
|
1955
|
-
}, { materializeAuthoredText: hasStructuredContent });
|
|
1956
|
-
const messages = resolveSlackReplyDeliveryMessages({
|
|
1957
|
-
authoredTextPlacement: resolution.authoredTextPlacement,
|
|
1958
|
-
segments: resolution.segments,
|
|
1959
|
-
text
|
|
1960
|
-
});
|
|
1961
|
-
if (messages.length <= 1) {
|
|
1962
|
-
const [message] = messages;
|
|
1963
|
-
const sourceText = text?.trim() ?? "";
|
|
1964
|
-
const blocks = message?.authoredTextPlacement === "blocks" ? addPreviewVerbatimToAuthoredTextBlocks(message.blocks, sourceText) : message?.blocks;
|
|
1965
|
-
let renderedText = message?.text ?? resolveSlackReplyText(payload, text);
|
|
1966
|
-
let textIsSlackMrkdwn = Boolean(message && !message.textIsSlackPlainText && (message.authoredTextPlacement !== "outside-blocks" || message.nativeDataFallbackBaseText));
|
|
1967
|
-
if (blocks?.length && sourceText) {
|
|
1968
|
-
if (hasSlackNativeDataBlock(blocks)) {
|
|
1969
|
-
renderedText = appendSlackNativeDataFallbackText(sourceText, blocks) || renderedText;
|
|
1970
|
-
textIsSlackMrkdwn = true;
|
|
1971
|
-
} else if (message?.authoredTextPlacement === "blocks") {
|
|
1972
|
-
renderedText = sourceText;
|
|
1973
|
-
textIsSlackMrkdwn = false;
|
|
1974
|
-
}
|
|
1975
|
-
}
|
|
1976
|
-
return {
|
|
1977
|
-
mode: "single",
|
|
1978
|
-
text: renderedText,
|
|
1979
|
-
...blocks ? { blocks } : {},
|
|
1980
|
-
...textIsSlackMrkdwn ? { textIsSlackMrkdwn: true } : {}
|
|
1981
|
-
};
|
|
1982
|
-
}
|
|
1983
|
-
const blockPart = messages.find((message) => message.blocks?.length);
|
|
1984
|
-
return {
|
|
1985
|
-
mode: "split",
|
|
1986
|
-
fallbackText: messages.map((message) => message.text).filter(Boolean).join("\n\n"),
|
|
1987
|
-
...blockPart ? { blockPart: {
|
|
1988
|
-
text: blockPart.text,
|
|
1989
|
-
blocks: blockPart.blocks
|
|
1990
|
-
} } : {}
|
|
1991
|
-
};
|
|
1992
|
-
}
|
|
1993
|
-
function readSlackChannelBlocks(payload) {
|
|
1994
|
-
const slackData = payload.channelData?.slack;
|
|
1995
|
-
if (!slackData || typeof slackData !== "object" || Array.isArray(slackData)) return [];
|
|
1996
|
-
return parseSlackBlocksInput(slackData.blocks) ?? [];
|
|
1997
|
-
}
|
|
1998
|
-
function hasSlackReplyStructuredContent(payload) {
|
|
1999
|
-
return Boolean(readSlackChannelBlocks(payload).length || normalizeMessagePresentation(payload.presentation) || payload.interactive?.blocks.length);
|
|
2000
|
-
}
|
|
2001
|
-
function renderSlackAuthoredTextFragments(blocks) {
|
|
2002
|
-
return blocks.flatMap((block) => {
|
|
2003
|
-
if (block.type === "actions") return [];
|
|
2004
|
-
const text = renderSlackBlockFallbackText(block, { nativeDataFormat: "plain" });
|
|
2005
|
-
return text ? [text] : [];
|
|
2006
|
-
});
|
|
2007
|
-
}
|
|
2008
|
-
function buildSlackAuthoredTextBlocks(text) {
|
|
2009
|
-
return markdownToSlackMrkdwnChunks(text, SLACK_SECTION_TEXT_MAX).map((chunk) => ({
|
|
2010
|
-
type: "section",
|
|
2011
|
-
text: {
|
|
2012
|
-
type: "mrkdwn",
|
|
2013
|
-
text: chunk,
|
|
2014
|
-
verbatim: true
|
|
2015
|
-
}
|
|
2016
|
-
}));
|
|
2017
|
-
}
|
|
2018
|
-
function addPreviewVerbatimToAuthoredTextBlocks(blocks, sourceText) {
|
|
2019
|
-
if (!blocks?.length || !sourceText) return blocks;
|
|
2020
|
-
const authoredChunks = new Set(markdownToSlackMrkdwnChunks(sourceText, SLACK_SECTION_TEXT_MAX));
|
|
2021
|
-
return blocks.map((block) => {
|
|
2022
|
-
const text = block.text;
|
|
2023
|
-
if (block.type !== "section" || text?.type !== "mrkdwn" || typeof text.text !== "string" || !authoredChunks.has(text.text)) return block;
|
|
2024
|
-
return {
|
|
2025
|
-
...block,
|
|
2026
|
-
text: {
|
|
2027
|
-
...text,
|
|
2028
|
-
verbatim: true
|
|
2029
|
-
}
|
|
2030
|
-
};
|
|
2031
|
-
});
|
|
2032
|
-
}
|
|
2033
|
-
function readLastBlockSegment(segments) {
|
|
2034
|
-
const last = segments.at(-1);
|
|
2035
|
-
return last?.kind === "blocks" ? last.blocks : [];
|
|
2036
|
-
}
|
|
2037
|
-
function readAllNativeBlocks(segments) {
|
|
2038
|
-
return segments.flatMap((segment) => segment.kind === "blocks" ? segment.blocks : []);
|
|
2039
|
-
}
|
|
2040
|
-
function appendTextSegment(segments, text) {
|
|
2041
|
-
const trimmed = text.trim();
|
|
2042
|
-
if (!trimmed) return;
|
|
2043
|
-
const last = segments.at(-1);
|
|
2044
|
-
if (last?.kind === "text") {
|
|
2045
|
-
last.text = `${last.text}\n\n${trimmed}`;
|
|
2046
|
-
return;
|
|
2047
|
-
}
|
|
2048
|
-
segments.push({
|
|
2049
|
-
kind: "text",
|
|
2050
|
-
text: trimmed,
|
|
2051
|
-
mrkdwn: false
|
|
2052
|
-
});
|
|
2053
|
-
}
|
|
2054
|
-
function appendBlockSegment(segments, blocks, startNew = false) {
|
|
2055
|
-
let shouldStartNew = startNew;
|
|
2056
|
-
for (const block of blocks) {
|
|
2057
|
-
const last = segments.at(-1);
|
|
2058
|
-
if (!shouldStartNew && last?.kind === "blocks" && last.blocks.length < 50) last.blocks.push(block);
|
|
2059
|
-
else segments.push({
|
|
2060
|
-
kind: "blocks",
|
|
2061
|
-
blocks: [block]
|
|
2062
|
-
});
|
|
2063
|
-
shouldStartNew = false;
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
function resolvePresentationRenderOptions(segments, mode) {
|
|
2067
|
-
const allOffsets = resolveSlackBlockOffsets(readAllNativeBlocks(segments));
|
|
2068
|
-
return {
|
|
2069
|
-
...mode === "current" ? resolveSlackBlockOffsets(readLastBlockSegment(segments)) : {},
|
|
2070
|
-
buttonIndexOffset: allOffsets.buttonIndexOffset,
|
|
2071
|
-
selectIndexOffset: allOffsets.selectIndexOffset
|
|
2072
|
-
};
|
|
2073
|
-
}
|
|
2074
|
-
function renderNativePresentation(presentation, options) {
|
|
2075
|
-
if (!canRenderSlackPresentation(presentation, options)) return;
|
|
2076
|
-
const blocks = buildSlackPresentationBlocks(presentation, options);
|
|
2077
|
-
return blocks.length > 0 ? blocks : void 0;
|
|
2078
|
-
}
|
|
2079
|
-
function appendPresentationPart(segments, presentation) {
|
|
2080
|
-
const currentBlocks = readLastBlockSegment(segments);
|
|
2081
|
-
const currentRendered = renderNativePresentation(presentation, resolvePresentationRenderOptions(segments, "current"));
|
|
2082
|
-
if (currentRendered && currentBlocks.length + currentRendered.length <= 50) {
|
|
2083
|
-
appendBlockSegment(segments, currentRendered);
|
|
2084
|
-
return;
|
|
2085
|
-
}
|
|
2086
|
-
const freshRendered = renderNativePresentation(presentation, resolvePresentationRenderOptions(segments, "new-message"));
|
|
2087
|
-
if (freshRendered) {
|
|
2088
|
-
appendBlockSegment(segments, freshRendered, true);
|
|
2089
|
-
return;
|
|
2090
|
-
}
|
|
2091
|
-
appendTextSegment(segments, renderMessagePresentationFallbackText({ presentation }));
|
|
2092
|
-
}
|
|
2093
|
-
const SLACK_BUTTON_CONTROL_ACTION_IDS = [
|
|
2094
|
-
SLACK_APPROVAL_BUTTON_ACTION_ID,
|
|
2095
|
-
SLACK_CALLBACK_BUTTON_ACTION_ID,
|
|
2096
|
-
SLACK_REPLY_BUTTON_ACTION_ID,
|
|
2097
|
-
SLACK_REPLY_LINK_ACTION_ID
|
|
2098
|
-
];
|
|
2099
|
-
const SLACK_SELECT_CONTROL_ACTION_IDS = [
|
|
2100
|
-
SLACK_APPROVAL_SELECT_ACTION_ID,
|
|
2101
|
-
SLACK_CALLBACK_SELECT_ACTION_ID,
|
|
2102
|
-
SLACK_REPLY_SELECT_ACTION_ID
|
|
2103
|
-
];
|
|
2104
|
-
function readGeneratedSlackControlRowKey(block) {
|
|
2105
|
-
const record = block;
|
|
2106
|
-
if (record.type !== "actions" || typeof record.block_id !== "string") return;
|
|
2107
|
-
const expectedElementType = /^openclaw_reply_buttons_[1-9]\d*$/.test(record.block_id) ? "button" : /^openclaw_reply_select_[1-9]\d*$/.test(record.block_id) ? "static_select" : void 0;
|
|
2108
|
-
if (!expectedElementType || !Array.isArray(record.elements) || record.elements.length === 0) return;
|
|
2109
|
-
const actionIds = expectedElementType === "button" ? SLACK_BUTTON_CONTROL_ACTION_IDS : SLACK_SELECT_CONTROL_ACTION_IDS;
|
|
2110
|
-
const elements = record.elements.map((element) => {
|
|
2111
|
-
if (!element || typeof element !== "object" || Array.isArray(element)) return;
|
|
2112
|
-
const { action_id: actionId, ...content } = element;
|
|
2113
|
-
const actionFamily = typeof actionId === "string" ? actionIds.find((candidate) => actionId.startsWith(`${candidate}:`)) : void 0;
|
|
2114
|
-
return actionFamily && content.type === expectedElementType ? [actionFamily, content] : void 0;
|
|
2115
|
-
});
|
|
2116
|
-
return elements.some((element) => element === void 0) ? void 0 : JSON.stringify(elements);
|
|
2117
|
-
}
|
|
2118
|
-
function subtractMirroredSlackControlRows(params) {
|
|
2119
|
-
const remainingMirrors = /* @__PURE__ */ new Map();
|
|
2120
|
-
for (const block of params.presentationBlocks) {
|
|
2121
|
-
const key = readGeneratedSlackControlRowKey(block);
|
|
2122
|
-
if (key) remainingMirrors.set(key, (remainingMirrors.get(key) ?? 0) + 1);
|
|
2123
|
-
}
|
|
2124
|
-
return params.interactiveBlocks.filter((block) => {
|
|
2125
|
-
const key = readGeneratedSlackControlRowKey(block);
|
|
2126
|
-
const remaining = key ? remainingMirrors.get(key) ?? 0 : 0;
|
|
2127
|
-
if (!key || remaining === 0) return true;
|
|
2128
|
-
remainingMirrors.set(key, remaining - 1);
|
|
2129
|
-
return false;
|
|
2130
|
-
});
|
|
2131
|
-
}
|
|
2132
|
-
/**
|
|
2133
|
-
* Resolve reply content into transport-order segments. Each blocks segment is
|
|
2134
|
-
* one Slack message; text segments carry complete fallback content between it.
|
|
2135
|
-
*/
|
|
2136
|
-
function resolveSlackReplyBlockResolution(payload, options = {}) {
|
|
2137
|
-
const segments = [];
|
|
2138
|
-
const channelBlocks = readSlackChannelBlocks(payload);
|
|
2139
|
-
let compiledChannelBlocks = channelBlocks;
|
|
2140
|
-
let authoredTextKnownInBlocks = false;
|
|
2141
|
-
if (options.materializeAuthoredText) {
|
|
2142
|
-
const rawTextFragments = renderSlackAuthoredTextFragments(channelBlocks);
|
|
2143
|
-
const initialPlacement = resolveSlackAuthoredTextPlacement({
|
|
2144
|
-
text: payload.text,
|
|
2145
|
-
interactive: payload.interactive,
|
|
2146
|
-
renderedTextFragments: rawTextFragments
|
|
2147
|
-
});
|
|
2148
|
-
authoredTextKnownInBlocks = initialPlacement === "blocks";
|
|
2149
|
-
const text = normalizeOptionalString(payload.text);
|
|
2150
|
-
if (text && initialPlacement === "outside-blocks") {
|
|
2151
|
-
const textBlocks = buildSlackAuthoredTextBlocks(text);
|
|
2152
|
-
if (resolveSlackAuthoredTextPlacement({
|
|
2153
|
-
text: renderSlackAuthoredTextFragments(textBlocks).join(" "),
|
|
2154
|
-
renderedTextFragments: rawTextFragments
|
|
2155
|
-
}) !== "blocks") compiledChannelBlocks = [...channelBlocks, ...textBlocks];
|
|
2156
|
-
authoredTextKnownInBlocks = true;
|
|
2157
|
-
}
|
|
2158
|
-
}
|
|
2159
|
-
if (compiledChannelBlocks.length > 0) appendBlockSegment(segments, compiledChannelBlocks);
|
|
2160
|
-
const presentation = normalizeMessagePresentation(payload.presentation);
|
|
2161
|
-
const presentationBlockOffset = readAllNativeBlocks(segments).length;
|
|
2162
|
-
if (presentation?.title) appendPresentationPart(segments, {
|
|
2163
|
-
title: presentation.title,
|
|
2164
|
-
blocks: []
|
|
2165
|
-
});
|
|
2166
|
-
for (const block of presentation?.blocks ?? []) appendPresentationPart(segments, { blocks: [block] });
|
|
2167
|
-
const renderedPresentationBlocks = readAllNativeBlocks(segments).slice(presentationBlockOffset);
|
|
2168
|
-
appendBlockSegment(segments, subtractMirroredSlackControlRows({
|
|
2169
|
-
interactiveBlocks: buildSlackInteractiveBlocks(payload.interactive, resolveSlackBlockOffsets(readAllNativeBlocks(segments))),
|
|
2170
|
-
presentationBlocks: renderedPresentationBlocks
|
|
2171
|
-
}));
|
|
2172
|
-
const renderedTextFragments = segments.flatMap((segment) => {
|
|
2173
|
-
if (segment.kind === "text") return [segment.text];
|
|
2174
|
-
return renderSlackAuthoredTextFragments(segment.blocks);
|
|
2175
|
-
});
|
|
2176
|
-
const authoredTextPlacement = resolveSlackAuthoredTextPlacement({
|
|
2177
|
-
text: payload.text,
|
|
2178
|
-
interactive: payload.interactive,
|
|
2179
|
-
renderedTextFragments
|
|
2180
|
-
});
|
|
2181
|
-
return {
|
|
2182
|
-
authoredTextPlacement: authoredTextKnownInBlocks ? "blocks" : authoredTextPlacement,
|
|
2183
|
-
segments
|
|
2184
|
-
};
|
|
2185
|
-
}
|
|
2186
|
-
/** Return the single-message native shape when no ordered text fallback is required. */
|
|
2187
|
-
function resolveSlackReplyBlocks(payload) {
|
|
2188
|
-
const { segments } = resolveSlackReplyBlockResolution(payload);
|
|
2189
|
-
return segments.length === 1 && segments[0]?.kind === "blocks" ? segments[0].blocks : void 0;
|
|
2190
|
-
}
|
|
2191
|
-
//#endregion
|
|
2192
|
-
//#region extensions/slack/src/monitor/allow-list.ts
|
|
2193
|
-
const SLACK_SLUG_CACHE_MAX = 512;
|
|
2194
|
-
const slackSlugCache = /* @__PURE__ */ new Map();
|
|
2195
|
-
function normalizeSlackSlug(raw) {
|
|
2196
|
-
const key = raw ?? "";
|
|
2197
|
-
const cached = slackSlugCache.get(key);
|
|
2198
|
-
if (cached !== void 0) return cached;
|
|
2199
|
-
const normalized = normalizeHyphenSlug(raw);
|
|
2200
|
-
slackSlugCache.set(key, normalized);
|
|
2201
|
-
if (slackSlugCache.size > SLACK_SLUG_CACHE_MAX) {
|
|
2202
|
-
const oldest = slackSlugCache.keys().next();
|
|
2203
|
-
if (!oldest.done) slackSlugCache.delete(oldest.value);
|
|
2204
|
-
}
|
|
2205
|
-
return normalized;
|
|
2206
|
-
}
|
|
2207
|
-
function normalizeAllowList(list) {
|
|
2208
|
-
return normalizeStringEntries$1(list);
|
|
2209
|
-
}
|
|
2210
|
-
function normalizeAllowListLower(list) {
|
|
2211
|
-
return normalizeStringEntriesLower$1(list);
|
|
2212
|
-
}
|
|
2213
|
-
function normalizeSlackAllowOwnerEntry(entry) {
|
|
2214
|
-
const trimmed = normalizeOptionalLowercaseString(entry);
|
|
2215
|
-
if (!trimmed || trimmed === "*") return;
|
|
2216
|
-
const withoutPrefix = trimmed.replace(/^(slack:|user:)/, "");
|
|
2217
|
-
return /^u[a-z0-9]+$/.test(withoutPrefix) ? withoutPrefix : void 0;
|
|
2218
|
-
}
|
|
2219
|
-
function resolveSlackAllowListMatch(params) {
|
|
2220
|
-
const compiledAllowList = compileAllowlist(params.allowList);
|
|
2221
|
-
const id = normalizeOptionalLowercaseString(params.id);
|
|
2222
|
-
const name = normalizeOptionalLowercaseString(params.name);
|
|
2223
|
-
const slug = normalizeSlackSlug(name);
|
|
2224
|
-
return resolveCompiledAllowlistMatch({
|
|
2225
|
-
compiledAllowlist: compiledAllowList,
|
|
2226
|
-
candidates: [
|
|
2227
|
-
{
|
|
2228
|
-
value: id,
|
|
2229
|
-
source: "id"
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
value: id ? `slack:${id}` : void 0,
|
|
2233
|
-
source: "prefixed-id"
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
value: id ? `user:${id}` : void 0,
|
|
2237
|
-
source: "prefixed-user"
|
|
2238
|
-
},
|
|
2239
|
-
...params.allowNameMatching === true ? [
|
|
2240
|
-
{
|
|
2241
|
-
value: name,
|
|
2242
|
-
source: "name"
|
|
2243
|
-
},
|
|
2244
|
-
{
|
|
2245
|
-
value: name ? `slack:${name}` : void 0,
|
|
2246
|
-
source: "prefixed-name"
|
|
2247
|
-
},
|
|
2248
|
-
{
|
|
2249
|
-
value: slug,
|
|
2250
|
-
source: "slug"
|
|
2251
|
-
}
|
|
2252
|
-
] : []
|
|
2253
|
-
]
|
|
2254
|
-
});
|
|
2255
|
-
}
|
|
2256
|
-
function allowListMatches(params) {
|
|
2257
|
-
return resolveSlackAllowListMatch(params).allowed;
|
|
2258
|
-
}
|
|
2259
|
-
function resolveSlackUserAllowed(params) {
|
|
2260
|
-
const allowList = normalizeAllowListLower(params.allowList);
|
|
2261
|
-
if (allowList.length === 0) return true;
|
|
2262
|
-
return allowListMatches({
|
|
2263
|
-
allowList,
|
|
2264
|
-
id: params.userId,
|
|
2265
|
-
name: params.userName,
|
|
2266
|
-
allowNameMatching: params.allowNameMatching
|
|
2267
|
-
});
|
|
2268
|
-
}
|
|
2269
|
-
//#endregion
|
|
2270
|
-
//#region extensions/slack/src/direct-send-admission.ts
|
|
2271
|
-
function assertSlackDirectSendAllowed(account) {
|
|
2272
|
-
if (account.config.enterpriseOrgInstall === true) throw new Error("unsupported_enterprise_slack_delivery");
|
|
2273
|
-
}
|
|
2274
|
-
//#endregion
|
|
2275
|
-
//#region extensions/slack/src/group-policy.ts
|
|
2276
|
-
function buildSlackChannelPolicyScope(params) {
|
|
2277
|
-
const channels = params.channels ?? {};
|
|
2278
|
-
const tree = { scopes: channels };
|
|
2279
|
-
const matchKey = params.candidates.find((candidate) => candidate !== "*" && Object.hasOwn(tree.scopes, candidate)) ?? (Object.hasOwn(tree.scopes, "*") ? "*" : void 0);
|
|
2280
|
-
const matchSource = matchKey === void 0 ? void 0 : matchKey === "*" ? "wildcard" : "direct";
|
|
2281
|
-
return {
|
|
2282
|
-
tree,
|
|
2283
|
-
path: matchKey ? [matchKey] : [],
|
|
2284
|
-
entry: matchKey ? channels[matchKey] : void 0,
|
|
2285
|
-
wildcardEntry: channels["*"],
|
|
2286
|
-
matchKey,
|
|
2287
|
-
matchSource
|
|
2288
|
-
};
|
|
2289
|
-
}
|
|
2290
|
-
function resolveSlackGroupPolicyScope(params) {
|
|
2291
|
-
const accountId = normalizeAccountId(params.accountId ?? resolveDefaultSlackAccountId(params.cfg));
|
|
2292
|
-
const channels = mergeSlackAccountConfig(params.cfg, accountId).channels;
|
|
2293
|
-
const channelId = params.groupId?.trim();
|
|
2294
|
-
const channelName = params.groupChannel?.replace(/^#/, "");
|
|
2295
|
-
return buildSlackChannelPolicyScope({
|
|
2296
|
-
channels,
|
|
2297
|
-
candidates: [
|
|
2298
|
-
channelId,
|
|
2299
|
-
channelName ? `#${channelName}` : void 0,
|
|
2300
|
-
channelName,
|
|
2301
|
-
normalizeHyphenSlug(channelName)
|
|
2302
|
-
].filter((candidate) => Boolean(candidate))
|
|
2303
|
-
});
|
|
2304
|
-
}
|
|
2305
|
-
function resolveSlackGroupRequireMention(params) {
|
|
2306
|
-
return resolveScopeRequireMention(resolveSlackGroupPolicyScope(params));
|
|
2307
|
-
}
|
|
2308
|
-
function resolveSlackGroupToolPolicy(params) {
|
|
2309
|
-
return resolveScopeToolsPolicy({
|
|
2310
|
-
...resolveSlackGroupPolicyScope(params),
|
|
2311
|
-
senderId: params.senderId,
|
|
2312
|
-
senderName: params.senderName,
|
|
2313
|
-
senderUsername: params.senderUsername,
|
|
2314
|
-
senderE164: params.senderE164
|
|
2315
|
-
});
|
|
2316
|
-
}
|
|
2317
|
-
//#endregion
|
|
2318
|
-
export { parseSlackBlocksInput as $, buildSlackCompleteBlocksFallbackText as A, SLACK_REPLY_BUTTON_ACTION_ID as B, hasSlackNativeDataBlock as C, markdownToSlackMrkdwnChunks as D, chunkSlackMrkdwnText as E, SLACK_TEXT_LIMIT as F, isSlackQuestionActionId as G, SLACK_REPLY_SELECT_ACTION_ID as H, buildSlackInteractiveBlocks as I, renderSlackMessagePresentationFallbackText as J, decodeSlackQuestionAction as K, buildSlackPresentationBlocks as L, resolveSlackAuthoredTextPlacement as M, SLACK_EDIT_TEXT_LIMIT as N, normalizeSlackOutboundText as O, SLACK_MESSAGE_TEXT_HARD_LIMIT as P, SLACK_MAX_BLOCKS as Q, canRenderSlackPresentation as R, createSlackNativeDataBaseTextConsumer as S, stripSlackNativeDataBlocks as T, isSlackApprovalActionId as U, SLACK_REPLY_LINK_ACTION_ID as V, isSlackCallbackActionId as W, decodeSlackApprovalAction as X, escapeSlackMrkdwn as Y, SLACK_PRESENTATION_CAPABILITIES as Z, resolveSlackReplyRenderPlan as _, resolveSlackExecApprovalTarget as _t, allowListMatches as a, resolveSessionSlackOriginTarget as at, appendSlackNativeDataPlainTextFallback as b, normalizeSlackAllowOwnerEntry as c, shouldHandleSlackNativeApprovalRequest as ct, resolveSlackUserAllowed as d, getSlackApprovalApprovers as dt, validateSlackBlocksArray as et, hasSlackReplyStructuredContent as f, isSlackApprovalAuthorizedSender as ft, resolveSlackReplyDeliveryMessages as g, normalizeSlackApproverId as gt, resolveSlackReplyBlocks as h, isSlackExecApprovalClientEnabled as ht, assertSlackDirectSendAllowed as i, normalizeSlackOriginTarget as it, renderSlackBlockFallbackText as j, buildSlackBlocksFallbackText as k, normalizeSlackSlug as l, shouldHandleSlackPluginViaForwardingSession as lt, resolveSlackReplyBlockResolution as m, isSlackExecApprovalAuthorizedSender as mt, resolveSlackGroupRequireMention as n, isSlackAnyNativeApprovalClientEnabled as nt, normalizeAllowList as o, resolveSlackFallbackOriginTarget as ot, parseSlackReplyBlockSegments as p, getSlackExecApprovalApprovers as pt, resolveSlackQuestionAction as q, resolveSlackGroupToolPolicy as r, normalizeSlackForwardTarget as rt, normalizeAllowListLower as s, resolveTurnSourceSlackOriginTarget as st, buildSlackChannelPolicyScope as t, hasSlackPluginApprovers as tt, resolveSlackAllowListMatch as u, slackTargetsMatch as ut, SLACK_MALFORMED_NATIVE_DATA_FALLBACK as v, shouldSuppressLocalSlackExecApprovalPrompt as vt, isSlackInvalidBlocksError as w, buildSlackNativeDataAccessibilityText as x, appendSlackNativeDataFallbackText as y, truncateSlackText as z };
|