@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
|
@@ -0,0 +1,4492 @@
|
|
|
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-BhG6pdiH.mjs";
|
|
2
|
+
import { n as formatSlackTarget } from "./target-parsing-DEsPjngB.mjs";
|
|
3
|
+
import { E as normalizeSlackAllowOwnerEntry, O as resolveSlackAllowListMatch, T as normalizeAllowListLower, o as formatSlackError } from "./probe-64C6k3_Q.mjs";
|
|
4
|
+
import { a as prepareSlackReply, l as resolveSlackReplyRenderPlan } from "./reply-blocks-9uCeAJts.mjs";
|
|
5
|
+
import { n as resolveSlackReplyThreadTs } from "./thread-ts-CukseRVL.mjs";
|
|
6
|
+
import { n as resolveSlackStreamingMode, t as resolveSlackNativeStreaming } from "./streaming-compat-B-e0mqM0.mjs";
|
|
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-BvGUGk3w.mjs";
|
|
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-6GCb3lBP.mjs";
|
|
9
|
+
import { A as resolveChannelContextVisibilityMode, D as readSlackAssistantThreadContext, E as buildSlackAssistantThreadMetadata, F as stripSlackMentionsForCommandDetection, M as resolveStorePath, N as updateLastRoute, O as getSessionEntry, T as resolveSlackChatType, _ as SlackStreamNotDeliveredError, b as startSlackStream, d as resolveSlackRoutingContext, f as registerSlackSessionRun, g as resolveSlackEffectiveAllowFrom, h as resolveSlackCommandIngress, j as resolveChannelResetConfig, k as readSessionUpdatedAt, l as authorizeSlackDirectMessage, m as authorizeSlackBotRoomMessage, o as resolveSlackRoomContextHints, p as resolveSlackThreadTargets, r as trackSlackDraftMessage, u as resolveConversationLabel, v as appendSlackStream, w as normalizeSlackChannelType, x as stopSlackStream, y as markSlackStreamFallbackDelivered } from "./provider-w36VTgZ3.mjs";
|
|
10
|
+
import { n as resolveSlackChannelConfig } from "./policy-Db_QWCZZ.mjs";
|
|
11
|
+
import { a as resolveSlackThreadTs, i as readSlackReplyBlocks, n as deliverReplies, o as sanitizeSlackMonitorReplyPayload, s as emitSlackMessageSentHooks, t as createSlackReplyDeliveryPlan } from "./replies-CWFhjS9S.mjs";
|
|
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, isChannelProgressDraftWorkToolName, 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 { asDateTimestampMs, asFiniteNumberInRange, parseStrictFiniteNumber, resolveExpiresAtMsFromDurationMs } from "openclaw/plugin-sdk/number-runtime";
|
|
22
|
+
import { hash } from "node:crypto";
|
|
23
|
+
import { pruneMapToMaxSize } from "openclaw/plugin-sdk/collection-runtime";
|
|
24
|
+
import { ensureConfiguredBindingRouteReady } from "openclaw/plugin-sdk/conversation-runtime";
|
|
25
|
+
import { resolveChannelImplicitMentions } from "openclaw/plugin-sdk/channel-ingress-runtime";
|
|
26
|
+
import fs from "node:fs/promises";
|
|
27
|
+
import { runTasksWithConcurrency } from "openclaw/plugin-sdk/concurrency-runtime";
|
|
28
|
+
import { formatErrorMessage, toErrorObject } from "openclaw/plugin-sdk/error-runtime";
|
|
29
|
+
import { filterSupplementalContextItems, resolvePinnedMainDmOwnerFromAllowlist, shouldIncludeSupplementalContext } from "openclaw/plugin-sdk/security-runtime";
|
|
30
|
+
import { mimeTypeFromFilePath } from "openclaw/plugin-sdk/media-mime";
|
|
31
|
+
import { mergePairLoopGuardConfig } from "openclaw/plugin-sdk/pair-loop-guard-runtime";
|
|
32
|
+
import { createChannelHistoryWindow } from "openclaw/plugin-sdk/reply-history";
|
|
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, isGroupThreadRouteExclusive, matchesMentionWithExplicit, readAgentRunTerminalOutcome, recordDroppedChannelInboundHistory, resolveEnvelopeFormatOptions, resolveGroupThreadConfig, resolveGroupThreadMentionFacts, 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 (!streamMessage && update.allowNewMessage === false) return;
|
|
226
|
+
if (trimmed.length > maxChars) {
|
|
227
|
+
streamState.stopped = true;
|
|
228
|
+
params.warn?.(`slack stream preview stopped (text length ${trimmed.length} > ${maxChars})`);
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
const blocks = update.blocks;
|
|
232
|
+
const sentKey = `${trimmed}\n${blocks ? JSON.stringify(blocks) : ""}`;
|
|
233
|
+
if (sentKey === lastSentKey) return;
|
|
234
|
+
lastSentKey = sentKey;
|
|
235
|
+
try {
|
|
236
|
+
if (streamMessage) {
|
|
237
|
+
await edit(streamMessage.channelId, streamMessage.messageId, trimmed, {
|
|
238
|
+
cfg: params.cfg,
|
|
239
|
+
token: params.token,
|
|
240
|
+
accountId: params.accountId,
|
|
241
|
+
...params.eventScope ? { client: params.eventScope.client } : {},
|
|
242
|
+
...blocks ? { blocks } : {}
|
|
243
|
+
});
|
|
244
|
+
lastVisibleUpdate = {
|
|
245
|
+
text: trimmed,
|
|
246
|
+
...blocks ? { blocks } : {}
|
|
247
|
+
};
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
const threadTs = params.resolveThreadTs?.();
|
|
251
|
+
const pendingBoundary = params.conversationChannelId ? trackSlackDraftMessage({
|
|
252
|
+
accountId: params.accountId,
|
|
253
|
+
teamId: params.eventScope?.teamId,
|
|
254
|
+
channelId: params.conversationChannelId,
|
|
255
|
+
threadTs,
|
|
256
|
+
onInterveningMessage: () => forceNewMessage("human")
|
|
257
|
+
}) : void 0;
|
|
258
|
+
untrackConversationBoundary = pendingBoundary?.stop;
|
|
259
|
+
const sent = await send(params.target, trimmed, {
|
|
260
|
+
cfg: params.cfg,
|
|
261
|
+
token: params.token,
|
|
262
|
+
accountId: params.accountId,
|
|
263
|
+
threadTs,
|
|
264
|
+
identity: params.identity,
|
|
265
|
+
eventScope: params.eventScope,
|
|
266
|
+
...params.metadata ? { metadata: params.metadata } : {},
|
|
267
|
+
...blocks ? { blocks } : {}
|
|
268
|
+
});
|
|
269
|
+
if (!sent.channelId || !sent.messageId) {
|
|
270
|
+
stopTrackingConversationBoundary();
|
|
271
|
+
streamState.stopped = true;
|
|
272
|
+
params.warn?.("slack stream preview stopped (missing identifiers from sendMessage)");
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
streamMessage = {
|
|
276
|
+
channelId: sent.channelId,
|
|
277
|
+
messageId: sent.messageId
|
|
278
|
+
};
|
|
279
|
+
lastVisibleUpdate = {
|
|
280
|
+
text: trimmed,
|
|
281
|
+
...blocks ? { blocks } : {}
|
|
282
|
+
};
|
|
283
|
+
if (pendingBoundary && params.conversationChannelId === streamMessage.channelId) pendingBoundary.setMessageTs(streamMessage.messageId);
|
|
284
|
+
else {
|
|
285
|
+
stopTrackingConversationBoundary();
|
|
286
|
+
untrackConversationBoundary = trackSlackDraftMessage({
|
|
287
|
+
accountId: params.accountId,
|
|
288
|
+
teamId: params.eventScope?.teamId,
|
|
289
|
+
channelId: streamMessage.channelId,
|
|
290
|
+
threadTs,
|
|
291
|
+
messageTs: streamMessage.messageId,
|
|
292
|
+
onInterveningMessage: () => forceNewMessage("human")
|
|
293
|
+
}).stop;
|
|
294
|
+
}
|
|
295
|
+
} catch (err) {
|
|
296
|
+
stopTrackingConversationBoundary();
|
|
297
|
+
streamState.stopped = true;
|
|
298
|
+
params.warn?.(`slack stream preview failed: ${formatSlackError(err)}`);
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
const { loop, update, discardPending, seal } = createFinalizableDraftStreamControlsForState({
|
|
302
|
+
throttleMs,
|
|
303
|
+
coalesceInFlight: true,
|
|
304
|
+
state: streamState,
|
|
305
|
+
sendOrEditStreamMessage,
|
|
306
|
+
emptyValue: "",
|
|
307
|
+
isEmpty: (value) => !normalizeUpdate(value).text.trim()
|
|
308
|
+
});
|
|
309
|
+
const stopTrackingConversationBoundary = () => {
|
|
310
|
+
untrackConversationBoundary?.();
|
|
311
|
+
untrackConversationBoundary = void 0;
|
|
312
|
+
};
|
|
313
|
+
const dropDetachedMessages = (preserveHumanReplies = false) => {
|
|
314
|
+
cleanupTail = cleanupTail.then(async () => {
|
|
315
|
+
for (let index = 0; index < pendingCleanupMessages.length;) {
|
|
316
|
+
const message = pendingCleanupMessages[index];
|
|
317
|
+
if (!message) return;
|
|
318
|
+
if (preserveHumanReplies && message.detachedByHuman) {
|
|
319
|
+
pendingCleanupMessages.splice(index, 1);
|
|
320
|
+
continue;
|
|
321
|
+
}
|
|
322
|
+
try {
|
|
323
|
+
await remove(message.channelId, message.messageId, {
|
|
324
|
+
token: params.token,
|
|
325
|
+
accountId: params.accountId,
|
|
326
|
+
...params.eventScope ? { client: params.eventScope.client } : {}
|
|
327
|
+
});
|
|
328
|
+
pendingCleanupMessages.splice(index, 1);
|
|
329
|
+
} catch (err) {
|
|
330
|
+
params.warn?.(`slack stream preview cleanup failed: ${formatSlackError(err)}`);
|
|
331
|
+
index += 1;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
return cleanupTail;
|
|
336
|
+
};
|
|
337
|
+
const discardPendingAndStopTracking = async () => {
|
|
338
|
+
await discardPending();
|
|
339
|
+
stopTrackingConversationBoundary();
|
|
340
|
+
};
|
|
341
|
+
const clear = async (options) => {
|
|
342
|
+
await discardPendingAndStopTracking();
|
|
343
|
+
if (streamMessage) {
|
|
344
|
+
pendingCleanupMessages.push(streamMessage);
|
|
345
|
+
streamMessage = void 0;
|
|
346
|
+
}
|
|
347
|
+
lastVisibleUpdate = void 0;
|
|
348
|
+
lastSentKey = "";
|
|
349
|
+
await dropDetachedMessages(options?.preserveHumanReplies);
|
|
350
|
+
};
|
|
351
|
+
const forceNewMessage = (reason = "turn") => {
|
|
352
|
+
stopTrackingConversationBoundary();
|
|
353
|
+
if (reason === "turn") streamState.stopped = false;
|
|
354
|
+
streamState.final = false;
|
|
355
|
+
if (streamMessage && !finalizedMessageIds.has(streamMessage.messageId)) {
|
|
356
|
+
streamMessage.detachedByHuman = reason === "human";
|
|
357
|
+
pendingCleanupMessages.push(streamMessage);
|
|
358
|
+
}
|
|
359
|
+
streamMessage = void 0;
|
|
360
|
+
lastVisibleUpdate = void 0;
|
|
361
|
+
lastSentKey = "";
|
|
362
|
+
loop.resetPending();
|
|
363
|
+
};
|
|
364
|
+
const finalizeMessage = async (messageId, editFinal) => {
|
|
365
|
+
const currentMessage = streamMessage;
|
|
366
|
+
const previousUpdate = lastVisibleUpdate;
|
|
367
|
+
if (!currentMessage || currentMessage.messageId !== messageId || !previousUpdate) return false;
|
|
368
|
+
const { channelId } = currentMessage;
|
|
369
|
+
await editFinal();
|
|
370
|
+
if (streamMessage?.channelId === channelId && streamMessage.messageId === messageId) {
|
|
371
|
+
finalizedMessageIds.add(messageId);
|
|
372
|
+
stopTrackingConversationBoundary();
|
|
373
|
+
return true;
|
|
374
|
+
}
|
|
375
|
+
try {
|
|
376
|
+
await edit(channelId, messageId, previousUpdate.text, {
|
|
377
|
+
cfg: params.cfg,
|
|
378
|
+
token: params.token,
|
|
379
|
+
accountId: params.accountId,
|
|
380
|
+
...params.eventScope ? { client: params.eventScope.client } : {},
|
|
381
|
+
...previousUpdate.blocks ? { blocks: previousUpdate.blocks } : {}
|
|
382
|
+
});
|
|
383
|
+
} catch (err) {
|
|
384
|
+
params.warn?.(`slack stream preview restore failed: ${formatSlackError(err)}`);
|
|
385
|
+
}
|
|
386
|
+
return false;
|
|
387
|
+
};
|
|
388
|
+
params.log?.(`slack stream preview ready (maxChars=${maxChars}, throttleMs=${throttleMs})`);
|
|
389
|
+
return {
|
|
390
|
+
update,
|
|
391
|
+
flush: loop.flush,
|
|
392
|
+
clear,
|
|
393
|
+
discardPending: discardPendingAndStopTracking,
|
|
394
|
+
seal,
|
|
395
|
+
forceNewMessage,
|
|
396
|
+
dropDetachedMessages,
|
|
397
|
+
finalizeMessage,
|
|
398
|
+
messageId: () => streamMessage?.messageId,
|
|
399
|
+
channelId: () => streamMessage?.channelId
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region extensions/slack/src/stream-mode.ts
|
|
404
|
+
function resolveSlackStreamingConfig(params) {
|
|
405
|
+
return {
|
|
406
|
+
mode: resolveSlackStreamingMode(params),
|
|
407
|
+
nativeStreaming: resolveSlackNativeStreaming(params)
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
function applyAppendOnlyStreamUpdate(params) {
|
|
411
|
+
const incoming = params.incoming.trimEnd();
|
|
412
|
+
if (!incoming) return {
|
|
413
|
+
rendered: params.rendered,
|
|
414
|
+
source: params.source,
|
|
415
|
+
changed: false
|
|
416
|
+
};
|
|
417
|
+
if (!params.rendered) return {
|
|
418
|
+
rendered: incoming,
|
|
419
|
+
source: incoming,
|
|
420
|
+
changed: true
|
|
421
|
+
};
|
|
422
|
+
if (incoming === params.source) return {
|
|
423
|
+
rendered: params.rendered,
|
|
424
|
+
source: params.source,
|
|
425
|
+
changed: false
|
|
426
|
+
};
|
|
427
|
+
if (incoming.startsWith(params.rendered)) return {
|
|
428
|
+
rendered: incoming,
|
|
429
|
+
source: incoming,
|
|
430
|
+
changed: incoming !== params.rendered
|
|
431
|
+
};
|
|
432
|
+
if (incoming.startsWith(params.source)) {
|
|
433
|
+
const delta = incoming.slice(params.source.length);
|
|
434
|
+
return {
|
|
435
|
+
rendered: `${params.rendered}${delta}`,
|
|
436
|
+
source: incoming,
|
|
437
|
+
changed: delta.length > 0
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
if (params.source.startsWith(incoming)) return {
|
|
441
|
+
rendered: params.rendered,
|
|
442
|
+
source: params.source,
|
|
443
|
+
changed: false
|
|
444
|
+
};
|
|
445
|
+
const separator = params.separator ?? (params.rendered.endsWith("\n") ? "" : "\n");
|
|
446
|
+
return {
|
|
447
|
+
rendered: `${params.rendered}${separator}${incoming}`,
|
|
448
|
+
source: incoming,
|
|
449
|
+
changed: true
|
|
450
|
+
};
|
|
451
|
+
}
|
|
452
|
+
//#endregion
|
|
453
|
+
//#region extensions/slack/src/progress-blocks.ts
|
|
454
|
+
const SLACK_PROGRESS_FIELD_MAX = 1800;
|
|
455
|
+
const DEFAULT_SLACK_PROGRESS_DETAIL_MAX_CHARS = 120;
|
|
456
|
+
const DEFAULT_SLACK_PROGRESS_TASK_DETAIL_MAX_CHARS = 48;
|
|
457
|
+
const SLACK_PROGRESS_CHUNK_TEXT_MAX = 256;
|
|
458
|
+
const SLACK_PROGRESS_TASK_TITLE_MAX = 120;
|
|
459
|
+
const SLACK_PROGRESS_PLAN_FALLBACK_TITLE = "Thinking";
|
|
460
|
+
const SLACK_PROGRESS_LINE_DELTA_RE = /(?:^|\s)\+(\d+)\s+[−-](\d+)(?=\s|$)/u;
|
|
461
|
+
const SLACK_ATTENTION_TASK_PREFIX = "openclaw-attention-";
|
|
462
|
+
function buildSessionSources(url) {
|
|
463
|
+
return [{
|
|
464
|
+
type: "url_source",
|
|
465
|
+
url,
|
|
466
|
+
text: "Open in OpenClaw"
|
|
467
|
+
}];
|
|
468
|
+
}
|
|
469
|
+
function field(text) {
|
|
470
|
+
return {
|
|
471
|
+
type: "mrkdwn",
|
|
472
|
+
text: truncateSlackText(text, SLACK_PROGRESS_FIELD_MAX)
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
function progressTextSection(value, style) {
|
|
476
|
+
if (value.format === "plain") return {
|
|
477
|
+
type: "section",
|
|
478
|
+
text: {
|
|
479
|
+
type: "plain_text",
|
|
480
|
+
text: truncateSlackText(value.text, SLACK_PROGRESS_FIELD_MAX),
|
|
481
|
+
emoji: false
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
const rendered = renderProgressCardText(value.text, style);
|
|
485
|
+
const marker = style === "italic" ? "_" : "";
|
|
486
|
+
return {
|
|
487
|
+
type: "section",
|
|
488
|
+
text: field(`${marker}${rendered}${marker}`)
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
function buildSlackProgressTextBlocks(blocks) {
|
|
492
|
+
return blocks.map((block) => progressTextSection({
|
|
493
|
+
text: block.text,
|
|
494
|
+
format: block.format === "plain" ? "plain" : void 0
|
|
495
|
+
}));
|
|
496
|
+
}
|
|
497
|
+
function resolveMaxLineChars(value, fallback) {
|
|
498
|
+
return value && value > 0 ? Math.floor(value) : fallback;
|
|
499
|
+
}
|
|
500
|
+
function compactDetail(value, maxChars) {
|
|
501
|
+
const normalized = value.replace(/\s+/g, " ").trim();
|
|
502
|
+
const chars = Array.from(normalized);
|
|
503
|
+
if (chars.length <= maxChars) return normalized;
|
|
504
|
+
if (maxChars <= 1) return "…";
|
|
505
|
+
const keepStart = Math.max(1, Math.ceil((maxChars - 1) * .45));
|
|
506
|
+
const keepEnd = Math.max(1, maxChars - keepStart - 1);
|
|
507
|
+
return `${chars.slice(0, keepStart).join("").trimEnd()}…${chars.slice(-keepEnd).join("").trimStart()}`;
|
|
508
|
+
}
|
|
509
|
+
function compactTitle(value) {
|
|
510
|
+
return truncateSlackText(value.replace(/\s+/g, " ").trim(), SLACK_PROGRESS_TASK_TITLE_MAX);
|
|
511
|
+
}
|
|
512
|
+
function compactChunkText(value) {
|
|
513
|
+
return truncateSlackText(value.replace(/\s+/g, " ").trim(), SLACK_PROGRESS_CHUNK_TEXT_MAX);
|
|
514
|
+
}
|
|
515
|
+
function renderProgressCardText(text, enclosingStyle) {
|
|
516
|
+
return normalizeSlackOutboundText(text, {
|
|
517
|
+
mentions: "escape",
|
|
518
|
+
enclosingStyle
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
function lineDetailParts(line) {
|
|
522
|
+
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));
|
|
523
|
+
}
|
|
524
|
+
function activityLineDetail(line, maxChars) {
|
|
525
|
+
const detail = lineDetailParts(line).join(" · ");
|
|
526
|
+
if (detail) return escapeSlackMrkdwn(compactDetail(detail, maxChars));
|
|
527
|
+
const text = line.text.replace(/^(?:🧠|💬)\s+/u, "").trim();
|
|
528
|
+
return line.kind === "item" && !line.toolName && text && text !== line.label ? renderProgressCardText(compactDetail(text, maxChars)) : "—";
|
|
529
|
+
}
|
|
530
|
+
function lineTaskTitle(line) {
|
|
531
|
+
const label = line.label.replace(/\s+/g, " ").trim() || line.toolName || line.kind || "Update";
|
|
532
|
+
const fallback = line.text.replace(/\s+/g, " ").trim();
|
|
533
|
+
if (fallback && fallback !== label) return compactTitle(lineDetailParts(line).length > 0 || line.status ? label : fallback);
|
|
534
|
+
return compactTitle(label);
|
|
535
|
+
}
|
|
536
|
+
function lineTaskDetails(line, maxLineChars) {
|
|
537
|
+
const detail = line.detail?.replace(SLACK_PROGRESS_LINE_DELTA_RE, "").replace(/\s+·\s*$/u, "").trim();
|
|
538
|
+
return detail && detail !== line.status?.trim() ? compactDetail(detail, maxLineChars) : void 0;
|
|
539
|
+
}
|
|
540
|
+
function lineTaskOutput(line) {
|
|
541
|
+
const match = line.detail ? SLACK_PROGRESS_LINE_DELTA_RE.exec(line.detail) : null;
|
|
542
|
+
if (match) return `+${match[1]} −${match[2]}`;
|
|
543
|
+
const status = line.status?.replace(/\s+/g, " ").trim();
|
|
544
|
+
return status && lineTaskStatus(line) === "error" ? status : void 0;
|
|
545
|
+
}
|
|
546
|
+
function lineTaskStatus(line) {
|
|
547
|
+
const normalized = line.status?.replace(/\s+/g, " ").trim().toLowerCase();
|
|
548
|
+
if (!normalized) return "in_progress";
|
|
549
|
+
if (normalized === "complete" || normalized === "completed" || normalized === "done" || normalized === "ok" || normalized === "success" || normalized === "succeeded" || normalized === "successful" || normalized === "exit 0") return "complete";
|
|
550
|
+
if (normalized === "error" || normalized === "failed" || normalized === "failure" || normalized.startsWith("exit ")) return "error";
|
|
551
|
+
return "in_progress";
|
|
552
|
+
}
|
|
553
|
+
function stableTaskIdPart(value, slugValue = value) {
|
|
554
|
+
const slug = slugValue.trim().toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
|
|
555
|
+
const suffix = hash("sha256", value, "hex").slice(0, 8);
|
|
556
|
+
return `${(slug || "task").slice(0, 48)}_${suffix}`;
|
|
557
|
+
}
|
|
558
|
+
function resolveLineTaskIdentity(line, contentIdOccurrences) {
|
|
559
|
+
if (line.id?.trim()) return stableTaskIdPart(line.id);
|
|
560
|
+
const id = stableTaskIdPart([
|
|
561
|
+
line.kind,
|
|
562
|
+
line.toolName,
|
|
563
|
+
line.label,
|
|
564
|
+
line.text
|
|
565
|
+
].join("\0"), line.toolName ?? line.kind ?? line.label);
|
|
566
|
+
const occurrence = (contentIdOccurrences.get(id) ?? 0) + 1;
|
|
567
|
+
contentIdOccurrences.set(id, occurrence);
|
|
568
|
+
return `${id}_${occurrence}`;
|
|
569
|
+
}
|
|
570
|
+
function buildNativeTasks(params) {
|
|
571
|
+
const tasks = (params.plan ?? []).map((entry, index) => ({
|
|
572
|
+
id: `plan_step_${index + 1}`,
|
|
573
|
+
title: compactTitle(entry.step),
|
|
574
|
+
status: entry.status === "completed" ? "complete" : entry.status
|
|
575
|
+
}));
|
|
576
|
+
const maxLineChars = resolveMaxLineChars(params.maxLineChars, DEFAULT_SLACK_PROGRESS_TASK_DETAIL_MAX_CHARS);
|
|
577
|
+
const contentIdOccurrences = /* @__PURE__ */ new Map();
|
|
578
|
+
for (const line of params.lines) {
|
|
579
|
+
const task = {
|
|
580
|
+
id: resolveLineTaskIdentity(line, contentIdOccurrences),
|
|
581
|
+
title: lineTaskTitle(line),
|
|
582
|
+
status: lineTaskStatus(line)
|
|
583
|
+
};
|
|
584
|
+
const details = lineTaskDetails(line, maxLineChars);
|
|
585
|
+
const output = lineTaskOutput(line);
|
|
586
|
+
if (details) task.details = details;
|
|
587
|
+
if (output) task.output = output;
|
|
588
|
+
tasks.push(task);
|
|
589
|
+
}
|
|
590
|
+
return tasks;
|
|
591
|
+
}
|
|
592
|
+
function formatProgressAttentionTitle(line, finalStatus) {
|
|
593
|
+
if (line.kind === "approval") return line.status === "requested" && finalStatus === void 0 ? compactTitle(`Approval required: ${line.detail || line.label}`) : void 0;
|
|
594
|
+
if (lineTaskStatus(line) !== "error") return;
|
|
595
|
+
const title = [...new Set([
|
|
596
|
+
line.label,
|
|
597
|
+
line.detail,
|
|
598
|
+
line.status
|
|
599
|
+
].filter(Boolean))].join(" — ");
|
|
600
|
+
return compactTitle(finalStatus === "complete" ? `Recovered: ${title}` : title);
|
|
601
|
+
}
|
|
602
|
+
function formatTaskDiffOutput(diffStat) {
|
|
603
|
+
return diffStat && (diffStat.added > 0 || diffStat.removed > 0) ? `+${diffStat.added} −${diffStat.removed}` : void 0;
|
|
604
|
+
}
|
|
605
|
+
function buildSlackProgressStreamChunks(params) {
|
|
606
|
+
const approvals = params.lines.filter((line) => line.kind === "approval");
|
|
607
|
+
const tasks = buildNativeTasks({
|
|
608
|
+
lines: params.summaryRow ? [] : params.lines.filter((line) => line.kind !== "approval"),
|
|
609
|
+
plan: params.plan,
|
|
610
|
+
maxLineChars: params.maxLineChars
|
|
611
|
+
});
|
|
612
|
+
const contentIdOccurrences = /* @__PURE__ */ new Map();
|
|
613
|
+
const attention = [];
|
|
614
|
+
for (const line of approvals) {
|
|
615
|
+
const title = formatProgressAttentionTitle(line, params.finalInProgressStatus);
|
|
616
|
+
if (title !== void 0) attention.push({
|
|
617
|
+
id: `${SLACK_ATTENTION_TASK_PREFIX}${resolveLineTaskIdentity(line, contentIdOccurrences)}`,
|
|
618
|
+
title,
|
|
619
|
+
status: "pending"
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
const headline = params.title?.trim() || params.label?.trim();
|
|
623
|
+
const newest = tasks.at(-1);
|
|
624
|
+
const title = compactChunkText(headline || (newest?.details ? `${newest.title} — ${newest.details}` : newest?.title) || (params.summaryRow ? "Working" : attention.at(-1)?.title) || SLACK_PROGRESS_PLAN_FALLBACK_TITLE);
|
|
625
|
+
const diffOutput = formatTaskDiffOutput(params.diffStat);
|
|
626
|
+
if (tasks.length === 0 && (params.summaryRow || params.sessionUrl || diffOutput)) tasks.push({
|
|
627
|
+
id: "openclaw_summary",
|
|
628
|
+
title: params.summaryRow ? compactTitle(title) : "Completed",
|
|
629
|
+
status: params.finalInProgressStatus ?? (params.summaryRow ? "in_progress" : "complete")
|
|
630
|
+
});
|
|
631
|
+
tasks.push(...attention);
|
|
632
|
+
if (params.finalInProgressStatus === "error" && !tasks.some((task) => task.status === "in_progress" || task.status === "error")) tasks.push({
|
|
633
|
+
id: "openclaw_attention",
|
|
634
|
+
title: "Failed",
|
|
635
|
+
status: "error"
|
|
636
|
+
});
|
|
637
|
+
if (!headline && tasks.length === 0) return;
|
|
638
|
+
const finalTaskIndex = tasks.length - 1;
|
|
639
|
+
const taskChunks = tasks.map((task, index) => {
|
|
640
|
+
const recovered = params.finalInProgressStatus === "complete" && task.status === "error";
|
|
641
|
+
const chunk = {
|
|
642
|
+
type: "task_update",
|
|
643
|
+
id: task.id,
|
|
644
|
+
title: recovered ? compactTitle(`Recovered: ${task.title}`) : task.title,
|
|
645
|
+
status: recovered ? "complete" : task.status === "in_progress" ? params.finalInProgressStatus ?? task.status : task.status
|
|
646
|
+
};
|
|
647
|
+
if (task.details) chunk.details = task.details;
|
|
648
|
+
if (task.output) chunk.output = task.output;
|
|
649
|
+
if (index === finalTaskIndex && diffOutput) chunk.output = [task.output, diffOutput].filter(Boolean).join(" · ");
|
|
650
|
+
if (index === finalTaskIndex && params.sessionUrl) chunk.sources = buildSessionSources(params.sessionUrl);
|
|
651
|
+
return chunk;
|
|
652
|
+
});
|
|
653
|
+
return [{
|
|
654
|
+
type: "plan_update",
|
|
655
|
+
title
|
|
656
|
+
}, ...taskChunks];
|
|
657
|
+
}
|
|
658
|
+
function joinRecentProgressRows(rows) {
|
|
659
|
+
const rendered = [];
|
|
660
|
+
let length = 0;
|
|
661
|
+
for (const row of rows.toReversed()) {
|
|
662
|
+
const nextLength = length + row.length + (rendered.length > 0 ? 1 : 0);
|
|
663
|
+
if (nextLength > SLACK_PROGRESS_FIELD_MAX) break;
|
|
664
|
+
rendered.push(row);
|
|
665
|
+
length = nextLength;
|
|
666
|
+
}
|
|
667
|
+
return rendered.toReversed().join("\n");
|
|
668
|
+
}
|
|
669
|
+
function buildActivityText(lines, maxLineChars) {
|
|
670
|
+
return joinRecentProgressRows(lines.slice(-50).map((line) => {
|
|
671
|
+
return `${`${line.icon ?? "•"} *${renderProgressCardText(line.label, "bold")}*`} — ${activityLineDetail(line, maxLineChars)}`;
|
|
672
|
+
}));
|
|
673
|
+
}
|
|
674
|
+
function buildSlackProgressCardBlocks(params) {
|
|
675
|
+
const maxLineChars = resolveMaxLineChars(params.maxLineChars, DEFAULT_SLACK_PROGRESS_DETAIL_MAX_CHARS);
|
|
676
|
+
const planLines = formatPlanChecklistLines(params.plan ?? [], {
|
|
677
|
+
maxLines: 50,
|
|
678
|
+
maxLineChars
|
|
679
|
+
});
|
|
680
|
+
const narration = (typeof params.narration === "string" ? [{ text: params.narration }] : params.narration ?? []).map(({ text, format }) => ({
|
|
681
|
+
text: text.replace(/\s+/g, " ").trim(),
|
|
682
|
+
format
|
|
683
|
+
})).filter((part) => part.text);
|
|
684
|
+
const diffStat = formatChannelProgressDraftDiffStat(params.diffStat);
|
|
685
|
+
const workingFooter = [
|
|
686
|
+
...params.toolCalls && params.toolCalls > 0 ? [`🛠️ ${params.toolCalls} tools`] : [],
|
|
687
|
+
...diffStat ? [diffStat] : [],
|
|
688
|
+
...params.elapsedSeconds && params.elapsedSeconds > 0 ? [`⏱ ${params.elapsedSeconds}s`] : []
|
|
689
|
+
].join(" · ");
|
|
690
|
+
const footer = params.state === "working" ? workingFooter : diffStat;
|
|
691
|
+
const icon = params.state === "working" ? "🔄" : params.state === "success" ? "✅" : "❌";
|
|
692
|
+
const finalStatus = params.state === "working" ? void 0 : params.state === "success" ? "complete" : "error";
|
|
693
|
+
const attention = params.lines.flatMap((line) => {
|
|
694
|
+
const title = formatProgressAttentionTitle(line, finalStatus);
|
|
695
|
+
return title === void 0 ? [] : [escapeSlackMrkdwn(title)];
|
|
696
|
+
});
|
|
697
|
+
const sections = [
|
|
698
|
+
planLines.map((line) => renderProgressCardText(line)).join("\n"),
|
|
699
|
+
buildActivityText(params.lines.filter((line) => line.kind !== "approval" && lineTaskStatus(line) !== "error"), maxLineChars),
|
|
700
|
+
joinRecentProgressRows(attention)
|
|
701
|
+
];
|
|
702
|
+
const title = params.title.trim() || "Working";
|
|
703
|
+
const blocks = [
|
|
704
|
+
params.titleFormat === "plain" ? progressTextSection({
|
|
705
|
+
text: `${icon} ${title}`,
|
|
706
|
+
format: "plain"
|
|
707
|
+
}) : {
|
|
708
|
+
type: "section",
|
|
709
|
+
text: field(`${icon} *${renderProgressCardText(title, "bold")}*`)
|
|
710
|
+
},
|
|
711
|
+
...narration.map((part) => progressTextSection(part, "italic")),
|
|
712
|
+
...sections.filter(Boolean).map((text) => ({
|
|
713
|
+
type: "section",
|
|
714
|
+
text: field(text)
|
|
715
|
+
}))
|
|
716
|
+
];
|
|
717
|
+
if (footer) blocks.push({
|
|
718
|
+
type: "context",
|
|
719
|
+
elements: [field(footer)]
|
|
720
|
+
});
|
|
721
|
+
if (params.state !== "working" && params.sessionUrl) blocks.push({
|
|
722
|
+
type: "actions",
|
|
723
|
+
elements: [{
|
|
724
|
+
type: "button",
|
|
725
|
+
action_id: SLACK_SESSION_LINK_ACTION_ID,
|
|
726
|
+
text: {
|
|
727
|
+
type: "plain_text",
|
|
728
|
+
text: "Open in OpenClaw"
|
|
729
|
+
},
|
|
730
|
+
url: params.sessionUrl
|
|
731
|
+
}]
|
|
732
|
+
});
|
|
733
|
+
return blocks.slice(0, 50);
|
|
734
|
+
}
|
|
735
|
+
const EMPTY_SLACK_NATIVE_STREAM_SNAPSHOT = { tasks: /* @__PURE__ */ new Map() };
|
|
736
|
+
const SLACK_TASK_FIELD_SEPARATOR = " · ";
|
|
737
|
+
function resolveTaskFieldDelta(previous, incoming) {
|
|
738
|
+
if (!incoming) return {
|
|
739
|
+
field: previous,
|
|
740
|
+
delta: void 0
|
|
741
|
+
};
|
|
742
|
+
if (previous?.rendered.includes(incoming)) return {
|
|
743
|
+
field: {
|
|
744
|
+
rendered: previous.rendered,
|
|
745
|
+
source: incoming
|
|
746
|
+
},
|
|
747
|
+
delta: void 0
|
|
748
|
+
};
|
|
749
|
+
const next = applyAppendOnlyStreamUpdate({
|
|
750
|
+
incoming,
|
|
751
|
+
rendered: previous?.rendered ?? "",
|
|
752
|
+
source: previous?.source ?? "",
|
|
753
|
+
separator: SLACK_TASK_FIELD_SEPARATOR
|
|
754
|
+
});
|
|
755
|
+
const delta = next.changed ? next.rendered.slice(previous?.rendered.length ?? 0) : void 0;
|
|
756
|
+
return {
|
|
757
|
+
field: {
|
|
758
|
+
rendered: next.rendered,
|
|
759
|
+
source: next.source
|
|
760
|
+
},
|
|
761
|
+
delta
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* Turns a full task snapshot into the delta Slack must receive. Native streams
|
|
766
|
+
* key rows by persistent id with no removal chunk: unchanged rows are omitted,
|
|
767
|
+
* changed rows carry only their unsent field text, and rows that dropped out
|
|
768
|
+
* (plan shrinks, tool-line <-> plan source switches) get a final complete
|
|
769
|
+
* update or they linger in_progress forever.
|
|
770
|
+
*/
|
|
771
|
+
function reconcileSlackNativeTaskChunks(params) {
|
|
772
|
+
const nextTasks = /* @__PURE__ */ new Map();
|
|
773
|
+
let planTitle = params.previous.planTitle;
|
|
774
|
+
const emitted = [];
|
|
775
|
+
for (const chunk of params.chunks ?? []) {
|
|
776
|
+
if (chunk.type === "plan_update") {
|
|
777
|
+
if (chunk.title !== planTitle) {
|
|
778
|
+
planTitle = chunk.title;
|
|
779
|
+
emitted.push(chunk);
|
|
780
|
+
}
|
|
781
|
+
continue;
|
|
782
|
+
}
|
|
783
|
+
if (chunk.type !== "task_update") {
|
|
784
|
+
emitted.push(chunk);
|
|
785
|
+
continue;
|
|
786
|
+
}
|
|
787
|
+
const previousRow = params.previous.tasks.get(chunk.id);
|
|
788
|
+
const details = resolveTaskFieldDelta(previousRow?.details, chunk.details);
|
|
789
|
+
const output = resolveTaskFieldDelta(previousRow?.output, chunk.output);
|
|
790
|
+
const sourcesChanged = Boolean(chunk.sources) && !previousRow?.sourcesSent;
|
|
791
|
+
const row = {
|
|
792
|
+
title: chunk.title,
|
|
793
|
+
status: chunk.status
|
|
794
|
+
};
|
|
795
|
+
if (details.field) row.details = details.field;
|
|
796
|
+
if (output.field) row.output = output.field;
|
|
797
|
+
if (sourcesChanged || previousRow?.sourcesSent) row.sourcesSent = true;
|
|
798
|
+
nextTasks.set(chunk.id, row);
|
|
799
|
+
if (!(!previousRow || previousRow.title !== chunk.title || previousRow.status !== chunk.status || Boolean(details.delta) || Boolean(output.delta) || sourcesChanged)) continue;
|
|
800
|
+
const update = {
|
|
801
|
+
type: "task_update",
|
|
802
|
+
id: chunk.id,
|
|
803
|
+
title: chunk.title,
|
|
804
|
+
status: chunk.status
|
|
805
|
+
};
|
|
806
|
+
if (details.delta) update.details = details.delta;
|
|
807
|
+
if (output.delta) update.output = output.delta;
|
|
808
|
+
if (sourcesChanged) update.sources = chunk.sources;
|
|
809
|
+
emitted.push(update);
|
|
810
|
+
}
|
|
811
|
+
for (const [id, row] of params.previous.tasks) {
|
|
812
|
+
if (nextTasks.has(id)) continue;
|
|
813
|
+
const recovered = row.status === "error" && params.finalStatus === "complete";
|
|
814
|
+
if (row.status === "complete" || row.status === "error" && !recovered) {
|
|
815
|
+
nextTasks.set(id, row);
|
|
816
|
+
continue;
|
|
817
|
+
}
|
|
818
|
+
const title = recovered ? compactTitle(`Recovered: ${row.title}`) : row.title;
|
|
819
|
+
nextTasks.set(id, {
|
|
820
|
+
...row,
|
|
821
|
+
title,
|
|
822
|
+
status: "complete"
|
|
823
|
+
});
|
|
824
|
+
emitted.push({
|
|
825
|
+
type: "task_update",
|
|
826
|
+
id,
|
|
827
|
+
title,
|
|
828
|
+
status: "complete"
|
|
829
|
+
});
|
|
830
|
+
}
|
|
831
|
+
return {
|
|
832
|
+
chunks: emitted.length > 0 ? emitted : void 0,
|
|
833
|
+
snapshot: {
|
|
834
|
+
...planTitle ? { planTitle } : {},
|
|
835
|
+
tasks: nextTasks
|
|
836
|
+
}
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
//#endregion
|
|
840
|
+
//#region extensions/slack/src/monitor/message-handler/dispatch-progress-render.ts
|
|
841
|
+
function resolveStructuredProgressLines(lines) {
|
|
842
|
+
return lines.map((line) => {
|
|
843
|
+
if (typeof line !== "string") return line;
|
|
844
|
+
const reasoning = line.startsWith("🧠 ");
|
|
845
|
+
const text = line.replace(/^(?:🧠|💬)\s+/u, "").replace(/^_(.*)_$/su, "$1").trim();
|
|
846
|
+
return {
|
|
847
|
+
...reasoning ? { id: "reasoning" } : {},
|
|
848
|
+
kind: "item",
|
|
849
|
+
text,
|
|
850
|
+
label: reasoning ? "Reasoning" : "Update",
|
|
851
|
+
prefix: false
|
|
852
|
+
};
|
|
853
|
+
});
|
|
854
|
+
}
|
|
855
|
+
function resolveNativeProgressLines(snapshot) {
|
|
856
|
+
const lines = resolveStructuredProgressLines(snapshot.lines).filter((line) => line.id !== "reasoning" && line.id?.startsWith("commentary:") !== true);
|
|
857
|
+
if (snapshot.plan?.length || !snapshot.planExplanation) return lines;
|
|
858
|
+
const explanationLine = buildChannelProgressDraftLine({
|
|
859
|
+
event: "plan",
|
|
860
|
+
phase: "update",
|
|
861
|
+
explanation: snapshot.planExplanation
|
|
862
|
+
});
|
|
863
|
+
return explanationLine ? [...lines, explanationLine] : lines;
|
|
864
|
+
}
|
|
865
|
+
function resolveNativeProgressNarration(snapshot) {
|
|
866
|
+
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);
|
|
867
|
+
return paragraphs.length > 0 ? paragraphs.join("\n\n") : void 0;
|
|
868
|
+
}
|
|
869
|
+
function combineProgressHeadlineAndExplanation(headline, explanation) {
|
|
870
|
+
return headline && explanation && headline !== explanation ? `${headline} — ${explanation}` : headline ?? explanation;
|
|
871
|
+
}
|
|
872
|
+
//#endregion
|
|
873
|
+
//#region extensions/slack/src/monitor/message-handler/preview-finalize.ts
|
|
874
|
+
function buildExpectedSlackEditText(params) {
|
|
875
|
+
const trimmedText = params.text.trim();
|
|
876
|
+
if (trimmedText) return normalizeSlackOutboundText(trimmedText);
|
|
877
|
+
if (params.blocks?.length) return normalizeSlackOutboundText(buildSlackBlocksFallbackText(params.blocks));
|
|
878
|
+
return " ";
|
|
879
|
+
}
|
|
880
|
+
function buildAcceptedSlackEditTexts(params) {
|
|
881
|
+
const expected = buildExpectedSlackEditText(params);
|
|
882
|
+
const texts = /* @__PURE__ */ new Set([
|
|
883
|
+
expected,
|
|
884
|
+
normalizeSlackOutboundText(truncateSlackTextByUtf8Bytes(expected, SLACK_EDIT_TEXT_MAX_BYTES)),
|
|
885
|
+
normalizeSlackOutboundText(buildSlackEditTextPayload(params.text, params.blocks))
|
|
886
|
+
]);
|
|
887
|
+
if (params.blocks?.length && hasSlackNativeDataBlock(params.blocks)) {
|
|
888
|
+
const fallbackPlan = buildSlackNativeDataDeliveryPlan({
|
|
889
|
+
baseText: params.text,
|
|
890
|
+
blocks: params.blocks
|
|
891
|
+
});
|
|
892
|
+
for (const message of fallbackPlan.fallbackMessages) texts.add(normalizeSlackOutboundText(message.text));
|
|
893
|
+
}
|
|
894
|
+
return texts;
|
|
895
|
+
}
|
|
896
|
+
function blocksMatch(expected, actual) {
|
|
897
|
+
if (!expected?.length) return !actual?.length;
|
|
898
|
+
if (!actual?.length) {
|
|
899
|
+
if (!hasSlackNativeDataBlock(expected)) return false;
|
|
900
|
+
return buildSlackNativeDataDeliveryPlan({ blocks: expected }).fallbackMessages.every((message) => !message.blocks?.length);
|
|
901
|
+
}
|
|
902
|
+
if (JSON.stringify(expected) === JSON.stringify(actual)) return true;
|
|
903
|
+
if (!hasSlackNativeDataBlock(expected)) return false;
|
|
904
|
+
try {
|
|
905
|
+
const fallbackPlan = buildSlackNativeDataDeliveryPlan({ blocks: expected });
|
|
906
|
+
const fallbackBlocks = fallbackPlan.fallbackMessages.flatMap((message) => message.blocks ?? []);
|
|
907
|
+
if (JSON.stringify(fallbackBlocks) === JSON.stringify(actual)) return true;
|
|
908
|
+
const fallbackText = fallbackPlan.fallbackMessages.map((message) => message.text).filter(Boolean).join("\n\n");
|
|
909
|
+
const actualText = buildSlackBlocksFallbackText(actual);
|
|
910
|
+
return normalizeSlackOutboundText(actualText) === normalizeSlackOutboundText(fallbackText);
|
|
911
|
+
} catch {
|
|
912
|
+
return false;
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
async function readSlackMessageAfterEditError(params) {
|
|
916
|
+
if (params.threadTs) return ((await params.client.conversations.replies({
|
|
917
|
+
token: params.token,
|
|
918
|
+
channel: params.channelId,
|
|
919
|
+
ts: params.threadTs,
|
|
920
|
+
latest: params.messageId,
|
|
921
|
+
oldest: params.messageId,
|
|
922
|
+
inclusive: true,
|
|
923
|
+
limit: 1
|
|
924
|
+
})).messages ?? []).find((message) => message?.ts === params.messageId) ?? null;
|
|
925
|
+
const message = (await params.client.conversations.history({
|
|
926
|
+
token: params.token,
|
|
927
|
+
channel: params.channelId,
|
|
928
|
+
latest: params.messageId,
|
|
929
|
+
oldest: params.messageId,
|
|
930
|
+
inclusive: true,
|
|
931
|
+
limit: 1
|
|
932
|
+
})).messages?.[0];
|
|
933
|
+
if (!message?.ts || message.ts !== params.messageId) return null;
|
|
934
|
+
return message;
|
|
935
|
+
}
|
|
936
|
+
async function didSlackPreviewEditApplyAfterError(params) {
|
|
937
|
+
const readback = await readSlackMessageAfterEditError(params);
|
|
938
|
+
if (!readback) return false;
|
|
939
|
+
const expectedText = buildExpectedSlackEditText({
|
|
940
|
+
text: params.text,
|
|
941
|
+
blocks: params.blocks
|
|
942
|
+
});
|
|
943
|
+
const acceptedTexts = buildAcceptedSlackEditTexts({
|
|
944
|
+
text: params.text,
|
|
945
|
+
blocks: params.blocks
|
|
946
|
+
});
|
|
947
|
+
const actualText = normalizeSlackOutboundText((readback.text ?? "").trim());
|
|
948
|
+
if (params.blocks?.length) return acceptedTexts.has(actualText) && blocksMatch(params.blocks, readback.blocks);
|
|
949
|
+
return actualText === expectedText;
|
|
950
|
+
}
|
|
951
|
+
async function finalizeSlackPreviewEdit(params) {
|
|
952
|
+
try {
|
|
953
|
+
await editSlackRenderedMessage(params.channelId, params.messageId, params.text, {
|
|
954
|
+
token: params.token,
|
|
955
|
+
accountId: params.accountId,
|
|
956
|
+
client: params.client,
|
|
957
|
+
...params.blocks?.length ? { blocks: params.blocks } : {}
|
|
958
|
+
});
|
|
959
|
+
} catch (err) {
|
|
960
|
+
try {
|
|
961
|
+
if (await didSlackPreviewEditApplyAfterError({
|
|
962
|
+
client: params.client,
|
|
963
|
+
token: params.token,
|
|
964
|
+
channelId: params.channelId,
|
|
965
|
+
messageId: params.messageId,
|
|
966
|
+
text: params.text,
|
|
967
|
+
blocks: params.blocks,
|
|
968
|
+
threadTs: params.threadTs
|
|
969
|
+
})) {
|
|
970
|
+
logVerbose(`slack: preview final edit response failed but readback matched message ${params.channelId}/${params.messageId}; suppressing duplicate fallback send`);
|
|
971
|
+
return;
|
|
972
|
+
}
|
|
973
|
+
} catch (readbackErr) {
|
|
974
|
+
logVerbose(`slack: preview final edit readback failed (${String(readbackErr)})`);
|
|
975
|
+
}
|
|
976
|
+
throw err;
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
//#endregion
|
|
980
|
+
//#region extensions/slack/src/monitor/message-handler/dispatch-progress-card.ts
|
|
981
|
+
function createSlackDraftProgressCardRuntime(params) {
|
|
982
|
+
const { account, cfg, ctx, prepared, slackClient } = params.setup;
|
|
983
|
+
let latestFallbackText = "";
|
|
984
|
+
let finalStatus;
|
|
985
|
+
const resolveSessionUrl = () => {
|
|
986
|
+
if (cfg.gateway?.controlUi?.enabled === false) return;
|
|
987
|
+
const publicOrigin = resolveGatewayPublicOrigin(cfg);
|
|
988
|
+
if (!publicOrigin) return;
|
|
989
|
+
const url = new URL(publicOrigin);
|
|
990
|
+
const path = buildControlUiSessionPath({
|
|
991
|
+
namespace: "chat",
|
|
992
|
+
sessionKey: prepared.route.sessionKey,
|
|
993
|
+
fallbackAgentId: prepared.route.agentId,
|
|
994
|
+
basePath: cfg.gateway?.controlUi?.basePath
|
|
995
|
+
});
|
|
996
|
+
if (!path) return;
|
|
997
|
+
url.pathname = path;
|
|
998
|
+
return url.toString();
|
|
999
|
+
};
|
|
1000
|
+
const resolveText = (snapshot) => latestFallbackText || formatChannelProgressDraftText({
|
|
1001
|
+
entry: account.config,
|
|
1002
|
+
lines: [...snapshot.lines],
|
|
1003
|
+
seed: params.progressSeed,
|
|
1004
|
+
formatLine: formatSlackProgressDraftLine,
|
|
1005
|
+
narration: snapshot.statusHeadline,
|
|
1006
|
+
narrationFormat: snapshot.statusHeadlineFormat,
|
|
1007
|
+
plan: snapshot.plan,
|
|
1008
|
+
diffStat: snapshot.diffStat
|
|
1009
|
+
});
|
|
1010
|
+
const resolvePresentation = (snapshot, state) => {
|
|
1011
|
+
const title = params.explicitTitle ?? snapshot.statusHeadline ?? "Working";
|
|
1012
|
+
const titleFormat = params.explicitTitle ? void 0 : snapshot.statusHeadlineFormat;
|
|
1013
|
+
const narration = params.explicitTitle ? snapshot.statusHeadlineFormat === "plain" || snapshot.planExplanationFormat === "plain" ? [...snapshot.statusHeadline && (snapshot.statusHeadline !== snapshot.planExplanation || snapshot.statusHeadlineFormat !== snapshot.planExplanationFormat) ? [{
|
|
1014
|
+
text: snapshot.statusHeadline,
|
|
1015
|
+
format: snapshot.statusHeadlineFormat
|
|
1016
|
+
}] : [], ...snapshot.planExplanation ? [{
|
|
1017
|
+
text: snapshot.planExplanation,
|
|
1018
|
+
format: snapshot.planExplanationFormat
|
|
1019
|
+
}] : []] : combineProgressHeadlineAndExplanation(snapshot.statusHeadline, snapshot.planExplanation) : snapshot.planExplanation && (snapshot.planExplanation !== title || snapshot.planExplanationFormat !== titleFormat) ? [{
|
|
1020
|
+
text: snapshot.planExplanation,
|
|
1021
|
+
format: snapshot.planExplanationFormat
|
|
1022
|
+
}] : void 0;
|
|
1023
|
+
const workCounter = state === "working" ? params.progressWorkCounter : void 0;
|
|
1024
|
+
const sessionUrl = state === "working" ? void 0 : resolveSessionUrl();
|
|
1025
|
+
return buildSlackProgressCardBlocks({
|
|
1026
|
+
state,
|
|
1027
|
+
title,
|
|
1028
|
+
titleFormat,
|
|
1029
|
+
narration,
|
|
1030
|
+
plan: snapshot.plan,
|
|
1031
|
+
lines: resolveStructuredProgressLines(snapshot.lines),
|
|
1032
|
+
maxLineChars: params.maxLineChars,
|
|
1033
|
+
diffStat: snapshot.diffStat,
|
|
1034
|
+
toolCalls: workCounter?.toolCalls,
|
|
1035
|
+
elapsedSeconds: workCounter?.elapsedSeconds,
|
|
1036
|
+
sessionUrl
|
|
1037
|
+
});
|
|
1038
|
+
};
|
|
1039
|
+
const finalize = async (status, snapshot = params.getSnapshot(), fallbackText = resolveText(snapshot)) => {
|
|
1040
|
+
if (!params.draftStream || !params.enabled) return false;
|
|
1041
|
+
await params.draftStream.dropDetachedMessages();
|
|
1042
|
+
const terminalStatus = finalStatus === "error" || status === "error" ? "error" : "success";
|
|
1043
|
+
if (finalStatus === terminalStatus) return true;
|
|
1044
|
+
await params.draftStream.flush();
|
|
1045
|
+
const channelId = params.draftStream.channelId();
|
|
1046
|
+
const messageId = params.draftStream.messageId();
|
|
1047
|
+
if (!channelId || !messageId) return false;
|
|
1048
|
+
await params.draftStream.seal();
|
|
1049
|
+
try {
|
|
1050
|
+
const finalized = await params.draftStream.finalizeMessage(messageId, async () => {
|
|
1051
|
+
await finalizeSlackPreviewEdit({
|
|
1052
|
+
client: slackClient,
|
|
1053
|
+
token: ctx.botToken,
|
|
1054
|
+
accountId: account.accountId,
|
|
1055
|
+
channelId,
|
|
1056
|
+
messageId,
|
|
1057
|
+
text: fallbackText,
|
|
1058
|
+
blocks: resolvePresentation(snapshot, terminalStatus),
|
|
1059
|
+
threadTs: params.getThreadTs()
|
|
1060
|
+
});
|
|
1061
|
+
});
|
|
1062
|
+
if (finalized) finalStatus = terminalStatus;
|
|
1063
|
+
return finalized;
|
|
1064
|
+
} catch (err) {
|
|
1065
|
+
logVerbose(`slack: progress card final edit failed (${formatSlackError(err)})`);
|
|
1066
|
+
return false;
|
|
1067
|
+
}
|
|
1068
|
+
};
|
|
1069
|
+
return {
|
|
1070
|
+
resolveSessionUrl,
|
|
1071
|
+
resolveText,
|
|
1072
|
+
resolvePresentation,
|
|
1073
|
+
finalize,
|
|
1074
|
+
get hasTerminalized() {
|
|
1075
|
+
return finalStatus !== void 0;
|
|
1076
|
+
},
|
|
1077
|
+
setFallbackText(text) {
|
|
1078
|
+
latestFallbackText = text;
|
|
1079
|
+
},
|
|
1080
|
+
reset() {
|
|
1081
|
+
latestFallbackText = "";
|
|
1082
|
+
finalStatus = void 0;
|
|
1083
|
+
}
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
function formatSlackProgressDraftLine(line) {
|
|
1087
|
+
if (/^(?:🧠|💬)\s/u.test(line)) return line;
|
|
1088
|
+
const italicCommentary = /^_(.*)_$/su.exec(line);
|
|
1089
|
+
if (!italicCommentary) return escapeSlackMrkdwn(line);
|
|
1090
|
+
return `_${normalizeSlackOutboundText(italicCommentary[1], {
|
|
1091
|
+
mentions: "escape",
|
|
1092
|
+
enclosingStyle: "italic"
|
|
1093
|
+
})}_`;
|
|
1094
|
+
}
|
|
1095
|
+
//#endregion
|
|
1096
|
+
//#region extensions/slack/src/monitor/message-handler/dispatch-progress-native.ts
|
|
1097
|
+
function createSlackNativeProgressTransport(params) {
|
|
1098
|
+
const { ctx, message, replyPlan, slackClient, slackIdentity, slackStreamFallbackTeamId } = params.setup;
|
|
1099
|
+
const { delivery } = params;
|
|
1100
|
+
const markDelivered = (threadTs) => {
|
|
1101
|
+
if (!delivery.streamSession?.delivered) return false;
|
|
1102
|
+
delivery.observedReplyDelivery = true;
|
|
1103
|
+
if (threadTs) {
|
|
1104
|
+
delivery.usedReplyThreadTs ??= threadTs;
|
|
1105
|
+
delivery.rememberDeliveredThreadTs("block", threadTs);
|
|
1106
|
+
}
|
|
1107
|
+
return true;
|
|
1108
|
+
};
|
|
1109
|
+
const waitForStart = async () => {
|
|
1110
|
+
if (delivery.streamSession || !delivery.nativeProgressStreamStartPromise) return true;
|
|
1111
|
+
try {
|
|
1112
|
+
await delivery.nativeProgressStreamStartPromise;
|
|
1113
|
+
} catch {
|
|
1114
|
+
delivery.streamFailed = true;
|
|
1115
|
+
return false;
|
|
1116
|
+
}
|
|
1117
|
+
return !delivery.streamFailed;
|
|
1118
|
+
};
|
|
1119
|
+
const start = async (update) => {
|
|
1120
|
+
const streamThreadTs = replyPlan.nextThreadTs();
|
|
1121
|
+
if (!streamThreadTs) {
|
|
1122
|
+
logVerbose("slack-stream: no reply thread target for native progress stream start, falling back");
|
|
1123
|
+
delivery.streamFailed = true;
|
|
1124
|
+
return false;
|
|
1125
|
+
}
|
|
1126
|
+
delivery.nativeProgressStreamThreadTs = streamThreadTs;
|
|
1127
|
+
const startPromise = (async () => {
|
|
1128
|
+
const session = await startSlackStream({
|
|
1129
|
+
client: slackClient,
|
|
1130
|
+
clientOptions: params.setup.slackClientOptions,
|
|
1131
|
+
channel: message.channel,
|
|
1132
|
+
threadTs: streamThreadTs,
|
|
1133
|
+
...update.text ? { text: update.text } : {},
|
|
1134
|
+
...update.chunks?.length ? { chunks: update.chunks } : {},
|
|
1135
|
+
taskDisplayMode: "plan",
|
|
1136
|
+
...slackIdentity ? { identity: slackIdentity } : {},
|
|
1137
|
+
teamId: await resolveSlackStreamRecipientTeamId({
|
|
1138
|
+
client: slackClient,
|
|
1139
|
+
token: ctx.botToken,
|
|
1140
|
+
userId: message.user,
|
|
1141
|
+
fallbackTeamId: slackStreamFallbackTeamId
|
|
1142
|
+
}),
|
|
1143
|
+
userId: message.user
|
|
1144
|
+
});
|
|
1145
|
+
delivery.streamSession = session;
|
|
1146
|
+
return session;
|
|
1147
|
+
})();
|
|
1148
|
+
delivery.nativeProgressStreamStartPromise = startPromise;
|
|
1149
|
+
try {
|
|
1150
|
+
if (!await startPromise) return false;
|
|
1151
|
+
const delivered = markDelivered(streamThreadTs);
|
|
1152
|
+
return update.chunks?.length ? delivered : true;
|
|
1153
|
+
} finally {
|
|
1154
|
+
if (delivery.nativeProgressStreamStartPromise === startPromise) delivery.nativeProgressStreamStartPromise = null;
|
|
1155
|
+
}
|
|
1156
|
+
};
|
|
1157
|
+
const append = async (update) => {
|
|
1158
|
+
const session = delivery.streamSession;
|
|
1159
|
+
if (!session) return false;
|
|
1160
|
+
await appendSlackStream({
|
|
1161
|
+
session,
|
|
1162
|
+
...update.text ? { text: update.text } : {},
|
|
1163
|
+
...update.chunks?.length ? { chunks: update.chunks } : {}
|
|
1164
|
+
});
|
|
1165
|
+
const delivered = markDelivered(delivery.nativeProgressStreamThreadTs);
|
|
1166
|
+
return update.chunks?.length ? delivered : true;
|
|
1167
|
+
};
|
|
1168
|
+
return {
|
|
1169
|
+
append,
|
|
1170
|
+
start,
|
|
1171
|
+
waitForStart
|
|
1172
|
+
};
|
|
1173
|
+
}
|
|
1174
|
+
//#endregion
|
|
1175
|
+
//#region extensions/slack/src/monitor/message-handler/dispatch-progress.ts
|
|
1176
|
+
function createSlackProgressRuntime(runtimeParams) {
|
|
1177
|
+
const { setup, delivery, resetPreviewDeliveryState } = runtimeParams;
|
|
1178
|
+
const { account, cfg, ctx, hasSlackCustomIdentity, message, prepared, replyPlan, runtime, slackClient, slackIdentity, slackMessageMetadata, slackStreaming, shouldUseDraftStream, useStreaming, previewStreamingEnabled } = setup;
|
|
1179
|
+
const draftStream = shouldUseDraftStream ? createSlackDraftStream({
|
|
1180
|
+
target: prepared.replyTarget,
|
|
1181
|
+
cfg,
|
|
1182
|
+
token: ctx.botToken,
|
|
1183
|
+
accountId: account.accountId,
|
|
1184
|
+
conversationChannelId: message.channel,
|
|
1185
|
+
eventScope: prepared.eventScope,
|
|
1186
|
+
...!hasSlackCustomIdentity && slackIdentity ? { identity: slackIdentity } : {},
|
|
1187
|
+
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {},
|
|
1188
|
+
maxChars: Math.min(ctx.textLimit, SLACK_TEXT_LIMIT),
|
|
1189
|
+
resolveThreadTs: () => {
|
|
1190
|
+
const ts = replyPlan.peekThreadTs();
|
|
1191
|
+
if (ts) delivery.usedReplyThreadTs ??= ts;
|
|
1192
|
+
return ts;
|
|
1193
|
+
},
|
|
1194
|
+
log: logVerbose,
|
|
1195
|
+
warn: logVerbose
|
|
1196
|
+
}) : void 0;
|
|
1197
|
+
const isProgressMode = slackStreaming.mode === "progress";
|
|
1198
|
+
const useNativeProgressStreaming = useStreaming && slackStreaming.mode === "progress";
|
|
1199
|
+
const progressDraftActive = Boolean(draftStream) || useNativeProgressStreaming;
|
|
1200
|
+
const previewToolProgressEnabled = progressDraftActive && resolveChannelStreamingPreviewToolProgress(account.config, slackStreaming.mode !== "progress", slackStreaming.mode);
|
|
1201
|
+
let shouldYieldDraftProgress = () => false;
|
|
1202
|
+
const suppressDefaultToolProgressMessages = resolveChannelStreamingSuppressDefaultToolProgressMessages(account.config, {
|
|
1203
|
+
draftStreamActive: Boolean(draftStream) || useNativeProgressStreaming,
|
|
1204
|
+
mode: slackStreaming.mode,
|
|
1205
|
+
previewToolProgressEnabled,
|
|
1206
|
+
previewStreamingEnabled
|
|
1207
|
+
});
|
|
1208
|
+
let nativeStreamSnapshot = EMPTY_SLACK_NATIVE_STREAM_SNAPSHOT;
|
|
1209
|
+
let appendRenderedText = "";
|
|
1210
|
+
let appendSourceText = "";
|
|
1211
|
+
let nativeProgressCompletionSent = false;
|
|
1212
|
+
let nativeProgressTerminalStatus = "complete";
|
|
1213
|
+
let nativeNarrationRenderedText = "";
|
|
1214
|
+
let nativeNarrationSourceText = "";
|
|
1215
|
+
let nativeStreamOrder = Promise.resolve();
|
|
1216
|
+
const withNativeStreamOrder = (task) => {
|
|
1217
|
+
const run = nativeStreamOrder.then(task, task);
|
|
1218
|
+
nativeStreamOrder = run.catch(() => void 0);
|
|
1219
|
+
return run;
|
|
1220
|
+
};
|
|
1221
|
+
const progressWorkCounter = createChannelProgressWorkCounter();
|
|
1222
|
+
const progressSeed = `${account.accountId}:${message.channel}`;
|
|
1223
|
+
const slackProgressStyle = resolveSlackProgressStyle(account.config);
|
|
1224
|
+
const preambleOnlyProgress = isProgressMode && slackProgressStyle === "compact" && !previewToolProgressEnabled;
|
|
1225
|
+
const useDraftProgressCard = Boolean(draftStream) && isProgressMode && slackProgressStyle === "card";
|
|
1226
|
+
const explicitProgressTitle = resolveExplicitSlackProgressTitle(account.config);
|
|
1227
|
+
const progressDraftMaxLineChars = resolveChannelProgressDraftMaxLineChars(account.config);
|
|
1228
|
+
const progressCard = createSlackDraftProgressCardRuntime({
|
|
1229
|
+
setup: {
|
|
1230
|
+
account,
|
|
1231
|
+
cfg,
|
|
1232
|
+
ctx,
|
|
1233
|
+
prepared,
|
|
1234
|
+
slackClient
|
|
1235
|
+
},
|
|
1236
|
+
draftStream,
|
|
1237
|
+
enabled: useDraftProgressCard,
|
|
1238
|
+
progressWorkCounter: previewToolProgressEnabled ? progressWorkCounter : void 0,
|
|
1239
|
+
progressSeed,
|
|
1240
|
+
explicitTitle: explicitProgressTitle,
|
|
1241
|
+
maxLineChars: progressDraftMaxLineChars,
|
|
1242
|
+
getSnapshot: () => progressDraft.getSnapshot(),
|
|
1243
|
+
getThreadTs: () => delivery.usedReplyThreadTs
|
|
1244
|
+
});
|
|
1245
|
+
const nativeTransport = createSlackNativeProgressTransport({
|
|
1246
|
+
setup,
|
|
1247
|
+
delivery
|
|
1248
|
+
});
|
|
1249
|
+
const dropDetachedProgressCards = async () => {
|
|
1250
|
+
if (!useDraftProgressCard) return;
|
|
1251
|
+
await draftStream?.dropDetachedMessages();
|
|
1252
|
+
};
|
|
1253
|
+
const appendNativeProgressCompletion = async (isError) => {
|
|
1254
|
+
const session = delivery.streamSession;
|
|
1255
|
+
if (isError) nativeProgressTerminalStatus = "error";
|
|
1256
|
+
if (!session || nativeProgressCompletionSent) return;
|
|
1257
|
+
const chunks = buildNativeProgressCompletionChunks(isError ? "error" : "complete");
|
|
1258
|
+
const narrationUpdate = resolveNarrationUpdate(resolveNativeProgressNarration(progressDraft.getSnapshot()));
|
|
1259
|
+
if (!chunks?.length && !narrationUpdate.delta) return;
|
|
1260
|
+
try {
|
|
1261
|
+
await appendSlackStream({
|
|
1262
|
+
session,
|
|
1263
|
+
chunks
|
|
1264
|
+
});
|
|
1265
|
+
if (narrationUpdate.next.changed) {
|
|
1266
|
+
nativeNarrationRenderedText = narrationUpdate.next.rendered;
|
|
1267
|
+
nativeNarrationSourceText = narrationUpdate.next.source;
|
|
1268
|
+
}
|
|
1269
|
+
nativeProgressCompletionSent = true;
|
|
1270
|
+
delivery.observedReplyDelivery ||= session.delivered;
|
|
1271
|
+
} catch (err) {
|
|
1272
|
+
delivery.streamFailed = true;
|
|
1273
|
+
runtime.error?.(danger(`slack-stream: native progress completion failed: ${formatSlackError(err)}`));
|
|
1274
|
+
}
|
|
1275
|
+
};
|
|
1276
|
+
const resolveNativeProgressTitle = (snapshot) => combineProgressHeadlineAndExplanation(explicitProgressTitle ?? snapshot.statusHeadline, snapshot.planExplanation);
|
|
1277
|
+
const normalizeProgressText = (text) => text?.replace(/\s+/gu, " ").trim() ?? "";
|
|
1278
|
+
const isRenderedAsProgressTitle = (text) => {
|
|
1279
|
+
const candidate = normalizeProgressText(text);
|
|
1280
|
+
if (!candidate) return false;
|
|
1281
|
+
const snapshot = progressDraft.getSnapshot();
|
|
1282
|
+
const title = normalizeProgressText(combineProgressHeadlineAndExplanation(explicitProgressTitle ?? (snapshot.statusHeadlineFormat === "plain" ? void 0 : snapshot.statusHeadline), snapshot.planExplanationFormat === "plain" ? void 0 : snapshot.planExplanation));
|
|
1283
|
+
return title.length > 0 && title.includes(candidate);
|
|
1284
|
+
};
|
|
1285
|
+
const resolveNarrationUpdate = (incoming) => {
|
|
1286
|
+
const next = applyAppendOnlyStreamUpdate({
|
|
1287
|
+
incoming: incoming ?? "",
|
|
1288
|
+
rendered: nativeNarrationRenderedText,
|
|
1289
|
+
source: nativeNarrationSourceText
|
|
1290
|
+
});
|
|
1291
|
+
return {
|
|
1292
|
+
next,
|
|
1293
|
+
delta: next.changed ? next.rendered.slice(nativeNarrationRenderedText.length) : ""
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
const updateNativeProgressStreamNow = async () => {
|
|
1297
|
+
const snapshot = progressDraft.getSnapshot();
|
|
1298
|
+
const narrationUpdate = resolveNarrationUpdate(resolveNativeProgressNarration(snapshot));
|
|
1299
|
+
if (!useNativeProgressStreaming || delivery.streamFailed || nativeUpdatesStopped) return false;
|
|
1300
|
+
if (!await nativeTransport.waitForStart()) return false;
|
|
1301
|
+
const reconciled = reconcileSlackNativeTaskChunks({
|
|
1302
|
+
previous: nativeStreamSnapshot,
|
|
1303
|
+
chunks: buildSlackProgressStreamChunks({
|
|
1304
|
+
title: resolveNativeProgressTitle(snapshot),
|
|
1305
|
+
lines: resolveNativeProgressLines(snapshot),
|
|
1306
|
+
plan: snapshot.plan,
|
|
1307
|
+
maxLineChars: progressDraftMaxLineChars,
|
|
1308
|
+
summaryRow: !previewToolProgressEnabled
|
|
1309
|
+
})
|
|
1310
|
+
});
|
|
1311
|
+
const chunks = reconciled.chunks;
|
|
1312
|
+
if (!chunks?.length && !narrationUpdate.delta) return false;
|
|
1313
|
+
try {
|
|
1314
|
+
const hadSession = Boolean(delivery.streamSession);
|
|
1315
|
+
const streamUpdate = {
|
|
1316
|
+
...narrationUpdate.delta ? { text: narrationUpdate.delta } : {},
|
|
1317
|
+
...chunks?.length ? { chunks } : {}
|
|
1318
|
+
};
|
|
1319
|
+
if (!(hadSession ? await nativeTransport.append(streamUpdate) : await nativeTransport.start(streamUpdate))) return false;
|
|
1320
|
+
if (!hadSession) replyPlan.markSent();
|
|
1321
|
+
if (narrationUpdate.next.changed) {
|
|
1322
|
+
nativeNarrationRenderedText = narrationUpdate.next.rendered;
|
|
1323
|
+
nativeNarrationSourceText = narrationUpdate.next.source;
|
|
1324
|
+
}
|
|
1325
|
+
if (chunks?.length) nativeStreamSnapshot = reconciled.snapshot;
|
|
1326
|
+
return true;
|
|
1327
|
+
} catch (err) {
|
|
1328
|
+
runtime.error?.(danger(`slack-stream: native progress stream failed: ${formatSlackError(err)}, falling back`));
|
|
1329
|
+
delivery.streamFailed = true;
|
|
1330
|
+
return false;
|
|
1331
|
+
}
|
|
1332
|
+
};
|
|
1333
|
+
let nativeUpdatesStopped = false;
|
|
1334
|
+
const nativeUpdates = createDraftStreamLoop({
|
|
1335
|
+
throttleMs: 1e3,
|
|
1336
|
+
coalesceInFlight: true,
|
|
1337
|
+
emptyValue: false,
|
|
1338
|
+
isEmpty: (pending) => !pending,
|
|
1339
|
+
isStopped: () => nativeUpdatesStopped,
|
|
1340
|
+
sendOrEditStreamMessage: () => withNativeStreamOrder(updateNativeProgressStreamNow),
|
|
1341
|
+
onBackgroundFlushError: (err) => runtime.error?.(danger(`slack-stream: progress update failed: ${formatSlackError(err)}`))
|
|
1342
|
+
});
|
|
1343
|
+
const cancelNativeUpdates = async () => {
|
|
1344
|
+
nativeUpdatesStopped = true;
|
|
1345
|
+
nativeUpdates.stop();
|
|
1346
|
+
await nativeUpdates.waitForInFlight();
|
|
1347
|
+
};
|
|
1348
|
+
const appendNativeNarration = (payload, kind) => withNativeStreamOrder(() => appendNativeNarrationNow(payload, kind));
|
|
1349
|
+
const appendNativeNarrationNow = async (payload, kind) => {
|
|
1350
|
+
if (isRenderedAsProgressTitle(payload.text)) return false;
|
|
1351
|
+
const narrationUpdate = resolveNarrationUpdate(payload.text?.trimEnd());
|
|
1352
|
+
if (!narrationUpdate.delta) return false;
|
|
1353
|
+
await delivery.deliverWithStreaming({
|
|
1354
|
+
payload,
|
|
1355
|
+
kind,
|
|
1356
|
+
streamText: narrationUpdate.delta,
|
|
1357
|
+
appendSeparator: false,
|
|
1358
|
+
taskDisplayMode: "plan"
|
|
1359
|
+
});
|
|
1360
|
+
if (!delivery.streamFailed) {
|
|
1361
|
+
nativeNarrationRenderedText = narrationUpdate.next.rendered;
|
|
1362
|
+
nativeNarrationSourceText = narrationUpdate.next.source;
|
|
1363
|
+
}
|
|
1364
|
+
return true;
|
|
1365
|
+
};
|
|
1366
|
+
const resetProgressTurnState = () => {
|
|
1367
|
+
progressWorkCounter.reset();
|
|
1368
|
+
nativeNarrationRenderedText = "";
|
|
1369
|
+
nativeNarrationSourceText = "";
|
|
1370
|
+
};
|
|
1371
|
+
const progressDraft = createChannelProgressDraftCompositor({
|
|
1372
|
+
entry: account.config,
|
|
1373
|
+
mode: slackStreaming.mode,
|
|
1374
|
+
active: progressDraftActive,
|
|
1375
|
+
seed: progressSeed,
|
|
1376
|
+
formatLine: formatSlackProgressDraftLine,
|
|
1377
|
+
reasoningLinePrefix: "🧠 ",
|
|
1378
|
+
reasoningGate: !preambleOnlyProgress,
|
|
1379
|
+
updateOnLineChange: useNativeProgressStreaming || useDraftProgressCard || preambleOnlyProgress,
|
|
1380
|
+
update: async (previewText, options) => {
|
|
1381
|
+
if (useNativeProgressStreaming) {
|
|
1382
|
+
const priorSnapshot = nativeStreamSnapshot;
|
|
1383
|
+
const priorNarration = nativeNarrationRenderedText;
|
|
1384
|
+
nativeUpdates.update(true);
|
|
1385
|
+
if (options?.flush) await nativeUpdates.flush();
|
|
1386
|
+
else await nativeUpdates.waitForInFlight();
|
|
1387
|
+
return priorSnapshot !== nativeStreamSnapshot || priorNarration !== nativeNarrationRenderedText;
|
|
1388
|
+
}
|
|
1389
|
+
if (!draftStream) return false;
|
|
1390
|
+
const snapshot = options.snapshot;
|
|
1391
|
+
const latestLine = snapshot.lines.at(-1);
|
|
1392
|
+
if (preambleOnlyProgress && typeof latestLine === "object" && latestLine.complete === false) return false;
|
|
1393
|
+
progressCard.setFallbackText(previewText);
|
|
1394
|
+
draftStream.update(preambleOnlyProgress ? {
|
|
1395
|
+
text: previewText,
|
|
1396
|
+
allowNewMessage: typeof latestLine !== "object" || latestLine.complete !== false,
|
|
1397
|
+
...snapshot.preparedBlocks ? { blocks: buildSlackProgressTextBlocks(snapshot.preparedBlocks) } : {}
|
|
1398
|
+
} : useDraftProgressCard ? {
|
|
1399
|
+
text: previewText,
|
|
1400
|
+
blocks: progressCard.resolvePresentation(snapshot, "working")
|
|
1401
|
+
} : snapshot.preparedBlocks ? {
|
|
1402
|
+
text: previewText,
|
|
1403
|
+
blocks: buildSlackProgressTextBlocks(snapshot.preparedBlocks)
|
|
1404
|
+
} : previewText);
|
|
1405
|
+
if (options?.flush) await draftStream.flush();
|
|
1406
|
+
return Boolean(draftStream.messageId() && draftStream.channelId());
|
|
1407
|
+
},
|
|
1408
|
+
deleteCurrent: async () => {
|
|
1409
|
+
if (useNativeProgressStreaming) {
|
|
1410
|
+
nativeUpdates.update(true);
|
|
1411
|
+
await nativeUpdates.flush();
|
|
1412
|
+
} else {
|
|
1413
|
+
await draftStream?.clear();
|
|
1414
|
+
draftStream?.forceNewMessage();
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
});
|
|
1418
|
+
const commentaryProgressEnabled = progressDraft.commentaryProgressEnabled;
|
|
1419
|
+
const deliverNativeFinal = async (payload, kind) => {
|
|
1420
|
+
progressDraft.markFinalReplyStarted();
|
|
1421
|
+
await cancelNativeUpdates();
|
|
1422
|
+
await withNativeStreamOrder(() => deliverNativeFinalNow(payload, kind));
|
|
1423
|
+
};
|
|
1424
|
+
const deliverNativeFinalNow = async (payload, kind) => {
|
|
1425
|
+
progressDraft.markFinalReplyStarted();
|
|
1426
|
+
const streamReady = await nativeTransport.waitForStart();
|
|
1427
|
+
const finalThreadTs = delivery.streamSession?.threadTs ?? delivery.nativeProgressStreamThreadTs;
|
|
1428
|
+
if (payload.isError !== true && streamReady && Boolean(delivery.streamSession) && delivery.isStreamingEligible(payload, { maxTextBytes: 4e3 })) {
|
|
1429
|
+
await appendNativeProgressCompletion(false);
|
|
1430
|
+
await delivery.deliverWithStreaming({
|
|
1431
|
+
payload,
|
|
1432
|
+
kind
|
|
1433
|
+
});
|
|
1434
|
+
} else {
|
|
1435
|
+
await delivery.deliverNormally({
|
|
1436
|
+
payload,
|
|
1437
|
+
kind,
|
|
1438
|
+
forcedThreadTs: finalThreadTs
|
|
1439
|
+
});
|
|
1440
|
+
await appendNativeProgressCompletion(payload.isError === true);
|
|
1441
|
+
}
|
|
1442
|
+
progressDraft.markFinalReplyDelivered();
|
|
1443
|
+
};
|
|
1444
|
+
const buildNativeProgressCompletionChunks = (finalInProgressStatus) => {
|
|
1445
|
+
const snapshot = progressDraft.getSnapshot();
|
|
1446
|
+
const lines = resolveNativeProgressLines(snapshot);
|
|
1447
|
+
const sessionUrl = progressCard.resolveSessionUrl();
|
|
1448
|
+
const narrationUpdate = resolveNarrationUpdate(resolveNativeProgressNarration(snapshot));
|
|
1449
|
+
const hasRetirableNativeTasks = [...nativeStreamSnapshot.tasks.values()].some((task) => task.status !== "complete" && task.status !== "error");
|
|
1450
|
+
if (lines.length === 0 && !snapshot.plan?.length && !hasRetirableNativeTasks && !snapshot.diffStat && !narrationUpdate.delta && !sessionUrl) return;
|
|
1451
|
+
const completion = reconcileSlackNativeTaskChunks({
|
|
1452
|
+
previous: nativeStreamSnapshot,
|
|
1453
|
+
finalStatus: finalInProgressStatus,
|
|
1454
|
+
chunks: buildSlackProgressStreamChunks({
|
|
1455
|
+
title: resolveNativeProgressTitle(snapshot) ?? (lines.length === 0 && !snapshot.plan?.length ? "Working" : void 0),
|
|
1456
|
+
lines,
|
|
1457
|
+
plan: snapshot.plan,
|
|
1458
|
+
maxLineChars: progressDraftMaxLineChars,
|
|
1459
|
+
summaryRow: !previewToolProgressEnabled,
|
|
1460
|
+
finalInProgressStatus,
|
|
1461
|
+
diffStat: snapshot.diffStat,
|
|
1462
|
+
sessionUrl
|
|
1463
|
+
})
|
|
1464
|
+
}).chunks;
|
|
1465
|
+
return narrationUpdate.delta ? [{
|
|
1466
|
+
type: "markdown_text",
|
|
1467
|
+
text: narrationUpdate.delta
|
|
1468
|
+
}, ...completion ?? []] : completion;
|
|
1469
|
+
};
|
|
1470
|
+
const finishNativeProgressTurn = async (completionChunks) => {
|
|
1471
|
+
if (delivery.nativeProgressStreamStartPromise) await delivery.nativeProgressStreamStartPromise.catch(() => null);
|
|
1472
|
+
if (completionChunks?.length) nativeProgressCompletionSent = true;
|
|
1473
|
+
await delivery.finishStream(completionChunks);
|
|
1474
|
+
delivery.streamSession = null;
|
|
1475
|
+
delivery.nativeProgressStreamStartPromise = null;
|
|
1476
|
+
delivery.nativeProgressStreamThreadTs = void 0;
|
|
1477
|
+
delivery.streamFailed = false;
|
|
1478
|
+
};
|
|
1479
|
+
const pushPlanProgress = async (steps, explanation, explanationFormat) => {
|
|
1480
|
+
if (isProgressMode && slackProgressStyle === "compact") return false;
|
|
1481
|
+
return await progressDraft.pushPlanProgress(steps, {
|
|
1482
|
+
explanation,
|
|
1483
|
+
explanationFormat
|
|
1484
|
+
});
|
|
1485
|
+
};
|
|
1486
|
+
const updateDraftFromPartial = (text) => {
|
|
1487
|
+
const trimmed = text && sanitizeAssistantVisibleText(text).trimEnd();
|
|
1488
|
+
if (!trimmed) return false;
|
|
1489
|
+
if (slackStreaming.mode === "block") {
|
|
1490
|
+
progressDraft.resetActivity({ suppressed: true });
|
|
1491
|
+
const next = applyAppendOnlyStreamUpdate({
|
|
1492
|
+
incoming: trimmed,
|
|
1493
|
+
rendered: appendRenderedText,
|
|
1494
|
+
source: appendSourceText
|
|
1495
|
+
});
|
|
1496
|
+
appendRenderedText = next.rendered;
|
|
1497
|
+
appendSourceText = next.source;
|
|
1498
|
+
if (!next.changed) return false;
|
|
1499
|
+
draftStream?.update(next.rendered);
|
|
1500
|
+
return false;
|
|
1501
|
+
}
|
|
1502
|
+
if (isProgressMode) return false;
|
|
1503
|
+
progressDraft.resetActivity({ suppressed: true });
|
|
1504
|
+
draftStream?.update(trimmed);
|
|
1505
|
+
return false;
|
|
1506
|
+
};
|
|
1507
|
+
const pushReasoningProgress = async (payload) => {
|
|
1508
|
+
if (!payload?.text) return false;
|
|
1509
|
+
if (!isProgressMode) {
|
|
1510
|
+
const normalized = progressDraft.mergeReasoningProgress(payload.text, { snapshot: payload.isReasoningSnapshot === true }).replace(/^_(.*)_$/su, "$1").trim();
|
|
1511
|
+
if (!normalized) return false;
|
|
1512
|
+
const visible = await progressDraft.pushToolProgress({
|
|
1513
|
+
id: "reasoning",
|
|
1514
|
+
kind: "item",
|
|
1515
|
+
text: normalized,
|
|
1516
|
+
label: "Reasoning"
|
|
1517
|
+
});
|
|
1518
|
+
progressDraft.mergeReasoningProgress(normalized, { snapshot: true });
|
|
1519
|
+
return visible;
|
|
1520
|
+
}
|
|
1521
|
+
return await progressDraft.pushReasoningProgress(payload.text, { snapshot: payload.isReasoningSnapshot === true });
|
|
1522
|
+
};
|
|
1523
|
+
const resetDraftDeliveryState = () => {
|
|
1524
|
+
appendRenderedText = "";
|
|
1525
|
+
appendSourceText = "";
|
|
1526
|
+
};
|
|
1527
|
+
const beginNewProgressTurn = async (options) => {
|
|
1528
|
+
if (useNativeProgressStreaming) {
|
|
1529
|
+
if (!nativeUpdatesStopped && options?.force !== true) return false;
|
|
1530
|
+
await cancelNativeUpdates();
|
|
1531
|
+
}
|
|
1532
|
+
const priorSnapshot = progressDraft.getSnapshot();
|
|
1533
|
+
const priorFallbackText = progressCard.resolveText(priorSnapshot);
|
|
1534
|
+
const completionChunks = useNativeProgressStreaming && !nativeProgressCompletionSent ? buildNativeProgressCompletionChunks(nativeProgressTerminalStatus) : void 0;
|
|
1535
|
+
if (!progressDraft.beginNewTurn(options)) return false;
|
|
1536
|
+
if (useNativeProgressStreaming) await finishNativeProgressTurn(completionChunks);
|
|
1537
|
+
else {
|
|
1538
|
+
await progressCard.finalize("success", priorSnapshot, priorFallbackText);
|
|
1539
|
+
draftStream?.forceNewMessage();
|
|
1540
|
+
await dropDetachedProgressCards();
|
|
1541
|
+
}
|
|
1542
|
+
resetProgressTurnState();
|
|
1543
|
+
nativeStreamSnapshot = EMPTY_SLACK_NATIVE_STREAM_SNAPSHOT;
|
|
1544
|
+
nativeProgressCompletionSent = false;
|
|
1545
|
+
nativeProgressTerminalStatus = "complete";
|
|
1546
|
+
nativeUpdatesStopped = false;
|
|
1547
|
+
nativeUpdates.resetThrottleWindow();
|
|
1548
|
+
progressCard.reset();
|
|
1549
|
+
resetPreviewDeliveryState();
|
|
1550
|
+
delivery.resetDeliveryTracker();
|
|
1551
|
+
return true;
|
|
1552
|
+
};
|
|
1553
|
+
const onDraftBoundary = !shouldUseDraftStream && !useNativeProgressStreaming ? void 0 : async () => {
|
|
1554
|
+
if (isProgressMode) {
|
|
1555
|
+
await beginNewProgressTurn();
|
|
1556
|
+
progressDraft.beginAssistantMessage();
|
|
1557
|
+
return;
|
|
1558
|
+
}
|
|
1559
|
+
resetDraftDeliveryState();
|
|
1560
|
+
progressDraft.beginAssistantMessage();
|
|
1561
|
+
};
|
|
1562
|
+
const onQueuedFollowupAdmitted = !shouldUseDraftStream && !useNativeProgressStreaming ? void 0 : async () => {
|
|
1563
|
+
await draftStream?.flush();
|
|
1564
|
+
resetPreviewDeliveryState();
|
|
1565
|
+
if (isProgressMode) await beginNewProgressTurn({ force: true });
|
|
1566
|
+
else draftStream?.forceNewMessage();
|
|
1567
|
+
delivery.resetDeliveryTracker();
|
|
1568
|
+
resetDraftDeliveryState();
|
|
1569
|
+
progressDraft.reset();
|
|
1570
|
+
};
|
|
1571
|
+
const onQueuedFollowupSettled = !useDraftProgressCard && !useNativeProgressStreaming && !preambleOnlyProgress ? void 0 : async () => {
|
|
1572
|
+
if (useNativeProgressStreaming) {
|
|
1573
|
+
progressDraft.markFinalReplyStarted();
|
|
1574
|
+
await cancelNativeUpdates();
|
|
1575
|
+
await finishNativeProgressTurn(nativeProgressCompletionSent ? void 0 : buildNativeProgressCompletionChunks(nativeProgressTerminalStatus));
|
|
1576
|
+
progressDraft.markFinalReplyDelivered();
|
|
1577
|
+
return;
|
|
1578
|
+
}
|
|
1579
|
+
if (preambleOnlyProgress) {
|
|
1580
|
+
progressDraft.markFinalReplyStarted();
|
|
1581
|
+
await draftStream?.clear();
|
|
1582
|
+
await draftStream?.dropDetachedMessages();
|
|
1583
|
+
progressDraft.markFinalReplyDelivered();
|
|
1584
|
+
return;
|
|
1585
|
+
}
|
|
1586
|
+
if (!progressCard.hasTerminalized) await draftStream?.clear();
|
|
1587
|
+
await dropDetachedProgressCards();
|
|
1588
|
+
};
|
|
1589
|
+
return {
|
|
1590
|
+
draftStream,
|
|
1591
|
+
isProgressMode,
|
|
1592
|
+
useDraftProgressCard,
|
|
1593
|
+
useNativeProgressStreaming,
|
|
1594
|
+
progressDraftActive,
|
|
1595
|
+
previewToolProgressEnabled,
|
|
1596
|
+
preambleOnlyProgress,
|
|
1597
|
+
suppressDefaultToolProgressMessages,
|
|
1598
|
+
progressDraft,
|
|
1599
|
+
progressWorkCounter,
|
|
1600
|
+
commentaryProgressEnabled,
|
|
1601
|
+
async cancel() {
|
|
1602
|
+
progressDraft.cancel();
|
|
1603
|
+
await cancelNativeUpdates();
|
|
1604
|
+
},
|
|
1605
|
+
get nativeProgressCompletionSent() {
|
|
1606
|
+
return nativeProgressCompletionSent;
|
|
1607
|
+
},
|
|
1608
|
+
set nativeProgressCompletionSent(value) {
|
|
1609
|
+
nativeProgressCompletionSent = value;
|
|
1610
|
+
},
|
|
1611
|
+
get nativeProgressTerminalStatus() {
|
|
1612
|
+
return nativeProgressTerminalStatus;
|
|
1613
|
+
},
|
|
1614
|
+
appendNativeNarration,
|
|
1615
|
+
buildNativeProgressCompletionChunks,
|
|
1616
|
+
deliverNativeFinal,
|
|
1617
|
+
dropDetachedProgressCards,
|
|
1618
|
+
finalizeDraftProgressCard: progressCard.finalize,
|
|
1619
|
+
onDraftBoundary,
|
|
1620
|
+
onQueuedFollowupAdmitted,
|
|
1621
|
+
onQueuedFollowupSettled,
|
|
1622
|
+
pushPlanProgress,
|
|
1623
|
+
pushReasoningProgress,
|
|
1624
|
+
updateDraftFromPartial,
|
|
1625
|
+
setShouldYieldDraftProgress: (value) => {
|
|
1626
|
+
shouldYieldDraftProgress = value;
|
|
1627
|
+
},
|
|
1628
|
+
shouldYieldDraftProgress: () => shouldYieldDraftProgress()
|
|
1629
|
+
};
|
|
1630
|
+
}
|
|
1631
|
+
//#endregion
|
|
1632
|
+
//#region extensions/slack/src/monitor/message-handler/dispatch-setup.ts
|
|
1633
|
+
async function createSlackDispatchSetup(prepared) {
|
|
1634
|
+
const { ctx, account, message, route } = prepared;
|
|
1635
|
+
const slackClient = prepared.eventScope?.client ?? ctx.app.client;
|
|
1636
|
+
const slackClientOptions = {
|
|
1637
|
+
...ctx.app.webClientOptions,
|
|
1638
|
+
...prepared.eventScope ? { teamId: prepared.eventScope.teamId } : {}
|
|
1639
|
+
};
|
|
1640
|
+
const slackStreamFallbackTeamId = prepared.eventScope?.teamId ?? ctx.teamId;
|
|
1641
|
+
const cfg = ctx.cfg;
|
|
1642
|
+
const runtime = ctx.runtime;
|
|
1643
|
+
const outboundIdentity = resolveAgentOutboundIdentity(cfg, route.agentId);
|
|
1644
|
+
const slackIdentity = outboundIdentity ? {
|
|
1645
|
+
username: outboundIdentity.name,
|
|
1646
|
+
iconUrl: outboundIdentity.avatarUrl,
|
|
1647
|
+
iconEmoji: outboundIdentity.emoji
|
|
1648
|
+
} : prepared.relayIdentity;
|
|
1649
|
+
if (prepared.isDirectMessage) {
|
|
1650
|
+
const sessionCfg = cfg.session;
|
|
1651
|
+
const storePath = resolveStorePath(sessionCfg?.store, { agentId: route.agentId });
|
|
1652
|
+
const pinnedMainDmOwner = resolvePinnedMainDmOwnerFromAllowlist({
|
|
1653
|
+
dmScope: cfg.session?.dmScope,
|
|
1654
|
+
allowFrom: ctx.allowFrom,
|
|
1655
|
+
normalizeEntry: normalizeSlackAllowOwnerEntry
|
|
1656
|
+
});
|
|
1657
|
+
const senderRecipient = normalizeOptionalLowercaseString(message.user);
|
|
1658
|
+
const inboundLastRouteSessionKey = resolveInboundLastRouteSessionKey({
|
|
1659
|
+
route,
|
|
1660
|
+
sessionKey: prepared.ctxPayload.SessionKey ?? route.sessionKey
|
|
1661
|
+
});
|
|
1662
|
+
if (inboundLastRouteSessionKey === route.mainSessionKey && pinnedMainDmOwner && senderRecipient && normalizeOptionalLowercaseString(pinnedMainDmOwner) !== senderRecipient) logVerbose(`slack: skip main-session last route for ${senderRecipient} (pinned owner ${pinnedMainDmOwner})`);
|
|
1663
|
+
else await updateLastRoute({
|
|
1664
|
+
storePath,
|
|
1665
|
+
sessionKey: inboundLastRouteSessionKey,
|
|
1666
|
+
deliveryContext: {
|
|
1667
|
+
channel: "slack",
|
|
1668
|
+
to: prepared.ctxPayload.OriginatingTo ?? prepared.ctxPayload.To ?? `user:${message.user}`,
|
|
1669
|
+
accountId: route.accountId,
|
|
1670
|
+
threadId: prepared.ctxPayload.MessageThreadId ?? prepared.ctxPayload.TransportThreadId
|
|
1671
|
+
},
|
|
1672
|
+
ctx: prepared.ctxPayload
|
|
1673
|
+
});
|
|
1674
|
+
}
|
|
1675
|
+
const threadTargets = resolveSlackThreadTargets({
|
|
1676
|
+
message,
|
|
1677
|
+
replyToMode: prepared.replyToMode
|
|
1678
|
+
});
|
|
1679
|
+
const forcedReplyThreadTs = prepared.forcedReplyThreadTs;
|
|
1680
|
+
const slackMessageMetadata = prepared.slackMessageMetadata;
|
|
1681
|
+
const statusThreadTs = forcedReplyThreadTs ?? threadTargets.statusThreadTs;
|
|
1682
|
+
const isThreadReply = threadTargets.isThreadReply;
|
|
1683
|
+
const replyDeliveryMode = forcedReplyThreadTs ? "off" : prepared.replyToMode;
|
|
1684
|
+
const sourceReplyDeliveryMode = resolveChannelMessageSourceReplyDeliveryMode({
|
|
1685
|
+
cfg,
|
|
1686
|
+
ctx: prepared.ctxPayload
|
|
1687
|
+
});
|
|
1688
|
+
const sourceRepliesAreToolOnly = sourceReplyDeliveryMode === "message_tool_only";
|
|
1689
|
+
const suppressRoomEventTyping = prepared.ctxPayload.InboundEventKind === "room_event";
|
|
1690
|
+
const messageSentHookTarget = prepared.ctxPayload.OriginatingTo ?? prepared.ctxPayload.To ?? prepared.replyTarget;
|
|
1691
|
+
const messageSentHookContext = {
|
|
1692
|
+
sessionKeyForInternalHooks: prepared.ctxPayload.SessionKey ?? route.sessionKey,
|
|
1693
|
+
isGroup: prepared.isRoomish,
|
|
1694
|
+
groupId: prepared.isRoomish ? message.channel : void 0
|
|
1695
|
+
};
|
|
1696
|
+
const messageSentDeliveryHookContext = {
|
|
1697
|
+
...messageSentHookContext,
|
|
1698
|
+
messageSentHookTarget
|
|
1699
|
+
};
|
|
1700
|
+
const reactionMessageTs = prepared.ackReactionMessageTs;
|
|
1701
|
+
const messageTs = message.ts ?? message.event_ts;
|
|
1702
|
+
const incomingThreadTs = message.thread_ts;
|
|
1703
|
+
let didSetStatus = false;
|
|
1704
|
+
let didAddTypingReaction = false;
|
|
1705
|
+
const statusReactionsEnabled = prepared.ctxPayload.InboundEventKind !== "room_event" && Boolean(prepared.ackReactionPromise) && Boolean(reactionMessageTs) && cfg.messages?.statusReactions?.enabled === true;
|
|
1706
|
+
const statusReactions = createStatusReactionController({
|
|
1707
|
+
enabled: statusReactionsEnabled,
|
|
1708
|
+
adapter: {
|
|
1709
|
+
setReaction: async (emoji) => {
|
|
1710
|
+
await reactSlackMessage(message.channel, reactionMessageTs ?? "", emoji, {
|
|
1711
|
+
token: ctx.botToken,
|
|
1712
|
+
client: slackClient
|
|
1713
|
+
});
|
|
1714
|
+
},
|
|
1715
|
+
removeReaction: async (emoji) => {
|
|
1716
|
+
await removeSlackReaction(message.channel, reactionMessageTs ?? "", emoji, {
|
|
1717
|
+
token: ctx.botToken,
|
|
1718
|
+
client: slackClient
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
initialEmoji: prepared.ackReactionValue || "eyes",
|
|
1723
|
+
presentation: "acknowledgement",
|
|
1724
|
+
onError: (err) => {
|
|
1725
|
+
logAckFailure({
|
|
1726
|
+
log: logVerbose,
|
|
1727
|
+
channel: "slack",
|
|
1728
|
+
target: `${message.channel}/${message.ts}`,
|
|
1729
|
+
error: err
|
|
1730
|
+
});
|
|
1731
|
+
}
|
|
1732
|
+
});
|
|
1733
|
+
if (statusReactionsEnabled) statusReactions.setQueued();
|
|
1734
|
+
const hasRepliedRef = { value: false };
|
|
1735
|
+
const replyPlan = createSlackReplyDeliveryPlan({
|
|
1736
|
+
replyToMode: replyDeliveryMode,
|
|
1737
|
+
incomingThreadTs: forcedReplyThreadTs ?? incomingThreadTs,
|
|
1738
|
+
messageTs,
|
|
1739
|
+
hasRepliedRef,
|
|
1740
|
+
isThreadReply: Boolean(forcedReplyThreadTs) || isThreadReply
|
|
1741
|
+
});
|
|
1742
|
+
const typingTarget = statusThreadTs ? `${message.channel}/${statusThreadTs}` : message.channel;
|
|
1743
|
+
const typingReaction = ctx.typingReaction;
|
|
1744
|
+
const threadStatusGate = { hasVisibleOutput: () => false };
|
|
1745
|
+
const { onModelSelected, ...replyPipeline } = createChannelMessageReplyPipeline({
|
|
1746
|
+
cfg,
|
|
1747
|
+
agentId: route.agentId,
|
|
1748
|
+
channel: "slack",
|
|
1749
|
+
accountId: route.accountId,
|
|
1750
|
+
transformReplyPayload: sanitizeSlackMonitorReplyPayload,
|
|
1751
|
+
typing: {
|
|
1752
|
+
start: async () => {
|
|
1753
|
+
if (!didSetStatus && !threadStatusGate.hasVisibleOutput()) {
|
|
1754
|
+
didSetStatus = true;
|
|
1755
|
+
await ctx.setSlackSessionStatus({
|
|
1756
|
+
channelId: message.channel,
|
|
1757
|
+
threadTs: statusThreadTs,
|
|
1758
|
+
status: "processing",
|
|
1759
|
+
title: prepared.sessionDisplayName ?? prepared.ctxPayload.ThreadLabel,
|
|
1760
|
+
eventScope: prepared.eventScope
|
|
1761
|
+
});
|
|
1762
|
+
}
|
|
1763
|
+
if (typingReaction && message.ts) {
|
|
1764
|
+
didAddTypingReaction = true;
|
|
1765
|
+
await reactSlackMessage(message.channel, message.ts, typingReaction, {
|
|
1766
|
+
token: ctx.botToken,
|
|
1767
|
+
client: slackClient
|
|
1768
|
+
}).catch((err) => {
|
|
1769
|
+
logVerbose(`slack send: typing reaction failed: ${formatSlackError(err)}`);
|
|
1770
|
+
});
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
stop: async () => {
|
|
1774
|
+
if (didSetStatus) {
|
|
1775
|
+
didSetStatus = false;
|
|
1776
|
+
await ctx.setSlackSessionStatus({
|
|
1777
|
+
channelId: message.channel,
|
|
1778
|
+
threadTs: statusThreadTs,
|
|
1779
|
+
status: "active",
|
|
1780
|
+
eventScope: prepared.eventScope
|
|
1781
|
+
});
|
|
1782
|
+
}
|
|
1783
|
+
if (didAddTypingReaction && typingReaction && message.ts) {
|
|
1784
|
+
didAddTypingReaction = false;
|
|
1785
|
+
await removeSlackReaction(message.channel, message.ts, typingReaction, {
|
|
1786
|
+
token: ctx.botToken,
|
|
1787
|
+
client: slackClient
|
|
1788
|
+
}).catch((err) => {
|
|
1789
|
+
logVerbose(`slack send: typing reaction removal failed: ${formatSlackError(err)}`);
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
onStartError: (err) => {
|
|
1794
|
+
logTypingFailure({
|
|
1795
|
+
log: (messageValue) => runtime.error?.(danger(messageValue)),
|
|
1796
|
+
channel: "slack",
|
|
1797
|
+
action: "start",
|
|
1798
|
+
target: typingTarget,
|
|
1799
|
+
error: err
|
|
1800
|
+
});
|
|
1801
|
+
},
|
|
1802
|
+
onStopError: (err) => {
|
|
1803
|
+
logTypingFailure({
|
|
1804
|
+
log: (messageLocal) => runtime.error?.(danger(messageLocal)),
|
|
1805
|
+
channel: "slack",
|
|
1806
|
+
action: "stop",
|
|
1807
|
+
target: typingTarget,
|
|
1808
|
+
error: err
|
|
1809
|
+
});
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
});
|
|
1813
|
+
const slackStreaming = resolveSlackStreamingConfig({ streaming: account.config.streaming });
|
|
1814
|
+
const streamThreadHint = forcedReplyThreadTs ?? resolveSlackStreamingThreadHint({
|
|
1815
|
+
replyToMode: replyDeliveryMode,
|
|
1816
|
+
incomingThreadTs,
|
|
1817
|
+
messageTs,
|
|
1818
|
+
isThreadReply
|
|
1819
|
+
});
|
|
1820
|
+
const hookRunner = getGlobalHookRunner();
|
|
1821
|
+
const modifyingHooksRegistered = (hookRunner?.hasHooks("reply_payload_sending") ?? false) || (hookRunner?.hasHooks("message_sending") ?? false);
|
|
1822
|
+
const allowPreHookProviderStreaming = !prepared.ctxPayload.GroupThread && !modifyingHooksRegistered;
|
|
1823
|
+
const previewStreamingEnabled = allowPreHookProviderStreaming && !sourceRepliesAreToolOnly && slackStreaming.mode !== "off";
|
|
1824
|
+
const hasSlackCustomIdentity = Boolean(slackIdentity?.username || slackIdentity?.iconUrl || slackIdentity?.iconEmoji);
|
|
1825
|
+
const useStreaming = shouldUseStreaming({
|
|
1826
|
+
streamingEnabled: !prepared.ctxPayload.GroupThread && !sourceRepliesAreToolOnly && (allowPreHookProviderStreaming || slackStreaming.mode !== "progress") && isSlackStreamingEnabled({
|
|
1827
|
+
mode: slackStreaming.mode,
|
|
1828
|
+
nativeStreaming: slackStreaming.nativeStreaming,
|
|
1829
|
+
nativeProgressTaskCards: resolveSlackNativeProgressTaskCards(account.config)
|
|
1830
|
+
}),
|
|
1831
|
+
threadTs: streamThreadHint
|
|
1832
|
+
});
|
|
1833
|
+
const shouldUseDraftStream = previewStreamingEnabled && !useStreaming;
|
|
1834
|
+
const blockStreamingEnabled = resolveChannelStreamingBlockEnabled(account.config);
|
|
1835
|
+
return {
|
|
1836
|
+
prepared,
|
|
1837
|
+
ctx,
|
|
1838
|
+
account,
|
|
1839
|
+
message,
|
|
1840
|
+
route,
|
|
1841
|
+
slackClient,
|
|
1842
|
+
slackClientOptions,
|
|
1843
|
+
slackStreamFallbackTeamId,
|
|
1844
|
+
cfg,
|
|
1845
|
+
runtime,
|
|
1846
|
+
slackIdentity,
|
|
1847
|
+
forcedReplyThreadTs,
|
|
1848
|
+
slackMessageMetadata,
|
|
1849
|
+
statusThreadTs,
|
|
1850
|
+
isThreadReply,
|
|
1851
|
+
replyDeliveryMode,
|
|
1852
|
+
sourceReplyDeliveryMode,
|
|
1853
|
+
sourceRepliesAreToolOnly,
|
|
1854
|
+
suppressRoomEventTyping,
|
|
1855
|
+
messageSentHookTarget,
|
|
1856
|
+
messageSentHookContext,
|
|
1857
|
+
messageSentDeliveryHookContext,
|
|
1858
|
+
incomingThreadTs,
|
|
1859
|
+
messageTs,
|
|
1860
|
+
statusReactionsEnabled,
|
|
1861
|
+
statusReactions,
|
|
1862
|
+
hasRepliedRef,
|
|
1863
|
+
threadStatusGate,
|
|
1864
|
+
replyPlan,
|
|
1865
|
+
onModelSelected,
|
|
1866
|
+
replyPipeline,
|
|
1867
|
+
slackStreaming,
|
|
1868
|
+
streamThreadHint,
|
|
1869
|
+
previewStreamingEnabled,
|
|
1870
|
+
hasSlackCustomIdentity,
|
|
1871
|
+
shouldUseDraftStream,
|
|
1872
|
+
disableBlockStreaming: sourceRepliesAreToolOnly ? true : resolveSlackDisableBlockStreaming({
|
|
1873
|
+
useStreaming,
|
|
1874
|
+
shouldUseDraftStream,
|
|
1875
|
+
blockStreamingEnabled
|
|
1876
|
+
}),
|
|
1877
|
+
useStreaming
|
|
1878
|
+
};
|
|
1879
|
+
}
|
|
1880
|
+
//#endregion
|
|
1881
|
+
//#region extensions/slack/src/monitor/message-handler/dispatch-streaming.ts
|
|
1882
|
+
function createSlackStreamingDeliveryRuntime(setup) {
|
|
1883
|
+
const { account, ctx, forcedReplyThreadTs, isThreadReply, message, messageSentDeliveryHookContext, messageSentHookContext, messageSentHookTarget, prepared, replyDeliveryMode, replyPlan, runtime, slackClient, slackClientOptions, slackIdentity, slackMessageMetadata, slackStreamFallbackTeamId } = setup;
|
|
1884
|
+
const state = {
|
|
1885
|
+
streamSession: null,
|
|
1886
|
+
nativeProgressStreamStartPromise: null,
|
|
1887
|
+
nativeProgressStreamThreadTs: void 0,
|
|
1888
|
+
streamFailed: false,
|
|
1889
|
+
usedReplyThreadTs: void 0,
|
|
1890
|
+
usedBlockReplyThreadTs: void 0,
|
|
1891
|
+
observedReplyDelivery: false,
|
|
1892
|
+
observedFinalReplyDelivery: false
|
|
1893
|
+
};
|
|
1894
|
+
const emitStreamedDelivery = (content, result) => {
|
|
1895
|
+
emitSlackMessageSentHooks({
|
|
1896
|
+
...messageSentHookContext,
|
|
1897
|
+
to: messageSentHookTarget,
|
|
1898
|
+
accountId: account.accountId,
|
|
1899
|
+
content,
|
|
1900
|
+
...result
|
|
1901
|
+
});
|
|
1902
|
+
};
|
|
1903
|
+
let deliveryTracker = createSlackEventDeliveryTracker();
|
|
1904
|
+
const markPreviewPayloadDelivered = (params) => {
|
|
1905
|
+
const preparedReply = prepareSlackReply(params.payload);
|
|
1906
|
+
deliveryTracker.markDelivered(buildSlackEventDeliveryKey(params, preparedReply));
|
|
1907
|
+
const nextThreadTs = replyPlan.peekThreadTs();
|
|
1908
|
+
if (nextThreadTs !== params.threadTs) deliveryTracker.markDelivered(buildSlackEventDeliveryKey({
|
|
1909
|
+
...params,
|
|
1910
|
+
threadTs: nextThreadTs
|
|
1911
|
+
}, preparedReply));
|
|
1912
|
+
};
|
|
1913
|
+
const resolveDeliveryThreadTs = (params) => {
|
|
1914
|
+
const plannedThreadTs = params.forcedThreadTs ? void 0 : replyPlan.nextThreadTs();
|
|
1915
|
+
return params.forcedThreadTs ?? plannedThreadTs ?? (params.kind === "block" ? state.usedBlockReplyThreadTs : void 0);
|
|
1916
|
+
};
|
|
1917
|
+
const rememberDeliveredThreadTs = (kind, deliveredThreadTs) => {
|
|
1918
|
+
if (!deliveredThreadTs) return;
|
|
1919
|
+
state.usedReplyThreadTs ??= deliveredThreadTs;
|
|
1920
|
+
if (kind === "block") state.usedBlockReplyThreadTs = deliveredThreadTs;
|
|
1921
|
+
};
|
|
1922
|
+
const deliverPendingStreamFallback = async (session, err) => {
|
|
1923
|
+
if (session.stoppedBySlack) return;
|
|
1924
|
+
let fallbackError = err;
|
|
1925
|
+
if (!session.stopped) try {
|
|
1926
|
+
const stopResult = await stopSlackStream({
|
|
1927
|
+
session,
|
|
1928
|
+
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {}
|
|
1929
|
+
});
|
|
1930
|
+
if (session.stoppedBySlack) return;
|
|
1931
|
+
state.observedReplyDelivery = true;
|
|
1932
|
+
state.usedReplyThreadTs ??= session.threadTs;
|
|
1933
|
+
return stopResult;
|
|
1934
|
+
} catch (stopErr) {
|
|
1935
|
+
if (stopErr instanceof SlackStreamNotDeliveredError) fallbackError = stopErr;
|
|
1936
|
+
else throw stopErr;
|
|
1937
|
+
}
|
|
1938
|
+
const fallbackText = fallbackError.pendingText.trim();
|
|
1939
|
+
if (!fallbackText) return;
|
|
1940
|
+
await deliverReplies({
|
|
1941
|
+
cfg: ctx.cfg,
|
|
1942
|
+
replies: [prepareSlackReply({ text: fallbackText })],
|
|
1943
|
+
target: prepared.replyTarget,
|
|
1944
|
+
token: ctx.botToken,
|
|
1945
|
+
accountId: account.accountId,
|
|
1946
|
+
runtime,
|
|
1947
|
+
textLimit: ctx.textLimit,
|
|
1948
|
+
mediaMaxBytes: ctx.mediaMaxBytes,
|
|
1949
|
+
replyThreadTs: session.threadTs,
|
|
1950
|
+
replyToMode: replyDeliveryMode,
|
|
1951
|
+
...slackIdentity ? { identity: slackIdentity } : {},
|
|
1952
|
+
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {},
|
|
1953
|
+
...messageSentDeliveryHookContext,
|
|
1954
|
+
deferMessageSentHooks: true,
|
|
1955
|
+
eventScope: prepared.eventScope
|
|
1956
|
+
});
|
|
1957
|
+
markSlackStreamFallbackDelivered(session);
|
|
1958
|
+
if (!session.stopped) try {
|
|
1959
|
+
await stopSlackStream({
|
|
1960
|
+
session,
|
|
1961
|
+
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {}
|
|
1962
|
+
});
|
|
1963
|
+
} catch (finalizeErr) {
|
|
1964
|
+
runtime.error?.(danger(`slack-stream: failed to finalize native stream after fallback delivery: ${formatSlackError(finalizeErr)}`));
|
|
1965
|
+
}
|
|
1966
|
+
state.observedReplyDelivery = true;
|
|
1967
|
+
state.usedReplyThreadTs ??= session.threadTs;
|
|
1968
|
+
logVerbose(`slack-stream: streamed delivery failed (${fallbackError.slackCode}); delivered ${fallbackText.length} chars via deliverReplies fallback`);
|
|
1969
|
+
return {};
|
|
1970
|
+
};
|
|
1971
|
+
const finishStream = async (chunks) => {
|
|
1972
|
+
const session = state.streamSession;
|
|
1973
|
+
if (session && !session.stopped) try {
|
|
1974
|
+
try {
|
|
1975
|
+
await stopSlackStream({
|
|
1976
|
+
session,
|
|
1977
|
+
...chunks?.length ? { chunks } : {},
|
|
1978
|
+
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {}
|
|
1979
|
+
});
|
|
1980
|
+
state.observedReplyDelivery ||= session.delivered;
|
|
1981
|
+
} catch (error) {
|
|
1982
|
+
if (!(error instanceof SlackStreamNotDeliveredError)) throw error;
|
|
1983
|
+
await deliverPendingStreamFallback(session, error);
|
|
1984
|
+
}
|
|
1985
|
+
} catch (error) {
|
|
1986
|
+
state.streamFailed = true;
|
|
1987
|
+
runtime.error?.(danger(`slack-stream: failed to stop stream: ${formatSlackError(error)}`));
|
|
1988
|
+
}
|
|
1989
|
+
};
|
|
1990
|
+
const deliverNormally = async (params) => {
|
|
1991
|
+
if (state.streamSession?.stoppedBySlack) return;
|
|
1992
|
+
const replyThreadTs = resolveDeliveryThreadTs(params);
|
|
1993
|
+
const deliveryReplyThreadTs = replyDeliveryMode === "off" && !forcedReplyThreadTs && !isThreadReply ? void 0 : replyThreadTs;
|
|
1994
|
+
const preparedReply = prepareSlackReply(params.payload);
|
|
1995
|
+
const deliveryKey = buildSlackEventDeliveryKey({
|
|
1996
|
+
kind: params.kind,
|
|
1997
|
+
payload: params.payload,
|
|
1998
|
+
threadTs: deliveryReplyThreadTs
|
|
1999
|
+
}, preparedReply);
|
|
2000
|
+
if (deliveryTracker.hasDelivered(deliveryKey)) {
|
|
2001
|
+
logVerbose("slack: suppressed duplicate normal delivery within the same turn");
|
|
2002
|
+
return deliveryReplyThreadTs;
|
|
2003
|
+
}
|
|
2004
|
+
await deliverReplies({
|
|
2005
|
+
cfg: ctx.cfg,
|
|
2006
|
+
replies: [preparedReply],
|
|
2007
|
+
target: prepared.replyTarget,
|
|
2008
|
+
token: ctx.botToken,
|
|
2009
|
+
accountId: account.accountId,
|
|
2010
|
+
runtime,
|
|
2011
|
+
textLimit: ctx.textLimit,
|
|
2012
|
+
mediaMaxBytes: ctx.mediaMaxBytes,
|
|
2013
|
+
replyThreadTs: deliveryReplyThreadTs,
|
|
2014
|
+
replyToMode: replyDeliveryMode,
|
|
2015
|
+
...slackIdentity ? { identity: slackIdentity } : {},
|
|
2016
|
+
...slackMessageMetadata ? { metadata: slackMessageMetadata } : {},
|
|
2017
|
+
...messageSentDeliveryHookContext,
|
|
2018
|
+
eventScope: prepared.eventScope
|
|
2019
|
+
});
|
|
2020
|
+
state.observedReplyDelivery = true;
|
|
2021
|
+
if (params.kind === "final") state.observedFinalReplyDelivery = true;
|
|
2022
|
+
const deliveredThreadTs = resolveSlackReplyThreadTs({
|
|
2023
|
+
replyToMode: replyDeliveryMode,
|
|
2024
|
+
replyToId: params.payload.replyToId,
|
|
2025
|
+
threadId: deliveryReplyThreadTs,
|
|
2026
|
+
replyToCurrent: params.payload.replyToCurrent
|
|
2027
|
+
});
|
|
2028
|
+
rememberDeliveredThreadTs(params.kind, deliveredThreadTs);
|
|
2029
|
+
replyPlan.markSent();
|
|
2030
|
+
deliveryTracker.markDelivered(deliveryKey);
|
|
2031
|
+
return deliveryReplyThreadTs;
|
|
2032
|
+
};
|
|
2033
|
+
const isStreamingEligible = (payload, options) => {
|
|
2034
|
+
const reply = resolveSendableOutboundReplyParts(payload);
|
|
2035
|
+
const renderPlan = resolveSlackReplyRenderPlan(payload);
|
|
2036
|
+
const plannedBlocks = renderPlan.mode === "single" ? renderPlan.blocks : renderPlan.blockPart?.blocks;
|
|
2037
|
+
return !state.streamFailed && !reply.hasMedia && renderPlan.mode !== "split" && !renderPlan.textIsSlackPlainText && !plannedBlocks?.length && !readSlackReplyBlocks(payload)?.length && reply.hasText && (!options?.maxTextBytes || countSlackTextUtf8Bytes(reply.trimmedText) <= options.maxTextBytes);
|
|
2038
|
+
};
|
|
2039
|
+
const deliverWithStreaming = async (params) => {
|
|
2040
|
+
if (state.streamSession?.stoppedBySlack) return;
|
|
2041
|
+
if (!isStreamingEligible(params.payload)) {
|
|
2042
|
+
await deliverNormally({
|
|
2043
|
+
payload: params.payload,
|
|
2044
|
+
kind: params.kind,
|
|
2045
|
+
forcedThreadTs: state.streamSession?.threadTs ?? state.nativeProgressStreamThreadTs
|
|
2046
|
+
});
|
|
2047
|
+
return;
|
|
2048
|
+
}
|
|
2049
|
+
if (!state.streamSession && state.nativeProgressStreamStartPromise) await state.nativeProgressStreamStartPromise;
|
|
2050
|
+
if (state.streamSession?.stoppedBySlack) return;
|
|
2051
|
+
let session = state.streamSession;
|
|
2052
|
+
const threadTs = session?.threadTs ?? replyPlan.nextThreadTs();
|
|
2053
|
+
if (state.streamFailed || !threadTs) {
|
|
2054
|
+
state.streamFailed = true;
|
|
2055
|
+
await deliverNormally({
|
|
2056
|
+
payload: params.payload,
|
|
2057
|
+
kind: params.kind,
|
|
2058
|
+
forcedThreadTs: threadTs ?? state.nativeProgressStreamThreadTs
|
|
2059
|
+
});
|
|
2060
|
+
return;
|
|
2061
|
+
}
|
|
2062
|
+
const hookContent = resolveSendableOutboundReplyParts(params.payload).trimmedText;
|
|
2063
|
+
const text = params.streamText ?? hookContent;
|
|
2064
|
+
const deliveryKey = buildSlackEventDeliveryKey({
|
|
2065
|
+
...params,
|
|
2066
|
+
threadTs,
|
|
2067
|
+
textOverride: text
|
|
2068
|
+
});
|
|
2069
|
+
if (deliveryTracker.hasDelivered(deliveryKey)) {
|
|
2070
|
+
logVerbose("slack-stream: suppressed duplicate reply payload");
|
|
2071
|
+
return;
|
|
2072
|
+
}
|
|
2073
|
+
let messageId;
|
|
2074
|
+
try {
|
|
2075
|
+
if (session) await appendSlackStream({
|
|
2076
|
+
session,
|
|
2077
|
+
text: `${params.appendSeparator === false ? "" : "\n"}${text}`,
|
|
2078
|
+
chunks: []
|
|
2079
|
+
});
|
|
2080
|
+
else {
|
|
2081
|
+
session = await startSlackStream({
|
|
2082
|
+
client: slackClient,
|
|
2083
|
+
clientOptions: slackClientOptions,
|
|
2084
|
+
channel: message.channel,
|
|
2085
|
+
threadTs,
|
|
2086
|
+
text,
|
|
2087
|
+
chunks: [],
|
|
2088
|
+
...params.taskDisplayMode ? { taskDisplayMode: params.taskDisplayMode } : {},
|
|
2089
|
+
...slackIdentity ? { identity: slackIdentity } : {},
|
|
2090
|
+
teamId: await resolveSlackStreamRecipientTeamId({
|
|
2091
|
+
client: slackClient,
|
|
2092
|
+
token: ctx.botToken,
|
|
2093
|
+
userId: message.user,
|
|
2094
|
+
fallbackTeamId: slackStreamFallbackTeamId
|
|
2095
|
+
}),
|
|
2096
|
+
userId: message.user
|
|
2097
|
+
});
|
|
2098
|
+
state.streamSession = session;
|
|
2099
|
+
}
|
|
2100
|
+
messageId = session.streamer.ts;
|
|
2101
|
+
} catch (error) {
|
|
2102
|
+
state.streamFailed = true;
|
|
2103
|
+
if (!(error instanceof SlackStreamNotDeliveredError)) {
|
|
2104
|
+
emitStreamedDelivery(hookContent, {
|
|
2105
|
+
success: false,
|
|
2106
|
+
error: formatErrorMessage(error)
|
|
2107
|
+
});
|
|
2108
|
+
throw error;
|
|
2109
|
+
}
|
|
2110
|
+
if (!session) {
|
|
2111
|
+
await deliverNormally({
|
|
2112
|
+
payload: params.payload,
|
|
2113
|
+
kind: params.kind,
|
|
2114
|
+
forcedThreadTs: threadTs
|
|
2115
|
+
});
|
|
2116
|
+
return;
|
|
2117
|
+
}
|
|
2118
|
+
try {
|
|
2119
|
+
const fallback = await deliverPendingStreamFallback(session, error);
|
|
2120
|
+
if (!fallback && !session.stoppedBySlack) throw error;
|
|
2121
|
+
messageId = fallback?.messageId;
|
|
2122
|
+
} catch (fallbackError) {
|
|
2123
|
+
emitStreamedDelivery(hookContent, {
|
|
2124
|
+
success: false,
|
|
2125
|
+
error: formatErrorMessage(fallbackError)
|
|
2126
|
+
});
|
|
2127
|
+
throw fallbackError;
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
if (session.stoppedBySlack && session.pendingText) {
|
|
2131
|
+
emitStreamedDelivery(hookContent, {
|
|
2132
|
+
success: false,
|
|
2133
|
+
error: "Stopped by Slack user"
|
|
2134
|
+
});
|
|
2135
|
+
return;
|
|
2136
|
+
}
|
|
2137
|
+
state.observedReplyDelivery = true;
|
|
2138
|
+
if (params.kind === "final") state.observedFinalReplyDelivery = true;
|
|
2139
|
+
rememberDeliveredThreadTs(params.kind, threadTs);
|
|
2140
|
+
replyPlan.markSent();
|
|
2141
|
+
deliveryTracker.markDelivered(deliveryKey);
|
|
2142
|
+
emitStreamedDelivery(hookContent, {
|
|
2143
|
+
success: true,
|
|
2144
|
+
...messageId ? { messageId } : {}
|
|
2145
|
+
});
|
|
2146
|
+
};
|
|
2147
|
+
return Object.assign(state, {
|
|
2148
|
+
deliverNormally,
|
|
2149
|
+
deliverWithStreaming,
|
|
2150
|
+
finishStream,
|
|
2151
|
+
hasDelivered: (params) => deliveryTracker.hasDelivered(buildSlackEventDeliveryKey(params)),
|
|
2152
|
+
isStreamingEligible,
|
|
2153
|
+
markPreviewPayloadDelivered,
|
|
2154
|
+
rememberDeliveredThreadTs,
|
|
2155
|
+
resetDeliveryTracker: () => {
|
|
2156
|
+
deliveryTracker = createSlackEventDeliveryTracker();
|
|
2157
|
+
}
|
|
2158
|
+
});
|
|
2159
|
+
}
|
|
2160
|
+
//#endregion
|
|
2161
|
+
//#region extensions/slack/src/monitor/message-handler/dispatch.ts
|
|
2162
|
+
function formatSlackGroupThreadReply(text, participant) {
|
|
2163
|
+
return `**${participant.name.replace(/[\\`*_{}[\]()<>#!|]/g, "\\$&").replace(/\s+/g, " ")}**\n${text}`;
|
|
2164
|
+
}
|
|
2165
|
+
async function dispatchPreparedSlackMessage(prepared) {
|
|
2166
|
+
const setup = await createSlackDispatchSetup(prepared);
|
|
2167
|
+
const beginSessionRun = () => registerSlackSessionRun(prepared.ctx, {
|
|
2168
|
+
channelId: prepared.message.channel,
|
|
2169
|
+
threadTs: setup.streamThreadHint,
|
|
2170
|
+
eventScope: prepared.eventScope
|
|
2171
|
+
}, {
|
|
2172
|
+
...prepared.route,
|
|
2173
|
+
sessionKey: prepared.ctxPayload.SessionKey ?? prepared.route.sessionKey
|
|
2174
|
+
});
|
|
2175
|
+
const upstreamLifecycle = prepared.turnAdoptionLifecycle;
|
|
2176
|
+
let releaseDeferred;
|
|
2177
|
+
const turnAdoptionLifecycle = upstreamLifecycle && {
|
|
2178
|
+
...upstreamLifecycle,
|
|
2179
|
+
onDeferred: () => {
|
|
2180
|
+
const accepted = upstreamLifecycle.onDeferred?.();
|
|
2181
|
+
if (accepted !== false) releaseDeferred ??= beginSessionRun();
|
|
2182
|
+
return accepted;
|
|
2183
|
+
},
|
|
2184
|
+
onSettled: () => {
|
|
2185
|
+
releaseDeferred?.();
|
|
2186
|
+
upstreamLifecycle.onSettled?.();
|
|
2187
|
+
}
|
|
2188
|
+
};
|
|
2189
|
+
const release = beginSessionRun();
|
|
2190
|
+
await dispatchSlackMessageWithSetup(setup, beginSessionRun, turnAdoptionLifecycle).finally(release);
|
|
2191
|
+
}
|
|
2192
|
+
async function dispatchSlackMessageWithSetup(setup, beginSessionRun, turnAdoptionLifecycle) {
|
|
2193
|
+
const { prepared } = setup;
|
|
2194
|
+
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;
|
|
2195
|
+
let dispatchError;
|
|
2196
|
+
const delivery = createSlackStreamingDeliveryRuntime(setup);
|
|
2197
|
+
const draftPreviewCommitted = { value: false };
|
|
2198
|
+
const progress = createSlackProgressRuntime({
|
|
2199
|
+
setup,
|
|
2200
|
+
delivery,
|
|
2201
|
+
resetPreviewDeliveryState: () => {
|
|
2202
|
+
draftPreviewCommitted.value = false;
|
|
2203
|
+
delivery.observedFinalReplyDelivery = false;
|
|
2204
|
+
}
|
|
2205
|
+
});
|
|
2206
|
+
const draftStream = progress.draftStream;
|
|
2207
|
+
setup.threadStatusGate.hasVisibleOutput = () => delivery.observedReplyDelivery || draftPreviewCommitted.value || Boolean(draftStream?.messageId());
|
|
2208
|
+
const failureNoticeThreadTs = message.thread_ts;
|
|
2209
|
+
const failureNoticeTeamId = prepared.eventScope?.teamId;
|
|
2210
|
+
let sawTerminalFailurePayload = false;
|
|
2211
|
+
let pendingFailureNotice;
|
|
2212
|
+
const filterPassiveThreadFailure = (payload) => {
|
|
2213
|
+
if (payload.isError !== true || prepared.ctxPayload.ChatType !== "channel" || isReplyPayloadNonTerminalToolErrorWarning(payload)) return payload;
|
|
2214
|
+
sawTerminalFailurePayload = true;
|
|
2215
|
+
if (delivery.observedReplyDelivery || draftPreviewCommitted.value) return payload;
|
|
2216
|
+
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;
|
|
2217
|
+
const noticeThreadTs = failureNoticeThreadTs ?? (explicitlyAddressed ? statusThreadTs : void 0);
|
|
2218
|
+
const notice = {
|
|
2219
|
+
accountId: account.accountId,
|
|
2220
|
+
channelId: message.channel,
|
|
2221
|
+
...noticeThreadTs ? { threadTs: noticeThreadTs } : {},
|
|
2222
|
+
failureText: payload.text ?? "",
|
|
2223
|
+
...failureNoticeTeamId ? { teamId: failureNoticeTeamId } : {}
|
|
2224
|
+
};
|
|
2225
|
+
if (failureNoticeThreadTs && !explicitlyAddressed && prepared.ctxPayload.MentionSource !== "implicit_thread" && !hasSlackThreadParticipation(notice.accountId, notice.channelId, failureNoticeThreadTs, failureNoticeTeamId)) {
|
|
2226
|
+
logVerbose("slack: suppressed passive failure before thread participation");
|
|
2227
|
+
return null;
|
|
2228
|
+
}
|
|
2229
|
+
if (!explicitlyAddressed && hasSlackThreadFailureNotice(notice)) {
|
|
2230
|
+
logVerbose("slack: suppressed repeated passive channel or thread failure");
|
|
2231
|
+
return null;
|
|
2232
|
+
}
|
|
2233
|
+
pendingFailureNotice = notice;
|
|
2234
|
+
return payload;
|
|
2235
|
+
};
|
|
2236
|
+
let compactFinalDeliveryStarted = false;
|
|
2237
|
+
const clearCompactProgress = async () => {
|
|
2238
|
+
try {
|
|
2239
|
+
await draftStream?.clear();
|
|
2240
|
+
} catch (err) {
|
|
2241
|
+
logVerbose(`slack: progress preview cleanup failed (${formatSlackError(err)})`);
|
|
2242
|
+
}
|
|
2243
|
+
};
|
|
2244
|
+
const deliverSlackPayload = async (incomingPayload, info) => {
|
|
2245
|
+
let payload = incomingPayload;
|
|
2246
|
+
if (info.participant && (payload.text || payload.mediaUrl || payload.mediaUrls?.length)) payload = {
|
|
2247
|
+
...payload,
|
|
2248
|
+
text: formatSlackGroupThreadReply(payload.text ?? "", info.participant)
|
|
2249
|
+
};
|
|
2250
|
+
if (info.kind === "final" && slackStreaming.mode === "progress" && progress.isProgressMode) {
|
|
2251
|
+
if (progress.useNativeProgressStreaming) {
|
|
2252
|
+
await progress.deliverNativeFinal(payload, info.kind);
|
|
2253
|
+
return;
|
|
2254
|
+
}
|
|
2255
|
+
progress.progressDraft.markFinalReplyStarted();
|
|
2256
|
+
if (!progress.useDraftProgressCard) {
|
|
2257
|
+
compactFinalDeliveryStarted = true;
|
|
2258
|
+
await draftStream?.discardPending();
|
|
2259
|
+
const supplement = getReplyPayloadTtsSupplement(payload);
|
|
2260
|
+
await delivery.deliverNormally({
|
|
2261
|
+
payload: supplement && !supplement.visibleTextAlreadyDelivered && !payload.text?.trim() ? {
|
|
2262
|
+
...payload,
|
|
2263
|
+
text: supplement.spokenText
|
|
2264
|
+
} : payload,
|
|
2265
|
+
kind: info.kind,
|
|
2266
|
+
forcedThreadTs: delivery.usedReplyThreadTs
|
|
2267
|
+
});
|
|
2268
|
+
if (delivery.observedFinalReplyDelivery) {
|
|
2269
|
+
progress.progressDraft.markFinalReplyDelivered();
|
|
2270
|
+
await clearCompactProgress();
|
|
2271
|
+
}
|
|
2272
|
+
return;
|
|
2273
|
+
}
|
|
2274
|
+
if (progress.useDraftProgressCard) {
|
|
2275
|
+
await delivery.deliverNormally({
|
|
2276
|
+
payload,
|
|
2277
|
+
kind: info.kind,
|
|
2278
|
+
forcedThreadTs: delivery.usedReplyThreadTs
|
|
2279
|
+
});
|
|
2280
|
+
if (!await progress.finalizeDraftProgressCard(payload.isError === true ? "error" : "success")) await draftStream?.clear();
|
|
2281
|
+
progress.progressDraft.markFinalReplyDelivered();
|
|
2282
|
+
return;
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
if (progress.useNativeProgressStreaming) {
|
|
2286
|
+
if (info.kind !== "final" && payload.isError !== true) {
|
|
2287
|
+
if (!delivery.isStreamingEligible(payload)) {
|
|
2288
|
+
await delivery.deliverNormally({
|
|
2289
|
+
payload,
|
|
2290
|
+
kind: info.kind,
|
|
2291
|
+
forcedThreadTs: delivery.streamSession?.threadTs ?? delivery.nativeProgressStreamThreadTs
|
|
2292
|
+
});
|
|
2293
|
+
return;
|
|
2294
|
+
}
|
|
2295
|
+
return await progress.appendNativeNarration(payload, info.kind) ? void 0 : { visibleReplySent: false };
|
|
2296
|
+
}
|
|
2297
|
+
await delivery.deliverNormally({
|
|
2298
|
+
payload,
|
|
2299
|
+
kind: info.kind,
|
|
2300
|
+
forcedThreadTs: delivery.streamSession?.threadTs ?? delivery.nativeProgressStreamThreadTs
|
|
2301
|
+
});
|
|
2302
|
+
return;
|
|
2303
|
+
}
|
|
2304
|
+
if (useStreaming) {
|
|
2305
|
+
await delivery.deliverWithStreaming({
|
|
2306
|
+
payload,
|
|
2307
|
+
kind: info.kind
|
|
2308
|
+
});
|
|
2309
|
+
return;
|
|
2310
|
+
}
|
|
2311
|
+
const reply = resolveSendableOutboundReplyParts(payload);
|
|
2312
|
+
const ttsSupplement = getReplyPayloadTtsSupplement(payload);
|
|
2313
|
+
const replySourceText = payload.text ?? ttsSupplement?.spokenText;
|
|
2314
|
+
const replyRenderPlan = resolveSlackReplyRenderPlan(payload, replySourceText);
|
|
2315
|
+
const slackBlocks = replyRenderPlan.mode === "single" ? replyRenderPlan.blocks : replyRenderPlan.blockPart?.blocks;
|
|
2316
|
+
const requiresSeparateFallbackDelivery = replyRenderPlan.mode === "split" || replyRenderPlan.textIsSlackPlainText === true;
|
|
2317
|
+
const trimmedFinalText = replyRenderPlan.mode === "single" ? replyRenderPlan.text.trim() : replyRenderPlan.fallbackText.trim();
|
|
2318
|
+
const previewFinalText = replyRenderPlan.mode === "single" && replyRenderPlan.textIsSlackMrkdwn ? trimmedFinalText : normalizeSlackOutboundText((replySourceText ?? "").trim(), { tableMode: resolveMarkdownTableMode({
|
|
2319
|
+
cfg,
|
|
2320
|
+
channel: "slack",
|
|
2321
|
+
accountId: account.accountId
|
|
2322
|
+
}) });
|
|
2323
|
+
const previewFinalTextFitsEdit = countSlackTextUtf8Bytes(previewFinalText) <= SLACK_EDIT_TEXT_MAX_BYTES;
|
|
2324
|
+
const shouldRestoreTtsSupplementTextForPreviewFallback = Boolean(ttsSupplement) && ttsSupplement?.visibleTextAlreadyDelivered !== true && Boolean(draftStream) && !draftPreviewCommitted.value && !delivery.observedFinalReplyDelivery && previewStreamingEnabled && !payload.text?.trim();
|
|
2325
|
+
let ttsPreviewFinalization;
|
|
2326
|
+
await deliverWithFinalizableLivePreviewAdapter({
|
|
2327
|
+
kind: info.kind,
|
|
2328
|
+
payload,
|
|
2329
|
+
adapter: defineFinalizableLivePreviewAdapter({
|
|
2330
|
+
draft: draftStream && !draftPreviewCommitted.value && !delivery.observedFinalReplyDelivery ? {
|
|
2331
|
+
flush: draftStream.flush,
|
|
2332
|
+
clear: () => draftStream.clear({ preserveHumanReplies: true }),
|
|
2333
|
+
discardPending: draftStream.discardPending,
|
|
2334
|
+
seal: draftStream.seal,
|
|
2335
|
+
id: () => {
|
|
2336
|
+
const channelId = draftStream.channelId();
|
|
2337
|
+
const messageId = draftStream.messageId();
|
|
2338
|
+
return channelId && messageId ? {
|
|
2339
|
+
channelId,
|
|
2340
|
+
messageId
|
|
2341
|
+
} : void 0;
|
|
2342
|
+
}
|
|
2343
|
+
} : void 0,
|
|
2344
|
+
buildFinalEdit: () => {
|
|
2345
|
+
if (hasSlackCustomIdentity || !previewStreamingEnabled || reply.hasMedia && !ttsSupplement || payload.isError || requiresSeparateFallbackDelivery || !previewFinalTextFitsEdit || trimmedFinalText.length === 0 && !slackBlocks?.length) return;
|
|
2346
|
+
return {
|
|
2347
|
+
text: previewFinalText,
|
|
2348
|
+
blocks: slackBlocks,
|
|
2349
|
+
threadTs: delivery.usedReplyThreadTs ?? statusThreadTs
|
|
2350
|
+
};
|
|
2351
|
+
},
|
|
2352
|
+
editFinal: async (preview, edit) => {
|
|
2353
|
+
if (delivery.hasDelivered({
|
|
2354
|
+
kind: info.kind,
|
|
2355
|
+
payload,
|
|
2356
|
+
threadTs: edit.threadTs
|
|
2357
|
+
})) return;
|
|
2358
|
+
if (ttsSupplement) ttsPreviewFinalization = { threadTs: edit.threadTs };
|
|
2359
|
+
if (!await draftStream?.finalizeMessage(preview.messageId, async () => {
|
|
2360
|
+
await finalizeSlackPreviewEdit({
|
|
2361
|
+
client: slackClient,
|
|
2362
|
+
token: ctx.botToken,
|
|
2363
|
+
accountId: account.accountId,
|
|
2364
|
+
channelId: preview.channelId,
|
|
2365
|
+
messageId: preview.messageId,
|
|
2366
|
+
text: edit.text,
|
|
2367
|
+
...edit.blocks?.length ? { blocks: edit.blocks } : {},
|
|
2368
|
+
threadTs: edit.threadTs
|
|
2369
|
+
});
|
|
2370
|
+
})) throw new Error("Slack preview moved below a newer conversation message");
|
|
2371
|
+
if (!ttsSupplement) emitSlackMessageSentHooks({
|
|
2372
|
+
...messageSentHookContext,
|
|
2373
|
+
to: messageSentHookTarget,
|
|
2374
|
+
accountId: account.accountId,
|
|
2375
|
+
content: trimmedFinalText,
|
|
2376
|
+
success: true,
|
|
2377
|
+
messageId: preview.messageId
|
|
2378
|
+
});
|
|
2379
|
+
draftPreviewCommitted.value = true;
|
|
2380
|
+
delivery.observedFinalReplyDelivery = true;
|
|
2381
|
+
},
|
|
2382
|
+
onPreviewFinalized: (_preview) => {
|
|
2383
|
+
draftPreviewCommitted.value = true;
|
|
2384
|
+
delivery.observedFinalReplyDelivery = true;
|
|
2385
|
+
const finalThreadTs = delivery.usedReplyThreadTs ?? statusThreadTs;
|
|
2386
|
+
delivery.observedReplyDelivery = true;
|
|
2387
|
+
replyPlan.markSent();
|
|
2388
|
+
if (!ttsSupplement) delivery.markPreviewPayloadDelivered({
|
|
2389
|
+
kind: info.kind,
|
|
2390
|
+
payload,
|
|
2391
|
+
threadTs: finalThreadTs
|
|
2392
|
+
});
|
|
2393
|
+
},
|
|
2394
|
+
buildSupplementalPayload: () => ttsSupplement ? buildTtsSupplementMediaPayload(payload) : void 0,
|
|
2395
|
+
deliverSupplemental: async (supplementalPayload) => {
|
|
2396
|
+
const previewThreadTs = delivery.usedReplyThreadTs ?? statusThreadTs;
|
|
2397
|
+
const supplementalThreadTs = await delivery.deliverNormally({
|
|
2398
|
+
payload: supplementalPayload,
|
|
2399
|
+
kind: info.kind,
|
|
2400
|
+
forcedThreadTs: previewThreadTs
|
|
2401
|
+
});
|
|
2402
|
+
delivery.markPreviewPayloadDelivered({
|
|
2403
|
+
kind: info.kind,
|
|
2404
|
+
payload,
|
|
2405
|
+
threadTs: supplementalThreadTs
|
|
2406
|
+
});
|
|
2407
|
+
},
|
|
2408
|
+
logPreviewEditFailure: (err) => {
|
|
2409
|
+
logVerbose(`slack: preview final edit failed; falling back to standard send (${formatSlackError(err)})`);
|
|
2410
|
+
}
|
|
2411
|
+
}),
|
|
2412
|
+
deliverNormally: async () => {
|
|
2413
|
+
await delivery.deliverNormally({
|
|
2414
|
+
payload: shouldRestoreTtsSupplementTextForPreviewFallback || ttsPreviewFinalization && !payload.text?.trim() ? {
|
|
2415
|
+
...payload,
|
|
2416
|
+
text: ttsSupplement?.spokenText
|
|
2417
|
+
} : payload,
|
|
2418
|
+
kind: info.kind,
|
|
2419
|
+
...ttsPreviewFinalization?.threadTs ? { forcedThreadTs: ttsPreviewFinalization.threadTs } : {}
|
|
2420
|
+
});
|
|
2421
|
+
}
|
|
2422
|
+
});
|
|
2423
|
+
if (info.kind === "final") progress.progressDraft.markFinalReplyDelivered();
|
|
2424
|
+
};
|
|
2425
|
+
let agentRunFailed = false;
|
|
2426
|
+
let settledDispatchResult;
|
|
2427
|
+
try {
|
|
2428
|
+
const turnResult = await dispatchChannelInboundTurn({
|
|
2429
|
+
cfg,
|
|
2430
|
+
channel: "slack",
|
|
2431
|
+
accountId: route.accountId,
|
|
2432
|
+
route: {
|
|
2433
|
+
agentId: route.agentId,
|
|
2434
|
+
sessionKey: route.sessionKey
|
|
2435
|
+
},
|
|
2436
|
+
ctxPayload: prepared.ctxPayload,
|
|
2437
|
+
dispatchReplyFromConfig: ctx.dispatchReplyFromConfig,
|
|
2438
|
+
dispatcherOptions: {
|
|
2439
|
+
...replyPipeline,
|
|
2440
|
+
transformReplyPayload: (payload) => {
|
|
2441
|
+
const transformed = replyPipeline.transformReplyPayload ? replyPipeline.transformReplyPayload(payload) : payload;
|
|
2442
|
+
return transformed ? filterPassiveThreadFailure(transformed) : null;
|
|
2443
|
+
},
|
|
2444
|
+
humanDelay: resolveHumanDelayConfig(cfg, route.agentId)
|
|
2445
|
+
},
|
|
2446
|
+
delivery: {
|
|
2447
|
+
deliver: deliverSlackPayload,
|
|
2448
|
+
onError: (err, info) => {
|
|
2449
|
+
dispatchError ??= err;
|
|
2450
|
+
runtime.error?.(danger(`slack ${info.kind} reply failed: ${formatSlackError(err)}`));
|
|
2451
|
+
replyPipeline.typingCallbacks?.onIdle?.();
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
record: prepared.turn.record,
|
|
2455
|
+
history: prepared.turn.history,
|
|
2456
|
+
botLoopProtection: resolveSlackBotLoopProtection(prepared),
|
|
2457
|
+
replyOptions: {
|
|
2458
|
+
groupThreadReplyFormatter: formatSlackGroupThreadReply,
|
|
2459
|
+
queuedDeliveryCorrelations: [{ begin: beginSessionRun }],
|
|
2460
|
+
...turnAdoptionLifecycle ? { turnAdoptionLifecycle } : {},
|
|
2461
|
+
skillFilter: prepared.channelConfig?.skills,
|
|
2462
|
+
sourceReplyDeliveryMode,
|
|
2463
|
+
suppressTyping: suppressRoomEventTyping ? true : void 0,
|
|
2464
|
+
hasRepliedRef,
|
|
2465
|
+
disableBlockStreaming,
|
|
2466
|
+
onModelSelected,
|
|
2467
|
+
suppressDefaultToolProgressMessages: progress.suppressDefaultToolProgressMessages ? true : void 0,
|
|
2468
|
+
commentaryProgressEnabled: progress.commentaryProgressEnabled ? true : void 0,
|
|
2469
|
+
progressPreambleEnabled: progress.progressDraftActive && slackStreaming.mode === "progress" ? true : void 0,
|
|
2470
|
+
commentaryPayloadsEnabled: progress.commentaryProgressEnabled ? true : void 0,
|
|
2471
|
+
shouldDeliverCommentaryPayloads: progress.commentaryProgressEnabled ? progress.shouldYieldDraftProgress : void 0,
|
|
2472
|
+
onVerboseProgressVisibility: progress.commentaryProgressEnabled ? (isActive) => {
|
|
2473
|
+
progress.setShouldYieldDraftProgress(isActive);
|
|
2474
|
+
} : void 0,
|
|
2475
|
+
allowProgressCallbacksWhenSourceDeliverySuppressed: sourceReplyDeliveryMode === "message_tool_only" && statusReactionsEnabled ? true : void 0,
|
|
2476
|
+
allowToolLifecycleWhenProgressHidden: statusReactionsEnabled ? true : void 0,
|
|
2477
|
+
onPartialReply: useStreaming ? void 0 : !previewStreamingEnabled ? void 0 : async (payload) => {
|
|
2478
|
+
return progress.updateDraftFromPartial(payload.text);
|
|
2479
|
+
},
|
|
2480
|
+
onAssistantMessageStart: progress.onDraftBoundary ? async () => {
|
|
2481
|
+
await progress.onDraftBoundary?.();
|
|
2482
|
+
return false;
|
|
2483
|
+
} : void 0,
|
|
2484
|
+
onReasoningEnd: async () => {
|
|
2485
|
+
await progress.onDraftBoundary?.();
|
|
2486
|
+
return false;
|
|
2487
|
+
},
|
|
2488
|
+
onQueuedFollowupAdmitted: progress.onQueuedFollowupAdmitted,
|
|
2489
|
+
onQueuedFollowupSettled: progress.onQueuedFollowupSettled,
|
|
2490
|
+
onReasoningStream: async (payload) => {
|
|
2491
|
+
const visible = await progress.pushReasoningProgress(payload);
|
|
2492
|
+
if (statusReactionsEnabled) await statusReactions.setThinking();
|
|
2493
|
+
return visible;
|
|
2494
|
+
},
|
|
2495
|
+
onToolStart: async (payload) => {
|
|
2496
|
+
if (statusReactionsEnabled) await statusReactions.setTool(payload.name);
|
|
2497
|
+
if (payload.phase === "start") progress.progressWorkCounter.noteToolCall(payload.name);
|
|
2498
|
+
if (progress.preambleOnlyProgress) return isChannelProgressDraftWorkToolName(payload.name) ? await progress.progressDraft.noteActivity() : false;
|
|
2499
|
+
return await progress.progressDraft.pushToolEvent(payload);
|
|
2500
|
+
},
|
|
2501
|
+
onItemEvent: async (payload) => {
|
|
2502
|
+
if (payload.kind === "preamble" && (payload.phase === "start" || payload.phase === "update") && !draftStream?.messageId() && !delivery.streamSession?.delivered) return false;
|
|
2503
|
+
if (progress.isProgressMode && payload.kind === "preamble") {
|
|
2504
|
+
if (progress.shouldYieldDraftProgress()) return false;
|
|
2505
|
+
const headlineVisible = await progress.progressDraft.pushPreambleHeadline(payload.progressText, { itemId: payload.itemId });
|
|
2506
|
+
if (progress.commentaryProgressEnabled) return await progress.progressDraft.pushCommentaryProgress(payload.progressText, {
|
|
2507
|
+
itemId: payload.itemId,
|
|
2508
|
+
...progress.preambleOnlyProgress ? { complete: payload.phase !== "start" && payload.phase !== "update" } : {}
|
|
2509
|
+
}) || headlineVisible;
|
|
2510
|
+
return headlineVisible;
|
|
2511
|
+
}
|
|
2512
|
+
return progress.preambleOnlyProgress ? await progress.progressDraft.noteActivity() : await progress.progressDraft.pushItemEvent(payload);
|
|
2513
|
+
},
|
|
2514
|
+
onPlanUpdate: async (payload) => {
|
|
2515
|
+
if (payload.phase !== "update") return false;
|
|
2516
|
+
return await progress.pushPlanProgress(payload.steps, payload.explanation, payload.explanationFormat);
|
|
2517
|
+
},
|
|
2518
|
+
onApprovalEvent: (payload) => progress.progressDraft.pushApprovalEvent(payload),
|
|
2519
|
+
onCommandOutput: async (payload) => progress.preambleOnlyProgress ? await progress.progressDraft.noteActivity() : await progress.progressDraft.pushCommandOutputEvent(payload),
|
|
2520
|
+
onPatchSummary: async (payload) => progress.preambleOnlyProgress ? await progress.progressDraft.noteActivity() : await progress.progressDraft.pushPatchEvent(payload)
|
|
2521
|
+
}
|
|
2522
|
+
});
|
|
2523
|
+
if (turnResult.dispatched) {
|
|
2524
|
+
const result = turnResult.dispatchResult;
|
|
2525
|
+
settledDispatchResult = result;
|
|
2526
|
+
const agentRunOutcome = readAgentRunTerminalOutcome(result);
|
|
2527
|
+
agentRunFailed = agentRunOutcome === "failed";
|
|
2528
|
+
if (agentRunOutcome === "completed" && !sawTerminalFailurePayload && prepared.ctxPayload.ChatType === "channel") clearSlackThreadFailureNotice({
|
|
2529
|
+
accountId: account.accountId,
|
|
2530
|
+
channelId: message.channel,
|
|
2531
|
+
...failureNoticeThreadTs ? { threadTs: failureNoticeThreadTs } : {},
|
|
2532
|
+
...failureNoticeTeamId ? { teamId: failureNoticeTeamId } : {}
|
|
2533
|
+
});
|
|
2534
|
+
}
|
|
2535
|
+
} catch (err) {
|
|
2536
|
+
dispatchError ??= err;
|
|
2537
|
+
} finally {
|
|
2538
|
+
await progress.cancel();
|
|
2539
|
+
if (!progress.useDraftProgressCard) await draftStream?.discardPending();
|
|
2540
|
+
}
|
|
2541
|
+
const completionChunks = progress.useNativeProgressStreaming && !progress.nativeProgressCompletionSent ? progress.buildNativeProgressCompletionChunks(dispatchError || agentRunFailed ? "error" : progress.nativeProgressTerminalStatus) : void 0;
|
|
2542
|
+
if (completionChunks?.length) progress.nativeProgressCompletionSent = true;
|
|
2543
|
+
await delivery.finishStream(completionChunks);
|
|
2544
|
+
const anyReplyDelivered = hasVisibleInboundReplyDispatch(settledDispatchResult, { observedReplyDelivery: delivery.observedReplyDelivery });
|
|
2545
|
+
if (!progress.isProgressMode && anyReplyDelivered && !delivery.observedFinalReplyDelivery && !dispatchError && !agentRunFailed) await draftStream?.clear({ preserveHumanReplies: true });
|
|
2546
|
+
if (progress.isProgressMode && !progress.useNativeProgressStreaming && !progress.useDraftProgressCard && !compactFinalDeliveryStarted && !dispatchError && !agentRunFailed && anyReplyDelivered) await clearCompactProgress();
|
|
2547
|
+
if (pendingFailureNotice && anyReplyDelivered) recordSlackThreadFailureNotice(pendingFailureNotice);
|
|
2548
|
+
if (dispatchError || agentRunFailed) await progress.finalizeDraftProgressCard("error");
|
|
2549
|
+
await progress.dropDetachedProgressCards();
|
|
2550
|
+
if (statusReactionsEnabled) {
|
|
2551
|
+
if (dispatchError || agentRunFailed) {
|
|
2552
|
+
await statusReactions.setError();
|
|
2553
|
+
statusReactions.restoreInitial();
|
|
2554
|
+
} else if (anyReplyDelivered) {
|
|
2555
|
+
await statusReactions.setDone();
|
|
2556
|
+
statusReactions.restoreInitial();
|
|
2557
|
+
} else await statusReactions.restoreInitial();
|
|
2558
|
+
}
|
|
2559
|
+
const participationThreadTs = delivery.usedReplyThreadTs ?? statusThreadTs;
|
|
2560
|
+
if (anyReplyDelivered && participationThreadTs) recordSlackThreadParticipation(account.accountId, message.channel, participationThreadTs, {
|
|
2561
|
+
agentId: route.agentId,
|
|
2562
|
+
teamId: prepared.eventScope?.teamId
|
|
2563
|
+
});
|
|
2564
|
+
if (dispatchError) throw toErrorObject(dispatchError, "Slack dispatch failed");
|
|
2565
|
+
if (!anyReplyDelivered && !draftPreviewCommitted.value && !(agentRunFailed && progress.useDraftProgressCard)) {
|
|
2566
|
+
await draftStream?.clear();
|
|
2567
|
+
await draftStream?.dropDetachedMessages();
|
|
2568
|
+
return;
|
|
2569
|
+
}
|
|
2570
|
+
if (shouldLogVerbose()) {
|
|
2571
|
+
const finalCount = resolveInboundReplyDispatchCounts(settledDispatchResult).final;
|
|
2572
|
+
logVerbose(`slack: delivered ${finalCount} reply${finalCount === 1 ? "" : "ies"} to ${prepared.replyTarget}`);
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
//#endregion
|
|
2576
|
+
//#region extensions/slack/src/agent-context.ts
|
|
2577
|
+
function normalizeEntity(value) {
|
|
2578
|
+
const entity = asOptionalRecord(value);
|
|
2579
|
+
const type = normalizeOptionalString(entity?.type);
|
|
2580
|
+
if (!entity || !type) return;
|
|
2581
|
+
const teamId = normalizeOptionalString(entity.team_id);
|
|
2582
|
+
if (type === "slack#/types/channel_id" || type === "slack#/types/canvas_id" || type === "slack#/types/list_id") {
|
|
2583
|
+
const entityValue = normalizeOptionalString(entity.value);
|
|
2584
|
+
return entityValue ? {
|
|
2585
|
+
type,
|
|
2586
|
+
value: entityValue,
|
|
2587
|
+
...teamId ? { team_id: teamId } : {}
|
|
2588
|
+
} : void 0;
|
|
2589
|
+
}
|
|
2590
|
+
if (type !== "slack#/types/message_context") return;
|
|
2591
|
+
const message = asOptionalRecord(entity.value);
|
|
2592
|
+
const channelId = normalizeOptionalString(message?.channel_id);
|
|
2593
|
+
const messageTs = normalizeOptionalString(message?.message_ts);
|
|
2594
|
+
return channelId && messageTs ? {
|
|
2595
|
+
type,
|
|
2596
|
+
value: {
|
|
2597
|
+
channel_id: channelId,
|
|
2598
|
+
message_ts: messageTs
|
|
2599
|
+
},
|
|
2600
|
+
...teamId ? { team_id: teamId } : {}
|
|
2601
|
+
} : void 0;
|
|
2602
|
+
}
|
|
2603
|
+
function isSlackAppContext(value) {
|
|
2604
|
+
return Boolean(asOptionalRecord(value));
|
|
2605
|
+
}
|
|
2606
|
+
function normalizeSlackAppContextEntities(value) {
|
|
2607
|
+
const context = asOptionalRecord(value);
|
|
2608
|
+
if (!Array.isArray(context?.entities)) return [];
|
|
2609
|
+
return context.entities.flatMap((entity) => {
|
|
2610
|
+
const normalized = normalizeEntity(entity);
|
|
2611
|
+
return normalized ? [normalized] : [];
|
|
2612
|
+
});
|
|
2613
|
+
}
|
|
2614
|
+
//#endregion
|
|
2615
|
+
//#region extensions/slack/src/monitor/thread.ts
|
|
2616
|
+
const THREAD_STARTER_CACHE = /* @__PURE__ */ new Map();
|
|
2617
|
+
const THREAD_STARTER_CACHE_TTL_MS = 216e5;
|
|
2618
|
+
const THREAD_STARTER_CACHE_MAX = 2e3;
|
|
2619
|
+
function evictThreadStarterCache() {
|
|
2620
|
+
const now = asDateTimestampMs(Date.now());
|
|
2621
|
+
if (now === void 0) {
|
|
2622
|
+
THREAD_STARTER_CACHE.clear();
|
|
2623
|
+
return;
|
|
2624
|
+
}
|
|
2625
|
+
for (const [cacheKey, entry] of THREAD_STARTER_CACHE.entries()) if (asDateTimestampMs(entry.expiresAt) === void 0 || entry.expiresAt <= now) THREAD_STARTER_CACHE.delete(cacheKey);
|
|
2626
|
+
pruneMapToMaxSize(THREAD_STARTER_CACHE, THREAD_STARTER_CACHE_MAX);
|
|
2627
|
+
}
|
|
2628
|
+
function formatSlackFilePlaceholder(files) {
|
|
2629
|
+
return `[attached: ${formatSlackFileReferenceList(files)}]`;
|
|
2630
|
+
}
|
|
2631
|
+
function pushUniqueText(parts, value, options = {}) {
|
|
2632
|
+
const text = options.preserveWhitespace ? typeof value === "string" && value.trim().length > 0 ? value : void 0 : normalizeOptionalString(value);
|
|
2633
|
+
if (text && !parts.includes(text)) parts.push(text);
|
|
2634
|
+
}
|
|
2635
|
+
function resolveSlackBlocksFallbackText(blocks) {
|
|
2636
|
+
return resolveSlackBlocksText(blocks)?.text;
|
|
2637
|
+
}
|
|
2638
|
+
function resolveSlackAttachmentFallbackText(attachments) {
|
|
2639
|
+
if (!Array.isArray(attachments) || attachments.length === 0) return;
|
|
2640
|
+
const parts = [];
|
|
2641
|
+
for (const attachment of attachments) {
|
|
2642
|
+
const excludeTableBlocks = isSlackUnfurlAttachment(attachment);
|
|
2643
|
+
const fallbackBlocks = (blocks) => excludeTableBlocks ? blocks?.filter((block) => !hasSlackTableBlock([block])) : blocks;
|
|
2644
|
+
pushUniqueText(parts, attachment.pretext);
|
|
2645
|
+
pushUniqueText(parts, attachment.title);
|
|
2646
|
+
pushUniqueText(parts, attachment.text);
|
|
2647
|
+
if (!(hasSlackTableBlock(attachment.blocks) && normalizeOptionalString(attachment.fallback) === "[no preview available]")) pushUniqueText(parts, attachment.fallback);
|
|
2648
|
+
for (const field of attachment.fields ?? []) {
|
|
2649
|
+
pushUniqueText(parts, field.title);
|
|
2650
|
+
pushUniqueText(parts, field.value);
|
|
2651
|
+
}
|
|
2652
|
+
pushUniqueText(parts, resolveSlackBlocksFallbackText(fallbackBlocks(attachment.blocks)), { preserveWhitespace: true });
|
|
2653
|
+
pushUniqueText(parts, resolveSlackBlocksFallbackText(fallbackBlocks(attachment.message_blocks)), { preserveWhitespace: true });
|
|
2654
|
+
}
|
|
2655
|
+
return parts.length > 0 ? parts.join("\n") : void 0;
|
|
2656
|
+
}
|
|
2657
|
+
function resolveSlackMessageText(message) {
|
|
2658
|
+
const messageText = normalizeOptionalString(message.text) ?? resolveSlackAttachmentFallbackText(message.attachments);
|
|
2659
|
+
return resolveSlackMessageText$1({
|
|
2660
|
+
...message,
|
|
2661
|
+
text: messageText
|
|
2662
|
+
}, { preserveMessageTextWhitespace: true });
|
|
2663
|
+
}
|
|
2664
|
+
async function resolveSlackThreadStarter(params) {
|
|
2665
|
+
evictThreadStarterCache();
|
|
2666
|
+
const cacheKey = JSON.stringify([
|
|
2667
|
+
params.workspaceScope.accountId,
|
|
2668
|
+
params.workspaceScope.teamId,
|
|
2669
|
+
params.channelId,
|
|
2670
|
+
params.threadTs
|
|
2671
|
+
]);
|
|
2672
|
+
const cached = THREAD_STARTER_CACHE.get(cacheKey);
|
|
2673
|
+
if (cached) {
|
|
2674
|
+
const now = asDateTimestampMs(Date.now());
|
|
2675
|
+
if (now !== void 0 && cached.expiresAt > now) return cached.value;
|
|
2676
|
+
THREAD_STARTER_CACHE.delete(cacheKey);
|
|
2677
|
+
}
|
|
2678
|
+
try {
|
|
2679
|
+
const message = (await params.client.conversations.replies({
|
|
2680
|
+
channel: params.channelId,
|
|
2681
|
+
ts: params.threadTs,
|
|
2682
|
+
limit: 1,
|
|
2683
|
+
inclusive: true
|
|
2684
|
+
}))?.messages?.[0];
|
|
2685
|
+
const text = message ? resolveSlackMessageText(message) : void 0;
|
|
2686
|
+
const files = message?.files?.length ? message.files : void 0;
|
|
2687
|
+
if (!message || !text && !files) return null;
|
|
2688
|
+
const starter = {
|
|
2689
|
+
text: text || formatSlackFilePlaceholder(files),
|
|
2690
|
+
userId: message.user,
|
|
2691
|
+
botId: message.bot_id,
|
|
2692
|
+
ts: message.ts,
|
|
2693
|
+
files
|
|
2694
|
+
};
|
|
2695
|
+
const expiresAt = resolveExpiresAtMsFromDurationMs(THREAD_STARTER_CACHE_TTL_MS);
|
|
2696
|
+
if (expiresAt !== void 0) {
|
|
2697
|
+
if (THREAD_STARTER_CACHE.has(cacheKey)) THREAD_STARTER_CACHE.delete(cacheKey);
|
|
2698
|
+
THREAD_STARTER_CACHE.set(cacheKey, {
|
|
2699
|
+
value: starter,
|
|
2700
|
+
expiresAt
|
|
2701
|
+
});
|
|
2702
|
+
evictThreadStarterCache();
|
|
2703
|
+
}
|
|
2704
|
+
return starter;
|
|
2705
|
+
} catch (err) {
|
|
2706
|
+
logVerbose$1(`slack thread starter fetch failed channel=${params.channelId} ts=${params.threadTs}: ${formatErrorMessage(err)}`);
|
|
2707
|
+
return null;
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
const SLACK_THREAD_HISTORY_MAX_PAGES = 3;
|
|
2711
|
+
/**
|
|
2712
|
+
* Fetches the most recent messages in a Slack thread (excluding the current message).
|
|
2713
|
+
* Used to populate thread context when a new thread session starts.
|
|
2714
|
+
*
|
|
2715
|
+
* Uses cursor pagination and keeps only the latest N retained messages when the full
|
|
2716
|
+
* thread fits in the bounded fetch window.
|
|
2717
|
+
*/
|
|
2718
|
+
async function resolveSlackThreadHistory(params) {
|
|
2719
|
+
const maxMessages = params.limit ?? 20;
|
|
2720
|
+
if (!Number.isFinite(maxMessages) || maxMessages <= 0) return [];
|
|
2721
|
+
const fetchLimit = 200;
|
|
2722
|
+
const retained = [];
|
|
2723
|
+
let cursor;
|
|
2724
|
+
let pagesFetched = 0;
|
|
2725
|
+
try {
|
|
2726
|
+
do {
|
|
2727
|
+
pagesFetched += 1;
|
|
2728
|
+
const response = await params.client.conversations.replies({
|
|
2729
|
+
channel: params.channelId,
|
|
2730
|
+
ts: params.threadTs,
|
|
2731
|
+
limit: fetchLimit,
|
|
2732
|
+
inclusive: true,
|
|
2733
|
+
...cursor ? { cursor } : {}
|
|
2734
|
+
});
|
|
2735
|
+
for (const msg of response.messages ?? []) {
|
|
2736
|
+
const text = resolveSlackMessageText(msg);
|
|
2737
|
+
if (!text && !msg.files?.length) continue;
|
|
2738
|
+
if (params.currentMessageTs && msg.ts === params.currentMessageTs) continue;
|
|
2739
|
+
retained.push([msg, text]);
|
|
2740
|
+
}
|
|
2741
|
+
if (retained.length > maxMessages) retained.splice(0, retained.length - maxMessages);
|
|
2742
|
+
const next = response.response_metadata?.next_cursor;
|
|
2743
|
+
cursor = typeof next === "string" && next.trim().length > 0 ? next.trim() : void 0;
|
|
2744
|
+
} while (cursor && pagesFetched < SLACK_THREAD_HISTORY_MAX_PAGES);
|
|
2745
|
+
if (cursor) {
|
|
2746
|
+
logVerbose$1(`slack thread history capped channel=${params.channelId} ts=${params.threadTs} pages=${SLACK_THREAD_HISTORY_MAX_PAGES}`);
|
|
2747
|
+
return [];
|
|
2748
|
+
}
|
|
2749
|
+
return retained.map(([message, text]) => ({
|
|
2750
|
+
text: text ?? formatSlackFilePlaceholder(message.files),
|
|
2751
|
+
userId: message.user,
|
|
2752
|
+
botId: message.bot_id,
|
|
2753
|
+
ts: message.ts,
|
|
2754
|
+
files: message.files
|
|
2755
|
+
}));
|
|
2756
|
+
} catch (err) {
|
|
2757
|
+
logVerbose$1(`slack thread history fetch failed channel=${params.channelId} ts=${params.threadTs}: ${formatErrorMessage(err)}`);
|
|
2758
|
+
return [];
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
//#endregion
|
|
2762
|
+
//#region extensions/slack/src/monitor/message-handler/preflight-audio.ts
|
|
2763
|
+
function isSlackAudioFile(file) {
|
|
2764
|
+
if (file.subtype === "slack_audio") return true;
|
|
2765
|
+
if ((file.mimetype?.split(";")[0]?.trim().toLowerCase())?.startsWith("audio/")) return true;
|
|
2766
|
+
return Boolean(mimeTypeFromFilePath(file.name)?.startsWith("audio/"));
|
|
2767
|
+
}
|
|
2768
|
+
const slackPreflightAudio = createChannelPreflightAudio({
|
|
2769
|
+
channel: "slack",
|
|
2770
|
+
isAudio: isSlackAudioFile
|
|
2771
|
+
});
|
|
2772
|
+
function findSlackPreflightAudioFile(message, options = {}) {
|
|
2773
|
+
if (!options.allowCaptioned && message.text?.trim()) return;
|
|
2774
|
+
return message.files?.slice(0, 8).find(isSlackAudioFile);
|
|
2775
|
+
}
|
|
2776
|
+
function formatSlackAudioTranscriptForAgent(params) {
|
|
2777
|
+
return [formatAudioTranscriptForAgent(params.transcript), params.rawBody].filter(Boolean).join("\n");
|
|
2778
|
+
}
|
|
2779
|
+
async function resolveSlackPreflightAudioTranscript(params) {
|
|
2780
|
+
const mediaIndex = params.media.findIndex((entry) => entry.contentType?.toLowerCase().startsWith("audio/"));
|
|
2781
|
+
if (mediaIndex < 0) return null;
|
|
2782
|
+
const transcript = await slackPreflightAudio.resolve({ request: {
|
|
2783
|
+
ctx: {
|
|
2784
|
+
media: [...params.media],
|
|
2785
|
+
Provider: "slack",
|
|
2786
|
+
Surface: "slack",
|
|
2787
|
+
OriginatingChannel: "slack",
|
|
2788
|
+
OriginatingTo: params.originatingTo,
|
|
2789
|
+
AccountId: params.accountId,
|
|
2790
|
+
MessageThreadId: params.messageThreadId,
|
|
2791
|
+
ChatType: "channel",
|
|
2792
|
+
SessionKey: params.sessionKey
|
|
2793
|
+
},
|
|
2794
|
+
cfg: params.cfg
|
|
2795
|
+
} });
|
|
2796
|
+
return transcript ? {
|
|
2797
|
+
transcript,
|
|
2798
|
+
mediaIndex
|
|
2799
|
+
} : null;
|
|
2800
|
+
}
|
|
2801
|
+
async function sendSlackPreflightAudioTranscriptEcho(params) {
|
|
2802
|
+
await slackPreflightAudio.send(params);
|
|
2803
|
+
}
|
|
2804
|
+
async function discardSlackPreflightMedia(media) {
|
|
2805
|
+
await Promise.allSettled((media ?? []).map((entry) => fs.rm(entry.path, { force: true })));
|
|
2806
|
+
}
|
|
2807
|
+
//#endregion
|
|
2808
|
+
//#region extensions/slack/src/monitor/message-handler/prepare-content.ts
|
|
2809
|
+
const SLACK_MENTION_RESOLUTION_CONCURRENCY = 4;
|
|
2810
|
+
const SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE = 20;
|
|
2811
|
+
const SLACK_USER_MENTION_RE$1 = /<@([A-Z0-9]+)(?:\|[^>]+)?>/gi;
|
|
2812
|
+
const MAX_SLACK_UNAVAILABLE_FILE_TEXT_CHARS = 2e3;
|
|
2813
|
+
const loadSlackMediaModule$1 = createLazyRuntimeModule(() => import("./actions-BvGUGk3w.mjs").then((n) => n._));
|
|
2814
|
+
function formatSlackUnavailableMedia(params) {
|
|
2815
|
+
let fileReferences = params.files?.map((file) => `${formatSlackFileReference(file)} unavailable (${file.reason})`).join(", ");
|
|
2816
|
+
if (fileReferences && fileReferences.length > MAX_SLACK_UNAVAILABLE_FILE_TEXT_CHARS) fileReferences = `${truncateUtf16Safe(fileReferences, MAX_SLACK_UNAVAILABLE_FILE_TEXT_CHARS)}; … (file references truncated)`;
|
|
2817
|
+
const fileBlock = fileReferences ? `[Slack file: ${fileReferences}]` : void 0;
|
|
2818
|
+
const body = [params.body, fileBlock].filter(Boolean).join("\n");
|
|
2819
|
+
if (params.unavailableMediaCount === 0) return body;
|
|
2820
|
+
const notice = `[slack ${params.unavailableMediaCount > 1 ? `${params.unavailableMediaCount} attachments` : "attachment"} unavailable]`;
|
|
2821
|
+
return params.prependUnavailable ? [
|
|
2822
|
+
notice,
|
|
2823
|
+
fileBlock,
|
|
2824
|
+
params.body
|
|
2825
|
+
].filter(Boolean).join("\n") : formatInboundMediaUnavailableText({
|
|
2826
|
+
body,
|
|
2827
|
+
notice
|
|
2828
|
+
});
|
|
2829
|
+
}
|
|
2830
|
+
function collectUniqueSlackMentionIds$1(texts) {
|
|
2831
|
+
const seen = /* @__PURE__ */ new Set();
|
|
2832
|
+
const mentionIds = [];
|
|
2833
|
+
for (const text of texts) {
|
|
2834
|
+
if (!text) continue;
|
|
2835
|
+
SLACK_USER_MENTION_RE$1.lastIndex = 0;
|
|
2836
|
+
for (const match of text.matchAll(SLACK_USER_MENTION_RE$1)) {
|
|
2837
|
+
const userId = match[1];
|
|
2838
|
+
if (!userId || seen.has(userId)) continue;
|
|
2839
|
+
seen.add(userId);
|
|
2840
|
+
mentionIds.push(userId);
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
return mentionIds;
|
|
2844
|
+
}
|
|
2845
|
+
function renderSlackUserMentions(text, renderedMentions) {
|
|
2846
|
+
if (!text || renderedMentions.size === 0) return text;
|
|
2847
|
+
SLACK_USER_MENTION_RE$1.lastIndex = 0;
|
|
2848
|
+
return text.replace(SLACK_USER_MENTION_RE$1, (full, userId) => {
|
|
2849
|
+
return renderedMentions.get(userId) ?? full;
|
|
2850
|
+
});
|
|
2851
|
+
}
|
|
2852
|
+
function filterInheritedParentFiles(params) {
|
|
2853
|
+
const { files, isThreadReply, threadStarter } = params;
|
|
2854
|
+
if (!isThreadReply || !files?.length) return files;
|
|
2855
|
+
if (!threadStarter?.files?.length) return files;
|
|
2856
|
+
const starterFileIds = new Set(threadStarter.files.map((file) => file.id));
|
|
2857
|
+
const filtered = files.filter((file) => !file.id || !starterFileIds.has(file.id));
|
|
2858
|
+
if (filtered.length < files.length) logVerbose(`slack: filtered ${files.length - filtered.length} inherited parent file(s) from thread reply`);
|
|
2859
|
+
return filtered.length > 0 ? filtered : void 0;
|
|
2860
|
+
}
|
|
2861
|
+
async function resolveSlackMessageContent(params) {
|
|
2862
|
+
const ownFiles = filterInheritedParentFiles({
|
|
2863
|
+
files: params.message.files,
|
|
2864
|
+
isThreadReply: params.isThreadReply,
|
|
2865
|
+
threadStarter: params.threadStarter
|
|
2866
|
+
});
|
|
2867
|
+
const attachmentContent = ownFiles?.length || params.message.attachments?.length ? await loadSlackMediaModule$1().then(({ resolveSlackAttachmentContent }) => resolveSlackAttachmentContent({
|
|
2868
|
+
files: ownFiles,
|
|
2869
|
+
attachments: params.message.attachments,
|
|
2870
|
+
client: params.client,
|
|
2871
|
+
token: params.botToken,
|
|
2872
|
+
maxBytes: params.mediaMaxBytes,
|
|
2873
|
+
readIdleTimeoutMs: params.mediaReadIdleTimeoutMs,
|
|
2874
|
+
totalTimeoutMs: params.mediaTotalTimeoutMs,
|
|
2875
|
+
abortSignal: params.abortSignal,
|
|
2876
|
+
preloadedMedia: params.preloadedMedia
|
|
2877
|
+
})) : null;
|
|
2878
|
+
const effectiveDirectMedia = attachmentContent?.media.length ? attachmentContent.media : null;
|
|
2879
|
+
const mediaPlaceholder = effectiveDirectMedia?.map((item) => item.placeholder).join(" ");
|
|
2880
|
+
let botAttachmentText;
|
|
2881
|
+
if (params.isBotMessage && !attachmentContent?.text) {
|
|
2882
|
+
const botAttachmentTextParts = [];
|
|
2883
|
+
for (const attachment of params.message.attachments ?? []) {
|
|
2884
|
+
const text = normalizeOptionalString(attachment.text) ?? normalizeOptionalString(attachment.fallback);
|
|
2885
|
+
if (text) botAttachmentTextParts.push(text);
|
|
2886
|
+
}
|
|
2887
|
+
botAttachmentText = botAttachmentTextParts.length > 0 ? botAttachmentTextParts.join("\n") : void 0;
|
|
2888
|
+
}
|
|
2889
|
+
const textParts = [
|
|
2890
|
+
resolveSlackMessageText$1(params.message),
|
|
2891
|
+
attachmentContent?.text,
|
|
2892
|
+
botAttachmentText
|
|
2893
|
+
];
|
|
2894
|
+
const renderedMentions = /* @__PURE__ */ new Map();
|
|
2895
|
+
const resolveUserName = params.resolveUserName;
|
|
2896
|
+
if (resolveUserName) {
|
|
2897
|
+
const mentionIds = collectUniqueSlackMentionIds$1(textParts);
|
|
2898
|
+
const lookupIds = mentionIds.slice(0, SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE);
|
|
2899
|
+
const skippedLookups = mentionIds.length - lookupIds.length;
|
|
2900
|
+
if (skippedLookups > 0) logVerbose(`slack: skipping ${skippedLookups} mention lookup(s) beyond per-message cap (${SLACK_MENTION_RESOLUTION_MAX_LOOKUPS_PER_MESSAGE})`);
|
|
2901
|
+
const { results } = await runTasksWithConcurrency({
|
|
2902
|
+
tasks: lookupIds.map((userId) => async () => {
|
|
2903
|
+
const user = await resolveUserName(userId);
|
|
2904
|
+
const renderedName = normalizeOptionalString(user?.name);
|
|
2905
|
+
return {
|
|
2906
|
+
userId,
|
|
2907
|
+
rendered: renderedName ? `<@${userId}> (${renderedName})` : null
|
|
2908
|
+
};
|
|
2909
|
+
}),
|
|
2910
|
+
limit: SLACK_MENTION_RESOLUTION_CONCURRENCY
|
|
2911
|
+
});
|
|
2912
|
+
for (const result of results) {
|
|
2913
|
+
if (!result) continue;
|
|
2914
|
+
renderedMentions.set(result.userId, result.rendered);
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
const renderedMessageText = renderSlackUserMentions(textParts[0], renderedMentions);
|
|
2918
|
+
const renderedAttachmentText = renderSlackUserMentions(textParts[1], renderedMentions);
|
|
2919
|
+
const renderedBotAttachmentText = renderSlackUserMentions(textParts[2], renderedMentions);
|
|
2920
|
+
const commandSourceText = renderSlackUserMentions(normalizeOptionalString(params.message.text), renderedMentions) ?? "";
|
|
2921
|
+
const rawBody = formatSlackUnavailableMedia({
|
|
2922
|
+
body: [
|
|
2923
|
+
renderedMessageText,
|
|
2924
|
+
renderedAttachmentText,
|
|
2925
|
+
renderedBotAttachmentText,
|
|
2926
|
+
mediaPlaceholder
|
|
2927
|
+
].filter(Boolean).join("\n") || "",
|
|
2928
|
+
files: attachmentContent?.files,
|
|
2929
|
+
unavailableMediaCount: attachmentContent?.unavailableMediaCount ?? 0
|
|
2930
|
+
});
|
|
2931
|
+
const mentionStripPatterns = [...renderedMentions.values()].flatMap((rendered) => rendered ? [rendered] : []);
|
|
2932
|
+
return rawBody ? {
|
|
2933
|
+
rawBody,
|
|
2934
|
+
effectiveDirectMedia,
|
|
2935
|
+
commandSourceText,
|
|
2936
|
+
mentionStripPatterns
|
|
2937
|
+
} : null;
|
|
2938
|
+
}
|
|
2939
|
+
//#endregion
|
|
2940
|
+
//#region extensions/slack/src/monitor/message-handler/prepare-dm-history.ts
|
|
2941
|
+
function resolveSlackDmHistoryLimit(params) {
|
|
2942
|
+
const override = params.userId && params.account.config.dms?.[params.userId]?.historyLimit !== void 0 ? params.account.config.dms[params.userId]?.historyLimit : void 0;
|
|
2943
|
+
return Math.max(0, override ?? params.defaultLimit);
|
|
2944
|
+
}
|
|
2945
|
+
async function resolveSlackDmHistoryContext(params) {
|
|
2946
|
+
const maxMessages = Math.max(0, Math.floor(params.limit));
|
|
2947
|
+
if (maxMessages <= 0) return {
|
|
2948
|
+
body: void 0,
|
|
2949
|
+
inboundHistory: void 0
|
|
2950
|
+
};
|
|
2951
|
+
try {
|
|
2952
|
+
const messages = ((await (params.eventScope?.client ?? params.ctx.app.client).conversations.history({
|
|
2953
|
+
token: params.ctx.botToken,
|
|
2954
|
+
channel: params.channelId,
|
|
2955
|
+
...params.currentMessageTs ? {
|
|
2956
|
+
latest: params.currentMessageTs,
|
|
2957
|
+
inclusive: true
|
|
2958
|
+
} : {},
|
|
2959
|
+
limit: maxMessages + 1
|
|
2960
|
+
})).messages ?? []).filter((message) => {
|
|
2961
|
+
if (params.currentMessageTs && message.ts === params.currentMessageTs) return false;
|
|
2962
|
+
return Boolean(normalizeOptionalString(message.text));
|
|
2963
|
+
}).slice(0, maxMessages).toReversed();
|
|
2964
|
+
if (messages.length === 0) return {
|
|
2965
|
+
body: void 0,
|
|
2966
|
+
inboundHistory: void 0
|
|
2967
|
+
};
|
|
2968
|
+
const userNames = /* @__PURE__ */ new Map();
|
|
2969
|
+
const resolveUserLabel = async (userId) => {
|
|
2970
|
+
const cached = userNames.get(userId);
|
|
2971
|
+
if (cached) return cached;
|
|
2972
|
+
const label = normalizeOptionalString((await params.ctx.resolveUserName(userId, params.eventScope)).name) ?? userId;
|
|
2973
|
+
userNames.set(userId, label);
|
|
2974
|
+
return label;
|
|
2975
|
+
};
|
|
2976
|
+
const entries = [];
|
|
2977
|
+
const formatted = [];
|
|
2978
|
+
for (const message of messages) {
|
|
2979
|
+
const body = normalizeOptionalString(message.text);
|
|
2980
|
+
if (!body) continue;
|
|
2981
|
+
const isCurrentBot = params.ctx.botUserId && message.user === params.ctx.botUserId || params.ctx.botId && message.bot_id === params.ctx.botId;
|
|
2982
|
+
const role = isCurrentBot || message.bot_id ? "assistant" : "user";
|
|
2983
|
+
const sender = `${isCurrentBot ? "Assistant" : message.user ? await resolveUserLabel(message.user) : normalizeOptionalString(message.username) ?? (message.bot_id ? "Bot" : "Unknown")} (${role})`;
|
|
2984
|
+
const timestamp = resolveSlackTimestampMs(message.ts);
|
|
2985
|
+
entries.push({
|
|
2986
|
+
sender,
|
|
2987
|
+
body,
|
|
2988
|
+
timestamp
|
|
2989
|
+
});
|
|
2990
|
+
formatted.push(formatInboundEnvelope({
|
|
2991
|
+
channel: "Slack",
|
|
2992
|
+
from: sender,
|
|
2993
|
+
timestamp,
|
|
2994
|
+
body: `${body}\n[slack message id: ${message.ts ?? "unknown"} channel: ${params.channelId}]`,
|
|
2995
|
+
chatType: "direct",
|
|
2996
|
+
envelope: params.envelopeOptions
|
|
2997
|
+
}));
|
|
2998
|
+
}
|
|
2999
|
+
return {
|
|
3000
|
+
body: formatted.length > 0 ? formatted.join("\n\n") : void 0,
|
|
3001
|
+
inboundHistory: entries.length > 0 ? entries : void 0
|
|
3002
|
+
};
|
|
3003
|
+
} catch (err) {
|
|
3004
|
+
logVerbose(`slack: failed to fetch DM history for channel ${params.channelId}: ${formatErrorMessage(err)}`);
|
|
3005
|
+
return {
|
|
3006
|
+
body: void 0,
|
|
3007
|
+
inboundHistory: void 0
|
|
3008
|
+
};
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
//#endregion
|
|
3012
|
+
//#region extensions/slack/src/monitor/message-handler/prepare-thread-context-root.ts
|
|
3013
|
+
function isSlackThreadAuthorCurrentBot(params) {
|
|
3014
|
+
const { identity, author } = params;
|
|
3015
|
+
if (identity.botUserId && author.userId && author.userId === identity.botUserId) return true;
|
|
3016
|
+
if (identity.botId && author.botId && author.botId === identity.botId) return true;
|
|
3017
|
+
return false;
|
|
3018
|
+
}
|
|
3019
|
+
function resolveSlackThreadHistoryFilterPolicy(params) {
|
|
3020
|
+
if (params.retainCurrentBotHistory) return { currentBot: "all" };
|
|
3021
|
+
if (!params.includeBotStarterAsRootContext || !params.starterTs) return { currentBot: "omit" };
|
|
3022
|
+
return {
|
|
3023
|
+
currentBot: "root-only",
|
|
3024
|
+
rootTs: params.starterTs
|
|
3025
|
+
};
|
|
3026
|
+
}
|
|
3027
|
+
function applySlackThreadHistoryFilterPolicy(params) {
|
|
3028
|
+
const kept = [];
|
|
3029
|
+
let omittedCurrentBot = 0;
|
|
3030
|
+
for (const entry of params.history) {
|
|
3031
|
+
if (!isSlackThreadAuthorCurrentBot({
|
|
3032
|
+
identity: params.identity,
|
|
3033
|
+
author: entry
|
|
3034
|
+
})) {
|
|
3035
|
+
kept.push(entry);
|
|
3036
|
+
continue;
|
|
3037
|
+
}
|
|
3038
|
+
if (params.policy.currentBot === "all" || params.policy.currentBot === "root-only" && entry.ts === params.policy.rootTs) kept.push(entry);
|
|
3039
|
+
else omittedCurrentBot += 1;
|
|
3040
|
+
}
|
|
3041
|
+
return {
|
|
3042
|
+
kept,
|
|
3043
|
+
omittedCurrentBot
|
|
3044
|
+
};
|
|
3045
|
+
}
|
|
3046
|
+
function shouldIncludeBotThreadStarterContext(params) {
|
|
3047
|
+
if (!params.hasStarterText) return false;
|
|
3048
|
+
return params.starterIsCurrentBot && params.isNewThreadSession;
|
|
3049
|
+
}
|
|
3050
|
+
function ensureSlackThreadHistoryHasBotRoot(params) {
|
|
3051
|
+
if (!params.includeBotStarterAsRootContext || !params.threadStarter?.text) return params.history;
|
|
3052
|
+
if (params.history.some((entry) => entry.ts === params.threadStarter?.ts)) return params.history;
|
|
3053
|
+
return [params.threadStarter, ...params.history];
|
|
3054
|
+
}
|
|
3055
|
+
function formatSlackBotStarterThreadLabel(params) {
|
|
3056
|
+
const base = `Slack thread ${params.roomLabel}`;
|
|
3057
|
+
if (!params.starterText) return base;
|
|
3058
|
+
const snippet = formatSlackThreadLabelSnippet(params.starterText).trim();
|
|
3059
|
+
if (!snippet) return base;
|
|
3060
|
+
return `${base} (assistant root): ${snippet}`;
|
|
3061
|
+
}
|
|
3062
|
+
function formatSlackThreadLabelSnippet(text) {
|
|
3063
|
+
return truncateUtf16Safe(text.replace(/\s+/g, " "), 80);
|
|
3064
|
+
}
|
|
3065
|
+
//#endregion
|
|
3066
|
+
//#region extensions/slack/src/monitor/message-handler/prepare-thread-context.ts
|
|
3067
|
+
const loadSlackMediaModule = createLazyRuntimeModule(() => import("./actions-BvGUGk3w.mjs").then((n) => n._));
|
|
3068
|
+
const SLACK_THREAD_CONTEXT_USER_LOOKUP_CONCURRENCY = 4;
|
|
3069
|
+
function resolveSlackThreadSessionFreshness(params) {
|
|
3070
|
+
return params.ctx.channelRuntime?.session?.resolveEntryResetFreshness?.({
|
|
3071
|
+
agentId: params.agentId,
|
|
3072
|
+
storePath: params.storePath,
|
|
3073
|
+
sessionKey: params.sessionKey,
|
|
3074
|
+
sessionCfg: params.ctx.cfg.session,
|
|
3075
|
+
resetType: "thread",
|
|
3076
|
+
resetOverride: resolveChannelResetConfig({
|
|
3077
|
+
sessionCfg: params.ctx.cfg.session,
|
|
3078
|
+
channel: "slack"
|
|
3079
|
+
})
|
|
3080
|
+
});
|
|
3081
|
+
}
|
|
3082
|
+
function isSlackThreadContextSenderAllowed(params) {
|
|
3083
|
+
return resolveInboundSupplementalSenderAllowed({
|
|
3084
|
+
isGroup: true,
|
|
3085
|
+
groupPolicy: params.allowFromLower.length === 0 ? "open" : "allowlist",
|
|
3086
|
+
allowFrom: params.allowFromLower,
|
|
3087
|
+
isSenderAllowed: (allowFrom) => {
|
|
3088
|
+
if (params.botId) return true;
|
|
3089
|
+
if (!params.userId) return false;
|
|
3090
|
+
return resolveSlackAllowListMatch({
|
|
3091
|
+
allowList: allowFrom,
|
|
3092
|
+
id: params.userId,
|
|
3093
|
+
name: params.userName,
|
|
3094
|
+
allowNameMatching: params.allowNameMatching
|
|
3095
|
+
}).allowed;
|
|
3096
|
+
}
|
|
3097
|
+
});
|
|
3098
|
+
}
|
|
3099
|
+
async function resolveSlackThreadUserMap(params) {
|
|
3100
|
+
const uniqueUserIds = [];
|
|
3101
|
+
const seen = /* @__PURE__ */ new Set();
|
|
3102
|
+
for (const item of params.messages) {
|
|
3103
|
+
if (!item.userId || seen.has(item.userId)) continue;
|
|
3104
|
+
seen.add(item.userId);
|
|
3105
|
+
uniqueUserIds.push(item.userId);
|
|
3106
|
+
}
|
|
3107
|
+
const userMap = /* @__PURE__ */ new Map();
|
|
3108
|
+
if (uniqueUserIds.length === 0) return userMap;
|
|
3109
|
+
const { results } = await runTasksWithConcurrency({
|
|
3110
|
+
tasks: uniqueUserIds.map((id) => async () => {
|
|
3111
|
+
const user = await params.ctx.resolveUserName(id, params.eventScope);
|
|
3112
|
+
return user ? {
|
|
3113
|
+
id,
|
|
3114
|
+
user
|
|
3115
|
+
} : null;
|
|
3116
|
+
}),
|
|
3117
|
+
limit: SLACK_THREAD_CONTEXT_USER_LOOKUP_CONCURRENCY
|
|
3118
|
+
});
|
|
3119
|
+
for (const result of results) if (result) userMap.set(result.id, result.user);
|
|
3120
|
+
return userMap;
|
|
3121
|
+
}
|
|
3122
|
+
async function resolveSlackThreadContextData(params) {
|
|
3123
|
+
const botIdentity = {
|
|
3124
|
+
botUserId: params.ctx.botUserId,
|
|
3125
|
+
botId: params.ctx.botId
|
|
3126
|
+
};
|
|
3127
|
+
const isCurrentBotAuthor = (author) => isSlackThreadAuthorCurrentBot({
|
|
3128
|
+
identity: botIdentity,
|
|
3129
|
+
author
|
|
3130
|
+
});
|
|
3131
|
+
let threadStarterBody;
|
|
3132
|
+
let threadHistoryBody;
|
|
3133
|
+
let threadLabel;
|
|
3134
|
+
let threadStarterMedia = null;
|
|
3135
|
+
const threadSessionFreshness = params.isThreadReply && params.threadTs ? resolveSlackThreadSessionFreshness({
|
|
3136
|
+
ctx: params.ctx,
|
|
3137
|
+
agentId: params.agentId,
|
|
3138
|
+
storePath: params.storePath,
|
|
3139
|
+
sessionKey: params.sessionKey
|
|
3140
|
+
}) : void 0;
|
|
3141
|
+
const threadSessionPreviousTimestamp = params.isThreadReply && params.threadTs && !threadSessionFreshness ? readSessionUpdatedAt({
|
|
3142
|
+
storePath: params.storePath,
|
|
3143
|
+
sessionKey: params.sessionKey
|
|
3144
|
+
}) : void 0;
|
|
3145
|
+
const isMissingThreadSession = threadSessionFreshness ? threadSessionFreshness.state === "missing" : threadSessionPreviousTimestamp === void 0;
|
|
3146
|
+
const isOutboundOnlyThreadSession = threadSessionFreshness !== void 0 && threadSessionFreshness.state !== "missing" && threadSessionFreshness.entry.lastInteractionAt === void 0 && threadSessionFreshness.entry.updatedAt !== 0;
|
|
3147
|
+
const shouldSeedInitialThreadContext = Boolean(params.isThreadReply && params.threadTs && (threadSessionFreshness ? threadSessionFreshness.state !== "fresh" || isOutboundOnlyThreadSession : threadSessionPreviousTimestamp === void 0));
|
|
3148
|
+
const shouldLoadInitialThreadHistory = shouldSeedInitialThreadContext || params.forceInitialHistory === true;
|
|
3149
|
+
if (!params.isThreadReply || !params.threadTs) return {
|
|
3150
|
+
threadStarterBody,
|
|
3151
|
+
threadHistoryBody,
|
|
3152
|
+
shouldSeedInitialThreadContext,
|
|
3153
|
+
threadLabel,
|
|
3154
|
+
threadStarterMedia
|
|
3155
|
+
};
|
|
3156
|
+
const starter = params.threadStarter;
|
|
3157
|
+
const starterSenderName = params.allowNameMatching && params.allowFromLower.length > 0 && starter?.userId ? (await params.ctx.resolveUserName(starter.userId, params.eventScope))?.name : void 0;
|
|
3158
|
+
const starterIsCurrentBot = Boolean(starter && isCurrentBotAuthor({
|
|
3159
|
+
userId: starter.userId,
|
|
3160
|
+
botId: starter.botId
|
|
3161
|
+
}));
|
|
3162
|
+
const starterAllowed = !starter || !starterIsCurrentBot && isSlackThreadContextSenderAllowed({
|
|
3163
|
+
allowFromLower: params.allowFromLower,
|
|
3164
|
+
allowNameMatching: params.allowNameMatching,
|
|
3165
|
+
userId: starter.userId,
|
|
3166
|
+
userName: starterSenderName,
|
|
3167
|
+
botId: starter.botId
|
|
3168
|
+
});
|
|
3169
|
+
const includeStarterContext = !starter || !starterIsCurrentBot && shouldIncludeSupplementalContext({
|
|
3170
|
+
mode: params.contextVisibilityMode,
|
|
3171
|
+
kind: "thread",
|
|
3172
|
+
senderAllowed: starterAllowed
|
|
3173
|
+
});
|
|
3174
|
+
if (starter?.text && includeStarterContext) {
|
|
3175
|
+
threadStarterBody = starter.text;
|
|
3176
|
+
const snippet = formatSlackThreadLabelSnippet(starter.text);
|
|
3177
|
+
threadLabel = `Slack thread ${params.roomLabel}${snippet ? `: ${snippet}` : ""}`;
|
|
3178
|
+
if (shouldSeedInitialThreadContext && !params.effectiveDirectMedia && starter.files && starter.files.length > 0) {
|
|
3179
|
+
const { resolveSlackAttachmentContent } = await loadSlackMediaModule();
|
|
3180
|
+
const attachmentContent = await resolveSlackAttachmentContent({
|
|
3181
|
+
files: starter.files,
|
|
3182
|
+
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3183
|
+
token: params.ctx.botToken,
|
|
3184
|
+
maxBytes: params.ctx.mediaMaxBytes
|
|
3185
|
+
});
|
|
3186
|
+
threadStarterMedia = attachmentContent?.media.length ? attachmentContent.media : null;
|
|
3187
|
+
if (attachmentContent) threadStarterBody = formatSlackUnavailableMedia({
|
|
3188
|
+
body: threadStarterBody,
|
|
3189
|
+
files: attachmentContent.files,
|
|
3190
|
+
unavailableMediaCount: attachmentContent.unavailableMediaCount,
|
|
3191
|
+
prependUnavailable: true
|
|
3192
|
+
});
|
|
3193
|
+
if (threadStarterMedia) {
|
|
3194
|
+
const starterPlaceholders = threadStarterMedia.map((item) => item.placeholder).join(", ");
|
|
3195
|
+
logVerbose(`slack: hydrated thread starter file ${starterPlaceholders} from root message`);
|
|
3196
|
+
}
|
|
3197
|
+
}
|
|
3198
|
+
} else threadLabel = `Slack thread ${params.roomLabel}`;
|
|
3199
|
+
const includeBotStarterAsRootContext = shouldIncludeBotThreadStarterContext({
|
|
3200
|
+
starterIsCurrentBot,
|
|
3201
|
+
isNewThreadSession: shouldSeedInitialThreadContext,
|
|
3202
|
+
hasStarterText: Boolean(starter?.text)
|
|
3203
|
+
});
|
|
3204
|
+
if (starter?.text && starterIsCurrentBot && !includeBotStarterAsRootContext) logVerbose("slack: omitted current-bot thread starter from context");
|
|
3205
|
+
else if (starter?.text && !includeStarterContext && !starterIsCurrentBot) logVerbose(`slack: omitted thread starter from context (mode=${params.contextVisibilityMode}, sender_allowed=${starterAllowed ? "yes" : "no"})`);
|
|
3206
|
+
else if (includeBotStarterAsRootContext) {
|
|
3207
|
+
threadLabel = formatSlackBotStarterThreadLabel({
|
|
3208
|
+
roomLabel: params.roomLabel,
|
|
3209
|
+
starterText: starter?.text
|
|
3210
|
+
});
|
|
3211
|
+
logVerbose("slack: retained current-bot thread starter as assistant root context");
|
|
3212
|
+
}
|
|
3213
|
+
const threadInitialHistoryLimit = params.account.config?.thread?.initialHistoryLimit ?? 20;
|
|
3214
|
+
if (threadInitialHistoryLimit > 0 && shouldLoadInitialThreadHistory) {
|
|
3215
|
+
const currentBotRootTs = starter?.ts ?? params.threadTs;
|
|
3216
|
+
const threadHistory = await resolveSlackThreadHistory({
|
|
3217
|
+
channelId: params.message.channel,
|
|
3218
|
+
threadTs: params.threadTs,
|
|
3219
|
+
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3220
|
+
currentMessageTs: params.message.ts,
|
|
3221
|
+
limit: threadInitialHistoryLimit
|
|
3222
|
+
});
|
|
3223
|
+
const enrichedStarter = starter && threadStarterBody && threadStarterBody !== starter.text ? {
|
|
3224
|
+
...starter,
|
|
3225
|
+
text: threadStarterBody,
|
|
3226
|
+
ts: currentBotRootTs
|
|
3227
|
+
} : null;
|
|
3228
|
+
const threadHistoryWithBotRoot = ensureSlackThreadHistoryHasBotRoot({
|
|
3229
|
+
history: enrichedStarter && !threadHistory.some((entry) => entry.ts === currentBotRootTs) ? [enrichedStarter, ...threadHistory.length >= threadInitialHistoryLimit ? threadHistory.slice(1) : threadHistory] : threadHistory,
|
|
3230
|
+
includeBotStarterAsRootContext,
|
|
3231
|
+
threadStarter: starter ? {
|
|
3232
|
+
...starter,
|
|
3233
|
+
ts: currentBotRootTs
|
|
3234
|
+
} : null
|
|
3235
|
+
});
|
|
3236
|
+
if (threadHistoryWithBotRoot.length > 0) {
|
|
3237
|
+
const { kept: threadHistoryWithoutCurrentBot, omittedCurrentBot: omittedCurrentBotHistoryCount } = applySlackThreadHistoryFilterPolicy({
|
|
3238
|
+
history: threadHistoryWithBotRoot,
|
|
3239
|
+
policy: resolveSlackThreadHistoryFilterPolicy({
|
|
3240
|
+
includeBotStarterAsRootContext,
|
|
3241
|
+
starterTs: currentBotRootTs,
|
|
3242
|
+
retainCurrentBotHistory: params.isGroupDm && (isMissingThreadSession || isOutboundOnlyThreadSession)
|
|
3243
|
+
}),
|
|
3244
|
+
identity: botIdentity
|
|
3245
|
+
});
|
|
3246
|
+
const userMapForFilter = params.contextVisibilityMode !== "all" && params.allowNameMatching && params.allowFromLower.length > 0 ? await resolveSlackThreadUserMap({
|
|
3247
|
+
ctx: params.ctx,
|
|
3248
|
+
messages: threadHistoryWithoutCurrentBot,
|
|
3249
|
+
eventScope: params.eventScope
|
|
3250
|
+
}) : /* @__PURE__ */ new Map();
|
|
3251
|
+
const { items: filteredThreadHistory, omitted: omittedHistoryCount } = params.contextVisibilityMode === "all" ? {
|
|
3252
|
+
items: threadHistoryWithoutCurrentBot,
|
|
3253
|
+
omitted: 0
|
|
3254
|
+
} : filterSupplementalContextItems({
|
|
3255
|
+
items: threadHistoryWithoutCurrentBot,
|
|
3256
|
+
mode: params.contextVisibilityMode,
|
|
3257
|
+
kind: "thread",
|
|
3258
|
+
isSenderAllowed: (historyMsg) => {
|
|
3259
|
+
if (isCurrentBotAuthor({
|
|
3260
|
+
userId: historyMsg.userId,
|
|
3261
|
+
botId: historyMsg.botId
|
|
3262
|
+
})) return true;
|
|
3263
|
+
const msgUser = historyMsg.userId ? userMapForFilter.get(historyMsg.userId) : null;
|
|
3264
|
+
return isSlackThreadContextSenderAllowed({
|
|
3265
|
+
allowFromLower: params.allowFromLower,
|
|
3266
|
+
allowNameMatching: params.allowNameMatching,
|
|
3267
|
+
userId: historyMsg.userId,
|
|
3268
|
+
userName: msgUser?.name,
|
|
3269
|
+
botId: historyMsg.botId
|
|
3270
|
+
});
|
|
3271
|
+
}
|
|
3272
|
+
});
|
|
3273
|
+
const userMap = await resolveSlackThreadUserMap({
|
|
3274
|
+
ctx: params.ctx,
|
|
3275
|
+
messages: filteredThreadHistory
|
|
3276
|
+
});
|
|
3277
|
+
if (omittedHistoryCount > 0 || omittedCurrentBotHistoryCount > 0) logVerbose(`slack: omitted ${omittedHistoryCount + omittedCurrentBotHistoryCount} thread message(s) from context (mode=${params.contextVisibilityMode})`);
|
|
3278
|
+
const historyParts = [];
|
|
3279
|
+
for (const historyMsg of filteredThreadHistory) {
|
|
3280
|
+
const msgUser = historyMsg.userId ? userMap.get(historyMsg.userId) : null;
|
|
3281
|
+
const isOtherBot = Boolean(historyMsg.botId) && historyMsg.botId !== params.ctx.botId;
|
|
3282
|
+
const isCurrentBot = isCurrentBotAuthor({
|
|
3283
|
+
userId: historyMsg.userId,
|
|
3284
|
+
botId: historyMsg.botId
|
|
3285
|
+
});
|
|
3286
|
+
const role = isCurrentBot || isOtherBot || Boolean(historyMsg.botId) ? "assistant" : "user";
|
|
3287
|
+
const msgSenderName = isCurrentBot ? "Bot (this assistant)" : msgUser?.name ?? (historyMsg.botId ? `Bot (${historyMsg.botId})` : "Unknown");
|
|
3288
|
+
const msgWithId = `${historyMsg.ts === currentBotRootTs && threadStarterBody ? threadStarterBody : historyMsg.text}\n[slack message id: ${historyMsg.ts ?? "unknown"} channel: ${params.message.channel}]`;
|
|
3289
|
+
historyParts.push(formatInboundEnvelope({
|
|
3290
|
+
channel: "Slack",
|
|
3291
|
+
from: `${msgSenderName} (${role})`,
|
|
3292
|
+
timestamp: resolveSlackTimestampMs(historyMsg.ts),
|
|
3293
|
+
body: msgWithId,
|
|
3294
|
+
chatType: "channel",
|
|
3295
|
+
envelope: params.envelopeOptions
|
|
3296
|
+
}));
|
|
3297
|
+
}
|
|
3298
|
+
if (historyParts.length > 0) {
|
|
3299
|
+
threadHistoryBody = historyParts.join("\n\n");
|
|
3300
|
+
logVerbose(`slack: populated thread history with ${filteredThreadHistory.length} messages for new session`);
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
return {
|
|
3305
|
+
threadStarterBody,
|
|
3306
|
+
threadHistoryBody,
|
|
3307
|
+
shouldSeedInitialThreadContext,
|
|
3308
|
+
threadLabel,
|
|
3309
|
+
threadStarterMedia
|
|
3310
|
+
};
|
|
3311
|
+
}
|
|
3312
|
+
//#endregion
|
|
3313
|
+
//#region extensions/slack/src/monitor/message-handler/subteam-mentions.ts
|
|
3314
|
+
const SUBTEAM_MENTION_RE = /<!subteam\^([A-Z0-9]+)(?:\|[^>]*)?>/gi;
|
|
3315
|
+
const SUBTEAM_MEMBER_CACHE_TTL_MS = 3e5;
|
|
3316
|
+
const subteamMemberCache = /* @__PURE__ */ new WeakMap();
|
|
3317
|
+
function normalizeSlackId(value) {
|
|
3318
|
+
return typeof value === "string" && value.trim() ? value.trim().toUpperCase() : void 0;
|
|
3319
|
+
}
|
|
3320
|
+
function extractSlackSubteamMentionIds(text) {
|
|
3321
|
+
if (!text) return [];
|
|
3322
|
+
const ids = /* @__PURE__ */ new Set();
|
|
3323
|
+
for (const match of text.matchAll(SUBTEAM_MENTION_RE)) {
|
|
3324
|
+
const id = normalizeSlackId(match[1]);
|
|
3325
|
+
if (id) ids.add(id);
|
|
3326
|
+
}
|
|
3327
|
+
return [...ids];
|
|
3328
|
+
}
|
|
3329
|
+
async function readSlackSubteamUsers(params) {
|
|
3330
|
+
let bySubteam = subteamMemberCache.get(params.client);
|
|
3331
|
+
if (!bySubteam) {
|
|
3332
|
+
bySubteam = /* @__PURE__ */ new Map();
|
|
3333
|
+
subteamMemberCache.set(params.client, bySubteam);
|
|
3334
|
+
}
|
|
3335
|
+
const cacheKey = `${normalizeSlackId(params.teamId) ?? ""}:${params.subteamId}`;
|
|
3336
|
+
const cached = bySubteam.get(cacheKey);
|
|
3337
|
+
const now = asDateTimestampMs(params.now);
|
|
3338
|
+
if (cached) {
|
|
3339
|
+
if (now !== void 0 && asDateTimestampMs(cached.expiresAt) !== void 0 && cached.expiresAt > now) return cached.users;
|
|
3340
|
+
bySubteam.delete(cacheKey);
|
|
3341
|
+
}
|
|
3342
|
+
try {
|
|
3343
|
+
const response = await params.client.usergroups.users.list({
|
|
3344
|
+
usergroup: params.subteamId,
|
|
3345
|
+
...params.teamId ? { team_id: params.teamId } : {}
|
|
3346
|
+
});
|
|
3347
|
+
if (!response.ok) {
|
|
3348
|
+
params.log?.(`slack: failed to resolve user-group mention ${params.subteamId}: ${response.error ?? "unknown_error"}`);
|
|
3349
|
+
return /* @__PURE__ */ new Set();
|
|
3350
|
+
}
|
|
3351
|
+
const users = new Set((response.users ?? []).map((userId) => normalizeSlackId(userId)).filter(Boolean));
|
|
3352
|
+
const expiresAt = resolveExpiresAtMsFromDurationMs(SUBTEAM_MEMBER_CACHE_TTL_MS, { nowMs: params.now });
|
|
3353
|
+
if (expiresAt !== void 0) bySubteam.set(cacheKey, {
|
|
3354
|
+
expiresAt,
|
|
3355
|
+
users
|
|
3356
|
+
});
|
|
3357
|
+
return users;
|
|
3358
|
+
} catch (err) {
|
|
3359
|
+
params.log?.(`slack: failed to resolve user-group mention ${params.subteamId}: ${formatErrorMessage(err)}`);
|
|
3360
|
+
return /* @__PURE__ */ new Set();
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
async function isSlackSubteamMentionForBot(params) {
|
|
3364
|
+
const botUserId = normalizeSlackId(params.botUserId);
|
|
3365
|
+
if (!botUserId) return false;
|
|
3366
|
+
const subteamIds = extractSlackSubteamMentionIds(params.text);
|
|
3367
|
+
if (subteamIds.length === 0) return false;
|
|
3368
|
+
const now = params.now ?? Date.now();
|
|
3369
|
+
for (const subteamId of subteamIds) if ((await readSlackSubteamUsers({
|
|
3370
|
+
client: params.client,
|
|
3371
|
+
subteamId,
|
|
3372
|
+
teamId: normalizeOptionalString(params.teamId),
|
|
3373
|
+
now,
|
|
3374
|
+
log: params.log
|
|
3375
|
+
})).has(botUserId)) return true;
|
|
3376
|
+
return false;
|
|
3377
|
+
}
|
|
3378
|
+
//#endregion
|
|
3379
|
+
//#region extensions/slack/src/monitor/message-handler/prepare.ts
|
|
3380
|
+
const mentionRegexCache = /* @__PURE__ */ new WeakMap();
|
|
3381
|
+
const SLACK_ANY_MENTION_RE = /<@[^>]+>|<!subteam\^[^>]+>/;
|
|
3382
|
+
const SLACK_USER_MENTION_RE = /<@([^>|]+)(?:\|[^>]+)?>/g;
|
|
3383
|
+
const SLACK_SUBTEAM_MENTION_RE = /<!subteam\^([^>|]+)(?:\|[^>]+)?>/g;
|
|
3384
|
+
const SLACK_SUBTEAM_MENTION_MARKER = "<!subteam^";
|
|
3385
|
+
const SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS = 4;
|
|
3386
|
+
const SLACK_HISTORY_MEDIA_MAX_BYTES = 10485760;
|
|
3387
|
+
const SLACK_HISTORY_MEDIA_IDLE_TIMEOUT_MS = 1e3;
|
|
3388
|
+
const SLACK_HISTORY_MEDIA_TOTAL_TIMEOUT_MS = 3e3;
|
|
3389
|
+
const SLACK_CHANNEL_ACCESS_DOCS_URL = "https://docs.openclaw.ai/channels/slack#access-control-and-routing";
|
|
3390
|
+
function resolveSlackGroupSessionSubject(params) {
|
|
3391
|
+
const channelName = normalizeOptionalString(params.channelName);
|
|
3392
|
+
const workspaceName = normalizeOptionalString(params.workspaceName);
|
|
3393
|
+
if (channelName && workspaceName) return `${workspaceName} #${channelName}`;
|
|
3394
|
+
return `Slack Channel (Workspace ID: ${params.workspaceId}, Channel ID: ${params.channelId})`;
|
|
3395
|
+
}
|
|
3396
|
+
function recordString(record, key) {
|
|
3397
|
+
return normalizeOptionalString(record?.[key]);
|
|
3398
|
+
}
|
|
3399
|
+
function recordNullableString(record, key) {
|
|
3400
|
+
if (!record || !(key in record)) return;
|
|
3401
|
+
if (record[key] === null) return null;
|
|
3402
|
+
return normalizeOptionalString(record[key]);
|
|
3403
|
+
}
|
|
3404
|
+
function mergeSlackAssistantThreadContext(primary, fallback) {
|
|
3405
|
+
if (!primary) return fallback;
|
|
3406
|
+
if (!fallback) return primary;
|
|
3407
|
+
return {
|
|
3408
|
+
assistantChannelId: primary.assistantChannelId || fallback.assistantChannelId,
|
|
3409
|
+
threadTs: primary.threadTs || fallback.threadTs,
|
|
3410
|
+
userId: primary.userId ?? fallback.userId,
|
|
3411
|
+
channelId: primary.channelId ?? fallback.channelId,
|
|
3412
|
+
teamId: primary.teamId ?? fallback.teamId,
|
|
3413
|
+
enterpriseId: primary.enterpriseId !== void 0 ? primary.enterpriseId : fallback.enterpriseId
|
|
3414
|
+
};
|
|
3415
|
+
}
|
|
3416
|
+
function hasSlackAssistantThreadMetadata(context) {
|
|
3417
|
+
return Boolean(context?.channelId || context?.teamId || context?.enterpriseId !== void 0);
|
|
3418
|
+
}
|
|
3419
|
+
function resolveSlackMessageAssistantThreadContext(message) {
|
|
3420
|
+
const thread = asOptionalRecord(message.assistant_thread);
|
|
3421
|
+
if (!thread) return;
|
|
3422
|
+
const context = asOptionalRecord(thread.context);
|
|
3423
|
+
const assistantChannelId = recordString(thread, "channel_id") ?? message.channel;
|
|
3424
|
+
const threadTs = recordString(thread, "thread_ts") ?? message.thread_ts ?? message.ts;
|
|
3425
|
+
if (!assistantChannelId || !threadTs) return;
|
|
3426
|
+
return {
|
|
3427
|
+
assistantChannelId,
|
|
3428
|
+
threadTs,
|
|
3429
|
+
userId: recordString(thread, "user_id") ?? message.user,
|
|
3430
|
+
channelId: recordString(context, "channel_id"),
|
|
3431
|
+
teamId: recordString(context, "team_id"),
|
|
3432
|
+
enterpriseId: recordNullableString(context, "enterprise_id")
|
|
3433
|
+
};
|
|
3434
|
+
}
|
|
3435
|
+
async function restoreSlackAssistantThreadContextFromMetadata(params) {
|
|
3436
|
+
const threadTs = params.message.thread_ts;
|
|
3437
|
+
const parentUserId = params.message.parent_user_id?.trim();
|
|
3438
|
+
if (!params.message.channel || !threadTs || !parentUserId || parentUserId !== params.ctx.botUserId && parentUserId !== params.ctx.botId) return;
|
|
3439
|
+
try {
|
|
3440
|
+
return await readSlackAssistantThreadContext({
|
|
3441
|
+
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3442
|
+
channelId: params.message.channel,
|
|
3443
|
+
threadTs,
|
|
3444
|
+
userId: params.message.user
|
|
3445
|
+
});
|
|
3446
|
+
} catch (err) {
|
|
3447
|
+
logVerbose(`slack assistant context restore failed channel=${params.message.channel} ts=${threadTs}: ${formatErrorMessage(err)}`);
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3450
|
+
function resolveCachedMentionRegexes(ctx, agentId, options) {
|
|
3451
|
+
const key = [
|
|
3452
|
+
normalizeOptionalString(agentId) ?? "__default__",
|
|
3453
|
+
normalizeOptionalString(options?.provider),
|
|
3454
|
+
normalizeOptionalString(options?.conversationId ?? void 0),
|
|
3455
|
+
options?.providerPolicy ? JSON.stringify(options.providerPolicy) : ""
|
|
3456
|
+
].join("");
|
|
3457
|
+
let byAgent = mentionRegexCache.get(ctx);
|
|
3458
|
+
if (!byAgent) {
|
|
3459
|
+
byAgent = /* @__PURE__ */ new Map();
|
|
3460
|
+
mentionRegexCache.set(ctx, byAgent);
|
|
3461
|
+
}
|
|
3462
|
+
const cached = byAgent.get(key);
|
|
3463
|
+
if (cached) return cached;
|
|
3464
|
+
const built = buildMentionRegexes(ctx.cfg, agentId, options);
|
|
3465
|
+
byAgent.set(key, built);
|
|
3466
|
+
return built;
|
|
3467
|
+
}
|
|
3468
|
+
function isSlackImageFileCandidate(file) {
|
|
3469
|
+
if ((file.mimetype?.split(";")[0]?.trim().toLowerCase())?.startsWith("image/")) return true;
|
|
3470
|
+
return Boolean(mimeTypeFromFilePath(file.name)?.startsWith("image/"));
|
|
3471
|
+
}
|
|
3472
|
+
function sliceSlackImageFileCandidates(files, limit) {
|
|
3473
|
+
if (limit <= 0 || !files?.length) return [];
|
|
3474
|
+
return files.filter(isSlackImageFileCandidate).slice(0, limit);
|
|
3475
|
+
}
|
|
3476
|
+
function sliceSlackHistoryAttachmentCandidates(attachments, limit) {
|
|
3477
|
+
if (limit <= 0 || !attachments?.length) return [];
|
|
3478
|
+
const out = [];
|
|
3479
|
+
let remaining = limit;
|
|
3480
|
+
for (const attachment of attachments) {
|
|
3481
|
+
if (attachment.is_share !== true) continue;
|
|
3482
|
+
const hasImageUrl = Boolean(normalizeOptionalString(attachment.image_url));
|
|
3483
|
+
const files = sliceSlackImageFileCandidates(attachment.files, remaining - (hasImageUrl ? 1 : 0));
|
|
3484
|
+
if (!hasImageUrl && files.length === 0) continue;
|
|
3485
|
+
out.push({
|
|
3486
|
+
...attachment,
|
|
3487
|
+
files
|
|
3488
|
+
});
|
|
3489
|
+
remaining -= (hasImageUrl ? 1 : 0) + files.length;
|
|
3490
|
+
if (remaining <= 0) break;
|
|
3491
|
+
}
|
|
3492
|
+
return out;
|
|
3493
|
+
}
|
|
3494
|
+
function buildSlackHistoryMediaCandidateMessage(message) {
|
|
3495
|
+
const files = sliceSlackImageFileCandidates(message.files, SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS);
|
|
3496
|
+
const attachments = sliceSlackHistoryAttachmentCandidates(message.attachments, Math.max(0, SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS - files.length));
|
|
3497
|
+
if (files.length === 0 && attachments.length === 0) return null;
|
|
3498
|
+
return {
|
|
3499
|
+
...message,
|
|
3500
|
+
files,
|
|
3501
|
+
attachments
|
|
3502
|
+
};
|
|
3503
|
+
}
|
|
3504
|
+
async function resolveSlackHistoryMediaForPendingRecord(params) {
|
|
3505
|
+
const mediaMessage = buildSlackHistoryMediaCandidateMessage(params.message);
|
|
3506
|
+
if (!mediaMessage) return [];
|
|
3507
|
+
const content = await resolveSlackMessageContent({
|
|
3508
|
+
message: mediaMessage,
|
|
3509
|
+
isThreadReply: params.isThreadReply,
|
|
3510
|
+
threadStarter: params.threadStarter,
|
|
3511
|
+
isBotMessage: params.isBotMessage,
|
|
3512
|
+
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3513
|
+
botToken: params.ctx.botToken,
|
|
3514
|
+
mediaMaxBytes: Math.min(params.ctx.mediaMaxBytes, SLACK_HISTORY_MEDIA_MAX_BYTES),
|
|
3515
|
+
mediaReadIdleTimeoutMs: SLACK_HISTORY_MEDIA_IDLE_TIMEOUT_MS,
|
|
3516
|
+
mediaTotalTimeoutMs: SLACK_HISTORY_MEDIA_TOTAL_TIMEOUT_MS
|
|
3517
|
+
});
|
|
3518
|
+
return await toInboundMediaFactsWithMetadata(content?.effectiveDirectMedia, {
|
|
3519
|
+
kind: "image",
|
|
3520
|
+
messageId: params.message.ts
|
|
3521
|
+
});
|
|
3522
|
+
}
|
|
3523
|
+
function collectUniqueSlackMentionIds(text, regex) {
|
|
3524
|
+
const ids = [];
|
|
3525
|
+
regex.lastIndex = 0;
|
|
3526
|
+
for (const match of text.matchAll(regex)) {
|
|
3527
|
+
const id = normalizeSlackId(match[1]);
|
|
3528
|
+
if (id && !ids.includes(id)) ids.push(id);
|
|
3529
|
+
}
|
|
3530
|
+
return ids;
|
|
3531
|
+
}
|
|
3532
|
+
function collectSlackMentionMetadata(text) {
|
|
3533
|
+
return {
|
|
3534
|
+
mentionedUserIds: collectUniqueSlackMentionIds(text, SLACK_USER_MENTION_RE),
|
|
3535
|
+
mentionedSubteamIds: collectUniqueSlackMentionIds(text, SLACK_SUBTEAM_MENTION_RE),
|
|
3536
|
+
hasAnyMention: SLACK_ANY_MENTION_RE.test(text),
|
|
3537
|
+
hasSubteamMention: text.includes(SLACK_SUBTEAM_MENTION_MARKER)
|
|
3538
|
+
};
|
|
3539
|
+
}
|
|
3540
|
+
async function resolveSlackExplicitMentionState(params) {
|
|
3541
|
+
const normalizedBotUserId = normalizeSlackId(params.ctx.botUserId);
|
|
3542
|
+
const explicitlyMentionedBotUser = Boolean(normalizedBotUserId && params.mentionedUserIds.includes(normalizedBotUserId));
|
|
3543
|
+
const explicitlyMentionedBotSubteam = Boolean(params.ctx.botUserId && params.hasSubteamMention) && await isSlackSubteamMentionForBot({
|
|
3544
|
+
client: params.eventScope?.client ?? params.ctx.app.client,
|
|
3545
|
+
text: params.messageText,
|
|
3546
|
+
botUserId: params.ctx.botUserId,
|
|
3547
|
+
teamId: params.eventScope?.teamId ?? params.ctx.teamId,
|
|
3548
|
+
log: logVerbose
|
|
3549
|
+
});
|
|
3550
|
+
return {
|
|
3551
|
+
explicitlyMentionedBotUser,
|
|
3552
|
+
explicitlyMentionedBotSubteam,
|
|
3553
|
+
explicitlyMentioned: explicitlyMentionedBotUser || explicitlyMentionedBotSubteam || params.source === "app_mention"
|
|
3554
|
+
};
|
|
3555
|
+
}
|
|
3556
|
+
function resolveSlackMentionSource(params) {
|
|
3557
|
+
if (params.explicitBotMention) return "explicit_bot";
|
|
3558
|
+
if (params.explicitSubteamMention) return "subteam";
|
|
3559
|
+
if (params.shouldBypassMention) return "command_bypass";
|
|
3560
|
+
if (params.wasMentioned) return "mention_pattern";
|
|
3561
|
+
if (params.matchedImplicitMentionKinds.length > 0) return "implicit_thread";
|
|
3562
|
+
return "none";
|
|
3563
|
+
}
|
|
3564
|
+
async function resolveSlackConversationContext(params) {
|
|
3565
|
+
const { ctx, account, message } = params;
|
|
3566
|
+
const cfg = ctx.cfg;
|
|
3567
|
+
let channelInfo = {};
|
|
3568
|
+
let resolvedChannelType = normalizeSlackChannelType(message.channel_type, message.channel);
|
|
3569
|
+
if (resolvedChannelType !== "im" && (!message.channel_type || message.channel_type !== "im")) {
|
|
3570
|
+
channelInfo = await ctx.resolveChannelName(message.channel, params.eventScope);
|
|
3571
|
+
resolvedChannelType = normalizeSlackChannelType(message.channel_type ?? channelInfo.type ?? ctx.recallSlackChannelType(message.channel, params.eventScope), message.channel);
|
|
3572
|
+
}
|
|
3573
|
+
const channelName = channelInfo?.name;
|
|
3574
|
+
const isDirectMessage = resolvedChannelType === "im";
|
|
3575
|
+
const isGroupDm = resolvedChannelType === "mpim";
|
|
3576
|
+
const isRoom = resolvedChannelType === "channel" || resolvedChannelType === "group";
|
|
3577
|
+
const isRoomish = isRoom || isGroupDm;
|
|
3578
|
+
const channelConfig = isRoom ? resolveSlackChannelConfig({
|
|
3579
|
+
teamId: params.eventScope?.teamId ?? ctx.teamId,
|
|
3580
|
+
allowUnscoped: ctx.installationIdentity?.kind !== "enterprise",
|
|
3581
|
+
channelId: message.channel,
|
|
3582
|
+
channelName,
|
|
3583
|
+
channels: ctx.channelsConfig,
|
|
3584
|
+
channelKeys: ctx.channelsConfigKeys,
|
|
3585
|
+
defaultRequireMention: ctx.defaultRequireMention,
|
|
3586
|
+
allowNameMatching: ctx.allowNameMatching
|
|
3587
|
+
}) : null;
|
|
3588
|
+
const allowBotsSetting = channelConfig?.allowBots ?? account.config?.allowBots ?? cfg.channels?.slack?.allowBots ?? false;
|
|
3589
|
+
return {
|
|
3590
|
+
channelInfo,
|
|
3591
|
+
channelName,
|
|
3592
|
+
resolvedChannelType,
|
|
3593
|
+
isDirectMessage,
|
|
3594
|
+
isGroupDm,
|
|
3595
|
+
isRoom,
|
|
3596
|
+
isRoomish,
|
|
3597
|
+
channelConfig,
|
|
3598
|
+
allowBotsMode: allowBotsSetting === "mentions" ? "mentions" : allowBotsSetting ? "all" : "off",
|
|
3599
|
+
isBotMessage: Boolean(message.bot_id)
|
|
3600
|
+
};
|
|
3601
|
+
}
|
|
3602
|
+
async function authorizeSlackInboundMessage(params) {
|
|
3603
|
+
const { ctx, account, message, conversation, drop } = params;
|
|
3604
|
+
const { isDirectMessage, channelName, resolvedChannelType, isBotMessage, allowBotsMode } = conversation;
|
|
3605
|
+
if (isBotMessage) {
|
|
3606
|
+
if (message.user && ctx.botUserId && message.user === ctx.botUserId) return null;
|
|
3607
|
+
if (allowBotsMode === "off") return drop("bot-disabled");
|
|
3608
|
+
}
|
|
3609
|
+
if (isDirectMessage && !message.user) return drop("missing-user");
|
|
3610
|
+
const senderId = message.user ?? (isBotMessage ? message.bot_id : void 0);
|
|
3611
|
+
if (!senderId) return drop("missing-sender");
|
|
3612
|
+
if (!ctx.isChannelAllowed({
|
|
3613
|
+
teamId: params.eventScope?.teamId ?? ctx.teamId,
|
|
3614
|
+
channelId: message.channel,
|
|
3615
|
+
channelName,
|
|
3616
|
+
channelType: resolvedChannelType
|
|
3617
|
+
})) {
|
|
3618
|
+
if (conversation.isRoom && ctx.groupPolicy === "allowlist" && params.explicitBotMention && !isBotMessage && message.user) {
|
|
3619
|
+
let subject = "This OpenClaw bot";
|
|
3620
|
+
if (ctx.botUserId) try {
|
|
3621
|
+
const botIdentity = await ctx.resolveUserName(ctx.botUserId, params.eventScope);
|
|
3622
|
+
const botName = normalizeOptionalString(botIdentity?.name);
|
|
3623
|
+
if (botName) subject = escapeSlackMrkdwn(botName);
|
|
3624
|
+
} catch (error) {
|
|
3625
|
+
logVerbose(`slack allowlist denial bot-name lookup failed: ${formatSlackError(error)}`);
|
|
3626
|
+
}
|
|
3627
|
+
try {
|
|
3628
|
+
await (params.eventScope?.client ?? ctx.app.client).chat.postEphemeral({
|
|
3629
|
+
token: ctx.botToken,
|
|
3630
|
+
channel: message.channel,
|
|
3631
|
+
user: message.user,
|
|
3632
|
+
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.>`
|
|
3633
|
+
});
|
|
3634
|
+
params.onVisibleDrop?.();
|
|
3635
|
+
} catch (error) {
|
|
3636
|
+
ctx.runtime.error?.(`slack allowlist denial notice failed for channel ${message.channel}: ${formatSlackError(error)}`);
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
return drop("channel-not-allowed");
|
|
3640
|
+
}
|
|
3641
|
+
const allowFromLower = await resolveSlackEffectiveAllowFrom(ctx, {
|
|
3642
|
+
includePairingStore: isDirectMessage,
|
|
3643
|
+
eventScope: params.eventScope
|
|
3644
|
+
});
|
|
3645
|
+
if (isDirectMessage) {
|
|
3646
|
+
const directUserId = message.user;
|
|
3647
|
+
if (!directUserId) return drop("missing-user");
|
|
3648
|
+
let dropReason = "dm-unauthorized";
|
|
3649
|
+
if (!await authorizeSlackDirectMessage({
|
|
3650
|
+
ctx,
|
|
3651
|
+
accountId: account.accountId,
|
|
3652
|
+
senderId: directUserId,
|
|
3653
|
+
eventScope: params.eventScope,
|
|
3654
|
+
allowFromLower,
|
|
3655
|
+
resolveSenderName: (userId) => ctx.resolveUserName(userId, params.eventScope),
|
|
3656
|
+
sendPairingReply: async (text) => {
|
|
3657
|
+
await sendMessageSlack(message.channel, text, {
|
|
3658
|
+
cfg: ctx.cfg,
|
|
3659
|
+
token: ctx.botToken,
|
|
3660
|
+
client: params.eventScope?.client ?? ctx.app.client,
|
|
3661
|
+
accountId: account.accountId,
|
|
3662
|
+
eventScope: params.eventScope
|
|
3663
|
+
});
|
|
3664
|
+
},
|
|
3665
|
+
onDisabled: () => {
|
|
3666
|
+
dropReason = "dm-disabled";
|
|
3667
|
+
},
|
|
3668
|
+
onUnauthorized: ({ allowMatchMeta }) => {
|
|
3669
|
+
logVerbose(`Blocked unauthorized slack sender ${message.user} (dmPolicy=${ctx.dmPolicy}, ${allowMatchMeta})`);
|
|
3670
|
+
},
|
|
3671
|
+
log: logVerbose
|
|
3672
|
+
})) return drop(dropReason);
|
|
3673
|
+
}
|
|
3674
|
+
return {
|
|
3675
|
+
senderId,
|
|
3676
|
+
allowFromLower
|
|
3677
|
+
};
|
|
3678
|
+
}
|
|
3679
|
+
async function prepareSlackMessage(params) {
|
|
3680
|
+
const { ctx, account, message, opts } = params;
|
|
3681
|
+
const drop = (reason, parentUserId) => {
|
|
3682
|
+
ctx.logger.info({
|
|
3683
|
+
provider: "slack",
|
|
3684
|
+
accountId: account.accountId,
|
|
3685
|
+
teamId: opts.eventScope?.teamId ?? ctx.teamId,
|
|
3686
|
+
channelId: message.channel,
|
|
3687
|
+
messageTs: message.ts,
|
|
3688
|
+
source: opts.source,
|
|
3689
|
+
reason,
|
|
3690
|
+
...parentUserId ? { parentUserId } : {}
|
|
3691
|
+
}, "Slack inbound event rejected during preparation");
|
|
3692
|
+
return null;
|
|
3693
|
+
};
|
|
3694
|
+
const slackClient = opts.eventScope?.client ?? ctx.app.client;
|
|
3695
|
+
const threadStarterWorkspaceScope = {
|
|
3696
|
+
accountId: account.accountId,
|
|
3697
|
+
teamId: opts.eventScope?.teamId ?? ctx.teamId
|
|
3698
|
+
};
|
|
3699
|
+
const cfg = ctx.cfg;
|
|
3700
|
+
const conversation = await resolveSlackConversationContext({
|
|
3701
|
+
ctx,
|
|
3702
|
+
account,
|
|
3703
|
+
message,
|
|
3704
|
+
eventScope: opts.eventScope
|
|
3705
|
+
});
|
|
3706
|
+
const { channelInfo, channelName, isDirectMessage, isGroupDm, isRoom, isRoomish, channelConfig, allowBotsMode, isBotMessage } = conversation;
|
|
3707
|
+
const messageText = message.text ?? "";
|
|
3708
|
+
const mentionMetadata = collectSlackMentionMetadata(messageText);
|
|
3709
|
+
const normalizedBotUserId = normalizeSlackId(ctx.botUserId);
|
|
3710
|
+
const authorization = await authorizeSlackInboundMessage({
|
|
3711
|
+
ctx,
|
|
3712
|
+
account,
|
|
3713
|
+
message,
|
|
3714
|
+
conversation,
|
|
3715
|
+
explicitBotMention: opts.source === "app_mention" || Boolean(normalizedBotUserId && mentionMetadata.mentionedUserIds.includes(normalizedBotUserId)),
|
|
3716
|
+
eventScope: opts.eventScope,
|
|
3717
|
+
onVisibleDrop: opts.onVisibleDrop,
|
|
3718
|
+
drop
|
|
3719
|
+
});
|
|
3720
|
+
if (!authorization) return null;
|
|
3721
|
+
const { senderId, allowFromLower } = authorization;
|
|
3722
|
+
let resolvedSenderName = normalizeOptionalString(message.username);
|
|
3723
|
+
const resolveSenderName = async () => {
|
|
3724
|
+
if (resolvedSenderName) return resolvedSenderName;
|
|
3725
|
+
if (message.user) {
|
|
3726
|
+
const sender = await ctx.resolveUserName(message.user, opts.eventScope);
|
|
3727
|
+
const normalized = normalizeOptionalString(sender?.name);
|
|
3728
|
+
if (normalized) {
|
|
3729
|
+
resolvedSenderName = normalized;
|
|
3730
|
+
return resolvedSenderName;
|
|
3731
|
+
}
|
|
3732
|
+
}
|
|
3733
|
+
resolvedSenderName = message.user ?? message.bot_id ?? "unknown";
|
|
3734
|
+
return resolvedSenderName;
|
|
3735
|
+
};
|
|
3736
|
+
const { mentionedUserIds, mentionedSubteamIds, hasAnyMention } = mentionMetadata;
|
|
3737
|
+
const messageAssistantThreadContext = resolveSlackMessageAssistantThreadContext(message);
|
|
3738
|
+
const assistantContextLookupChannelId = messageAssistantThreadContext?.assistantChannelId ?? message.channel;
|
|
3739
|
+
const assistantContextLookupThreadTs = messageAssistantThreadContext?.threadTs ?? message.thread_ts ?? message.ts;
|
|
3740
|
+
const cachedAssistantThreadContext = isDirectMessage ? ctx.getSlackAssistantThreadContext(assistantContextLookupChannelId, assistantContextLookupThreadTs, opts.eventScope) : void 0;
|
|
3741
|
+
const restoredAssistantThreadContextPromise = isDirectMessage && !cachedAssistantThreadContext && !hasSlackAssistantThreadMetadata(messageAssistantThreadContext) ? restoreSlackAssistantThreadContextFromMetadata({
|
|
3742
|
+
ctx,
|
|
3743
|
+
message,
|
|
3744
|
+
eventScope: opts.eventScope
|
|
3745
|
+
}) : Promise.resolve(void 0);
|
|
3746
|
+
const { explicitlyMentionedBotUser, explicitlyMentionedBotSubteam, explicitlyMentioned } = await resolveSlackExplicitMentionState({
|
|
3747
|
+
ctx,
|
|
3748
|
+
messageText,
|
|
3749
|
+
mentionedUserIds,
|
|
3750
|
+
hasSubteamMention: mentionMetadata.hasSubteamMention,
|
|
3751
|
+
source: opts.source,
|
|
3752
|
+
eventScope: opts.eventScope
|
|
3753
|
+
});
|
|
3754
|
+
const channelRequireMention = channelConfig?.requireMention ?? ctx.defaultRequireMention ?? true;
|
|
3755
|
+
const channelChatType = isDirectMessage ? "direct" : isGroupDm ? "group" : "channel";
|
|
3756
|
+
const restoredAssistantThreadContext = await restoredAssistantThreadContextPromise;
|
|
3757
|
+
const assistantThreadContext = mergeSlackAssistantThreadContext(messageAssistantThreadContext, cachedAssistantThreadContext ?? restoredAssistantThreadContext);
|
|
3758
|
+
const assistantThreadContextToCache = messageAssistantThreadContext || restoredAssistantThreadContext ? assistantThreadContext : void 0;
|
|
3759
|
+
if (assistantThreadContextToCache) ctx.saveSlackAssistantThreadContext(assistantThreadContextToCache, opts.eventScope);
|
|
3760
|
+
const hasAgentViewMessageSignal = isDirectMessage && !opts.eventScope && !assistantThreadContext && isSlackAppContext(message.app_context);
|
|
3761
|
+
if (hasAgentViewMessageSignal) await ctx.recordSlackAgentView();
|
|
3762
|
+
const managedViewThreadTs = message.thread_ts;
|
|
3763
|
+
const isManagedViewRoot = isDirectMessage && !opts.eventScope && !assistantThreadContext && !message.parent_user_id && Boolean(managedViewThreadTs && message.ts && managedViewThreadTs === message.ts);
|
|
3764
|
+
if (isManagedViewRoot && managedViewThreadTs) await ctx.recordSlackManagedViewThread(message.channel, managedViewThreadTs);
|
|
3765
|
+
const hasManagedViewThread = isDirectMessage && !opts.eventScope && !assistantThreadContext && Boolean(managedViewThreadTs && await ctx.isSlackManagedViewThread(message.channel, managedViewThreadTs));
|
|
3766
|
+
const isAgentViewMessage = isDirectMessage && !opts.eventScope && !assistantThreadContext && (hasAgentViewMessageSignal || isManagedViewRoot || hasManagedViewThread || await ctx.isSlackAgentView());
|
|
3767
|
+
const agentViewThreadTs = isAgentViewMessage ? message.thread_ts ?? message.ts : void 0;
|
|
3768
|
+
const channelReplyToMode = channelConfig?.replyToMode ?? resolveSlackReplyToMode(account, channelChatType);
|
|
3769
|
+
const willImplicitlyThreadReply = isRoom && !channelRequireMention && channelReplyToMode !== "off";
|
|
3770
|
+
const seedTopLevelRoomThreadBySource = opts.source === "app_mention" || opts.wasMentioned === true || explicitlyMentioned || willImplicitlyThreadReply;
|
|
3771
|
+
const resolveMessageRouting = (seedTopLevelRoomThread) => resolveSlackRoutingContext({
|
|
3772
|
+
ctx,
|
|
3773
|
+
account,
|
|
3774
|
+
message,
|
|
3775
|
+
isDirectMessage,
|
|
3776
|
+
isGroupDm,
|
|
3777
|
+
isRoom,
|
|
3778
|
+
isRoomish,
|
|
3779
|
+
channelConfig,
|
|
3780
|
+
seedTopLevelRoomThread,
|
|
3781
|
+
assistantThreadTs: assistantThreadContext?.threadTs,
|
|
3782
|
+
agentViewThreadTs,
|
|
3783
|
+
eventScope: opts.eventScope
|
|
3784
|
+
});
|
|
3785
|
+
let routing = resolveMessageRouting(seedTopLevelRoomThreadBySource);
|
|
3786
|
+
const groupThreadPeerId = isDirectMessage ? qualifySlackRoutePeerId({
|
|
3787
|
+
id: message.user ?? "unknown",
|
|
3788
|
+
kind: "user",
|
|
3789
|
+
eventScope: opts.eventScope
|
|
3790
|
+
}) : message.channel;
|
|
3791
|
+
const groupThreadConfigured = !isGroupThreadRouteExclusive({
|
|
3792
|
+
sessionKey: routing.sessionKey,
|
|
3793
|
+
acpBinding: Boolean(routing.configuredBinding)
|
|
3794
|
+
}) && resolveGroupThreadConfig({
|
|
3795
|
+
cfg,
|
|
3796
|
+
channel: "slack",
|
|
3797
|
+
peerId: groupThreadPeerId
|
|
3798
|
+
})?.qualified === true;
|
|
3799
|
+
let groupThread;
|
|
3800
|
+
let mentionCheckTranscript;
|
|
3801
|
+
const resolveWasMentioned = (mentionRegexes) => Boolean(groupThread?.mentionedAgentIds.length) || (opts.wasMentioned ?? (!isDirectMessage && matchesMentionWithExplicit({
|
|
3802
|
+
text: messageText,
|
|
3803
|
+
mentionRegexes,
|
|
3804
|
+
explicit: {
|
|
3805
|
+
hasAnyMention,
|
|
3806
|
+
isExplicitlyMentioned: explicitlyMentioned,
|
|
3807
|
+
canResolveExplicit: Boolean(ctx.botUserId)
|
|
3808
|
+
},
|
|
3809
|
+
transcript: mentionCheckTranscript
|
|
3810
|
+
})));
|
|
3811
|
+
const buildPolicyMentionRegexes = (agentId) => resolveCachedMentionRegexes(ctx, agentId, {
|
|
3812
|
+
provider: "slack",
|
|
3813
|
+
conversationId: formatSlackTarget({
|
|
3814
|
+
teamId: opts.eventScope?.teamId,
|
|
3815
|
+
kind: "channel",
|
|
3816
|
+
id: message.channel
|
|
3817
|
+
}),
|
|
3818
|
+
providerPolicy: account.config.mentionPatterns
|
|
3819
|
+
});
|
|
3820
|
+
let mentionRegexes = buildPolicyMentionRegexes(routing.route.agentId);
|
|
3821
|
+
let wasMentioned = resolveWasMentioned(mentionRegexes);
|
|
3822
|
+
const hasBoundSession = Boolean(routing.runtimeBoundSessionKey || routing.configuredBindingSessionKey);
|
|
3823
|
+
let { route, runtimeBinding, replyToMode, threadContext, threadTs, isThreadReply, threadKeys, sessionKey, historyKey } = routing;
|
|
3824
|
+
const { configuredBinding, configuredBindingSessionKey } = routing;
|
|
3825
|
+
const isAssistantThreadMessage = Boolean(isDirectMessage && messageAssistantThreadContext);
|
|
3826
|
+
const forcedAssistantReplyThreadTs = Boolean(assistantThreadContext?.threadTs && (isThreadReply || isAssistantThreadMessage || replyToMode !== "off")) ? assistantThreadContext?.threadTs : void 0;
|
|
3827
|
+
const forcedReplyThreadTs = agentViewThreadTs ?? forcedAssistantReplyThreadTs;
|
|
3828
|
+
if (runtimeBinding && shouldLogVerbose()) logVerbose(`slack: routed via bound conversation ${runtimeBinding.conversation.conversationId} -> ${runtimeBinding.targetSessionKey}`);
|
|
3829
|
+
if (configuredBinding) {
|
|
3830
|
+
const ensured = await ensureConfiguredBindingRouteReady({
|
|
3831
|
+
cfg,
|
|
3832
|
+
bindingResolution: configuredBinding
|
|
3833
|
+
});
|
|
3834
|
+
if (ensured.ok) {
|
|
3835
|
+
if (shouldLogVerbose()) logVerbose(`slack: using configured ACP binding for ${configuredBinding.record.conversation.conversationId} -> ${configuredBindingSessionKey}`);
|
|
3836
|
+
} else {
|
|
3837
|
+
if (shouldLogVerbose()) logVerbose(`slack: configured ACP binding unavailable for ${configuredBinding.record.conversation.conversationId}: ${ensured.error}`);
|
|
3838
|
+
return drop("configured-binding-unavailable");
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
const senderNameForAuthPromise = ctx.allowNameMatching ? resolveSenderName().then((name) => ({
|
|
3842
|
+
ok: true,
|
|
3843
|
+
name
|
|
3844
|
+
}), (error) => ({
|
|
3845
|
+
ok: false,
|
|
3846
|
+
error
|
|
3847
|
+
})) : Promise.resolve({
|
|
3848
|
+
ok: true,
|
|
3849
|
+
name: void 0
|
|
3850
|
+
});
|
|
3851
|
+
let implicitMentionKinds = [];
|
|
3852
|
+
if (!isDirectMessage && message.thread_ts && !wasMentioned) {
|
|
3853
|
+
const replyToBotKinds = implicitMentionKindWhen("reply_to_bot", Boolean(ctx.botUserId && message.parent_user_id === ctx.botUserId));
|
|
3854
|
+
implicitMentionKinds = replyToBotKinds.length > 0 ? replyToBotKinds : implicitMentionKindWhen("bot_thread_participant", await hasSlackThreadParticipationWithPersistence({
|
|
3855
|
+
accountId: account.accountId,
|
|
3856
|
+
channelId: message.channel,
|
|
3857
|
+
threadTs: message.thread_ts,
|
|
3858
|
+
teamId: opts.eventScope?.teamId
|
|
3859
|
+
}));
|
|
3860
|
+
}
|
|
3861
|
+
const recordDroppedHistory = async (reason) => {
|
|
3862
|
+
const pendingText = (message.text ?? "").trim();
|
|
3863
|
+
const historyMediaCandidate = buildSlackHistoryMediaCandidateMessage(message);
|
|
3864
|
+
const fallbackFile = message.files?.length ? `[Slack file: ${formatSlackFileReference(message.files[0])}]` : "";
|
|
3865
|
+
const pendingBody = pendingText || fallbackFile || (!fallbackFile && historyMediaCandidate ? "[Slack media attachment]" : "");
|
|
3866
|
+
const skippedThreadStarter = historyMediaCandidate && isThreadReply && threadTs ? await resolveSlackThreadStarter({
|
|
3867
|
+
channelId: message.channel,
|
|
3868
|
+
threadTs,
|
|
3869
|
+
client: slackClient,
|
|
3870
|
+
workspaceScope: threadStarterWorkspaceScope
|
|
3871
|
+
}) : null;
|
|
3872
|
+
const senderName = pendingBody ? await resolveSenderName() : void 0;
|
|
3873
|
+
await recordDroppedChannelInboundHistory({
|
|
3874
|
+
input: {
|
|
3875
|
+
id: message.ts ?? `${message.channel}:${Date.now()}`,
|
|
3876
|
+
timestamp: resolveSlackTimestampMs(message.ts),
|
|
3877
|
+
rawText: pendingBody,
|
|
3878
|
+
textForAgent: pendingBody,
|
|
3879
|
+
raw: message
|
|
3880
|
+
},
|
|
3881
|
+
admission: {
|
|
3882
|
+
kind: "drop",
|
|
3883
|
+
reason,
|
|
3884
|
+
recordHistory: true
|
|
3885
|
+
},
|
|
3886
|
+
preflight: {
|
|
3887
|
+
message: pendingBody ? {
|
|
3888
|
+
rawBody: pendingBody,
|
|
3889
|
+
body: pendingBody,
|
|
3890
|
+
bodyForAgent: pendingBody,
|
|
3891
|
+
senderLabel: senderName,
|
|
3892
|
+
envelopeFrom: senderName
|
|
3893
|
+
} : void 0,
|
|
3894
|
+
history: {
|
|
3895
|
+
key: historyKey,
|
|
3896
|
+
historyMap: ctx.channelHistories,
|
|
3897
|
+
limit: ctx.historyLimit,
|
|
3898
|
+
recordOnDrop: true,
|
|
3899
|
+
mediaLimit: SLACK_HISTORY_MEDIA_MAX_ATTACHMENTS,
|
|
3900
|
+
shouldRecord: opts.shouldRecordDroppedHistory
|
|
3901
|
+
},
|
|
3902
|
+
media: () => resolveSlackHistoryMediaForPendingRecord({
|
|
3903
|
+
ctx,
|
|
3904
|
+
message,
|
|
3905
|
+
isThreadReply,
|
|
3906
|
+
threadStarter: skippedThreadStarter,
|
|
3907
|
+
isBotMessage,
|
|
3908
|
+
eventScope: opts.eventScope
|
|
3909
|
+
})
|
|
3910
|
+
}
|
|
3911
|
+
});
|
|
3912
|
+
};
|
|
3913
|
+
let threadStarterPromise;
|
|
3914
|
+
const getThreadStarter = () => {
|
|
3915
|
+
threadStarterPromise ??= isThreadReply && threadTs ? resolveSlackThreadStarter({
|
|
3916
|
+
channelId: message.channel,
|
|
3917
|
+
threadTs,
|
|
3918
|
+
client: slackClient,
|
|
3919
|
+
workspaceScope: threadStarterWorkspaceScope
|
|
3920
|
+
}) : Promise.resolve(null);
|
|
3921
|
+
return threadStarterPromise;
|
|
3922
|
+
};
|
|
3923
|
+
const resolveMessageContent = (contentMessage, preloadedMedia) => getThreadStarter().then((threadStarter) => resolveSlackMessageContent({
|
|
3924
|
+
message: contentMessage,
|
|
3925
|
+
isThreadReply,
|
|
3926
|
+
threadStarter,
|
|
3927
|
+
isBotMessage,
|
|
3928
|
+
botToken: ctx.botToken,
|
|
3929
|
+
client: slackClient,
|
|
3930
|
+
mediaMaxBytes: ctx.mediaMaxBytes,
|
|
3931
|
+
resolveUserName: (userId) => ctx.resolveUserName(userId, opts.eventScope),
|
|
3932
|
+
preloadedMedia
|
|
3933
|
+
}));
|
|
3934
|
+
let preloadedDirectMedia;
|
|
3935
|
+
let messageContentPromise;
|
|
3936
|
+
const getMessageContent = () => {
|
|
3937
|
+
messageContentPromise ??= resolveMessageContent(message, preloadedDirectMedia);
|
|
3938
|
+
return messageContentPromise;
|
|
3939
|
+
};
|
|
3940
|
+
const senderNameForAuthResult = await senderNameForAuthPromise;
|
|
3941
|
+
if (!senderNameForAuthResult.ok) throw senderNameForAuthResult.error;
|
|
3942
|
+
const senderNameForAuth = senderNameForAuthResult.name;
|
|
3943
|
+
const allowTextCommands = shouldHandleTextCommands({
|
|
3944
|
+
cfg,
|
|
3945
|
+
surface: "slack"
|
|
3946
|
+
});
|
|
3947
|
+
const shouldRequireMention = isRoom ? channelConfig?.requireMention ?? ctx.defaultRequireMention : false;
|
|
3948
|
+
const implicitMentions = resolveChannelImplicitMentions({
|
|
3949
|
+
cfg,
|
|
3950
|
+
channel: "slack",
|
|
3951
|
+
accountId: account.accountId
|
|
3952
|
+
});
|
|
3953
|
+
if (message["_ambiguousThreadReply"]) return drop("ambiguous-thread", message.parent_user_id);
|
|
3954
|
+
let canDetectMention = groupThreadConfigured || Boolean(ctx.botUserId) || mentionRegexes.length > 0;
|
|
3955
|
+
const textForCommandDetection = stripSlackMentionsForCommandDetection(message.text ?? "");
|
|
3956
|
+
const hasControlCommandInMessage = hasControlCommand(textForCommandDetection, cfg);
|
|
3957
|
+
const hasAbortRequest = isAbortRequestText(textForCommandDetection);
|
|
3958
|
+
const channelUsersAllowlistConfigured = isRoom && Array.isArray(channelConfig?.users) && channelConfig.users.length > 0;
|
|
3959
|
+
const resolveMessageIngress = async (contextBinding, threadId) => await resolveSlackCommandIngress({
|
|
3960
|
+
ctx,
|
|
3961
|
+
teamId: opts.eventScope?.teamId ?? ctx.teamId,
|
|
3962
|
+
senderId,
|
|
3963
|
+
senderName: senderNameForAuth,
|
|
3964
|
+
channelType: conversation.resolvedChannelType ?? "channel",
|
|
3965
|
+
channelId: message.channel,
|
|
3966
|
+
threadId,
|
|
3967
|
+
ownerAllowFromLower: allowFromLower,
|
|
3968
|
+
channelUsers: isRoom ? channelConfig?.users : void 0,
|
|
3969
|
+
allowTextCommands,
|
|
3970
|
+
hasControlCommand: hasControlCommandInMessage,
|
|
3971
|
+
mentionFacts: {
|
|
3972
|
+
canDetectMention,
|
|
3973
|
+
wasMentioned,
|
|
3974
|
+
hasAnyMention,
|
|
3975
|
+
implicitMentionKinds
|
|
3976
|
+
},
|
|
3977
|
+
activation: {
|
|
3978
|
+
requireMention: shouldRequireMention,
|
|
3979
|
+
allowTextCommands,
|
|
3980
|
+
implicitMentions
|
|
3981
|
+
},
|
|
3982
|
+
contextBinding
|
|
3983
|
+
});
|
|
3984
|
+
let messageIngress = await resolveMessageIngress();
|
|
3985
|
+
const senderGate = messageIngress.senderAccess.gate;
|
|
3986
|
+
if (isRoomish && senderGate?.allowed === false) return drop("unauthorized-sender");
|
|
3987
|
+
if (isRoom && isBotMessage && allowBotsMode !== "off" && !await authorizeSlackBotRoomMessage({
|
|
3988
|
+
ctx,
|
|
3989
|
+
channelId: message.channel,
|
|
3990
|
+
senderId,
|
|
3991
|
+
senderName: senderNameForAuth,
|
|
3992
|
+
channelUsers: channelConfig?.users,
|
|
3993
|
+
allowFromLower,
|
|
3994
|
+
eventScope: opts.eventScope
|
|
3995
|
+
})) return drop("unauthorized-bot");
|
|
3996
|
+
const threadContextAllowFromLower = isRoom ? channelUsersAllowlistConfigured ? normalizeAllowListLower(channelConfig?.users) : [] : isDirectMessage ? allowFromLower : [];
|
|
3997
|
+
const contextVisibilityMode = resolveChannelContextVisibilityMode({
|
|
3998
|
+
cfg: ctx.cfg,
|
|
3999
|
+
channel: "slack",
|
|
4000
|
+
accountId: account.accountId
|
|
4001
|
+
});
|
|
4002
|
+
const preflightChannelTarget = formatSlackTarget({
|
|
4003
|
+
teamId: opts.eventScope?.teamId,
|
|
4004
|
+
kind: "channel",
|
|
4005
|
+
id: message.channel,
|
|
4006
|
+
explicitKind: true
|
|
4007
|
+
});
|
|
4008
|
+
const replyRouteTarget = formatSlackTarget({
|
|
4009
|
+
teamId: opts.eventScope?.teamId,
|
|
4010
|
+
kind: isDirectMessage ? "user" : "channel",
|
|
4011
|
+
id: isDirectMessage ? senderId : message.channel,
|
|
4012
|
+
explicitKind: true
|
|
4013
|
+
});
|
|
4014
|
+
const commandAuthorized = messageIngress.commandAccess.authorized;
|
|
4015
|
+
if (isRoomish && messageIngress.commandAccess.shouldBlockControlCommand) return drop("control-command-unauthorized");
|
|
4016
|
+
const canSeedMentionedRoomThread = !seedTopLevelRoomThreadBySource && isRoom && !routing.isThreadReply && !hasBoundSession;
|
|
4017
|
+
let seededMentionRouting;
|
|
4018
|
+
const getSeededMentionRouting = () => {
|
|
4019
|
+
seededMentionRouting ??= resolveMessageRouting(true);
|
|
4020
|
+
return seededMentionRouting;
|
|
4021
|
+
};
|
|
4022
|
+
let preflightAudioTranscript;
|
|
4023
|
+
let preflightAudioMedia;
|
|
4024
|
+
const preflightAudioFile = findSlackPreflightAudioFile(message, { allowCaptioned: groupThreadConfigured });
|
|
4025
|
+
if (!isBotMessage && cfg.tools?.media?.audio?.enabled !== false && (groupThreadConfigured || isRoom && shouldRequireMention && messageIngress.activationAccess.shouldSkip && mentionRegexes.length > 0) && Boolean(preflightAudioFile) && preflightAudioFile) {
|
|
4026
|
+
const preflightRouting = canSeedMentionedRoomThread ? getSeededMentionRouting() : routing;
|
|
4027
|
+
const preflightMedia = (await resolveMessageContent({
|
|
4028
|
+
...message,
|
|
4029
|
+
files: [preflightAudioFile],
|
|
4030
|
+
attachments: void 0,
|
|
4031
|
+
blocks: void 0
|
|
4032
|
+
}))?.effectiveDirectMedia;
|
|
4033
|
+
const downloadedAudioMedia = preflightMedia?.[0];
|
|
4034
|
+
if (downloadedAudioMedia) preloadedDirectMedia = /* @__PURE__ */ new Map([[preflightAudioFile, downloadedAudioMedia]]);
|
|
4035
|
+
const preflightResult = preflightMedia ? await resolveSlackPreflightAudioTranscript({
|
|
4036
|
+
media: preflightMedia,
|
|
4037
|
+
cfg,
|
|
4038
|
+
accountId: account.accountId,
|
|
4039
|
+
originatingTo: preflightChannelTarget,
|
|
4040
|
+
sessionKey: preflightRouting.sessionKey,
|
|
4041
|
+
messageThreadId: preflightRouting.threadContext.messageThreadId
|
|
4042
|
+
}) : null;
|
|
4043
|
+
if (preflightResult) {
|
|
4044
|
+
mentionCheckTranscript = preflightResult.transcript;
|
|
4045
|
+
preflightAudioTranscript = preflightResult.transcript;
|
|
4046
|
+
preflightAudioMedia = preflightMedia?.[preflightResult.mediaIndex];
|
|
4047
|
+
}
|
|
4048
|
+
if (!preflightAudioTranscript) {
|
|
4049
|
+
await discardSlackPreflightMedia(preflightMedia);
|
|
4050
|
+
preloadedDirectMedia = void 0;
|
|
4051
|
+
}
|
|
4052
|
+
}
|
|
4053
|
+
groupThread = resolveGroupThreadMentionFacts({
|
|
4054
|
+
cfg,
|
|
4055
|
+
channel: "slack",
|
|
4056
|
+
peerId: groupThreadPeerId,
|
|
4057
|
+
text: [messageText, mentionCheckTranscript].filter(Boolean).join("\n"),
|
|
4058
|
+
sessionKey: routing.sessionKey,
|
|
4059
|
+
acpBinding: Boolean(routing.configuredBinding)
|
|
4060
|
+
});
|
|
4061
|
+
wasMentioned = resolveWasMentioned(mentionRegexes);
|
|
4062
|
+
if (canSeedMentionedRoomThread && wasMentioned) {
|
|
4063
|
+
routing = getSeededMentionRouting();
|
|
4064
|
+
if (isGroupThreadRouteExclusive({
|
|
4065
|
+
sessionKey: routing.sessionKey,
|
|
4066
|
+
acpBinding: Boolean(routing.configuredBinding)
|
|
4067
|
+
})) groupThread = void 0;
|
|
4068
|
+
mentionRegexes = buildPolicyMentionRegexes(routing.route.agentId);
|
|
4069
|
+
wasMentioned = resolveWasMentioned(mentionRegexes);
|
|
4070
|
+
({route, runtimeBinding, replyToMode, threadContext, threadTs, isThreadReply, threadKeys, sessionKey, historyKey} = routing);
|
|
4071
|
+
canDetectMention = Boolean(groupThread) || Boolean(ctx.botUserId) || mentionRegexes.length > 0;
|
|
4072
|
+
}
|
|
4073
|
+
if (preflightAudioTranscript && !wasMentioned) {
|
|
4074
|
+
await discardSlackPreflightMedia(preloadedDirectMedia ? [...preloadedDirectMedia.values()] : void 0);
|
|
4075
|
+
preloadedDirectMedia = void 0;
|
|
4076
|
+
preflightAudioTranscript = void 0;
|
|
4077
|
+
preflightAudioMedia = void 0;
|
|
4078
|
+
}
|
|
4079
|
+
const directThreadRoutedToDmSession = !assistantThreadContext && !agentViewThreadTs && isDirectMessage && isThreadReply && threadTs && runtimeBinding?.conversation.conversationId !== threadTs;
|
|
4080
|
+
const mentionDecision = resolveInboundMentionDecision({
|
|
4081
|
+
facts: {
|
|
4082
|
+
canDetectMention,
|
|
4083
|
+
wasMentioned,
|
|
4084
|
+
hasAnyMention,
|
|
4085
|
+
implicitMentionKinds
|
|
4086
|
+
},
|
|
4087
|
+
policy: {
|
|
4088
|
+
isGroup: isRoom,
|
|
4089
|
+
requireMention: shouldRequireMention,
|
|
4090
|
+
allowTextCommands,
|
|
4091
|
+
hasControlCommand: hasControlCommandInMessage,
|
|
4092
|
+
commandAuthorized,
|
|
4093
|
+
implicitMentions
|
|
4094
|
+
}
|
|
4095
|
+
});
|
|
4096
|
+
const effectiveWasMentioned = mentionDecision.effectiveWasMentioned;
|
|
4097
|
+
const shouldBypassMention = mentionDecision.shouldBypassMention;
|
|
4098
|
+
const matchedImplicitMentionKinds = mentionDecision.matchedImplicitMentionKinds;
|
|
4099
|
+
const mentionSource = resolveSlackMentionSource({
|
|
4100
|
+
explicitBotMention: explicitlyMentionedBotUser || opts.source === "app_mention",
|
|
4101
|
+
explicitSubteamMention: explicitlyMentionedBotSubteam,
|
|
4102
|
+
matchedImplicitMentionKinds,
|
|
4103
|
+
shouldBypassMention,
|
|
4104
|
+
wasMentioned
|
|
4105
|
+
});
|
|
4106
|
+
if (isBotMessage && allowBotsMode === "mentions") {
|
|
4107
|
+
if (!(isDirectMessage || effectiveWasMentioned || shouldBypassMention)) return drop("bot-missing-mention");
|
|
4108
|
+
}
|
|
4109
|
+
if (isRoom && shouldRequireMention && !canDetectMention && !effectiveWasMentioned) {
|
|
4110
|
+
await recordDroppedHistory("slack-mention-detection-unavailable");
|
|
4111
|
+
return drop("mention-detection-unavailable");
|
|
4112
|
+
}
|
|
4113
|
+
const ignoreOtherMentions = channelConfig?.ignoreOtherMentions ?? false;
|
|
4114
|
+
if (isRoom && ignoreOtherMentions && Boolean(ctx.botUserId) && hasAnyMention && !wasMentioned) {
|
|
4115
|
+
await recordDroppedHistory("slack-other-mention");
|
|
4116
|
+
return drop("other-mention");
|
|
4117
|
+
}
|
|
4118
|
+
if (isRoom && shouldRequireMention && mentionDecision.shouldSkip) {
|
|
4119
|
+
await recordDroppedHistory("slack-no-mention");
|
|
4120
|
+
return drop("missing-mention");
|
|
4121
|
+
}
|
|
4122
|
+
const chatType = resolveSlackChatType(conversation.resolvedChannelType);
|
|
4123
|
+
const inboundEventKind = classifyChannelInboundEvent({
|
|
4124
|
+
conversation: { kind: chatType },
|
|
4125
|
+
unmentionedGroupPolicy: resolveUnmentionedGroupInboundPolicy({
|
|
4126
|
+
cfg,
|
|
4127
|
+
agentId: route.agentId
|
|
4128
|
+
}),
|
|
4129
|
+
wasMentioned: effectiveWasMentioned,
|
|
4130
|
+
hasControlCommand: hasControlCommandInMessage,
|
|
4131
|
+
hasAbortRequest
|
|
4132
|
+
});
|
|
4133
|
+
const threadStarter = await getThreadStarter();
|
|
4134
|
+
const resolvedMessageContent = await getMessageContent();
|
|
4135
|
+
if (!resolvedMessageContent) return drop("empty-content");
|
|
4136
|
+
const { rawBody, effectiveDirectMedia, commandSourceText, mentionStripPatterns } = resolvedMessageContent;
|
|
4137
|
+
const bodyForAgent = preflightAudioTranscript ? formatSlackAudioTranscriptForAgent({
|
|
4138
|
+
transcript: preflightAudioTranscript,
|
|
4139
|
+
rawBody
|
|
4140
|
+
}) : rawBody;
|
|
4141
|
+
const ackReaction = resolveAckReaction(cfg, route.agentId, {
|
|
4142
|
+
channel: "slack",
|
|
4143
|
+
accountId: account.accountId
|
|
4144
|
+
});
|
|
4145
|
+
const ackReactionValue = ackReaction ?? "";
|
|
4146
|
+
const sourceRepliesAreToolOnly = resolveChannelMessageSourceReplyDeliveryMode({
|
|
4147
|
+
cfg,
|
|
4148
|
+
ctx: {
|
|
4149
|
+
ChatType: chatType,
|
|
4150
|
+
InboundEventKind: inboundEventKind
|
|
4151
|
+
}
|
|
4152
|
+
}) === "message_tool_only";
|
|
4153
|
+
const statusReactionsExplicitlyEnabled = cfg.messages?.statusReactions?.enabled === true;
|
|
4154
|
+
const isRoomEvent = inboundEventKind === "room_event";
|
|
4155
|
+
const shouldAckReaction$1 = () => Boolean(ackReaction && shouldAckReaction({
|
|
4156
|
+
scope: cfg.messages?.ackReactionScope,
|
|
4157
|
+
inboundEventKind,
|
|
4158
|
+
isDirect: isDirectMessage,
|
|
4159
|
+
isGroup: isRoomish,
|
|
4160
|
+
isMentionableGroup: isRoom,
|
|
4161
|
+
canDetectMention,
|
|
4162
|
+
effectiveWasMentioned,
|
|
4163
|
+
shouldBypassMention
|
|
4164
|
+
}));
|
|
4165
|
+
const ackReactionMessageTs = message.ts;
|
|
4166
|
+
const shouldSendAckReaction = shouldAckReaction$1() && (!sourceRepliesAreToolOnly || effectiveWasMentioned || shouldBypassMention || isRoomEvent);
|
|
4167
|
+
const statusReactionsWillHandle = Boolean(ackReactionMessageTs) && !isRoomEvent && statusReactionsExplicitlyEnabled && shouldSendAckReaction;
|
|
4168
|
+
const ackReactionPromise = !statusReactionsWillHandle && shouldSendAckReaction && ackReactionMessageTs && ackReactionValue ? reactSlackMessage(message.channel, ackReactionMessageTs, ackReactionValue, {
|
|
4169
|
+
token: ctx.botToken,
|
|
4170
|
+
client: slackClient
|
|
4171
|
+
}).then(() => true, (err) => {
|
|
4172
|
+
logVerbose(`slack react failed for channel ${message.channel}: ${formatSlackError(err)}`);
|
|
4173
|
+
return false;
|
|
4174
|
+
}) : statusReactionsWillHandle ? Promise.resolve(true) : null;
|
|
4175
|
+
const roomLabel = channelName ? `#${channelName}` : `#${message.channel}`;
|
|
4176
|
+
const workspaceId = opts.eventScope?.teamId || ctx.teamId;
|
|
4177
|
+
const workspaceName = ctx.installationIdentity?.kind === "workspace" && ctx.installationIdentity.teamId === workspaceId ? ctx.installationIdentity.teamName : void 0;
|
|
4178
|
+
const groupSessionSubject = isRoomish ? resolveSlackGroupSessionSubject({
|
|
4179
|
+
channelId: message.channel,
|
|
4180
|
+
channelName,
|
|
4181
|
+
workspaceId,
|
|
4182
|
+
workspaceName
|
|
4183
|
+
}) : void 0;
|
|
4184
|
+
const senderName = await resolveSenderName();
|
|
4185
|
+
const conversationAvatar = isDirectMessage && message.user ? ctx.resolveUserAvatar(message.user, opts.eventScope) : void 0;
|
|
4186
|
+
const preview = truncateUtf16Safe(bodyForAgent.replace(/\s+/g, " "), 160);
|
|
4187
|
+
const inboundLabel = isDirectMessage ? `Slack DM from ${senderName}` : `Slack message in ${roomLabel} from ${senderName}`;
|
|
4188
|
+
const slackFrom = isDirectMessage ? `slack:${message.user}` : isRoom ? `slack:channel:${message.channel}` : `slack:group:${message.channel}`;
|
|
4189
|
+
enqueueRoutedSystemEvent(inboundLabel, {
|
|
4190
|
+
...route,
|
|
4191
|
+
sessionKey
|
|
4192
|
+
}, { contextKey: `slack:message:${message.channel}:${message.ts ?? "unknown"}` });
|
|
4193
|
+
const envelopeFrom = resolveConversationLabel({
|
|
4194
|
+
ChatType: chatType,
|
|
4195
|
+
SenderName: senderName,
|
|
4196
|
+
GroupSubject: isRoomish ? roomLabel : void 0,
|
|
4197
|
+
From: slackFrom
|
|
4198
|
+
}) ?? (isDirectMessage ? senderName : roomLabel);
|
|
4199
|
+
const threadInfo = isThreadReply && threadTs ? ` thread_ts: ${threadTs}${message.parent_user_id ? ` parent_user_id: ${message.parent_user_id}` : ""}` : "";
|
|
4200
|
+
const textWithId = `${bodyForAgent}\n[slack message id: ${message.ts} channel: ${message.channel}${threadInfo}]`;
|
|
4201
|
+
const storePath = resolveStorePath(ctx.cfg.session?.store, { agentId: route.agentId });
|
|
4202
|
+
const envelopeOptions = resolveEnvelopeFormatOptions(ctx.cfg);
|
|
4203
|
+
const sessionEntry = getSessionEntry({
|
|
4204
|
+
storePath,
|
|
4205
|
+
sessionKey
|
|
4206
|
+
});
|
|
4207
|
+
const previousTimestamp = sessionEntry?.updatedAt;
|
|
4208
|
+
if (opts.source === "app_mention" && !ctx.botUserId && message.ts) {
|
|
4209
|
+
const pendingHistory = ctx.channelHistories.get(historyKey);
|
|
4210
|
+
if (pendingHistory) ctx.channelHistories.set(historyKey, pendingHistory.filter((entry) => entry.messageId !== message.ts));
|
|
4211
|
+
}
|
|
4212
|
+
const channelHistory = createChannelHistoryWindow({ historyMap: ctx.channelHistories });
|
|
4213
|
+
const dmHistoryLimit = isDirectMessage ? resolveSlackDmHistoryLimit({
|
|
4214
|
+
account,
|
|
4215
|
+
userId: message.user,
|
|
4216
|
+
defaultLimit: ctx.dmHistoryLimit
|
|
4217
|
+
}) : 0;
|
|
4218
|
+
let combinedBody = formatInboundEnvelope({
|
|
4219
|
+
channel: "Slack",
|
|
4220
|
+
from: envelopeFrom,
|
|
4221
|
+
timestamp: resolveSlackTimestampMs(message.ts),
|
|
4222
|
+
body: textWithId,
|
|
4223
|
+
chatType,
|
|
4224
|
+
sender: {
|
|
4225
|
+
name: senderName,
|
|
4226
|
+
id: senderId
|
|
4227
|
+
},
|
|
4228
|
+
previousTimestamp,
|
|
4229
|
+
envelope: envelopeOptions
|
|
4230
|
+
});
|
|
4231
|
+
const dmHistoryContext = isDirectMessage && !assistantThreadContext && !agentViewThreadTs && !isThreadReply && dmHistoryLimit > 0 && !previousTimestamp ? await resolveSlackDmHistoryContext({
|
|
4232
|
+
ctx,
|
|
4233
|
+
channelId: message.channel,
|
|
4234
|
+
currentMessageTs: message.ts,
|
|
4235
|
+
limit: dmHistoryLimit,
|
|
4236
|
+
envelopeOptions,
|
|
4237
|
+
eventScope: opts.eventScope
|
|
4238
|
+
}) : {
|
|
4239
|
+
body: void 0,
|
|
4240
|
+
inboundHistory: void 0
|
|
4241
|
+
};
|
|
4242
|
+
if (dmHistoryContext.body) combinedBody = `${dmHistoryContext.body}\n\n${combinedBody}`;
|
|
4243
|
+
if (isRoomish && ctx.historyLimit > 0) combinedBody = channelHistory.buildPendingContext({
|
|
4244
|
+
historyKey,
|
|
4245
|
+
limit: ctx.historyLimit,
|
|
4246
|
+
currentMessage: combinedBody,
|
|
4247
|
+
formatEntry: (entry) => formatInboundEnvelope({
|
|
4248
|
+
channel: "Slack",
|
|
4249
|
+
from: roomLabel,
|
|
4250
|
+
timestamp: entry.timestamp,
|
|
4251
|
+
body: `${entry.body}${entry.messageId ? ` [id:${entry.messageId} channel:${message.channel}]` : ""}`,
|
|
4252
|
+
chatType: "channel",
|
|
4253
|
+
senderLabel: entry.sender,
|
|
4254
|
+
envelope: envelopeOptions
|
|
4255
|
+
})
|
|
4256
|
+
});
|
|
4257
|
+
const { channelMetadata, groupSystemPrompt } = resolveSlackRoomContextHints({
|
|
4258
|
+
isRoomish,
|
|
4259
|
+
channelInfo,
|
|
4260
|
+
channelConfig
|
|
4261
|
+
});
|
|
4262
|
+
const { threadStarterBody, threadHistoryBody, shouldSeedInitialThreadContext, threadLabel, threadStarterMedia } = await resolveSlackThreadContextData({
|
|
4263
|
+
ctx,
|
|
4264
|
+
agentId: route.agentId,
|
|
4265
|
+
account,
|
|
4266
|
+
message,
|
|
4267
|
+
isGroupDm,
|
|
4268
|
+
isThreadReply,
|
|
4269
|
+
threadTs,
|
|
4270
|
+
threadStarter,
|
|
4271
|
+
roomLabel,
|
|
4272
|
+
storePath,
|
|
4273
|
+
sessionKey,
|
|
4274
|
+
forceInitialHistory: Boolean(directThreadRoutedToDmSession),
|
|
4275
|
+
allowFromLower: threadContextAllowFromLower,
|
|
4276
|
+
allowNameMatching: ctx.allowNameMatching,
|
|
4277
|
+
contextVisibilityMode,
|
|
4278
|
+
envelopeOptions,
|
|
4279
|
+
effectiveDirectMedia,
|
|
4280
|
+
eventScope: opts.eventScope
|
|
4281
|
+
});
|
|
4282
|
+
const effectiveMedia = effectiveDirectMedia ?? threadStarterMedia;
|
|
4283
|
+
const inboundMedia = await toInboundMediaFactsWithMetadata(effectiveMedia, { transcribed: (entry) => effectiveMedia === effectiveDirectMedia && entry === preflightAudioMedia });
|
|
4284
|
+
const inboundHistory = isRoomish && ctx.historyLimit > 0 ? channelHistory.buildInboundHistory({
|
|
4285
|
+
historyKey,
|
|
4286
|
+
limit: ctx.historyLimit
|
|
4287
|
+
}) : dmHistoryContext.inboundHistory;
|
|
4288
|
+
const commandBody = textForCommandDetection.trim();
|
|
4289
|
+
const supplementalThreadHistoryBody = directThreadRoutedToDmSession && !threadHistoryBody ? threadStarterBody : threadHistoryBody;
|
|
4290
|
+
const effectiveMessageThreadId = assistantThreadContext?.threadTs ?? agentViewThreadTs ?? threadContext.messageThreadId;
|
|
4291
|
+
const boundMessageThreadId = directThreadRoutedToDmSession ? void 0 : effectiveMessageThreadId;
|
|
4292
|
+
messageIngress = await resolveMessageIngress({
|
|
4293
|
+
agentId: route.agentId,
|
|
4294
|
+
sessionKey,
|
|
4295
|
+
messageId: threadContext.messageTs,
|
|
4296
|
+
inboundEventKind
|
|
4297
|
+
}, boundMessageThreadId);
|
|
4298
|
+
if (messageIngress.ingress.admission !== "dispatch") return drop("final-route-denied");
|
|
4299
|
+
const agentContextEntities = isAgentViewMessage ? normalizeSlackAppContextEntities(message.app_context) : [];
|
|
4300
|
+
const ctxPayload = (ctx.buildContext ?? buildChannelInboundEventContext)({
|
|
4301
|
+
channelIngress: messageIngress,
|
|
4302
|
+
channel: "slack",
|
|
4303
|
+
accountId: route.accountId,
|
|
4304
|
+
messageId: threadContext.messageTs,
|
|
4305
|
+
timestamp: resolveSlackTimestampMs(message.ts),
|
|
4306
|
+
from: slackFrom,
|
|
4307
|
+
sender: {
|
|
4308
|
+
id: senderId,
|
|
4309
|
+
name: senderName,
|
|
4310
|
+
displayLabel: senderName,
|
|
4311
|
+
isBot: isBotMessage || void 0
|
|
4312
|
+
},
|
|
4313
|
+
conversation: {
|
|
4314
|
+
kind: chatType,
|
|
4315
|
+
id: message.channel,
|
|
4316
|
+
routePeer: {
|
|
4317
|
+
kind: chatType,
|
|
4318
|
+
id: qualifySlackRoutePeerId({
|
|
4319
|
+
id: isDirectMessage ? message.user ?? "unknown" : message.channel,
|
|
4320
|
+
kind: isDirectMessage ? "user" : "channel",
|
|
4321
|
+
eventScope: opts.eventScope
|
|
4322
|
+
})
|
|
4323
|
+
},
|
|
4324
|
+
label: envelopeFrom,
|
|
4325
|
+
spaceId: opts.eventScope?.teamId || ctx.teamId || void 0,
|
|
4326
|
+
threadId: boundMessageThreadId,
|
|
4327
|
+
nativeChannelId: message.channel,
|
|
4328
|
+
avatar: conversationAvatar
|
|
4329
|
+
},
|
|
4330
|
+
route: {
|
|
4331
|
+
agentId: route.agentId,
|
|
4332
|
+
dmScope: route.dmScope,
|
|
4333
|
+
accountId: route.accountId,
|
|
4334
|
+
routeSessionKey: route.sessionKey,
|
|
4335
|
+
dispatchSessionKey: sessionKey,
|
|
4336
|
+
parentSessionKey: threadKeys.parentSessionKey
|
|
4337
|
+
},
|
|
4338
|
+
reply: {
|
|
4339
|
+
to: replyRouteTarget,
|
|
4340
|
+
replyToId: threadContext.replyToId,
|
|
4341
|
+
messageThreadId: boundMessageThreadId,
|
|
4342
|
+
nativeChannelId: message.channel
|
|
4343
|
+
},
|
|
4344
|
+
message: {
|
|
4345
|
+
inboundEventKind,
|
|
4346
|
+
body: combinedBody,
|
|
4347
|
+
bodyForAgent,
|
|
4348
|
+
rawBody,
|
|
4349
|
+
commandBody,
|
|
4350
|
+
inboundHistory
|
|
4351
|
+
},
|
|
4352
|
+
sessionTranscript: { historyLimit: isRoomish ? ctx.historyLimit : dmHistoryLimit },
|
|
4353
|
+
access: {
|
|
4354
|
+
mentions: {
|
|
4355
|
+
canDetectMention: isRoomish,
|
|
4356
|
+
wasMentioned: effectiveWasMentioned,
|
|
4357
|
+
hasAnyMention: explicitlyMentioned || mentionedSubteamIds.length > 0,
|
|
4358
|
+
implicitMentionKinds: matchedImplicitMentionKinds,
|
|
4359
|
+
requireMention: shouldRequireMention,
|
|
4360
|
+
effectiveWasMentioned
|
|
4361
|
+
},
|
|
4362
|
+
commands: { authorized: commandAuthorized }
|
|
4363
|
+
},
|
|
4364
|
+
media: inboundMedia,
|
|
4365
|
+
supplemental: {
|
|
4366
|
+
thread: {
|
|
4367
|
+
starterBody: !directThreadRoutedToDmSession && shouldSeedInitialThreadContext ? threadStarterBody : void 0,
|
|
4368
|
+
historyBody: supplementalThreadHistoryBody,
|
|
4369
|
+
label: directThreadRoutedToDmSession ? void 0 : threadLabel
|
|
4370
|
+
},
|
|
4371
|
+
groupSystemPrompt
|
|
4372
|
+
},
|
|
4373
|
+
channelContext: { chat: {
|
|
4374
|
+
commandSourceText,
|
|
4375
|
+
mentionStripPatterns
|
|
4376
|
+
} },
|
|
4377
|
+
extra: {
|
|
4378
|
+
GroupThread: groupThread,
|
|
4379
|
+
GroupSubject: groupSessionSubject,
|
|
4380
|
+
ChannelPromptContext: channelMetadata ? [channelMetadata] : void 0,
|
|
4381
|
+
ChannelStructuredContext: agentContextEntities.length > 0 ? [{
|
|
4382
|
+
label: "Slack active context",
|
|
4383
|
+
source: "slack",
|
|
4384
|
+
type: "active_view",
|
|
4385
|
+
payload: { entities: agentContextEntities }
|
|
4386
|
+
}] : void 0,
|
|
4387
|
+
TransportThreadId: directThreadRoutedToDmSession ? threadContext.messageThreadId : void 0,
|
|
4388
|
+
ReplyThreading: isThreadReply ? { implicitCurrentMessage: "deny" } : void 0,
|
|
4389
|
+
SlackAssistantThread: assistantThreadContext ? true : void 0,
|
|
4390
|
+
SlackAgentThread: agentViewThreadTs ? true : void 0,
|
|
4391
|
+
SlackAssistantThreadContextChannelId: assistantThreadContext?.channelId,
|
|
4392
|
+
SlackAssistantThreadContextTeamId: assistantThreadContext?.teamId,
|
|
4393
|
+
SlackAssistantThreadContextEnterpriseId: assistantThreadContext?.enterpriseId ?? void 0,
|
|
4394
|
+
Transcript: preflightAudioTranscript,
|
|
4395
|
+
IsFirstThreadTurn: isThreadReply && threadTs && !directThreadRoutedToDmSession && shouldSeedInitialThreadContext ? true : void 0,
|
|
4396
|
+
...isRoomish ? {
|
|
4397
|
+
WasMentioned: effectiveWasMentioned,
|
|
4398
|
+
ExplicitlyMentionedBot: explicitlyMentioned,
|
|
4399
|
+
MentionedUserIds: mentionedUserIds.length > 0 ? [...mentionedUserIds] : void 0,
|
|
4400
|
+
MentionedSubteamIds: mentionedSubteamIds.length > 0 ? [...mentionedSubteamIds] : void 0,
|
|
4401
|
+
ImplicitMentionKinds: matchedImplicitMentionKinds.length > 0 ? [...matchedImplicitMentionKinds] : void 0,
|
|
4402
|
+
MentionSource: mentionSource
|
|
4403
|
+
} : {}
|
|
4404
|
+
}
|
|
4405
|
+
});
|
|
4406
|
+
ctxPayload.ReplyToMode = replyToMode;
|
|
4407
|
+
if (isRoomish && !shouldRequireMention) channelHistory.record({
|
|
4408
|
+
historyKey,
|
|
4409
|
+
limit: ctx.historyLimit,
|
|
4410
|
+
entry: {
|
|
4411
|
+
sender: senderName,
|
|
4412
|
+
body: rawBody,
|
|
4413
|
+
timestamp: resolveSlackTimestampMs(message.ts),
|
|
4414
|
+
messageId: message.ts
|
|
4415
|
+
}
|
|
4416
|
+
});
|
|
4417
|
+
const pinnedMainDmOwner = isDirectMessage ? resolvePinnedMainDmOwnerFromAllowlist({
|
|
4418
|
+
dmScope: cfg.session?.dmScope,
|
|
4419
|
+
allowFrom: allowFromLower,
|
|
4420
|
+
normalizeEntry: normalizeSlackAllowOwnerEntry
|
|
4421
|
+
}) : null;
|
|
4422
|
+
const replyTarget = `channel:${message.channel}`;
|
|
4423
|
+
if (preflightAudioTranscript) await sendSlackPreflightAudioTranscriptEcho({
|
|
4424
|
+
transcript: preflightAudioTranscript,
|
|
4425
|
+
cfg,
|
|
4426
|
+
accountId: account.accountId,
|
|
4427
|
+
originatingTo: preflightChannelTarget,
|
|
4428
|
+
messageThreadId: threadContext.messageThreadId
|
|
4429
|
+
});
|
|
4430
|
+
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}`);
|
|
4431
|
+
const updateLastRouteSessionKey = resolveInboundLastRouteSessionKey({
|
|
4432
|
+
route,
|
|
4433
|
+
sessionKey
|
|
4434
|
+
});
|
|
4435
|
+
return {
|
|
4436
|
+
ctx,
|
|
4437
|
+
account,
|
|
4438
|
+
message,
|
|
4439
|
+
...opts.relayIdentity ? { relayIdentity: opts.relayIdentity } : {},
|
|
4440
|
+
eventScope: opts.eventScope,
|
|
4441
|
+
route,
|
|
4442
|
+
channelConfig,
|
|
4443
|
+
replyTarget,
|
|
4444
|
+
ctxPayload,
|
|
4445
|
+
sessionDisplayName: sessionEntry?.displayName,
|
|
4446
|
+
turn: {
|
|
4447
|
+
storePath,
|
|
4448
|
+
record: {
|
|
4449
|
+
updateLastRoute: isDirectMessage || opts.eventScope ? {
|
|
4450
|
+
sessionKey: updateLastRouteSessionKey,
|
|
4451
|
+
channel: "slack",
|
|
4452
|
+
to: replyRouteTarget,
|
|
4453
|
+
accountId: route.accountId,
|
|
4454
|
+
threadId: effectiveMessageThreadId,
|
|
4455
|
+
mainDmOwnerPin: isDirectMessage && updateLastRouteSessionKey === route.mainSessionKey && pinnedMainDmOwner && message.user ? {
|
|
4456
|
+
ownerRecipient: pinnedMainDmOwner,
|
|
4457
|
+
senderRecipient: normalizeLowercaseStringOrEmpty(message.user),
|
|
4458
|
+
onSkip: ({ ownerRecipient, senderRecipient }) => {
|
|
4459
|
+
logVerbose(`slack: skip main-session last route for ${senderRecipient} (pinned owner ${ownerRecipient})`);
|
|
4460
|
+
}
|
|
4461
|
+
} : void 0
|
|
4462
|
+
} : void 0,
|
|
4463
|
+
onRecordError: (err) => {
|
|
4464
|
+
ctx.logger.warn({
|
|
4465
|
+
error: formatErrorMessage(err),
|
|
4466
|
+
storePath,
|
|
4467
|
+
sessionKey
|
|
4468
|
+
}, "failed updating session meta");
|
|
4469
|
+
}
|
|
4470
|
+
},
|
|
4471
|
+
history: isRoomish && shouldRequireMention ? {
|
|
4472
|
+
isGroup: true,
|
|
4473
|
+
historyKey,
|
|
4474
|
+
historyMap: ctx.channelHistories,
|
|
4475
|
+
limit: ctx.historyLimit
|
|
4476
|
+
} : void 0
|
|
4477
|
+
},
|
|
4478
|
+
replyToMode,
|
|
4479
|
+
...forcedReplyThreadTs ? { forcedReplyThreadTs } : {},
|
|
4480
|
+
...assistantThreadContext ? { slackMessageMetadata: buildSlackAssistantThreadMetadata(assistantThreadContext) } : {},
|
|
4481
|
+
requireMention: shouldRequireMention,
|
|
4482
|
+
isDirectMessage,
|
|
4483
|
+
isRoomish,
|
|
4484
|
+
historyKey,
|
|
4485
|
+
preview,
|
|
4486
|
+
ackReactionMessageTs,
|
|
4487
|
+
ackReactionValue,
|
|
4488
|
+
ackReactionPromise
|
|
4489
|
+
};
|
|
4490
|
+
}
|
|
4491
|
+
//#endregion
|
|
4492
|
+
export { dispatchPreparedSlackMessage, prepareSlackMessage };
|