@openclaw/discord 2026.10.2 → 2026.10.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/dist/.setup/account-inspect-8cCu6uPG.mjs +31 -0
  2. package/dist/.setup/{accounts-HE9-mj1L.mjs → accounts-ljrzXBJi.mjs} +47 -45
  3. package/dist/.setup/{allow-list-vxkG9_JD.mjs → allow-list-B_ToXtew.mjs} +34 -101
  4. package/dist/.setup/{api-DlNUkDqj.mjs → api-CtmE1OUN.mjs} +25 -31
  5. package/dist/.setup/{approval-handler.runtime-DmnEa54W.mjs → approval-handler.runtime-D7FoZSn0.mjs} +30 -53
  6. package/dist/.setup/{approval-message-updates-B0jdSqOj.mjs → approval-message-updates-CIGByUcE.mjs} +2 -2
  7. package/dist/.setup/{audit-BpikUwN_.mjs → audit-zSawfbsN.mjs} +5 -8
  8. package/dist/.setup/{channel-Dr-AUnGt.mjs → channel-DI7DMzu0.mjs} +136 -215
  9. package/dist/.setup/{channel-access-BRp3Y-rF.mjs → channel-access-DasWY_OV.mjs} +6 -7
  10. package/dist/.setup/{channel.setup-BmNvkidb.mjs → channel.setup-DdFVN1mr.mjs} +35 -64
  11. package/dist/.setup/{components-DLJR0xU-.mjs → components-HN9052L1.mjs} +123 -146
  12. package/dist/.setup/{config-schema-BQWfnSCx.mjs → config-schema-_uBILpQf.mjs} +7 -3
  13. package/dist/.setup/{conversation-binding-route-DicJC1Lj.mjs → conversation-binding-route-DTjCBx-O.mjs} +1 -1
  14. package/dist/.setup/{directory-config-gqsdcplU.mjs → directory-config-3iVub-3m.mjs} +1 -1
  15. package/dist/.setup/{directory-live-Bipr0eUJ.mjs → directory-live-DLygQVtW.mjs} +18 -22
  16. package/dist/.setup/{discord-9gysrhzp.mjs → discord-BGqgx-yd.mjs} +686 -854
  17. package/dist/.setup/{doctor-B2bskDcF.mjs → doctor-DSrNJ7m2.mjs} +36 -47
  18. package/dist/.setup/{doctor-contract-Bg3NPAMw.mjs → doctor-contract-Bwv8EuQ_.mjs} +7 -16
  19. package/dist/.setup/{handle-action-UmkjXBfo.mjs → handle-action-CXH1h1tq.mjs} +25 -38
  20. package/dist/.setup/{handle-action.guild-admin-CB4sc9VV.mjs → handle-action.guild-admin-CHKW6PIs.mjs} +25 -31
  21. package/dist/.setup/{live-policy-config-VxexfRKo.mjs → live-policy-config-BPoB3eQi.mjs} +1 -1
  22. package/dist/.setup/{message-handler-BK69A-NB.mjs → message-handler-Ii_etru1.mjs} +9 -14
  23. package/dist/.setup/{message-handler.preflight-DFpsh90H.mjs → message-handler.preflight-C7YuSRl_.mjs} +79 -128
  24. package/dist/.setup/{message-handler.preflight-pluralkit-BXGGVmpe.mjs → message-handler.preflight-pluralkit-C3iAG--b.mjs} +6 -6
  25. package/dist/.setup/{message-handler.process-TKoqcqIP.mjs → message-handler.process-ClgWYH6o.mjs} +234 -206
  26. package/dist/.setup/{outbound-adapter-D4wRAb5S.mjs → outbound-adapter-D8OOIuKn.mjs} +73 -112
  27. package/dist/.setup/{outbound-session-route-BvBH4LC6.mjs → outbound-session-route-B0Hpwn3Q.mjs} +57 -115
  28. package/dist/.setup/output-activity-uBpMSX75.mjs +11 -0
  29. package/dist/.setup/{pluralkit-a6_NLfH9.mjs → pluralkit-B64dfq_j.mjs} +3 -1
  30. package/dist/.setup/{preflight-audio-DHGIHEpv.mjs → preflight-audio-wWgsZG5F.mjs} +1 -5
  31. package/dist/.setup/{presence-cache-Dg3_dADn.mjs → presence-cache-DCeTsL73.mjs} +3 -6
  32. package/dist/.setup/{probe-BwSKpnZf.mjs → probe-D3P1x4aN.mjs} +10 -18
  33. package/dist/.setup/{provider-YP8gN9_o.mjs → provider-D9EzOfG8.mjs} +2990 -3903
  34. package/dist/.setup/{provider-session.runtime-D1gkPxHT.mjs → provider-session.runtime-CsnRvddI.mjs} +5 -5
  35. package/dist/.setup/provider.runtime-BQVcM7Pg.mjs +2 -0
  36. package/dist/.setup/{realtime-session.runtime-BKUQBy1u.mjs → realtime-session.runtime-CxGBk8H-.mjs} +69 -98
  37. package/dist/.setup/{receive-recovery-DgkX7Qvi.mjs → receive-recovery-eVmK2_hl.mjs} +2 -12
  38. package/dist/.setup/resolve-allowlist-common-DNSsUQRF.mjs +66 -0
  39. package/dist/.setup/resolve-channels-UdT38DzU.mjs +173 -0
  40. package/dist/.setup/{resolve-users-DNrwvunm.mjs → resolve-users-DnCsrXZ_.mjs} +12 -41
  41. package/dist/.setup/{runtime-CESTexGn.mjs → runtime-CRTkKU1G.mjs} +202 -313
  42. package/dist/.setup/{runtime-DPcmPST9.mjs → runtime-DPm3gZXk.mjs} +2 -2
  43. package/dist/.setup/{secret-config-contract-uOE2J7yM.mjs → secret-config-contract-CIsH7R3B.mjs} +9 -18
  44. package/dist/.setup/{security-audit-D42cp5N7.mjs → security-audit-BFT84Uny.mjs} +1 -2
  45. package/dist/.setup/security-contract-DNyyjTZZ.mjs +19 -0
  46. package/dist/.setup/{send-CJk3VP5q.mjs → send-DbILKgcm.mjs} +184 -241
  47. package/dist/.setup/{send.components-dPljuV24.mjs → send.components-FxOS3CeP.mjs} +47 -63
  48. package/dist/.setup/{send.outbound-rOboMO_6.mjs → send.outbound-_jx4Xpd3.mjs} +178 -202
  49. package/dist/.setup/{send.receipt-DVOg2Oaw.mjs → send.receipt-BAlzXd8e.mjs} +33 -109
  50. package/dist/.setup/{send.shared-C4CN24D9.mjs → send.shared-CjQ4jbMA.mjs} +97 -153
  51. package/dist/.setup/{sender-identity-AHpUNr72.mjs → sender-identity-BNBvGt1l.mjs} +1 -1
  52. package/dist/.setup/setup-plugin-api-xfOFmxHP.mjs +3 -0
  53. package/dist/.setup/{shared-BoBnM5kM.mjs → shared-CestGDpq.mjs} +30 -20
  54. package/dist/.setup/{subagent-hooks-HH8Uy9cx.mjs → subagent-hooks-CME7dSGf.mjs} +5 -10
  55. package/dist/.setup/{system-events-Cwxaww8i.mjs → system-events-BwwSDCw4.mjs} +2 -2
  56. package/dist/.setup/target-parsing-C-HyNxcE.mjs +48 -0
  57. package/dist/.setup/{target-resolver-CSFoPQ12.mjs → target-resolver-Bse8fuTi.mjs} +11 -27
  58. package/dist/.setup/targets-DZJjkzwv.mjs +3 -0
  59. package/dist/.setup/{thread-bindings-DjQCkmsd.mjs → thread-bindings-0hPTSK14.mjs} +61 -52
  60. package/dist/.setup/{thread-bindings.manager-D2-GYZ5s.mjs → thread-bindings.manager-CdNa6UIs.mjs} +138 -211
  61. package/dist/.setup/{thread-bindings.session-updates-Bu_CGr_O.mjs → thread-bindings.session-updates-DGSljVf6.mjs} +60 -99
  62. package/dist/.setup/threading-BKe3E3tp.mjs +246 -0
  63. package/dist/.setup/{timeouts-pun7VJ02.mjs → timeouts-CuNARfyw.mjs} +10 -18
  64. package/dist/.setup/{transcripts-source-CaZQnGRH.mjs → transcripts-source-0qQYVu2H.mjs} +50 -368
  65. package/dist/.setup/{voice-runtime-DDymtIw8.mjs → voice-runtime-QlZJ4sHv.mjs} +166 -322
  66. package/dist/account-inspect-api.js +1 -1
  67. package/dist/action-runtime-api.js +1 -1
  68. package/dist/activities-api.js +77 -120
  69. package/dist/api.js +19 -18
  70. package/dist/channel-config-api.js +1 -1
  71. package/dist/channel-plugin-api.js +1 -1
  72. package/dist/directory-contract-api.js +1 -1
  73. package/dist/doctor-contract-api.js +1 -1
  74. package/dist/runtime-api.js +21 -20
  75. package/dist/secret-contract-api.js +1 -1
  76. package/dist/security-audit-contract-api.js +1 -1
  77. package/dist/security-contract-api.js +1 -1
  78. package/dist/setup-entry.js +1 -1
  79. package/dist/setup-plugin-api.js +1 -1
  80. package/dist/src/voice/audio-worker.runtime.js +38 -57
  81. package/dist/subagent-hooks-api.js +1 -1
  82. package/dist/transcripts-source-api.js +1 -1
  83. package/node_modules/@types/node/README.md +1 -1
  84. package/node_modules/@types/node/crypto.d.ts +2 -2
  85. package/node_modules/@types/node/dgram.d.ts +1 -1
  86. package/node_modules/@types/node/package.json +2 -2
  87. package/node_modules/@types/node/zlib.d.ts +6 -0
  88. package/node_modules/@types/ws/README.md +1 -1
  89. package/node_modules/@types/ws/index.d.mts +4 -0
  90. package/node_modules/@types/ws/index.d.ts +4 -0
  91. package/node_modules/@types/ws/package.json +3 -3
  92. package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.d.ts +21 -0
  93. package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.d.ts.map +1 -1
  94. package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.d.ts +21 -0
  95. package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.d.ts.map +1 -1
  96. package/node_modules/discord-api-types/globals.d.ts +6 -0
  97. package/node_modules/discord-api-types/globals.d.ts.map +1 -1
  98. package/node_modules/discord-api-types/globals.js +6 -0
  99. package/node_modules/discord-api-types/globals.js.map +1 -1
  100. package/node_modules/discord-api-types/package.json +3 -3
  101. package/node_modules/discord-api-types/payloads/index.mjs +1 -0
  102. package/node_modules/discord-api-types/payloads/v10/applicationIdentityProfile.d.ts +207 -0
  103. package/node_modules/discord-api-types/payloads/v10/applicationIdentityProfile.d.ts.map +1 -0
  104. package/node_modules/discord-api-types/payloads/v10/applicationIdentityProfile.js +25 -0
  105. package/node_modules/discord-api-types/payloads/v10/applicationIdentityProfile.js.map +1 -0
  106. package/node_modules/discord-api-types/payloads/v10/autoModeration.d.ts +1 -1
  107. package/node_modules/discord-api-types/payloads/v10/autoModeration.d.ts.map +1 -1
  108. package/node_modules/discord-api-types/payloads/v10/guild.d.ts +27 -23
  109. package/node_modules/discord-api-types/payloads/v10/guild.d.ts.map +1 -1
  110. package/node_modules/discord-api-types/payloads/v10/guild.js +26 -22
  111. package/node_modules/discord-api-types/payloads/v10/guild.js.map +1 -1
  112. package/node_modules/discord-api-types/payloads/v10/index.d.ts +1 -0
  113. package/node_modules/discord-api-types/payloads/v10/index.d.ts.map +1 -1
  114. package/node_modules/discord-api-types/payloads/v10/index.js +1 -0
  115. package/node_modules/discord-api-types/payloads/v10/index.js.map +1 -1
  116. package/node_modules/discord-api-types/payloads/v10/index.mjs +1 -0
  117. package/node_modules/discord-api-types/payloads/v9/applicationIdentityProfile.d.ts +207 -0
  118. package/node_modules/discord-api-types/payloads/v9/applicationIdentityProfile.d.ts.map +1 -0
  119. package/node_modules/discord-api-types/payloads/v9/applicationIdentityProfile.js +25 -0
  120. package/node_modules/discord-api-types/payloads/v9/applicationIdentityProfile.js.map +1 -0
  121. package/node_modules/discord-api-types/payloads/v9/autoModeration.d.ts +1 -1
  122. package/node_modules/discord-api-types/payloads/v9/autoModeration.d.ts.map +1 -1
  123. package/node_modules/discord-api-types/payloads/v9/guild.d.ts +27 -23
  124. package/node_modules/discord-api-types/payloads/v9/guild.d.ts.map +1 -1
  125. package/node_modules/discord-api-types/payloads/v9/guild.js +26 -22
  126. package/node_modules/discord-api-types/payloads/v9/guild.js.map +1 -1
  127. package/node_modules/discord-api-types/payloads/v9/index.d.ts +1 -0
  128. package/node_modules/discord-api-types/payloads/v9/index.d.ts.map +1 -1
  129. package/node_modules/discord-api-types/payloads/v9/index.js +1 -0
  130. package/node_modules/discord-api-types/payloads/v9/index.js.map +1 -1
  131. package/node_modules/discord-api-types/payloads/v9/index.mjs +1 -0
  132. package/node_modules/discord-api-types/rest/common.d.ts +2 -0
  133. package/node_modules/discord-api-types/rest/common.d.ts.map +1 -1
  134. package/node_modules/discord-api-types/rest/common.js +2 -0
  135. package/node_modules/discord-api-types/rest/common.js.map +1 -1
  136. package/node_modules/discord-api-types/rest/v10/applicationIdentityProfile.d.ts +70 -0
  137. package/node_modules/discord-api-types/rest/v10/applicationIdentityProfile.d.ts.map +1 -0
  138. package/node_modules/discord-api-types/rest/v10/applicationIdentityProfile.js +3 -0
  139. package/node_modules/discord-api-types/rest/v10/applicationIdentityProfile.js.map +1 -0
  140. package/node_modules/discord-api-types/rest/v10/index.d.ts +1 -0
  141. package/node_modules/discord-api-types/rest/v10/index.d.ts.map +1 -1
  142. package/node_modules/discord-api-types/rest/v10/index.js +29 -0
  143. package/node_modules/discord-api-types/rest/v10/index.js.map +1 -1
  144. package/node_modules/discord-api-types/rest/v10/interactions.d.ts +4 -2
  145. package/node_modules/discord-api-types/rest/v10/interactions.d.ts.map +1 -1
  146. package/node_modules/discord-api-types/rest/v10/user.d.ts +2 -2
  147. package/node_modules/discord-api-types/rest/v10/user.d.ts.map +1 -1
  148. package/node_modules/discord-api-types/rest/v9/applicationIdentityProfile.d.ts +70 -0
  149. package/node_modules/discord-api-types/rest/v9/applicationIdentityProfile.d.ts.map +1 -0
  150. package/node_modules/discord-api-types/rest/v9/applicationIdentityProfile.js +3 -0
  151. package/node_modules/discord-api-types/rest/v9/applicationIdentityProfile.js.map +1 -0
  152. package/node_modules/discord-api-types/rest/v9/index.d.ts +1 -0
  153. package/node_modules/discord-api-types/rest/v9/index.d.ts.map +1 -1
  154. package/node_modules/discord-api-types/rest/v9/index.js +29 -0
  155. package/node_modules/discord-api-types/rest/v9/index.js.map +1 -1
  156. package/node_modules/discord-api-types/rest/v9/interactions.d.ts +4 -2
  157. package/node_modules/discord-api-types/rest/v9/interactions.d.ts.map +1 -1
  158. package/node_modules/discord-api-types/rest/v9/user.d.ts +2 -2
  159. package/node_modules/discord-api-types/rest/v9/user.d.ts.map +1 -1
  160. package/node_modules/discord-api-types/v10.mjs +1 -0
  161. package/node_modules/discord-api-types/v9.mjs +1 -0
  162. package/node_modules/micromark/dev/lib/compile.d.ts.map +1 -1
  163. package/node_modules/micromark/dev/lib/compile.js +14 -4
  164. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +1 -1
  165. package/node_modules/micromark/dev/lib/create-tokenizer.js +7 -6
  166. package/node_modules/micromark/dev/lib/initialize/document.js +25 -21
  167. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +1 -1
  168. package/node_modules/micromark/dev/lib/initialize/text.js +10 -6
  169. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +1 -1
  170. package/node_modules/micromark/dev/lib/preprocess.js +19 -21
  171. package/node_modules/micromark/lib/compile.d.ts.map +1 -1
  172. package/node_modules/micromark/lib/compile.js +37 -29
  173. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +1 -1
  174. package/node_modules/micromark/lib/create-tokenizer.js +37 -35
  175. package/node_modules/micromark/lib/initialize/document.js +21 -13
  176. package/node_modules/micromark/lib/initialize/text.d.ts.map +1 -1
  177. package/node_modules/micromark/lib/initialize/text.js +7 -3
  178. package/node_modules/micromark/lib/preprocess.d.ts.map +1 -1
  179. package/node_modules/micromark/lib/preprocess.js +16 -19
  180. package/node_modules/micromark/package.json +2 -15
  181. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +18 -24
  182. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +1 -1
  183. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +1 -43
  184. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +19 -43
  185. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +2 -6
  186. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +1 -1
  187. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +2 -53
  188. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +14 -12
  189. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +1 -1
  190. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +14 -5
  191. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +1 -1
  192. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +14 -5
  193. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +4 -0
  194. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +1 -0
  195. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +67 -0
  196. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +1 -1
  197. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +8 -5
  198. package/node_modules/micromark-core-commonmark/lib/attention.js +14 -24
  199. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +1 -1
  200. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +1 -39
  201. package/node_modules/micromark-core-commonmark/lib/code-indented.js +11 -29
  202. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -6
  203. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +1 -1
  204. package/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -51
  205. package/node_modules/micromark-core-commonmark/lib/label-end.js +11 -10
  206. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +1 -1
  207. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +11 -3
  208. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +1 -1
  209. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +11 -3
  210. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +4 -0
  211. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +1 -0
  212. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +61 -0
  213. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +1 -1
  214. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +7 -5
  215. package/node_modules/micromark-core-commonmark/package.json +4 -16
  216. package/node_modules/micromark-factory-space/dev/index.d.ts +24 -1
  217. package/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -1
  218. package/node_modules/micromark-factory-space/dev/index.js +58 -3
  219. package/node_modules/micromark-factory-space/index.d.ts +24 -1
  220. package/node_modules/micromark-factory-space/index.d.ts.map +1 -1
  221. package/node_modules/micromark-factory-space/index.js +55 -3
  222. package/node_modules/micromark-factory-space/package.json +1 -10
  223. package/node_modules/micromark-factory-space/readme.md +25 -25
  224. package/node_modules/micromark-util-edit-map/dev/index.d.ts +78 -0
  225. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +1 -0
  226. package/node_modules/micromark-util-edit-map/dev/index.js +237 -0
  227. package/node_modules/micromark-util-edit-map/index.d.ts +78 -0
  228. package/node_modules/micromark-util-edit-map/index.d.ts.map +1 -0
  229. package/node_modules/micromark-util-edit-map/index.js +225 -0
  230. package/node_modules/micromark-util-edit-map/license +22 -0
  231. package/node_modules/micromark-util-edit-map/package.json +48 -0
  232. package/node_modules/micromark-util-edit-map/readme.md +234 -0
  233. package/node_modules/micromark-util-types/index.d.ts +6 -3
  234. package/node_modules/micromark-util-types/package.json +2 -36
  235. package/node_modules/ws/lib/websocket.js +17 -3
  236. package/node_modules/ws/package.json +1 -1
  237. package/openclaw.plugin.json +3 -6
  238. package/package.json +7 -12
  239. package/dist/.setup/account-inspect-DsER5ILV.mjs +0 -45
  240. package/dist/.setup/provider.runtime-CZ51OIgD.mjs +0 -2
  241. package/dist/.setup/resolve-allowlist-common-BUyU3C-T.mjs +0 -27
  242. package/dist/.setup/resolve-channels-DA6QlhZN.mjs +0 -246
  243. package/dist/.setup/security-contract-DSHk7I2w.mjs +0 -26
  244. package/dist/.setup/setup-plugin-api-BVlCz3fm.mjs +0 -3
  245. package/dist/.setup/targets-bqXQENmX.mjs +0 -3
  246. package/dist/control-ui/2afbdab1d3aa65a789d8a3eba666f4b1ec5df07073538fe30d6cf32093a1fb2d/index.js +0 -1
@@ -1,14 +1,14 @@
1
- import { s as resolveDefaultDiscordAccountId } from "./accounts-HE9-mj1L.mjs";
2
- import { C as resolveDiscordSystemLocation, S as formatDiscordUserTag, a as normalizeDiscordDisplaySlug, f as resolveDiscordGuildEntry, h as resolveDiscordMentionPolicy, l as resolveDiscordChannelConfigWithFallback, o as normalizeDiscordSlug, p as resolveDiscordMemberAccessState, w as resolveTimestampMs } from "./allow-list-vxkG9_JD.mjs";
3
- import { D as Message, dt as getChannelMessage, t as discord_exports } from "./discord-9gysrhzp.mjs";
4
- import { n as DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, t as DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS } from "./timeouts-pun7VJ02.mjs";
5
- import { _ as resolveDiscordRuntimeBindingConversationId, f as resolveDiscordConversationRoute, h as resolveDiscordConversationIdentity, p as resolveDiscordEffectiveRoute, u as buildDiscordRoutePeer } from "./outbound-session-route-BvBH4LC6.mjs";
6
- import { t as resolveDiscordConversationBindingRoute } from "./conversation-binding-route-DicJC1Lj.mjs";
7
- import { n as resolveDiscordChannelInfoSafe, r as resolveDiscordChannelNameSafe } from "./channel-access-BRp3Y-rF.mjs";
8
- import { A as resolveDiscordDmCommandAccess, E as handleDiscordDmCommandDecision, j as resolveDiscordTextCommandAccess, n as resolveDiscordPreflightChannelAccess } from "./provider-YP8gN9_o.mjs";
9
- import { A as resolveDiscordMessageChannelId, D as resolveDiscordReferencedReplyMessage, E as resolveDiscordMessageStickers, S as resolveMediaList, _ as resolveDiscordMessageHistoryText, g as resolveDiscordMessageBatch, k as resolveDiscordChannelInfo, v as resolveDiscordMessageMentionDocuments, x as resolveForwardedMediaList, y as resolveDiscordMessageText } from "./transcripts-source-CaZQnGRH.mjs";
10
- import { n as resolveDiscordWebhookId, t as resolveDiscordSenderIdentity } from "./sender-identity-AHpUNr72.mjs";
11
- import { a as createDiscordHistorySenderProvenance, c as hasRawDiscordUserMention, d as matchesActiveDiscordMentionPatterns, f as resolveDiscordMentionState, i as loadSystemEventsRuntime, l as isBoundThreadBotSystemMessage, m as shouldIgnoreBoundThreadWebhookMessage, n as loadDiscordThreadingRuntime, p as resolveInjectedBoundThreadLookupRecord, r as loadPreflightAudioRuntime, s as resolveDiscordHistoryMediaIds, t as resolveDiscordPreflightPluralKitInfo, u as isDiscordThreadChannelMessage } from "./message-handler.preflight-pluralkit-BXGGVmpe.mjs";
1
+ import { c as resolveDefaultDiscordAccountId } from "./accounts-ljrzXBJi.mjs";
2
+ import { C as resolveDiscordSystemLocation, S as formatDiscordUserTag, a as normalizeDiscordDisplaySlug, f as resolveDiscordGuildEntry, h as resolveDiscordMentionPolicy, l as resolveDiscordChannelConfigWithFallback, o as normalizeDiscordSlug, p as resolveDiscordMemberAccessState, w as resolveTimestampMs } from "./allow-list-B_ToXtew.mjs";
3
+ import { Z as Message, ft as getChannelMessage, t as discord_exports } from "./discord-BGqgx-yd.mjs";
4
+ import { n as DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS, t as DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS } from "./timeouts-CuNARfyw.mjs";
5
+ import { _ as resolveDiscordRuntimeBindingConversationId, f as resolveDiscordConversationRoute, h as resolveDiscordConversationIdentity, p as resolveDiscordEffectiveRoute, u as buildDiscordRoutePeer } from "./outbound-session-route-B0Hpwn3Q.mjs";
6
+ import { t as resolveDiscordConversationBindingRoute } from "./conversation-binding-route-DTjCBx-O.mjs";
7
+ import { n as resolveDiscordChannelInfoSafe, r as resolveDiscordChannelNameSafe } from "./channel-access-DasWY_OV.mjs";
8
+ import { A as resolveDiscordDmCommandAccess, E as handleDiscordDmCommandDecision, j as resolveDiscordTextCommandAccess, n as resolveDiscordPreflightChannelAccess } from "./provider-D9EzOfG8.mjs";
9
+ import { A as resolveDiscordChannelInfo, C as resolveMediaList, D as resolveDiscordMessageStickers, O as resolveDiscordReferencedReplyMessage, S as resolveForwardedMediaList, _ as resolveDiscordMessageBatch, b as resolveDiscordMessageText, j as resolveDiscordMessageChannelId, v as resolveDiscordMessageHistoryText, y as resolveDiscordMessageMentionDocuments } from "./transcripts-source-0qQYVu2H.mjs";
10
+ import { n as resolveDiscordWebhookId, t as resolveDiscordSenderIdentity } from "./sender-identity-BNBvGt1l.mjs";
11
+ import { a as createDiscordHistorySenderProvenance, c as hasRawDiscordUserMention, d as matchesActiveDiscordMentionPatterns, f as resolveDiscordMentionState, i as loadSystemEventsRuntime, l as isBoundThreadBotSystemMessage, m as shouldIgnoreBoundThreadWebhookMessage, n as loadDiscordThreadingRuntime, p as resolveInjectedBoundThreadLookupRecord, r as loadPreflightAudioRuntime, s as resolveDiscordHistoryMediaIds, t as resolveDiscordPreflightPluralKitInfo, u as isDiscordThreadChannelMessage } from "./message-handler.preflight-pluralkit-C3iAG--b.mjs";
12
12
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
13
13
  import { getChildLogger, logVerbose, shouldLogVerbose } from "openclaw/plugin-sdk/runtime-env";
14
14
  import { MessageReferenceType, MessageType } from "discord-api-types/v10";
@@ -26,7 +26,7 @@ import { shouldHandleTextCommands } from "openclaw/plugin-sdk/command-surface";
26
26
  import { createChannelHistoryWindow } from "openclaw/plugin-sdk/reply-history";
27
27
  //#region extensions/discord/src/monitor/message-handler.dm-preflight.ts
28
28
  const loadConversationRuntime$1 = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/conversation-binding-runtime"));
29
- const loadDiscordSendRuntime = createLazyRuntimeModule(() => import("./send-CJk3VP5q.mjs").then((n) => n.t));
29
+ const loadDiscordSendRuntime = createLazyRuntimeModule(() => import("./send-DbILKgcm.mjs").then((n) => n.t));
30
30
  async function resolveDiscordDmPreflightAccess(params) {
31
31
  if (params.dmPolicy === "disabled") {
32
32
  logVerbose("discord: drop dm (dmPolicy: disabled)");
@@ -189,7 +189,6 @@ function resolveDiscordPreflightChannelContext(params) {
189
189
  const displayChannelSlug = displayChannelName ? normalizeDiscordDisplaySlug(displayChannelName) : "";
190
190
  const guildSlug = params.guildInfo?.slug || (params.guildName ? normalizeDiscordSlug(params.guildName) : "");
191
191
  const threadChannelSlug = params.channelName ? normalizeDiscordSlug(params.channelName) : "";
192
- const threadParentSlug = params.threadParentName ? normalizeDiscordSlug(params.threadParentName) : "";
193
192
  return {
194
193
  threadName,
195
194
  displayChannelName,
@@ -202,7 +201,6 @@ function resolveDiscordPreflightChannelContext(params) {
202
201
  channelSlug: threadChannelSlug,
203
202
  parentId: params.threadParentId,
204
203
  parentName: params.threadParentName,
205
- parentSlug: threadParentSlug,
206
204
  scope: params.threadChannel ? "thread" : "channel"
207
205
  }) : null
208
206
  };
@@ -217,10 +215,7 @@ function buildDiscordPreflightHistoryEntry(params) {
217
215
  timestamp: resolveTimestampMs(params.message.timestamp),
218
216
  messageId: params.message.id,
219
217
  mediaIds: resolveDiscordHistoryMediaIds(params.message),
220
- senderProvenance: createDiscordHistorySenderProvenance({
221
- sender: params.sender,
222
- memberRoleIds: params.memberRoleIds
223
- })
218
+ senderProvenance: createDiscordHistorySenderProvenance(params)
224
219
  } : void 0;
225
220
  }
226
221
  //#endregion
@@ -238,12 +233,7 @@ function logDiscordPreflightInboundSummary(params) {
238
233
  //#region extensions/discord/src/monitor/message-handler.preflight-thread.ts
239
234
  async function resolveDiscordPreflightThreadContext(params) {
240
235
  const { resolveDiscordThreadChannel, resolveDiscordThreadParentInfo } = await loadDiscordThreadingRuntime();
241
- const earlyThreadChannel = resolveDiscordThreadChannel({
242
- isGuildMessage: params.isGuildMessage,
243
- message: params.message,
244
- channelInfo: params.channelInfo,
245
- messageChannelId: params.messageChannelId
246
- });
236
+ const earlyThreadChannel = resolveDiscordThreadChannel(params);
247
237
  if (!earlyThreadChannel) return { earlyThreadChannel: null };
248
238
  const parentInfo = await resolveDiscordThreadParentInfo({
249
239
  client: params.client,
@@ -291,9 +281,8 @@ async function resolveDiscordPreflightRoute(params) {
291
281
  configuredConversationId: params.messageChannelId,
292
282
  parentConversationId: params.earlyThreadParentId
293
283
  });
294
- let threadBinding = runtimeRoute.bindingRecord ?? void 0;
295
284
  const configuredBinding = configuredRoute?.bindingResolution ?? null;
296
- if (!threadBinding && configuredBinding) threadBinding = configuredBinding.record;
285
+ const threadBinding = runtimeRoute.bindingRecord ?? configuredBinding?.record;
297
286
  const boundSessionKey = conversationRuntime.isPluginOwnedSessionBindingRecord(threadBinding) ? "" : runtimeRoute.boundSessionKey ?? threadBinding?.targetSessionKey?.trim();
298
287
  const effectiveRoute = runtimeRoute.boundSessionKey ? runtimeRoute.route : resolveDiscordEffectiveRoute({
299
288
  route: configuredRoute?.route ?? runtimeRoute.route,
@@ -317,13 +306,6 @@ const DISCORD_HISTORY_MEDIA_MAX_ATTACHMENTS = 4;
317
306
  const DISCORD_HISTORY_MEDIA_MAX_BYTES = 10485760;
318
307
  const DISCORD_HISTORY_MEDIA_IDLE_TIMEOUT_MS = 1e3;
319
308
  const DISCORD_HISTORY_MEDIA_TOTAL_TIMEOUT_MS = 3e3;
320
- function resolveDiscordPreflightConversationKind(params) {
321
- const isGroupDm = params.channelType === discord_exports.ChannelType.GroupDM;
322
- return {
323
- isDirectMessage: params.channelType === discord_exports.ChannelType.DM || !params.isGuildMessage && !isGroupDm && params.channelType == null,
324
- isGroupDm
325
- };
326
- }
327
309
  function isDiscordImageAttachmentCandidate(attachment) {
328
310
  if ((attachment.content_type?.split(";")[0]?.trim().toLowerCase())?.startsWith("image/")) return true;
329
311
  return Boolean(mimeTypeFromFilePath(attachment.filename)?.startsWith("image/") || mimeTypeFromFilePath(attachment.url)?.startsWith("image/"));
@@ -370,21 +352,6 @@ async function resolveDiscordHistoryMediaForPendingRecord(params) {
370
352
  messageId: media.messageId
371
353
  }));
372
354
  }
373
- async function recordDiscordPendingHistoryEntry(params) {
374
- if (!params.entry || params.preflight.historyLimit <= 0) return;
375
- await createChannelHistoryWindow({ historyMap: params.preflight.guildHistories }).recordWithMedia({
376
- historyKey: params.historyKey,
377
- entry: params.entry,
378
- limit: params.preflight.historyLimit,
379
- mediaLimit: DISCORD_HISTORY_MEDIA_MAX_ATTACHMENTS,
380
- messageId: params.message.id,
381
- shouldRecord: () => !params.preflight.abortSignal?.aborted && params.preflight.isPolicyCurrent?.() !== false,
382
- media: async () => toHistoryMediaEntries(await resolveDiscordHistoryMediaForPendingRecord({
383
- preflight: params.preflight,
384
- message: params.message
385
- }), { messageId: params.message.id })
386
- });
387
- }
388
355
  async function preflightDiscordMessage(params) {
389
356
  if (params.abortSignal?.aborted || params.isPolicyCurrent?.() === false) return null;
390
357
  const logger = getChildLogger({ module: "discord-auto-reply" });
@@ -427,35 +394,34 @@ async function preflightDiscordMessage(params) {
427
394
  const isGuildMessage = Boolean(params.data.guild_id);
428
395
  const channelInfo = await resolveDiscordChannelInfo(params.client, messageChannelId);
429
396
  if (params.abortSignal?.aborted || params.isPolicyCurrent?.() === false) return null;
430
- const { isDirectMessage, isGroupDm } = resolveDiscordPreflightConversationKind({
431
- isGuildMessage,
432
- channelType: channelInfo?.type
433
- });
397
+ const isGroupDm = channelInfo?.type === discord_exports.ChannelType.GroupDM;
398
+ const isDirectMessage = channelInfo?.type === discord_exports.ChannelType.DM || !isGuildMessage && !isGroupDm && channelInfo?.type == null;
434
399
  const messageText = resolveDiscordMessageText(message, { includeForwarded: true });
435
400
  const injectedBoundThreadBinding = !isDirectMessage && !isGroupDm && (webhookId || author.bot) ? resolveInjectedBoundThreadLookupRecord({
436
401
  threadBindings: params.threadBindings,
437
402
  threadId: messageChannelId
438
403
  }) : void 0;
439
- if (shouldIgnoreBoundThreadWebhookMessage({
440
- threadId: messageChannelId,
441
- webhookId,
442
- threadBinding: injectedBoundThreadBinding
443
- })) {
444
- logVerbose(`discord: drop bound-thread webhook echo message ${message.id}`);
445
- return null;
446
- }
447
- if (isBoundThreadBotSystemMessage({
448
- isBoundThreadSession: Boolean(injectedBoundThreadBinding) && isDiscordThreadChannelMessage({
449
- isGuildMessage,
450
- message,
451
- channelInfo
452
- }),
453
- isBotAuthor: Boolean(author.bot),
454
- text: messageText
455
- })) {
456
- logVerbose(`discord: drop bound-thread bot system message ${message.id}`);
457
- return null;
458
- }
404
+ const ignoreBoundThreadMessage = (threadBinding, isBoundThreadSession) => {
405
+ let reason;
406
+ if (shouldIgnoreBoundThreadWebhookMessage({
407
+ threadId: messageChannelId,
408
+ webhookId,
409
+ threadBinding
410
+ })) reason = "webhook echo";
411
+ else if (isBoundThreadBotSystemMessage({
412
+ isBoundThreadSession: isBoundThreadSession(),
413
+ isBotAuthor: Boolean(author.bot),
414
+ text: messageText
415
+ })) reason = "bot system";
416
+ else return false;
417
+ logVerbose(`discord: drop bound-thread ${reason} message ${message.id}`);
418
+ return true;
419
+ };
420
+ if (ignoreBoundThreadMessage(injectedBoundThreadBinding, () => Boolean(injectedBoundThreadBinding) && isDiscordThreadChannelMessage({
421
+ isGuildMessage,
422
+ message,
423
+ channelInfo
424
+ }))) return null;
459
425
  const pluralkitInfo = await resolveDiscordPreflightPluralKitInfo({
460
426
  message,
461
427
  webhookId,
@@ -468,11 +434,9 @@ async function preflightDiscordMessage(params) {
468
434
  member: params.data.member,
469
435
  pluralkitInfo
470
436
  });
471
- if (author.bot) {
472
- if (allowBotsMode === "off" && !sender.isPluralKit) {
473
- logVerbose("discord: drop bot message (allowBots=false)");
474
- return null;
475
- }
437
+ if (author.bot && allowBotsMode === "off" && !sender.isPluralKit) {
438
+ logVerbose("discord: drop bot message (allowBots=false)");
439
+ return null;
476
440
  }
477
441
  const data = message === params.data.message ? params.data : {
478
442
  ...params.data,
@@ -537,23 +501,8 @@ async function preflightDiscordMessage(params) {
537
501
  });
538
502
  if (params.isPolicyCurrent?.() === false) return null;
539
503
  const { conversationRuntime, threadBinding, configuredBinding, boundSessionKey, effectiveRoute, boundAgentId, baseSessionKey } = routeState;
540
- if (shouldIgnoreBoundThreadWebhookMessage({
541
- threadId: messageChannelId,
542
- webhookId,
543
- threadBinding
544
- })) {
545
- logVerbose(`discord: drop bound-thread webhook echo message ${message.id}`);
546
- return null;
547
- }
548
504
  const isBoundThreadSession = Boolean(threadBinding && threadChannel);
549
- if (isBoundThreadBotSystemMessage({
550
- isBoundThreadSession,
551
- isBotAuthor: Boolean(author.bot),
552
- text: messageText
553
- })) {
554
- logVerbose(`discord: drop bound-thread bot system message ${message.id}`);
555
- return null;
556
- }
505
+ if (ignoreBoundThreadMessage(threadBinding, () => isBoundThreadSession)) return null;
557
506
  const mentionRegexes = buildMentionRegexes(params.cfg, effectiveRoute.agentId, {
558
507
  provider: "discord",
559
508
  conversationId: messageChannelId,
@@ -571,8 +520,8 @@ async function preflightDiscordMessage(params) {
571
520
  };
572
521
  });
573
522
  const explicitlyMentioned = mentionSources.some((source) => source.explicitlyMentioned);
574
- const hasAnyMention = !isDirectMessage && ((message.mentionedUsers?.length ?? 0) > 0 || (message.mentionedRoles?.length ?? 0) > 0 || message.mentionedEveryone && (!author.bot || sender.isPluralKit));
575
523
  const hasUserOrRoleMention = !isDirectMessage && ((message.mentionedUsers?.length ?? 0) > 0 || (message.mentionedRoles?.length ?? 0) > 0);
524
+ const hasAnyMention = hasUserOrRoleMention || !isDirectMessage && message.mentionedEveryone && (!author.bot || sender.isPluralKit);
576
525
  if (isGuildMessage && (message.type === discord_exports.MessageType.ChatInputCommand || message.type === discord_exports.MessageType.ContextMenuCommand)) {
577
526
  logVerbose("discord: drop channel command message");
578
527
  return null;
@@ -624,6 +573,21 @@ async function preflightDiscordMessage(params) {
624
573
  sender,
625
574
  memberRoleIds
626
575
  });
576
+ const recordPendingHistoryEntry = async () => {
577
+ if (!historyEntry || params.historyLimit <= 0) return;
578
+ await createChannelHistoryWindow({ historyMap: params.guildHistories }).recordWithMedia({
579
+ historyKey: messageChannelId,
580
+ entry: historyEntry,
581
+ limit: params.historyLimit,
582
+ mediaLimit: DISCORD_HISTORY_MEDIA_MAX_ATTACHMENTS,
583
+ messageId: message.id,
584
+ shouldRecord: () => !params.abortSignal?.aborted && params.isPolicyCurrent?.() !== false,
585
+ media: async () => toHistoryMediaEntries(await resolveDiscordHistoryMediaForPendingRecord({
586
+ preflight: params,
587
+ message
588
+ }), { messageId: message.id })
589
+ });
590
+ };
627
591
  const mentionPolicy = resolveDiscordMentionPolicy({
628
592
  isGuildMessage,
629
593
  isThread: Boolean(threadChannel),
@@ -765,22 +729,15 @@ async function preflightDiscordMessage(params) {
765
729
  hasAbortRequest
766
730
  });
767
731
  logDebug(`[discord-preflight] shouldRequireMention=${shouldRequireMention} baseRequireMention=${shouldRequireMentionByConfig} boundThreadSession=${isBoundThreadSession} mentionDecision.shouldSkip=${mentionDecision.shouldSkip} wasMentioned=${wasMentioned}`);
768
- if (isGuildMessage && shouldRequireMention) {
769
- if (mentionDecision.shouldSkip) {
770
- logDebug(`[discord-preflight] drop: no-mention`);
771
- logVerbose(`discord: drop guild message (mention required, botId=${botId ?? "<missing>"})`);
772
- logger.info({
773
- channelId: messageChannelId,
774
- reason: "no-mention"
775
- }, "discord: skipping guild message");
776
- await recordDiscordPendingHistoryEntry({
777
- preflight: params,
778
- historyKey: messageChannelId,
779
- message,
780
- entry: historyEntry
781
- });
782
- return null;
783
- }
732
+ if (isGuildMessage && shouldRequireMention && mentionDecision.shouldSkip) {
733
+ logDebug(`[discord-preflight] drop: no-mention`);
734
+ logVerbose(`discord: drop guild message (mention required, botId=${botId ?? "<missing>"})`);
735
+ logger.info({
736
+ channelId: messageChannelId,
737
+ reason: "no-mention"
738
+ }, "discord: skipping guild message");
739
+ await recordPendingHistoryEntry();
740
+ return null;
784
741
  }
785
742
  if (requiresActiveBotMention) {
786
743
  if (!(isDirectMessage || hasActiveBotMention || mentionDecision.matchedImplicitMentionKinds.some((kind) => kind !== "reply_to_bot"))) {
@@ -797,12 +754,7 @@ async function preflightDiscordMessage(params) {
797
754
  if (isGuildMessage && ignoreOtherMentions && (hasUserOrRoleMention || replyTargetsOtherBot) && !wasMentioned && !mentionDecision.implicitMention) {
798
755
  logDebug(`[discord-preflight] drop: addressed-to-other`);
799
756
  logVerbose(`discord: drop guild message (addressed to another identity, ignoreOtherMentions=true, botId=${botId})`);
800
- await recordDiscordPendingHistoryEntry({
801
- preflight: params,
802
- historyKey: messageChannelId,
803
- message,
804
- entry: historyEntry
805
- });
757
+ await recordPendingHistoryEntry();
806
758
  return null;
807
759
  }
808
760
  const systemLocation = resolveDiscordSystemLocation({
@@ -836,18 +788,17 @@ async function preflightDiscordMessage(params) {
836
788
  return null;
837
789
  }
838
790
  }
839
- const botLoopProtection = author.bot && !sender.isPluralKit && allowBotsMode !== "off" && params.botUserId && author.id !== params.botUserId ? {
840
- scopeId: params.accountId,
841
- conversationId: messageChannelId,
842
- senderId: author.id,
843
- receiverId: params.botUserId,
844
- config: params.discordConfig?.botLoopProtection,
845
- defaultsConfig: params.cfg.channels?.defaults?.botLoopProtection,
846
- defaultEnabled: true,
847
- nowMs: resolveTimestampMs(message.timestamp)
848
- } : void 0;
849
- if (botLoopProtection) {
850
- const botLoopResult = recordChannelBotPairLoopAndCheckSuppression(botLoopProtection);
791
+ if (author.bot && !sender.isPluralKit && allowBotsMode !== "off" && params.botUserId && author.id !== params.botUserId) {
792
+ const botLoopResult = recordChannelBotPairLoopAndCheckSuppression({
793
+ scopeId: params.accountId,
794
+ conversationId: messageChannelId,
795
+ senderId: author.id,
796
+ receiverId: params.botUserId,
797
+ config: params.discordConfig?.botLoopProtection,
798
+ defaultsConfig: params.cfg.channels?.defaults?.botLoopProtection,
799
+ defaultEnabled: true,
800
+ nowMs: resolveTimestampMs(message.timestamp)
801
+ });
851
802
  if (botLoopResult.suppressed) {
852
803
  logVerbose(`discord: bot-to-bot loop detected before media download, suppressing for ${Math.max(0, Math.ceil((botLoopResult.cooldownUntilMs - Date.now()) / 1e3))}s`);
853
804
  return null;
@@ -1,5 +1,5 @@
1
- import { A as isDiscordThreadChannelType } from "./allow-list-vxkG9_JD.mjs";
2
- import { E as resolveDiscordMessageStickers } from "./transcripts-source-CaZQnGRH.mjs";
1
+ import { A as isDiscordThreadChannelType } from "./allow-list-B_ToXtew.mjs";
2
+ import { D as resolveDiscordMessageStickers } from "./transcripts-source-0qQYVu2H.mjs";
3
3
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
4
4
  import { logVerbose } from "openclaw/plugin-sdk/runtime-env";
5
5
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -113,10 +113,10 @@ function resolveDiscordHistoryMediaIds(message) {
113
113
  }
114
114
  //#endregion
115
115
  //#region extensions/discord/src/monitor/message-handler.preflight-runtime.ts
116
- const loadPluralKitRuntime = createLazyRuntimeModule(() => import("./pluralkit-a6_NLfH9.mjs").then((n) => n.n));
117
- const loadPreflightAudioRuntime = createLazyRuntimeModule(() => import("./preflight-audio-DHGIHEpv.mjs"));
118
- const loadSystemEventsRuntime = createLazyRuntimeModule(() => import("./system-events-Cwxaww8i.mjs"));
119
- const loadDiscordThreadingRuntime = createLazyRuntimeModule(() => import("./transcripts-source-CaZQnGRH.mjs").then((n) => n.d));
116
+ const loadPluralKitRuntime = createLazyRuntimeModule(() => import("./pluralkit-B64dfq_j.mjs").then((n) => n.n));
117
+ const loadPreflightAudioRuntime = createLazyRuntimeModule(() => import("./preflight-audio-wWgsZG5F.mjs"));
118
+ const loadSystemEventsRuntime = createLazyRuntimeModule(() => import("./system-events-BwwSDCw4.mjs"));
119
+ const loadDiscordThreadingRuntime = createLazyRuntimeModule(() => import("./threading-BKe3E3tp.mjs").then((n) => n.t));
120
120
  //#endregion
121
121
  //#region extensions/discord/src/monitor/message-handler.preflight-pluralkit.ts
122
122
  async function resolveDiscordPreflightPluralKitInfo(params) {