@openclaw/slack 2026.9.4 → 2026.9.5
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/assets/activity.svg +40 -0
- package/assets/icon.png +0 -0
- package/dist/.setup/account-inspect-B86OaUEt.mjs +87 -0
- package/dist/.setup/accounts-C1FspRF-.mjs +187 -0
- package/dist/.setup/accounts.runtime-BpWv-6-2.mjs +2 -0
- package/dist/.setup/action-runtime-Aa-h24Fq.mjs +647 -0
- package/dist/.setup/action-runtime.runtime-DwH3NdpT.mjs +2 -0
- package/dist/.setup/actions-BvGUGk3w.mjs +935 -0
- package/dist/.setup/approval-handler.runtime-BcZNF-VP.mjs +305 -0
- package/dist/.setup/approval-message-updates-Cy1cxfBn.mjs +27 -0
- package/dist/.setup/channel-DrBm0NFw.mjs +1218 -0
- package/dist/.setup/channel-type-osC0XOES.mjs +106 -0
- package/dist/.setup/channel.setup-BSY5hzVz.mjs +646 -0
- package/dist/.setup/directory-config-CTs7YyuU.mjs +55 -0
- package/dist/.setup/directory-live-Btq0063Q.mjs +116 -0
- package/dist/.setup/doctor-contract-CtMUqjvk.mjs +186 -0
- package/dist/.setup/message-tool-api-DRnDCVdY.mjs +150 -0
- package/dist/.setup/monitor-Dw5uuKWM.mjs +13 -0
- package/dist/.setup/outbound-adapter-K3Ek1iSR.mjs +280 -0
- package/dist/.setup/pipeline.runtime-BZqGcbfi.mjs +4492 -0
- package/dist/.setup/plugin-routes-C3X0eVaK.mjs +22 -0
- package/dist/.setup/policy-Db_QWCZZ.mjs +72 -0
- package/dist/.setup/probe-64C6k3_Q.mjs +648 -0
- package/dist/.setup/provider-w36VTgZ3.mjs +7692 -0
- package/dist/.setup/relay-source-CDqY76Vp.mjs +270 -0
- package/dist/.setup/replies-CWFhjS9S.mjs +510 -0
- package/dist/.setup/reply-blocks-9uCeAJts.mjs +854 -0
- package/dist/.setup/resolve-channels-x8fX1SEt.mjs +96 -0
- package/dist/.setup/resolve-users-B8BpBnH2.mjs +123 -0
- package/dist/.setup/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/dist/.setup/runtime-setter-api-CMFvhrAr.mjs +3 -0
- package/dist/.setup/scopes-CJ-6l4v4.mjs +73 -0
- package/dist/.setup/secret-contract-api-D9UfYujm.mjs +3 -0
- package/dist/.setup/security-audit-BypHqcq5.mjs +41 -0
- package/dist/.setup/send-6GCb3lBP.mjs +1384 -0
- package/dist/.setup/send.runtime-BmqRP-WG.mjs +2 -0
- package/dist/.setup/session-status-BhG6pdiH.mjs +1741 -0
- package/dist/.setup/setup-plugin-api-DtCEByQB.mjs +3 -0
- package/dist/.setup/setup-surface-DsE0hsYY.mjs +148 -0
- package/dist/.setup/shared-BNmqCPgQ.mjs +288 -0
- package/dist/.setup/slash-commands.runtime-BpSH0b3q.mjs +2 -0
- package/dist/.setup/slash-dispatch.runtime-Io4ASZsY.mjs +7 -0
- package/dist/.setup/slash-skill-commands.runtime-Bi1JWZHY.mjs +2 -0
- package/dist/.setup/target-parsing-DEsPjngB.mjs +134 -0
- package/dist/.setup/targets-Cku2KCvg.mjs +13 -0
- package/dist/account-inspect-api.js +1 -1
- package/dist/api.js +17 -17
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/configured-state.js +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/http-routes-api.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message-tool-api.js +1 -1
- package/dist/runtime-api.js +13 -13
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/setup-entry.js +4 -3
- package/dist/setup-plugin-api.js +1 -1
- package/node_modules/@slack/bolt/dist/index.d.ts +1 -1
- package/node_modules/@slack/bolt/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/index.js +4 -1
- package/node_modules/@slack/bolt/dist/index.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts +1 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.d.ts +4 -3
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.js +42 -11
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.d.ts +5 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.js +14 -4
- package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.d.ts +3 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.js +11 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/buffer.buffer.d.ts +10 -5
- package/node_modules/@slack/bolt/node_modules/@types/node/buffer.d.ts +1 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/crypto.d.ts +2 -4
- package/node_modules/@slack/bolt/node_modules/@types/node/dgram.d.ts +119 -4
- package/node_modules/@slack/bolt/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
- package/node_modules/@slack/bolt/node_modules/@types/node/ffi.d.ts +1 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/fs/promises.d.ts +61 -65
- package/node_modules/@slack/bolt/node_modules/@types/node/fs.d.ts +86 -76
- package/node_modules/@slack/bolt/node_modules/@types/node/http.d.ts +18 -2
- package/node_modules/@slack/bolt/node_modules/@types/node/http2.d.ts +12 -4
- package/node_modules/@slack/bolt/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/inspector.d.ts +2 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/net.d.ts +108 -16
- package/node_modules/@slack/bolt/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/bolt/node_modules/@types/node/perf_hooks.d.ts +31 -19
- package/node_modules/@slack/bolt/node_modules/@types/node/process.d.ts +52 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/quic.d.ts +252 -42
- package/node_modules/@slack/bolt/node_modules/@types/node/sqlite.d.ts +6 -2
- package/node_modules/@slack/bolt/node_modules/@types/node/stream/iter.d.ts +4 -4
- package/node_modules/@slack/bolt/node_modules/@types/node/stream/web.d.ts +20 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/test.d.ts +36 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/tls.d.ts +50 -15
- package/node_modules/@slack/bolt/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/ts5.6/index.d.ts +1 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/ts5.7/index.d.ts +1 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/tty.d.ts +4 -3
- package/node_modules/@slack/bolt/node_modules/@types/node/vfs.d.ts +211 -0
- package/node_modules/@slack/bolt/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/@slack/bolt/node_modules/@types/node/zlib.d.ts +17 -0
- package/node_modules/@slack/bolt/node_modules/proxy-addr/HISTORY.md +60 -54
- package/node_modules/@slack/bolt/node_modules/proxy-addr/README.md +1 -1
- package/node_modules/@slack/bolt/node_modules/proxy-addr/index.js +32 -0
- package/node_modules/@slack/bolt/node_modules/proxy-addr/package.json +8 -4
- package/node_modules/@slack/bolt/node_modules/qs/.github/THREAT_MODEL.md +3 -3
- package/node_modules/@slack/bolt/node_modules/qs/CHANGELOG.md +15 -0
- package/node_modules/@slack/bolt/node_modules/qs/README.md +19 -1
- package/node_modules/@slack/bolt/node_modules/qs/dist/qs.js +21 -21
- package/node_modules/@slack/bolt/node_modules/qs/eslint.config.mjs +1 -1
- package/node_modules/@slack/bolt/node_modules/qs/lib/parse.js +3 -4
- package/node_modules/@slack/bolt/node_modules/qs/lib/stringify.js +23 -8
- package/node_modules/@slack/bolt/node_modules/qs/lib/utils.js +10 -3
- package/node_modules/@slack/bolt/node_modules/qs/package.json +4 -4
- package/node_modules/@slack/bolt/node_modules/qs/test/parse.js +192 -3
- package/node_modules/@slack/bolt/node_modules/qs/test/stringify.js +317 -0
- package/node_modules/@slack/bolt/node_modules/qs/test/utils.js +12 -0
- package/node_modules/@slack/bolt/node_modules/undici-types/client.d.ts +8 -3
- package/node_modules/@slack/bolt/node_modules/undici-types/connector.d.ts +1 -0
- package/node_modules/@slack/bolt/node_modules/undici-types/cookies.d.ts +1 -1
- package/node_modules/@slack/bolt/node_modules/undici-types/dispatcher.d.ts +3 -3
- package/node_modules/@slack/bolt/node_modules/undici-types/errors.d.ts +10 -0
- package/node_modules/@slack/bolt/node_modules/undici-types/fetch.d.ts +5 -1
- package/node_modules/@slack/bolt/node_modules/undici-types/handlers.d.ts +2 -0
- package/node_modules/@slack/bolt/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/@slack/bolt/node_modules/undici-types/mock-interceptor.d.ts +5 -1
- package/node_modules/@slack/bolt/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/bolt/node_modules/undici-types/proxy-agent.d.ts +7 -0
- package/node_modules/@slack/bolt/package.json +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +0 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +119 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/ffi.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +61 -65
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +86 -76
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +108 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +31 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/quic.d.ts +43 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/iter.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +20 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +50 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/index.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/index.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/vfs.d.ts +211 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +17 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +8 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/cookies.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +10 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +5 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/handlers.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-interceptor.d.ts +5 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/proxy-agent.d.ts +7 -0
- package/node_modules/typebox/build/compile/validator.d.mts +1 -1
- package/node_modules/typebox/build/compile/validator.mjs +1 -1
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +7 -5
- package/node_modules/typebox/build/format/iri.mjs +5 -1
- package/node_modules/typebox/build/guard/emit.mjs +2 -4
- package/node_modules/typebox/build/guard/guard.mjs +6 -18
- package/node_modules/typebox/build/guard/string.mjs +16 -24
- package/node_modules/typebox/build/schema/build.mjs +2 -2
- package/node_modules/typebox/build/schema/check.mjs +1 -1
- package/node_modules/typebox/build/schema/compile.d.mts +3 -2
- package/node_modules/typebox/build/schema/compile.mjs +8 -8
- package/node_modules/typebox/build/schema/engine/_context.d.mts +6 -7
- package/node_modules/typebox/build/schema/engine/_context.mjs +23 -15
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +2 -2
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +3 -3
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +5 -5
- package/node_modules/typebox/build/schema/engine/_refine.mjs +4 -7
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +34 -16
- package/node_modules/typebox/build/schema/engine/_stack.mjs +148 -104
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +8 -8
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +26 -18
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/allOf.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +5 -10
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/boolean.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/const.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/const.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/contains.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/contains.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +3 -6
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +11 -7
- package/node_modules/typebox/build/schema/engine/enum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/enum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/format.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/format.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/if.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/if.mjs +7 -15
- package/node_modules/typebox/build/schema/engine/items.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/items.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/maximum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minContains.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +5 -5
- package/node_modules/typebox/build/schema/engine/minItems.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minLength.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/minimum.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/not.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/not.mjs +4 -8
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +6 -11
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -7
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/properties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/properties.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +4 -10
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +11 -7
- package/node_modules/typebox/build/schema/engine/ref.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/ref.mjs +19 -15
- package/node_modules/typebox/build/schema/engine/required.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/required.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/schema.d.mts +7 -7
- package/node_modules/typebox/build/schema/engine/schema.mjs +137 -133
- package/node_modules/typebox/build/schema/engine/type.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/type.mjs +2 -6
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +5 -9
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +5 -9
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +4 -4
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +2 -6
- package/node_modules/typebox/build/schema/errors.d.mts +2 -2
- package/node_modules/typebox/build/schema/errors.mjs +8 -14
- package/node_modules/typebox/build/schema/intern/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
- package/node_modules/typebox/build/schema/intern/intern.d.mts +11 -0
- package/node_modules/typebox/build/schema/intern/intern.mjs +293 -0
- package/node_modules/typebox/build/schema/meta/draft_2019_09.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_2019_09.mjs +288 -0
- package/node_modules/typebox/build/schema/meta/draft_2020_12.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_2020_12.mjs +300 -0
- package/node_modules/typebox/build/schema/meta/draft_3.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_3.mjs +143 -0
- package/node_modules/typebox/build/schema/meta/draft_4.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_4.mjs +149 -0
- package/node_modules/typebox/build/schema/meta/draft_6.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_6.mjs +155 -0
- package/node_modules/typebox/build/schema/meta/draft_7.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_7.mjs +172 -0
- package/node_modules/typebox/build/schema/meta/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/index.mjs +2 -0
- package/node_modules/typebox/build/schema/meta/meta.d.mts +9 -0
- package/node_modules/typebox/build/schema/meta/meta.mjs +15 -0
- package/node_modules/typebox/build/schema/meta/schema.d.mts +6 -0
- package/node_modules/typebox/build/schema/meta/schema.mjs +1 -0
- package/node_modules/typebox/build/schema/parse.d.mts +1 -0
- package/node_modules/typebox/build/schema/parse.mjs +10 -5
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +8 -3
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +268 -139
- package/node_modules/typebox/build/schema/schema.d.mts +2 -0
- package/node_modules/typebox/build/schema/schema.mjs +2 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +2 -12
- package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +59 -89
- package/node_modules/zod/README.md +27 -0
- package/node_modules/zod/compile.cjs +77 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +2 -2
- package/node_modules/zod/index.d.cts +1 -2
- package/node_modules/zod/index.d.ts +1 -2
- package/node_modules/zod/index.js +5 -2
- package/node_modules/zod/package.json +13 -2
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +5 -2
- package/node_modules/zod/src/v3/ZodError.ts +22 -12
- package/node_modules/zod/src/v3/tests/error.test.ts +35 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +18 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +1 -2
- package/node_modules/zod/src/v3/tests/object.test.ts +3 -6
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/string.test.ts +6 -0
- package/node_modules/zod/src/v3/types.ts +5 -5
- package/node_modules/zod/src/v4/classic/checks.ts +1 -0
- package/node_modules/zod/src/v4/classic/compat.ts +26 -18
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +59 -44
- package/node_modules/zod/src/v4/classic/external.ts +12 -9
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +140 -78
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +2 -2
- package/node_modules/zod/src/v4/classic/iso.ts +2 -72
- package/node_modules/zod/src/v4/classic/parse.ts +10 -4
- package/node_modules/zod/src/v4/classic/schemas.ts +452 -262
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +2 -2
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +135 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +30 -1
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +278 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +1 -2
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +2 -1
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +2 -2
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +720 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +30 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +32 -18
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +31 -7
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +155 -13
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +11 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +112 -2
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +274 -6
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +425 -10
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +31 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +2 -9
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +1 -2
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +21 -2
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +281 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +47 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +136 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +183 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +3 -10
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +36 -1
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +12 -1
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +12 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +46 -9
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +245 -12
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +234 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +49 -16
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +51 -4
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +20 -2
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +186 -18
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +33 -2
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +9 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +127 -5
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +18 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +11 -2
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +1585 -173
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +45 -30
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +39 -2
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +2 -2
- package/node_modules/zod/src/v4/core/api.ts +48 -12
- package/node_modules/zod/src/v4/core/checks.ts +57 -44
- package/node_modules/zod/src/v4/core/compile.ts +2188 -0
- package/node_modules/zod/src/v4/core/core.ts +98 -19
- package/node_modules/zod/src/v4/core/doc.ts +11 -7
- package/node_modules/zod/src/v4/core/errors.ts +115 -24
- package/node_modules/zod/src/v4/core/index.ts +3 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +6 -1
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +257 -93
- package/node_modules/zod/src/v4/core/json-schema.ts +2 -1
- package/node_modules/zod/src/v4/core/memoizer.ts +284 -0
- package/node_modules/zod/src/v4/core/parse.ts +131 -38
- package/node_modules/zod/src/v4/core/regexes.ts +30 -13
- package/node_modules/zod/src/v4/core/registries.ts +2 -2
- package/node_modules/zod/src/v4/core/schemas.ts +759 -461
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +969 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +1639 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +1 -2
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +1 -2
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +3 -3
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +31 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +275 -42
- package/node_modules/zod/src/v4/core/util.ts +268 -42
- package/node_modules/zod/src/v4/core/versions.ts +2 -2
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/index.ts +3 -3
- package/node_modules/zod/src/v4/locales/ar.ts +3 -0
- package/node_modules/zod/src/v4/locales/az.ts +3 -0
- package/node_modules/zod/src/v4/locales/be.ts +10 -0
- package/node_modules/zod/src/v4/locales/bg.ts +3 -0
- package/node_modules/zod/src/v4/locales/bn.ts +121 -0
- package/node_modules/zod/src/v4/locales/ca.ts +3 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +138 -0
- package/node_modules/zod/src/v4/locales/cs.ts +3 -0
- package/node_modules/zod/src/v4/locales/da.ts +5 -2
- package/node_modules/zod/src/v4/locales/de.ts +3 -0
- package/node_modules/zod/src/v4/locales/el.ts +1 -0
- package/node_modules/zod/src/v4/locales/en.ts +15 -4
- package/node_modules/zod/src/v4/locales/eo.ts +3 -0
- package/node_modules/zod/src/v4/locales/es.ts +2 -0
- package/node_modules/zod/src/v4/locales/fa.ts +3 -0
- package/node_modules/zod/src/v4/locales/fi.ts +3 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +3 -0
- package/node_modules/zod/src/v4/locales/fr.ts +19 -14
- package/node_modules/zod/src/v4/locales/gu.ts +121 -0
- package/node_modules/zod/src/v4/locales/he.ts +6 -1
- package/node_modules/zod/src/v4/locales/hi.ts +124 -0
- package/node_modules/zod/src/v4/locales/hr.ts +2 -0
- package/node_modules/zod/src/v4/locales/hu.ts +3 -0
- package/node_modules/zod/src/v4/locales/hy.ts +9 -0
- package/node_modules/zod/src/v4/locales/id.ts +3 -0
- package/node_modules/zod/src/v4/locales/index.ts +10 -0
- package/node_modules/zod/src/v4/locales/is.ts +3 -0
- package/node_modules/zod/src/v4/locales/it.ts +3 -0
- package/node_modules/zod/src/v4/locales/ja.ts +3 -0
- package/node_modules/zod/src/v4/locales/ka.ts +3 -0
- package/node_modules/zod/src/v4/locales/km.ts +3 -0
- package/node_modules/zod/src/v4/locales/kn.ts +124 -0
- package/node_modules/zod/src/v4/locales/ko.ts +3 -0
- package/node_modules/zod/src/v4/locales/lt.ts +2 -0
- package/node_modules/zod/src/v4/locales/mk.ts +3 -0
- package/node_modules/zod/src/v4/locales/ms.ts +3 -0
- package/node_modules/zod/src/v4/locales/ne.ts +126 -0
- package/node_modules/zod/src/v4/locales/nl.ts +3 -0
- package/node_modules/zod/src/v4/locales/nn.ts +119 -0
- package/node_modules/zod/src/v4/locales/no.ts +5 -2
- package/node_modules/zod/src/v4/locales/ota.ts +3 -0
- package/node_modules/zod/src/v4/locales/pl.ts +3 -0
- package/node_modules/zod/src/v4/locales/ps.ts +3 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +159 -0
- package/node_modules/zod/src/v4/locales/pt.ts +99 -58
- package/node_modules/zod/src/v4/locales/ro.ts +1 -0
- package/node_modules/zod/src/v4/locales/ru.ts +10 -0
- package/node_modules/zod/src/v4/locales/sk.ts +121 -0
- package/node_modules/zod/src/v4/locales/sl.ts +3 -0
- package/node_modules/zod/src/v4/locales/sv.ts +5 -2
- package/node_modules/zod/src/v4/locales/ta.ts +3 -0
- package/node_modules/zod/src/v4/locales/th.ts +3 -0
- package/node_modules/zod/src/v4/locales/tk.ts +111 -0
- package/node_modules/zod/src/v4/locales/tr.ts +3 -0
- package/node_modules/zod/src/v4/locales/uk.ts +3 -0
- package/node_modules/zod/src/v4/locales/ur.ts +3 -0
- package/node_modules/zod/src/v4/locales/uz.ts +1 -0
- package/node_modules/zod/src/v4/locales/vi.ts +3 -0
- package/node_modules/zod/src/v4/locales/yo.ts +3 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +3 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +3 -0
- package/node_modules/zod/src/v4/mini/checks.ts +1 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +10 -1
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/parse.ts +2 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +135 -56
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +33 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +62 -1
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +35 -1
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +23 -4
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +9 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +72 -5
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +65 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +21 -0
- package/node_modules/zod/v3/ZodError.cjs +22 -12
- package/node_modules/zod/v3/ZodError.d.cts +1 -1
- package/node_modules/zod/v3/ZodError.d.ts +1 -1
- package/node_modules/zod/v3/ZodError.js +22 -12
- package/node_modules/zod/v3/types.cjs +7 -5
- package/node_modules/zod/v3/types.js +7 -5
- package/node_modules/zod/v4/classic/checks.cjs +2 -1
- package/node_modules/zod/v4/classic/checks.d.cts +1 -1
- package/node_modules/zod/v4/classic/checks.d.ts +1 -1
- package/node_modules/zod/v4/classic/checks.js +1 -1
- package/node_modules/zod/v4/classic/compat.d.cts +9 -11
- package/node_modules/zod/v4/classic/compat.d.ts +9 -11
- package/node_modules/zod/v4/classic/deep-partial.cjs +39 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +43 -34
- package/node_modules/zod/v4/classic/errors.d.cts +3 -4
- package/node_modules/zod/v4/classic/errors.d.ts +3 -4
- package/node_modules/zod/v4/classic/errors.js +43 -34
- package/node_modules/zod/v4/classic/external.cjs +30 -27
- package/node_modules/zod/v4/classic/external.d.cts +5 -2
- package/node_modules/zod/v4/classic/external.d.ts +5 -2
- package/node_modules/zod/v4/classic/external.js +5 -8
- package/node_modules/zod/v4/classic/from-json-schema.cjs +136 -75
- package/node_modules/zod/v4/classic/from-json-schema.js +136 -75
- package/node_modules/zod/v4/classic/in-out.cjs +63 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +2 -2
- package/node_modules/zod/v4/classic/index.d.cts +1 -2
- package/node_modules/zod/v4/classic/index.d.ts +1 -2
- package/node_modules/zod/v4/classic/index.js +2 -2
- package/node_modules/zod/v4/classic/iso.cjs +11 -22
- package/node_modules/zod/v4/classic/iso.d.cts +2 -17
- package/node_modules/zod/v4/classic/iso.d.ts +2 -17
- package/node_modules/zod/v4/classic/iso.js +2 -17
- package/node_modules/zod/v4/classic/parse.cjs +4 -1
- package/node_modules/zod/v4/classic/parse.d.cts +17 -4
- package/node_modules/zod/v4/classic/parse.d.ts +17 -4
- package/node_modules/zod/v4/classic/parse.js +1 -0
- package/node_modules/zod/v4/classic/schemas.cjs +498 -398
- package/node_modules/zod/v4/classic/schemas.d.cts +53 -18
- package/node_modules/zod/v4/classic/schemas.d.ts +53 -18
- package/node_modules/zod/v4/classic/schemas.js +492 -396
- package/node_modules/zod/v4/core/api.cjs +23 -4
- package/node_modules/zod/v4/core/api.d.cts +13 -9
- package/node_modules/zod/v4/core/api.d.ts +13 -9
- package/node_modules/zod/v4/core/api.js +21 -4
- package/node_modules/zod/v4/core/checks.cjs +37 -31
- package/node_modules/zod/v4/core/checks.d.cts +13 -13
- package/node_modules/zod/v4/core/checks.d.ts +13 -13
- package/node_modules/zod/v4/core/checks.js +37 -31
- package/node_modules/zod/v4/core/compile.cjs +1813 -0
- package/node_modules/zod/v4/core/compile.d.cts +51 -0
- package/node_modules/zod/v4/core/compile.d.ts +51 -0
- package/node_modules/zod/v4/core/compile.js +1783 -0
- package/node_modules/zod/v4/core/core.cjs +81 -18
- package/node_modules/zod/v4/core/core.d.cts +16 -4
- package/node_modules/zod/v4/core/core.d.ts +16 -4
- package/node_modules/zod/v4/core/core.js +82 -19
- package/node_modules/zod/v4/core/doc.cjs +5 -7
- package/node_modules/zod/v4/core/doc.d.cts +3 -1
- package/node_modules/zod/v4/core/doc.d.ts +3 -1
- package/node_modules/zod/v4/core/doc.js +5 -7
- package/node_modules/zod/v4/core/errors.cjs +110 -25
- package/node_modules/zod/v4/core/errors.d.cts +4 -0
- package/node_modules/zod/v4/core/errors.d.ts +4 -0
- package/node_modules/zod/v4/core/errors.js +110 -25
- package/node_modules/zod/v4/core/index.cjs +5 -1
- package/node_modules/zod/v4/core/index.d.cts +3 -0
- package/node_modules/zod/v4/core/index.d.ts +3 -0
- package/node_modules/zod/v4/core/index.js +3 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +4 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +2 -2
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +2 -2
- package/node_modules/zod/v4/core/json-schema-generator.js +4 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +264 -95
- package/node_modules/zod/v4/core/json-schema-processors.js +243 -97
- package/node_modules/zod/v4/core/json-schema.d.cts +2 -1
- package/node_modules/zod/v4/core/json-schema.d.ts +2 -1
- package/node_modules/zod/v4/core/memoizer.cjs +272 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +265 -0
- package/node_modules/zod/v4/core/parse.cjs +96 -34
- package/node_modules/zod/v4/core/parse.d.cts +14 -11
- package/node_modules/zod/v4/core/parse.d.ts +14 -11
- package/node_modules/zod/v4/core/parse.js +94 -33
- package/node_modules/zod/v4/core/regexes.cjs +27 -15
- package/node_modules/zod/v4/core/regexes.d.cts +2 -0
- package/node_modules/zod/v4/core/regexes.d.ts +2 -0
- package/node_modules/zod/v4/core/regexes.js +24 -13
- package/node_modules/zod/v4/core/registries.js +2 -2
- package/node_modules/zod/v4/core/schemas.cjs +537 -326
- package/node_modules/zod/v4/core/schemas.d.cts +100 -31
- package/node_modules/zod/v4/core/schemas.d.ts +100 -31
- package/node_modules/zod/v4/core/schemas.js +526 -325
- package/node_modules/zod/v4/core/to-json-schema.cjs +242 -39
- package/node_modules/zod/v4/core/to-json-schema.d.cts +42 -3
- package/node_modules/zod/v4/core/to-json-schema.d.ts +42 -3
- package/node_modules/zod/v4/core/to-json-schema.js +241 -39
- package/node_modules/zod/v4/core/util.cjs +212 -31
- package/node_modules/zod/v4/core/util.d.cts +58 -1
- package/node_modules/zod/v4/core/util.d.ts +58 -1
- package/node_modules/zod/v4/core/util.js +202 -30
- package/node_modules/zod/v4/core/versions.cjs +2 -2
- package/node_modules/zod/v4/core/versions.d.cts +1 -1
- package/node_modules/zod/v4/core/versions.d.ts +1 -1
- package/node_modules/zod/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/core/visit.cjs +195 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +15 -5
- package/node_modules/zod/v4/index.d.cts +2 -2
- package/node_modules/zod/v4/index.d.ts +2 -2
- package/node_modules/zod/v4/index.js +3 -2
- package/node_modules/zod/v4/locales/ar.cjs +3 -0
- package/node_modules/zod/v4/locales/ar.js +3 -0
- package/node_modules/zod/v4/locales/az.cjs +3 -0
- package/node_modules/zod/v4/locales/az.js +3 -0
- package/node_modules/zod/v4/locales/be.cjs +10 -0
- package/node_modules/zod/v4/locales/be.js +10 -0
- package/node_modules/zod/v4/locales/bg.cjs +3 -0
- package/node_modules/zod/v4/locales/bg.js +3 -0
- package/node_modules/zod/v4/locales/bn.cjs +138 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +111 -0
- package/node_modules/zod/v4/locales/ca.cjs +3 -0
- package/node_modules/zod/v4/locales/ca.js +3 -0
- package/node_modules/zod/v4/locales/ckb.cjs +158 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +131 -0
- package/node_modules/zod/v4/locales/cs.cjs +3 -0
- package/node_modules/zod/v4/locales/cs.js +3 -0
- package/node_modules/zod/v4/locales/da.cjs +5 -2
- package/node_modules/zod/v4/locales/da.js +5 -2
- package/node_modules/zod/v4/locales/de.cjs +3 -0
- package/node_modules/zod/v4/locales/de.js +3 -0
- package/node_modules/zod/v4/locales/el.cjs +1 -0
- package/node_modules/zod/v4/locales/el.js +1 -0
- package/node_modules/zod/v4/locales/en.cjs +14 -4
- package/node_modules/zod/v4/locales/en.js +14 -4
- package/node_modules/zod/v4/locales/eo.cjs +3 -0
- package/node_modules/zod/v4/locales/eo.js +3 -0
- package/node_modules/zod/v4/locales/es.cjs +2 -0
- package/node_modules/zod/v4/locales/es.js +2 -0
- package/node_modules/zod/v4/locales/fa.cjs +3 -0
- package/node_modules/zod/v4/locales/fa.js +3 -0
- package/node_modules/zod/v4/locales/fi.cjs +3 -0
- package/node_modules/zod/v4/locales/fi.js +3 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +3 -0
- package/node_modules/zod/v4/locales/fr-CA.js +3 -0
- package/node_modules/zod/v4/locales/fr.cjs +16 -14
- package/node_modules/zod/v4/locales/fr.js +16 -14
- package/node_modules/zod/v4/locales/gu.cjs +138 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +111 -0
- package/node_modules/zod/v4/locales/he.cjs +5 -0
- package/node_modules/zod/v4/locales/he.js +5 -0
- package/node_modules/zod/v4/locales/hi.cjs +136 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +109 -0
- package/node_modules/zod/v4/locales/hr.cjs +2 -0
- package/node_modules/zod/v4/locales/hr.js +2 -0
- package/node_modules/zod/v4/locales/hu.cjs +3 -0
- package/node_modules/zod/v4/locales/hu.js +3 -0
- package/node_modules/zod/v4/locales/hy.cjs +9 -0
- package/node_modules/zod/v4/locales/hy.js +9 -0
- package/node_modules/zod/v4/locales/id.cjs +3 -0
- package/node_modules/zod/v4/locales/id.js +3 -0
- package/node_modules/zod/v4/locales/index.cjs +22 -2
- package/node_modules/zod/v4/locales/index.d.cts +10 -0
- package/node_modules/zod/v4/locales/index.d.ts +10 -0
- package/node_modules/zod/v4/locales/index.js +10 -0
- package/node_modules/zod/v4/locales/is.cjs +3 -0
- package/node_modules/zod/v4/locales/is.js +3 -0
- package/node_modules/zod/v4/locales/it.cjs +3 -0
- package/node_modules/zod/v4/locales/it.js +3 -0
- package/node_modules/zod/v4/locales/ja.cjs +3 -0
- package/node_modules/zod/v4/locales/ja.js +3 -0
- package/node_modules/zod/v4/locales/ka.cjs +3 -0
- package/node_modules/zod/v4/locales/ka.js +3 -0
- package/node_modules/zod/v4/locales/km.cjs +3 -0
- package/node_modules/zod/v4/locales/km.js +3 -0
- package/node_modules/zod/v4/locales/kn.cjs +141 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +114 -0
- package/node_modules/zod/v4/locales/ko.cjs +3 -0
- package/node_modules/zod/v4/locales/ko.js +3 -0
- package/node_modules/zod/v4/locales/lt.cjs +2 -0
- package/node_modules/zod/v4/locales/lt.js +2 -0
- package/node_modules/zod/v4/locales/mk.cjs +3 -0
- package/node_modules/zod/v4/locales/mk.js +3 -0
- package/node_modules/zod/v4/locales/ms.cjs +3 -0
- package/node_modules/zod/v4/locales/ms.js +3 -0
- package/node_modules/zod/v4/locales/ne.cjs +136 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +109 -0
- package/node_modules/zod/v4/locales/nl.cjs +3 -0
- package/node_modules/zod/v4/locales/nl.js +3 -0
- package/node_modules/zod/v4/locales/nn.cjs +138 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +111 -0
- package/node_modules/zod/v4/locales/no.cjs +5 -2
- package/node_modules/zod/v4/locales/no.js +5 -2
- package/node_modules/zod/v4/locales/ota.cjs +3 -0
- package/node_modules/zod/v4/locales/ota.js +3 -0
- package/node_modules/zod/v4/locales/pl.cjs +3 -0
- package/node_modules/zod/v4/locales/pl.js +3 -0
- package/node_modules/zod/v4/locales/ps.cjs +3 -0
- package/node_modules/zod/v4/locales/ps.js +3 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +168 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +141 -0
- package/node_modules/zod/v4/locales/pt.cjs +87 -55
- package/node_modules/zod/v4/locales/pt.js +87 -55
- package/node_modules/zod/v4/locales/ro.cjs +1 -0
- package/node_modules/zod/v4/locales/ro.js +1 -0
- package/node_modules/zod/v4/locales/ru.cjs +10 -0
- package/node_modules/zod/v4/locales/ru.js +10 -0
- package/node_modules/zod/v4/locales/sk.cjs +141 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +114 -0
- package/node_modules/zod/v4/locales/sl.cjs +3 -0
- package/node_modules/zod/v4/locales/sl.js +3 -0
- package/node_modules/zod/v4/locales/sv.cjs +5 -2
- package/node_modules/zod/v4/locales/sv.js +5 -2
- package/node_modules/zod/v4/locales/ta.cjs +3 -0
- package/node_modules/zod/v4/locales/ta.js +3 -0
- package/node_modules/zod/v4/locales/th.cjs +3 -0
- package/node_modules/zod/v4/locales/th.js +3 -0
- package/node_modules/zod/v4/locales/tk.cjs +132 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +105 -0
- package/node_modules/zod/v4/locales/tr.cjs +3 -0
- package/node_modules/zod/v4/locales/tr.js +3 -0
- package/node_modules/zod/v4/locales/uk.cjs +3 -0
- package/node_modules/zod/v4/locales/uk.js +3 -0
- package/node_modules/zod/v4/locales/ur.cjs +3 -0
- package/node_modules/zod/v4/locales/ur.js +3 -0
- package/node_modules/zod/v4/locales/uz.cjs +1 -0
- package/node_modules/zod/v4/locales/uz.js +1 -0
- package/node_modules/zod/v4/locales/vi.cjs +3 -0
- package/node_modules/zod/v4/locales/vi.js +3 -0
- package/node_modules/zod/v4/locales/yo.cjs +3 -0
- package/node_modules/zod/v4/locales/yo.js +3 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +3 -0
- package/node_modules/zod/v4/locales/zh-CN.js +3 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +3 -0
- package/node_modules/zod/v4/locales/zh-TW.js +3 -0
- package/node_modules/zod/v4/mini/checks.cjs +2 -1
- package/node_modules/zod/v4/mini/checks.d.cts +1 -1
- package/node_modules/zod/v4/mini/checks.d.ts +1 -1
- package/node_modules/zod/v4/mini/checks.js +1 -1
- package/node_modules/zod/v4/mini/deep-partial.cjs +39 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +12 -1
- package/node_modules/zod/v4/mini/external.d.cts +5 -2
- package/node_modules/zod/v4/mini/external.d.ts +5 -2
- package/node_modules/zod/v4/mini/external.js +3 -1
- package/node_modules/zod/v4/mini/in-out.cjs +63 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/parse.cjs +3 -1
- package/node_modules/zod/v4/mini/parse.d.cts +1 -1
- package/node_modules/zod/v4/mini/parse.d.ts +1 -1
- package/node_modules/zod/v4/mini/parse.js +1 -1
- package/node_modules/zod/v4/mini/schemas.cjs +75 -47
- package/node_modules/zod/v4/mini/schemas.d.cts +43 -13
- package/node_modules/zod/v4/mini/schemas.d.ts +43 -13
- package/node_modules/zod/v4/mini/schemas.js +71 -45
- package/openclaw.plugin.json +31 -71
- package/package.json +10 -11
- package/dist/account-inspect-C3sePHWa.js +0 -87
- package/dist/accounts-Dm_H77gH.js +0 -187
- package/dist/accounts.runtime-DRuEK6mL.js +0 -2
- package/dist/action-runtime-B9OuFiGA.js +0 -644
- package/dist/action-runtime.runtime-Ck8jcJV1.js +0 -2
- package/dist/actions-mLOa06lO.js +0 -928
- package/dist/approval-handler.runtime-Dg3MWNVV.js +0 -303
- package/dist/channel-DFRIGeyd.js +0 -1208
- package/dist/channel-type-COtzGBSC.js +0 -105
- package/dist/channel.setup-DZZFSOoo.js +0 -606
- package/dist/directory-config-Bmw4ykSy.js +0 -55
- package/dist/directory-live-lgrHdjAZ.js +0 -116
- package/dist/doctor-contract-BNjw9bxb.js +0 -186
- package/dist/message-tool-api-uNEfQYGY.js +0 -156
- package/dist/monitor-f00RCEB4.js +0 -13
- package/dist/outbound-adapter-BpbypQqC.js +0 -274
- package/dist/pipeline.runtime-BakleNSy.js +0 -4382
- package/dist/plugin-routes-CLp4obpN.js +0 -22
- package/dist/policy-BRmkJFsS.js +0 -72
- package/dist/probe-DpWLeifT.js +0 -609
- package/dist/provider-vY0lRzNo.js +0 -7573
- package/dist/relay-source-Bsx8Gbmu.js +0 -264
- package/dist/replies-DUe6ydtU.js +0 -517
- package/dist/reply-blocks-B4hOhLRu.js +0 -825
- package/dist/resolve-channels-DrAfYhDi.js +0 -114
- package/dist/resolve-users-BHQ-q15T.js +0 -141
- package/dist/rolldown-runtime-8H4AJuhK.js +0 -14
- package/dist/scopes-DhzG6IDV.js +0 -73
- package/dist/security-audit-B_yKr7MW.js +0 -41
- package/dist/send-BQ2bNPlQ.js +0 -1368
- package/dist/send.runtime-dE3mWx2v.js +0 -2
- package/dist/session-status-B59iRt0l.js +0 -1729
- package/dist/setup-surface-BjCh94HU.js +0 -148
- package/dist/shared-DmHcvFcF.js +0 -288
- package/dist/slash-commands.runtime-BTTMlmwy.js +0 -19
- package/dist/slash-dispatch.runtime-Dr9LEs9d.js +0 -33
- package/dist/slash-skill-commands.runtime-CD1J2ODY.js +0 -7
- package/dist/target-parsing-PbxGDbr9.js +0 -116
- package/dist/targets-7FexXJ62.js +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/LICENSE +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/README.md +0 -66
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.d.ts +0 -94
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.js +0 -98
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/README.md +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +0 -68
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +0 -1077
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +0 -711
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +0 -466
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +0 -1799
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +0 -1361
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +0 -432
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +0 -93
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/constants.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +0 -3954
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +0 -537
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +0 -497
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +0 -876
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +0 -150
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +0 -1008
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/ffi.d.ts +0 -486
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +0 -1481
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +0 -4793
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +0 -2202
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +0 -2489
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +0 -400
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +0 -115
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +0 -264
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +0 -4406
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -726
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +0 -970
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +0 -498
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/package.json +0 -155
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +0 -178
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +0 -605
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +0 -2216
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +0 -89
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +0 -139
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/quic.d.ts +0 -1943
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +0 -158
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +0 -508
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +0 -420
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +0 -47
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +0 -1136
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +0 -114
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/stream/iter.d.ts +0 -452
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +0 -300
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +0 -1806
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +0 -2450
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -149
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +0 -1193
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +0 -103
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +0 -117
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +0 -117
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +0 -225
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +0 -556
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +0 -1677
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +0 -1059
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +0 -1136
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +0 -131
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +0 -669
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +0 -589
- package/node_modules/@slack/socket-mode/node_modules/@slack/logger/package.json +0 -42
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/LICENSE +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/README.md +0 -32
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +0 -953
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/block-elements.js +0 -4
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/block-elements.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/blocks.d.ts +0 -474
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/blocks.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/blocks.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts +0 -237
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/composition-objects.js +0 -4
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/composition-objects.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/extensions.d.ts +0 -88
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/extensions.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/extensions.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/block-kit/extensions.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/calls.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/calls.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/calls.js +0 -6
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/calls.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/chunk.d.ts +0 -52
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/chunk.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/chunk.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/chunk.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/bot-profile.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/bot-profile.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/bot-profile.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/bot-profile.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/status-emoji-display-info.d.ts +0 -6
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/status-emoji-display-info.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/status-emoji-display-info.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/common/status-emoji-display-info.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/dialog.d.ts +0 -36
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/dialog.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/dialog.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/dialog.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/app.d.ts +0 -232
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/app.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/app.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/app.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/assistant.d.ts +0 -29
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/assistant.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/assistant.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/assistant.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/call.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/call.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/call.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/call.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/channel.d.ts +0 -85
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/channel.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/channel.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/channel.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/dnd.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/dnd.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/dnd.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/dnd.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/email.d.ts +0 -6
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/email.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/email.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/email.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/emoji.d.ts +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/emoji.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/emoji.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/emoji.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/entity-details-requested.d.ts +0 -21
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/entity-details-requested.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/entity-details-requested.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/entity-details-requested.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/file.d.ts +0 -60
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/file.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/file.js +0 -4
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/file.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/function.d.ts +0 -33
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/function.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/function.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/function.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/grid-migration.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/grid-migration.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/grid-migration.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/grid-migration.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/group.d.ts +0 -55
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/group.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/group.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/group.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/im.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/im.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/im.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/im.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/index.d.ts +0 -60
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/index.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/index.js +0 -43
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/index.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/invite.d.ts +0 -20
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/invite.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/invite.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/invite.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/link-shared.d.ts +0 -16
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/link-shared.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/link-shared.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/link-shared.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/member.d.ts +0 -19
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/member.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/member.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/member.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message-metadata.d.ts +0 -38
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message-metadata.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message-metadata.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message-metadata.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message.d.ts +0 -308
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/message.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/pin.d.ts +0 -60
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/pin.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/pin.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/pin.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/reaction.d.ts +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/reaction.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/reaction.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/reaction.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/shared-channel.d.ts +0 -134
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/shared-channel.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/shared-channel.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/shared-channel.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/star.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/star.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/star.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/star.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/steps-from-apps.d.ts +0 -82
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/steps-from-apps.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/steps-from-apps.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/steps-from-apps.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/subteam.d.ts +0 -66
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/subteam.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/subteam.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/subteam.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/team.d.ts +0 -99
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/team.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/team.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/team.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/token.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/token.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/token.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/token.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/user.d.ts +0 -313
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/user.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/user.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/events/user.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/index.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/index.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/index.js +0 -28
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/index.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-attachments.d.ts +0 -171
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-attachments.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-attachments.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-attachments.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-metadata.d.ts +0 -281
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-metadata.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-metadata.js +0 -27
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/message-metadata.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/views.d.ts +0 -71
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/views.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/views.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/dist/views.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/types/package.json +0 -47
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/LICENSE +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/README.md +0 -390
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/WebClient.d.ts +0 -255
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/WebClient.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/WebClient.js +0 -750
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/WebClient.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/chat-stream.d.ts +0 -92
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/chat-stream.js +0 -193
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/chat-stream.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/errors.d.ts +0 -58
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/errors.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/errors.js +0 -89
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/errors.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/file-upload.d.ts +0 -89
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/file-upload.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/file-upload.js +0 -355
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/file-upload.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/helpers.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/helpers.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/helpers.js +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/helpers.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/index.d.ts +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/index.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/index.js +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/index.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/instrument.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/instrument.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/instrument.js +0 -87
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/instrument.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/logger.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/logger.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/logger.js +0 -29
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/logger.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/methods.d.ts +0 -1572
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/methods.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/methods.js +0 -1610
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/methods.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/retry-policies.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/retry-policies.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/retry-policies.js +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/retry-policies.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/helpers.d.ts +0 -5
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/helpers.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/helpers.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/helpers.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/analytics.d.ts +0 -42
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/analytics.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/analytics.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/analytics.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/apps.d.ts +0 -74
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/apps.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/apps.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/apps.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/auth.d.ts +0 -21
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/auth.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/auth.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/auth.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/barriers.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/barriers.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/barriers.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/barriers.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/conversations.d.ts +0 -144
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/conversations.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/conversations.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/conversations.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/emoji.d.ts +0 -32
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/emoji.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/emoji.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/emoji.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/functions.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/functions.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/functions.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/functions.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/inviteRequests.d.ts +0 -17
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/inviteRequests.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/inviteRequests.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/inviteRequests.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/roles.d.ts +0 -29
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/roles.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/roles.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/roles.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/teams.d.ts +0 -40
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/teams.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/teams.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/teams.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/usergroups.d.ts +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/usergroups.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/usergroups.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/usergroups.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/users.d.ts +0 -116
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/users.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/users.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/users.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/workflows.d.ts +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/workflows.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/workflows.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/admin/workflows.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/api.d.ts +0 -6
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/api.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/api.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/api.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/apps.d.ts +0 -29
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/apps.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/apps.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/apps.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/assistant.d.ts +0 -52
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/assistant.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/assistant.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/assistant.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/auth.d.ts +0 -19
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/auth.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/auth.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/auth.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bookmarks.d.ts +0 -28
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bookmarks.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bookmarks.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bookmarks.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bots.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bots.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bots.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/bots.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/calls.d.ts +0 -56
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/calls.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/calls.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/calls.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +0 -78
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/canvas.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/canvas.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/chat.d.ts +0 -291
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/chat.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/chat.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/common.d.ts +0 -127
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/common.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/common.js +0 -4
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/common.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/conversations.d.ts +0 -168
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/conversations.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/conversations.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/conversations.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dialog.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dialog.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dialog.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dialog.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dnd.d.ts +0 -17
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dnd.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dnd.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/dnd.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/emoji.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/emoji.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/emoji.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/emoji.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/entity.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/entity.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/entity.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/entity.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/files.d.ts +0 -200
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/files.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/files.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/files.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/functions.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/functions.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/functions.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/functions.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/index.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/index.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/index.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +0 -322
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/manifest.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/manifest.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/migration.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/migration.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/migration.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/migration.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/oauth.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/oauth.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/oauth.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/oauth.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/openid.d.ts +0 -6
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/openid.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/openid.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/openid.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/pins.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/pins.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/pins.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/pins.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reactions.d.ts +0 -19
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reactions.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reactions.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reactions.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reminders.d.ts +0 -51
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reminders.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reminders.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/reminders.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/rtm.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/rtm.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/rtm.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/rtm.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/search.d.ts +0 -29
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/search.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/search.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/search.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/slackLists.d.ts +0 -806
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/slackLists.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/slackLists.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/slackLists.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/stars.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/stars.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/stars.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/stars.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/team.d.ts +0 -51
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/team.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/team.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/team.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/tooling.d.ts +0 -5
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/tooling.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/tooling.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/tooling.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/usergroups.d.ts +0 -50
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/usergroups.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/usergroups.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/usergroups.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/users.d.ts +0 -84
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/users.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/users.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/users.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/views.d.ts +0 -48
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/views.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/views.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/views.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/workflows.d.ts +0 -42
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/workflows.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/workflows.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/request/workflows.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAnalyticsGetFileResponse.d.ts +0 -78
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAnalyticsGetFileResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAnalyticsGetFileResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAnalyticsGetFileResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsActivitiesListResponse.d.ts +0 -74
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsActivitiesListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsActivitiesListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsActivitiesListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApproveResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApproveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApproveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApproveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApprovedListResponse.d.ts +0 -59
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApprovedListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApprovedListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsApprovedListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsClearResolutionResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsClearResolutionResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsClearResolutionResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsClearResolutionResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigLookupResponse.d.ts +0 -22
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigLookupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigLookupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigLookupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigSetResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigSetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigSetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsConfigSetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsCancelResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsCancelResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsCancelResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsCancelResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsListResponse.d.ts +0 -68
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRequestsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictedListResponse.d.ts +0 -59
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictedListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictedListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsRestrictedListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsUninstallResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsUninstallResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsUninstallResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAppsUninstallResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyAssignEntitiesResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyAssignEntitiesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyAssignEntitiesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyAssignEntitiesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyGetEntitiesResponse.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyGetEntitiesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyGetEntitiesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyGetEntitiesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyRemoveEntitiesResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyRemoveEntitiesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyRemoveEntitiesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminAuthPolicyRemoveEntitiesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersCreateResponse.d.ts +0 -25
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersListResponse.d.ts +0 -21
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersUpdateResponse.d.ts +0 -21
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersUpdateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminBarriersUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsArchiveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsArchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsArchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsArchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkArchiveResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkArchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkArchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkArchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkDeleteResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkMoveResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkMoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkMoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsBulkMoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPrivateResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPrivateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPrivateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPrivateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPublicResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPublicResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPublicResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsConvertToPublicResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsCreateResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDisconnectSharedResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDisconnectSharedResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDisconnectSharedResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsDisconnectSharedResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetConversationPrefsResponse.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetConversationPrefsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetConversationPrefsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetConversationPrefsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetCustomRetentionResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetCustomRetentionResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetCustomRetentionResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetCustomRetentionResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetTeamsResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetTeamsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetTeamsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsGetTeamsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsInviteResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsLookupResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsLookupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsLookupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsLookupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRemoveCustomRetentionResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRemoveCustomRetentionResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRemoveCustomRetentionResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRemoveCustomRetentionResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRenameResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRenameResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRenameResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRenameResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessAddGroupResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessAddGroupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessAddGroupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessAddGroupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessListGroupsResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessListGroupsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessListGroupsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessListGroupsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.d.ts +0 -98
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetConversationPrefsResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetConversationPrefsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetConversationPrefsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetConversationPrefsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetCustomRetentionResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetCustomRetentionResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetCustomRetentionResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetCustomRetentionResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetTeamsResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetTeamsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetTeamsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsSetTeamsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsUnarchiveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsUnarchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsUnarchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsUnarchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistAddResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistRemoveResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminConversationsWhitelistRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddAliasResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddAliasResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddAliasResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddAliasResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiListResponse.d.ts +0 -20
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRemoveResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRenameResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRenameResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRenameResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminEmojiRenameResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsListResponse.d.ts +0 -38
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.d.ts +0 -36
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsSetResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsSetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsSetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsSetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApproveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApproveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApproveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApproveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApprovedListResponse.d.ts +0 -44
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApprovedListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApprovedListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsApprovedListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDeniedListResponse.d.ts +0 -30
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDeniedListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDeniedListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDeniedListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDenyResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDenyResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDenyResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsDenyResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsListResponse.d.ts +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminInviteRequestsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesAddAssignmentsResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesAddAssignmentsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesAddAssignmentsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesAddAssignmentsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesListAssignmentsResponse.d.ts +0 -20
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesListAssignmentsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesListAssignmentsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesListAssignmentsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesRemoveAssignmentsResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesRemoveAssignmentsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesRemoveAssignmentsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminRolesRemoveAssignmentsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsAdminsListResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsAdminsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsAdminsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsAdminsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsCreateResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsListResponse.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsOwnersListResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsOwnersListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsOwnersListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsOwnersListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsInfoResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDescriptionResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDescriptionResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDescriptionResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDescriptionResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetIconResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetIconResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetIconResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetIconResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetNameResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetNameResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetNameResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminTeamsSettingsSetNameResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddChannelsResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddChannelsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddChannelsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddChannelsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddTeamsResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddTeamsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddTeamsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsAddTeamsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsListChannelsResponse.d.ts +0 -55
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsListChannelsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsListChannelsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsListChannelsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsRemoveChannelsResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsRemoveChannelsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsRemoveChannelsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsergroupsRemoveChannelsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersAssignResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersAssignResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersAssignResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersAssignResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersInviteResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersListResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersRemoveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionClearSettingsResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionClearSettingsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionClearSettingsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionClearSettingsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionGetSettingsResponse.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionGetSettingsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionGetSettingsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionGetSettingsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionInvalidateResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionInvalidateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionInvalidateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionInvalidateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionListResponse.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetBulkResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetBulkResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetBulkResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetBulkResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionResetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionSetSettingsResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionSetSettingsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionSetSettingsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSessionSetSettingsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetAdminResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetAdminResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetAdminResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetAdminResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetExpirationResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetExpirationResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetExpirationResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetExpirationResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetOwnerResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetOwnerResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetOwnerResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetOwnerResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetRegularResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetRegularResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetRegularResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersSetRegularResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersUnsupportedVersionsExportResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersUnsupportedVersionsExportResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersUnsupportedVersionsExportResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminUsersUnsupportedVersionsExportResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsAddResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsRemoveResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsCollaboratorsRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsPermissionsLookupResponse.d.ts +0 -22
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsPermissionsLookupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsPermissionsLookupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsPermissionsLookupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsSearchResponse.d.ts +0 -65
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsSearchResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsSearchResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsSearchResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsUnpublishResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsUnpublishResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsUnpublishResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AdminWorkflowsUnpublishResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ApiTestResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ApiTestResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ApiTestResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ApiTestResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsConnectionsOpenResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsConnectionsOpenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsConnectionsOpenResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsConnectionsOpenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsEventAuthorizationsListResponse.d.ts +0 -16
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsEventAuthorizationsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsEventAuthorizationsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsEventAuthorizationsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.d.ts +0 -30
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestExportResponse.d.ts +0 -112
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestExportResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestExportResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestExportResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestUpdateResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestUpdateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestValidateResponse.d.ts +0 -19
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestValidateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestValidateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsManifestValidateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsInfoResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsRequestResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsRequestResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsRequestResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsRequestResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsResourcesListResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsResourcesListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsResourcesListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsResourcesListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsScopesListResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsScopesListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsScopesListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsScopesListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersListResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersRequestResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersRequestResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersRequestResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsPermissionsUsersRequestResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUninstallResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUninstallResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUninstallResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUninstallResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetStatusResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetStatusResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetStatusResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetStatusResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetSuggestedPromptsResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetSuggestedPromptsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetSuggestedPromptsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetSuggestedPromptsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetTitleResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetTitleResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetTitleResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AssistantThreadsSetTitleResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthRevokeResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthRevokeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthRevokeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthRevokeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTeamsListResponse.d.ts +0 -28
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTeamsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTeamsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTeamsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTestResponse.d.ts +0 -19
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTestResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTestResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/AuthTestResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksAddResponse.d.ts +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksEditResponse.d.ts +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksEditResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksEditResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksEditResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksListResponse.d.ts +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksRemoveResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BookmarksRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BotsInfoResponse.d.ts +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BotsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BotsInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/BotsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsAddResponse.d.ts +0 -29
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsEndResponse.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsEndResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsEndResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsEndResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsInfoResponse.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsAddResponse.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsRemoveResponse.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsParticipantsRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsUpdateResponse.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsUpdateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CallsUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessDeleteResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessSetResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessSetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessSetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesAccessSetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesCreateResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesDeleteResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesEditResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesEditResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesEditResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesEditResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesSectionsLookupResponse.d.ts +0 -16
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesSectionsLookupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesSectionsLookupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/CanvasesSectionsLookupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsArchiveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsArchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsArchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsArchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsCreateResponse.d.ts +0 -38
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsHistoryResponse.d.ts +0 -324
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsHistoryResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsHistoryResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsHistoryResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInfoResponse.d.ts +0 -250
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInviteResponse.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsJoinResponse.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsJoinResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsJoinResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsJoinResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsKickResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsKickResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsKickResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsKickResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsLeaveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsLeaveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsLeaveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsLeaveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsListResponse.d.ts +0 -42
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsMarkResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsMarkResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsMarkResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsMarkResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRenameResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRenameResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRenameResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRenameResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRepliesResponse.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRepliesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRepliesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsRepliesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetPurposeResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetPurposeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetPurposeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetPurposeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetTopicResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetTopicResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetTopicResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsSetTopicResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsUnarchiveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsUnarchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsUnarchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChannelsUnarchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteScheduledMessageResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteScheduledMessageResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteScheduledMessageResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatDeleteScheduledMessageResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatGetPermalinkResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatGetPermalinkResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatGetPermalinkResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatGetPermalinkResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatMeMessageResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatMeMessageResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatMeMessageResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatMeMessageResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostEphemeralResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostEphemeralResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostEphemeralResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostEphemeralResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts +0 -1284
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.js +0 -67
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts +0 -729
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.js +0 -48
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduledMessagesListResponse.d.ts +0 -20
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduledMessagesListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduledMessagesListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatScheduledMessagesListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUnfurlResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUnfurlResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUnfurlResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUnfurlResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts +0 -738
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.js +0 -48
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsAcceptSharedInviteResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsAcceptSharedInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsAcceptSharedInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsAcceptSharedInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsApproveSharedInviteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsApproveSharedInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsApproveSharedInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsApproveSharedInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsArchiveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsArchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsArchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsArchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCanvasesCreateResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCanvasesCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCanvasesCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCanvasesCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCloseResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCloseResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCloseResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCloseResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCreateResponse.d.ts +0 -48
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsDeclineSharedInviteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsDeclineSharedInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsDeclineSharedInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsDeclineSharedInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsExternalInvitePermissionsSetResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsExternalInvitePermissionsSetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsExternalInvitePermissionsSetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsExternalInvitePermissionsSetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts +0 -1298
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.js +0 -67
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInfoResponse.d.ts +0 -56
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteResponse.d.ts +0 -52
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteSharedResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteSharedResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteSharedResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsInviteSharedResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.d.ts +0 -68
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsLeaveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsLeaveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsLeaveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsLeaveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListConnectInvitesResponse.d.ts +0 -117
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListConnectInvitesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListConnectInvitesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListConnectInvitesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.d.ts +0 -78
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMarkResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMarkResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMarkResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMarkResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMembersResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMembersResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMembersResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsMembersResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts +0 -692
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.js +0 -48
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRenameResponse.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRenameResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRenameResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRenameResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts +0 -1266
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.js +0 -67
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteApproveResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteApproveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteApproveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteApproveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteDenyResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteDenyResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteDenyResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteDenyResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.d.ts +0 -80
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsRequestSharedInviteListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetPurposeResponse.d.ts +0 -43
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetPurposeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetPurposeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetPurposeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetTopicResponse.d.ts +0 -43
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetTopicResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetTopicResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsSetTopicResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsUnarchiveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsUnarchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsUnarchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ConversationsUnarchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DialogOpenResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DialogOpenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DialogOpenResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DialogOpenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndDndResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndDndResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndDndResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndDndResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndSnoozeResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndSnoozeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndSnoozeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndEndSnoozeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndInfoResponse.d.ts +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndSetSnoozeResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndSetSnoozeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndSetSnoozeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndSetSnoozeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndTeamInfoResponse.d.ts +0 -16
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndTeamInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndTeamInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/DndTeamInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EmojiListResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EmojiListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EmojiListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EmojiListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsAddResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsEditResponse.d.ts +0 -17
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsEditResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsEditResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCommentsEditResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.d.ts +0 -89
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesGetUploadURLExternalResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesGetUploadURLExternalResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesGetUploadURLExternalResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesGetUploadURLExternalResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts +0 -548
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts +0 -542
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesListResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts +0 -535
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts +0 -535
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts +0 -539
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteRemoveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts +0 -535
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts +0 -535
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts +0 -535
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts +0 -535
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts +0 -535
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteErrorResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteErrorResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteErrorResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteErrorResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteSuccessResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteSuccessResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteSuccessResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/FunctionsCompleteSuccessResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsArchiveResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsArchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsArchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsArchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCloseResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCloseResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCloseResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCloseResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateChildResponse.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateChildResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateChildResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateChildResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateResponse.d.ts +0 -38
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsHistoryResponse.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsHistoryResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsHistoryResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsHistoryResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInfoResponse.d.ts +0 -45
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInviteResponse.d.ts +0 -46
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInviteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInviteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsInviteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsKickResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsKickResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsKickResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsKickResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsLeaveResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsLeaveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsLeaveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsLeaveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsListResponse.d.ts +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsMarkResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsMarkResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsMarkResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsMarkResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsOpenResponse.d.ts +0 -16
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsOpenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsOpenResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsOpenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRenameResponse.d.ts +0 -33
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRenameResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRenameResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRenameResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRepliesResponse.d.ts +0 -47
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRepliesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRepliesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsRepliesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetPurposeResponse.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetPurposeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetPurposeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetPurposeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetTopicResponse.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetTopicResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetTopicResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsSetTopicResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsUnarchiveResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsUnarchiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsUnarchiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/GroupsUnarchiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImCloseResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImCloseResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImCloseResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImCloseResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImHistoryResponse.d.ts +0 -122
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImHistoryResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImHistoryResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImHistoryResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImListResponse.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImMarkResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImMarkResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImMarkResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImMarkResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImOpenResponse.d.ts +0 -20
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImOpenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImOpenResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImOpenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImRepliesResponse.d.ts +0 -47
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImRepliesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImRepliesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ImRepliesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MigrationExchangeResponse.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MigrationExchangeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MigrationExchangeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MigrationExchangeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimCloseResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimCloseResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimCloseResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimCloseResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimHistoryResponse.d.ts +0 -49
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimHistoryResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimHistoryResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimHistoryResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimListResponse.d.ts +0 -36
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimMarkResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimMarkResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimMarkResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimMarkResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimOpenResponse.d.ts +0 -64
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimOpenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimOpenResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimOpenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimRepliesResponse.d.ts +0 -47
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimRepliesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimRepliesResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/MpimRepliesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthAccessResponse.d.ts +0 -44
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthAccessResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthAccessResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthAccessResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthTokenResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthTokenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthTokenResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthTokenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2AccessResponse.d.ts +0 -39
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2AccessResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2AccessResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2AccessResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2ExchangeResponse.d.ts +0 -43
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2ExchangeResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2ExchangeResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OauthV2ExchangeResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectTokenResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectTokenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectTokenResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectTokenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectUserInfoResponse.d.ts +0 -39
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectUserInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectUserInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/OpenIDConnectUserInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsAddResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts +0 -542
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +0 -37
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsRemoveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/PinsRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsAddResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts +0 -722
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.js +0 -48
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts +0 -1282
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.js +0 -67
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsRemoveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ReactionsRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersAddResponse.d.ts +0 -22
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersCompleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersCompleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersCompleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersCompleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersDeleteResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersInfoResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersListResponse.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RemindersListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmConnectResponse.d.ts +0 -20
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmConnectResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmConnectResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmConnectResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts +0 -2254
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.js +0 -77
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts +0 -1437
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js +0 -82
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts +0 -1359
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js +0 -63
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts +0 -1296
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.js +0 -67
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.d.ts +0 -10
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsAddResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsAddResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsListResponse.d.ts +0 -689
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsRemoveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsRemoveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/StarsRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamAccessLogsResponse.d.ts +0 -32
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamAccessLogsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamAccessLogsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamAccessLogsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillableInfoResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillableInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillableInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillableInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillingInfoResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillingInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillingInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamBillingInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsDisconnectResponse.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsDisconnectResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsDisconnectResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsDisconnectResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsListResponse.d.ts +0 -109
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamExternalTeamsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamInfoResponse.d.ts +0 -35
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamIntegrationLogsResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamIntegrationLogsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamIntegrationLogsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamIntegrationLogsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamPreferencesListResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamPreferencesListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamPreferencesListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamPreferencesListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamProfileGetResponse.d.ts +0 -44
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamProfileGetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamProfileGetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/TeamProfileGetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ToolingTokensRotateResponse.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ToolingTokensRotateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ToolingTokensRotateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ToolingTokensRotateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.d.ts +0 -35
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.d.ts +0 -35
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersListResponse.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.d.ts +0 -34
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.d.ts +0 -84
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDeletePhotoResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDeletePhotoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDeletePhotoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDeletePhotoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDiscoverableContactsLookupResponse.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDiscoverableContactsLookupResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDiscoverableContactsLookupResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersDiscoverableContactsLookupResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersGetPresenceResponse.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersGetPresenceResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersGetPresenceResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersGetPresenceResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersIdentityResponse.d.ts +0 -26
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersIdentityResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersIdentityResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersIdentityResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.d.ts +0 -89
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersListResponse.d.ts +0 -98
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersListResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersLookupByEmailResponse.d.ts +0 -76
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersLookupByEmailResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersLookupByEmailResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersLookupByEmailResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileGetResponse.d.ts +0 -54
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileGetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileGetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileGetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileSetResponse.d.ts +0 -54
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileSetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileSetResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersProfileSetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetActiveResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetActiveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetActiveResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetActiveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPhotoResponse.d.ts +0 -20
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPhotoResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPhotoResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPhotoResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPresenceResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPresenceResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPresenceResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/UsersSetPresenceResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.d.ts +0 -266
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.js +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.d.ts +0 -266
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.js +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.d.ts +0 -266
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.js +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.d.ts +0 -266
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.js +0 -31
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.d.ts +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.d.ts +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.d.ts +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.d.ts +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepCompletedResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepCompletedResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepCompletedResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepCompletedResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepFailedResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepFailedResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepFailedResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsStepFailedResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsUpdateStepResponse.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsUpdateStepResponse.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsUpdateStepResponse.js +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/WorkflowsUpdateStepResponse.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/index.d.ts +0 -330
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/index.js +0 -3
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/types/response/index.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/package.json +0 -71
- package/node_modules/@slack/socket-mode/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@slack/socket-mode/node_modules/@types/node/README.md +0 -15
- package/node_modules/@slack/socket-mode/node_modules/@types/node/assert/strict.d.ts +0 -68
- package/node_modules/@slack/socket-mode/node_modules/@types/node/assert.d.ts +0 -1077
- package/node_modules/@slack/socket-mode/node_modules/@types/node/async_hooks.d.ts +0 -711
- package/node_modules/@slack/socket-mode/node_modules/@types/node/buffer.buffer.d.ts +0 -466
- package/node_modules/@slack/socket-mode/node_modules/@types/node/buffer.d.ts +0 -1799
- package/node_modules/@slack/socket-mode/node_modules/@types/node/child_process.d.ts +0 -1361
- package/node_modules/@slack/socket-mode/node_modules/@types/node/cluster.d.ts +0 -432
- package/node_modules/@slack/socket-mode/node_modules/@types/node/console.d.ts +0 -93
- package/node_modules/@slack/socket-mode/node_modules/@types/node/constants.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/@types/node/crypto.d.ts +0 -3954
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dgram.d.ts +0 -537
- package/node_modules/@slack/socket-mode/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dns/promises.d.ts +0 -497
- package/node_modules/@slack/socket-mode/node_modules/@types/node/dns.d.ts +0 -876
- package/node_modules/@slack/socket-mode/node_modules/@types/node/domain.d.ts +0 -150
- package/node_modules/@slack/socket-mode/node_modules/@types/node/events.d.ts +0 -1008
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ffi.d.ts +0 -486
- package/node_modules/@slack/socket-mode/node_modules/@types/node/fs/promises.d.ts +0 -1481
- package/node_modules/@slack/socket-mode/node_modules/@types/node/fs.d.ts +0 -4793
- package/node_modules/@slack/socket-mode/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@slack/socket-mode/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@slack/socket-mode/node_modules/@types/node/http.d.ts +0 -2218
- package/node_modules/@slack/socket-mode/node_modules/@types/node/http2.d.ts +0 -2497
- package/node_modules/@slack/socket-mode/node_modules/@types/node/https.d.ts +0 -400
- package/node_modules/@slack/socket-mode/node_modules/@types/node/index.d.ts +0 -115
- package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector.d.ts +0 -264
- package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector.generated.d.ts +0 -4406
- package/node_modules/@slack/socket-mode/node_modules/@types/node/module.d.ts +0 -726
- package/node_modules/@slack/socket-mode/node_modules/@types/node/net.d.ts +0 -970
- package/node_modules/@slack/socket-mode/node_modules/@types/node/os.d.ts +0 -498
- package/node_modules/@slack/socket-mode/node_modules/@types/node/package.json +0 -155
- package/node_modules/@slack/socket-mode/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/@types/node/path.d.ts +0 -178
- package/node_modules/@slack/socket-mode/node_modules/@types/node/perf_hooks.d.ts +0 -605
- package/node_modules/@slack/socket-mode/node_modules/@types/node/process.d.ts +0 -2268
- package/node_modules/@slack/socket-mode/node_modules/@types/node/punycode.d.ts +0 -89
- package/node_modules/@slack/socket-mode/node_modules/@types/node/querystring.d.ts +0 -139
- package/node_modules/@slack/socket-mode/node_modules/@types/node/quic.d.ts +0 -2125
- package/node_modules/@slack/socket-mode/node_modules/@types/node/readline/promises.d.ts +0 -158
- package/node_modules/@slack/socket-mode/node_modules/@types/node/readline.d.ts +0 -508
- package/node_modules/@slack/socket-mode/node_modules/@types/node/repl.d.ts +0 -420
- package/node_modules/@slack/socket-mode/node_modules/@types/node/sea.d.ts +0 -47
- package/node_modules/@slack/socket-mode/node_modules/@types/node/sqlite.d.ts +0 -1140
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/consumers.d.ts +0 -114
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/iter.d.ts +0 -452
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/web.d.ts +0 -300
- package/node_modules/@slack/socket-mode/node_modules/@types/node/stream.d.ts +0 -1806
- package/node_modules/@slack/socket-mode/node_modules/@types/node/string_decoder.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@slack/socket-mode/node_modules/@types/node/test.d.ts +0 -2486
- package/node_modules/@slack/socket-mode/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/node_modules/@slack/socket-mode/node_modules/@types/node/timers.d.ts +0 -149
- package/node_modules/@slack/socket-mode/node_modules/@types/node/tls.d.ts +0 -1193
- package/node_modules/@slack/socket-mode/node_modules/@types/node/trace_events.d.ts +0 -103
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/index.d.ts +0 -117
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.7/index.d.ts +0 -117
- package/node_modules/@slack/socket-mode/node_modules/@types/node/tty.d.ts +0 -225
- package/node_modules/@slack/socket-mode/node_modules/@types/node/url.d.ts +0 -556
- package/node_modules/@slack/socket-mode/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@slack/socket-mode/node_modules/@types/node/util.d.ts +0 -1677
- package/node_modules/@slack/socket-mode/node_modules/@types/node/v8.d.ts +0 -1059
- package/node_modules/@slack/socket-mode/node_modules/@types/node/vm.d.ts +0 -1136
- package/node_modules/@slack/socket-mode/node_modules/@types/node/wasi.d.ts +0 -131
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@slack/socket-mode/node_modules/@types/node/worker_threads.d.ts +0 -669
- package/node_modules/@slack/socket-mode/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/@slack/socket-mode/node_modules/@types/node/zlib.d.ts +0 -589
- package/node_modules/@slack/socket-mode/node_modules/@types/retry/LICENSE +0 -21
- package/node_modules/@slack/socket-mode/node_modules/@types/retry/README.md +0 -16
- package/node_modules/@slack/socket-mode/node_modules/@types/retry/index.d.ts +0 -151
- package/node_modules/@slack/socket-mode/node_modules/@types/retry/package.json +0 -28
- package/node_modules/@slack/socket-mode/node_modules/p-finally/index.js +0 -15
- package/node_modules/@slack/socket-mode/node_modules/p-finally/license +0 -21
- package/node_modules/@slack/socket-mode/node_modules/p-finally/package.json +0 -42
- package/node_modules/@slack/socket-mode/node_modules/p-finally/readme.md +0 -47
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/index.d.ts +0 -101
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/index.js +0 -279
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/lower-bound.d.ts +0 -1
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/lower-bound.js +0 -21
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/options.d.ts +0 -64
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/options.js +0 -2
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/priority-queue.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/priority-queue.js +0 -32
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/queue.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/p-queue/dist/queue.js +0 -2
- package/node_modules/@slack/socket-mode/node_modules/p-queue/license +0 -9
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/LICENSE +0 -21
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/README.md +0 -94
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/index.d.ts +0 -134
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/index.js +0 -336
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/package.json +0 -56
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/umd/eventemitter3.js +0 -340
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/umd/eventemitter3.min.js +0 -1
- package/node_modules/@slack/socket-mode/node_modules/p-queue/node_modules/eventemitter3/umd/eventemitter3.min.js.map +0 -1
- package/node_modules/@slack/socket-mode/node_modules/p-queue/package.json +0 -92
- package/node_modules/@slack/socket-mode/node_modules/p-queue/readme.md +0 -400
- package/node_modules/@slack/socket-mode/node_modules/p-retry/index.d.ts +0 -106
- package/node_modules/@slack/socket-mode/node_modules/p-retry/index.js +0 -85
- package/node_modules/@slack/socket-mode/node_modules/p-retry/license +0 -9
- package/node_modules/@slack/socket-mode/node_modules/p-retry/package.json +0 -51
- package/node_modules/@slack/socket-mode/node_modules/p-retry/readme.md +0 -148
- package/node_modules/@slack/socket-mode/node_modules/p-timeout/index.d.ts +0 -72
- package/node_modules/@slack/socket-mode/node_modules/p-timeout/index.js +0 -57
- package/node_modules/@slack/socket-mode/node_modules/p-timeout/license +0 -9
- package/node_modules/@slack/socket-mode/node_modules/p-timeout/package.json +0 -45
- package/node_modules/@slack/socket-mode/node_modules/p-timeout/readme.md +0 -87
- package/node_modules/@slack/socket-mode/node_modules/retry/License +0 -21
- package/node_modules/@slack/socket-mode/node_modules/retry/README.md +0 -227
- package/node_modules/@slack/socket-mode/node_modules/retry/example/dns.js +0 -31
- package/node_modules/@slack/socket-mode/node_modules/retry/example/stop.js +0 -40
- package/node_modules/@slack/socket-mode/node_modules/retry/index.js +0 -1
- package/node_modules/@slack/socket-mode/node_modules/retry/lib/retry.js +0 -100
- package/node_modules/@slack/socket-mode/node_modules/retry/lib/retry_operation.js +0 -162
- package/node_modules/@slack/socket-mode/node_modules/retry/package.json +0 -36
- package/node_modules/@slack/socket-mode/node_modules/undici-types/LICENSE +0 -21
- package/node_modules/@slack/socket-mode/node_modules/undici-types/README.md +0 -6
- package/node_modules/@slack/socket-mode/node_modules/undici-types/agent.d.ts +0 -30
- package/node_modules/@slack/socket-mode/node_modules/undici-types/api.d.ts +0 -43
- package/node_modules/@slack/socket-mode/node_modules/undici-types/balanced-pool.d.ts +0 -30
- package/node_modules/@slack/socket-mode/node_modules/undici-types/cache-interceptor.d.ts +0 -179
- package/node_modules/@slack/socket-mode/node_modules/undici-types/cache.d.ts +0 -36
- package/node_modules/@slack/socket-mode/node_modules/undici-types/client-stats.d.ts +0 -15
- package/node_modules/@slack/socket-mode/node_modules/undici-types/client.d.ts +0 -129
- package/node_modules/@slack/socket-mode/node_modules/undici-types/connector.d.ts +0 -36
- package/node_modules/@slack/socket-mode/node_modules/undici-types/content-type.d.ts +0 -21
- package/node_modules/@slack/socket-mode/node_modules/undici-types/cookies.d.ts +0 -30
- package/node_modules/@slack/socket-mode/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
- package/node_modules/@slack/socket-mode/node_modules/undici-types/dispatcher.d.ts +0 -253
- package/node_modules/@slack/socket-mode/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
- package/node_modules/@slack/socket-mode/node_modules/undici-types/errors.d.ts +0 -177
- package/node_modules/@slack/socket-mode/node_modules/undici-types/eventsource.d.ts +0 -66
- package/node_modules/@slack/socket-mode/node_modules/undici-types/fetch.d.ts +0 -231
- package/node_modules/@slack/socket-mode/node_modules/undici-types/formdata.d.ts +0 -108
- package/node_modules/@slack/socket-mode/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/node_modules/@slack/socket-mode/node_modules/undici-types/global-origin.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/undici-types/h2c-client.d.ts +0 -73
- package/node_modules/@slack/socket-mode/node_modules/undici-types/handlers.d.ts +0 -14
- package/node_modules/@slack/socket-mode/node_modules/undici-types/header.d.ts +0 -165
- package/node_modules/@slack/socket-mode/node_modules/undici-types/index.d.ts +0 -93
- package/node_modules/@slack/socket-mode/node_modules/undici-types/interceptors.d.ts +0 -80
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-agent.d.ts +0 -68
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-client.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-interceptor.d.ts +0 -94
- package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-pool.d.ts +0 -27
- package/node_modules/@slack/socket-mode/node_modules/undici-types/package.json +0 -55
- package/node_modules/@slack/socket-mode/node_modules/undici-types/patch.d.ts +0 -29
- package/node_modules/@slack/socket-mode/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/node_modules/@slack/socket-mode/node_modules/undici-types/pool.d.ts +0 -39
- package/node_modules/@slack/socket-mode/node_modules/undici-types/proxy-agent.d.ts +0 -29
- package/node_modules/@slack/socket-mode/node_modules/undici-types/readable.d.ts +0 -68
- package/node_modules/@slack/socket-mode/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/node_modules/@slack/socket-mode/node_modules/undici-types/retry-handler.d.ts +0 -125
- package/node_modules/@slack/socket-mode/node_modules/undici-types/round-robin-pool.d.ts +0 -39
- package/node_modules/@slack/socket-mode/node_modules/undici-types/snapshot-agent.d.ts +0 -113
- package/node_modules/@slack/socket-mode/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
- package/node_modules/@slack/socket-mode/node_modules/undici-types/util.d.ts +0 -18
- package/node_modules/@slack/socket-mode/node_modules/undici-types/utility.d.ts +0 -7
- package/node_modules/@slack/socket-mode/node_modules/undici-types/webidl.d.ts +0 -346
- package/node_modules/@slack/socket-mode/node_modules/undici-types/websocket.d.ts +0 -188
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/README.md +0 -15
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +0 -68
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +0 -1077
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +0 -711
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +0 -466
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +0 -1799
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +0 -1361
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +0 -432
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +0 -93
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/constants.d.ts +0 -14
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +0 -3954
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +0 -537
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +0 -497
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +0 -876
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +0 -150
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +0 -1008
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ffi.d.ts +0 -486
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +0 -1481
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +0 -4793
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +0 -2202
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +0 -2489
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +0 -400
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +0 -115
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +0 -264
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +0 -4406
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -726
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +0 -970
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +0 -498
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/package.json +0 -155
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +0 -178
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +0 -605
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +0 -2216
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +0 -89
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +0 -139
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/quic.d.ts +0 -1943
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +0 -158
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +0 -508
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +0 -420
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +0 -47
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +0 -1136
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +0 -114
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/iter.d.ts +0 -452
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +0 -300
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +0 -1806
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +0 -27
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +0 -2450
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -149
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +0 -1193
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +0 -103
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +0 -117
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +0 -117
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +0 -225
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +0 -556
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +0 -1677
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +0 -1059
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +0 -1136
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +0 -131
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +0 -669
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +0 -589
- package/node_modules/ws/LICENSE +0 -20
- package/node_modules/ws/README.md +0 -548
- package/node_modules/ws/browser.js +0 -8
- package/node_modules/ws/index.js +0 -22
- package/node_modules/ws/lib/buffer-util.js +0 -131
- package/node_modules/ws/lib/constants.js +0 -19
- package/node_modules/ws/lib/event-target.js +0 -292
- package/node_modules/ws/lib/extension.js +0 -203
- package/node_modules/ws/lib/limiter.js +0 -55
- package/node_modules/ws/lib/permessage-deflate.js +0 -530
- package/node_modules/ws/lib/receiver.js +0 -743
- package/node_modules/ws/lib/sender.js +0 -607
- package/node_modules/ws/lib/stream.js +0 -161
- package/node_modules/ws/lib/subprotocol.js +0 -62
- package/node_modules/ws/lib/validation.js +0 -152
- package/node_modules/ws/lib/websocket-server.js +0 -562
- package/node_modules/ws/lib/websocket.js +0 -1407
- package/node_modules/ws/package.json +0 -74
- package/node_modules/ws/wrapper.mjs +0 -21
- package/node_modules/zod/src/v4/core/config.ts +0 -15
- /package/dist/{account-configured-sUohAxZr.js → .setup/account-configured-sUohAxZr.mjs} +0 -0
- /package/dist/{config-schema-DrY3S7Ee.js → .setup/config-schema-DrY3S7Ee.mjs} +0 -0
- /package/dist/{registry-bbjH7IHX.js → .setup/registry-bbjH7IHX.mjs} +0 -0
- /package/dist/{runtime-JSVZSWAj.js → .setup/runtime-JSVZSWAj.mjs} +0 -0
- /package/dist/{secret-contract-DxmvbxBF.js → .setup/secret-contract-DxmvbxBF.mjs} +0 -0
- /package/dist/{send-results-eeOu_HYm.js → .setup/send-results-eeOu_HYm.mjs} +0 -0
- /package/dist/{streaming-compat-B-e0mqM0.js → .setup/streaming-compat-B-e0mqM0.mjs} +0 -0
- /package/dist/{thread-ts-CukseRVL.js → .setup/thread-ts-CukseRVL.mjs} +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/LICENSE +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/README.md +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/package.json +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SlackWebSocket.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SlackWebSocket.d.ts.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SlackWebSocket.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SlackWebSocket.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeClient.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeClient.d.ts.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeClient.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeClient.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeOptions.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeOptions.d.ts.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeOptions.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeOptions.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.d.ts.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/errors.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/errors.d.ts.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/errors.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/errors.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/index.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/index.d.ts.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/index.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/index.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.d.ts.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/package.json +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/LICENSE +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/README.md +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/index.d.ts +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/index.js +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/index.mjs +0 -0
- /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/package.json +0 -0
|
@@ -1,4382 +0,0 @@
|
|
|
1
|
-
import { A as countSlackTextUtf8Bytes, C as buildSlackBlocksFallbackText, E as SLACK_EDIT_TEXT_MAX_BYTES, H as SLACK_SESSION_LINK_ACTION_ID, M as truncateSlackTextByUtf8Bytes, Pt as resolveSlackReplyToMode, Y as normalizeSlackOutboundText, c as qualifySlackRoutePeerId, j as truncateSlackText, k as SLACK_TEXT_LIMIT, ot as escapeSlackMrkdwn, v as hasSlackNativeDataBlock } from "./session-status-B59iRt0l.js";
|
|
2
|
-
import { n as formatSlackTarget } from "./target-parsing-PbxGDbr9.js";
|
|
3
|
-
import { E as normalizeSlackAllowOwnerEntry, O as resolveSlackAllowListMatch, T as normalizeAllowListLower, o as formatSlackError } from "./probe-DpWLeifT.js";
|
|
4
|
-
import { c as resolveSlackReplyRenderPlan, i as prepareSlackReply } from "./reply-blocks-B4hOhLRu.js";
|
|
5
|
-
import { n as resolveSlackReplyThreadTs } from "./thread-ts-CukseRVL.js";
|
|
6
|
-
import { n as resolveSlackStreamingMode, t as resolveSlackNativeStreaming } from "./streaming-compat-B-e0mqM0.js";
|
|
7
|
-
import { D as resolveSlackMessageText$1, E as resolveSlackBlocksText, O as buildSlackEditTextPayload, S as formatSlackFileReferenceList, T as isSlackUnfurlAttachment, a as editSlackRenderedMessage, d as reactSlackMessage, i as editSlackMessage, m as removeSlackReaction, n as deleteSlackMessage, v as logVerbose$1, w as hasSlackTableBlock, x as formatSlackFileReference } from "./actions-mLOa06lO.js";
|
|
8
|
-
import { c as hasSlackThreadFailureNotice, d as recordSlackThreadFailureNotice, f as recordSlackThreadParticipation, l as hasSlackThreadParticipation, m as buildSlackNativeDataDeliveryPlan, o as clearSlackThreadFailureNotice, r as sendMessageSlack, u as hasSlackThreadParticipationWithPersistence } from "./send-BQ2bNPlQ.js";
|
|
9
|
-
import { A as resolveStorePath, C as resolveSlackChatType, D as readSessionUpdatedAt, E as getSessionEntry, N as stripSlackMentionsForCommandDetection, O as resolveChannelContextVisibilityMode, S as normalizeSlackChannelType, T as readSlackAssistantThreadContext, _ as SlackStreamNotDeliveredError, b as startSlackStream, d as resolveSlackRoutingContext, f as registerSlackSessionRun, g as resolveSlackEffectiveAllowFrom, h as resolveSlackCommandIngress, j as updateLastRoute, k as resolveChannelResetConfig, l as authorizeSlackDirectMessage, m as authorizeSlackBotRoomMessage, o as resolveSlackRoomContextHints, p as resolveSlackThreadTargets, r as trackSlackDraftMessage, u as resolveConversationLabel$1, v as appendSlackStream, w as buildSlackAssistantThreadMetadata, x as stopSlackStream, y as markSlackStreamFallbackDelivered } from "./provider-vY0lRzNo.js";
|
|
10
|
-
import { n as resolveSlackChannelConfig } from "./policy-BRmkJFsS.js";
|
|
11
|
-
import { a as resolveSlackThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as sanitizeSlackMonitorReplyPayload, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-DUe6ydtU.js";
|
|
12
|
-
import { asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
13
|
-
import { resolveInboundLastRouteSessionKey } from "openclaw/plugin-sdk/routing";
|
|
14
|
-
import { buildChannelProgressDraftLine, createChannelMessageReplyPipeline, createChannelProgressDraftCompositor, createChannelProgressWorkCounter, createDraftStreamLoop, createFinalizableDraftStreamControlsForState, defineFinalizableLivePreviewAdapter, deliverWithFinalizableLivePreviewAdapter, formatChannelProgressDraftDiffStat, formatChannelProgressDraftText, formatPlanChecklistLines, resolveAgentOutboundIdentity, resolveChannelMessageSourceReplyDeliveryMode, resolveChannelProgressDraftConfig, resolveChannelProgressDraftMaxLineChars, resolveChannelStreamingBlockEnabled, resolveChannelStreamingPreviewToolProgress, resolveChannelStreamingSuppressDefaultToolProgressMessages } from "openclaw/plugin-sdk/channel-outbound";
|
|
15
|
-
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
16
|
-
import { danger, logVerbose, shouldLogVerbose } from "openclaw/plugin-sdk/runtime-env";
|
|
17
|
-
import { sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
|
|
18
|
-
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
19
|
-
import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
|
|
20
|
-
import { buildTtsSupplementMediaPayload, getReplyPayloadTtsSupplement, isReplyPayloadNonTerminalToolErrorWarning, resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
|
|
21
|
-
import { createHash } from "node:crypto";
|
|
22
|
-
import { pruneMapToMaxSize } from "openclaw/plugin-sdk/collection-runtime";
|
|
23
|
-
import { ensureConfiguredBindingRouteReady } from "openclaw/plugin-sdk/conversation-runtime";
|
|
24
|
-
import { resolveChannelImplicitMentions } from "openclaw/plugin-sdk/channel-ingress-runtime";
|
|
25
|
-
import fs from "node:fs/promises";
|
|
26
|
-
import { runTasksWithConcurrency } from "openclaw/plugin-sdk/concurrency-runtime";
|
|
27
|
-
import { formatErrorMessage, toErrorObject } from "openclaw/plugin-sdk/error-runtime";
|
|
28
|
-
import { filterSupplementalContextItems, resolvePinnedMainDmOwnerFromAllowlist, shouldIncludeSupplementalContext } from "openclaw/plugin-sdk/security-runtime";
|
|
29
|
-
import { mimeTypeFromFilePath } from "openclaw/plugin-sdk/media-mime";
|
|
30
|
-
import { createChannelHistoryWindow } from "openclaw/plugin-sdk/reply-history";
|
|
31
|
-
import { mergePairLoopGuardConfig } from "openclaw/plugin-sdk/pair-loop-guard-runtime";
|
|
32
|
-
import { asDateTimestampMs, asFiniteNumberInRange, parseStrictFiniteNumber, resolveExpiresAtMsFromDurationMs } from "openclaw/plugin-sdk/number-runtime";
|
|
33
|
-
import { resolveHumanDelayConfig } from "openclaw/plugin-sdk/agent-runtime";
|
|
34
|
-
import { enqueueRoutedSystemEvent } from "openclaw/plugin-sdk/system-event-runtime";
|
|
35
|
-
import { getGlobalHookRunner } from "openclaw/plugin-sdk/plugin-runtime";
|
|
36
|
-
import { buildChannelInboundEventContext, buildMentionRegexes, classifyChannelInboundEvent, dispatchChannelInboundTurn, formatInboundEnvelope, formatInboundMediaUnavailableText, hasVisibleInboundReplyDispatch, implicitMentionKindWhen, matchesMentionWithExplicit, readAgentRunTerminalOutcome, recordDroppedChannelInboundHistory, resolveEnvelopeFormatOptions, resolveInboundMentionDecision, resolveInboundReplyDispatchCounts, resolveInboundSupplementalSenderAllowed, resolveUnmentionedGroupInboundPolicy, toInboundMediaFactsWithMetadata } from "openclaw/plugin-sdk/channel-inbound";
|
|
37
|
-
import { resolveGatewayPublicOrigin } from "openclaw/plugin-sdk/config-contracts";
|
|
38
|
-
import { buildControlUiSessionPath } from "openclaw/plugin-sdk/session-discussion";
|
|
39
|
-
import { createStatusReactionController, logAckFailure, logTypingFailure, resolveAckReaction, shouldAckReaction } from "openclaw/plugin-sdk/channel-feedback";
|
|
40
|
-
import { hasControlCommand } from "openclaw/plugin-sdk/command-detection";
|
|
41
|
-
import { isAbortRequestText } from "openclaw/plugin-sdk/command-primitives-runtime";
|
|
42
|
-
import { shouldHandleTextCommands } from "openclaw/plugin-sdk/command-surface";
|
|
43
|
-
import { createChannelPreflightAudio, formatAudioTranscriptForAgent } from "openclaw/plugin-sdk/media-understanding-runtime";
|
|
44
|
-
//#region extensions/slack/src/monitor/message-handler/timestamp.ts
|
|
45
|
-
const SLACK_TIMESTAMP_RE = /^\d+(?:\.\d+)?$/;
|
|
46
|
-
const MAX_SAFE_SLACK_TIMESTAMP_SECONDS = Number.MAX_SAFE_INTEGER / 1e3;
|
|
47
|
-
function resolveSlackTimestampMs(ts) {
|
|
48
|
-
const trimmed = ts?.trim();
|
|
49
|
-
if (!trimmed || !SLACK_TIMESTAMP_RE.test(trimmed)) return;
|
|
50
|
-
const seconds = asFiniteNumberInRange(parseStrictFiniteNumber(trimmed), {
|
|
51
|
-
min: 0,
|
|
52
|
-
max: MAX_SAFE_SLACK_TIMESTAMP_SECONDS
|
|
53
|
-
});
|
|
54
|
-
return seconds === void 0 ? void 0 : Math.round(seconds * 1e3);
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch-helpers.ts
|
|
58
|
-
function resolveSlackMessageTimestampMs(message) {
|
|
59
|
-
return resolveSlackTimestampMs(message.event_ts ?? message.ts);
|
|
60
|
-
}
|
|
61
|
-
function resolveSlackBotLoopProtection(prepared) {
|
|
62
|
-
const senderBotId = prepared.message.bot_id;
|
|
63
|
-
if (!senderBotId) return;
|
|
64
|
-
const receiverBotId = prepared.ctx.botId || prepared.ctx.botUserId;
|
|
65
|
-
if (!receiverBotId || senderBotId === prepared.ctx.botId || prepared.message.user === prepared.ctx.botUserId) return;
|
|
66
|
-
return {
|
|
67
|
-
scopeId: prepared.route.accountId,
|
|
68
|
-
conversationId: prepared.message.channel,
|
|
69
|
-
senderId: senderBotId,
|
|
70
|
-
receiverId: receiverBotId,
|
|
71
|
-
config: mergePairLoopGuardConfig(prepared.account.config.botLoopProtection, prepared.channelConfig?.botLoopProtection),
|
|
72
|
-
defaultsConfig: prepared.ctx.cfg.channels?.defaults?.botLoopProtection,
|
|
73
|
-
defaultEnabled: true,
|
|
74
|
-
nowMs: resolveSlackMessageTimestampMs(prepared.message)
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function isSlackStreamingEnabled(params) {
|
|
78
|
-
if (params.mode === "partial") return params.nativeStreaming;
|
|
79
|
-
if (params.mode === "progress") return params.nativeStreaming && params.nativeProgressTaskCards === true;
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
82
|
-
function resolveSlackDisableBlockStreaming(params) {
|
|
83
|
-
if (params.useStreaming || params.shouldUseDraftStream) return true;
|
|
84
|
-
return typeof params.blockStreamingEnabled === "boolean" ? !params.blockStreamingEnabled : void 0;
|
|
85
|
-
}
|
|
86
|
-
function resolveExplicitSlackProgressTitle(entry) {
|
|
87
|
-
const label = resolveChannelProgressDraftConfig(entry).label;
|
|
88
|
-
if (typeof label !== "string") return;
|
|
89
|
-
const trimmed = label.trim();
|
|
90
|
-
return trimmed && trimmed.toLowerCase() !== "auto" ? trimmed : void 0;
|
|
91
|
-
}
|
|
92
|
-
function resolveSlackProgressStyle(entry) {
|
|
93
|
-
const progress = entry?.streaming?.progress;
|
|
94
|
-
return progress?.style ?? (progress?.toolProgress === false ? "compact" : "card");
|
|
95
|
-
}
|
|
96
|
-
function resolveSlackNativeProgressTaskCards(entry) {
|
|
97
|
-
if (resolveSlackProgressStyle(entry) === "compact") return false;
|
|
98
|
-
const streaming = entry?.streaming;
|
|
99
|
-
if (!streaming || typeof streaming !== "object" || Array.isArray(streaming)) return true;
|
|
100
|
-
const progressConfig = streaming.progress;
|
|
101
|
-
if (!progressConfig || typeof progressConfig !== "object" || Array.isArray(progressConfig)) return true;
|
|
102
|
-
return progressConfig.nativeTaskCards !== false;
|
|
103
|
-
}
|
|
104
|
-
function resolveSlackStreamingThreadHint(params) {
|
|
105
|
-
return resolveSlackThreadTs({
|
|
106
|
-
replyToMode: params.replyToMode,
|
|
107
|
-
incomingThreadTs: params.incomingThreadTs,
|
|
108
|
-
messageTs: params.messageTs,
|
|
109
|
-
hasReplied: false,
|
|
110
|
-
isThreadReply: params.isThreadReply
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
const SLACK_STREAM_RECIPIENT_TEAM_CACHE_MAX = 2e3;
|
|
114
|
-
const slackStreamRecipientTeamCaches = /* @__PURE__ */ new WeakMap();
|
|
115
|
-
function getSlackStreamRecipientTeamCache(client) {
|
|
116
|
-
const existing = slackStreamRecipientTeamCaches.get(client);
|
|
117
|
-
if (existing) return existing;
|
|
118
|
-
const cache = /* @__PURE__ */ new Map();
|
|
119
|
-
slackStreamRecipientTeamCaches.set(client, cache);
|
|
120
|
-
return cache;
|
|
121
|
-
}
|
|
122
|
-
function buildSlackEventDeliveryKey(params, preparedReply = prepareSlackReply(params.payload)) {
|
|
123
|
-
const reply = resolveSendableOutboundReplyParts(params.payload, { text: params.textOverride });
|
|
124
|
-
const renderPlan = preparedReply.resolvePreview(params.textOverride);
|
|
125
|
-
const plannedBlocks = renderPlan.mode === "single" ? renderPlan.blocks : renderPlan.blockPart?.blocks;
|
|
126
|
-
const slackBlocks = readSlackReplyBlocks(params.payload) ?? plannedBlocks;
|
|
127
|
-
const renderedText = renderPlan.mode === "single" ? renderPlan.text : renderPlan.fallbackText;
|
|
128
|
-
if (!reply.hasContent && !slackBlocks?.length && !renderedText.trim()) return null;
|
|
129
|
-
return JSON.stringify({
|
|
130
|
-
kind: params.kind,
|
|
131
|
-
threadTs: params.threadTs ?? "",
|
|
132
|
-
replyToId: params.payload.replyToId ?? null,
|
|
133
|
-
text: renderedText || reply.trimmedText,
|
|
134
|
-
mediaUrls: reply.mediaUrls,
|
|
135
|
-
blocks: slackBlocks ?? null
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
function readSlackStreamRecipientTeamCache(params) {
|
|
139
|
-
if (!params.fallbackTeamId || !params.userId) return;
|
|
140
|
-
const cacheKey = `${params.fallbackTeamId}:${params.userId}`;
|
|
141
|
-
const cache = getSlackStreamRecipientTeamCache(params.client);
|
|
142
|
-
const cached = cache.get(cacheKey);
|
|
143
|
-
if (!cached) return;
|
|
144
|
-
cache.delete(cacheKey);
|
|
145
|
-
cache.set(cacheKey, cached);
|
|
146
|
-
return cached;
|
|
147
|
-
}
|
|
148
|
-
function rememberSlackStreamRecipientTeam(params) {
|
|
149
|
-
if (!params.fallbackTeamId || !params.userId) return;
|
|
150
|
-
const cacheKey = `${params.fallbackTeamId}:${params.userId}`;
|
|
151
|
-
const cache = getSlackStreamRecipientTeamCache(params.client);
|
|
152
|
-
if (cache.has(cacheKey)) cache.delete(cacheKey);
|
|
153
|
-
cache.set(cacheKey, params.teamId);
|
|
154
|
-
if (cache.size > SLACK_STREAM_RECIPIENT_TEAM_CACHE_MAX) {
|
|
155
|
-
const oldest = cache.keys().next().value;
|
|
156
|
-
if (oldest) cache.delete(oldest);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
function createSlackEventDeliveryTracker() {
|
|
160
|
-
const deliveredKeys = /* @__PURE__ */ new Set();
|
|
161
|
-
return {
|
|
162
|
-
hasDelivered(key) {
|
|
163
|
-
return key ? deliveredKeys.has(key) : false;
|
|
164
|
-
},
|
|
165
|
-
markDelivered(key) {
|
|
166
|
-
if (key) deliveredKeys.add(key);
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
function shouldUseStreaming(params) {
|
|
171
|
-
if (!params.streamingEnabled) return false;
|
|
172
|
-
if (!params.threadTs) {
|
|
173
|
-
logVerbose("slack-stream: streaming disabled — no reply thread target available");
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
return true;
|
|
177
|
-
}
|
|
178
|
-
async function resolveSlackStreamRecipientTeamId(params) {
|
|
179
|
-
const cachedTeamId = readSlackStreamRecipientTeamCache(params);
|
|
180
|
-
if (cachedTeamId) return cachedTeamId;
|
|
181
|
-
if (params.userId) try {
|
|
182
|
-
const info = await params.client.users.info({
|
|
183
|
-
token: params.token,
|
|
184
|
-
user: params.userId
|
|
185
|
-
});
|
|
186
|
-
const teamId = info.user?.team_id ?? info.user?.profile?.team;
|
|
187
|
-
if (teamId) {
|
|
188
|
-
rememberSlackStreamRecipientTeam({
|
|
189
|
-
...params,
|
|
190
|
-
teamId
|
|
191
|
-
});
|
|
192
|
-
return teamId;
|
|
193
|
-
}
|
|
194
|
-
} catch (err) {
|
|
195
|
-
logVerbose(`slack-stream: users.info team lookup failed (${formatErrorMessage(err)})`);
|
|
196
|
-
}
|
|
197
|
-
return params.fallbackTeamId;
|
|
198
|
-
}
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region extensions/slack/src/draft-stream.ts
|
|
201
|
-
const DEFAULT_THROTTLE_MS = 1e3;
|
|
202
|
-
function createSlackDraftStream(params) {
|
|
203
|
-
const maxChars = Math.min(params.maxChars ?? 8e3, SLACK_TEXT_LIMIT);
|
|
204
|
-
const throttleMs = Math.max(250, params.throttleMs ?? DEFAULT_THROTTLE_MS);
|
|
205
|
-
const send = params.send ?? sendMessageSlack;
|
|
206
|
-
const edit = params.edit ?? editSlackMessage;
|
|
207
|
-
const remove = params.remove ?? deleteSlackMessage;
|
|
208
|
-
let streamMessage;
|
|
209
|
-
let untrackConversationBoundary;
|
|
210
|
-
let lastVisibleUpdate;
|
|
211
|
-
let lastSentKey = "";
|
|
212
|
-
const pendingCleanupMessages = [];
|
|
213
|
-
let cleanupTail = Promise.resolve();
|
|
214
|
-
const finalizedMessageIds = /* @__PURE__ */ new Set();
|
|
215
|
-
const streamState = {
|
|
216
|
-
stopped: false,
|
|
217
|
-
final: false
|
|
218
|
-
};
|
|
219
|
-
const normalizeUpdate = (update) => typeof update === "string" ? { text: update } : update;
|
|
220
|
-
const sendOrEditStreamMessage = async (pending) => {
|
|
221
|
-
if (streamState.stopped) return;
|
|
222
|
-
const update = normalizeUpdate(pending);
|
|
223
|
-
const trimmed = update.text.trimEnd();
|
|
224
|
-
if (!trimmed) return;
|
|
225
|
-
if (trimmed.length > maxChars) {
|
|
226
|
-
streamState.stopped = true;
|
|
227
|
-
params.warn?.(`slack stream preview stopped (text length ${trimmed.length} > ${maxChars})`);
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
const blocks = update.blocks;
|
|
231
|
-
const sentKey = `${trimmed}\n${blocks ? JSON.stringify(blocks) : ""}`;
|
|
232
|
-
if (sentKey === lastSentKey) return;
|
|
233
|
-
lastSentKey = sentKey;
|
|
234
|
-
try {
|
|
235
|
-
if (streamMessage) {
|
|
236
|
-
await edit(streamMessage.channelId, streamMessage.messageId, trimmed, {
|
|
237
|
-
cfg: params.cfg,
|
|
238
|
-
token: params.token,
|
|
239
|
-
accountId: params.accountId,
|
|
240
|
-
...params.eventScope ? { client: params.eventScope.client } : {},
|
|
241
|
-
...blocks ? { blocks } : {}
|
|
242
|
-
});
|
|
243
|
-
lastVisibleUpdate = {
|
|
244
|
-
text: trimmed,
|
|
245
|
-
...blocks ? { blocks } : {}
|
|
246
|
-
};
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
const threadTs = params.resolveThreadTs?.();
|
|
250
|
-
const pendingBoundary = params.conversationChannelId ? trackSlackDraftMessage({
|
|
251
|
-
accountId: params.accountId,
|
|
252
|
-
teamId: params.eventScope?.teamId,
|
|
253
|
-
channelId: params.conversationChannelId,
|
|
254
|
-
threadTs,
|
|
255
|
-
onInterveningMessage: forceNewMessage
|
|
256
|
-
}) : void 0;
|
|
257
|
-
untrackConversationBoundary = pendingBoundary?.stop;
|
|
258
|
-
const sent = await send(params.target, trimmed, {
|
|
259
|
-
cfg: params.cfg,
|
|
260
|
-
token: params.token,
|
|
261
|
-
accountId: params.accountId,
|
|
262
|
-
threadTs,
|
|
263
|
-
identity: params.identity,
|
|
264
|
-
eventScope: params.eventScope,
|
|
265
|
-
...params.metadata ? { metadata: params.metadata } : {},
|
|
266
|
-
...blocks ? { blocks } : {}
|
|
267
|
-
});
|
|
268
|
-
if (!sent.channelId || !sent.messageId) {
|
|
269
|
-
stopTrackingConversationBoundary();
|
|
270
|
-
streamState.stopped = true;
|
|
271
|
-
params.warn?.("slack stream preview stopped (missing identifiers from sendMessage)");
|
|
272
|
-
return;
|
|
273
|
-
}
|
|
274
|
-
streamMessage = {
|
|
275
|
-
channelId: sent.channelId,
|
|
276
|
-
messageId: sent.messageId
|
|
277
|
-
};
|
|
278
|
-
lastVisibleUpdate = {
|
|
279
|
-
text: trimmed,
|
|
280
|
-
...blocks ? { blocks } : {}
|
|
281
|
-
};
|
|
282
|
-
if (pendingBoundary && params.conversationChannelId === streamMessage.channelId) pendingBoundary.setMessageTs(streamMessage.messageId);
|
|
283
|
-
else {
|
|
284
|
-
stopTrackingConversationBoundary();
|
|
285
|
-
untrackConversationBoundary = trackSlackDraftMessage({
|
|
286
|
-
accountId: params.accountId,
|
|
287
|
-
teamId: params.eventScope?.teamId,
|
|
288
|
-
channelId: streamMessage.channelId,
|
|
289
|
-
threadTs,
|
|
290
|
-
messageTs: streamMessage.messageId,
|
|
291
|
-
onInterveningMessage: forceNewMessage
|
|
292
|
-
}).stop;
|
|
293
|
-
}
|
|
294
|
-
} catch (err) {
|
|
295
|
-
stopTrackingConversationBoundary();
|
|
296
|
-
streamState.stopped = true;
|
|
297
|
-
params.warn?.(`slack stream preview failed: ${formatSlackError(err)}`);
|
|
298
|
-
}
|
|
299
|
-
};
|
|
300
|
-
const { loop, update, discardPending, seal } = createFinalizableDraftStreamControlsForState({
|
|
301
|
-
throttleMs,
|
|
302
|
-
coalesceInFlight: true,
|
|
303
|
-
state: streamState,
|
|
304
|
-
sendOrEditStreamMessage,
|
|
305
|
-
emptyValue: "",
|
|
306
|
-
isEmpty: (value) => !normalizeUpdate(value).text.trim()
|
|
307
|
-
});
|
|
308
|
-
const stopTrackingConversationBoundary = () => {
|
|
309
|
-
untrackConversationBoundary?.();
|
|
310
|
-
untrackConversationBoundary = void 0;
|
|
311
|
-
};
|
|
312
|
-
const dropDetachedMessages = () => {
|
|
313
|
-
cleanupTail = cleanupTail.then(async () => {
|
|
314
|
-
for (let index = 0; index < pendingCleanupMessages.length;) {
|
|
315
|
-
const message = pendingCleanupMessages[index];
|
|
316
|
-
if (!message) return;
|
|
317
|
-
try {
|
|
318
|
-
await remove(message.channelId, message.messageId, {
|
|
319
|
-
token: params.token,
|
|
320
|
-
accountId: params.accountId,
|
|
321
|
-
...params.eventScope ? { client: params.eventScope.client } : {}
|
|
322
|
-
});
|
|
323
|
-
pendingCleanupMessages.splice(index, 1);
|
|
324
|
-
} catch (err) {
|
|
325
|
-
params.warn?.(`slack stream preview cleanup failed: ${formatSlackError(err)}`);
|
|
326
|
-
index += 1;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
});
|
|
330
|
-
return cleanupTail;
|
|
331
|
-
};
|
|
332
|
-
const clear = async () => {
|
|
333
|
-
stopTrackingConversationBoundary();
|
|
334
|
-
await discardPending();
|
|
335
|
-
if (streamMessage) {
|
|
336
|
-
pendingCleanupMessages.push(streamMessage);
|
|
337
|
-
streamMessage = void 0;
|
|
338
|
-
}
|
|
339
|
-
lastVisibleUpdate = void 0;
|
|
340
|
-
lastSentKey = "";
|
|
341
|
-
await dropDetachedMessages();
|
|
342
|
-
};
|
|
343
|
-
const forceNewMessage = () => {
|
|
344
|
-
stopTrackingConversationBoundary();
|
|
345
|
-
streamState.stopped = false;
|
|
346
|
-
streamState.final = false;
|
|
347
|
-
if (streamMessage && !finalizedMessageIds.has(streamMessage.messageId)) pendingCleanupMessages.push(streamMessage);
|
|
348
|
-
streamMessage = void 0;
|
|
349
|
-
lastVisibleUpdate = void 0;
|
|
350
|
-
lastSentKey = "";
|
|
351
|
-
loop.resetPending();
|
|
352
|
-
};
|
|
353
|
-
const discardPendingAndStopTracking = async () => {
|
|
354
|
-
stopTrackingConversationBoundary();
|
|
355
|
-
await discardPending();
|
|
356
|
-
};
|
|
357
|
-
const finalizeMessage = async (messageId, editFinal) => {
|
|
358
|
-
const currentMessage = streamMessage;
|
|
359
|
-
const previousUpdate = lastVisibleUpdate;
|
|
360
|
-
if (!currentMessage || currentMessage.messageId !== messageId || !previousUpdate) return false;
|
|
361
|
-
const { channelId } = currentMessage;
|
|
362
|
-
await editFinal();
|
|
363
|
-
if (streamMessage?.channelId === channelId && streamMessage.messageId === messageId) {
|
|
364
|
-
finalizedMessageIds.add(messageId);
|
|
365
|
-
stopTrackingConversationBoundary();
|
|
366
|
-
return true;
|
|
367
|
-
}
|
|
368
|
-
try {
|
|
369
|
-
await edit(channelId, messageId, previousUpdate.text, {
|
|
370
|
-
cfg: params.cfg,
|
|
371
|
-
token: params.token,
|
|
372
|
-
accountId: params.accountId,
|
|
373
|
-
...params.eventScope ? { client: params.eventScope.client } : {},
|
|
374
|
-
...previousUpdate.blocks ? { blocks: previousUpdate.blocks } : {}
|
|
375
|
-
});
|
|
376
|
-
} catch (err) {
|
|
377
|
-
params.warn?.(`slack stream preview restore failed: ${formatSlackError(err)}`);
|
|
378
|
-
}
|
|
379
|
-
return false;
|
|
380
|
-
};
|
|
381
|
-
params.log?.(`slack stream preview ready (maxChars=${maxChars}, throttleMs=${throttleMs})`);
|
|
382
|
-
return {
|
|
383
|
-
update,
|
|
384
|
-
flush: loop.flush,
|
|
385
|
-
clear,
|
|
386
|
-
discardPending: discardPendingAndStopTracking,
|
|
387
|
-
seal,
|
|
388
|
-
forceNewMessage,
|
|
389
|
-
dropDetachedMessages,
|
|
390
|
-
finalizeMessage,
|
|
391
|
-
messageId: () => streamMessage?.messageId,
|
|
392
|
-
channelId: () => streamMessage?.channelId
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
//#endregion
|
|
396
|
-
//#region extensions/slack/src/stream-mode.ts
|
|
397
|
-
function resolveSlackStreamingConfig(params) {
|
|
398
|
-
return {
|
|
399
|
-
mode: resolveSlackStreamingMode(params),
|
|
400
|
-
nativeStreaming: resolveSlackNativeStreaming(params)
|
|
401
|
-
};
|
|
402
|
-
}
|
|
403
|
-
function applyAppendOnlyStreamUpdate(params) {
|
|
404
|
-
const incoming = params.incoming.trimEnd();
|
|
405
|
-
if (!incoming) return {
|
|
406
|
-
rendered: params.rendered,
|
|
407
|
-
source: params.source,
|
|
408
|
-
changed: false
|
|
409
|
-
};
|
|
410
|
-
if (!params.rendered) return {
|
|
411
|
-
rendered: incoming,
|
|
412
|
-
source: incoming,
|
|
413
|
-
changed: true
|
|
414
|
-
};
|
|
415
|
-
if (incoming === params.source) return {
|
|
416
|
-
rendered: params.rendered,
|
|
417
|
-
source: params.source,
|
|
418
|
-
changed: false
|
|
419
|
-
};
|
|
420
|
-
if (incoming.startsWith(params.rendered)) return {
|
|
421
|
-
rendered: incoming,
|
|
422
|
-
source: incoming,
|
|
423
|
-
changed: incoming !== params.rendered
|
|
424
|
-
};
|
|
425
|
-
if (incoming.startsWith(params.source)) {
|
|
426
|
-
const delta = incoming.slice(params.source.length);
|
|
427
|
-
return {
|
|
428
|
-
rendered: `${params.rendered}${delta}`,
|
|
429
|
-
source: incoming,
|
|
430
|
-
changed: delta.length > 0
|
|
431
|
-
};
|
|
432
|
-
}
|
|
433
|
-
if (params.source.startsWith(incoming)) return {
|
|
434
|
-
rendered: params.rendered,
|
|
435
|
-
source: params.source,
|
|
436
|
-
changed: false
|
|
437
|
-
};
|
|
438
|
-
const separator = params.separator ?? (params.rendered.endsWith("\n") ? "" : "\n");
|
|
439
|
-
return {
|
|
440
|
-
rendered: `${params.rendered}${separator}${incoming}`,
|
|
441
|
-
source: incoming,
|
|
442
|
-
changed: true
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
//#endregion
|
|
446
|
-
//#region extensions/slack/src/progress-blocks.ts
|
|
447
|
-
const SLACK_PROGRESS_FIELD_MAX = 1800;
|
|
448
|
-
const DEFAULT_SLACK_PROGRESS_DETAIL_MAX_CHARS = 120;
|
|
449
|
-
const DEFAULT_SLACK_PROGRESS_TASK_DETAIL_MAX_CHARS = 48;
|
|
450
|
-
const SLACK_PROGRESS_CHUNK_TEXT_MAX = 256;
|
|
451
|
-
const SLACK_PROGRESS_TASK_TITLE_MAX = 120;
|
|
452
|
-
const SLACK_PROGRESS_PLAN_FALLBACK_TITLE = "Thinking";
|
|
453
|
-
const SLACK_PROGRESS_LINE_DELTA_RE = /(?:^|\s)\+(\d+)\s+[−-](\d+)(?=\s|$)/u;
|
|
454
|
-
const SLACK_ATTENTION_TASK_PREFIX = "openclaw-attention-";
|
|
455
|
-
function buildSessionSources(url) {
|
|
456
|
-
return [{
|
|
457
|
-
type: "url_source",
|
|
458
|
-
url,
|
|
459
|
-
text: "Open in OpenClaw"
|
|
460
|
-
}];
|
|
461
|
-
}
|
|
462
|
-
function field(text) {
|
|
463
|
-
return {
|
|
464
|
-
type: "mrkdwn",
|
|
465
|
-
text: truncateSlackText(text, SLACK_PROGRESS_FIELD_MAX)
|
|
466
|
-
};
|
|
467
|
-
}
|
|
468
|
-
function resolveMaxLineChars(value, fallback) {
|
|
469
|
-
return value && value > 0 ? Math.floor(value) : fallback;
|
|
470
|
-
}
|
|
471
|
-
function compactDetail(value, maxChars) {
|
|
472
|
-
const normalized = value.replace(/\s+/g, " ").trim();
|
|
473
|
-
const chars = Array.from(normalized);
|
|
474
|
-
if (chars.length <= maxChars) return normalized;
|
|
475
|
-
if (maxChars <= 1) return "…";
|
|
476
|
-
const keepStart = Math.max(1, Math.ceil((maxChars - 1) * .45));
|
|
477
|
-
const keepEnd = Math.max(1, maxChars - keepStart - 1);
|
|
478
|
-
return `${chars.slice(0, keepStart).join("").trimEnd()}…${chars.slice(-keepEnd).join("").trimStart()}`;
|
|
479
|
-
}
|
|
480
|
-
function compactTitle(value) {
|
|
481
|
-
return truncateSlackText(value.replace(/\s+/g, " ").trim(), SLACK_PROGRESS_TASK_TITLE_MAX);
|
|
482
|
-
}
|
|
483
|
-
function compactChunkText(value) {
|
|
484
|
-
return truncateSlackText(value.replace(/\s+/g, " ").trim(), SLACK_PROGRESS_CHUNK_TEXT_MAX);
|
|
485
|
-
}
|
|
486
|
-
function renderProgressCardText(text, enclosingStyle) {
|
|
487
|
-
return normalizeSlackOutboundText(text, {
|
|
488
|
-
mentions: "escape",
|
|
489
|
-
enclosingStyle
|
|
490
|
-
});
|
|
491
|
-
}
|
|
492
|
-
function lineDetailParts(line) {
|
|
493
|
-
return [line.detail, line.status && line.status !== "completed" && !line.detail?.includes(line.status) ? line.status : void 0].map((part) => part?.trim()).filter((part) => Boolean(part));
|
|
494
|
-
}
|
|
495
|
-
function activityLineDetail(line, maxChars) {
|
|
496
|
-
const detail = lineDetailParts(line).join(" · ");
|
|
497
|
-
if (detail) return escapeSlackMrkdwn(compactDetail(detail, maxChars));
|
|
498
|
-
const text = line.text.replace(/^(?:🧠|💬)\s+/u, "").trim();
|
|
499
|
-
return line.kind === "item" && !line.toolName && text && text !== line.label ? renderProgressCardText(compactDetail(text, maxChars)) : "—";
|
|
500
|
-
}
|
|
501
|
-
function lineTaskTitle(line) {
|
|
502
|
-
const label = line.label.replace(/\s+/g, " ").trim() || line.toolName || line.kind || "Update";
|
|
503
|
-
const fallback = line.text.replace(/\s+/g, " ").trim();
|
|
504
|
-
if (fallback && fallback !== label) return compactTitle(lineDetailParts(line).length > 0 || line.status ? label : fallback);
|
|
505
|
-
return compactTitle(label);
|
|
506
|
-
}
|
|
507
|
-
function lineTaskDetails(line, maxLineChars) {
|
|
508
|
-
const detail = line.detail?.replace(SLACK_PROGRESS_LINE_DELTA_RE, "").replace(/\s+·\s*$/u, "").trim();
|
|
509
|
-
return detail && detail !== line.status?.trim() ? compactDetail(detail, maxLineChars) : void 0;
|
|
510
|
-
}
|
|
511
|
-
function lineTaskOutput(line) {
|
|
512
|
-
const match = line.detail ? SLACK_PROGRESS_LINE_DELTA_RE.exec(line.detail) : null;
|
|
513
|
-
if (match) return `+${match[1]} −${match[2]}`;
|
|
514
|
-
const status = line.status?.replace(/\s+/g, " ").trim();
|
|
515
|
-
return status && lineTaskStatus(line) === "error" ? status : void 0;
|
|
516
|
-
}
|
|
517
|
-
function lineTaskStatus(line) {
|
|
518
|
-
const normalized = line.status?.replace(/\s+/g, " ").trim().toLowerCase();
|
|
519
|
-
if (!normalized) return "in_progress";
|
|
520
|
-
if (normalized === "complete" || normalized === "completed" || normalized === "done" || normalized === "ok" || normalized === "success" || normalized === "succeeded" || normalized === "successful" || normalized === "exit 0") return "complete";
|
|
521
|
-
if (normalized === "error" || normalized === "failed" || normalized === "failure" || normalized.startsWith("exit ")) return "error";
|
|
522
|
-
return "in_progress";
|
|
523
|
-
}
|
|
524
|
-
function stableTaskIdPart(value, slugValue = value) {
|
|
525
|
-
const slug = slugValue.trim().toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
|
|
526
|
-
const suffix = createHash("sha256").update(value).digest("hex").slice(0, 8);
|
|
527
|
-
return `${(slug || "task").slice(0, 48)}_${suffix}`;
|
|
528
|
-
}
|
|
529
|
-
function resolveLineTaskIdentity(line, contentIdOccurrences) {
|
|
530
|
-
if (line.id?.trim()) return stableTaskIdPart(line.id);
|
|
531
|
-
const id = stableTaskIdPart([
|
|
532
|
-
line.kind,
|
|
533
|
-
line.toolName,
|
|
534
|
-
line.label,
|
|
535
|
-
line.text
|
|
536
|
-
].join("\0"), line.toolName ?? line.kind ?? line.label);
|
|
537
|
-
const occurrence = (contentIdOccurrences.get(id) ?? 0) + 1;
|
|
538
|
-
contentIdOccurrences.set(id, occurrence);
|
|
539
|
-
return `${id}_${occurrence}`;
|
|
540
|
-
}
|
|
541
|
-
function buildNativeTasks(params) {
|
|
542
|
-
const tasks = (params.plan ?? []).map((entry, index) => ({
|
|
543
|
-
id: `plan_step_${index + 1}`,
|
|
544
|
-
title: compactTitle(entry.step),
|
|
545
|
-
status: entry.status === "completed" ? "complete" : entry.status
|
|
546
|
-
}));
|
|
547
|
-
const maxLineChars = resolveMaxLineChars(params.maxLineChars, DEFAULT_SLACK_PROGRESS_TASK_DETAIL_MAX_CHARS);
|
|
548
|
-
const contentIdOccurrences = /* @__PURE__ */ new Map();
|
|
549
|
-
for (const line of params.lines) {
|
|
550
|
-
const task = {
|
|
551
|
-
id: resolveLineTaskIdentity(line, contentIdOccurrences),
|
|
552
|
-
title: lineTaskTitle(line),
|
|
553
|
-
status: lineTaskStatus(line)
|
|
554
|
-
};
|
|
555
|
-
const details = lineTaskDetails(line, maxLineChars);
|
|
556
|
-
const output = lineTaskOutput(line);
|
|
557
|
-
if (details) task.details = details;
|
|
558
|
-
if (output) task.output = output;
|
|
559
|
-
tasks.push(task);
|
|
560
|
-
}
|
|
561
|
-
return tasks;
|
|
562
|
-
}
|
|
563
|
-
function buildProgressAttentionTasks(lines, finalStatus) {
|
|
564
|
-
const contentIdOccurrences = /* @__PURE__ */ new Map();
|
|
565
|
-
return lines.flatMap((line) => {
|
|
566
|
-
const approval = line.kind === "approval";
|
|
567
|
-
if (approval ? line.status !== "requested" || finalStatus !== void 0 : lineTaskStatus(line) !== "error") return [];
|
|
568
|
-
const title = approval ? `Approval required: ${line.detail || line.label}` : [...new Set([
|
|
569
|
-
line.label,
|
|
570
|
-
line.detail,
|
|
571
|
-
line.status
|
|
572
|
-
].filter(Boolean))].join(" — ");
|
|
573
|
-
const recovered = !approval && finalStatus === "complete";
|
|
574
|
-
return [{
|
|
575
|
-
id: `${SLACK_ATTENTION_TASK_PREFIX}${resolveLineTaskIdentity(line, contentIdOccurrences)}`,
|
|
576
|
-
title: compactTitle(recovered ? `Recovered: ${title}` : title),
|
|
577
|
-
status: approval ? "pending" : finalStatus ?? "error"
|
|
578
|
-
}];
|
|
579
|
-
});
|
|
580
|
-
}
|
|
581
|
-
function formatTaskDiffOutput(diffStat) {
|
|
582
|
-
return diffStat && (diffStat.added > 0 || diffStat.removed > 0) ? `+${diffStat.added} −${diffStat.removed}` : void 0;
|
|
583
|
-
}
|
|
584
|
-
function buildSlackProgressStreamChunks(params) {
|
|
585
|
-
const approvals = params.lines.filter((line) => line.kind === "approval");
|
|
586
|
-
const tasks = buildNativeTasks({
|
|
587
|
-
lines: params.summaryRow ? [] : params.lines.filter((line) => line.kind !== "approval"),
|
|
588
|
-
plan: params.plan,
|
|
589
|
-
maxLineChars: params.maxLineChars
|
|
590
|
-
});
|
|
591
|
-
const attention = buildProgressAttentionTasks(params.summaryRow ? params.lines : approvals, params.finalInProgressStatus);
|
|
592
|
-
const headline = params.title?.trim() || params.label?.trim();
|
|
593
|
-
const newest = tasks.at(-1);
|
|
594
|
-
const title = compactChunkText(headline || (newest?.details ? `${newest.title} — ${newest.details}` : newest?.title) || (params.summaryRow ? "Working" : attention.at(-1)?.title) || SLACK_PROGRESS_PLAN_FALLBACK_TITLE);
|
|
595
|
-
const diffOutput = formatTaskDiffOutput(params.diffStat);
|
|
596
|
-
if (tasks.length === 0 && (params.summaryRow || params.sessionUrl || diffOutput)) tasks.push({
|
|
597
|
-
id: "openclaw_summary",
|
|
598
|
-
title: params.summaryRow ? compactTitle(title) : "Completed",
|
|
599
|
-
status: params.finalInProgressStatus ?? (params.summaryRow ? "in_progress" : "complete")
|
|
600
|
-
});
|
|
601
|
-
tasks.push(...attention);
|
|
602
|
-
if (params.finalInProgressStatus === "error" && !tasks.some((task) => task.status === "in_progress" || task.status === "error")) tasks.push({
|
|
603
|
-
id: "openclaw_attention",
|
|
604
|
-
title: "Failed",
|
|
605
|
-
status: "error"
|
|
606
|
-
});
|
|
607
|
-
if (!headline && tasks.length === 0) return;
|
|
608
|
-
const finalTaskIndex = tasks.length - 1;
|
|
609
|
-
const taskChunks = tasks.map((task, index) => {
|
|
610
|
-
const recovered = params.finalInProgressStatus === "complete" && task.status === "error";
|
|
611
|
-
const chunk = {
|
|
612
|
-
type: "task_update",
|
|
613
|
-
id: task.id,
|
|
614
|
-
title: recovered ? compactTitle(`Recovered: ${task.title}`) : task.title,
|
|
615
|
-
status: recovered ? "complete" : task.status === "in_progress" ? params.finalInProgressStatus ?? task.status : task.status
|
|
616
|
-
};
|
|
617
|
-
if (task.details) chunk.details = task.details;
|
|
618
|
-
if (task.output) chunk.output = task.output;
|
|
619
|
-
if (index === finalTaskIndex && diffOutput) chunk.output = [task.output, diffOutput].filter(Boolean).join(" · ");
|
|
620
|
-
if (index === finalTaskIndex && params.sessionUrl) chunk.sources = buildSessionSources(params.sessionUrl);
|
|
621
|
-
return chunk;
|
|
622
|
-
});
|
|
623
|
-
return [{
|
|
624
|
-
type: "plan_update",
|
|
625
|
-
title
|
|
626
|
-
}, ...taskChunks];
|
|
627
|
-
}
|
|
628
|
-
function joinRecentProgressRows(rows) {
|
|
629
|
-
const rendered = [];
|
|
630
|
-
let length = 0;
|
|
631
|
-
for (const row of rows.toReversed()) {
|
|
632
|
-
const nextLength = length + row.length + (rendered.length > 0 ? 1 : 0);
|
|
633
|
-
if (nextLength > SLACK_PROGRESS_FIELD_MAX) break;
|
|
634
|
-
rendered.push(row);
|
|
635
|
-
length = nextLength;
|
|
636
|
-
}
|
|
637
|
-
return rendered.toReversed().join("\n");
|
|
638
|
-
}
|
|
639
|
-
function buildActivityText(lines, maxLineChars) {
|
|
640
|
-
return joinRecentProgressRows(lines.slice(-50).map((line) => {
|
|
641
|
-
return `${`${line.icon ?? "•"} *${renderProgressCardText(line.label, "bold")}*`} — ${activityLineDetail(line, maxLineChars)}`;
|
|
642
|
-
}));
|
|
643
|
-
}
|
|
644
|
-
function buildSlackProgressCardBlocks(params) {
|
|
645
|
-
const maxLineChars = resolveMaxLineChars(params.maxLineChars, DEFAULT_SLACK_PROGRESS_DETAIL_MAX_CHARS);
|
|
646
|
-
const planLines = formatPlanChecklistLines(params.plan ?? [], {
|
|
647
|
-
maxLines: 50,
|
|
648
|
-
maxLineChars
|
|
649
|
-
});
|
|
650
|
-
const narration = params.narration?.replace(/\s+/g, " ").trim();
|
|
651
|
-
const diffStat = formatChannelProgressDraftDiffStat(params.diffStat);
|
|
652
|
-
const workingFooter = [
|
|
653
|
-
...params.toolCalls && params.toolCalls > 0 ? [`🛠️ ${params.toolCalls} tools`] : [],
|
|
654
|
-
...diffStat ? [diffStat] : [],
|
|
655
|
-
...params.elapsedSeconds && params.elapsedSeconds > 0 ? [`⏱ ${params.elapsedSeconds}s`] : []
|
|
656
|
-
].join(" · ");
|
|
657
|
-
const footer = params.state === "working" ? workingFooter : diffStat;
|
|
658
|
-
const icon = params.state === "working" ? "🔄" : params.state === "success" ? "✅" : "❌";
|
|
659
|
-
const finalStatus = params.state === "working" ? void 0 : params.state === "success" ? "complete" : "error";
|
|
660
|
-
const attention = buildProgressAttentionTasks(params.lines, finalStatus).map((task) => escapeSlackMrkdwn(task.title));
|
|
661
|
-
const blocks = [
|
|
662
|
-
`${icon} *${renderProgressCardText(params.title.trim() || "Working", "bold")}*`,
|
|
663
|
-
narration ? `_${renderProgressCardText(narration, "italic")}_` : "",
|
|
664
|
-
planLines.map((line) => renderProgressCardText(line)).join("\n"),
|
|
665
|
-
buildActivityText(params.lines.filter((line) => line.kind !== "approval" && lineTaskStatus(line) !== "error"), maxLineChars),
|
|
666
|
-
joinRecentProgressRows(attention)
|
|
667
|
-
].filter(Boolean).map((text) => ({
|
|
668
|
-
type: "section",
|
|
669
|
-
text: field(text)
|
|
670
|
-
}));
|
|
671
|
-
if (footer) blocks.push({
|
|
672
|
-
type: "context",
|
|
673
|
-
elements: [field(footer)]
|
|
674
|
-
});
|
|
675
|
-
if (params.state !== "working" && params.sessionUrl) blocks.push({
|
|
676
|
-
type: "actions",
|
|
677
|
-
elements: [{
|
|
678
|
-
type: "button",
|
|
679
|
-
action_id: SLACK_SESSION_LINK_ACTION_ID,
|
|
680
|
-
text: {
|
|
681
|
-
type: "plain_text",
|
|
682
|
-
text: "Open in OpenClaw"
|
|
683
|
-
},
|
|
684
|
-
url: params.sessionUrl
|
|
685
|
-
}]
|
|
686
|
-
});
|
|
687
|
-
return blocks.slice(0, 50);
|
|
688
|
-
}
|
|
689
|
-
const EMPTY_SLACK_NATIVE_STREAM_SNAPSHOT = { tasks: /* @__PURE__ */ new Map() };
|
|
690
|
-
const SLACK_TASK_FIELD_SEPARATOR = " · ";
|
|
691
|
-
function resolveTaskFieldDelta(previous, incoming) {
|
|
692
|
-
if (!incoming) return {
|
|
693
|
-
field: previous,
|
|
694
|
-
delta: void 0
|
|
695
|
-
};
|
|
696
|
-
if (previous?.rendered.includes(incoming)) return {
|
|
697
|
-
field: {
|
|
698
|
-
rendered: previous.rendered,
|
|
699
|
-
source: incoming
|
|
700
|
-
},
|
|
701
|
-
delta: void 0
|
|
702
|
-
};
|
|
703
|
-
const next = applyAppendOnlyStreamUpdate({
|
|
704
|
-
incoming,
|
|
705
|
-
rendered: previous?.rendered ?? "",
|
|
706
|
-
source: previous?.source ?? "",
|
|
707
|
-
separator: SLACK_TASK_FIELD_SEPARATOR
|
|
708
|
-
});
|
|
709
|
-
const delta = next.changed ? next.rendered.slice(previous?.rendered.length ?? 0) : void 0;
|
|
710
|
-
return {
|
|
711
|
-
field: {
|
|
712
|
-
rendered: next.rendered,
|
|
713
|
-
source: next.source
|
|
714
|
-
},
|
|
715
|
-
delta
|
|
716
|
-
};
|
|
717
|
-
}
|
|
718
|
-
/**
|
|
719
|
-
* Turns a full task snapshot into the delta Slack must receive. Native streams
|
|
720
|
-
* key rows by persistent id with no removal chunk: unchanged rows are omitted,
|
|
721
|
-
* changed rows carry only their unsent field text, and rows that dropped out
|
|
722
|
-
* (plan shrinks, tool-line <-> plan source switches) get a final complete
|
|
723
|
-
* update or they linger in_progress forever.
|
|
724
|
-
*/
|
|
725
|
-
function reconcileSlackNativeTaskChunks(params) {
|
|
726
|
-
const nextTasks = /* @__PURE__ */ new Map();
|
|
727
|
-
let planTitle = params.previous.planTitle;
|
|
728
|
-
const emitted = [];
|
|
729
|
-
for (const chunk of params.chunks ?? []) {
|
|
730
|
-
if (chunk.type === "plan_update") {
|
|
731
|
-
if (chunk.title !== planTitle) {
|
|
732
|
-
planTitle = chunk.title;
|
|
733
|
-
emitted.push(chunk);
|
|
734
|
-
}
|
|
735
|
-
continue;
|
|
736
|
-
}
|
|
737
|
-
if (chunk.type !== "task_update") {
|
|
738
|
-
emitted.push(chunk);
|
|
739
|
-
continue;
|
|
740
|
-
}
|
|
741
|
-
const previousRow = params.previous.tasks.get(chunk.id);
|
|
742
|
-
const details = resolveTaskFieldDelta(previousRow?.details, chunk.details);
|
|
743
|
-
const output = resolveTaskFieldDelta(previousRow?.output, chunk.output);
|
|
744
|
-
const sourcesChanged = Boolean(chunk.sources) && !previousRow?.sourcesSent;
|
|
745
|
-
const row = {
|
|
746
|
-
title: chunk.title,
|
|
747
|
-
status: chunk.status
|
|
748
|
-
};
|
|
749
|
-
if (details.field) row.details = details.field;
|
|
750
|
-
if (output.field) row.output = output.field;
|
|
751
|
-
if (sourcesChanged || previousRow?.sourcesSent) row.sourcesSent = true;
|
|
752
|
-
nextTasks.set(chunk.id, row);
|
|
753
|
-
if (!(!previousRow || previousRow.title !== chunk.title || previousRow.status !== chunk.status || Boolean(details.delta) || Boolean(output.delta) || sourcesChanged)) continue;
|
|
754
|
-
const update = {
|
|
755
|
-
type: "task_update",
|
|
756
|
-
id: chunk.id,
|
|
757
|
-
title: chunk.title,
|
|
758
|
-
status: chunk.status
|
|
759
|
-
};
|
|
760
|
-
if (details.delta) update.details = details.delta;
|
|
761
|
-
if (output.delta) update.output = output.delta;
|
|
762
|
-
if (sourcesChanged) update.sources = chunk.sources;
|
|
763
|
-
emitted.push(update);
|
|
764
|
-
}
|
|
765
|
-
for (const [id, row] of params.previous.tasks) {
|
|
766
|
-
if (nextTasks.has(id)) continue;
|
|
767
|
-
const recovered = row.status === "error" && (id.startsWith(SLACK_ATTENTION_TASK_PREFIX) || params.finalStatus === "complete");
|
|
768
|
-
if (row.status === "complete" || row.status === "error" && !recovered) {
|
|
769
|
-
nextTasks.set(id, row);
|
|
770
|
-
continue;
|
|
771
|
-
}
|
|
772
|
-
const title = recovered ? compactTitle(`Recovered: ${row.title}`) : row.title;
|
|
773
|
-
nextTasks.set(id, {
|
|
774
|
-
...row,
|
|
775
|
-
title,
|
|
776
|
-
status: "complete"
|
|
777
|
-
});
|
|
778
|
-
emitted.push({
|
|
779
|
-
type: "task_update",
|
|
780
|
-
id,
|
|
781
|
-
title,
|
|
782
|
-
status: "complete"
|
|
783
|
-
});
|
|
784
|
-
}
|
|
785
|
-
return {
|
|
786
|
-
chunks: emitted.length > 0 ? emitted : void 0,
|
|
787
|
-
snapshot: {
|
|
788
|
-
...planTitle ? { planTitle } : {},
|
|
789
|
-
tasks: nextTasks
|
|
790
|
-
}
|
|
791
|
-
};
|
|
792
|
-
}
|
|
793
|
-
//#endregion
|
|
794
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch-progress-render.ts
|
|
795
|
-
function resolveStructuredProgressLines(lines) {
|
|
796
|
-
return lines.map((line) => {
|
|
797
|
-
if (typeof line !== "string") return line;
|
|
798
|
-
const reasoning = line.startsWith("🧠 ");
|
|
799
|
-
const text = line.replace(/^(?:🧠|💬)\s+/u, "").replace(/^_(.*)_$/su, "$1").trim();
|
|
800
|
-
return {
|
|
801
|
-
...reasoning ? { id: "reasoning" } : {},
|
|
802
|
-
kind: "item",
|
|
803
|
-
text,
|
|
804
|
-
label: reasoning ? "Reasoning" : "Update",
|
|
805
|
-
prefix: false
|
|
806
|
-
};
|
|
807
|
-
});
|
|
808
|
-
}
|
|
809
|
-
function resolveNativeProgressLines(snapshot) {
|
|
810
|
-
const lines = resolveStructuredProgressLines(snapshot.lines).filter((line) => line.id !== "reasoning" && line.id?.startsWith("commentary:") !== true);
|
|
811
|
-
if (snapshot.plan?.length || !snapshot.planExplanation) return lines;
|
|
812
|
-
const explanationLine = buildChannelProgressDraftLine({
|
|
813
|
-
event: "plan",
|
|
814
|
-
phase: "update",
|
|
815
|
-
explanation: snapshot.planExplanation
|
|
816
|
-
});
|
|
817
|
-
return explanationLine ? [...lines, explanationLine] : lines;
|
|
818
|
-
}
|
|
819
|
-
function resolveNativeProgressNarration(snapshot) {
|
|
820
|
-
const paragraphs = resolveStructuredProgressLines(snapshot.lines).filter((line) => line.id === "reasoning" || line.id?.startsWith("commentary:") === true).map((line) => line.text.trim()).filter((text, index, values) => Boolean(text) && values.indexOf(text) === index);
|
|
821
|
-
return paragraphs.length > 0 ? paragraphs.join("\n\n") : void 0;
|
|
822
|
-
}
|
|
823
|
-
function combineProgressHeadlineAndExplanation(headline, explanation) {
|
|
824
|
-
return headline && explanation && headline !== explanation ? `${headline} — ${explanation}` : headline ?? explanation;
|
|
825
|
-
}
|
|
826
|
-
//#endregion
|
|
827
|
-
//#region extensions/slack/src/monitor/message-handler/preview-finalize.ts
|
|
828
|
-
function buildExpectedSlackEditText(params) {
|
|
829
|
-
const trimmedText = params.text.trim();
|
|
830
|
-
if (trimmedText) return normalizeSlackOutboundText(trimmedText);
|
|
831
|
-
if (params.blocks?.length) return normalizeSlackOutboundText(buildSlackBlocksFallbackText(params.blocks));
|
|
832
|
-
return " ";
|
|
833
|
-
}
|
|
834
|
-
function buildAcceptedSlackEditTexts(params) {
|
|
835
|
-
const expected = buildExpectedSlackEditText(params);
|
|
836
|
-
const texts = /* @__PURE__ */ new Set([
|
|
837
|
-
expected,
|
|
838
|
-
normalizeSlackOutboundText(truncateSlackTextByUtf8Bytes(expected, SLACK_EDIT_TEXT_MAX_BYTES)),
|
|
839
|
-
normalizeSlackOutboundText(buildSlackEditTextPayload(params.text, params.blocks))
|
|
840
|
-
]);
|
|
841
|
-
if (params.blocks?.length && hasSlackNativeDataBlock(params.blocks)) {
|
|
842
|
-
const fallbackPlan = buildSlackNativeDataDeliveryPlan({
|
|
843
|
-
baseText: params.text,
|
|
844
|
-
blocks: params.blocks
|
|
845
|
-
});
|
|
846
|
-
for (const message of fallbackPlan.fallbackMessages) texts.add(normalizeSlackOutboundText(message.text));
|
|
847
|
-
}
|
|
848
|
-
return texts;
|
|
849
|
-
}
|
|
850
|
-
function blocksMatch(expected, actual) {
|
|
851
|
-
if (!expected?.length) return !actual?.length;
|
|
852
|
-
if (!actual?.length) {
|
|
853
|
-
if (!hasSlackNativeDataBlock(expected)) return false;
|
|
854
|
-
return buildSlackNativeDataDeliveryPlan({ blocks: expected }).fallbackMessages.every((message) => !message.blocks?.length);
|
|
855
|
-
}
|
|
856
|
-
if (JSON.stringify(expected) === JSON.stringify(actual)) return true;
|
|
857
|
-
if (!hasSlackNativeDataBlock(expected)) return false;
|
|
858
|
-
try {
|
|
859
|
-
const fallbackPlan = buildSlackNativeDataDeliveryPlan({ blocks: expected });
|
|
860
|
-
const fallbackBlocks = fallbackPlan.fallbackMessages.flatMap((message) => message.blocks ?? []);
|
|
861
|
-
if (JSON.stringify(fallbackBlocks) === JSON.stringify(actual)) return true;
|
|
862
|
-
const fallbackText = fallbackPlan.fallbackMessages.map((message) => message.text).filter(Boolean).join("\n\n");
|
|
863
|
-
const actualText = buildSlackBlocksFallbackText(actual);
|
|
864
|
-
return normalizeSlackOutboundText(actualText) === normalizeSlackOutboundText(fallbackText);
|
|
865
|
-
} catch {
|
|
866
|
-
return false;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
async function readSlackMessageAfterEditError(params) {
|
|
870
|
-
if (params.threadTs) return ((await params.client.conversations.replies({
|
|
871
|
-
token: params.token,
|
|
872
|
-
channel: params.channelId,
|
|
873
|
-
ts: params.threadTs,
|
|
874
|
-
latest: params.messageId,
|
|
875
|
-
oldest: params.messageId,
|
|
876
|
-
inclusive: true,
|
|
877
|
-
limit: 1
|
|
878
|
-
})).messages ?? []).find((message) => message?.ts === params.messageId) ?? null;
|
|
879
|
-
const message = (await params.client.conversations.history({
|
|
880
|
-
token: params.token,
|
|
881
|
-
channel: params.channelId,
|
|
882
|
-
latest: params.messageId,
|
|
883
|
-
oldest: params.messageId,
|
|
884
|
-
inclusive: true,
|
|
885
|
-
limit: 1
|
|
886
|
-
})).messages?.[0];
|
|
887
|
-
if (!message?.ts || message.ts !== params.messageId) return null;
|
|
888
|
-
return message;
|
|
889
|
-
}
|
|
890
|
-
async function didSlackPreviewEditApplyAfterError(params) {
|
|
891
|
-
const readback = await readSlackMessageAfterEditError(params);
|
|
892
|
-
if (!readback) return false;
|
|
893
|
-
const expectedText = buildExpectedSlackEditText({
|
|
894
|
-
text: params.text,
|
|
895
|
-
blocks: params.blocks
|
|
896
|
-
});
|
|
897
|
-
const acceptedTexts = buildAcceptedSlackEditTexts({
|
|
898
|
-
text: params.text,
|
|
899
|
-
blocks: params.blocks
|
|
900
|
-
});
|
|
901
|
-
const actualText = normalizeSlackOutboundText((readback.text ?? "").trim());
|
|
902
|
-
if (params.blocks?.length) return acceptedTexts.has(actualText) && blocksMatch(params.blocks, readback.blocks);
|
|
903
|
-
return actualText === expectedText;
|
|
904
|
-
}
|
|
905
|
-
async function finalizeSlackPreviewEdit(params) {
|
|
906
|
-
try {
|
|
907
|
-
await editSlackRenderedMessage(params.channelId, params.messageId, params.text, {
|
|
908
|
-
token: params.token,
|
|
909
|
-
accountId: params.accountId,
|
|
910
|
-
client: params.client,
|
|
911
|
-
...params.blocks?.length ? { blocks: params.blocks } : {}
|
|
912
|
-
});
|
|
913
|
-
} catch (err) {
|
|
914
|
-
try {
|
|
915
|
-
if (await didSlackPreviewEditApplyAfterError({
|
|
916
|
-
client: params.client,
|
|
917
|
-
token: params.token,
|
|
918
|
-
channelId: params.channelId,
|
|
919
|
-
messageId: params.messageId,
|
|
920
|
-
text: params.text,
|
|
921
|
-
blocks: params.blocks,
|
|
922
|
-
threadTs: params.threadTs
|
|
923
|
-
})) {
|
|
924
|
-
logVerbose(`slack: preview final edit response failed but readback matched message ${params.channelId}/${params.messageId}; suppressing duplicate fallback send`);
|
|
925
|
-
return;
|
|
926
|
-
}
|
|
927
|
-
} catch (readbackErr) {
|
|
928
|
-
logVerbose(`slack: preview final edit readback failed (${String(readbackErr)})`);
|
|
929
|
-
}
|
|
930
|
-
throw err;
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
//#endregion
|
|
934
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch-progress-card.ts
|
|
935
|
-
function createSlackDraftProgressCardRuntime(params) {
|
|
936
|
-
const { account, cfg, ctx, prepared, slackClient } = params.setup;
|
|
937
|
-
let latestFallbackText = "";
|
|
938
|
-
let finalStatus;
|
|
939
|
-
const resolveSessionUrl = () => {
|
|
940
|
-
if (cfg.gateway?.controlUi?.enabled === false) return;
|
|
941
|
-
const publicOrigin = resolveGatewayPublicOrigin(cfg);
|
|
942
|
-
if (!publicOrigin) return;
|
|
943
|
-
const url = new URL(publicOrigin);
|
|
944
|
-
const path = buildControlUiSessionPath({
|
|
945
|
-
namespace: "chat",
|
|
946
|
-
sessionKey: prepared.route.sessionKey,
|
|
947
|
-
fallbackAgentId: prepared.route.agentId,
|
|
948
|
-
basePath: cfg.gateway?.controlUi?.basePath
|
|
949
|
-
});
|
|
950
|
-
if (!path) return;
|
|
951
|
-
url.pathname = path;
|
|
952
|
-
return url.toString();
|
|
953
|
-
};
|
|
954
|
-
const resolveText = (snapshot) => latestFallbackText || formatChannelProgressDraftText({
|
|
955
|
-
entry: account.config,
|
|
956
|
-
lines: [...snapshot.lines],
|
|
957
|
-
seed: params.progressSeed,
|
|
958
|
-
formatLine: formatSlackProgressDraftLine,
|
|
959
|
-
narration: snapshot.statusHeadline,
|
|
960
|
-
plan: snapshot.plan,
|
|
961
|
-
diffStat: snapshot.diffStat
|
|
962
|
-
});
|
|
963
|
-
const resolvePresentation = (snapshot, state) => {
|
|
964
|
-
const title = params.explicitTitle ?? snapshot.statusHeadline ?? "Working";
|
|
965
|
-
const narration = params.explicitTitle ? combineProgressHeadlineAndExplanation(snapshot.statusHeadline, snapshot.planExplanation) : snapshot.planExplanation && snapshot.planExplanation !== title ? snapshot.planExplanation : void 0;
|
|
966
|
-
const workCounter = state === "working" ? params.progressWorkCounter : void 0;
|
|
967
|
-
const sessionUrl = state === "working" ? void 0 : resolveSessionUrl();
|
|
968
|
-
return buildSlackProgressCardBlocks({
|
|
969
|
-
state,
|
|
970
|
-
title,
|
|
971
|
-
narration,
|
|
972
|
-
plan: snapshot.plan,
|
|
973
|
-
lines: resolveStructuredProgressLines(snapshot.lines),
|
|
974
|
-
maxLineChars: params.maxLineChars,
|
|
975
|
-
diffStat: snapshot.diffStat,
|
|
976
|
-
toolCalls: workCounter?.toolCalls,
|
|
977
|
-
elapsedSeconds: workCounter?.elapsedSeconds,
|
|
978
|
-
sessionUrl
|
|
979
|
-
});
|
|
980
|
-
};
|
|
981
|
-
const finalize = async (status, snapshot = params.getSnapshot(), fallbackText = resolveText(snapshot)) => {
|
|
982
|
-
if (!params.draftStream || !params.enabled) return false;
|
|
983
|
-
await params.draftStream.dropDetachedMessages();
|
|
984
|
-
const terminalStatus = finalStatus === "error" || status === "error" ? "error" : "success";
|
|
985
|
-
if (finalStatus === terminalStatus) return true;
|
|
986
|
-
await params.draftStream.flush();
|
|
987
|
-
const channelId = params.draftStream.channelId();
|
|
988
|
-
const messageId = params.draftStream.messageId();
|
|
989
|
-
if (!channelId || !messageId) return false;
|
|
990
|
-
await params.draftStream.seal();
|
|
991
|
-
try {
|
|
992
|
-
const finalized = await params.draftStream.finalizeMessage(messageId, async () => {
|
|
993
|
-
await finalizeSlackPreviewEdit({
|
|
994
|
-
client: slackClient,
|
|
995
|
-
token: ctx.botToken,
|
|
996
|
-
accountId: account.accountId,
|
|
997
|
-
channelId,
|
|
998
|
-
messageId,
|
|
999
|
-
text: fallbackText,
|
|
1000
|
-
blocks: resolvePresentation(snapshot, terminalStatus),
|
|
1001
|
-
threadTs: params.getThreadTs()
|
|
1002
|
-
});
|
|
1003
|
-
});
|
|
1004
|
-
if (finalized) finalStatus = terminalStatus;
|
|
1005
|
-
return finalized;
|
|
1006
|
-
} catch (err) {
|
|
1007
|
-
logVerbose(`slack: progress card final edit failed (${formatSlackError(err)})`);
|
|
1008
|
-
return false;
|
|
1009
|
-
}
|
|
1010
|
-
};
|
|
1011
|
-
return {
|
|
1012
|
-
resolveSessionUrl,
|
|
1013
|
-
resolveText,
|
|
1014
|
-
resolvePresentation,
|
|
1015
|
-
finalize,
|
|
1016
|
-
get hasTerminalized() {
|
|
1017
|
-
return finalStatus !== void 0;
|
|
1018
|
-
},
|
|
1019
|
-
setFallbackText(text) {
|
|
1020
|
-
latestFallbackText = text;
|
|
1021
|
-
},
|
|
1022
|
-
reset() {
|
|
1023
|
-
latestFallbackText = "";
|
|
1024
|
-
finalStatus = void 0;
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
}
|
|
1028
|
-
function formatSlackProgressDraftLine(line) {
|
|
1029
|
-
if (/^(?:🧠|💬)\s/u.test(line)) return line;
|
|
1030
|
-
const italicCommentary = /^_(.*)_$/su.exec(line);
|
|
1031
|
-
if (!italicCommentary) return escapeSlackMrkdwn(line);
|
|
1032
|
-
return `_${normalizeSlackOutboundText(italicCommentary[1], {
|
|
1033
|
-
mentions: "escape",
|
|
1034
|
-
enclosingStyle: "italic"
|
|
1035
|
-
})}_`;
|
|
1036
|
-
}
|
|
1037
|
-
//#endregion
|
|
1038
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch-progress-native.ts
|
|
1039
|
-
function createSlackNativeProgressTransport(params) {
|
|
1040
|
-
const { ctx, message, replyPlan, slackClient, slackIdentity, slackStreamFallbackTeamId } = params.setup;
|
|
1041
|
-
const { delivery } = params;
|
|
1042
|
-
const markDelivered = (threadTs) => {
|
|
1043
|
-
if (!delivery.streamSession?.delivered) return false;
|
|
1044
|
-
delivery.observedReplyDelivery = true;
|
|
1045
|
-
if (threadTs) {
|
|
1046
|
-
delivery.usedReplyThreadTs ??= threadTs;
|
|
1047
|
-
delivery.rememberDeliveredThreadTs("block", threadTs);
|
|
1048
|
-
}
|
|
1049
|
-
return true;
|
|
1050
|
-
};
|
|
1051
|
-
const waitForStart = async () => {
|
|
1052
|
-
if (delivery.streamSession || !delivery.nativeProgressStreamStartPromise) return true;
|
|
1053
|
-
try {
|
|
1054
|
-
await delivery.nativeProgressStreamStartPromise;
|
|
1055
|
-
} catch {
|
|
1056
|
-
delivery.streamFailed = true;
|
|
1057
|
-
return false;
|
|
1058
|
-
}
|
|
1059
|
-
return !delivery.streamFailed;
|
|
1060
|
-
};
|
|
1061
|
-
const start = async (update) => {
|
|
1062
|
-
const streamThreadTs = replyPlan.nextThreadTs();
|
|
1063
|
-
if (!streamThreadTs) {
|
|
1064
|
-
logVerbose("slack-stream: no reply thread target for native progress stream start, falling back");
|
|
1065
|
-
delivery.streamFailed = true;
|
|
1066
|
-
return false;
|
|
1067
|
-
}
|
|
1068
|
-
delivery.nativeProgressStreamThreadTs = streamThreadTs;
|
|
1069
|
-
const startPromise = (async () => {
|
|
1070
|
-
const session = await startSlackStream({
|
|
1071
|
-
client: slackClient,
|
|
1072
|
-
clientOptions: params.setup.slackClientOptions,
|
|
1073
|
-
channel: message.channel,
|
|
1074
|
-
threadTs: streamThreadTs,
|
|
1075
|
-
...update.text ? { text: update.text } : {},
|
|
1076
|
-
...update.chunks?.length ? { chunks: update.chunks } : {},
|
|
1077
|
-
taskDisplayMode: "plan",
|
|
1078
|
-
...slackIdentity ? { identity: slackIdentity } : {},
|
|
1079
|
-
teamId: await resolveSlackStreamRecipientTeamId({
|
|
1080
|
-
client: slackClient,
|
|
1081
|
-
token: ctx.botToken,
|
|
1082
|
-
userId: message.user,
|
|
1083
|
-
fallbackTeamId: slackStreamFallbackTeamId
|
|
1084
|
-
}),
|
|
1085
|
-
userId: message.user
|
|
1086
|
-
});
|
|
1087
|
-
delivery.streamSession = session;
|
|
1088
|
-
return session;
|
|
1089
|
-
})();
|
|
1090
|
-
delivery.nativeProgressStreamStartPromise = startPromise;
|
|
1091
|
-
try {
|
|
1092
|
-
if (!await startPromise) return false;
|
|
1093
|
-
const delivered = markDelivered(streamThreadTs);
|
|
1094
|
-
return update.chunks?.length ? delivered : true;
|
|
1095
|
-
} finally {
|
|
1096
|
-
if (delivery.nativeProgressStreamStartPromise === startPromise) delivery.nativeProgressStreamStartPromise = null;
|
|
1097
|
-
}
|
|
1098
|
-
};
|
|
1099
|
-
const append = async (update) => {
|
|
1100
|
-
const session = delivery.streamSession;
|
|
1101
|
-
if (!session) return false;
|
|
1102
|
-
await appendSlackStream({
|
|
1103
|
-
session,
|
|
1104
|
-
...update.text ? { text: update.text } : {},
|
|
1105
|
-
...update.chunks?.length ? { chunks: update.chunks } : {}
|
|
1106
|
-
});
|
|
1107
|
-
const delivered = markDelivered(delivery.nativeProgressStreamThreadTs);
|
|
1108
|
-
return update.chunks?.length ? delivered : true;
|
|
1109
|
-
};
|
|
1110
|
-
return {
|
|
1111
|
-
append,
|
|
1112
|
-
start,
|
|
1113
|
-
waitForStart
|
|
1114
|
-
};
|
|
1115
|
-
}
|
|
1116
|
-
//#endregion
|
|
1117
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch-progress.ts
|
|
1118
|
-
function createSlackProgressRuntime(runtimeParams) {
|
|
1119
|
-
const { setup, delivery, resetPreviewDeliveryState } = runtimeParams;
|
|
1120
|
-
const { account, cfg, ctx, hasSlackCustomIdentity, message, prepared, replyPlan, runtime, slackClient, slackIdentity, slackMessageMetadata, slackStreaming, shouldUseDraftStream, useStreaming, previewStreamingEnabled } = setup;
|
|
1121
|
-
const draftStream = shouldUseDraftStream ? createSlackDraftStream({
|
|
1122
|
-
target: prepared.replyTarget,
|
|
1123
|
-
cfg,
|
|
1124
|
-
token: ctx.botToken,
|
|
1125
|
-
accountId: account.accountId,
|
|
1126
|
-
conversationChannelId: message.channel,
|
|
1127
|
-
eventScope: prepared.eventScope,
|
|
1128
|
-
...!hasSlackCustomIdentity && slackIdentity ? { identity: slackIdentity } : {},
|
|
1129
|
-
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {},
|
|
1130
|
-
maxChars: Math.min(ctx.textLimit, SLACK_TEXT_LIMIT),
|
|
1131
|
-
resolveThreadTs: () => {
|
|
1132
|
-
const ts = replyPlan.peekThreadTs();
|
|
1133
|
-
if (ts) delivery.usedReplyThreadTs ??= ts;
|
|
1134
|
-
return ts;
|
|
1135
|
-
},
|
|
1136
|
-
log: logVerbose,
|
|
1137
|
-
warn: logVerbose
|
|
1138
|
-
}) : void 0;
|
|
1139
|
-
let hasStreamedAnswer = false;
|
|
1140
|
-
const isProgressMode = slackStreaming.mode === "progress";
|
|
1141
|
-
const useNativeProgressStreaming = useStreaming && slackStreaming.mode === "progress";
|
|
1142
|
-
const progressDraftActive = Boolean(draftStream) || useNativeProgressStreaming;
|
|
1143
|
-
const previewToolProgressEnabled = progressDraftActive && resolveChannelStreamingPreviewToolProgress(account.config, slackStreaming.mode !== "progress", slackStreaming.mode);
|
|
1144
|
-
let shouldYieldDraftProgress = () => false;
|
|
1145
|
-
const suppressDefaultToolProgressMessages = resolveChannelStreamingSuppressDefaultToolProgressMessages(account.config, {
|
|
1146
|
-
draftStreamActive: Boolean(draftStream) || useNativeProgressStreaming,
|
|
1147
|
-
mode: slackStreaming.mode,
|
|
1148
|
-
previewToolProgressEnabled,
|
|
1149
|
-
previewStreamingEnabled
|
|
1150
|
-
});
|
|
1151
|
-
let nativeStreamSnapshot = EMPTY_SLACK_NATIVE_STREAM_SNAPSHOT;
|
|
1152
|
-
let appendRenderedText = "";
|
|
1153
|
-
let appendSourceText = "";
|
|
1154
|
-
let nativeProgressCompletionSent = false;
|
|
1155
|
-
let nativeProgressTerminalStatus = "complete";
|
|
1156
|
-
let nativeNarrationRenderedText = "";
|
|
1157
|
-
let nativeNarrationSourceText = "";
|
|
1158
|
-
let nativeStreamOrder = Promise.resolve();
|
|
1159
|
-
const withNativeStreamOrder = (task) => {
|
|
1160
|
-
const run = nativeStreamOrder.then(task, task);
|
|
1161
|
-
nativeStreamOrder = run.catch(() => void 0);
|
|
1162
|
-
return run;
|
|
1163
|
-
};
|
|
1164
|
-
const progressWorkCounter = createChannelProgressWorkCounter();
|
|
1165
|
-
const progressSeed = `${account.accountId}:${message.channel}`;
|
|
1166
|
-
const slackProgressStyle = resolveSlackProgressStyle(account.config);
|
|
1167
|
-
const useDraftProgressCard = Boolean(draftStream) && isProgressMode && slackProgressStyle === "card";
|
|
1168
|
-
const explicitProgressTitle = resolveExplicitSlackProgressTitle(account.config);
|
|
1169
|
-
const progressDraftMaxLineChars = resolveChannelProgressDraftMaxLineChars(account.config);
|
|
1170
|
-
const progressCard = createSlackDraftProgressCardRuntime({
|
|
1171
|
-
setup: {
|
|
1172
|
-
account,
|
|
1173
|
-
cfg,
|
|
1174
|
-
ctx,
|
|
1175
|
-
prepared,
|
|
1176
|
-
slackClient
|
|
1177
|
-
},
|
|
1178
|
-
draftStream,
|
|
1179
|
-
enabled: useDraftProgressCard,
|
|
1180
|
-
progressWorkCounter: previewToolProgressEnabled ? progressWorkCounter : void 0,
|
|
1181
|
-
progressSeed,
|
|
1182
|
-
explicitTitle: explicitProgressTitle,
|
|
1183
|
-
maxLineChars: progressDraftMaxLineChars,
|
|
1184
|
-
getSnapshot: () => progressDraft.getSnapshot(),
|
|
1185
|
-
getThreadTs: () => delivery.usedReplyThreadTs
|
|
1186
|
-
});
|
|
1187
|
-
const nativeTransport = createSlackNativeProgressTransport({
|
|
1188
|
-
setup,
|
|
1189
|
-
delivery
|
|
1190
|
-
});
|
|
1191
|
-
const dropDetachedProgressCards = async () => {
|
|
1192
|
-
if (!useDraftProgressCard) return;
|
|
1193
|
-
await draftStream?.dropDetachedMessages();
|
|
1194
|
-
};
|
|
1195
|
-
const appendNativeProgressCompletion = async (isError) => {
|
|
1196
|
-
const session = delivery.streamSession;
|
|
1197
|
-
if (isError) nativeProgressTerminalStatus = "error";
|
|
1198
|
-
if (!session || nativeProgressCompletionSent) return;
|
|
1199
|
-
const chunks = buildNativeProgressCompletionChunks(isError ? "error" : "complete");
|
|
1200
|
-
const narrationUpdate = resolveNarrationUpdate(resolveNativeProgressNarration(progressDraft.getSnapshot()));
|
|
1201
|
-
if (!chunks?.length && !narrationUpdate.delta) return;
|
|
1202
|
-
try {
|
|
1203
|
-
await appendSlackStream({
|
|
1204
|
-
session,
|
|
1205
|
-
chunks
|
|
1206
|
-
});
|
|
1207
|
-
if (narrationUpdate.next.changed) {
|
|
1208
|
-
nativeNarrationRenderedText = narrationUpdate.next.rendered;
|
|
1209
|
-
nativeNarrationSourceText = narrationUpdate.next.source;
|
|
1210
|
-
}
|
|
1211
|
-
nativeProgressCompletionSent = true;
|
|
1212
|
-
delivery.observedReplyDelivery ||= session.delivered;
|
|
1213
|
-
} catch (err) {
|
|
1214
|
-
delivery.streamFailed = true;
|
|
1215
|
-
runtime.error?.(danger(`slack-stream: native progress completion failed: ${formatSlackError(err)}`));
|
|
1216
|
-
}
|
|
1217
|
-
};
|
|
1218
|
-
const resolveNativeProgressTitle = (snapshot) => combineProgressHeadlineAndExplanation(explicitProgressTitle ?? snapshot.statusHeadline, snapshot.planExplanation);
|
|
1219
|
-
const normalizeProgressText = (text) => text?.replace(/\s+/gu, " ").trim() ?? "";
|
|
1220
|
-
const isRenderedAsProgressTitle = (text) => {
|
|
1221
|
-
const candidate = normalizeProgressText(text);
|
|
1222
|
-
if (!candidate) return false;
|
|
1223
|
-
const title = normalizeProgressText(resolveNativeProgressTitle(progressDraft.getSnapshot()));
|
|
1224
|
-
return title.length > 0 && title.includes(candidate);
|
|
1225
|
-
};
|
|
1226
|
-
const resolveNarrationUpdate = (incoming) => {
|
|
1227
|
-
const next = applyAppendOnlyStreamUpdate({
|
|
1228
|
-
incoming: incoming ?? "",
|
|
1229
|
-
rendered: nativeNarrationRenderedText,
|
|
1230
|
-
source: nativeNarrationSourceText
|
|
1231
|
-
});
|
|
1232
|
-
return {
|
|
1233
|
-
next,
|
|
1234
|
-
delta: next.changed ? next.rendered.slice(nativeNarrationRenderedText.length) : ""
|
|
1235
|
-
};
|
|
1236
|
-
};
|
|
1237
|
-
const updateNativeProgressStreamNow = async () => {
|
|
1238
|
-
const snapshot = progressDraft.getSnapshot();
|
|
1239
|
-
const narrationUpdate = resolveNarrationUpdate(resolveNativeProgressNarration(snapshot));
|
|
1240
|
-
if (!useNativeProgressStreaming || delivery.streamFailed || nativeUpdatesStopped) return false;
|
|
1241
|
-
if (!await nativeTransport.waitForStart()) return false;
|
|
1242
|
-
const reconciled = reconcileSlackNativeTaskChunks({
|
|
1243
|
-
previous: nativeStreamSnapshot,
|
|
1244
|
-
chunks: buildSlackProgressStreamChunks({
|
|
1245
|
-
title: resolveNativeProgressTitle(snapshot),
|
|
1246
|
-
lines: resolveNativeProgressLines(snapshot),
|
|
1247
|
-
plan: snapshot.plan,
|
|
1248
|
-
maxLineChars: progressDraftMaxLineChars,
|
|
1249
|
-
summaryRow: !previewToolProgressEnabled
|
|
1250
|
-
})
|
|
1251
|
-
});
|
|
1252
|
-
const chunks = reconciled.chunks;
|
|
1253
|
-
if (!chunks?.length && !narrationUpdate.delta) return false;
|
|
1254
|
-
try {
|
|
1255
|
-
const hadSession = Boolean(delivery.streamSession);
|
|
1256
|
-
const streamUpdate = {
|
|
1257
|
-
...narrationUpdate.delta ? { text: narrationUpdate.delta } : {},
|
|
1258
|
-
...chunks?.length ? { chunks } : {}
|
|
1259
|
-
};
|
|
1260
|
-
if (!(hadSession ? await nativeTransport.append(streamUpdate) : await nativeTransport.start(streamUpdate))) return false;
|
|
1261
|
-
if (!hadSession) replyPlan.markSent();
|
|
1262
|
-
if (narrationUpdate.next.changed) {
|
|
1263
|
-
nativeNarrationRenderedText = narrationUpdate.next.rendered;
|
|
1264
|
-
nativeNarrationSourceText = narrationUpdate.next.source;
|
|
1265
|
-
}
|
|
1266
|
-
if (chunks?.length) nativeStreamSnapshot = reconciled.snapshot;
|
|
1267
|
-
return true;
|
|
1268
|
-
} catch (err) {
|
|
1269
|
-
runtime.error?.(danger(`slack-stream: native progress stream failed: ${formatSlackError(err)}, falling back`));
|
|
1270
|
-
delivery.streamFailed = true;
|
|
1271
|
-
return false;
|
|
1272
|
-
}
|
|
1273
|
-
};
|
|
1274
|
-
let nativeUpdatesStopped = false;
|
|
1275
|
-
const nativeUpdates = createDraftStreamLoop({
|
|
1276
|
-
throttleMs: 1e3,
|
|
1277
|
-
coalesceInFlight: true,
|
|
1278
|
-
emptyValue: false,
|
|
1279
|
-
isEmpty: (pending) => !pending,
|
|
1280
|
-
isStopped: () => nativeUpdatesStopped,
|
|
1281
|
-
sendOrEditStreamMessage: () => withNativeStreamOrder(updateNativeProgressStreamNow),
|
|
1282
|
-
onBackgroundFlushError: (err) => runtime.error?.(danger(`slack-stream: progress update failed: ${formatSlackError(err)}`))
|
|
1283
|
-
});
|
|
1284
|
-
const cancelNativeUpdates = async () => {
|
|
1285
|
-
nativeUpdatesStopped = true;
|
|
1286
|
-
nativeUpdates.stop();
|
|
1287
|
-
await nativeUpdates.waitForInFlight();
|
|
1288
|
-
};
|
|
1289
|
-
const appendNativeNarration = (payload, kind) => withNativeStreamOrder(() => appendNativeNarrationNow(payload, kind));
|
|
1290
|
-
const appendNativeNarrationNow = async (payload, kind) => {
|
|
1291
|
-
if (isRenderedAsProgressTitle(payload.text)) return false;
|
|
1292
|
-
const narrationUpdate = resolveNarrationUpdate(payload.text?.trimEnd());
|
|
1293
|
-
if (!narrationUpdate.delta) return false;
|
|
1294
|
-
await delivery.deliverWithStreaming({
|
|
1295
|
-
payload,
|
|
1296
|
-
kind,
|
|
1297
|
-
streamText: narrationUpdate.delta,
|
|
1298
|
-
appendSeparator: false,
|
|
1299
|
-
taskDisplayMode: "plan"
|
|
1300
|
-
});
|
|
1301
|
-
if (!delivery.streamFailed) {
|
|
1302
|
-
nativeNarrationRenderedText = narrationUpdate.next.rendered;
|
|
1303
|
-
nativeNarrationSourceText = narrationUpdate.next.source;
|
|
1304
|
-
}
|
|
1305
|
-
return true;
|
|
1306
|
-
};
|
|
1307
|
-
const resetProgressTurnState = () => {
|
|
1308
|
-
progressWorkCounter.reset();
|
|
1309
|
-
nativeNarrationRenderedText = "";
|
|
1310
|
-
nativeNarrationSourceText = "";
|
|
1311
|
-
};
|
|
1312
|
-
const progressDraft = createChannelProgressDraftCompositor({
|
|
1313
|
-
entry: account.config,
|
|
1314
|
-
mode: slackStreaming.mode,
|
|
1315
|
-
active: progressDraftActive,
|
|
1316
|
-
seed: progressSeed,
|
|
1317
|
-
formatLine: formatSlackProgressDraftLine,
|
|
1318
|
-
reasoningLinePrefix: "🧠 ",
|
|
1319
|
-
updateOnLineChange: useNativeProgressStreaming || useDraftProgressCard,
|
|
1320
|
-
update: async (previewText, options) => {
|
|
1321
|
-
if (useNativeProgressStreaming) {
|
|
1322
|
-
const priorSnapshot = nativeStreamSnapshot;
|
|
1323
|
-
const priorNarration = nativeNarrationRenderedText;
|
|
1324
|
-
nativeUpdates.update(true);
|
|
1325
|
-
if (options?.flush) await nativeUpdates.flush();
|
|
1326
|
-
else await nativeUpdates.waitForInFlight();
|
|
1327
|
-
return priorSnapshot !== nativeStreamSnapshot || priorNarration !== nativeNarrationRenderedText;
|
|
1328
|
-
}
|
|
1329
|
-
if (!draftStream) return false;
|
|
1330
|
-
const snapshot = options.snapshot;
|
|
1331
|
-
progressCard.setFallbackText(previewText);
|
|
1332
|
-
draftStream.update(useDraftProgressCard ? {
|
|
1333
|
-
text: previewText,
|
|
1334
|
-
blocks: progressCard.resolvePresentation(snapshot, "working")
|
|
1335
|
-
} : previewText);
|
|
1336
|
-
if (options?.flush) await draftStream.flush();
|
|
1337
|
-
return Boolean(draftStream.messageId() && draftStream.channelId());
|
|
1338
|
-
},
|
|
1339
|
-
deleteCurrent: async () => {
|
|
1340
|
-
if (useNativeProgressStreaming) {
|
|
1341
|
-
nativeUpdates.update(true);
|
|
1342
|
-
await nativeUpdates.flush();
|
|
1343
|
-
} else {
|
|
1344
|
-
await draftStream?.clear();
|
|
1345
|
-
draftStream?.forceNewMessage();
|
|
1346
|
-
}
|
|
1347
|
-
}
|
|
1348
|
-
});
|
|
1349
|
-
const commentaryProgressEnabled = progressDraft.commentaryProgressEnabled;
|
|
1350
|
-
const deliverNativeFinal = async (payload, kind) => {
|
|
1351
|
-
progressDraft.markFinalReplyStarted();
|
|
1352
|
-
await cancelNativeUpdates();
|
|
1353
|
-
await withNativeStreamOrder(() => deliverNativeFinalNow(payload, kind));
|
|
1354
|
-
};
|
|
1355
|
-
const deliverNativeFinalNow = async (payload, kind) => {
|
|
1356
|
-
progressDraft.markFinalReplyStarted();
|
|
1357
|
-
const streamReady = await nativeTransport.waitForStart();
|
|
1358
|
-
const finalThreadTs = delivery.streamSession?.threadTs ?? delivery.nativeProgressStreamThreadTs;
|
|
1359
|
-
if (payload.isError !== true && streamReady && Boolean(delivery.streamSession) && delivery.isStreamingEligible(payload, { maxTextBytes: 4e3 })) {
|
|
1360
|
-
await appendNativeProgressCompletion(false);
|
|
1361
|
-
await delivery.deliverWithStreaming({
|
|
1362
|
-
payload,
|
|
1363
|
-
kind
|
|
1364
|
-
});
|
|
1365
|
-
} else {
|
|
1366
|
-
await delivery.deliverNormally({
|
|
1367
|
-
payload,
|
|
1368
|
-
kind,
|
|
1369
|
-
forcedThreadTs: finalThreadTs
|
|
1370
|
-
});
|
|
1371
|
-
await appendNativeProgressCompletion(payload.isError === true);
|
|
1372
|
-
}
|
|
1373
|
-
progressDraft.markFinalReplyDelivered();
|
|
1374
|
-
};
|
|
1375
|
-
const buildNativeProgressCompletionChunks = (finalInProgressStatus) => {
|
|
1376
|
-
const snapshot = progressDraft.getSnapshot();
|
|
1377
|
-
const lines = resolveNativeProgressLines(snapshot);
|
|
1378
|
-
const sessionUrl = progressCard.resolveSessionUrl();
|
|
1379
|
-
const narrationUpdate = resolveNarrationUpdate(resolveNativeProgressNarration(snapshot));
|
|
1380
|
-
const hasRetirableNativeTasks = [...nativeStreamSnapshot.tasks.values()].some((task) => task.status !== "complete" && task.status !== "error");
|
|
1381
|
-
if (lines.length === 0 && !snapshot.plan?.length && !hasRetirableNativeTasks && !snapshot.diffStat && !narrationUpdate.delta && !sessionUrl) return;
|
|
1382
|
-
const completion = reconcileSlackNativeTaskChunks({
|
|
1383
|
-
previous: nativeStreamSnapshot,
|
|
1384
|
-
finalStatus: finalInProgressStatus,
|
|
1385
|
-
chunks: buildSlackProgressStreamChunks({
|
|
1386
|
-
title: resolveNativeProgressTitle(snapshot) ?? (lines.length === 0 && !snapshot.plan?.length ? "Working" : void 0),
|
|
1387
|
-
lines,
|
|
1388
|
-
plan: snapshot.plan,
|
|
1389
|
-
maxLineChars: progressDraftMaxLineChars,
|
|
1390
|
-
summaryRow: !previewToolProgressEnabled,
|
|
1391
|
-
finalInProgressStatus,
|
|
1392
|
-
diffStat: snapshot.diffStat,
|
|
1393
|
-
sessionUrl
|
|
1394
|
-
})
|
|
1395
|
-
}).chunks;
|
|
1396
|
-
return narrationUpdate.delta ? [{
|
|
1397
|
-
type: "markdown_text",
|
|
1398
|
-
text: narrationUpdate.delta
|
|
1399
|
-
}, ...completion ?? []] : completion;
|
|
1400
|
-
};
|
|
1401
|
-
const finishNativeProgressTurn = async (completionChunks) => {
|
|
1402
|
-
if (delivery.nativeProgressStreamStartPromise) await delivery.nativeProgressStreamStartPromise.catch(() => null);
|
|
1403
|
-
if (completionChunks?.length) nativeProgressCompletionSent = true;
|
|
1404
|
-
await delivery.finishStream(completionChunks);
|
|
1405
|
-
delivery.streamSession = null;
|
|
1406
|
-
delivery.nativeProgressStreamStartPromise = null;
|
|
1407
|
-
delivery.nativeProgressStreamThreadTs = void 0;
|
|
1408
|
-
delivery.streamFailed = false;
|
|
1409
|
-
};
|
|
1410
|
-
const pushPlanProgress = async (steps, explanation) => {
|
|
1411
|
-
if (isProgressMode && slackProgressStyle === "compact") return false;
|
|
1412
|
-
return await progressDraft.pushPlanProgress(steps, { explanation });
|
|
1413
|
-
};
|
|
1414
|
-
const updateDraftFromPartial = (text) => {
|
|
1415
|
-
const trimmed = text && sanitizeAssistantVisibleText(text).trimEnd();
|
|
1416
|
-
if (!trimmed) return false;
|
|
1417
|
-
if (slackStreaming.mode === "block") {
|
|
1418
|
-
progressDraft.resetActivity({ suppressed: true });
|
|
1419
|
-
const next = applyAppendOnlyStreamUpdate({
|
|
1420
|
-
incoming: trimmed,
|
|
1421
|
-
rendered: appendRenderedText,
|
|
1422
|
-
source: appendSourceText
|
|
1423
|
-
});
|
|
1424
|
-
appendRenderedText = next.rendered;
|
|
1425
|
-
appendSourceText = next.source;
|
|
1426
|
-
if (!next.changed) return false;
|
|
1427
|
-
draftStream?.update(next.rendered);
|
|
1428
|
-
hasStreamedAnswer = true;
|
|
1429
|
-
return false;
|
|
1430
|
-
}
|
|
1431
|
-
if (isProgressMode) return false;
|
|
1432
|
-
progressDraft.resetActivity({ suppressed: true });
|
|
1433
|
-
draftStream?.update(trimmed);
|
|
1434
|
-
hasStreamedAnswer = true;
|
|
1435
|
-
return false;
|
|
1436
|
-
};
|
|
1437
|
-
const pushReasoningProgress = async (payload) => {
|
|
1438
|
-
if (!payload?.text) return false;
|
|
1439
|
-
if (!isProgressMode) {
|
|
1440
|
-
const normalized = progressDraft.mergeReasoningProgress(payload.text, { snapshot: payload.isReasoningSnapshot === true }).replace(/^_(.*)_$/su, "$1").trim();
|
|
1441
|
-
if (!normalized) return false;
|
|
1442
|
-
const visible = await progressDraft.pushToolProgress({
|
|
1443
|
-
id: "reasoning",
|
|
1444
|
-
kind: "item",
|
|
1445
|
-
text: normalized,
|
|
1446
|
-
label: "Reasoning"
|
|
1447
|
-
});
|
|
1448
|
-
progressDraft.mergeReasoningProgress(normalized, { snapshot: true });
|
|
1449
|
-
return visible;
|
|
1450
|
-
}
|
|
1451
|
-
return await progressDraft.pushReasoningProgress(payload.text, { snapshot: payload.isReasoningSnapshot === true });
|
|
1452
|
-
};
|
|
1453
|
-
const resetDraftDeliveryState = () => {
|
|
1454
|
-
hasStreamedAnswer = false;
|
|
1455
|
-
appendRenderedText = "";
|
|
1456
|
-
appendSourceText = "";
|
|
1457
|
-
};
|
|
1458
|
-
const beginNewProgressTurn = async (options) => {
|
|
1459
|
-
if (useNativeProgressStreaming) {
|
|
1460
|
-
if (!nativeUpdatesStopped && options?.force !== true) return false;
|
|
1461
|
-
await cancelNativeUpdates();
|
|
1462
|
-
}
|
|
1463
|
-
const priorSnapshot = progressDraft.getSnapshot();
|
|
1464
|
-
const priorFallbackText = progressCard.resolveText(priorSnapshot);
|
|
1465
|
-
const completionChunks = useNativeProgressStreaming && !nativeProgressCompletionSent ? buildNativeProgressCompletionChunks(nativeProgressTerminalStatus) : void 0;
|
|
1466
|
-
if (!progressDraft.beginNewTurn(options)) return false;
|
|
1467
|
-
if (useNativeProgressStreaming) await finishNativeProgressTurn(completionChunks);
|
|
1468
|
-
else {
|
|
1469
|
-
await progressCard.finalize("success", priorSnapshot, priorFallbackText);
|
|
1470
|
-
draftStream?.forceNewMessage();
|
|
1471
|
-
await dropDetachedProgressCards();
|
|
1472
|
-
}
|
|
1473
|
-
resetProgressTurnState();
|
|
1474
|
-
nativeStreamSnapshot = EMPTY_SLACK_NATIVE_STREAM_SNAPSHOT;
|
|
1475
|
-
nativeProgressCompletionSent = false;
|
|
1476
|
-
nativeProgressTerminalStatus = "complete";
|
|
1477
|
-
nativeUpdatesStopped = false;
|
|
1478
|
-
nativeUpdates.resetThrottleWindow();
|
|
1479
|
-
progressCard.reset();
|
|
1480
|
-
resetPreviewDeliveryState();
|
|
1481
|
-
delivery.resetDeliveryTracker();
|
|
1482
|
-
return true;
|
|
1483
|
-
};
|
|
1484
|
-
const onDraftBoundary = !shouldUseDraftStream && !useNativeProgressStreaming ? void 0 : async () => {
|
|
1485
|
-
if (isProgressMode) {
|
|
1486
|
-
await beginNewProgressTurn();
|
|
1487
|
-
progressDraft.beginAssistantMessage();
|
|
1488
|
-
return;
|
|
1489
|
-
}
|
|
1490
|
-
if (hasStreamedAnswer) draftStream?.forceNewMessage();
|
|
1491
|
-
resetDraftDeliveryState();
|
|
1492
|
-
progressDraft.beginAssistantMessage();
|
|
1493
|
-
};
|
|
1494
|
-
const onQueuedFollowupAdmitted = !shouldUseDraftStream && !useNativeProgressStreaming ? void 0 : async () => {
|
|
1495
|
-
await draftStream?.flush();
|
|
1496
|
-
resetPreviewDeliveryState();
|
|
1497
|
-
if (isProgressMode) await beginNewProgressTurn({ force: true });
|
|
1498
|
-
else draftStream?.forceNewMessage();
|
|
1499
|
-
delivery.resetDeliveryTracker();
|
|
1500
|
-
resetDraftDeliveryState();
|
|
1501
|
-
progressDraft.reset();
|
|
1502
|
-
};
|
|
1503
|
-
const onQueuedFollowupSettled = !useDraftProgressCard && !useNativeProgressStreaming ? void 0 : async () => {
|
|
1504
|
-
if (useNativeProgressStreaming) {
|
|
1505
|
-
progressDraft.markFinalReplyStarted();
|
|
1506
|
-
await cancelNativeUpdates();
|
|
1507
|
-
await finishNativeProgressTurn(nativeProgressCompletionSent ? void 0 : buildNativeProgressCompletionChunks(nativeProgressTerminalStatus));
|
|
1508
|
-
progressDraft.markFinalReplyDelivered();
|
|
1509
|
-
return;
|
|
1510
|
-
}
|
|
1511
|
-
if (!progressCard.hasTerminalized) await draftStream?.clear();
|
|
1512
|
-
await dropDetachedProgressCards();
|
|
1513
|
-
};
|
|
1514
|
-
return {
|
|
1515
|
-
draftStream,
|
|
1516
|
-
isProgressMode,
|
|
1517
|
-
useDraftProgressCard,
|
|
1518
|
-
useNativeProgressStreaming,
|
|
1519
|
-
progressDraftActive,
|
|
1520
|
-
previewToolProgressEnabled,
|
|
1521
|
-
suppressDefaultToolProgressMessages,
|
|
1522
|
-
progressDraft,
|
|
1523
|
-
progressWorkCounter,
|
|
1524
|
-
commentaryProgressEnabled,
|
|
1525
|
-
async cancel() {
|
|
1526
|
-
progressDraft.cancel();
|
|
1527
|
-
await cancelNativeUpdates();
|
|
1528
|
-
},
|
|
1529
|
-
get nativeProgressCompletionSent() {
|
|
1530
|
-
return nativeProgressCompletionSent;
|
|
1531
|
-
},
|
|
1532
|
-
set nativeProgressCompletionSent(value) {
|
|
1533
|
-
nativeProgressCompletionSent = value;
|
|
1534
|
-
},
|
|
1535
|
-
get nativeProgressTerminalStatus() {
|
|
1536
|
-
return nativeProgressTerminalStatus;
|
|
1537
|
-
},
|
|
1538
|
-
appendNativeNarration,
|
|
1539
|
-
buildNativeProgressCompletionChunks,
|
|
1540
|
-
deliverNativeFinal,
|
|
1541
|
-
dropDetachedProgressCards,
|
|
1542
|
-
finalizeDraftProgressCard: progressCard.finalize,
|
|
1543
|
-
onDraftBoundary,
|
|
1544
|
-
onQueuedFollowupAdmitted,
|
|
1545
|
-
onQueuedFollowupSettled,
|
|
1546
|
-
pushPlanProgress,
|
|
1547
|
-
pushReasoningProgress,
|
|
1548
|
-
updateDraftFromPartial,
|
|
1549
|
-
setShouldYieldDraftProgress: (value) => {
|
|
1550
|
-
shouldYieldDraftProgress = value;
|
|
1551
|
-
},
|
|
1552
|
-
shouldYieldDraftProgress: () => shouldYieldDraftProgress()
|
|
1553
|
-
};
|
|
1554
|
-
}
|
|
1555
|
-
//#endregion
|
|
1556
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch-setup.ts
|
|
1557
|
-
async function createSlackDispatchSetup(prepared) {
|
|
1558
|
-
const { ctx, account, message, route } = prepared;
|
|
1559
|
-
const slackClient = prepared.eventScope?.client ?? ctx.app.client;
|
|
1560
|
-
const slackClientOptions = {
|
|
1561
|
-
...ctx.app.webClientOptions,
|
|
1562
|
-
...prepared.eventScope ? { teamId: prepared.eventScope.teamId } : {}
|
|
1563
|
-
};
|
|
1564
|
-
const slackStreamFallbackTeamId = prepared.eventScope?.teamId ?? ctx.teamId;
|
|
1565
|
-
const cfg = ctx.cfg;
|
|
1566
|
-
const runtime = ctx.runtime;
|
|
1567
|
-
const outboundIdentity = resolveAgentOutboundIdentity(cfg, route.agentId);
|
|
1568
|
-
const slackIdentity = outboundIdentity ? {
|
|
1569
|
-
username: outboundIdentity.name,
|
|
1570
|
-
iconUrl: outboundIdentity.avatarUrl,
|
|
1571
|
-
iconEmoji: outboundIdentity.emoji
|
|
1572
|
-
} : prepared.relayIdentity;
|
|
1573
|
-
if (prepared.isDirectMessage) {
|
|
1574
|
-
const sessionCfg = cfg.session;
|
|
1575
|
-
const storePath = resolveStorePath(sessionCfg?.store, { agentId: route.agentId });
|
|
1576
|
-
const pinnedMainDmOwner = resolvePinnedMainDmOwnerFromAllowlist({
|
|
1577
|
-
dmScope: cfg.session?.dmScope,
|
|
1578
|
-
allowFrom: ctx.allowFrom,
|
|
1579
|
-
normalizeEntry: normalizeSlackAllowOwnerEntry
|
|
1580
|
-
});
|
|
1581
|
-
const senderRecipient = normalizeOptionalLowercaseString(message.user);
|
|
1582
|
-
const inboundLastRouteSessionKey = resolveInboundLastRouteSessionKey({
|
|
1583
|
-
route,
|
|
1584
|
-
sessionKey: prepared.ctxPayload.SessionKey ?? route.sessionKey
|
|
1585
|
-
});
|
|
1586
|
-
if (inboundLastRouteSessionKey === route.mainSessionKey && pinnedMainDmOwner && senderRecipient && normalizeOptionalLowercaseString(pinnedMainDmOwner) !== senderRecipient) logVerbose(`slack: skip main-session last route for ${senderRecipient} (pinned owner ${pinnedMainDmOwner})`);
|
|
1587
|
-
else await updateLastRoute({
|
|
1588
|
-
storePath,
|
|
1589
|
-
sessionKey: inboundLastRouteSessionKey,
|
|
1590
|
-
deliveryContext: {
|
|
1591
|
-
channel: "slack",
|
|
1592
|
-
to: prepared.ctxPayload.OriginatingTo ?? prepared.ctxPayload.To ?? `user:${message.user}`,
|
|
1593
|
-
accountId: route.accountId,
|
|
1594
|
-
threadId: prepared.ctxPayload.MessageThreadId ?? prepared.ctxPayload.TransportThreadId
|
|
1595
|
-
},
|
|
1596
|
-
ctx: prepared.ctxPayload
|
|
1597
|
-
});
|
|
1598
|
-
}
|
|
1599
|
-
const threadTargets = resolveSlackThreadTargets({
|
|
1600
|
-
message,
|
|
1601
|
-
replyToMode: prepared.replyToMode
|
|
1602
|
-
});
|
|
1603
|
-
const forcedReplyThreadTs = prepared.forcedReplyThreadTs;
|
|
1604
|
-
const slackMessageMetadata = prepared.slackMessageMetadata;
|
|
1605
|
-
const statusThreadTs = forcedReplyThreadTs ?? threadTargets.statusThreadTs;
|
|
1606
|
-
const isThreadReply = threadTargets.isThreadReply;
|
|
1607
|
-
const replyDeliveryMode = forcedReplyThreadTs ? "off" : prepared.replyToMode;
|
|
1608
|
-
const sourceReplyDeliveryMode = resolveChannelMessageSourceReplyDeliveryMode({
|
|
1609
|
-
cfg,
|
|
1610
|
-
ctx: prepared.ctxPayload
|
|
1611
|
-
});
|
|
1612
|
-
const sourceRepliesAreToolOnly = sourceReplyDeliveryMode === "message_tool_only";
|
|
1613
|
-
const suppressRoomEventTyping = prepared.ctxPayload.InboundEventKind === "room_event";
|
|
1614
|
-
const messageSentHookTarget = prepared.ctxPayload.OriginatingTo ?? prepared.ctxPayload.To ?? prepared.replyTarget;
|
|
1615
|
-
const messageSentHookContext = {
|
|
1616
|
-
sessionKeyForInternalHooks: prepared.ctxPayload.SessionKey ?? route.sessionKey,
|
|
1617
|
-
isGroup: prepared.isRoomish,
|
|
1618
|
-
groupId: prepared.isRoomish ? message.channel : void 0
|
|
1619
|
-
};
|
|
1620
|
-
const messageSentDeliveryHookContext = {
|
|
1621
|
-
...messageSentHookContext,
|
|
1622
|
-
messageSentHookTarget
|
|
1623
|
-
};
|
|
1624
|
-
const reactionMessageTs = prepared.ackReactionMessageTs;
|
|
1625
|
-
const messageTs = message.ts ?? message.event_ts;
|
|
1626
|
-
const incomingThreadTs = message.thread_ts;
|
|
1627
|
-
let didSetStatus = false;
|
|
1628
|
-
let didAddTypingReaction = false;
|
|
1629
|
-
const statusReactionsEnabled = prepared.ctxPayload.InboundEventKind !== "room_event" && Boolean(prepared.ackReactionPromise) && Boolean(reactionMessageTs) && cfg.messages?.statusReactions?.enabled === true;
|
|
1630
|
-
const statusReactions = createStatusReactionController({
|
|
1631
|
-
enabled: statusReactionsEnabled,
|
|
1632
|
-
adapter: {
|
|
1633
|
-
setReaction: async (emoji) => {
|
|
1634
|
-
await reactSlackMessage(message.channel, reactionMessageTs ?? "", emoji, {
|
|
1635
|
-
token: ctx.botToken,
|
|
1636
|
-
client: slackClient
|
|
1637
|
-
});
|
|
1638
|
-
},
|
|
1639
|
-
removeReaction: async (emoji) => {
|
|
1640
|
-
await removeSlackReaction(message.channel, reactionMessageTs ?? "", emoji, {
|
|
1641
|
-
token: ctx.botToken,
|
|
1642
|
-
client: slackClient
|
|
1643
|
-
});
|
|
1644
|
-
}
|
|
1645
|
-
},
|
|
1646
|
-
initialEmoji: prepared.ackReactionValue || "eyes",
|
|
1647
|
-
presentation: "acknowledgement",
|
|
1648
|
-
onError: (err) => {
|
|
1649
|
-
logAckFailure({
|
|
1650
|
-
log: logVerbose,
|
|
1651
|
-
channel: "slack",
|
|
1652
|
-
target: `${message.channel}/${message.ts}`,
|
|
1653
|
-
error: err
|
|
1654
|
-
});
|
|
1655
|
-
}
|
|
1656
|
-
});
|
|
1657
|
-
if (statusReactionsEnabled) statusReactions.setQueued();
|
|
1658
|
-
const hasRepliedRef = { value: false };
|
|
1659
|
-
const replyPlan = createSlackReplyDeliveryPlan({
|
|
1660
|
-
replyToMode: replyDeliveryMode,
|
|
1661
|
-
incomingThreadTs: forcedReplyThreadTs ?? incomingThreadTs,
|
|
1662
|
-
messageTs,
|
|
1663
|
-
hasRepliedRef,
|
|
1664
|
-
isThreadReply: Boolean(forcedReplyThreadTs) || isThreadReply
|
|
1665
|
-
});
|
|
1666
|
-
const typingTarget = statusThreadTs ? `${message.channel}/${statusThreadTs}` : message.channel;
|
|
1667
|
-
const typingReaction = ctx.typingReaction;
|
|
1668
|
-
const threadStatusGate = { hasVisibleOutput: () => false };
|
|
1669
|
-
const { onModelSelected, ...replyPipeline } = createChannelMessageReplyPipeline({
|
|
1670
|
-
cfg,
|
|
1671
|
-
agentId: route.agentId,
|
|
1672
|
-
channel: "slack",
|
|
1673
|
-
accountId: route.accountId,
|
|
1674
|
-
transformReplyPayload: sanitizeSlackMonitorReplyPayload,
|
|
1675
|
-
typing: {
|
|
1676
|
-
start: async () => {
|
|
1677
|
-
if (!didSetStatus && !threadStatusGate.hasVisibleOutput()) {
|
|
1678
|
-
didSetStatus = true;
|
|
1679
|
-
await ctx.setSlackSessionStatus({
|
|
1680
|
-
channelId: message.channel,
|
|
1681
|
-
threadTs: statusThreadTs,
|
|
1682
|
-
status: "processing",
|
|
1683
|
-
title: prepared.sessionDisplayName ?? prepared.ctxPayload.ThreadLabel,
|
|
1684
|
-
eventScope: prepared.eventScope
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
if (typingReaction && message.ts) {
|
|
1688
|
-
didAddTypingReaction = true;
|
|
1689
|
-
await reactSlackMessage(message.channel, message.ts, typingReaction, {
|
|
1690
|
-
token: ctx.botToken,
|
|
1691
|
-
client: slackClient
|
|
1692
|
-
}).catch((err) => {
|
|
1693
|
-
logVerbose(`slack send: typing reaction failed: ${formatSlackError(err)}`);
|
|
1694
|
-
});
|
|
1695
|
-
}
|
|
1696
|
-
},
|
|
1697
|
-
stop: async () => {
|
|
1698
|
-
if (didSetStatus) {
|
|
1699
|
-
didSetStatus = false;
|
|
1700
|
-
await ctx.setSlackSessionStatus({
|
|
1701
|
-
channelId: message.channel,
|
|
1702
|
-
threadTs: statusThreadTs,
|
|
1703
|
-
status: "active",
|
|
1704
|
-
eventScope: prepared.eventScope
|
|
1705
|
-
});
|
|
1706
|
-
}
|
|
1707
|
-
if (didAddTypingReaction && typingReaction && message.ts) {
|
|
1708
|
-
didAddTypingReaction = false;
|
|
1709
|
-
await removeSlackReaction(message.channel, message.ts, typingReaction, {
|
|
1710
|
-
token: ctx.botToken,
|
|
1711
|
-
client: slackClient
|
|
1712
|
-
}).catch((err) => {
|
|
1713
|
-
logVerbose(`slack send: typing reaction removal failed: ${formatSlackError(err)}`);
|
|
1714
|
-
});
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
onStartError: (err) => {
|
|
1718
|
-
logTypingFailure({
|
|
1719
|
-
log: (messageValue) => runtime.error?.(danger(messageValue)),
|
|
1720
|
-
channel: "slack",
|
|
1721
|
-
action: "start",
|
|
1722
|
-
target: typingTarget,
|
|
1723
|
-
error: err
|
|
1724
|
-
});
|
|
1725
|
-
},
|
|
1726
|
-
onStopError: (err) => {
|
|
1727
|
-
logTypingFailure({
|
|
1728
|
-
log: (messageLocal) => runtime.error?.(danger(messageLocal)),
|
|
1729
|
-
channel: "slack",
|
|
1730
|
-
action: "stop",
|
|
1731
|
-
target: typingTarget,
|
|
1732
|
-
error: err
|
|
1733
|
-
});
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
});
|
|
1737
|
-
const slackStreaming = resolveSlackStreamingConfig({ streaming: account.config.streaming });
|
|
1738
|
-
const streamThreadHint = forcedReplyThreadTs ?? resolveSlackStreamingThreadHint({
|
|
1739
|
-
replyToMode: replyDeliveryMode,
|
|
1740
|
-
incomingThreadTs,
|
|
1741
|
-
messageTs,
|
|
1742
|
-
isThreadReply
|
|
1743
|
-
});
|
|
1744
|
-
const hookRunner = getGlobalHookRunner();
|
|
1745
|
-
const allowPreHookProviderStreaming = !((hookRunner?.hasHooks("reply_payload_sending") ?? false) || (hookRunner?.hasHooks("message_sending") ?? false));
|
|
1746
|
-
const previewStreamingEnabled = allowPreHookProviderStreaming && !sourceRepliesAreToolOnly && slackStreaming.mode !== "off";
|
|
1747
|
-
const hasSlackCustomIdentity = Boolean(slackIdentity?.username || slackIdentity?.iconUrl || slackIdentity?.iconEmoji);
|
|
1748
|
-
const useStreaming = shouldUseStreaming({
|
|
1749
|
-
streamingEnabled: !sourceRepliesAreToolOnly && (allowPreHookProviderStreaming || slackStreaming.mode !== "progress") && isSlackStreamingEnabled({
|
|
1750
|
-
mode: slackStreaming.mode,
|
|
1751
|
-
nativeStreaming: slackStreaming.nativeStreaming,
|
|
1752
|
-
nativeProgressTaskCards: resolveSlackNativeProgressTaskCards(account.config)
|
|
1753
|
-
}),
|
|
1754
|
-
threadTs: streamThreadHint
|
|
1755
|
-
});
|
|
1756
|
-
const shouldUseDraftStream = previewStreamingEnabled && !useStreaming;
|
|
1757
|
-
const blockStreamingEnabled = resolveChannelStreamingBlockEnabled(account.config);
|
|
1758
|
-
return {
|
|
1759
|
-
prepared,
|
|
1760
|
-
ctx,
|
|
1761
|
-
account,
|
|
1762
|
-
message,
|
|
1763
|
-
route,
|
|
1764
|
-
slackClient,
|
|
1765
|
-
slackClientOptions,
|
|
1766
|
-
slackStreamFallbackTeamId,
|
|
1767
|
-
cfg,
|
|
1768
|
-
runtime,
|
|
1769
|
-
slackIdentity,
|
|
1770
|
-
forcedReplyThreadTs,
|
|
1771
|
-
slackMessageMetadata,
|
|
1772
|
-
statusThreadTs,
|
|
1773
|
-
isThreadReply,
|
|
1774
|
-
replyDeliveryMode,
|
|
1775
|
-
sourceReplyDeliveryMode,
|
|
1776
|
-
sourceRepliesAreToolOnly,
|
|
1777
|
-
suppressRoomEventTyping,
|
|
1778
|
-
messageSentHookTarget,
|
|
1779
|
-
messageSentHookContext,
|
|
1780
|
-
messageSentDeliveryHookContext,
|
|
1781
|
-
incomingThreadTs,
|
|
1782
|
-
messageTs,
|
|
1783
|
-
statusReactionsEnabled,
|
|
1784
|
-
statusReactions,
|
|
1785
|
-
hasRepliedRef,
|
|
1786
|
-
threadStatusGate,
|
|
1787
|
-
replyPlan,
|
|
1788
|
-
onModelSelected,
|
|
1789
|
-
replyPipeline,
|
|
1790
|
-
slackStreaming,
|
|
1791
|
-
streamThreadHint,
|
|
1792
|
-
previewStreamingEnabled,
|
|
1793
|
-
hasSlackCustomIdentity,
|
|
1794
|
-
shouldUseDraftStream,
|
|
1795
|
-
disableBlockStreaming: sourceRepliesAreToolOnly ? true : resolveSlackDisableBlockStreaming({
|
|
1796
|
-
useStreaming,
|
|
1797
|
-
shouldUseDraftStream,
|
|
1798
|
-
blockStreamingEnabled
|
|
1799
|
-
}),
|
|
1800
|
-
useStreaming
|
|
1801
|
-
};
|
|
1802
|
-
}
|
|
1803
|
-
//#endregion
|
|
1804
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch-streaming.ts
|
|
1805
|
-
function createSlackStreamingDeliveryRuntime(setup) {
|
|
1806
|
-
const { account, ctx, forcedReplyThreadTs, isThreadReply, message, messageSentDeliveryHookContext, messageSentHookContext, messageSentHookTarget, prepared, replyDeliveryMode, replyPlan, runtime, slackClient, slackClientOptions, slackIdentity, slackMessageMetadata, slackStreamFallbackTeamId } = setup;
|
|
1807
|
-
const state = {
|
|
1808
|
-
streamSession: null,
|
|
1809
|
-
nativeProgressStreamStartPromise: null,
|
|
1810
|
-
nativeProgressStreamThreadTs: void 0,
|
|
1811
|
-
streamFailed: false,
|
|
1812
|
-
usedReplyThreadTs: void 0,
|
|
1813
|
-
usedBlockReplyThreadTs: void 0,
|
|
1814
|
-
observedReplyDelivery: false,
|
|
1815
|
-
observedFinalReplyDelivery: false
|
|
1816
|
-
};
|
|
1817
|
-
const emitStreamedDelivery = (content, result) => {
|
|
1818
|
-
emitSlackMessageSentHooks({
|
|
1819
|
-
...messageSentHookContext,
|
|
1820
|
-
to: messageSentHookTarget,
|
|
1821
|
-
accountId: account.accountId,
|
|
1822
|
-
content,
|
|
1823
|
-
...result
|
|
1824
|
-
});
|
|
1825
|
-
};
|
|
1826
|
-
let deliveryTracker = createSlackEventDeliveryTracker();
|
|
1827
|
-
const markPreviewPayloadDelivered = (params) => {
|
|
1828
|
-
const preparedReply = prepareSlackReply(params.payload);
|
|
1829
|
-
deliveryTracker.markDelivered(buildSlackEventDeliveryKey(params, preparedReply));
|
|
1830
|
-
const nextThreadTs = replyPlan.peekThreadTs();
|
|
1831
|
-
if (nextThreadTs !== params.threadTs) deliveryTracker.markDelivered(buildSlackEventDeliveryKey({
|
|
1832
|
-
...params,
|
|
1833
|
-
threadTs: nextThreadTs
|
|
1834
|
-
}, preparedReply));
|
|
1835
|
-
};
|
|
1836
|
-
const resolveDeliveryThreadTs = (params) => {
|
|
1837
|
-
const plannedThreadTs = params.forcedThreadTs ? void 0 : replyPlan.nextThreadTs();
|
|
1838
|
-
return params.forcedThreadTs ?? plannedThreadTs ?? (params.kind === "block" ? state.usedBlockReplyThreadTs : void 0);
|
|
1839
|
-
};
|
|
1840
|
-
const rememberDeliveredThreadTs = (kind, deliveredThreadTs) => {
|
|
1841
|
-
if (!deliveredThreadTs) return;
|
|
1842
|
-
state.usedReplyThreadTs ??= deliveredThreadTs;
|
|
1843
|
-
if (kind === "block") state.usedBlockReplyThreadTs = deliveredThreadTs;
|
|
1844
|
-
};
|
|
1845
|
-
const deliverPendingStreamFallback = async (session, err) => {
|
|
1846
|
-
if (session.stoppedBySlack) return;
|
|
1847
|
-
let fallbackError = err;
|
|
1848
|
-
if (!session.stopped) try {
|
|
1849
|
-
const stopResult = await stopSlackStream({
|
|
1850
|
-
session,
|
|
1851
|
-
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {}
|
|
1852
|
-
});
|
|
1853
|
-
if (session.stoppedBySlack) return;
|
|
1854
|
-
state.observedReplyDelivery = true;
|
|
1855
|
-
state.usedReplyThreadTs ??= session.threadTs;
|
|
1856
|
-
return stopResult;
|
|
1857
|
-
} catch (stopErr) {
|
|
1858
|
-
if (stopErr instanceof SlackStreamNotDeliveredError) fallbackError = stopErr;
|
|
1859
|
-
else throw stopErr;
|
|
1860
|
-
}
|
|
1861
|
-
const fallbackText = fallbackError.pendingText.trim();
|
|
1862
|
-
if (!fallbackText) return;
|
|
1863
|
-
await deliverReplies({
|
|
1864
|
-
cfg: ctx.cfg,
|
|
1865
|
-
replies: [prepareSlackReply({ text: fallbackText })],
|
|
1866
|
-
target: prepared.replyTarget,
|
|
1867
|
-
token: ctx.botToken,
|
|
1868
|
-
accountId: account.accountId,
|
|
1869
|
-
runtime,
|
|
1870
|
-
textLimit: ctx.textLimit,
|
|
1871
|
-
mediaMaxBytes: ctx.mediaMaxBytes,
|
|
1872
|
-
replyThreadTs: session.threadTs,
|
|
1873
|
-
replyToMode: replyDeliveryMode,
|
|
1874
|
-
...slackIdentity ? { identity: slackIdentity } : {},
|
|
1875
|
-
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {},
|
|
1876
|
-
...messageSentDeliveryHookContext,
|
|
1877
|
-
deferMessageSentHooks: true,
|
|
1878
|
-
eventScope: prepared.eventScope
|
|
1879
|
-
});
|
|
1880
|
-
markSlackStreamFallbackDelivered(session);
|
|
1881
|
-
if (!session.stopped) try {
|
|
1882
|
-
await stopSlackStream({
|
|
1883
|
-
session,
|
|
1884
|
-
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {}
|
|
1885
|
-
});
|
|
1886
|
-
} catch (finalizeErr) {
|
|
1887
|
-
runtime.error?.(danger(`slack-stream: failed to finalize native stream after fallback delivery: ${formatSlackError(finalizeErr)}`));
|
|
1888
|
-
}
|
|
1889
|
-
state.observedReplyDelivery = true;
|
|
1890
|
-
state.usedReplyThreadTs ??= session.threadTs;
|
|
1891
|
-
logVerbose(`slack-stream: streamed delivery failed (${fallbackError.slackCode}); delivered ${fallbackText.length} chars via deliverReplies fallback`);
|
|
1892
|
-
return {};
|
|
1893
|
-
};
|
|
1894
|
-
const finishStream = async (chunks) => {
|
|
1895
|
-
const session = state.streamSession;
|
|
1896
|
-
if (session && !session.stopped) try {
|
|
1897
|
-
try {
|
|
1898
|
-
await stopSlackStream({
|
|
1899
|
-
session,
|
|
1900
|
-
...chunks?.length ? { chunks } : {},
|
|
1901
|
-
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {}
|
|
1902
|
-
});
|
|
1903
|
-
state.observedReplyDelivery ||= session.delivered;
|
|
1904
|
-
} catch (error) {
|
|
1905
|
-
if (!(error instanceof SlackStreamNotDeliveredError)) throw error;
|
|
1906
|
-
await deliverPendingStreamFallback(session, error);
|
|
1907
|
-
}
|
|
1908
|
-
} catch (error) {
|
|
1909
|
-
state.streamFailed = true;
|
|
1910
|
-
runtime.error?.(danger(`slack-stream: failed to stop stream: ${formatSlackError(error)}`));
|
|
1911
|
-
}
|
|
1912
|
-
};
|
|
1913
|
-
const deliverNormally = async (params) => {
|
|
1914
|
-
if (state.streamSession?.stoppedBySlack) return;
|
|
1915
|
-
const replyThreadTs = resolveDeliveryThreadTs(params);
|
|
1916
|
-
const deliveryReplyThreadTs = replyDeliveryMode === "off" && !forcedReplyThreadTs && !isThreadReply ? void 0 : replyThreadTs;
|
|
1917
|
-
const preparedReply = prepareSlackReply(params.payload);
|
|
1918
|
-
const deliveryKey = buildSlackEventDeliveryKey({
|
|
1919
|
-
kind: params.kind,
|
|
1920
|
-
payload: params.payload,
|
|
1921
|
-
threadTs: deliveryReplyThreadTs
|
|
1922
|
-
}, preparedReply);
|
|
1923
|
-
if (deliveryTracker.hasDelivered(deliveryKey)) {
|
|
1924
|
-
logVerbose("slack: suppressed duplicate normal delivery within the same turn");
|
|
1925
|
-
return deliveryReplyThreadTs;
|
|
1926
|
-
}
|
|
1927
|
-
await deliverReplies({
|
|
1928
|
-
cfg: ctx.cfg,
|
|
1929
|
-
replies: [preparedReply],
|
|
1930
|
-
target: prepared.replyTarget,
|
|
1931
|
-
token: ctx.botToken,
|
|
1932
|
-
accountId: account.accountId,
|
|
1933
|
-
runtime,
|
|
1934
|
-
textLimit: ctx.textLimit,
|
|
1935
|
-
mediaMaxBytes: ctx.mediaMaxBytes,
|
|
1936
|
-
replyThreadTs: deliveryReplyThreadTs,
|
|
1937
|
-
replyToMode: replyDeliveryMode,
|
|
1938
|
-
...slackIdentity ? { identity: slackIdentity } : {},
|
|
1939
|
-
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {},
|
|
1940
|
-
...messageSentDeliveryHookContext,
|
|
1941
|
-
eventScope: prepared.eventScope
|
|
1942
|
-
});
|
|
1943
|
-
state.observedReplyDelivery = true;
|
|
1944
|
-
if (params.kind === "final") state.observedFinalReplyDelivery = true;
|
|
1945
|
-
const deliveredThreadTs = resolveSlackReplyThreadTs({
|
|
1946
|
-
replyToMode: replyDeliveryMode,
|
|
1947
|
-
replyToId: params.payload.replyToId,
|
|
1948
|
-
threadId: deliveryReplyThreadTs,
|
|
1949
|
-
replyToCurrent: params.payload.replyToCurrent
|
|
1950
|
-
});
|
|
1951
|
-
rememberDeliveredThreadTs(params.kind, deliveredThreadTs);
|
|
1952
|
-
replyPlan.markSent();
|
|
1953
|
-
deliveryTracker.markDelivered(deliveryKey);
|
|
1954
|
-
return deliveryReplyThreadTs;
|
|
1955
|
-
};
|
|
1956
|
-
const isStreamingEligible = (payload, options) => {
|
|
1957
|
-
const reply = resolveSendableOutboundReplyParts(payload);
|
|
1958
|
-
const renderPlan = resolveSlackReplyRenderPlan(payload);
|
|
1959
|
-
const plannedBlocks = renderPlan.mode === "single" ? renderPlan.blocks : renderPlan.blockPart?.blocks;
|
|
1960
|
-
return !state.streamFailed && !reply.hasMedia && renderPlan.mode !== "split" && !plannedBlocks?.length && !readSlackReplyBlocks(payload)?.length && reply.hasText && (!options?.maxTextBytes || countSlackTextUtf8Bytes(reply.trimmedText) <= options.maxTextBytes);
|
|
1961
|
-
};
|
|
1962
|
-
const deliverWithStreaming = async (params) => {
|
|
1963
|
-
if (state.streamSession?.stoppedBySlack) return;
|
|
1964
|
-
if (!isStreamingEligible(params.payload)) {
|
|
1965
|
-
await deliverNormally({
|
|
1966
|
-
payload: params.payload,
|
|
1967
|
-
kind: params.kind,
|
|
1968
|
-
forcedThreadTs: state.streamSession?.threadTs ?? state.nativeProgressStreamThreadTs
|
|
1969
|
-
});
|
|
1970
|
-
return;
|
|
1971
|
-
}
|
|
1972
|
-
if (!state.streamSession && state.nativeProgressStreamStartPromise) await state.nativeProgressStreamStartPromise;
|
|
1973
|
-
if (state.streamSession?.stoppedBySlack) return;
|
|
1974
|
-
let session = state.streamSession;
|
|
1975
|
-
const threadTs = session?.threadTs ?? replyPlan.nextThreadTs();
|
|
1976
|
-
if (state.streamFailed || !threadTs) {
|
|
1977
|
-
state.streamFailed = true;
|
|
1978
|
-
await deliverNormally({
|
|
1979
|
-
payload: params.payload,
|
|
1980
|
-
kind: params.kind,
|
|
1981
|
-
forcedThreadTs: threadTs ?? state.nativeProgressStreamThreadTs
|
|
1982
|
-
});
|
|
1983
|
-
return;
|
|
1984
|
-
}
|
|
1985
|
-
const hookContent = resolveSendableOutboundReplyParts(params.payload).trimmedText;
|
|
1986
|
-
const text = params.streamText ?? hookContent;
|
|
1987
|
-
const deliveryKey = buildSlackEventDeliveryKey({
|
|
1988
|
-
...params,
|
|
1989
|
-
threadTs,
|
|
1990
|
-
textOverride: text
|
|
1991
|
-
});
|
|
1992
|
-
if (deliveryTracker.hasDelivered(deliveryKey)) {
|
|
1993
|
-
logVerbose("slack-stream: suppressed duplicate reply payload");
|
|
1994
|
-
return;
|
|
1995
|
-
}
|
|
1996
|
-
let messageId;
|
|
1997
|
-
try {
|
|
1998
|
-
if (session) await appendSlackStream({
|
|
1999
|
-
session,
|
|
2000
|
-
text: `${params.appendSeparator === false ? "" : "\n"}${text}`,
|
|
2001
|
-
chunks: []
|
|
2002
|
-
});
|
|
2003
|
-
else {
|
|
2004
|
-
session = await startSlackStream({
|
|
2005
|
-
client: slackClient,
|
|
2006
|
-
clientOptions: slackClientOptions,
|
|
2007
|
-
channel: message.channel,
|
|
2008
|
-
threadTs,
|
|
2009
|
-
text,
|
|
2010
|
-
chunks: [],
|
|
2011
|
-
...params.taskDisplayMode ? { taskDisplayMode: params.taskDisplayMode } : {},
|
|
2012
|
-
...slackIdentity ? { identity: slackIdentity } : {},
|
|
2013
|
-
teamId: await resolveSlackStreamRecipientTeamId({
|
|
2014
|
-
client: slackClient,
|
|
2015
|
-
token: ctx.botToken,
|
|
2016
|
-
userId: message.user,
|
|
2017
|
-
fallbackTeamId: slackStreamFallbackTeamId
|
|
2018
|
-
}),
|
|
2019
|
-
userId: message.user
|
|
2020
|
-
});
|
|
2021
|
-
state.streamSession = session;
|
|
2022
|
-
}
|
|
2023
|
-
messageId = session.streamer.ts;
|
|
2024
|
-
} catch (error) {
|
|
2025
|
-
state.streamFailed = true;
|
|
2026
|
-
if (!(error instanceof SlackStreamNotDeliveredError)) {
|
|
2027
|
-
emitStreamedDelivery(hookContent, {
|
|
2028
|
-
success: false,
|
|
2029
|
-
error: formatErrorMessage(error)
|
|
2030
|
-
});
|
|
2031
|
-
throw error;
|
|
2032
|
-
}
|
|
2033
|
-
if (!session) {
|
|
2034
|
-
await deliverNormally({
|
|
2035
|
-
payload: params.payload,
|
|
2036
|
-
kind: params.kind,
|
|
2037
|
-
forcedThreadTs: threadTs
|
|
2038
|
-
});
|
|
2039
|
-
return;
|
|
2040
|
-
}
|
|
2041
|
-
try {
|
|
2042
|
-
const fallback = await deliverPendingStreamFallback(session, error);
|
|
2043
|
-
if (!fallback && !session.stoppedBySlack) throw error;
|
|
2044
|
-
messageId = fallback?.messageId;
|
|
2045
|
-
} catch (fallbackError) {
|
|
2046
|
-
emitStreamedDelivery(hookContent, {
|
|
2047
|
-
success: false,
|
|
2048
|
-
error: formatErrorMessage(fallbackError)
|
|
2049
|
-
});
|
|
2050
|
-
throw fallbackError;
|
|
2051
|
-
}
|
|
2052
|
-
}
|
|
2053
|
-
if (session.stoppedBySlack && session.pendingText) {
|
|
2054
|
-
emitStreamedDelivery(hookContent, {
|
|
2055
|
-
success: false,
|
|
2056
|
-
error: "Stopped by Slack user"
|
|
2057
|
-
});
|
|
2058
|
-
return;
|
|
2059
|
-
}
|
|
2060
|
-
state.observedReplyDelivery = true;
|
|
2061
|
-
if (params.kind === "final") state.observedFinalReplyDelivery = true;
|
|
2062
|
-
rememberDeliveredThreadTs(params.kind, threadTs);
|
|
2063
|
-
replyPlan.markSent();
|
|
2064
|
-
deliveryTracker.markDelivered(deliveryKey);
|
|
2065
|
-
emitStreamedDelivery(hookContent, {
|
|
2066
|
-
success: true,
|
|
2067
|
-
...messageId ? { messageId } : {}
|
|
2068
|
-
});
|
|
2069
|
-
};
|
|
2070
|
-
return Object.assign(state, {
|
|
2071
|
-
deliverNormally,
|
|
2072
|
-
deliverWithStreaming,
|
|
2073
|
-
finishStream,
|
|
2074
|
-
hasDelivered: (params) => deliveryTracker.hasDelivered(buildSlackEventDeliveryKey(params)),
|
|
2075
|
-
isStreamingEligible,
|
|
2076
|
-
markPreviewPayloadDelivered,
|
|
2077
|
-
rememberDeliveredThreadTs,
|
|
2078
|
-
resetDeliveryTracker: () => {
|
|
2079
|
-
deliveryTracker = createSlackEventDeliveryTracker();
|
|
2080
|
-
}
|
|
2081
|
-
});
|
|
2082
|
-
}
|
|
2083
|
-
//#endregion
|
|
2084
|
-
//#region extensions/slack/src/monitor/message-handler/dispatch.ts
|
|
2085
|
-
async function dispatchPreparedSlackMessage(prepared) {
|
|
2086
|
-
const setup = await createSlackDispatchSetup(prepared);
|
|
2087
|
-
const beginSessionRun = () => registerSlackSessionRun(prepared.ctx, {
|
|
2088
|
-
channelId: prepared.message.channel,
|
|
2089
|
-
threadTs: setup.streamThreadHint,
|
|
2090
|
-
eventScope: prepared.eventScope
|
|
2091
|
-
}, {
|
|
2092
|
-
...prepared.route,
|
|
2093
|
-
sessionKey: prepared.ctxPayload.SessionKey ?? prepared.route.sessionKey
|
|
2094
|
-
});
|
|
2095
|
-
const upstreamLifecycle = prepared.turnAdoptionLifecycle;
|
|
2096
|
-
let releaseDeferred;
|
|
2097
|
-
const turnAdoptionLifecycle = upstreamLifecycle && {
|
|
2098
|
-
...upstreamLifecycle,
|
|
2099
|
-
onDeferred: () => {
|
|
2100
|
-
const accepted = upstreamLifecycle.onDeferred?.();
|
|
2101
|
-
if (accepted !== false) releaseDeferred ??= beginSessionRun();
|
|
2102
|
-
return accepted;
|
|
2103
|
-
},
|
|
2104
|
-
onSettled: () => {
|
|
2105
|
-
releaseDeferred?.();
|
|
2106
|
-
upstreamLifecycle.onSettled?.();
|
|
2107
|
-
}
|
|
2108
|
-
};
|
|
2109
|
-
const release = beginSessionRun();
|
|
2110
|
-
await dispatchSlackMessageWithSetup(setup, beginSessionRun, turnAdoptionLifecycle).finally(release);
|
|
2111
|
-
}
|
|
2112
|
-
async function dispatchSlackMessageWithSetup(setup, beginSessionRun, turnAdoptionLifecycle) {
|
|
2113
|
-
const { prepared } = setup;
|
|
2114
|
-
const { account, cfg, ctx, disableBlockStreaming, hasSlackCustomIdentity, hasRepliedRef, message, messageSentHookContext, messageSentHookTarget, onModelSelected, previewStreamingEnabled, replyPipeline, replyPlan, route, runtime, slackClient, slackStreaming, sourceReplyDeliveryMode, statusReactions, statusReactionsEnabled, statusThreadTs, suppressRoomEventTyping, useStreaming } = setup;
|
|
2115
|
-
let dispatchError;
|
|
2116
|
-
const delivery = createSlackStreamingDeliveryRuntime(setup);
|
|
2117
|
-
const draftPreviewCommitted = { value: false };
|
|
2118
|
-
const progress = createSlackProgressRuntime({
|
|
2119
|
-
setup,
|
|
2120
|
-
delivery,
|
|
2121
|
-
resetPreviewDeliveryState: () => {
|
|
2122
|
-
draftPreviewCommitted.value = false;
|
|
2123
|
-
delivery.observedFinalReplyDelivery = false;
|
|
2124
|
-
}
|
|
2125
|
-
});
|
|
2126
|
-
const draftStream = progress.draftStream;
|
|
2127
|
-
setup.threadStatusGate.hasVisibleOutput = () => delivery.observedReplyDelivery || draftPreviewCommitted.value || Boolean(draftStream?.messageId());
|
|
2128
|
-
const failureNoticeThreadTs = message.thread_ts;
|
|
2129
|
-
const failureNoticeTeamId = prepared.eventScope?.teamId;
|
|
2130
|
-
let sawTerminalFailurePayload = false;
|
|
2131
|
-
let pendingFailureNotice;
|
|
2132
|
-
const filterPassiveThreadFailure = (payload) => {
|
|
2133
|
-
if (payload.isError !== true || prepared.ctxPayload.ChatType !== "channel" || isReplyPayloadNonTerminalToolErrorWarning(payload)) return payload;
|
|
2134
|
-
sawTerminalFailurePayload = true;
|
|
2135
|
-
if (delivery.observedReplyDelivery || draftPreviewCommitted.value) return payload;
|
|
2136
|
-
const explicitlyAddressed = prepared.ctxPayload.ExplicitlyMentionedBot === true || prepared.ctxPayload.MentionSource === "explicit_bot" || prepared.ctxPayload.MentionSource === "subteam" || prepared.ctxPayload.MentionSource === "mention_pattern" || prepared.ctxPayload.MentionSource === "command_bypass" || prepared.ctxPayload.CommandTurn?.kind !== void 0 && prepared.ctxPayload.CommandTurn.kind !== "normal" && prepared.ctxPayload.CommandTurn.authorized;
|
|
2137
|
-
const noticeThreadTs = failureNoticeThreadTs ?? (explicitlyAddressed ? statusThreadTs : void 0);
|
|
2138
|
-
const notice = {
|
|
2139
|
-
accountId: account.accountId,
|
|
2140
|
-
channelId: message.channel,
|
|
2141
|
-
...noticeThreadTs ? { threadTs: noticeThreadTs } : {},
|
|
2142
|
-
failureText: payload.text ?? "",
|
|
2143
|
-
...failureNoticeTeamId ? { teamId: failureNoticeTeamId } : {}
|
|
2144
|
-
};
|
|
2145
|
-
if (failureNoticeThreadTs && !explicitlyAddressed && prepared.ctxPayload.MentionSource !== "implicit_thread" && !hasSlackThreadParticipation(notice.accountId, notice.channelId, failureNoticeThreadTs, failureNoticeTeamId)) {
|
|
2146
|
-
logVerbose("slack: suppressed passive failure before thread participation");
|
|
2147
|
-
return null;
|
|
2148
|
-
}
|
|
2149
|
-
if (!explicitlyAddressed && hasSlackThreadFailureNotice(notice)) {
|
|
2150
|
-
logVerbose("slack: suppressed repeated passive channel or thread failure");
|
|
2151
|
-
return null;
|
|
2152
|
-
}
|
|
2153
|
-
pendingFailureNotice = notice;
|
|
2154
|
-
return payload;
|
|
2155
|
-
};
|
|
2156
|
-
let compactFinalDeliveryStarted = false;
|
|
2157
|
-
const clearCompactProgress = async () => {
|
|
2158
|
-
try {
|
|
2159
|
-
await draftStream?.clear();
|
|
2160
|
-
} catch (err) {
|
|
2161
|
-
logVerbose(`slack: progress preview cleanup failed (${formatSlackError(err)})`);
|
|
2162
|
-
}
|
|
2163
|
-
};
|
|
2164
|
-
const deliverSlackPayload = async (payload, info) => {
|
|
2165
|
-
if (info.kind === "final" && slackStreaming.mode === "progress" && progress.isProgressMode) {
|
|
2166
|
-
if (progress.useNativeProgressStreaming) {
|
|
2167
|
-
await progress.deliverNativeFinal(payload, info.kind);
|
|
2168
|
-
return;
|
|
2169
|
-
}
|
|
2170
|
-
progress.progressDraft.markFinalReplyStarted();
|
|
2171
|
-
if (!progress.useDraftProgressCard) {
|
|
2172
|
-
compactFinalDeliveryStarted = true;
|
|
2173
|
-
await draftStream?.discardPending();
|
|
2174
|
-
const supplement = getReplyPayloadTtsSupplement(payload);
|
|
2175
|
-
await delivery.deliverNormally({
|
|
2176
|
-
payload: supplement && !supplement.visibleTextAlreadyDelivered && !payload.text?.trim() ? {
|
|
2177
|
-
...payload,
|
|
2178
|
-
text: supplement.spokenText
|
|
2179
|
-
} : payload,
|
|
2180
|
-
kind: info.kind,
|
|
2181
|
-
forcedThreadTs: delivery.usedReplyThreadTs
|
|
2182
|
-
});
|
|
2183
|
-
if (delivery.observedFinalReplyDelivery) {
|
|
2184
|
-
progress.progressDraft.markFinalReplyDelivered();
|
|
2185
|
-
await clearCompactProgress();
|
|
2186
|
-
}
|
|
2187
|
-
return;
|
|
2188
|
-
}
|
|
2189
|
-
if (progress.useDraftProgressCard) {
|
|
2190
|
-
await delivery.deliverNormally({
|
|
2191
|
-
payload,
|
|
2192
|
-
kind: info.kind,
|
|
2193
|
-
forcedThreadTs: delivery.usedReplyThreadTs
|
|
2194
|
-
});
|
|
2195
|
-
if (!await progress.finalizeDraftProgressCard(payload.isError === true ? "error" : "success")) await draftStream?.clear();
|
|
2196
|
-
progress.progressDraft.markFinalReplyDelivered();
|
|
2197
|
-
return;
|
|
2198
|
-
}
|
|
2199
|
-
}
|
|
2200
|
-
if (progress.useNativeProgressStreaming) {
|
|
2201
|
-
if (info.kind !== "final" && payload.isError !== true) {
|
|
2202
|
-
if (!delivery.isStreamingEligible(payload)) {
|
|
2203
|
-
await delivery.deliverNormally({
|
|
2204
|
-
payload,
|
|
2205
|
-
kind: info.kind,
|
|
2206
|
-
forcedThreadTs: delivery.streamSession?.threadTs ?? delivery.nativeProgressStreamThreadTs
|
|
2207
|
-
});
|
|
2208
|
-
return;
|
|
2209
|
-
}
|
|
2210
|
-
return await progress.appendNativeNarration(payload, info.kind) ? void 0 : { visibleReplySent: false };
|
|
2211
|
-
}
|
|
2212
|
-
await delivery.deliverNormally({
|
|
2213
|
-
payload,
|
|
2214
|
-
kind: info.kind,
|
|
2215
|
-
forcedThreadTs: delivery.streamSession?.threadTs ?? delivery.nativeProgressStreamThreadTs
|
|
2216
|
-
});
|
|
2217
|
-
return;
|
|
2218
|
-
}
|
|
2219
|
-
if (useStreaming) {
|
|
2220
|
-
await delivery.deliverWithStreaming({
|
|
2221
|
-
payload,
|
|
2222
|
-
kind: info.kind
|
|
2223
|
-
});
|
|
2224
|
-
return;
|
|
2225
|
-
}
|
|
2226
|
-
const reply = resolveSendableOutboundReplyParts(payload);
|
|
2227
|
-
const ttsSupplement = getReplyPayloadTtsSupplement(payload);
|
|
2228
|
-
const replySourceText = payload.text ?? ttsSupplement?.spokenText;
|
|
2229
|
-
const replyRenderPlan = resolveSlackReplyRenderPlan(payload, replySourceText);
|
|
2230
|
-
const slackBlocks = replyRenderPlan.mode === "single" ? replyRenderPlan.blocks : replyRenderPlan.blockPart?.blocks;
|
|
2231
|
-
const requiresSeparateFallbackDelivery = replyRenderPlan.mode === "split";
|
|
2232
|
-
const trimmedFinalText = replyRenderPlan.mode === "single" ? replyRenderPlan.text.trim() : replyRenderPlan.fallbackText.trim();
|
|
2233
|
-
const previewFinalText = replyRenderPlan.mode === "single" && replyRenderPlan.textIsSlackMrkdwn ? trimmedFinalText : normalizeSlackOutboundText((replySourceText ?? "").trim(), { tableMode: resolveMarkdownTableMode({
|
|
2234
|
-
cfg,
|
|
2235
|
-
channel: "slack",
|
|
2236
|
-
accountId: account.accountId
|
|
2237
|
-
}) });
|
|
2238
|
-
const previewFinalTextFitsEdit = countSlackTextUtf8Bytes(previewFinalText) <= SLACK_EDIT_TEXT_MAX_BYTES;
|
|
2239
|
-
const shouldRestoreTtsSupplementTextForPreviewFallback = Boolean(ttsSupplement) && ttsSupplement?.visibleTextAlreadyDelivered !== true && Boolean(draftStream) && !draftPreviewCommitted.value && !delivery.observedFinalReplyDelivery && previewStreamingEnabled && !payload.text?.trim();
|
|
2240
|
-
let ttsPreviewFinalization;
|
|
2241
|
-
await deliverWithFinalizableLivePreviewAdapter({
|
|
2242
|
-
kind: info.kind,
|
|
2243
|
-
payload,
|
|
2244
|
-
adapter: defineFinalizableLivePreviewAdapter({
|
|
2245
|
-
draft: draftStream && !draftPreviewCommitted.value && !delivery.observedFinalReplyDelivery ? {
|
|
2246
|
-
flush: draftStream.flush,
|
|
2247
|
-
clear: draftStream.clear,
|
|
2248
|
-
discardPending: draftStream.discardPending,
|
|
2249
|
-
seal: draftStream.seal,
|
|
2250
|
-
id: () => {
|
|
2251
|
-
const channelId = draftStream.channelId();
|
|
2252
|
-
const messageId = draftStream.messageId();
|
|
2253
|
-
return channelId && messageId ? {
|
|
2254
|
-
channelId,
|
|
2255
|
-
messageId
|
|
2256
|
-
} : void 0;
|
|
2257
|
-
}
|
|
2258
|
-
} : void 0,
|
|
2259
|
-
buildFinalEdit: () => {
|
|
2260
|
-
if (hasSlackCustomIdentity || !previewStreamingEnabled || reply.hasMedia && !ttsSupplement || payload.isError || requiresSeparateFallbackDelivery || !previewFinalTextFitsEdit || trimmedFinalText.length === 0 && !slackBlocks?.length) return;
|
|
2261
|
-
return {
|
|
2262
|
-
text: previewFinalText,
|
|
2263
|
-
blocks: slackBlocks,
|
|
2264
|
-
threadTs: delivery.usedReplyThreadTs ?? statusThreadTs
|
|
2265
|
-
};
|
|
2266
|
-
},
|
|
2267
|
-
editFinal: async (preview, edit) => {
|
|
2268
|
-
if (delivery.hasDelivered({
|
|
2269
|
-
kind: info.kind,
|
|
2270
|
-
payload,
|
|
2271
|
-
threadTs: edit.threadTs
|
|
2272
|
-
})) return;
|
|
2273
|
-
if (ttsSupplement) ttsPreviewFinalization = { threadTs: edit.threadTs };
|
|
2274
|
-
if (!await draftStream?.finalizeMessage(preview.messageId, async () => {
|
|
2275
|
-
await finalizeSlackPreviewEdit({
|
|
2276
|
-
client: slackClient,
|
|
2277
|
-
token: ctx.botToken,
|
|
2278
|
-
accountId: account.accountId,
|
|
2279
|
-
channelId: preview.channelId,
|
|
2280
|
-
messageId: preview.messageId,
|
|
2281
|
-
text: edit.text,
|
|
2282
|
-
...edit.blocks?.length ? { blocks: edit.blocks } : {},
|
|
2283
|
-
threadTs: edit.threadTs
|
|
2284
|
-
});
|
|
2285
|
-
})) throw new Error("Slack preview moved below a newer conversation message");
|
|
2286
|
-
if (!ttsSupplement) emitSlackMessageSentHooks({
|
|
2287
|
-
...messageSentHookContext,
|
|
2288
|
-
to: messageSentHookTarget,
|
|
2289
|
-
accountId: account.accountId,
|
|
2290
|
-
content: trimmedFinalText,
|
|
2291
|
-
success: true,
|
|
2292
|
-
messageId: preview.messageId
|
|
2293
|
-
});
|
|
2294
|
-
draftPreviewCommitted.value = true;
|
|
2295
|
-
delivery.observedFinalReplyDelivery = true;
|
|
2296
|
-
},
|
|
2297
|
-
onPreviewFinalized: (_preview) => {
|
|
2298
|
-
draftPreviewCommitted.value = true;
|
|
2299
|
-
delivery.observedFinalReplyDelivery = true;
|
|
2300
|
-
const finalThreadTs = delivery.usedReplyThreadTs ?? statusThreadTs;
|
|
2301
|
-
delivery.observedReplyDelivery = true;
|
|
2302
|
-
replyPlan.markSent();
|
|
2303
|
-
if (!ttsSupplement) delivery.markPreviewPayloadDelivered({
|
|
2304
|
-
kind: info.kind,
|
|
2305
|
-
payload,
|
|
2306
|
-
threadTs: finalThreadTs
|
|
2307
|
-
});
|
|
2308
|
-
},
|
|
2309
|
-
buildSupplementalPayload: () => ttsSupplement ? buildTtsSupplementMediaPayload(payload) : void 0,
|
|
2310
|
-
deliverSupplemental: async (supplementalPayload) => {
|
|
2311
|
-
const previewThreadTs = delivery.usedReplyThreadTs ?? statusThreadTs;
|
|
2312
|
-
const supplementalThreadTs = await delivery.deliverNormally({
|
|
2313
|
-
payload: supplementalPayload,
|
|
2314
|
-
kind: info.kind,
|
|
2315
|
-
forcedThreadTs: previewThreadTs
|
|
2316
|
-
});
|
|
2317
|
-
delivery.markPreviewPayloadDelivered({
|
|
2318
|
-
kind: info.kind,
|
|
2319
|
-
payload,
|
|
2320
|
-
threadTs: supplementalThreadTs
|
|
2321
|
-
});
|
|
2322
|
-
},
|
|
2323
|
-
logPreviewEditFailure: (err) => {
|
|
2324
|
-
logVerbose(`slack: preview final edit failed; falling back to standard send (${formatSlackError(err)})`);
|
|
2325
|
-
}
|
|
2326
|
-
}),
|
|
2327
|
-
deliverNormally: async () => {
|
|
2328
|
-
await delivery.deliverNormally({
|
|
2329
|
-
payload: shouldRestoreTtsSupplementTextForPreviewFallback || ttsPreviewFinalization && !payload.text?.trim() ? {
|
|
2330
|
-
...payload,
|
|
2331
|
-
text: ttsSupplement?.spokenText
|
|
2332
|
-
} : payload,
|
|
2333
|
-
kind: info.kind,
|
|
2334
|
-
...ttsPreviewFinalization?.threadTs ? { forcedThreadTs: ttsPreviewFinalization.threadTs } : {}
|
|
2335
|
-
});
|
|
2336
|
-
}
|
|
2337
|
-
});
|
|
2338
|
-
if (info.kind === "final") progress.progressDraft.markFinalReplyDelivered();
|
|
2339
|
-
};
|
|
2340
|
-
let agentRunFailed = false;
|
|
2341
|
-
let settledDispatchResult;
|
|
2342
|
-
try {
|
|
2343
|
-
const turnResult = await dispatchChannelInboundTurn({
|
|
2344
|
-
cfg,
|
|
2345
|
-
channel: "slack",
|
|
2346
|
-
accountId: route.accountId,
|
|
2347
|
-
route: {
|
|
2348
|
-
agentId: route.agentId,
|
|
2349
|
-
sessionKey: route.sessionKey
|
|
2350
|
-
},
|
|
2351
|
-
ctxPayload: prepared.ctxPayload,
|
|
2352
|
-
dispatchReplyFromConfig: ctx.dispatchReplyFromConfig,
|
|
2353
|
-
dispatcherOptions: {
|
|
2354
|
-
...replyPipeline,
|
|
2355
|
-
transformReplyPayload: (payload) => {
|
|
2356
|
-
const transformed = replyPipeline.transformReplyPayload ? replyPipeline.transformReplyPayload(payload) : payload;
|
|
2357
|
-
return transformed ? filterPassiveThreadFailure(transformed) : null;
|
|
2358
|
-
},
|
|
2359
|
-
humanDelay: resolveHumanDelayConfig(cfg, route.agentId)
|
|
2360
|
-
},
|
|
2361
|
-
delivery: {
|
|
2362
|
-
deliver: deliverSlackPayload,
|
|
2363
|
-
onError: (err, info) => {
|
|
2364
|
-
dispatchError ??= err;
|
|
2365
|
-
runtime.error?.(danger(`slack ${info.kind} reply failed: ${formatSlackError(err)}`));
|
|
2366
|
-
replyPipeline.typingCallbacks?.onIdle?.();
|
|
2367
|
-
}
|
|
2368
|
-
},
|
|
2369
|
-
record: prepared.turn.record,
|
|
2370
|
-
history: prepared.turn.history,
|
|
2371
|
-
botLoopProtection: resolveSlackBotLoopProtection(prepared),
|
|
2372
|
-
replyOptions: {
|
|
2373
|
-
queuedDeliveryCorrelations: [{ begin: beginSessionRun }],
|
|
2374
|
-
...turnAdoptionLifecycle ? { turnAdoptionLifecycle } : {},
|
|
2375
|
-
skillFilter: prepared.channelConfig?.skills,
|
|
2376
|
-
sourceReplyDeliveryMode,
|
|
2377
|
-
suppressTyping: suppressRoomEventTyping ? true : void 0,
|
|
2378
|
-
hasRepliedRef,
|
|
2379
|
-
disableBlockStreaming,
|
|
2380
|
-
onModelSelected,
|
|
2381
|
-
suppressDefaultToolProgressMessages: progress.suppressDefaultToolProgressMessages ? true : void 0,
|
|
2382
|
-
commentaryProgressEnabled: progress.commentaryProgressEnabled ? true : void 0,
|
|
2383
|
-
progressPreambleEnabled: progress.progressDraftActive && slackStreaming.mode === "progress" ? true : void 0,
|
|
2384
|
-
commentaryPayloadsEnabled: progress.commentaryProgressEnabled ? true : void 0,
|
|
2385
|
-
shouldDeliverCommentaryPayloads: progress.commentaryProgressEnabled ? progress.shouldYieldDraftProgress : void 0,
|
|
2386
|
-
onVerboseProgressVisibility: progress.commentaryProgressEnabled ? (isActive) => {
|
|
2387
|
-
progress.setShouldYieldDraftProgress(isActive);
|
|
2388
|
-
} : void 0,
|
|
2389
|
-
allowProgressCallbacksWhenSourceDeliverySuppressed: sourceReplyDeliveryMode === "message_tool_only" && statusReactionsEnabled ? true : void 0,
|
|
2390
|
-
allowToolLifecycleWhenProgressHidden: statusReactionsEnabled ? true : void 0,
|
|
2391
|
-
onPartialReply: useStreaming ? void 0 : !previewStreamingEnabled ? void 0 : async (payload) => {
|
|
2392
|
-
return progress.updateDraftFromPartial(payload.text);
|
|
2393
|
-
},
|
|
2394
|
-
onAssistantMessageStart: progress.onDraftBoundary ? async () => {
|
|
2395
|
-
await progress.onDraftBoundary?.();
|
|
2396
|
-
return false;
|
|
2397
|
-
} : void 0,
|
|
2398
|
-
onReasoningEnd: async () => {
|
|
2399
|
-
await progress.onDraftBoundary?.();
|
|
2400
|
-
return false;
|
|
2401
|
-
},
|
|
2402
|
-
onQueuedFollowupAdmitted: progress.onQueuedFollowupAdmitted,
|
|
2403
|
-
onQueuedFollowupSettled: progress.onQueuedFollowupSettled,
|
|
2404
|
-
onReasoningStream: async (payload) => {
|
|
2405
|
-
const visible = await progress.pushReasoningProgress(payload);
|
|
2406
|
-
if (statusReactionsEnabled) await statusReactions.setThinking();
|
|
2407
|
-
return visible;
|
|
2408
|
-
},
|
|
2409
|
-
onToolStart: async (payload) => {
|
|
2410
|
-
if (statusReactionsEnabled) await statusReactions.setTool(payload.name);
|
|
2411
|
-
if (payload.phase === "start") progress.progressWorkCounter.noteToolCall(payload.name);
|
|
2412
|
-
return await progress.progressDraft.pushToolEvent(payload);
|
|
2413
|
-
},
|
|
2414
|
-
onItemEvent: async (payload) => {
|
|
2415
|
-
if (payload.kind === "preamble" && (payload.phase === "start" || payload.phase === "update") && !draftStream?.messageId() && !delivery.streamSession?.delivered) return false;
|
|
2416
|
-
if (progress.isProgressMode && payload.kind === "preamble") {
|
|
2417
|
-
if (progress.shouldYieldDraftProgress()) return false;
|
|
2418
|
-
const headlineVisible = await progress.progressDraft.pushPreambleHeadline(payload.progressText, { itemId: payload.itemId });
|
|
2419
|
-
if (progress.commentaryProgressEnabled) return await progress.progressDraft.pushCommentaryProgress(payload.progressText, { itemId: payload.itemId }) || headlineVisible;
|
|
2420
|
-
return headlineVisible;
|
|
2421
|
-
}
|
|
2422
|
-
return await progress.progressDraft.pushItemEvent(payload);
|
|
2423
|
-
},
|
|
2424
|
-
onPlanUpdate: async (payload) => {
|
|
2425
|
-
if (payload.phase !== "update") return false;
|
|
2426
|
-
return await progress.pushPlanProgress(payload.steps, payload.explanation);
|
|
2427
|
-
},
|
|
2428
|
-
onApprovalEvent: async (payload) => {
|
|
2429
|
-
return await progress.progressDraft.pushApprovalEvent(payload);
|
|
2430
|
-
},
|
|
2431
|
-
onCommandOutput: async (payload) => {
|
|
2432
|
-
return await progress.progressDraft.pushCommandOutputEvent(payload);
|
|
2433
|
-
},
|
|
2434
|
-
onPatchSummary: async (payload) => {
|
|
2435
|
-
return await progress.progressDraft.pushPatchEvent(payload);
|
|
2436
|
-
}
|
|
2437
|
-
}
|
|
2438
|
-
});
|
|
2439
|
-
if (turnResult.dispatched) {
|
|
2440
|
-
const result = turnResult.dispatchResult;
|
|
2441
|
-
settledDispatchResult = result;
|
|
2442
|
-
const agentRunOutcome = readAgentRunTerminalOutcome(result);
|
|
2443
|
-
agentRunFailed = agentRunOutcome === "failed";
|
|
2444
|
-
if (agentRunOutcome === "completed" && !sawTerminalFailurePayload && prepared.ctxPayload.ChatType === "channel") clearSlackThreadFailureNotice({
|
|
2445
|
-
accountId: account.accountId,
|
|
2446
|
-
channelId: message.channel,
|
|
2447
|
-
...failureNoticeThreadTs ? { threadTs: failureNoticeThreadTs } : {},
|
|
2448
|
-
...failureNoticeTeamId ? { teamId: failureNoticeTeamId } : {}
|
|
2449
|
-
});
|
|
2450
|
-
}
|
|
2451
|
-
} catch (err) {
|
|
2452
|
-
dispatchError ??= err;
|
|
2453
|
-
} finally {
|
|
2454
|
-
await progress.cancel();
|
|
2455
|
-
if (!progress.useDraftProgressCard) await draftStream?.discardPending();
|
|
2456
|
-
}
|
|
2457
|
-
const completionChunks = progress.useNativeProgressStreaming && !progress.nativeProgressCompletionSent ? progress.buildNativeProgressCompletionChunks(dispatchError || agentRunFailed ? "error" : progress.nativeProgressTerminalStatus) : void 0;
|
|
2458
|
-
if (completionChunks?.length) progress.nativeProgressCompletionSent = true;
|
|
2459
|
-
await delivery.finishStream(completionChunks);
|
|
2460
|
-
const anyReplyDelivered = hasVisibleInboundReplyDispatch(settledDispatchResult, { observedReplyDelivery: delivery.observedReplyDelivery });
|
|
2461
|
-
if (progress.isProgressMode && !progress.useNativeProgressStreaming && !progress.useDraftProgressCard && !compactFinalDeliveryStarted && !dispatchError && !agentRunFailed && anyReplyDelivered) await clearCompactProgress();
|
|
2462
|
-
if (pendingFailureNotice && anyReplyDelivered) recordSlackThreadFailureNotice(pendingFailureNotice);
|
|
2463
|
-
if (dispatchError || agentRunFailed) await progress.finalizeDraftProgressCard("error");
|
|
2464
|
-
await progress.dropDetachedProgressCards();
|
|
2465
|
-
if (statusReactionsEnabled) {
|
|
2466
|
-
if (dispatchError || agentRunFailed) {
|
|
2467
|
-
await statusReactions.setError();
|
|
2468
|
-
statusReactions.restoreInitial();
|
|
2469
|
-
} else if (anyReplyDelivered) {
|
|
2470
|
-
await statusReactions.setDone();
|
|
2471
|
-
statusReactions.restoreInitial();
|
|
2472
|
-
} else await statusReactions.restoreInitial();
|
|
2473
|
-
}
|
|
2474
|
-
const participationThreadTs = delivery.usedReplyThreadTs ?? statusThreadTs;
|
|
2475
|
-
if (anyReplyDelivered && participationThreadTs) recordSlackThreadParticipation(account.accountId, message.channel, participationThreadTs, {
|
|
2476
|
-
agentId: route.agentId,
|
|
2477
|
-
teamId: prepared.eventScope?.teamId
|
|
2478
|
-
});
|
|
2479
|
-
if (dispatchError) throw toErrorObject(dispatchError, "Slack dispatch failed");
|
|
2480
|
-
if (!anyReplyDelivered && !draftPreviewCommitted.value && !(agentRunFailed && progress.useDraftProgressCard)) {
|
|
2481
|
-
await draftStream?.clear();
|
|
2482
|
-
await draftStream?.dropDetachedMessages();
|
|
2483
|
-
return;
|
|
2484
|
-
}
|
|
2485
|
-
if (shouldLogVerbose()) {
|
|
2486
|
-
const finalCount = resolveInboundReplyDispatchCounts(settledDispatchResult).final;
|
|
2487
|
-
logVerbose(`slack: delivered ${finalCount} reply${finalCount === 1 ? "" : "ies"} to ${prepared.replyTarget}`);
|
|
2488
|
-
}
|
|
2489
|
-
}
|
|
2490
|
-
//#endregion
|
|
2491
|
-
//#region extensions/slack/src/agent-context.ts
|
|
2492
|
-
function normalizeEntity(value) {
|
|
2493
|
-
const entity = asOptionalRecord(value);
|
|
2494
|
-
const type = normalizeOptionalString(entity?.type);
|
|
2495
|
-
if (!entity || !type) return;
|
|
2496
|
-
const teamId = normalizeOptionalString(entity.team_id);
|
|
2497
|
-
if (type === "slack#/types/channel_id" || type === "slack#/types/canvas_id" || type === "slack#/types/list_id") {
|
|
2498
|
-
const entityValue = normalizeOptionalString(entity.value);
|
|
2499
|
-
return entityValue ? {
|
|
2500
|
-
type,
|
|
2501
|
-
value: entityValue,
|
|
2502
|
-
...teamId ? { team_id: teamId } : {}
|
|
2503
|
-
} : void 0;
|
|
2504
|
-
}
|
|
2505
|
-
if (type !== "slack#/types/message_context") return;
|
|
2506
|
-
const message = asOptionalRecord(entity.value);
|
|
2507
|
-
const channelId = normalizeOptionalString(message?.channel_id);
|
|
2508
|
-
const messageTs = normalizeOptionalString(message?.message_ts);
|
|
2509
|
-
return channelId && messageTs ? {
|
|
2510
|
-
type,
|
|
2511
|
-
value: {
|
|
2512
|
-
channel_id: channelId,
|
|
2513
|
-
message_ts: messageTs
|
|
2514
|
-
},
|
|
2515
|
-
...teamId ? { team_id: teamId } : {}
|
|
2516
|
-
} : void 0;
|
|
2517
|
-
}
|
|
2518
|
-
function isSlackAppContext(value) {
|
|
2519
|
-
return Boolean(asOptionalRecord(value));
|
|
2520
|
-
}
|
|
2521
|
-
function normalizeSlackAppContextEntities(value) {
|
|
2522
|
-
const context = asOptionalRecord(value);
|
|
2523
|
-
if (!Array.isArray(context?.entities)) return [];
|
|
2524
|
-
return context.entities.flatMap((entity) => {
|
|
2525
|
-
const normalized = normalizeEntity(entity);
|
|
2526
|
-
return normalized ? [normalized] : [];
|
|
2527
|
-
});
|
|
2528
|
-
}
|
|
2529
|
-
//#endregion
|
|
2530
|
-
//#region extensions/slack/src/monitor/thread.ts
|
|
2531
|
-
const THREAD_STARTER_CACHE = /* @__PURE__ */ new Map();
|
|
2532
|
-
const THREAD_STARTER_CACHE_TTL_MS = 216e5;
|
|
2533
|
-
const THREAD_STARTER_CACHE_MAX = 2e3;
|
|
2534
|
-
function evictThreadStarterCache() {
|
|
2535
|
-
const now = asDateTimestampMs(Date.now());
|
|
2536
|
-
if (now === void 0) {
|
|
2537
|
-
THREAD_STARTER_CACHE.clear();
|
|
2538
|
-
return;
|
|
2539
|
-
}
|
|
2540
|
-
for (const [cacheKey, entry] of THREAD_STARTER_CACHE.entries()) if (asDateTimestampMs(entry.expiresAt) === void 0 || entry.expiresAt <= now) THREAD_STARTER_CACHE.delete(cacheKey);
|
|
2541
|
-
pruneMapToMaxSize(THREAD_STARTER_CACHE, THREAD_STARTER_CACHE_MAX);
|
|
2542
|
-
}
|
|
2543
|
-
function formatSlackFilePlaceholder(files) {
|
|
2544
|
-
return `[attached: ${formatSlackFileReferenceList(files)}]`;
|
|
2545
|
-
}
|
|
2546
|
-
function pushUniqueText(parts, value, options = {}) {
|
|
2547
|
-
const text = options.preserveWhitespace ? typeof value === "string" && value.trim().length > 0 ? value : void 0 : normalizeOptionalString(value);
|
|
2548
|
-
if (text && !parts.includes(text)) parts.push(text);
|
|
2549
|
-
}
|
|
2550
|
-
function resolveSlackBlocksFallbackText(blocks) {
|
|
2551
|
-
return resolveSlackBlocksText(blocks)?.text;
|
|
2552
|
-
}
|
|
2553
|
-
function resolveSlackAttachmentFallbackText(attachments) {
|
|
2554
|
-
if (!Array.isArray(attachments) || attachments.length === 0) return;
|
|
2555
|
-
const parts = [];
|
|
2556
|
-
for (const attachment of attachments) {
|
|
2557
|
-
const excludeTableBlocks = isSlackUnfurlAttachment(attachment);
|
|
2558
|
-
const fallbackBlocks = (blocks) => excludeTableBlocks ? blocks?.filter((block) => !hasSlackTableBlock([block])) : blocks;
|
|
2559
|
-
pushUniqueText(parts, attachment.pretext);
|
|
2560
|
-
pushUniqueText(parts, attachment.title);
|
|
2561
|
-
pushUniqueText(parts, attachment.text);
|
|
2562
|
-
if (!(hasSlackTableBlock(attachment.blocks) && normalizeOptionalString(attachment.fallback) === "[no preview available]")) pushUniqueText(parts, attachment.fallback);
|
|
2563
|
-
for (const field of attachment.fields ?? []) {
|
|
2564
|
-
pushUniqueText(parts, field.title);
|
|
2565
|
-
pushUniqueText(parts, field.value);
|
|
2566
|
-
}
|
|
2567
|
-
pushUniqueText(parts, resolveSlackBlocksFallbackText(fallbackBlocks(attachment.blocks)), { preserveWhitespace: true });
|
|
2568
|
-
pushUniqueText(parts, resolveSlackBlocksFallbackText(fallbackBlocks(attachment.message_blocks)), { preserveWhitespace: true });
|
|
2569
|
-
}
|
|
2570
|
-
return parts.length > 0 ? parts.join("\n") : void 0;
|
|
2571
|
-
}
|
|
2572
|
-
function resolveSlackMessageText(message) {
|
|
2573
|
-
const messageText = normalizeOptionalString(message.text) ?? resolveSlackAttachmentFallbackText(message.attachments);
|
|
2574
|
-
return resolveSlackMessageText$1({
|
|
2575
|
-
...message,
|
|
2576
|
-
text: messageText
|
|
2577
|
-
}, { preserveMessageTextWhitespace: true });
|
|
2578
|
-
}
|
|
2579
|
-
async function resolveSlackThreadStarter(params) {
|
|
2580
|
-
evictThreadStarterCache();
|
|
2581
|
-
const cacheKey = JSON.stringify([
|
|
2582
|
-
params.workspaceScope.accountId,
|
|
2583
|
-
params.workspaceScope.teamId,
|
|
2584
|
-
params.channelId,
|
|
2585
|
-
params.threadTs
|
|
2586
|
-
]);
|
|
2587
|
-
const cached = THREAD_STARTER_CACHE.get(cacheKey);
|
|
2588
|
-
if (cached) {
|
|
2589
|
-
const now = asDateTimestampMs(Date.now());
|
|
2590
|
-
if (now !== void 0 && cached.expiresAt > now) return cached.value;
|
|
2591
|
-
THREAD_STARTER_CACHE.delete(cacheKey);
|
|
2592
|
-
}
|
|
2593
|
-
try {
|
|
2594
|
-
const message = (await params.client.conversations.replies({
|
|
2595
|
-
channel: params.channelId,
|
|
2596
|
-
ts: params.threadTs,
|
|
2597
|
-
limit: 1,
|
|
2598
|
-
inclusive: true
|
|
2599
|
-
}))?.messages?.[0];
|
|
2600
|
-
const text = message ? resolveSlackMessageText(message) : void 0;
|
|
2601
|
-
const files = message?.files?.length ? message.files : void 0;
|
|
2602
|
-
if (!message || !text && !files) return null;
|
|
2603
|
-
const starter = {
|
|
2604
|
-
text: text || formatSlackFilePlaceholder(files),
|
|
2605
|
-
userId: message.user,
|
|
2606
|
-
botId: message.bot_id,
|
|
2607
|
-
ts: message.ts,
|
|
2608
|
-
files
|
|
2609
|
-
};
|
|
2610
|
-
const expiresAt = resolveExpiresAtMsFromDurationMs(THREAD_STARTER_CACHE_TTL_MS);
|
|
2611
|
-
if (expiresAt !== void 0) {
|
|
2612
|
-
if (THREAD_STARTER_CACHE.has(cacheKey)) THREAD_STARTER_CACHE.delete(cacheKey);
|
|
2613
|
-
THREAD_STARTER_CACHE.set(cacheKey, {
|
|
2614
|
-
value: starter,
|
|
2615
|
-
expiresAt
|
|
2616
|
-
});
|
|
2617
|
-
evictThreadStarterCache();
|
|
2618
|
-
}
|
|
2619
|
-
return starter;
|
|
2620
|
-
} catch (err) {
|
|
2621
|
-
logVerbose$1(`slack thread starter fetch failed channel=${params.channelId} ts=${params.threadTs}: ${formatErrorMessage(err)}`);
|
|
2622
|
-
return null;
|
|
2623
|
-
}
|
|
2624
|
-
}
|
|
2625
|
-
const SLACK_THREAD_HISTORY_MAX_PAGES = 3;
|
|
2626
|
-
/**
|
|
2627
|
-
* Fetches the most recent messages in a Slack thread (excluding the current message).
|
|
2628
|
-
* Used to populate thread context when a new thread session starts.
|
|
2629
|
-
*
|
|
2630
|
-
* Uses cursor pagination and keeps only the latest N retained messages when the full
|
|
2631
|
-
* thread fits in the bounded fetch window.
|
|
2632
|
-
*/
|
|
2633
|
-
async function resolveSlackThreadHistory(params) {
|
|
2634
|
-
const maxMessages = params.limit ?? 20;
|
|
2635
|
-
if (!Number.isFinite(maxMessages) || maxMessages <= 0) return [];
|
|
2636
|
-
const fetchLimit = 200;
|
|
2637
|
-
const retained = [];
|
|
2638
|
-
let cursor;
|
|
2639
|
-
let pagesFetched = 0;
|
|
2640
|
-
try {
|
|
2641
|
-
do {
|
|
2642
|
-
pagesFetched += 1;
|
|
2643
|
-
const response = await params.client.conversations.replies({
|
|
2644
|
-
channel: params.channelId,
|
|
2645
|
-
ts: params.threadTs,
|
|
2646
|
-
limit: fetchLimit,
|
|
2647
|
-
inclusive: true,
|
|
2648
|
-
...cursor ? { cursor } : {}
|
|
2649
|
-
});
|
|
2650
|
-
for (const msg of response.messages ?? []) {
|
|
2651
|
-
const text = resolveSlackMessageText(msg);
|
|
2652
|
-
if (!text && !msg.files?.length) continue;
|
|
2653
|
-
if (params.currentMessageTs && msg.ts === params.currentMessageTs) continue;
|
|
2654
|
-
retained.push([msg, text]);
|
|
2655
|
-
}
|
|
2656
|
-
if (retained.length > maxMessages) retained.splice(0, retained.length - maxMessages);
|
|
2657
|
-
const next = response.response_metadata?.next_cursor;
|
|
2658
|
-
cursor = typeof next === "string" && next.trim().length > 0 ? next.trim() : void 0;
|
|
2659
|
-
} while (cursor && pagesFetched < SLACK_THREAD_HISTORY_MAX_PAGES);
|
|
2660
|
-
if (cursor) {
|
|
2661
|
-
logVerbose$1(`slack thread history capped channel=${params.channelId} ts=${params.threadTs} pages=${SLACK_THREAD_HISTORY_MAX_PAGES}`);
|
|
2662
|
-
return [];
|
|
2663
|
-
}
|
|
2664
|
-
return retained.map(([message, text]) => ({
|
|
2665
|
-
text: text ?? formatSlackFilePlaceholder(message.files),
|
|
2666
|
-
userId: message.user,
|
|
2667
|
-
botId: message.bot_id,
|
|
2668
|
-
ts: message.ts,
|
|
2669
|
-
files: message.files
|
|
2670
|
-
}));
|
|
2671
|
-
} catch (err) {
|
|
2672
|
-
logVerbose$1(`slack thread history fetch failed channel=${params.channelId} ts=${params.threadTs}: ${formatErrorMessage(err)}`);
|
|
2673
|
-
return [];
|
|
2674
|
-
}
|
|
2675
|
-
}
|
|
2676
|
-
//#endregion
|
|
2677
|
-
//#region extensions/slack/src/monitor/message-handler/preflight-audio.ts
|
|
2678
|
-
function isSlackAudioFile(file) {
|
|
2679
|
-
if (file.subtype === "slack_audio") return true;
|
|
2680
|
-
if ((file.mimetype?.split(";")[0]?.trim().toLowerCase())?.startsWith("audio/")) return true;
|
|
2681
|
-
return Boolean(mimeTypeFromFilePath(file.name)?.startsWith("audio/"));
|
|
2682
|
-
}
|
|
2683
|
-
const slackPreflightAudio = createChannelPreflightAudio({
|
|
2684
|
-
channel: "slack",
|
|
2685
|
-
isAudio: isSlackAudioFile
|
|
2686
|
-
});
|
|
2687
|
-
function findCaptionlessSlackAudioFile(message) {
|
|
2688
|
-
if (message.text?.trim()) return;
|
|
2689
|
-
return message.files?.slice(0, 8).find(isSlackAudioFile);
|
|
2690
|
-
}
|
|
2691
|
-
function formatSlackAudioTranscriptForAgent(params) {
|
|
2692
|
-
return [formatAudioTranscriptForAgent(params.transcript), params.rawBody].filter(Boolean).join("\n");
|
|
2693
|
-
}
|
|
2694
|
-
async function resolveSlackPreflightAudioTranscript(params) {
|
|
2695
|
-
const mediaIndex = params.media.findIndex((entry) => entry.contentType?.toLowerCase().startsWith("audio/"));
|
|
2696
|
-
if (mediaIndex < 0) return null;
|
|
2697
|
-
const transcript = await slackPreflightAudio.resolve({ request: {
|
|
2698
|
-
ctx: {
|
|
2699
|
-
media: [...params.media],
|
|
2700
|
-
Provider: "slack",
|
|
2701
|
-
Surface: "slack",
|
|
2702
|
-
OriginatingChannel: "slack",
|
|
2703
|
-
OriginatingTo: params.originatingTo,
|
|
2704
|
-
AccountId: params.accountId,
|
|
2705
|
-
MessageThreadId: params.messageThreadId,
|
|
2706
|
-
ChatType: "channel",
|
|
2707
|
-
SessionKey: params.sessionKey
|
|
2708
|
-
},
|
|
2709
|
-
cfg: params.cfg
|
|
2710
|
-
} });
|
|
2711
|
-
return transcript ? {
|
|
2712
|
-
transcript,
|
|
2713
|
-
mediaIndex
|
|
2714
|
-
} : null;
|
|
2715
|
-
}
|
|
2716
|
-
async function sendSlackPreflightAudioTranscriptEcho(params) {
|
|
2717
|
-
await slackPreflightAudio.send(params);
|
|
2718
|
-
}
|
|
2719
|
-
async function discardSlackPreflightMedia(media) {
|
|
2720
|
-
await Promise.allSettled((media ?? []).map((entry) => fs.rm(entry.path, { force: true })));
|
|
2721
|
-
}
|
|
2722
|
-
//#endregion
|
|
2723
|
-
//#region extensions/slack/src/monitor/message-handler/prepare-content.ts
|
|
2724
|
-
const SLACK_MENTION_RESOLUTION_CONCURRENCY = 4;
|
|
2725
|
-
const SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE = 20;
|
|
2726
|
-
const SLACK_USER_MENTION_RE$1 = /<@([A-Z0-9]+)(?:\|[^>]+)?>/gi;
|
|
2727
|
-
const MAX_SLACK_UNAVAILABLE_FILE_TEXT_CHARS = 2e3;
|
|
2728
|
-
const loadSlackMediaModule$1 = createLazyRuntimeModule(() => import("./actions-mLOa06lO.js").then((n) => n._));
|
|
2729
|
-
function formatSlackUnavailableMedia(params) {
|
|
2730
|
-
let fileReferences = params.files?.map((file) => `${formatSlackFileReference(file)} unavailable (${file.reason})`).join(", ");
|
|
2731
|
-
if (fileReferences && fileReferences.length > MAX_SLACK_UNAVAILABLE_FILE_TEXT_CHARS) fileReferences = `${truncateUtf16Safe(fileReferences, MAX_SLACK_UNAVAILABLE_FILE_TEXT_CHARS)}; … (file references truncated)`;
|
|
2732
|
-
const fileBlock = fileReferences ? `[Slack file: ${fileReferences}]` : void 0;
|
|
2733
|
-
const body = [params.body, fileBlock].filter(Boolean).join("\n");
|
|
2734
|
-
if (params.unavailableMediaCount === 0) return body;
|
|
2735
|
-
const notice = `[slack ${params.unavailableMediaCount > 1 ? `${params.unavailableMediaCount} attachments` : "attachment"} unavailable]`;
|
|
2736
|
-
return params.prependUnavailable ? [
|
|
2737
|
-
notice,
|
|
2738
|
-
fileBlock,
|
|
2739
|
-
params.body
|
|
2740
|
-
].filter(Boolean).join("\n") : formatInboundMediaUnavailableText({
|
|
2741
|
-
body,
|
|
2742
|
-
notice
|
|
2743
|
-
});
|
|
2744
|
-
}
|
|
2745
|
-
function collectUniqueSlackMentionIds$1(texts) {
|
|
2746
|
-
const seen = /* @__PURE__ */ new Set();
|
|
2747
|
-
const mentionIds = [];
|
|
2748
|
-
for (const text of texts) {
|
|
2749
|
-
if (!text) continue;
|
|
2750
|
-
SLACK_USER_MENTION_RE$1.lastIndex = 0;
|
|
2751
|
-
for (const match of text.matchAll(SLACK_USER_MENTION_RE$1)) {
|
|
2752
|
-
const userId = match[1];
|
|
2753
|
-
if (!userId || seen.has(userId)) continue;
|
|
2754
|
-
seen.add(userId);
|
|
2755
|
-
mentionIds.push(userId);
|
|
2756
|
-
}
|
|
2757
|
-
}
|
|
2758
|
-
return mentionIds;
|
|
2759
|
-
}
|
|
2760
|
-
function renderSlackUserMentions(text, renderedMentions) {
|
|
2761
|
-
if (!text || renderedMentions.size === 0) return text;
|
|
2762
|
-
SLACK_USER_MENTION_RE$1.lastIndex = 0;
|
|
2763
|
-
return text.replace(SLACK_USER_MENTION_RE$1, (full, userId) => {
|
|
2764
|
-
return renderedMentions.get(userId) ?? full;
|
|
2765
|
-
});
|
|
2766
|
-
}
|
|
2767
|
-
function filterInheritedParentFiles(params) {
|
|
2768
|
-
const { files, isThreadReply, threadStarter } = params;
|
|
2769
|
-
if (!isThreadReply || !files?.length) return files;
|
|
2770
|
-
if (!threadStarter?.files?.length) return files;
|
|
2771
|
-
const starterFileIds = new Set(threadStarter.files.map((file) => file.id));
|
|
2772
|
-
const filtered = files.filter((file) => !file.id || !starterFileIds.has(file.id));
|
|
2773
|
-
if (filtered.length < files.length) logVerbose(`slack: filtered ${files.length - filtered.length} inherited parent file(s) from thread reply`);
|
|
2774
|
-
return filtered.length > 0 ? filtered : void 0;
|
|
2775
|
-
}
|
|
2776
|
-
async function resolveSlackMessageContent(params) {
|
|
2777
|
-
const ownFiles = filterInheritedParentFiles({
|
|
2778
|
-
files: params.message.files,
|
|
2779
|
-
isThreadReply: params.isThreadReply,
|
|
2780
|
-
threadStarter: params.threadStarter
|
|
2781
|
-
});
|
|
2782
|
-
const attachmentContent = ownFiles?.length || params.message.attachments?.length ? await loadSlackMediaModule$1().then(({ resolveSlackAttachmentContent }) => resolveSlackAttachmentContent({
|
|
2783
|
-
files: ownFiles,
|
|
2784
|
-
attachments: params.message.attachments,
|
|
2785
|
-
client: params.client,
|
|
2786
|
-
token: params.botToken,
|
|
2787
|
-
maxBytes: params.mediaMaxBytes,
|
|
2788
|
-
readIdleTimeoutMs: params.mediaReadIdleTimeoutMs,
|
|
2789
|
-
totalTimeoutMs: params.mediaTotalTimeoutMs,
|
|
2790
|
-
abortSignal: params.abortSignal,
|
|
2791
|
-
preloadedMedia: params.preloadedMedia
|
|
2792
|
-
})) : null;
|
|
2793
|
-
const effectiveDirectMedia = attachmentContent?.media.length ? attachmentContent.media : null;
|
|
2794
|
-
const mediaPlaceholder = effectiveDirectMedia?.map((item) => item.placeholder).join(" ");
|
|
2795
|
-
let botAttachmentText;
|
|
2796
|
-
if (params.isBotMessage && !attachmentContent?.text) {
|
|
2797
|
-
const botAttachmentTextParts = [];
|
|
2798
|
-
for (const attachment of params.message.attachments ?? []) {
|
|
2799
|
-
const text = normalizeOptionalString(attachment.text) ?? normalizeOptionalString(attachment.fallback);
|
|
2800
|
-
if (text) botAttachmentTextParts.push(text);
|
|
2801
|
-
}
|
|
2802
|
-
botAttachmentText = botAttachmentTextParts.length > 0 ? botAttachmentTextParts.join("\n") : void 0;
|
|
2803
|
-
}
|
|
2804
|
-
const textParts = [
|
|
2805
|
-
resolveSlackMessageText$1(params.message),
|
|
2806
|
-
attachmentContent?.text,
|
|
2807
|
-
botAttachmentText
|
|
2808
|
-
];
|
|
2809
|
-
const renderedMentions = /* @__PURE__ */ new Map();
|
|
2810
|
-
const resolveUserName = params.resolveUserName;
|
|
2811
|
-
if (resolveUserName) {
|
|
2812
|
-
const mentionIds = collectUniqueSlackMentionIds$1(textParts);
|
|
2813
|
-
const lookupIds = mentionIds.slice(0, SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE);
|
|
2814
|
-
const skippedLookups = mentionIds.length - lookupIds.length;
|
|
2815
|
-
if (skippedLookups > 0) logVerbose(`slack: skipping ${skippedLookups} mention lookup(s) beyond per-message cap (${SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE})`);
|
|
2816
|
-
const { results } = await runTasksWithConcurrency({
|
|
2817
|
-
tasks: lookupIds.map((userId) => async () => {
|
|
2818
|
-
const user = await resolveUserName(userId);
|
|
2819
|
-
const renderedName = normalizeOptionalString(user?.name);
|
|
2820
|
-
return {
|
|
2821
|
-
userId,
|
|
2822
|
-
rendered: renderedName ? `<@${userId}> (${renderedName})` : null
|
|
2823
|
-
};
|
|
2824
|
-
}),
|
|
2825
|
-
limit: SLACK_MENTION_RESOLUTION_CONCURRENCY
|
|
2826
|
-
});
|
|
2827
|
-
for (const result of results) {
|
|
2828
|
-
if (!result) continue;
|
|
2829
|
-
renderedMentions.set(result.userId, result.rendered);
|
|
2830
|
-
}
|
|
2831
|
-
}
|
|
2832
|
-
const renderedMessageText = renderSlackUserMentions(textParts[0], renderedMentions);
|
|
2833
|
-
const renderedAttachmentText = renderSlackUserMentions(textParts[1], renderedMentions);
|
|
2834
|
-
const renderedBotAttachmentText = renderSlackUserMentions(textParts[2], renderedMentions);
|
|
2835
|
-
const commandSourceText = renderSlackUserMentions(normalizeOptionalString(params.message.text), renderedMentions) ?? "";
|
|
2836
|
-
const rawBody = formatSlackUnavailableMedia({
|
|
2837
|
-
body: [
|
|
2838
|
-
renderedMessageText,
|
|
2839
|
-
renderedAttachmentText,
|
|
2840
|
-
renderedBotAttachmentText,
|
|
2841
|
-
mediaPlaceholder
|
|
2842
|
-
].filter(Boolean).join("\n") || "",
|
|
2843
|
-
files: attachmentContent?.files,
|
|
2844
|
-
unavailableMediaCount: attachmentContent?.unavailableMediaCount ?? 0
|
|
2845
|
-
});
|
|
2846
|
-
const mentionStripPatterns = [...renderedMentions.values()].flatMap((rendered) => rendered ? [rendered] : []);
|
|
2847
|
-
return rawBody ? {
|
|
2848
|
-
rawBody,
|
|
2849
|
-
effectiveDirectMedia,
|
|
2850
|
-
commandSourceText,
|
|
2851
|
-
mentionStripPatterns
|
|
2852
|
-
} : null;
|
|
2853
|
-
}
|
|
2854
|
-
//#endregion
|
|
2855
|
-
//#region extensions/slack/src/monitor/message-handler/prepare-dm-history.ts
|
|
2856
|
-
function resolveSlackDmHistoryLimit(params) {
|
|
2857
|
-
const override = params.userId && params.account.config.dms?.[params.userId]?.historyLimit !== void 0 ? params.account.config.dms[params.userId]?.historyLimit : void 0;
|
|
2858
|
-
return Math.max(0, override ?? params.defaultLimit);
|
|
2859
|
-
}
|
|
2860
|
-
async function resolveSlackDmHistoryContext(params) {
|
|
2861
|
-
const maxMessages = Math.max(0, Math.floor(params.limit));
|
|
2862
|
-
if (maxMessages <= 0) return {
|
|
2863
|
-
body: void 0,
|
|
2864
|
-
inboundHistory: void 0
|
|
2865
|
-
};
|
|
2866
|
-
try {
|
|
2867
|
-
const messages = ((await (params.eventScope?.client ?? params.ctx.app.client).conversations.history({
|
|
2868
|
-
token: params.ctx.botToken,
|
|
2869
|
-
channel: params.channelId,
|
|
2870
|
-
...params.currentMessageTs ? {
|
|
2871
|
-
latest: params.currentMessageTs,
|
|
2872
|
-
inclusive: true
|
|
2873
|
-
} : {},
|
|
2874
|
-
limit: maxMessages + 1
|
|
2875
|
-
})).messages ?? []).filter((message) => {
|
|
2876
|
-
if (params.currentMessageTs && message.ts === params.currentMessageTs) return false;
|
|
2877
|
-
return Boolean(normalizeOptionalString(message.text));
|
|
2878
|
-
}).slice(0, maxMessages).toReversed();
|
|
2879
|
-
if (messages.length === 0) return {
|
|
2880
|
-
body: void 0,
|
|
2881
|
-
inboundHistory: void 0
|
|
2882
|
-
};
|
|
2883
|
-
const userNames = /* @__PURE__ */ new Map();
|
|
2884
|
-
const resolveUserLabel = async (userId) => {
|
|
2885
|
-
const cached = userNames.get(userId);
|
|
2886
|
-
if (cached) return cached;
|
|
2887
|
-
const label = normalizeOptionalString((await params.ctx.resolveUserName(userId, params.eventScope)).name) ?? userId;
|
|
2888
|
-
userNames.set(userId, label);
|
|
2889
|
-
return label;
|
|
2890
|
-
};
|
|
2891
|
-
const entries = [];
|
|
2892
|
-
const formatted = [];
|
|
2893
|
-
for (const message of messages) {
|
|
2894
|
-
const body = normalizeOptionalString(message.text);
|
|
2895
|
-
if (!body) continue;
|
|
2896
|
-
const isCurrentBot = params.ctx.botUserId && message.user === params.ctx.botUserId || params.ctx.botId && message.bot_id === params.ctx.botId;
|
|
2897
|
-
const role = isCurrentBot || message.bot_id ? "assistant" : "user";
|
|
2898
|
-
const sender = `${isCurrentBot ? "Assistant" : message.user ? await resolveUserLabel(message.user) : normalizeOptionalString(message.username) ?? (message.bot_id ? "Bot" : "Unknown")} (${role})`;
|
|
2899
|
-
const timestamp = resolveSlackTimestampMs(message.ts);
|
|
2900
|
-
entries.push({
|
|
2901
|
-
sender,
|
|
2902
|
-
body,
|
|
2903
|
-
timestamp
|
|
2904
|
-
});
|
|
2905
|
-
formatted.push(formatInboundEnvelope({
|
|
2906
|
-
channel: "Slack",
|
|
2907
|
-
from: sender,
|
|
2908
|
-
timestamp,
|
|
2909
|
-
body: `${body}\n[slack message id: ${message.ts ?? "unknown"} channel: ${params.channelId}]`,
|
|
2910
|
-
chatType: "direct",
|
|
2911
|
-
envelope: params.envelopeOptions
|
|
2912
|
-
}));
|
|
2913
|
-
}
|
|
2914
|
-
return {
|
|
2915
|
-
body: formatted.length > 0 ? formatted.join("\n\n") : void 0,
|
|
2916
|
-
inboundHistory: entries.length > 0 ? entries : void 0
|
|
2917
|
-
};
|
|
2918
|
-
} catch (err) {
|
|
2919
|
-
logVerbose(`slack: failed to fetch DM history for channel ${params.channelId}: ${formatErrorMessage(err)}`);
|
|
2920
|
-
return {
|
|
2921
|
-
body: void 0,
|
|
2922
|
-
inboundHistory: void 0
|
|
2923
|
-
};
|
|
2924
|
-
}
|
|
2925
|
-
}
|
|
2926
|
-
//#endregion
|
|
2927
|
-
//#region extensions/slack/src/monitor/message-handler/prepare-thread-context-root.ts
|
|
2928
|
-
function isSlackThreadAuthorCurrentBot(params) {
|
|
2929
|
-
const { identity, author } = params;
|
|
2930
|
-
if (identity.botUserId && author.userId && author.userId === identity.botUserId) return true;
|
|
2931
|
-
if (identity.botId && author.botId && author.botId === identity.botId) return true;
|
|
2932
|
-
return false;
|
|
2933
|
-
}
|
|
2934
|
-
function resolveSlackThreadHistoryFilterPolicy(params) {
|
|
2935
|
-
if (params.retainCurrentBotHistory) return { currentBot: "all" };
|
|
2936
|
-
if (!params.includeBotStarterAsRootContext || !params.starterTs) return { currentBot: "omit" };
|
|
2937
|
-
return {
|
|
2938
|
-
currentBot: "root-only",
|
|
2939
|
-
rootTs: params.starterTs
|
|
2940
|
-
};
|
|
2941
|
-
}
|
|
2942
|
-
function applySlackThreadHistoryFilterPolicy(params) {
|
|
2943
|
-
const kept = [];
|
|
2944
|
-
let omittedCurrentBot = 0;
|
|
2945
|
-
for (const entry of params.history) {
|
|
2946
|
-
if (!isSlackThreadAuthorCurrentBot({
|
|
2947
|
-
identity: params.identity,
|
|
2948
|
-
author: entry
|
|
2949
|
-
})) {
|
|
2950
|
-
kept.push(entry);
|
|
2951
|
-
continue;
|
|
2952
|
-
}
|
|
2953
|
-
if (params.policy.currentBot === "all" || params.policy.currentBot === "root-only" && entry.ts === params.policy.rootTs) kept.push(entry);
|
|
2954
|
-
else omittedCurrentBot += 1;
|
|
2955
|
-
}
|
|
2956
|
-
return {
|
|
2957
|
-
kept,
|
|
2958
|
-
omittedCurrentBot
|
|
2959
|
-
};
|
|
2960
|
-
}
|
|
2961
|
-
function shouldIncludeBotThreadStarterContext(params) {
|
|
2962
|
-
if (!params.hasStarterText) return false;
|
|
2963
|
-
return params.starterIsCurrentBot && params.isNewThreadSession;
|
|
2964
|
-
}
|
|
2965
|
-
function ensureSlackThreadHistoryHasBotRoot(params) {
|
|
2966
|
-
if (!params.includeBotStarterAsRootContext || !params.threadStarter?.text) return params.history;
|
|
2967
|
-
if (params.history.some((entry) => entry.ts === params.threadStarter?.ts)) return params.history;
|
|
2968
|
-
return [params.threadStarter, ...params.history];
|
|
2969
|
-
}
|
|
2970
|
-
function formatSlackBotStarterThreadLabel(params) {
|
|
2971
|
-
const base = `Slack thread ${params.roomLabel}`;
|
|
2972
|
-
if (!params.starterText) return base;
|
|
2973
|
-
const snippet = formatSlackThreadLabelSnippet(params.starterText).trim();
|
|
2974
|
-
if (!snippet) return base;
|
|
2975
|
-
return `${base} (assistant root): ${snippet}`;
|
|
2976
|
-
}
|
|
2977
|
-
function formatSlackThreadLabelSnippet(text) {
|
|
2978
|
-
return truncateUtf16Safe(text.replace(/\s+/g, " "), 80);
|
|
2979
|
-
}
|
|
2980
|
-
//#endregion
|
|
2981
|
-
//#region extensions/slack/src/monitor/message-handler/prepare-thread-context.ts
|
|
2982
|
-
const loadSlackMediaModule = createLazyRuntimeModule(() => import("./actions-mLOa06lO.js").then((n) => n._));
|
|
2983
|
-
const SLACK_THREAD_CONTEXT_USER_LOOKUP_CONCURRENCY = 4;
|
|
2984
|
-
function resolveSlackThreadSessionFreshness(params) {
|
|
2985
|
-
return params.ctx.channelRuntime?.session?.resolveEntryResetFreshness?.({
|
|
2986
|
-
agentId: params.agentId,
|
|
2987
|
-
storePath: params.storePath,
|
|
2988
|
-
sessionKey: params.sessionKey,
|
|
2989
|
-
sessionCfg: params.ctx.cfg.session,
|
|
2990
|
-
resetType: "thread",
|
|
2991
|
-
resetOverride: resolveChannelResetConfig({
|
|
2992
|
-
sessionCfg: params.ctx.cfg.session,
|
|
2993
|
-
channel: "slack"
|
|
2994
|
-
})
|
|
2995
|
-
});
|
|
2996
|
-
}
|
|
2997
|
-
function isSlackThreadContextSenderAllowed(params) {
|
|
2998
|
-
return resolveInboundSupplementalSenderAllowed({
|
|
2999
|
-
isGroup: true,
|
|
3000
|
-
groupPolicy: params.allowFromLower.length === 0 ? "open" : "allowlist",
|
|
3001
|
-
allowFrom: params.allowFromLower,
|
|
3002
|
-
isSenderAllowed: (allowFrom) => {
|
|
3003
|
-
if (params.botId) return true;
|
|
3004
|
-
if (!params.userId) return false;
|
|
3005
|
-
return resolveSlackAllowListMatch({
|
|
3006
|
-
allowList: allowFrom,
|
|
3007
|
-
id: params.userId,
|
|
3008
|
-
name: params.userName,
|
|
3009
|
-
allowNameMatching: params.allowNameMatching
|
|
3010
|
-
}).allowed;
|
|
3011
|
-
}
|
|
3012
|
-
});
|
|
3013
|
-
}
|
|
3014
|
-
async function resolveSlackThreadUserMap(params) {
|
|
3015
|
-
const uniqueUserIds = [];
|
|
3016
|
-
const seen = /* @__PURE__ */ new Set();
|
|
3017
|
-
for (const item of params.messages) {
|
|
3018
|
-
if (!item.userId || seen.has(item.userId)) continue;
|
|
3019
|
-
seen.add(item.userId);
|
|
3020
|
-
uniqueUserIds.push(item.userId);
|
|
3021
|
-
}
|
|
3022
|
-
const userMap = /* @__PURE__ */ new Map();
|
|
3023
|
-
if (uniqueUserIds.length === 0) return userMap;
|
|
3024
|
-
const { results } = await runTasksWithConcurrency({
|
|
3025
|
-
tasks: uniqueUserIds.map((id) => async () => {
|
|
3026
|
-
const user = await params.ctx.resolveUserName(id, params.eventScope);
|
|
3027
|
-
return user ? {
|
|
3028
|
-
id,
|
|
3029
|
-
user
|
|
3030
|
-
} : null;
|
|
3031
|
-
}),
|
|
3032
|
-
limit: SLACK_THREAD_CONTEXT_USER_LOOKUP_CONCURRENCY
|
|
3033
|
-
});
|
|
3034
|
-
for (const result of results) if (result) userMap.set(result.id, result.user);
|
|
3035
|
-
return userMap;
|
|
3036
|
-
}
|
|
3037
|
-
async function resolveSlackThreadContextData(params) {
|
|
3038
|
-
const botIdentity = {
|
|
3039
|
-
botUserId: params.ctx.botUserId,
|
|
3040
|
-
botId: params.ctx.botId
|
|
3041
|
-
};
|
|
3042
|
-
const isCurrentBotAuthor = (author) => isSlackThreadAuthorCurrentBot({
|
|
3043
|
-
identity: botIdentity,
|
|
3044
|
-
author
|
|
3045
|
-
});
|
|
3046
|
-
let threadStarterBody;
|
|
3047
|
-
let threadHistoryBody;
|
|
3048
|
-
let threadLabel;
|
|
3049
|
-
let threadStarterMedia = null;
|
|
3050
|
-
const threadSessionFreshness = params.isThreadReply && params.threadTs ? resolveSlackThreadSessionFreshness({
|
|
3051
|
-
ctx: params.ctx,
|
|
3052
|
-
agentId: params.agentId,
|
|
3053
|
-
storePath: params.storePath,
|
|
3054
|
-
sessionKey: params.sessionKey
|
|
3055
|
-
}) : void 0;
|
|
3056
|
-
const threadSessionPreviousTimestamp = params.isThreadReply && params.threadTs && !threadSessionFreshness ? readSessionUpdatedAt({
|
|
3057
|
-
storePath: params.storePath,
|
|
3058
|
-
sessionKey: params.sessionKey
|
|
3059
|
-
}) : void 0;
|
|
3060
|
-
const isMissingThreadSession = threadSessionFreshness ? threadSessionFreshness.state === "missing" : threadSessionPreviousTimestamp === void 0;
|
|
3061
|
-
const isOutboundOnlyThreadSession = threadSessionFreshness !== void 0 && threadSessionFreshness.state !== "missing" && threadSessionFreshness.entry.lastInteractionAt === void 0 && threadSessionFreshness.entry.updatedAt !== 0;
|
|
3062
|
-
const shouldSeedInitialThreadContext = Boolean(params.isThreadReply && params.threadTs && (threadSessionFreshness ? threadSessionFreshness.state !== "fresh" || isOutboundOnlyThreadSession : threadSessionPreviousTimestamp === void 0));
|
|
3063
|
-
const shouldLoadInitialThreadHistory = shouldSeedInitialThreadContext || params.forceInitialHistory === true;
|
|
3064
|
-
if (!params.isThreadReply || !params.threadTs) return {
|
|
3065
|
-
threadStarterBody,
|
|
3066
|
-
threadHistoryBody,
|
|
3067
|
-
shouldSeedInitialThreadContext,
|
|
3068
|
-
threadLabel,
|
|
3069
|
-
threadStarterMedia
|
|
3070
|
-
};
|
|
3071
|
-
const starter = params.threadStarter;
|
|
3072
|
-
const starterSenderName = params.allowNameMatching && params.allowFromLower.length > 0 && starter?.userId ? (await params.ctx.resolveUserName(starter.userId, params.eventScope))?.name : void 0;
|
|
3073
|
-
const starterIsCurrentBot = Boolean(starter && isCurrentBotAuthor({
|
|
3074
|
-
userId: starter.userId,
|
|
3075
|
-
botId: starter.botId
|
|
3076
|
-
}));
|
|
3077
|
-
const starterAllowed = !starter || !starterIsCurrentBot && isSlackThreadContextSenderAllowed({
|
|
3078
|
-
allowFromLower: params.allowFromLower,
|
|
3079
|
-
allowNameMatching: params.allowNameMatching,
|
|
3080
|
-
userId: starter.userId,
|
|
3081
|
-
userName: starterSenderName,
|
|
3082
|
-
botId: starter.botId
|
|
3083
|
-
});
|
|
3084
|
-
const includeStarterContext = !starter || !starterIsCurrentBot && shouldIncludeSupplementalContext({
|
|
3085
|
-
mode: params.contextVisibilityMode,
|
|
3086
|
-
kind: "thread",
|
|
3087
|
-
senderAllowed: starterAllowed
|
|
3088
|
-
});
|
|
3089
|
-
if (starter?.text && includeStarterContext) {
|
|
3090
|
-
threadStarterBody = starter.text;
|
|
3091
|
-
const snippet = formatSlackThreadLabelSnippet(starter.text);
|
|
3092
|
-
threadLabel = `Slack thread ${params.roomLabel}${snippet ? `: ${snippet}` : ""}`;
|
|
3093
|
-
if (shouldSeedInitialThreadContext && !params.effectiveDirectMedia && starter.files && starter.files.length > 0) {
|
|
3094
|
-
const { resolveSlackAttachmentContent } = await loadSlackMediaModule();
|
|
3095
|
-
const attachmentContent = await resolveSlackAttachmentContent({
|
|
3096
|
-
files: starter.files,
|
|
3097
|
-
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3098
|
-
token: params.ctx.botToken,
|
|
3099
|
-
maxBytes: params.ctx.mediaMaxBytes
|
|
3100
|
-
});
|
|
3101
|
-
threadStarterMedia = attachmentContent?.media.length ? attachmentContent.media : null;
|
|
3102
|
-
if (attachmentContent) threadStarterBody = formatSlackUnavailableMedia({
|
|
3103
|
-
body: threadStarterBody,
|
|
3104
|
-
files: attachmentContent.files,
|
|
3105
|
-
unavailableMediaCount: attachmentContent.unavailableMediaCount,
|
|
3106
|
-
prependUnavailable: true
|
|
3107
|
-
});
|
|
3108
|
-
if (threadStarterMedia) {
|
|
3109
|
-
const starterPlaceholders = threadStarterMedia.map((item) => item.placeholder).join(", ");
|
|
3110
|
-
logVerbose(`slack: hydrated thread starter file ${starterPlaceholders} from root message`);
|
|
3111
|
-
}
|
|
3112
|
-
}
|
|
3113
|
-
} else threadLabel = `Slack thread ${params.roomLabel}`;
|
|
3114
|
-
const includeBotStarterAsRootContext = shouldIncludeBotThreadStarterContext({
|
|
3115
|
-
starterIsCurrentBot,
|
|
3116
|
-
isNewThreadSession: shouldSeedInitialThreadContext,
|
|
3117
|
-
hasStarterText: Boolean(starter?.text)
|
|
3118
|
-
});
|
|
3119
|
-
if (starter?.text && starterIsCurrentBot && !includeBotStarterAsRootContext) logVerbose("slack: omitted current-bot thread starter from context");
|
|
3120
|
-
else if (starter?.text && !includeStarterContext && !starterIsCurrentBot) logVerbose(`slack: omitted thread starter from context (mode=${params.contextVisibilityMode}, sender_allowed=${starterAllowed ? "yes" : "no"})`);
|
|
3121
|
-
else if (includeBotStarterAsRootContext) {
|
|
3122
|
-
threadLabel = formatSlackBotStarterThreadLabel({
|
|
3123
|
-
roomLabel: params.roomLabel,
|
|
3124
|
-
starterText: starter?.text
|
|
3125
|
-
});
|
|
3126
|
-
logVerbose("slack: retained current-bot thread starter as assistant root context");
|
|
3127
|
-
}
|
|
3128
|
-
const threadInitialHistoryLimit = params.account.config?.thread?.initialHistoryLimit ?? 20;
|
|
3129
|
-
if (threadInitialHistoryLimit > 0 && shouldLoadInitialThreadHistory) {
|
|
3130
|
-
const currentBotRootTs = starter?.ts ?? params.threadTs;
|
|
3131
|
-
const threadHistory = await resolveSlackThreadHistory({
|
|
3132
|
-
channelId: params.message.channel,
|
|
3133
|
-
threadTs: params.threadTs,
|
|
3134
|
-
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3135
|
-
currentMessageTs: params.message.ts,
|
|
3136
|
-
limit: threadInitialHistoryLimit
|
|
3137
|
-
});
|
|
3138
|
-
const enrichedStarter = starter && threadStarterBody && threadStarterBody !== starter.text ? {
|
|
3139
|
-
...starter,
|
|
3140
|
-
text: threadStarterBody,
|
|
3141
|
-
ts: currentBotRootTs
|
|
3142
|
-
} : null;
|
|
3143
|
-
const threadHistoryWithBotRoot = ensureSlackThreadHistoryHasBotRoot({
|
|
3144
|
-
history: enrichedStarter && !threadHistory.some((entry) => entry.ts === currentBotRootTs) ? [enrichedStarter, ...threadHistory.length >= threadInitialHistoryLimit ? threadHistory.slice(1) : threadHistory] : threadHistory,
|
|
3145
|
-
includeBotStarterAsRootContext,
|
|
3146
|
-
threadStarter: starter ? {
|
|
3147
|
-
...starter,
|
|
3148
|
-
ts: currentBotRootTs
|
|
3149
|
-
} : null
|
|
3150
|
-
});
|
|
3151
|
-
if (threadHistoryWithBotRoot.length > 0) {
|
|
3152
|
-
const { kept: threadHistoryWithoutCurrentBot, omittedCurrentBot: omittedCurrentBotHistoryCount } = applySlackThreadHistoryFilterPolicy({
|
|
3153
|
-
history: threadHistoryWithBotRoot,
|
|
3154
|
-
policy: resolveSlackThreadHistoryFilterPolicy({
|
|
3155
|
-
includeBotStarterAsRootContext,
|
|
3156
|
-
starterTs: currentBotRootTs,
|
|
3157
|
-
retainCurrentBotHistory: params.isGroupDm && (isMissingThreadSession || isOutboundOnlyThreadSession)
|
|
3158
|
-
}),
|
|
3159
|
-
identity: botIdentity
|
|
3160
|
-
});
|
|
3161
|
-
const userMapForFilter = params.contextVisibilityMode !== "all" && params.allowNameMatching && params.allowFromLower.length > 0 ? await resolveSlackThreadUserMap({
|
|
3162
|
-
ctx: params.ctx,
|
|
3163
|
-
messages: threadHistoryWithoutCurrentBot,
|
|
3164
|
-
eventScope: params.eventScope
|
|
3165
|
-
}) : /* @__PURE__ */ new Map();
|
|
3166
|
-
const { items: filteredThreadHistory, omitted: omittedHistoryCount } = params.contextVisibilityMode === "all" ? {
|
|
3167
|
-
items: threadHistoryWithoutCurrentBot,
|
|
3168
|
-
omitted: 0
|
|
3169
|
-
} : filterSupplementalContextItems({
|
|
3170
|
-
items: threadHistoryWithoutCurrentBot,
|
|
3171
|
-
mode: params.contextVisibilityMode,
|
|
3172
|
-
kind: "thread",
|
|
3173
|
-
isSenderAllowed: (historyMsg) => {
|
|
3174
|
-
if (isCurrentBotAuthor({
|
|
3175
|
-
userId: historyMsg.userId,
|
|
3176
|
-
botId: historyMsg.botId
|
|
3177
|
-
})) return true;
|
|
3178
|
-
const msgUser = historyMsg.userId ? userMapForFilter.get(historyMsg.userId) : null;
|
|
3179
|
-
return isSlackThreadContextSenderAllowed({
|
|
3180
|
-
allowFromLower: params.allowFromLower,
|
|
3181
|
-
allowNameMatching: params.allowNameMatching,
|
|
3182
|
-
userId: historyMsg.userId,
|
|
3183
|
-
userName: msgUser?.name,
|
|
3184
|
-
botId: historyMsg.botId
|
|
3185
|
-
});
|
|
3186
|
-
}
|
|
3187
|
-
});
|
|
3188
|
-
const userMap = await resolveSlackThreadUserMap({
|
|
3189
|
-
ctx: params.ctx,
|
|
3190
|
-
messages: filteredThreadHistory
|
|
3191
|
-
});
|
|
3192
|
-
if (omittedHistoryCount > 0 || omittedCurrentBotHistoryCount > 0) logVerbose(`slack: omitted ${omittedHistoryCount + omittedCurrentBotHistoryCount} thread message(s) from context (mode=${params.contextVisibilityMode})`);
|
|
3193
|
-
const historyParts = [];
|
|
3194
|
-
for (const historyMsg of filteredThreadHistory) {
|
|
3195
|
-
const msgUser = historyMsg.userId ? userMap.get(historyMsg.userId) : null;
|
|
3196
|
-
const isOtherBot = Boolean(historyMsg.botId) && historyMsg.botId !== params.ctx.botId;
|
|
3197
|
-
const isCurrentBot = isCurrentBotAuthor({
|
|
3198
|
-
userId: historyMsg.userId,
|
|
3199
|
-
botId: historyMsg.botId
|
|
3200
|
-
});
|
|
3201
|
-
const role = isCurrentBot || isOtherBot || Boolean(historyMsg.botId) ? "assistant" : "user";
|
|
3202
|
-
const msgSenderName = isCurrentBot ? "Bot (this assistant)" : msgUser?.name ?? (historyMsg.botId ? `Bot (${historyMsg.botId})` : "Unknown");
|
|
3203
|
-
const msgWithId = `${historyMsg.ts === currentBotRootTs && threadStarterBody ? threadStarterBody : historyMsg.text}\n[slack message id: ${historyMsg.ts ?? "unknown"} channel: ${params.message.channel}]`;
|
|
3204
|
-
historyParts.push(formatInboundEnvelope({
|
|
3205
|
-
channel: "Slack",
|
|
3206
|
-
from: `${msgSenderName} (${role})`,
|
|
3207
|
-
timestamp: resolveSlackTimestampMs(historyMsg.ts),
|
|
3208
|
-
body: msgWithId,
|
|
3209
|
-
chatType: "channel",
|
|
3210
|
-
envelope: params.envelopeOptions
|
|
3211
|
-
}));
|
|
3212
|
-
}
|
|
3213
|
-
if (historyParts.length > 0) {
|
|
3214
|
-
threadHistoryBody = historyParts.join("\n\n");
|
|
3215
|
-
logVerbose(`slack: populated thread history with ${filteredThreadHistory.length} messages for new session`);
|
|
3216
|
-
}
|
|
3217
|
-
}
|
|
3218
|
-
}
|
|
3219
|
-
return {
|
|
3220
|
-
threadStarterBody,
|
|
3221
|
-
threadHistoryBody,
|
|
3222
|
-
shouldSeedInitialThreadContext,
|
|
3223
|
-
threadLabel,
|
|
3224
|
-
threadStarterMedia
|
|
3225
|
-
};
|
|
3226
|
-
}
|
|
3227
|
-
//#endregion
|
|
3228
|
-
//#region extensions/slack/src/monitor/message-handler/subteam-mentions.ts
|
|
3229
|
-
const SUBTEAM_MENTION_RE = /<!subteam\^([A-Z0-9]+)(?:\|[^>]*)?>/gi;
|
|
3230
|
-
const SUBTEAM_MEMBER_CACHE_TTL_MS = 3e5;
|
|
3231
|
-
const subteamMemberCache = /* @__PURE__ */ new WeakMap();
|
|
3232
|
-
function normalizeSlackId(value) {
|
|
3233
|
-
return typeof value === "string" && value.trim() ? value.trim().toUpperCase() : void 0;
|
|
3234
|
-
}
|
|
3235
|
-
function extractSlackSubteamMentionIds(text) {
|
|
3236
|
-
if (!text) return [];
|
|
3237
|
-
const ids = /* @__PURE__ */ new Set();
|
|
3238
|
-
for (const match of text.matchAll(SUBTEAM_MENTION_RE)) {
|
|
3239
|
-
const id = normalizeSlackId(match[1]);
|
|
3240
|
-
if (id) ids.add(id);
|
|
3241
|
-
}
|
|
3242
|
-
return [...ids];
|
|
3243
|
-
}
|
|
3244
|
-
async function readSlackSubteamUsers(params) {
|
|
3245
|
-
let bySubteam = subteamMemberCache.get(params.client);
|
|
3246
|
-
if (!bySubteam) {
|
|
3247
|
-
bySubteam = /* @__PURE__ */ new Map();
|
|
3248
|
-
subteamMemberCache.set(params.client, bySubteam);
|
|
3249
|
-
}
|
|
3250
|
-
const cacheKey = `${normalizeSlackId(params.teamId) ?? ""}:${params.subteamId}`;
|
|
3251
|
-
const cached = bySubteam.get(cacheKey);
|
|
3252
|
-
const now = asDateTimestampMs(params.now);
|
|
3253
|
-
if (cached) {
|
|
3254
|
-
if (now !== void 0 && asDateTimestampMs(cached.expiresAt) !== void 0 && cached.expiresAt > now) return cached.users;
|
|
3255
|
-
bySubteam.delete(cacheKey);
|
|
3256
|
-
}
|
|
3257
|
-
try {
|
|
3258
|
-
const response = await params.client.usergroups.users.list({
|
|
3259
|
-
usergroup: params.subteamId,
|
|
3260
|
-
...params.teamId ? { team_id: params.teamId } : {}
|
|
3261
|
-
});
|
|
3262
|
-
if (!response.ok) {
|
|
3263
|
-
params.log?.(`slack: failed to resolve user-group mention ${params.subteamId}: ${response.error ?? "unknown_error"}`);
|
|
3264
|
-
return /* @__PURE__ */ new Set();
|
|
3265
|
-
}
|
|
3266
|
-
const users = new Set((response.users ?? []).map((userId) => normalizeSlackId(userId)).filter(Boolean));
|
|
3267
|
-
const expiresAt = resolveExpiresAtMsFromDurationMs(SUBTEAM_MEMBER_CACHE_TTL_MS, { nowMs: params.now });
|
|
3268
|
-
if (expiresAt !== void 0) bySubteam.set(cacheKey, {
|
|
3269
|
-
expiresAt,
|
|
3270
|
-
users
|
|
3271
|
-
});
|
|
3272
|
-
return users;
|
|
3273
|
-
} catch (err) {
|
|
3274
|
-
params.log?.(`slack: failed to resolve user-group mention ${params.subteamId}: ${formatErrorMessage(err)}`);
|
|
3275
|
-
return /* @__PURE__ */ new Set();
|
|
3276
|
-
}
|
|
3277
|
-
}
|
|
3278
|
-
async function isSlackSubteamMentionForBot(params) {
|
|
3279
|
-
const botUserId = normalizeSlackId(params.botUserId);
|
|
3280
|
-
if (!botUserId) return false;
|
|
3281
|
-
const subteamIds = extractSlackSubteamMentionIds(params.text);
|
|
3282
|
-
if (subteamIds.length === 0) return false;
|
|
3283
|
-
const now = params.now ?? Date.now();
|
|
3284
|
-
for (const subteamId of subteamIds) if ((await readSlackSubteamUsers({
|
|
3285
|
-
client: params.client,
|
|
3286
|
-
subteamId,
|
|
3287
|
-
teamId: normalizeOptionalString(params.teamId),
|
|
3288
|
-
now,
|
|
3289
|
-
log: params.log
|
|
3290
|
-
})).has(botUserId)) return true;
|
|
3291
|
-
return false;
|
|
3292
|
-
}
|
|
3293
|
-
//#endregion
|
|
3294
|
-
//#region extensions/slack/src/monitor/message-handler/prepare.ts
|
|
3295
|
-
const mentionRegexCache = /* @__PURE__ */ new WeakMap();
|
|
3296
|
-
const SLACK_ANY_MENTION_RE = /<@[^>]+>|<!subteam\^[^>]+>/;
|
|
3297
|
-
const SLACK_USER_MENTION_RE = /<@([^>|]+)(?:\|[^>]+)?>/g;
|
|
3298
|
-
const SLACK_SUBTEAM_MENTION_RE = /<!subteam\^([^>|]+)(?:\|[^>]+)?>/g;
|
|
3299
|
-
const SLACK_SUBTEAM_MENTION_MARKER = "<!subteam^";
|
|
3300
|
-
const SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS = 4;
|
|
3301
|
-
const SLACK_HISTORY_MEDIA_MAX_BYTES = 10485760;
|
|
3302
|
-
const SLACK_HISTORY_MEDIA_IDLE_TIMEOUT_MS = 1e3;
|
|
3303
|
-
const SLACK_HISTORY_MEDIA_TOTAL_TIMEOUT_MS = 3e3;
|
|
3304
|
-
const SLACK_CHANNEL_ACCESS_DOCS_URL = "https://docs.openclaw.ai/channels/slack#access-control-and-routing";
|
|
3305
|
-
function resolveSlackGroupSessionSubject(params) {
|
|
3306
|
-
const channelName = normalizeOptionalString(params.channelName);
|
|
3307
|
-
const workspaceName = normalizeOptionalString(params.workspaceName);
|
|
3308
|
-
if (channelName && workspaceName) return `${workspaceName} #${channelName}`;
|
|
3309
|
-
return `Slack Channel (Workspace ID: ${params.workspaceId}, Channel ID: ${params.channelId})`;
|
|
3310
|
-
}
|
|
3311
|
-
function recordString(record, key) {
|
|
3312
|
-
return normalizeOptionalString(record?.[key]);
|
|
3313
|
-
}
|
|
3314
|
-
function recordNullableString(record, key) {
|
|
3315
|
-
if (!record || !(key in record)) return;
|
|
3316
|
-
if (record[key] === null) return null;
|
|
3317
|
-
return normalizeOptionalString(record[key]);
|
|
3318
|
-
}
|
|
3319
|
-
function mergeSlackAssistantThreadContext(primary, fallback) {
|
|
3320
|
-
if (!primary) return fallback;
|
|
3321
|
-
if (!fallback) return primary;
|
|
3322
|
-
return {
|
|
3323
|
-
assistantChannelId: primary.assistantChannelId || fallback.assistantChannelId,
|
|
3324
|
-
threadTs: primary.threadTs || fallback.threadTs,
|
|
3325
|
-
userId: primary.userId ?? fallback.userId,
|
|
3326
|
-
channelId: primary.channelId ?? fallback.channelId,
|
|
3327
|
-
teamId: primary.teamId ?? fallback.teamId,
|
|
3328
|
-
enterpriseId: primary.enterpriseId !== void 0 ? primary.enterpriseId : fallback.enterpriseId
|
|
3329
|
-
};
|
|
3330
|
-
}
|
|
3331
|
-
function hasSlackAssistantThreadMetadata(context) {
|
|
3332
|
-
return Boolean(context?.channelId || context?.teamId || context?.enterpriseId !== void 0);
|
|
3333
|
-
}
|
|
3334
|
-
function resolveSlackMessageAssistantThreadContext(message) {
|
|
3335
|
-
const thread = asOptionalRecord(message.assistant_thread);
|
|
3336
|
-
if (!thread) return;
|
|
3337
|
-
const context = asOptionalRecord(thread.context);
|
|
3338
|
-
const assistantChannelId = recordString(thread, "channel_id") ?? message.channel;
|
|
3339
|
-
const threadTs = recordString(thread, "thread_ts") ?? message.thread_ts ?? message.ts;
|
|
3340
|
-
if (!assistantChannelId || !threadTs) return;
|
|
3341
|
-
return {
|
|
3342
|
-
assistantChannelId,
|
|
3343
|
-
threadTs,
|
|
3344
|
-
userId: recordString(thread, "user_id") ?? message.user,
|
|
3345
|
-
channelId: recordString(context, "channel_id"),
|
|
3346
|
-
teamId: recordString(context, "team_id"),
|
|
3347
|
-
enterpriseId: recordNullableString(context, "enterprise_id")
|
|
3348
|
-
};
|
|
3349
|
-
}
|
|
3350
|
-
async function restoreSlackAssistantThreadContextFromMetadata(params) {
|
|
3351
|
-
const threadTs = params.message.thread_ts;
|
|
3352
|
-
const parentUserId = params.message.parent_user_id?.trim();
|
|
3353
|
-
if (!params.message.channel || !threadTs || !parentUserId || parentUserId !== params.ctx.botUserId && parentUserId !== params.ctx.botId) return;
|
|
3354
|
-
try {
|
|
3355
|
-
return await readSlackAssistantThreadContext({
|
|
3356
|
-
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3357
|
-
channelId: params.message.channel,
|
|
3358
|
-
threadTs,
|
|
3359
|
-
userId: params.message.user
|
|
3360
|
-
});
|
|
3361
|
-
} catch (err) {
|
|
3362
|
-
logVerbose(`slack assistant context restore failed channel=${params.message.channel} ts=${threadTs}: ${formatErrorMessage(err)}`);
|
|
3363
|
-
}
|
|
3364
|
-
}
|
|
3365
|
-
function resolveCachedMentionRegexes(ctx, agentId, options) {
|
|
3366
|
-
const key = [
|
|
3367
|
-
normalizeOptionalString(agentId) ?? "__default__",
|
|
3368
|
-
normalizeOptionalString(options?.provider),
|
|
3369
|
-
normalizeOptionalString(options?.conversationId ?? void 0),
|
|
3370
|
-
options?.providerPolicy ? JSON.stringify(options.providerPolicy) : ""
|
|
3371
|
-
].join("");
|
|
3372
|
-
let byAgent = mentionRegexCache.get(ctx);
|
|
3373
|
-
if (!byAgent) {
|
|
3374
|
-
byAgent = /* @__PURE__ */ new Map();
|
|
3375
|
-
mentionRegexCache.set(ctx, byAgent);
|
|
3376
|
-
}
|
|
3377
|
-
const cached = byAgent.get(key);
|
|
3378
|
-
if (cached) return cached;
|
|
3379
|
-
const built = buildMentionRegexes(ctx.cfg, agentId, options);
|
|
3380
|
-
byAgent.set(key, built);
|
|
3381
|
-
return built;
|
|
3382
|
-
}
|
|
3383
|
-
function isSlackImageFileCandidate(file) {
|
|
3384
|
-
if ((file.mimetype?.split(";")[0]?.trim().toLowerCase())?.startsWith("image/")) return true;
|
|
3385
|
-
return Boolean(mimeTypeFromFilePath(file.name)?.startsWith("image/"));
|
|
3386
|
-
}
|
|
3387
|
-
function sliceSlackImageFileCandidates(files, limit) {
|
|
3388
|
-
if (limit <= 0 || !files?.length) return [];
|
|
3389
|
-
return files.filter(isSlackImageFileCandidate).slice(0, limit);
|
|
3390
|
-
}
|
|
3391
|
-
function sliceSlackHistoryAttachmentCandidates(attachments, limit) {
|
|
3392
|
-
if (limit <= 0 || !attachments?.length) return [];
|
|
3393
|
-
const out = [];
|
|
3394
|
-
let remaining = limit;
|
|
3395
|
-
for (const attachment of attachments) {
|
|
3396
|
-
if (attachment.is_share !== true) continue;
|
|
3397
|
-
const hasImageUrl = Boolean(normalizeOptionalString(attachment.image_url));
|
|
3398
|
-
const files = sliceSlackImageFileCandidates(attachment.files, remaining - (hasImageUrl ? 1 : 0));
|
|
3399
|
-
if (!hasImageUrl && files.length === 0) continue;
|
|
3400
|
-
out.push({
|
|
3401
|
-
...attachment,
|
|
3402
|
-
files
|
|
3403
|
-
});
|
|
3404
|
-
remaining -= (hasImageUrl ? 1 : 0) + files.length;
|
|
3405
|
-
if (remaining <= 0) break;
|
|
3406
|
-
}
|
|
3407
|
-
return out;
|
|
3408
|
-
}
|
|
3409
|
-
function buildSlackHistoryMediaCandidateMessage(message) {
|
|
3410
|
-
const files = sliceSlackImageFileCandidates(message.files, SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS);
|
|
3411
|
-
const attachments = sliceSlackHistoryAttachmentCandidates(message.attachments, Math.max(0, SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS - files.length));
|
|
3412
|
-
if (files.length === 0 && attachments.length === 0) return null;
|
|
3413
|
-
return {
|
|
3414
|
-
...message,
|
|
3415
|
-
files,
|
|
3416
|
-
attachments
|
|
3417
|
-
};
|
|
3418
|
-
}
|
|
3419
|
-
async function resolveSlackHistoryMediaForPendingRecord(params) {
|
|
3420
|
-
const mediaMessage = buildSlackHistoryMediaCandidateMessage(params.message);
|
|
3421
|
-
if (!mediaMessage) return [];
|
|
3422
|
-
const content = await resolveSlackMessageContent({
|
|
3423
|
-
message: mediaMessage,
|
|
3424
|
-
isThreadReply: params.isThreadReply,
|
|
3425
|
-
threadStarter: params.threadStarter,
|
|
3426
|
-
isBotMessage: params.isBotMessage,
|
|
3427
|
-
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3428
|
-
botToken: params.ctx.botToken,
|
|
3429
|
-
mediaMaxBytes: Math.min(params.ctx.mediaMaxBytes, SLACK_HISTORY_MEDIA_MAX_BYTES),
|
|
3430
|
-
mediaReadIdleTimeoutMs: SLACK_HISTORY_MEDIA_IDLE_TIMEOUT_MS,
|
|
3431
|
-
mediaTotalTimeoutMs: SLACK_HISTORY_MEDIA_TOTAL_TIMEOUT_MS
|
|
3432
|
-
});
|
|
3433
|
-
return await toInboundMediaFactsWithMetadata(content?.effectiveDirectMedia, {
|
|
3434
|
-
kind: "image",
|
|
3435
|
-
messageId: params.message.ts
|
|
3436
|
-
});
|
|
3437
|
-
}
|
|
3438
|
-
function collectUniqueSlackMentionIds(text, regex) {
|
|
3439
|
-
const ids = [];
|
|
3440
|
-
regex.lastIndex = 0;
|
|
3441
|
-
for (const match of text.matchAll(regex)) {
|
|
3442
|
-
const id = normalizeSlackId(match[1]);
|
|
3443
|
-
if (id && !ids.includes(id)) ids.push(id);
|
|
3444
|
-
}
|
|
3445
|
-
return ids;
|
|
3446
|
-
}
|
|
3447
|
-
function collectSlackMentionMetadata(text) {
|
|
3448
|
-
return {
|
|
3449
|
-
mentionedUserIds: collectUniqueSlackMentionIds(text, SLACK_USER_MENTION_RE),
|
|
3450
|
-
mentionedSubteamIds: collectUniqueSlackMentionIds(text, SLACK_SUBTEAM_MENTION_RE),
|
|
3451
|
-
hasAnyMention: SLACK_ANY_MENTION_RE.test(text),
|
|
3452
|
-
hasSubteamMention: text.includes(SLACK_SUBTEAM_MENTION_MARKER)
|
|
3453
|
-
};
|
|
3454
|
-
}
|
|
3455
|
-
async function resolveSlackExplicitMentionState(params) {
|
|
3456
|
-
const normalizedBotUserId = normalizeSlackId(params.ctx.botUserId);
|
|
3457
|
-
const explicitlyMentionedBotUser = Boolean(normalizedBotUserId && params.mentionedUserIds.includes(normalizedBotUserId));
|
|
3458
|
-
const explicitlyMentionedBotSubteam = Boolean(params.ctx.botUserId && params.hasSubteamMention) && await isSlackSubteamMentionForBot({
|
|
3459
|
-
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3460
|
-
text: params.messageText,
|
|
3461
|
-
botUserId: params.ctx.botUserId,
|
|
3462
|
-
teamId: params.eventScope?.teamId ?? params.ctx.teamId,
|
|
3463
|
-
log: logVerbose
|
|
3464
|
-
});
|
|
3465
|
-
return {
|
|
3466
|
-
explicitlyMentionedBotUser,
|
|
3467
|
-
explicitlyMentionedBotSubteam,
|
|
3468
|
-
explicitlyMentioned: explicitlyMentionedBotUser || explicitlyMentionedBotSubteam || params.source === "app_mention"
|
|
3469
|
-
};
|
|
3470
|
-
}
|
|
3471
|
-
function resolveSlackMentionSource(params) {
|
|
3472
|
-
if (params.explicitBotMention) return "explicit_bot";
|
|
3473
|
-
if (params.explicitSubteamMention) return "subteam";
|
|
3474
|
-
if (params.shouldBypassMention) return "command_bypass";
|
|
3475
|
-
if (params.wasMentioned) return "mention_pattern";
|
|
3476
|
-
if (params.matchedImplicitMentionKinds.length > 0) return "implicit_thread";
|
|
3477
|
-
return "none";
|
|
3478
|
-
}
|
|
3479
|
-
async function resolveSlackConversationContext(params) {
|
|
3480
|
-
const { ctx, account, message } = params;
|
|
3481
|
-
const cfg = ctx.cfg;
|
|
3482
|
-
let channelInfo = {};
|
|
3483
|
-
let resolvedChannelType = normalizeSlackChannelType(message.channel_type, message.channel);
|
|
3484
|
-
if (resolvedChannelType !== "im" && (!message.channel_type || message.channel_type !== "im")) {
|
|
3485
|
-
channelInfo = await ctx.resolveChannelName(message.channel, params.eventScope);
|
|
3486
|
-
resolvedChannelType = normalizeSlackChannelType(message.channel_type ?? channelInfo.type ?? ctx.recallSlackChannelType(message.channel, params.eventScope), message.channel);
|
|
3487
|
-
}
|
|
3488
|
-
const channelName = channelInfo?.name;
|
|
3489
|
-
const isDirectMessage = resolvedChannelType === "im";
|
|
3490
|
-
const isGroupDm = resolvedChannelType === "mpim";
|
|
3491
|
-
const isRoom = resolvedChannelType === "channel" || resolvedChannelType === "group";
|
|
3492
|
-
const isRoomish = isRoom || isGroupDm;
|
|
3493
|
-
const channelConfig = isRoom ? resolveSlackChannelConfig({
|
|
3494
|
-
teamId: params.eventScope?.teamId ?? ctx.teamId,
|
|
3495
|
-
allowUnscoped: ctx.installationIdentity?.kind !== "enterprise",
|
|
3496
|
-
channelId: message.channel,
|
|
3497
|
-
channelName,
|
|
3498
|
-
channels: ctx.channelsConfig,
|
|
3499
|
-
channelKeys: ctx.channelsConfigKeys,
|
|
3500
|
-
defaultRequireMention: ctx.defaultRequireMention,
|
|
3501
|
-
allowNameMatching: ctx.allowNameMatching
|
|
3502
|
-
}) : null;
|
|
3503
|
-
const allowBotsSetting = channelConfig?.allowBots ?? account.config?.allowBots ?? cfg.channels?.slack?.allowBots ?? false;
|
|
3504
|
-
return {
|
|
3505
|
-
channelInfo,
|
|
3506
|
-
channelName,
|
|
3507
|
-
resolvedChannelType,
|
|
3508
|
-
isDirectMessage,
|
|
3509
|
-
isGroupDm,
|
|
3510
|
-
isRoom,
|
|
3511
|
-
isRoomish,
|
|
3512
|
-
channelConfig,
|
|
3513
|
-
allowBotsMode: allowBotsSetting === "mentions" ? "mentions" : allowBotsSetting ? "all" : "off",
|
|
3514
|
-
isBotMessage: Boolean(message.bot_id)
|
|
3515
|
-
};
|
|
3516
|
-
}
|
|
3517
|
-
async function authorizeSlackInboundMessage(params) {
|
|
3518
|
-
const { ctx, account, message, conversation, drop } = params;
|
|
3519
|
-
const { isDirectMessage, channelName, resolvedChannelType, isBotMessage, allowBotsMode } = conversation;
|
|
3520
|
-
if (isBotMessage) {
|
|
3521
|
-
if (message.user && ctx.botUserId && message.user === ctx.botUserId) return null;
|
|
3522
|
-
if (allowBotsMode === "off") return drop("bot-disabled");
|
|
3523
|
-
}
|
|
3524
|
-
if (isDirectMessage && !message.user) return drop("missing-user");
|
|
3525
|
-
const senderId = message.user ?? (isBotMessage ? message.bot_id : void 0);
|
|
3526
|
-
if (!senderId) return drop("missing-sender");
|
|
3527
|
-
if (!ctx.isChannelAllowed({
|
|
3528
|
-
teamId: params.eventScope?.teamId ?? ctx.teamId,
|
|
3529
|
-
channelId: message.channel,
|
|
3530
|
-
channelName,
|
|
3531
|
-
channelType: resolvedChannelType
|
|
3532
|
-
})) {
|
|
3533
|
-
if (conversation.isRoom && ctx.groupPolicy === "allowlist" && params.explicitBotMention && !isBotMessage && message.user) {
|
|
3534
|
-
let subject = "This OpenClaw bot";
|
|
3535
|
-
if (ctx.botUserId) try {
|
|
3536
|
-
const botIdentity = await ctx.resolveUserName(ctx.botUserId, params.eventScope);
|
|
3537
|
-
const botName = normalizeOptionalString(botIdentity?.name);
|
|
3538
|
-
if (botName) subject = escapeSlackMrkdwn(botName);
|
|
3539
|
-
} catch (error) {
|
|
3540
|
-
logVerbose(`slack allowlist denial bot-name lookup failed: ${formatSlackError(error)}`);
|
|
3541
|
-
}
|
|
3542
|
-
try {
|
|
3543
|
-
await (params.eventScope?.client ?? ctx.app.client).chat.postEphemeral({
|
|
3544
|
-
token: ctx.botToken,
|
|
3545
|
-
channel: message.channel,
|
|
3546
|
-
user: message.user,
|
|
3547
|
-
text: `${subject} can’t reply here because this channel isn’t in its OpenClaw channel allowlist. Ask the OpenClaw owner to allow this channel. <${SLACK_CHANNEL_ACCESS_DOCS_URL}|Learn how to configure Slack channel access.>`
|
|
3548
|
-
});
|
|
3549
|
-
params.onVisibleDrop?.();
|
|
3550
|
-
} catch (error) {
|
|
3551
|
-
ctx.runtime.error?.(`slack allowlist denial notice failed for channel ${message.channel}: ${formatSlackError(error)}`);
|
|
3552
|
-
}
|
|
3553
|
-
}
|
|
3554
|
-
return drop("channel-not-allowed");
|
|
3555
|
-
}
|
|
3556
|
-
const allowFromLower = await resolveSlackEffectiveAllowFrom(ctx, {
|
|
3557
|
-
includePairingStore: isDirectMessage,
|
|
3558
|
-
eventScope: params.eventScope
|
|
3559
|
-
});
|
|
3560
|
-
if (isDirectMessage) {
|
|
3561
|
-
const directUserId = message.user;
|
|
3562
|
-
if (!directUserId) return drop("missing-user");
|
|
3563
|
-
let dropReason = "dm-unauthorized";
|
|
3564
|
-
if (!await authorizeSlackDirectMessage({
|
|
3565
|
-
ctx,
|
|
3566
|
-
accountId: account.accountId,
|
|
3567
|
-
senderId: directUserId,
|
|
3568
|
-
eventScope: params.eventScope,
|
|
3569
|
-
allowFromLower,
|
|
3570
|
-
resolveSenderName: (userId) => ctx.resolveUserName(userId, params.eventScope),
|
|
3571
|
-
sendPairingReply: async (text) => {
|
|
3572
|
-
await sendMessageSlack(message.channel, text, {
|
|
3573
|
-
cfg: ctx.cfg,
|
|
3574
|
-
token: ctx.botToken,
|
|
3575
|
-
client: params.eventScope?.client ?? ctx.app.client,
|
|
3576
|
-
accountId: account.accountId,
|
|
3577
|
-
eventScope: params.eventScope
|
|
3578
|
-
});
|
|
3579
|
-
},
|
|
3580
|
-
onDisabled: () => {
|
|
3581
|
-
dropReason = "dm-disabled";
|
|
3582
|
-
},
|
|
3583
|
-
onUnauthorized: ({ allowMatchMeta }) => {
|
|
3584
|
-
logVerbose(`Blocked unauthorized slack sender ${message.user} (dmPolicy=${ctx.dmPolicy}, ${allowMatchMeta})`);
|
|
3585
|
-
},
|
|
3586
|
-
log: logVerbose
|
|
3587
|
-
})) return drop(dropReason);
|
|
3588
|
-
}
|
|
3589
|
-
return {
|
|
3590
|
-
senderId,
|
|
3591
|
-
allowFromLower
|
|
3592
|
-
};
|
|
3593
|
-
}
|
|
3594
|
-
async function prepareSlackMessage(params) {
|
|
3595
|
-
const { ctx, account, message, opts } = params;
|
|
3596
|
-
const drop = (reason, parentUserId) => {
|
|
3597
|
-
ctx.logger.info({
|
|
3598
|
-
provider: "slack",
|
|
3599
|
-
accountId: account.accountId,
|
|
3600
|
-
teamId: opts.eventScope?.teamId ?? ctx.teamId,
|
|
3601
|
-
channelId: message.channel,
|
|
3602
|
-
messageTs: message.ts,
|
|
3603
|
-
source: opts.source,
|
|
3604
|
-
reason,
|
|
3605
|
-
...parentUserId ? { parentUserId } : {}
|
|
3606
|
-
}, "Slack inbound event rejected during preparation");
|
|
3607
|
-
return null;
|
|
3608
|
-
};
|
|
3609
|
-
const slackClient = opts.eventScope?.client ?? ctx.app.client;
|
|
3610
|
-
const threadStarterWorkspaceScope = {
|
|
3611
|
-
accountId: account.accountId,
|
|
3612
|
-
teamId: opts.eventScope?.teamId ?? ctx.teamId
|
|
3613
|
-
};
|
|
3614
|
-
const cfg = ctx.cfg;
|
|
3615
|
-
const conversation = await resolveSlackConversationContext({
|
|
3616
|
-
ctx,
|
|
3617
|
-
account,
|
|
3618
|
-
message,
|
|
3619
|
-
eventScope: opts.eventScope
|
|
3620
|
-
});
|
|
3621
|
-
const { channelInfo, channelName, isDirectMessage, isGroupDm, isRoom, isRoomish, channelConfig, allowBotsMode, isBotMessage } = conversation;
|
|
3622
|
-
const messageText = message.text ?? "";
|
|
3623
|
-
const mentionMetadata = collectSlackMentionMetadata(messageText);
|
|
3624
|
-
const normalizedBotUserId = normalizeSlackId(ctx.botUserId);
|
|
3625
|
-
const authorization = await authorizeSlackInboundMessage({
|
|
3626
|
-
ctx,
|
|
3627
|
-
account,
|
|
3628
|
-
message,
|
|
3629
|
-
conversation,
|
|
3630
|
-
explicitBotMention: opts.source === "app_mention" || Boolean(normalizedBotUserId && mentionMetadata.mentionedUserIds.includes(normalizedBotUserId)),
|
|
3631
|
-
eventScope: opts.eventScope,
|
|
3632
|
-
onVisibleDrop: opts.onVisibleDrop,
|
|
3633
|
-
drop
|
|
3634
|
-
});
|
|
3635
|
-
if (!authorization) return null;
|
|
3636
|
-
const { senderId, allowFromLower } = authorization;
|
|
3637
|
-
let resolvedSenderName = normalizeOptionalString(message.username);
|
|
3638
|
-
const resolveSenderName = async () => {
|
|
3639
|
-
if (resolvedSenderName) return resolvedSenderName;
|
|
3640
|
-
if (message.user) {
|
|
3641
|
-
const sender = await ctx.resolveUserName(message.user, opts.eventScope);
|
|
3642
|
-
const normalized = normalizeOptionalString(sender?.name);
|
|
3643
|
-
if (normalized) {
|
|
3644
|
-
resolvedSenderName = normalized;
|
|
3645
|
-
return resolvedSenderName;
|
|
3646
|
-
}
|
|
3647
|
-
}
|
|
3648
|
-
resolvedSenderName = message.user ?? message.bot_id ?? "unknown";
|
|
3649
|
-
return resolvedSenderName;
|
|
3650
|
-
};
|
|
3651
|
-
const { mentionedUserIds, mentionedSubteamIds, hasAnyMention } = mentionMetadata;
|
|
3652
|
-
const messageAssistantThreadContext = resolveSlackMessageAssistantThreadContext(message);
|
|
3653
|
-
const assistantContextLookupChannelId = messageAssistantThreadContext?.assistantChannelId ?? message.channel;
|
|
3654
|
-
const assistantContextLookupThreadTs = messageAssistantThreadContext?.threadTs ?? message.thread_ts ?? message.ts;
|
|
3655
|
-
const cachedAssistantThreadContext = isDirectMessage ? ctx.getSlackAssistantThreadContext(assistantContextLookupChannelId, assistantContextLookupThreadTs, opts.eventScope) : void 0;
|
|
3656
|
-
const restoredAssistantThreadContextPromise = isDirectMessage && !cachedAssistantThreadContext && !hasSlackAssistantThreadMetadata(messageAssistantThreadContext) ? restoreSlackAssistantThreadContextFromMetadata({
|
|
3657
|
-
ctx,
|
|
3658
|
-
message,
|
|
3659
|
-
eventScope: opts.eventScope
|
|
3660
|
-
}) : Promise.resolve(void 0);
|
|
3661
|
-
const { explicitlyMentionedBotUser, explicitlyMentionedBotSubteam, explicitlyMentioned } = await resolveSlackExplicitMentionState({
|
|
3662
|
-
ctx,
|
|
3663
|
-
messageText,
|
|
3664
|
-
mentionedUserIds,
|
|
3665
|
-
hasSubteamMention: mentionMetadata.hasSubteamMention,
|
|
3666
|
-
source: opts.source,
|
|
3667
|
-
eventScope: opts.eventScope
|
|
3668
|
-
});
|
|
3669
|
-
const channelRequireMention = channelConfig?.requireMention ?? ctx.defaultRequireMention ?? true;
|
|
3670
|
-
const channelChatType = isDirectMessage ? "direct" : isGroupDm ? "group" : "channel";
|
|
3671
|
-
const restoredAssistantThreadContext = await restoredAssistantThreadContextPromise;
|
|
3672
|
-
const assistantThreadContext = mergeSlackAssistantThreadContext(messageAssistantThreadContext, cachedAssistantThreadContext ?? restoredAssistantThreadContext);
|
|
3673
|
-
const assistantThreadContextToCache = messageAssistantThreadContext || restoredAssistantThreadContext ? assistantThreadContext : void 0;
|
|
3674
|
-
if (assistantThreadContextToCache) ctx.saveSlackAssistantThreadContext(assistantThreadContextToCache, opts.eventScope);
|
|
3675
|
-
const hasAgentViewMessageSignal = isDirectMessage && !opts.eventScope && !assistantThreadContext && isSlackAppContext(message.app_context);
|
|
3676
|
-
if (hasAgentViewMessageSignal) await ctx.recordSlackAgentView();
|
|
3677
|
-
const managedViewThreadTs = message.thread_ts;
|
|
3678
|
-
const isManagedViewRoot = isDirectMessage && !opts.eventScope && !assistantThreadContext && !message.parent_user_id && Boolean(managedViewThreadTs && message.ts && managedViewThreadTs === message.ts);
|
|
3679
|
-
if (isManagedViewRoot && managedViewThreadTs) await ctx.recordSlackManagedViewThread(message.channel, managedViewThreadTs);
|
|
3680
|
-
const hasManagedViewThread = isDirectMessage && !opts.eventScope && !assistantThreadContext && Boolean(managedViewThreadTs && await ctx.isSlackManagedViewThread(message.channel, managedViewThreadTs));
|
|
3681
|
-
const isAgentViewMessage = isDirectMessage && !opts.eventScope && !assistantThreadContext && (hasAgentViewMessageSignal || isManagedViewRoot || hasManagedViewThread || await ctx.isSlackAgentView());
|
|
3682
|
-
const agentViewThreadTs = isAgentViewMessage ? message.thread_ts ?? message.ts : void 0;
|
|
3683
|
-
const channelReplyToMode = channelConfig?.replyToMode ?? resolveSlackReplyToMode(account, channelChatType);
|
|
3684
|
-
const willImplicitlyThreadReply = isRoom && !channelRequireMention && channelReplyToMode !== "off";
|
|
3685
|
-
const seedTopLevelRoomThreadBySource = opts.source === "app_mention" || opts.wasMentioned === true || explicitlyMentioned || willImplicitlyThreadReply;
|
|
3686
|
-
const resolveMessageRouting = (seedTopLevelRoomThread) => resolveSlackRoutingContext({
|
|
3687
|
-
ctx,
|
|
3688
|
-
account,
|
|
3689
|
-
message,
|
|
3690
|
-
isDirectMessage,
|
|
3691
|
-
isGroupDm,
|
|
3692
|
-
isRoom,
|
|
3693
|
-
isRoomish,
|
|
3694
|
-
channelConfig,
|
|
3695
|
-
seedTopLevelRoomThread,
|
|
3696
|
-
assistantThreadTs: assistantThreadContext?.threadTs,
|
|
3697
|
-
agentViewThreadTs,
|
|
3698
|
-
eventScope: opts.eventScope
|
|
3699
|
-
});
|
|
3700
|
-
let routing = resolveMessageRouting(seedTopLevelRoomThreadBySource);
|
|
3701
|
-
let mentionCheckTranscript;
|
|
3702
|
-
const resolveWasMentioned = (mentionRegexes) => opts.wasMentioned ?? (!isDirectMessage && matchesMentionWithExplicit({
|
|
3703
|
-
text: messageText,
|
|
3704
|
-
mentionRegexes,
|
|
3705
|
-
explicit: {
|
|
3706
|
-
hasAnyMention,
|
|
3707
|
-
isExplicitlyMentioned: explicitlyMentioned,
|
|
3708
|
-
canResolveExplicit: Boolean(ctx.botUserId)
|
|
3709
|
-
},
|
|
3710
|
-
transcript: mentionCheckTranscript
|
|
3711
|
-
}));
|
|
3712
|
-
const buildPolicyMentionRegexes = (agentId) => resolveCachedMentionRegexes(ctx, agentId, {
|
|
3713
|
-
provider: "slack",
|
|
3714
|
-
conversationId: formatSlackTarget({
|
|
3715
|
-
teamId: opts.eventScope?.teamId,
|
|
3716
|
-
kind: "channel",
|
|
3717
|
-
id: message.channel
|
|
3718
|
-
}),
|
|
3719
|
-
providerPolicy: account.config.mentionPatterns
|
|
3720
|
-
});
|
|
3721
|
-
let mentionRegexes = buildPolicyMentionRegexes(routing.route.agentId);
|
|
3722
|
-
let wasMentioned = resolveWasMentioned(mentionRegexes);
|
|
3723
|
-
const hasBoundSession = Boolean(routing.runtimeBoundSessionKey || routing.configuredBindingSessionKey);
|
|
3724
|
-
let { route, runtimeBinding, replyToMode, threadContext, threadTs, isThreadReply, threadKeys, sessionKey, historyKey } = routing;
|
|
3725
|
-
const { configuredBinding, configuredBindingSessionKey } = routing;
|
|
3726
|
-
const isAssistantThreadMessage = Boolean(isDirectMessage && messageAssistantThreadContext);
|
|
3727
|
-
const forcedAssistantReplyThreadTs = Boolean(assistantThreadContext?.threadTs && (isThreadReply || isAssistantThreadMessage || replyToMode !== "off")) ? assistantThreadContext?.threadTs : void 0;
|
|
3728
|
-
const forcedReplyThreadTs = agentViewThreadTs ?? forcedAssistantReplyThreadTs;
|
|
3729
|
-
if (runtimeBinding && shouldLogVerbose()) logVerbose(`slack: routed via bound conversation ${runtimeBinding.conversation.conversationId} -> ${runtimeBinding.targetSessionKey}`);
|
|
3730
|
-
if (configuredBinding) {
|
|
3731
|
-
const ensured = await ensureConfiguredBindingRouteReady({
|
|
3732
|
-
cfg,
|
|
3733
|
-
bindingResolution: configuredBinding
|
|
3734
|
-
});
|
|
3735
|
-
if (ensured.ok) {
|
|
3736
|
-
if (shouldLogVerbose()) logVerbose(`slack: using configured ACP binding for ${configuredBinding.record.conversation.conversationId} -> ${configuredBindingSessionKey}`);
|
|
3737
|
-
} else {
|
|
3738
|
-
if (shouldLogVerbose()) logVerbose(`slack: configured ACP binding unavailable for ${configuredBinding.record.conversation.conversationId}: ${ensured.error}`);
|
|
3739
|
-
return drop("configured-binding-unavailable");
|
|
3740
|
-
}
|
|
3741
|
-
}
|
|
3742
|
-
const senderNameForAuthPromise = ctx.allowNameMatching ? resolveSenderName().then((name) => ({
|
|
3743
|
-
ok: true,
|
|
3744
|
-
name
|
|
3745
|
-
}), (error) => ({
|
|
3746
|
-
ok: false,
|
|
3747
|
-
error
|
|
3748
|
-
})) : Promise.resolve({
|
|
3749
|
-
ok: true,
|
|
3750
|
-
name: void 0
|
|
3751
|
-
});
|
|
3752
|
-
let implicitMentionKinds = [];
|
|
3753
|
-
if (!isDirectMessage && message.thread_ts && !wasMentioned) {
|
|
3754
|
-
const replyToBotKinds = implicitMentionKindWhen("reply_to_bot", Boolean(ctx.botUserId && message.parent_user_id === ctx.botUserId));
|
|
3755
|
-
implicitMentionKinds = replyToBotKinds.length > 0 ? replyToBotKinds : implicitMentionKindWhen("bot_thread_participant", await hasSlackThreadParticipationWithPersistence({
|
|
3756
|
-
accountId: account.accountId,
|
|
3757
|
-
channelId: message.channel,
|
|
3758
|
-
threadTs: message.thread_ts,
|
|
3759
|
-
teamId: opts.eventScope?.teamId
|
|
3760
|
-
}));
|
|
3761
|
-
}
|
|
3762
|
-
const recordDroppedHistory = async (reason) => {
|
|
3763
|
-
const pendingText = (message.text ?? "").trim();
|
|
3764
|
-
const historyMediaCandidate = buildSlackHistoryMediaCandidateMessage(message);
|
|
3765
|
-
const fallbackFile = message.files?.length ? `[Slack file: ${formatSlackFileReference(message.files[0])}]` : "";
|
|
3766
|
-
const pendingBody = pendingText || fallbackFile || (!fallbackFile && historyMediaCandidate ? "[Slack media attachment]" : "");
|
|
3767
|
-
const skippedThreadStarter = historyMediaCandidate && isThreadReply && threadTs ? await resolveSlackThreadStarter({
|
|
3768
|
-
channelId: message.channel,
|
|
3769
|
-
threadTs,
|
|
3770
|
-
client: slackClient,
|
|
3771
|
-
workspaceScope: threadStarterWorkspaceScope
|
|
3772
|
-
}) : null;
|
|
3773
|
-
const senderName = pendingBody ? await resolveSenderName() : void 0;
|
|
3774
|
-
await recordDroppedChannelInboundHistory({
|
|
3775
|
-
input: {
|
|
3776
|
-
id: message.ts ?? `${message.channel}:${Date.now()}`,
|
|
3777
|
-
timestamp: resolveSlackTimestampMs(message.ts),
|
|
3778
|
-
rawText: pendingBody,
|
|
3779
|
-
textForAgent: pendingBody,
|
|
3780
|
-
raw: message
|
|
3781
|
-
},
|
|
3782
|
-
admission: {
|
|
3783
|
-
kind: "drop",
|
|
3784
|
-
reason,
|
|
3785
|
-
recordHistory: true
|
|
3786
|
-
},
|
|
3787
|
-
preflight: {
|
|
3788
|
-
message: pendingBody ? {
|
|
3789
|
-
rawBody: pendingBody,
|
|
3790
|
-
body: pendingBody,
|
|
3791
|
-
bodyForAgent: pendingBody,
|
|
3792
|
-
senderLabel: senderName,
|
|
3793
|
-
envelopeFrom: senderName
|
|
3794
|
-
} : void 0,
|
|
3795
|
-
history: {
|
|
3796
|
-
key: historyKey,
|
|
3797
|
-
historyMap: ctx.channelHistories,
|
|
3798
|
-
limit: ctx.historyLimit,
|
|
3799
|
-
recordOnDrop: true,
|
|
3800
|
-
mediaLimit: SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS,
|
|
3801
|
-
shouldRecord: opts.shouldRecordDroppedHistory
|
|
3802
|
-
},
|
|
3803
|
-
media: () => resolveSlackHistoryMediaForPendingRecord({
|
|
3804
|
-
ctx,
|
|
3805
|
-
message,
|
|
3806
|
-
isThreadReply,
|
|
3807
|
-
threadStarter: skippedThreadStarter,
|
|
3808
|
-
isBotMessage,
|
|
3809
|
-
eventScope: opts.eventScope
|
|
3810
|
-
})
|
|
3811
|
-
}
|
|
3812
|
-
});
|
|
3813
|
-
};
|
|
3814
|
-
let threadStarterPromise;
|
|
3815
|
-
const getThreadStarter = () => {
|
|
3816
|
-
threadStarterPromise ??= isThreadReply && threadTs ? resolveSlackThreadStarter({
|
|
3817
|
-
channelId: message.channel,
|
|
3818
|
-
threadTs,
|
|
3819
|
-
client: slackClient,
|
|
3820
|
-
workspaceScope: threadStarterWorkspaceScope
|
|
3821
|
-
}) : Promise.resolve(null);
|
|
3822
|
-
return threadStarterPromise;
|
|
3823
|
-
};
|
|
3824
|
-
const resolveMessageContent = (contentMessage, preloadedMedia) => getThreadStarter().then((threadStarter) => resolveSlackMessageContent({
|
|
3825
|
-
message: contentMessage,
|
|
3826
|
-
isThreadReply,
|
|
3827
|
-
threadStarter,
|
|
3828
|
-
isBotMessage,
|
|
3829
|
-
botToken: ctx.botToken,
|
|
3830
|
-
client: slackClient,
|
|
3831
|
-
mediaMaxBytes: ctx.mediaMaxBytes,
|
|
3832
|
-
resolveUserName: (userId) => ctx.resolveUserName(userId, opts.eventScope),
|
|
3833
|
-
preloadedMedia
|
|
3834
|
-
}));
|
|
3835
|
-
let preloadedDirectMedia;
|
|
3836
|
-
let messageContentPromise;
|
|
3837
|
-
const getMessageContent = () => {
|
|
3838
|
-
messageContentPromise ??= resolveMessageContent(message, preloadedDirectMedia);
|
|
3839
|
-
return messageContentPromise;
|
|
3840
|
-
};
|
|
3841
|
-
const senderNameForAuthResult = await senderNameForAuthPromise;
|
|
3842
|
-
if (!senderNameForAuthResult.ok) throw senderNameForAuthResult.error;
|
|
3843
|
-
const senderNameForAuth = senderNameForAuthResult.name;
|
|
3844
|
-
const allowTextCommands = shouldHandleTextCommands({
|
|
3845
|
-
cfg,
|
|
3846
|
-
surface: "slack"
|
|
3847
|
-
});
|
|
3848
|
-
const shouldRequireMention = isRoom ? channelConfig?.requireMention ?? ctx.defaultRequireMention : false;
|
|
3849
|
-
const implicitMentions = resolveChannelImplicitMentions({
|
|
3850
|
-
cfg,
|
|
3851
|
-
channel: "slack",
|
|
3852
|
-
accountId: account.accountId
|
|
3853
|
-
});
|
|
3854
|
-
if (message["_ambiguousThreadReply"]) return drop("ambiguous-thread", message.parent_user_id);
|
|
3855
|
-
let canDetectMention = Boolean(ctx.botUserId) || mentionRegexes.length > 0;
|
|
3856
|
-
const textForCommandDetection = stripSlackMentionsForCommandDetection(message.text ?? "");
|
|
3857
|
-
const hasControlCommandInMessage = hasControlCommand(textForCommandDetection, cfg);
|
|
3858
|
-
const hasAbortRequest = isAbortRequestText(textForCommandDetection);
|
|
3859
|
-
const channelUsersAllowlistConfigured = isRoom && Array.isArray(channelConfig?.users) && channelConfig.users.length > 0;
|
|
3860
|
-
const resolveMessageIngress = async (contextBinding, threadId) => await resolveSlackCommandIngress({
|
|
3861
|
-
ctx,
|
|
3862
|
-
teamId: opts.eventScope?.teamId ?? ctx.teamId,
|
|
3863
|
-
senderId,
|
|
3864
|
-
senderName: senderNameForAuth,
|
|
3865
|
-
channelType: conversation.resolvedChannelType ?? "channel",
|
|
3866
|
-
channelId: message.channel,
|
|
3867
|
-
threadId,
|
|
3868
|
-
ownerAllowFromLower: allowFromLower,
|
|
3869
|
-
channelUsers: isRoom ? channelConfig?.users : void 0,
|
|
3870
|
-
allowTextCommands,
|
|
3871
|
-
hasControlCommand: hasControlCommandInMessage,
|
|
3872
|
-
mentionFacts: {
|
|
3873
|
-
canDetectMention,
|
|
3874
|
-
wasMentioned,
|
|
3875
|
-
hasAnyMention,
|
|
3876
|
-
implicitMentionKinds
|
|
3877
|
-
},
|
|
3878
|
-
activation: {
|
|
3879
|
-
requireMention: shouldRequireMention,
|
|
3880
|
-
allowTextCommands,
|
|
3881
|
-
implicitMentions
|
|
3882
|
-
},
|
|
3883
|
-
contextBinding
|
|
3884
|
-
});
|
|
3885
|
-
let messageIngress = await resolveMessageIngress();
|
|
3886
|
-
const senderGate = messageIngress.senderAccess.gate;
|
|
3887
|
-
if (isRoomish && senderGate?.allowed === false) return drop("unauthorized-sender");
|
|
3888
|
-
if (isRoom && isBotMessage && allowBotsMode !== "off" && !await authorizeSlackBotRoomMessage({
|
|
3889
|
-
ctx,
|
|
3890
|
-
channelId: message.channel,
|
|
3891
|
-
senderId,
|
|
3892
|
-
senderName: senderNameForAuth,
|
|
3893
|
-
channelUsers: channelConfig?.users,
|
|
3894
|
-
allowFromLower,
|
|
3895
|
-
eventScope: opts.eventScope
|
|
3896
|
-
})) return drop("unauthorized-bot");
|
|
3897
|
-
const threadContextAllowFromLower = isRoom ? channelUsersAllowlistConfigured ? normalizeAllowListLower(channelConfig?.users) : [] : isDirectMessage ? allowFromLower : [];
|
|
3898
|
-
const contextVisibilityMode = resolveChannelContextVisibilityMode({
|
|
3899
|
-
cfg: ctx.cfg,
|
|
3900
|
-
channel: "slack",
|
|
3901
|
-
accountId: account.accountId
|
|
3902
|
-
});
|
|
3903
|
-
const preflightChannelTarget = formatSlackTarget({
|
|
3904
|
-
teamId: opts.eventScope?.teamId,
|
|
3905
|
-
kind: "channel",
|
|
3906
|
-
id: message.channel,
|
|
3907
|
-
explicitKind: true
|
|
3908
|
-
});
|
|
3909
|
-
const replyRouteTarget = formatSlackTarget({
|
|
3910
|
-
teamId: opts.eventScope?.teamId,
|
|
3911
|
-
kind: isDirectMessage ? "user" : "channel",
|
|
3912
|
-
id: isDirectMessage ? senderId : message.channel,
|
|
3913
|
-
explicitKind: true
|
|
3914
|
-
});
|
|
3915
|
-
const commandAuthorized = messageIngress.commandAccess.authorized;
|
|
3916
|
-
if (isRoomish && messageIngress.commandAccess.shouldBlockControlCommand) return drop("control-command-unauthorized");
|
|
3917
|
-
const canSeedMentionedRoomThread = !seedTopLevelRoomThreadBySource && isRoom && !routing.isThreadReply && !hasBoundSession;
|
|
3918
|
-
let seededMentionRouting;
|
|
3919
|
-
const getSeededMentionRouting = () => {
|
|
3920
|
-
seededMentionRouting ??= resolveMessageRouting(true);
|
|
3921
|
-
return seededMentionRouting;
|
|
3922
|
-
};
|
|
3923
|
-
let preflightAudioTranscript;
|
|
3924
|
-
let preflightAudioMedia;
|
|
3925
|
-
const preflightAudioFile = findCaptionlessSlackAudioFile(message);
|
|
3926
|
-
if (isRoom && !isBotMessage && shouldRequireMention && cfg.tools?.media?.audio?.enabled !== false && messageIngress.activationAccess.shouldSkip && mentionRegexes.length > 0 && Boolean(preflightAudioFile) && preflightAudioFile) {
|
|
3927
|
-
const preflightRouting = canSeedMentionedRoomThread ? getSeededMentionRouting() : routing;
|
|
3928
|
-
const preflightMedia = (await resolveMessageContent({
|
|
3929
|
-
...message,
|
|
3930
|
-
files: [preflightAudioFile],
|
|
3931
|
-
attachments: void 0,
|
|
3932
|
-
blocks: void 0
|
|
3933
|
-
}))?.effectiveDirectMedia;
|
|
3934
|
-
const downloadedAudioMedia = preflightMedia?.[0];
|
|
3935
|
-
if (downloadedAudioMedia) preloadedDirectMedia = /* @__PURE__ */ new Map([[preflightAudioFile, downloadedAudioMedia]]);
|
|
3936
|
-
const preflightResult = preflightMedia ? await resolveSlackPreflightAudioTranscript({
|
|
3937
|
-
media: preflightMedia,
|
|
3938
|
-
cfg,
|
|
3939
|
-
accountId: account.accountId,
|
|
3940
|
-
originatingTo: preflightChannelTarget,
|
|
3941
|
-
sessionKey: preflightRouting.sessionKey,
|
|
3942
|
-
messageThreadId: preflightRouting.threadContext.messageThreadId
|
|
3943
|
-
}) : null;
|
|
3944
|
-
if (preflightResult) {
|
|
3945
|
-
mentionCheckTranscript = preflightResult.transcript;
|
|
3946
|
-
wasMentioned = resolveWasMentioned(mentionRegexes);
|
|
3947
|
-
if (wasMentioned) {
|
|
3948
|
-
preflightAudioTranscript = preflightResult.transcript;
|
|
3949
|
-
preflightAudioMedia = preflightMedia?.[preflightResult.mediaIndex];
|
|
3950
|
-
}
|
|
3951
|
-
}
|
|
3952
|
-
if (!preflightAudioTranscript) {
|
|
3953
|
-
await discardSlackPreflightMedia(preflightMedia);
|
|
3954
|
-
preloadedDirectMedia = void 0;
|
|
3955
|
-
}
|
|
3956
|
-
}
|
|
3957
|
-
if (canSeedMentionedRoomThread && wasMentioned) {
|
|
3958
|
-
routing = getSeededMentionRouting();
|
|
3959
|
-
mentionRegexes = buildPolicyMentionRegexes(routing.route.agentId);
|
|
3960
|
-
wasMentioned = resolveWasMentioned(mentionRegexes);
|
|
3961
|
-
({route, runtimeBinding, replyToMode, threadContext, threadTs, isThreadReply, threadKeys, sessionKey, historyKey} = routing);
|
|
3962
|
-
canDetectMention = Boolean(ctx.botUserId) || mentionRegexes.length > 0;
|
|
3963
|
-
}
|
|
3964
|
-
if (preflightAudioTranscript && !wasMentioned) {
|
|
3965
|
-
await discardSlackPreflightMedia(preloadedDirectMedia ? [...preloadedDirectMedia.values()] : void 0);
|
|
3966
|
-
preloadedDirectMedia = void 0;
|
|
3967
|
-
preflightAudioTranscript = void 0;
|
|
3968
|
-
preflightAudioMedia = void 0;
|
|
3969
|
-
}
|
|
3970
|
-
const directThreadRoutedToDmSession = !assistantThreadContext && !agentViewThreadTs && isDirectMessage && isThreadReply && threadTs && runtimeBinding?.conversation.conversationId !== threadTs;
|
|
3971
|
-
const mentionDecision = resolveInboundMentionDecision({
|
|
3972
|
-
facts: {
|
|
3973
|
-
canDetectMention,
|
|
3974
|
-
wasMentioned,
|
|
3975
|
-
hasAnyMention,
|
|
3976
|
-
implicitMentionKinds
|
|
3977
|
-
},
|
|
3978
|
-
policy: {
|
|
3979
|
-
isGroup: isRoom,
|
|
3980
|
-
requireMention: shouldRequireMention,
|
|
3981
|
-
allowTextCommands,
|
|
3982
|
-
hasControlCommand: hasControlCommandInMessage,
|
|
3983
|
-
commandAuthorized,
|
|
3984
|
-
implicitMentions
|
|
3985
|
-
}
|
|
3986
|
-
});
|
|
3987
|
-
const effectiveWasMentioned = mentionDecision.effectiveWasMentioned;
|
|
3988
|
-
const shouldBypassMention = mentionDecision.shouldBypassMention;
|
|
3989
|
-
const matchedImplicitMentionKinds = mentionDecision.matchedImplicitMentionKinds;
|
|
3990
|
-
const mentionSource = resolveSlackMentionSource({
|
|
3991
|
-
explicitBotMention: explicitlyMentionedBotUser || opts.source === "app_mention",
|
|
3992
|
-
explicitSubteamMention: explicitlyMentionedBotSubteam,
|
|
3993
|
-
matchedImplicitMentionKinds,
|
|
3994
|
-
shouldBypassMention,
|
|
3995
|
-
wasMentioned
|
|
3996
|
-
});
|
|
3997
|
-
if (isBotMessage && allowBotsMode === "mentions") {
|
|
3998
|
-
if (!(isDirectMessage || effectiveWasMentioned || shouldBypassMention)) return drop("bot-missing-mention");
|
|
3999
|
-
}
|
|
4000
|
-
if (isRoom && shouldRequireMention && !canDetectMention && !effectiveWasMentioned) {
|
|
4001
|
-
await recordDroppedHistory("slack-mention-detection-unavailable");
|
|
4002
|
-
return drop("mention-detection-unavailable");
|
|
4003
|
-
}
|
|
4004
|
-
const ignoreOtherMentions = channelConfig?.ignoreOtherMentions ?? false;
|
|
4005
|
-
if (isRoom && ignoreOtherMentions && Boolean(ctx.botUserId) && hasAnyMention && !wasMentioned) {
|
|
4006
|
-
await recordDroppedHistory("slack-other-mention");
|
|
4007
|
-
return drop("other-mention");
|
|
4008
|
-
}
|
|
4009
|
-
if (isRoom && shouldRequireMention && mentionDecision.shouldSkip) {
|
|
4010
|
-
await recordDroppedHistory("slack-no-mention");
|
|
4011
|
-
return drop("missing-mention");
|
|
4012
|
-
}
|
|
4013
|
-
const chatType = resolveSlackChatType(conversation.resolvedChannelType);
|
|
4014
|
-
const inboundEventKind = classifyChannelInboundEvent({
|
|
4015
|
-
conversation: { kind: chatType },
|
|
4016
|
-
unmentionedGroupPolicy: resolveUnmentionedGroupInboundPolicy({
|
|
4017
|
-
cfg,
|
|
4018
|
-
agentId: route.agentId
|
|
4019
|
-
}),
|
|
4020
|
-
wasMentioned: effectiveWasMentioned,
|
|
4021
|
-
hasControlCommand: hasControlCommandInMessage,
|
|
4022
|
-
hasAbortRequest
|
|
4023
|
-
});
|
|
4024
|
-
const threadStarter = await getThreadStarter();
|
|
4025
|
-
const resolvedMessageContent = await getMessageContent();
|
|
4026
|
-
if (!resolvedMessageContent) return drop("empty-content");
|
|
4027
|
-
const { rawBody, effectiveDirectMedia, commandSourceText, mentionStripPatterns } = resolvedMessageContent;
|
|
4028
|
-
const bodyForAgent = preflightAudioTranscript ? formatSlackAudioTranscriptForAgent({
|
|
4029
|
-
transcript: preflightAudioTranscript,
|
|
4030
|
-
rawBody
|
|
4031
|
-
}) : rawBody;
|
|
4032
|
-
const ackReaction = resolveAckReaction(cfg, route.agentId, {
|
|
4033
|
-
channel: "slack",
|
|
4034
|
-
accountId: account.accountId
|
|
4035
|
-
});
|
|
4036
|
-
const ackReactionValue = ackReaction ?? "";
|
|
4037
|
-
const sourceRepliesAreToolOnly = resolveChannelMessageSourceReplyDeliveryMode({
|
|
4038
|
-
cfg,
|
|
4039
|
-
ctx: {
|
|
4040
|
-
ChatType: chatType,
|
|
4041
|
-
InboundEventKind: inboundEventKind
|
|
4042
|
-
}
|
|
4043
|
-
}) === "message_tool_only";
|
|
4044
|
-
const statusReactionsExplicitlyEnabled = cfg.messages?.statusReactions?.enabled === true;
|
|
4045
|
-
const isRoomEvent = inboundEventKind === "room_event";
|
|
4046
|
-
const shouldAckReaction$1 = () => Boolean(ackReaction && shouldAckReaction({
|
|
4047
|
-
scope: cfg.messages?.ackReactionScope,
|
|
4048
|
-
inboundEventKind,
|
|
4049
|
-
isDirect: isDirectMessage,
|
|
4050
|
-
isGroup: isRoomish,
|
|
4051
|
-
isMentionableGroup: isRoom,
|
|
4052
|
-
canDetectMention,
|
|
4053
|
-
effectiveWasMentioned,
|
|
4054
|
-
shouldBypassMention
|
|
4055
|
-
}));
|
|
4056
|
-
const ackReactionMessageTs = message.ts;
|
|
4057
|
-
const shouldSendAckReaction = shouldAckReaction$1() && (!sourceRepliesAreToolOnly || effectiveWasMentioned || shouldBypassMention || isRoomEvent);
|
|
4058
|
-
const statusReactionsWillHandle = Boolean(ackReactionMessageTs) && !isRoomEvent && statusReactionsExplicitlyEnabled && shouldSendAckReaction;
|
|
4059
|
-
const ackReactionPromise = !statusReactionsWillHandle && shouldSendAckReaction && ackReactionMessageTs && ackReactionValue ? reactSlackMessage(message.channel, ackReactionMessageTs, ackReactionValue, {
|
|
4060
|
-
token: ctx.botToken,
|
|
4061
|
-
client: slackClient
|
|
4062
|
-
}).then(() => true, (err) => {
|
|
4063
|
-
logVerbose(`slack react failed for channel ${message.channel}: ${formatSlackError(err)}`);
|
|
4064
|
-
return false;
|
|
4065
|
-
}) : statusReactionsWillHandle ? Promise.resolve(true) : null;
|
|
4066
|
-
const roomLabel = channelName ? `#${channelName}` : `#${message.channel}`;
|
|
4067
|
-
const workspaceId = opts.eventScope?.teamId || ctx.teamId;
|
|
4068
|
-
const workspaceName = ctx.installationIdentity?.kind === "workspace" && ctx.installationIdentity.teamId === workspaceId ? ctx.installationIdentity.teamName : void 0;
|
|
4069
|
-
const groupSessionSubject = isRoomish ? resolveSlackGroupSessionSubject({
|
|
4070
|
-
channelId: message.channel,
|
|
4071
|
-
channelName,
|
|
4072
|
-
workspaceId,
|
|
4073
|
-
workspaceName
|
|
4074
|
-
}) : void 0;
|
|
4075
|
-
const senderName = await resolveSenderName();
|
|
4076
|
-
const conversationAvatar = isDirectMessage && message.user ? ctx.resolveUserAvatar(message.user, opts.eventScope) : void 0;
|
|
4077
|
-
const preview = truncateUtf16Safe(bodyForAgent.replace(/\s+/g, " "), 160);
|
|
4078
|
-
const inboundLabel = isDirectMessage ? `Slack DM from ${senderName}` : `Slack message in ${roomLabel} from ${senderName}`;
|
|
4079
|
-
const slackFrom = isDirectMessage ? `slack:${message.user}` : isRoom ? `slack:channel:${message.channel}` : `slack:group:${message.channel}`;
|
|
4080
|
-
enqueueRoutedSystemEvent(inboundLabel, {
|
|
4081
|
-
...route,
|
|
4082
|
-
sessionKey
|
|
4083
|
-
}, { contextKey: `slack:message:${message.channel}:${message.ts ?? "unknown"}` });
|
|
4084
|
-
const envelopeFrom = resolveConversationLabel$1({
|
|
4085
|
-
ChatType: chatType,
|
|
4086
|
-
SenderName: senderName,
|
|
4087
|
-
GroupSubject: isRoomish ? roomLabel : void 0,
|
|
4088
|
-
From: slackFrom
|
|
4089
|
-
}) ?? (isDirectMessage ? senderName : roomLabel);
|
|
4090
|
-
const threadInfo = isThreadReply && threadTs ? ` thread_ts: ${threadTs}${message.parent_user_id ? ` parent_user_id: ${message.parent_user_id}` : ""}` : "";
|
|
4091
|
-
const textWithId = `${bodyForAgent}\n[slack message id: ${message.ts} channel: ${message.channel}${threadInfo}]`;
|
|
4092
|
-
const storePath = resolveStorePath(ctx.cfg.session?.store, { agentId: route.agentId });
|
|
4093
|
-
const envelopeOptions = resolveEnvelopeFormatOptions(ctx.cfg);
|
|
4094
|
-
const sessionEntry = getSessionEntry({
|
|
4095
|
-
storePath,
|
|
4096
|
-
sessionKey
|
|
4097
|
-
});
|
|
4098
|
-
const previousTimestamp = sessionEntry?.updatedAt;
|
|
4099
|
-
if (opts.source === "app_mention" && !ctx.botUserId && message.ts) {
|
|
4100
|
-
const pendingHistory = ctx.channelHistories.get(historyKey);
|
|
4101
|
-
if (pendingHistory) ctx.channelHistories.set(historyKey, pendingHistory.filter((entry) => entry.messageId !== message.ts));
|
|
4102
|
-
}
|
|
4103
|
-
const channelHistory = createChannelHistoryWindow({ historyMap: ctx.channelHistories });
|
|
4104
|
-
const dmHistoryLimit = isDirectMessage ? resolveSlackDmHistoryLimit({
|
|
4105
|
-
account,
|
|
4106
|
-
userId: message.user,
|
|
4107
|
-
defaultLimit: ctx.dmHistoryLimit
|
|
4108
|
-
}) : 0;
|
|
4109
|
-
let combinedBody = formatInboundEnvelope({
|
|
4110
|
-
channel: "Slack",
|
|
4111
|
-
from: envelopeFrom,
|
|
4112
|
-
timestamp: resolveSlackTimestampMs(message.ts),
|
|
4113
|
-
body: textWithId,
|
|
4114
|
-
chatType,
|
|
4115
|
-
sender: {
|
|
4116
|
-
name: senderName,
|
|
4117
|
-
id: senderId
|
|
4118
|
-
},
|
|
4119
|
-
previousTimestamp,
|
|
4120
|
-
envelope: envelopeOptions
|
|
4121
|
-
});
|
|
4122
|
-
const dmHistoryContext = isDirectMessage && !assistantThreadContext && !agentViewThreadTs && !isThreadReply && dmHistoryLimit > 0 && !previousTimestamp ? await resolveSlackDmHistoryContext({
|
|
4123
|
-
ctx,
|
|
4124
|
-
channelId: message.channel,
|
|
4125
|
-
currentMessageTs: message.ts,
|
|
4126
|
-
limit: dmHistoryLimit,
|
|
4127
|
-
envelopeOptions,
|
|
4128
|
-
eventScope: opts.eventScope
|
|
4129
|
-
}) : {
|
|
4130
|
-
body: void 0,
|
|
4131
|
-
inboundHistory: void 0
|
|
4132
|
-
};
|
|
4133
|
-
if (dmHistoryContext.body) combinedBody = `${dmHistoryContext.body}\n\n${combinedBody}`;
|
|
4134
|
-
if (isRoomish && ctx.historyLimit > 0) combinedBody = channelHistory.buildPendingContext({
|
|
4135
|
-
historyKey,
|
|
4136
|
-
limit: ctx.historyLimit,
|
|
4137
|
-
currentMessage: combinedBody,
|
|
4138
|
-
formatEntry: (entry) => formatInboundEnvelope({
|
|
4139
|
-
channel: "Slack",
|
|
4140
|
-
from: roomLabel,
|
|
4141
|
-
timestamp: entry.timestamp,
|
|
4142
|
-
body: `${entry.body}${entry.messageId ? ` [id:${entry.messageId} channel:${message.channel}]` : ""}`,
|
|
4143
|
-
chatType: "channel",
|
|
4144
|
-
senderLabel: entry.sender,
|
|
4145
|
-
envelope: envelopeOptions
|
|
4146
|
-
})
|
|
4147
|
-
});
|
|
4148
|
-
const { channelMetadata, groupSystemPrompt } = resolveSlackRoomContextHints({
|
|
4149
|
-
isRoomish,
|
|
4150
|
-
channelInfo,
|
|
4151
|
-
channelConfig
|
|
4152
|
-
});
|
|
4153
|
-
const { threadStarterBody, threadHistoryBody, shouldSeedInitialThreadContext, threadLabel, threadStarterMedia } = await resolveSlackThreadContextData({
|
|
4154
|
-
ctx,
|
|
4155
|
-
agentId: route.agentId,
|
|
4156
|
-
account,
|
|
4157
|
-
message,
|
|
4158
|
-
isGroupDm,
|
|
4159
|
-
isThreadReply,
|
|
4160
|
-
threadTs,
|
|
4161
|
-
threadStarter,
|
|
4162
|
-
roomLabel,
|
|
4163
|
-
storePath,
|
|
4164
|
-
sessionKey,
|
|
4165
|
-
forceInitialHistory: Boolean(directThreadRoutedToDmSession),
|
|
4166
|
-
allowFromLower: threadContextAllowFromLower,
|
|
4167
|
-
allowNameMatching: ctx.allowNameMatching,
|
|
4168
|
-
contextVisibilityMode,
|
|
4169
|
-
envelopeOptions,
|
|
4170
|
-
effectiveDirectMedia,
|
|
4171
|
-
eventScope: opts.eventScope
|
|
4172
|
-
});
|
|
4173
|
-
const effectiveMedia = effectiveDirectMedia ?? threadStarterMedia;
|
|
4174
|
-
const inboundMedia = await toInboundMediaFactsWithMetadata(effectiveMedia, { transcribed: (entry) => effectiveMedia === effectiveDirectMedia && entry === preflightAudioMedia });
|
|
4175
|
-
const inboundHistory = isRoomish && ctx.historyLimit > 0 ? channelHistory.buildInboundHistory({
|
|
4176
|
-
historyKey,
|
|
4177
|
-
limit: ctx.historyLimit
|
|
4178
|
-
}) : dmHistoryContext.inboundHistory;
|
|
4179
|
-
const commandBody = textForCommandDetection.trim();
|
|
4180
|
-
const supplementalThreadHistoryBody = directThreadRoutedToDmSession && !threadHistoryBody ? threadStarterBody : threadHistoryBody;
|
|
4181
|
-
const effectiveMessageThreadId = assistantThreadContext?.threadTs ?? agentViewThreadTs ?? threadContext.messageThreadId;
|
|
4182
|
-
const boundMessageThreadId = directThreadRoutedToDmSession ? void 0 : effectiveMessageThreadId;
|
|
4183
|
-
messageIngress = await resolveMessageIngress({
|
|
4184
|
-
agentId: route.agentId,
|
|
4185
|
-
sessionKey,
|
|
4186
|
-
messageId: threadContext.messageTs,
|
|
4187
|
-
inboundEventKind
|
|
4188
|
-
}, boundMessageThreadId);
|
|
4189
|
-
if (messageIngress.ingress.admission !== "dispatch") return drop("final-route-denied");
|
|
4190
|
-
const agentContextEntities = isAgentViewMessage ? normalizeSlackAppContextEntities(message.app_context) : [];
|
|
4191
|
-
const ctxPayload = (ctx.buildContext ?? buildChannelInboundEventContext)({
|
|
4192
|
-
channelIngress: messageIngress,
|
|
4193
|
-
channel: "slack",
|
|
4194
|
-
accountId: route.accountId,
|
|
4195
|
-
messageId: threadContext.messageTs,
|
|
4196
|
-
timestamp: resolveSlackTimestampMs(message.ts),
|
|
4197
|
-
from: slackFrom,
|
|
4198
|
-
sender: {
|
|
4199
|
-
id: senderId,
|
|
4200
|
-
name: senderName,
|
|
4201
|
-
displayLabel: senderName,
|
|
4202
|
-
isBot: isBotMessage || void 0
|
|
4203
|
-
},
|
|
4204
|
-
conversation: {
|
|
4205
|
-
kind: chatType,
|
|
4206
|
-
id: message.channel,
|
|
4207
|
-
routePeer: {
|
|
4208
|
-
kind: chatType,
|
|
4209
|
-
id: qualifySlackRoutePeerId({
|
|
4210
|
-
id: isDirectMessage ? message.user ?? "unknown" : message.channel,
|
|
4211
|
-
kind: isDirectMessage ? "user" : "channel",
|
|
4212
|
-
eventScope: opts.eventScope
|
|
4213
|
-
})
|
|
4214
|
-
},
|
|
4215
|
-
label: envelopeFrom,
|
|
4216
|
-
spaceId: opts.eventScope?.teamId || ctx.teamId || void 0,
|
|
4217
|
-
threadId: boundMessageThreadId,
|
|
4218
|
-
nativeChannelId: message.channel,
|
|
4219
|
-
avatar: conversationAvatar
|
|
4220
|
-
},
|
|
4221
|
-
route: {
|
|
4222
|
-
agentId: route.agentId,
|
|
4223
|
-
dmScope: route.dmScope,
|
|
4224
|
-
accountId: route.accountId,
|
|
4225
|
-
routeSessionKey: route.sessionKey,
|
|
4226
|
-
dispatchSessionKey: sessionKey,
|
|
4227
|
-
parentSessionKey: threadKeys.parentSessionKey
|
|
4228
|
-
},
|
|
4229
|
-
reply: {
|
|
4230
|
-
to: replyRouteTarget,
|
|
4231
|
-
replyToId: threadContext.replyToId,
|
|
4232
|
-
messageThreadId: boundMessageThreadId,
|
|
4233
|
-
nativeChannelId: message.channel
|
|
4234
|
-
},
|
|
4235
|
-
message: {
|
|
4236
|
-
inboundEventKind,
|
|
4237
|
-
body: combinedBody,
|
|
4238
|
-
bodyForAgent,
|
|
4239
|
-
rawBody,
|
|
4240
|
-
commandBody,
|
|
4241
|
-
inboundHistory
|
|
4242
|
-
},
|
|
4243
|
-
sessionTranscript: { historyLimit: isRoomish ? ctx.historyLimit : dmHistoryLimit },
|
|
4244
|
-
access: {
|
|
4245
|
-
mentions: {
|
|
4246
|
-
canDetectMention: isRoomish,
|
|
4247
|
-
wasMentioned: effectiveWasMentioned,
|
|
4248
|
-
hasAnyMention: explicitlyMentioned || mentionedSubteamIds.length > 0,
|
|
4249
|
-
implicitMentionKinds: matchedImplicitMentionKinds,
|
|
4250
|
-
requireMention: shouldRequireMention,
|
|
4251
|
-
effectiveWasMentioned
|
|
4252
|
-
},
|
|
4253
|
-
commands: { authorized: commandAuthorized }
|
|
4254
|
-
},
|
|
4255
|
-
media: inboundMedia,
|
|
4256
|
-
supplemental: {
|
|
4257
|
-
thread: {
|
|
4258
|
-
starterBody: !directThreadRoutedToDmSession && shouldSeedInitialThreadContext ? threadStarterBody : void 0,
|
|
4259
|
-
historyBody: supplementalThreadHistoryBody,
|
|
4260
|
-
label: directThreadRoutedToDmSession ? void 0 : threadLabel
|
|
4261
|
-
},
|
|
4262
|
-
groupSystemPrompt
|
|
4263
|
-
},
|
|
4264
|
-
channelContext: { chat: {
|
|
4265
|
-
commandSourceText,
|
|
4266
|
-
mentionStripPatterns
|
|
4267
|
-
} },
|
|
4268
|
-
extra: {
|
|
4269
|
-
GroupSubject: groupSessionSubject,
|
|
4270
|
-
ChannelPromptContext: channelMetadata ? [channelMetadata] : void 0,
|
|
4271
|
-
ChannelStructuredContext: agentContextEntities.length > 0 ? [{
|
|
4272
|
-
label: "Slack active context",
|
|
4273
|
-
source: "slack",
|
|
4274
|
-
type: "active_view",
|
|
4275
|
-
payload: { entities: agentContextEntities }
|
|
4276
|
-
}] : void 0,
|
|
4277
|
-
TransportThreadId: directThreadRoutedToDmSession ? threadContext.messageThreadId : void 0,
|
|
4278
|
-
ReplyThreading: isThreadReply ? { implicitCurrentMessage: "deny" } : void 0,
|
|
4279
|
-
SlackAssistantThread: assistantThreadContext ? true : void 0,
|
|
4280
|
-
SlackAgentThread: agentViewThreadTs ? true : void 0,
|
|
4281
|
-
SlackAssistantThreadContextChannelId: assistantThreadContext?.channelId,
|
|
4282
|
-
SlackAssistantThreadContextTeamId: assistantThreadContext?.teamId,
|
|
4283
|
-
SlackAssistantThreadContextEnterpriseId: assistantThreadContext?.enterpriseId ?? void 0,
|
|
4284
|
-
Transcript: preflightAudioTranscript,
|
|
4285
|
-
IsFirstThreadTurn: isThreadReply && threadTs && !directThreadRoutedToDmSession && shouldSeedInitialThreadContext ? true : void 0,
|
|
4286
|
-
...isRoomish ? {
|
|
4287
|
-
WasMentioned: effectiveWasMentioned,
|
|
4288
|
-
ExplicitlyMentionedBot: explicitlyMentioned,
|
|
4289
|
-
MentionedUserIds: mentionedUserIds.length > 0 ? [...mentionedUserIds] : void 0,
|
|
4290
|
-
MentionedSubteamIds: mentionedSubteamIds.length > 0 ? [...mentionedSubteamIds] : void 0,
|
|
4291
|
-
ImplicitMentionKinds: matchedImplicitMentionKinds.length > 0 ? [...matchedImplicitMentionKinds] : void 0,
|
|
4292
|
-
MentionSource: mentionSource
|
|
4293
|
-
} : {}
|
|
4294
|
-
}
|
|
4295
|
-
});
|
|
4296
|
-
ctxPayload.ReplyToMode = replyToMode;
|
|
4297
|
-
if (isRoomish && !shouldRequireMention) channelHistory.record({
|
|
4298
|
-
historyKey,
|
|
4299
|
-
limit: ctx.historyLimit,
|
|
4300
|
-
entry: {
|
|
4301
|
-
sender: senderName,
|
|
4302
|
-
body: rawBody,
|
|
4303
|
-
timestamp: resolveSlackTimestampMs(message.ts),
|
|
4304
|
-
messageId: message.ts
|
|
4305
|
-
}
|
|
4306
|
-
});
|
|
4307
|
-
const pinnedMainDmOwner = isDirectMessage ? resolvePinnedMainDmOwnerFromAllowlist({
|
|
4308
|
-
dmScope: cfg.session?.dmScope,
|
|
4309
|
-
allowFrom: allowFromLower,
|
|
4310
|
-
normalizeEntry: normalizeSlackAllowOwnerEntry
|
|
4311
|
-
}) : null;
|
|
4312
|
-
const replyTarget = `channel:${message.channel}`;
|
|
4313
|
-
if (preflightAudioTranscript) await sendSlackPreflightAudioTranscriptEcho({
|
|
4314
|
-
transcript: preflightAudioTranscript,
|
|
4315
|
-
cfg,
|
|
4316
|
-
accountId: account.accountId,
|
|
4317
|
-
originatingTo: preflightChannelTarget,
|
|
4318
|
-
messageThreadId: threadContext.messageThreadId
|
|
4319
|
-
});
|
|
4320
|
-
if (shouldLogVerbose()) logVerbose(`slack inbound: account=${route.accountId} agent=${route.agentId} channel=${message.channel} message_ts=${message.ts ?? "unknown"} thread_ts=${effectiveMessageThreadId ?? "none"} from=${slackFrom} chat=${chatType} chars=${rawBody.length}`);
|
|
4321
|
-
const updateLastRouteSessionKey = resolveInboundLastRouteSessionKey({
|
|
4322
|
-
route,
|
|
4323
|
-
sessionKey
|
|
4324
|
-
});
|
|
4325
|
-
return {
|
|
4326
|
-
ctx,
|
|
4327
|
-
account,
|
|
4328
|
-
message,
|
|
4329
|
-
...opts.relayIdentity ? { relayIdentity: opts.relayIdentity } : {},
|
|
4330
|
-
eventScope: opts.eventScope,
|
|
4331
|
-
route,
|
|
4332
|
-
channelConfig,
|
|
4333
|
-
replyTarget,
|
|
4334
|
-
ctxPayload,
|
|
4335
|
-
sessionDisplayName: sessionEntry?.displayName,
|
|
4336
|
-
turn: {
|
|
4337
|
-
storePath,
|
|
4338
|
-
record: {
|
|
4339
|
-
updateLastRoute: isDirectMessage || opts.eventScope ? {
|
|
4340
|
-
sessionKey: updateLastRouteSessionKey,
|
|
4341
|
-
channel: "slack",
|
|
4342
|
-
to: replyRouteTarget,
|
|
4343
|
-
accountId: route.accountId,
|
|
4344
|
-
threadId: effectiveMessageThreadId,
|
|
4345
|
-
mainDmOwnerPin: isDirectMessage && updateLastRouteSessionKey === route.mainSessionKey && pinnedMainDmOwner && message.user ? {
|
|
4346
|
-
ownerRecipient: pinnedMainDmOwner,
|
|
4347
|
-
senderRecipient: normalizeLowercaseStringOrEmpty(message.user),
|
|
4348
|
-
onSkip: ({ ownerRecipient, senderRecipient }) => {
|
|
4349
|
-
logVerbose(`slack: skip main-session last route for ${senderRecipient} (pinned owner ${ownerRecipient})`);
|
|
4350
|
-
}
|
|
4351
|
-
} : void 0
|
|
4352
|
-
} : void 0,
|
|
4353
|
-
onRecordError: (err) => {
|
|
4354
|
-
ctx.logger.warn({
|
|
4355
|
-
error: formatErrorMessage(err),
|
|
4356
|
-
storePath,
|
|
4357
|
-
sessionKey
|
|
4358
|
-
}, "failed updating session meta");
|
|
4359
|
-
}
|
|
4360
|
-
},
|
|
4361
|
-
history: isRoomish && shouldRequireMention ? {
|
|
4362
|
-
isGroup: true,
|
|
4363
|
-
historyKey,
|
|
4364
|
-
historyMap: ctx.channelHistories,
|
|
4365
|
-
limit: ctx.historyLimit
|
|
4366
|
-
} : void 0
|
|
4367
|
-
},
|
|
4368
|
-
replyToMode,
|
|
4369
|
-
...forcedReplyThreadTs ? { forcedReplyThreadTs } : {},
|
|
4370
|
-
...assistantThreadContext ? { slackMessageMetadata: buildSlackAssistantThreadMetadata(assistantThreadContext) } : {},
|
|
4371
|
-
requireMention: shouldRequireMention,
|
|
4372
|
-
isDirectMessage,
|
|
4373
|
-
isRoomish,
|
|
4374
|
-
historyKey,
|
|
4375
|
-
preview,
|
|
4376
|
-
ackReactionMessageTs,
|
|
4377
|
-
ackReactionValue,
|
|
4378
|
-
ackReactionPromise
|
|
4379
|
-
};
|
|
4380
|
-
}
|
|
4381
|
-
//#endregion
|
|
4382
|
-
export { dispatchPreparedSlackMessage, prepareSlackMessage };
|