@archipelagolab/lobi 1.0.1 → 1.0.6

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 (1538) hide show
  1. package/dist/APEv2Parser-6EMKXRZS.js +15 -0
  2. package/dist/APEv2Parser-6EMKXRZS.js.map +7 -0
  3. package/dist/APEv2Parser-FYYGMFPI.js +15 -0
  4. package/dist/APEv2Parser-FYYGMFPI.js.map +7 -0
  5. package/dist/AiffParser-E6XWRTXM.js +194 -0
  6. package/dist/AiffParser-E6XWRTXM.js.map +7 -0
  7. package/dist/AiffParser-JHSDQA7T.js +194 -0
  8. package/dist/AiffParser-JHSDQA7T.js.map +7 -0
  9. package/dist/AsfParser-TPCQDEJB.js +620 -0
  10. package/dist/AsfParser-TPCQDEJB.js.map +7 -0
  11. package/dist/AsfParser-WSOH2JQY.js +620 -0
  12. package/dist/AsfParser-WSOH2JQY.js.map +7 -0
  13. package/dist/DsdiffParser-CGD3C3TL.js +192 -0
  14. package/dist/DsdiffParser-CGD3C3TL.js.map +7 -0
  15. package/dist/DsdiffParser-EUWJ4YAR.js +192 -0
  16. package/dist/DsdiffParser-EUWJ4YAR.js.map +7 -0
  17. package/dist/DsfParser-3UTIJVNF.js +114 -0
  18. package/dist/DsfParser-3UTIJVNF.js.map +7 -0
  19. package/dist/DsfParser-R6TPBJIY.js +114 -0
  20. package/dist/DsfParser-R6TPBJIY.js.map +7 -0
  21. package/dist/FlacParser-HLLYPJ76.js +16 -0
  22. package/dist/FlacParser-HLLYPJ76.js.map +7 -0
  23. package/dist/FlacParser-VDASGZ3E.js +16 -0
  24. package/dist/FlacParser-VDASGZ3E.js.map +7 -0
  25. package/dist/MP4Parser-64RGJLUM.js +1145 -0
  26. package/dist/MP4Parser-64RGJLUM.js.map +7 -0
  27. package/dist/MP4Parser-SM7HYL3Z.js +1145 -0
  28. package/dist/MP4Parser-SM7HYL3Z.js.map +7 -0
  29. package/dist/MatroskaParser-O6RXAKYA.js +662 -0
  30. package/dist/MatroskaParser-O6RXAKYA.js.map +7 -0
  31. package/dist/MatroskaParser-X7WRZ6D4.js +662 -0
  32. package/dist/MatroskaParser-X7WRZ6D4.js.map +7 -0
  33. package/dist/MpegParser-B6NX6DS3.js +652 -0
  34. package/dist/MpegParser-B6NX6DS3.js.map +7 -0
  35. package/dist/MpegParser-KXQEC6KD.js +652 -0
  36. package/dist/MpegParser-KXQEC6KD.js.map +7 -0
  37. package/dist/MusepackParser-NURI46TG.js +331 -0
  38. package/dist/MusepackParser-NURI46TG.js.map +7 -0
  39. package/dist/MusepackParser-WUBT63DS.js +331 -0
  40. package/dist/MusepackParser-WUBT63DS.js.map +7 -0
  41. package/dist/OggParser-5IYVBXPS.js +448 -0
  42. package/dist/OggParser-5IYVBXPS.js.map +7 -0
  43. package/dist/OggParser-ZY6E5C2P.js +448 -0
  44. package/dist/OggParser-ZY6E5C2P.js.map +7 -0
  45. package/dist/WavPackParser-5KTCSQEU.js +209 -0
  46. package/dist/WavPackParser-5KTCSQEU.js.map +7 -0
  47. package/dist/WavPackParser-RTEHKSJH.js +209 -0
  48. package/dist/WavPackParser-RTEHKSJH.js.map +7 -0
  49. package/dist/WaveParser-3R2NLXGP.js +300 -0
  50. package/dist/WaveParser-3R2NLXGP.js.map +7 -0
  51. package/dist/WaveParser-RZSHVQPZ.js +300 -0
  52. package/dist/WaveParser-RZSHVQPZ.js.map +7 -0
  53. package/dist/auth-presence.js +46 -0
  54. package/dist/auth-presence.js.map +7 -0
  55. package/dist/channel-plugin-api.js +79 -0
  56. package/dist/channel-plugin-api.js.map +7 -0
  57. package/dist/chunk-22WAAZ6I.js +114 -0
  58. package/dist/chunk-22WAAZ6I.js.map +7 -0
  59. package/dist/chunk-2A6HEFSO.js +676 -0
  60. package/dist/chunk-2A6HEFSO.js.map +7 -0
  61. package/dist/chunk-2GFROLI2.js +261 -0
  62. package/dist/chunk-2GFROLI2.js.map +7 -0
  63. package/dist/chunk-2IQWKATM.js +127 -0
  64. package/dist/chunk-2IQWKATM.js.map +7 -0
  65. package/dist/chunk-2KGHUHKU.js +169 -0
  66. package/dist/chunk-2KGHUHKU.js.map +7 -0
  67. package/dist/chunk-2NEQI4K6.js +171 -0
  68. package/dist/chunk-2NEQI4K6.js.map +7 -0
  69. package/dist/chunk-2OSJ3MTW.js +175 -0
  70. package/dist/chunk-2OSJ3MTW.js.map +7 -0
  71. package/dist/chunk-2Q626TDO.js +27 -0
  72. package/dist/chunk-2Q626TDO.js.map +7 -0
  73. package/dist/chunk-2U6OZ7N2.js +155 -0
  74. package/dist/chunk-2U6OZ7N2.js.map +7 -0
  75. package/dist/chunk-2V6Y4CAN.js +25 -0
  76. package/dist/chunk-2V6Y4CAN.js.map +7 -0
  77. package/dist/chunk-2WHRUMOM.js +321 -0
  78. package/dist/chunk-2WHRUMOM.js.map +7 -0
  79. package/dist/chunk-2Z4IOUDZ.js +129 -0
  80. package/dist/chunk-2Z4IOUDZ.js.map +7 -0
  81. package/dist/chunk-2ZEPAW7U.js +154 -0
  82. package/dist/chunk-2ZEPAW7U.js.map +7 -0
  83. package/dist/chunk-2ZI6JK5O.js +63 -0
  84. package/dist/chunk-2ZI6JK5O.js.map +7 -0
  85. package/dist/chunk-34UY6D6X.js +36 -0
  86. package/dist/chunk-34UY6D6X.js.map +7 -0
  87. package/dist/chunk-3GIK7SAA.js +109 -0
  88. package/dist/chunk-3GIK7SAA.js.map +7 -0
  89. package/dist/chunk-3JD6JSJD.js +111 -0
  90. package/dist/chunk-3JD6JSJD.js.map +7 -0
  91. package/dist/chunk-3OXOEMBS.js +123 -0
  92. package/dist/chunk-3OXOEMBS.js.map +7 -0
  93. package/dist/chunk-3R4ATE4Q.js +176 -0
  94. package/dist/chunk-3R4ATE4Q.js.map +7 -0
  95. package/dist/chunk-3TOEIHG5.js +314 -0
  96. package/dist/chunk-3TOEIHG5.js.map +7 -0
  97. package/dist/chunk-3TRKKAVT.js +130 -0
  98. package/dist/chunk-3TRKKAVT.js.map +7 -0
  99. package/dist/chunk-3UFTTK7C.js +418 -0
  100. package/dist/chunk-3UFTTK7C.js.map +7 -0
  101. package/dist/chunk-3XO6AAIC.js +25 -0
  102. package/dist/chunk-3XO6AAIC.js.map +7 -0
  103. package/dist/chunk-427SAQME.js +321 -0
  104. package/dist/chunk-427SAQME.js.map +7 -0
  105. package/dist/chunk-4CFQNJ7F.js +7 -0
  106. package/dist/chunk-4CFQNJ7F.js.map +7 -0
  107. package/dist/chunk-4COI4L2Y.js +31 -0
  108. package/dist/chunk-4COI4L2Y.js.map +7 -0
  109. package/dist/chunk-4EKKDVG3.js +1662 -0
  110. package/dist/chunk-4EKKDVG3.js.map +7 -0
  111. package/dist/chunk-4JVNTZAI.js +80 -0
  112. package/dist/chunk-4JVNTZAI.js.map +7 -0
  113. package/dist/chunk-4L2QI6AY.js +71 -0
  114. package/dist/chunk-4L2QI6AY.js.map +7 -0
  115. package/dist/chunk-4O3BEYYM.js +187 -0
  116. package/dist/chunk-4O3BEYYM.js.map +7 -0
  117. package/dist/chunk-4OXPPDV6.js +676 -0
  118. package/dist/chunk-4OXPPDV6.js.map +7 -0
  119. package/dist/chunk-4QTZHELX.js +51 -0
  120. package/dist/chunk-4QTZHELX.js.map +7 -0
  121. package/dist/chunk-4U42OJMK.js +217 -0
  122. package/dist/chunk-4U42OJMK.js.map +7 -0
  123. package/dist/chunk-4WCKVGQ5.js +193 -0
  124. package/dist/chunk-4WCKVGQ5.js.map +7 -0
  125. package/dist/chunk-4XXERLFH.js +95 -0
  126. package/dist/chunk-4XXERLFH.js.map +7 -0
  127. package/dist/chunk-4Z2N4GW6.js +247 -0
  128. package/dist/chunk-4Z2N4GW6.js.map +7 -0
  129. package/dist/chunk-4ZY2BOQ4.js +123 -0
  130. package/dist/chunk-4ZY2BOQ4.js.map +7 -0
  131. package/dist/chunk-56HN4SH6.js +46 -0
  132. package/dist/chunk-56HN4SH6.js.map +7 -0
  133. package/dist/chunk-57ROEOHB.js +183 -0
  134. package/dist/chunk-57ROEOHB.js.map +7 -0
  135. package/dist/chunk-5APBBTGW.js +7 -0
  136. package/dist/chunk-5APBBTGW.js.map +7 -0
  137. package/dist/chunk-5BQ6LLNU.js +39 -0
  138. package/dist/chunk-5BQ6LLNU.js.map +7 -0
  139. package/dist/chunk-5LNGMBWW.js +93 -0
  140. package/dist/chunk-5LNGMBWW.js.map +7 -0
  141. package/dist/chunk-5XFQSYZ4.js +52 -0
  142. package/dist/chunk-5XFQSYZ4.js.map +7 -0
  143. package/dist/chunk-62N5N4AC.js +241 -0
  144. package/dist/chunk-62N5N4AC.js.map +7 -0
  145. package/dist/chunk-63QTHDJL.js +52 -0
  146. package/dist/chunk-63QTHDJL.js.map +7 -0
  147. package/dist/chunk-65UUVZ6B.js +151 -0
  148. package/dist/chunk-65UUVZ6B.js.map +7 -0
  149. package/dist/chunk-6COVTMAO.js +3586 -0
  150. package/dist/chunk-6COVTMAO.js.map +7 -0
  151. package/dist/chunk-6EYPDJUD.js +34 -0
  152. package/dist/chunk-6EYPDJUD.js.map +7 -0
  153. package/dist/chunk-6HDYPVA4.js +15 -0
  154. package/dist/chunk-6HDYPVA4.js.map +7 -0
  155. package/dist/chunk-6HX3DEXK.js +178 -0
  156. package/dist/chunk-6HX3DEXK.js.map +7 -0
  157. package/dist/chunk-6NO5VEVV.js +18 -0
  158. package/dist/chunk-6NO5VEVV.js.map +7 -0
  159. package/dist/chunk-6OP3FK5F.js +266 -0
  160. package/dist/chunk-6OP3FK5F.js.map +7 -0
  161. package/dist/chunk-6PZGDVLR.js +465 -0
  162. package/dist/chunk-6PZGDVLR.js.map +7 -0
  163. package/dist/chunk-6RBDFNSX.js +88 -0
  164. package/dist/chunk-6RBDFNSX.js.map +7 -0
  165. package/dist/chunk-6SOGH3TW.js +163 -0
  166. package/dist/chunk-6SOGH3TW.js.map +7 -0
  167. package/dist/chunk-6TWWCETB.js +70 -0
  168. package/dist/chunk-6TWWCETB.js.map +7 -0
  169. package/dist/chunk-6WFHPMUF.js +17 -0
  170. package/dist/chunk-6WFHPMUF.js.map +7 -0
  171. package/dist/chunk-72TGY3LX.js +104 -0
  172. package/dist/chunk-72TGY3LX.js.map +7 -0
  173. package/dist/chunk-76IE55K7.js +392 -0
  174. package/dist/chunk-76IE55K7.js.map +7 -0
  175. package/dist/chunk-77BEEAPD.js +86 -0
  176. package/dist/chunk-77BEEAPD.js.map +7 -0
  177. package/dist/chunk-77JJ6QJK.js +50 -0
  178. package/dist/chunk-77JJ6QJK.js.map +7 -0
  179. package/dist/chunk-7BIUNV33.js +62 -0
  180. package/dist/chunk-7BIUNV33.js.map +7 -0
  181. package/dist/chunk-7F3242AO.js +86 -0
  182. package/dist/chunk-7F3242AO.js.map +7 -0
  183. package/dist/chunk-7FLQSTPG.js +57 -0
  184. package/dist/chunk-7FLQSTPG.js.map +7 -0
  185. package/dist/chunk-7L37R42D.js +52 -0
  186. package/dist/chunk-7L37R42D.js.map +7 -0
  187. package/dist/chunk-7MP46JBP.js +177 -0
  188. package/dist/chunk-7MP46JBP.js.map +7 -0
  189. package/dist/chunk-7MVZYR2T.js +87 -0
  190. package/dist/chunk-7MVZYR2T.js.map +7 -0
  191. package/dist/chunk-7N7ISMPG.js +50 -0
  192. package/dist/chunk-7N7ISMPG.js.map +7 -0
  193. package/dist/chunk-7S7LQQPX.js +127 -0
  194. package/dist/chunk-7S7LQQPX.js.map +7 -0
  195. package/dist/chunk-7TTNY5FK.js +21 -0
  196. package/dist/chunk-7TTNY5FK.js.map +7 -0
  197. package/dist/chunk-7W73QCTR.js +244 -0
  198. package/dist/chunk-7W73QCTR.js.map +7 -0
  199. package/dist/chunk-7XXLU33Y.js +76 -0
  200. package/dist/chunk-7XXLU33Y.js.map +7 -0
  201. package/dist/chunk-7ZP3KYVO.js +104 -0
  202. package/dist/chunk-7ZP3KYVO.js.map +7 -0
  203. package/dist/chunk-AAO7BQEV.js +258 -0
  204. package/dist/chunk-AAO7BQEV.js.map +7 -0
  205. package/dist/chunk-AH4MLRYT.js +91 -0
  206. package/dist/chunk-AH4MLRYT.js.map +7 -0
  207. package/dist/chunk-AHKR32FH.js +7 -0
  208. package/dist/chunk-AHKR32FH.js.map +7 -0
  209. package/dist/chunk-ALKRFDAW.js +94 -0
  210. package/dist/chunk-ALKRFDAW.js.map +7 -0
  211. package/dist/chunk-AQQGAE7N.js +12 -0
  212. package/dist/chunk-AQQGAE7N.js.map +7 -0
  213. package/dist/chunk-ARGF232V.js +32 -0
  214. package/dist/chunk-ARGF232V.js.map +7 -0
  215. package/dist/chunk-ATCJOK3K.js +24 -0
  216. package/dist/chunk-ATCJOK3K.js.map +7 -0
  217. package/dist/chunk-AUUABFHL.js +124 -0
  218. package/dist/chunk-AUUABFHL.js.map +7 -0
  219. package/dist/chunk-AWW3YUGJ.js +193 -0
  220. package/dist/chunk-AWW3YUGJ.js.map +7 -0
  221. package/dist/chunk-AX7VEEWJ.js +158 -0
  222. package/dist/chunk-AX7VEEWJ.js.map +7 -0
  223. package/dist/chunk-B3NTODO7.js +57 -0
  224. package/dist/chunk-B3NTODO7.js.map +7 -0
  225. package/dist/chunk-BAX7Q6GR.js +55 -0
  226. package/dist/chunk-BAX7Q6GR.js.map +7 -0
  227. package/dist/chunk-BBM6BR3Z.js +28 -0
  228. package/dist/chunk-BBM6BR3Z.js.map +7 -0
  229. package/dist/chunk-BHXZMHSX.js +109 -0
  230. package/dist/chunk-BHXZMHSX.js.map +7 -0
  231. package/dist/chunk-BIUXDLVY.js +62 -0
  232. package/dist/chunk-BIUXDLVY.js.map +7 -0
  233. package/dist/chunk-BM7J2W36.js +86 -0
  234. package/dist/chunk-BM7J2W36.js.map +7 -0
  235. package/dist/chunk-BMFZL2P4.js +97 -0
  236. package/dist/chunk-BMFZL2P4.js.map +7 -0
  237. package/dist/chunk-BQXEXK4H.js +114 -0
  238. package/dist/chunk-BQXEXK4H.js.map +7 -0
  239. package/dist/chunk-BU2CTWBG.js +30 -0
  240. package/dist/chunk-BU2CTWBG.js.map +7 -0
  241. package/dist/chunk-BVKSCLF7.js +195 -0
  242. package/dist/chunk-BVKSCLF7.js.map +7 -0
  243. package/dist/chunk-BWA3D22L.js +88 -0
  244. package/dist/chunk-BWA3D22L.js.map +7 -0
  245. package/dist/chunk-CE24RSPL.js +506 -0
  246. package/dist/chunk-CE24RSPL.js.map +7 -0
  247. package/dist/chunk-CEB5S2Z5.js +127 -0
  248. package/dist/chunk-CEB5S2Z5.js.map +7 -0
  249. package/dist/chunk-CEKNTCJD.js +177 -0
  250. package/dist/chunk-CEKNTCJD.js.map +7 -0
  251. package/dist/chunk-CETZGSCP.js +71 -0
  252. package/dist/chunk-CETZGSCP.js.map +7 -0
  253. package/dist/chunk-CGBWMONK.js +412 -0
  254. package/dist/chunk-CGBWMONK.js.map +7 -0
  255. package/dist/chunk-CGFDIH77.js +94 -0
  256. package/dist/chunk-CGFDIH77.js.map +7 -0
  257. package/dist/chunk-CPLEC5LJ.js +26 -0
  258. package/dist/chunk-CPLEC5LJ.js.map +7 -0
  259. package/dist/chunk-CPNIXMGX.js +127 -0
  260. package/dist/chunk-CPNIXMGX.js.map +7 -0
  261. package/dist/chunk-CSJO73LD.js +84 -0
  262. package/dist/chunk-CSJO73LD.js.map +7 -0
  263. package/dist/chunk-CTKBDSL6.js +81 -0
  264. package/dist/chunk-CTKBDSL6.js.map +7 -0
  265. package/dist/chunk-CY6WHUCW.js +54 -0
  266. package/dist/chunk-CY6WHUCW.js.map +7 -0
  267. package/dist/chunk-D4GYYYMW.js +155 -0
  268. package/dist/chunk-D4GYYYMW.js.map +7 -0
  269. package/dist/chunk-D64CZG54.js +78 -0
  270. package/dist/chunk-D64CZG54.js.map +7 -0
  271. package/dist/chunk-D7Q6Z74D.js +123 -0
  272. package/dist/chunk-D7Q6Z74D.js.map +7 -0
  273. package/dist/chunk-DSGPDHF2.js +737 -0
  274. package/dist/chunk-DSGPDHF2.js.map +7 -0
  275. package/dist/chunk-DZIM4OWK.js +17 -0
  276. package/dist/chunk-DZIM4OWK.js.map +7 -0
  277. package/dist/chunk-E3GC4V5V.js +30 -0
  278. package/dist/chunk-E3GC4V5V.js.map +7 -0
  279. package/dist/chunk-E5HPDHCW.js +34 -0
  280. package/dist/chunk-E5HPDHCW.js.map +7 -0
  281. package/dist/chunk-E75BJJZ2.js +635 -0
  282. package/dist/chunk-E75BJJZ2.js.map +7 -0
  283. package/dist/chunk-EBXHW7ZO.js +108 -0
  284. package/dist/chunk-EBXHW7ZO.js.map +7 -0
  285. package/dist/chunk-EE4DHUUZ.js +472 -0
  286. package/dist/chunk-EE4DHUUZ.js.map +7 -0
  287. package/dist/chunk-EHELTAAD.js +198 -0
  288. package/dist/chunk-EHELTAAD.js.map +7 -0
  289. package/dist/chunk-EKXPSI7Z.js +135 -0
  290. package/dist/chunk-EKXPSI7Z.js.map +7 -0
  291. package/dist/chunk-EO35SCFP.js +7 -0
  292. package/dist/chunk-EO35SCFP.js.map +7 -0
  293. package/dist/chunk-ER2XTD2S.js +271 -0
  294. package/dist/chunk-ER2XTD2S.js.map +7 -0
  295. package/dist/chunk-ERCH75SH.js +292 -0
  296. package/dist/chunk-ERCH75SH.js.map +7 -0
  297. package/dist/chunk-ERXO3674.js +54 -0
  298. package/dist/chunk-ERXO3674.js.map +7 -0
  299. package/dist/chunk-EVFWZGFL.js +235 -0
  300. package/dist/chunk-EVFWZGFL.js.map +7 -0
  301. package/dist/chunk-EVPBRKMZ.js +45 -0
  302. package/dist/chunk-EVPBRKMZ.js.map +7 -0
  303. package/dist/chunk-F43CC2X2.js +49 -0
  304. package/dist/chunk-F43CC2X2.js.map +7 -0
  305. package/dist/chunk-F64TXVJJ.js +158 -0
  306. package/dist/chunk-F64TXVJJ.js.map +7 -0
  307. package/dist/chunk-F6AFJHWV.js +45 -0
  308. package/dist/chunk-F6AFJHWV.js.map +7 -0
  309. package/dist/chunk-F6APWSAA.js +51 -0
  310. package/dist/chunk-F6APWSAA.js.map +7 -0
  311. package/dist/chunk-F7LNS7G3.js +235 -0
  312. package/dist/chunk-F7LNS7G3.js.map +7 -0
  313. package/dist/chunk-FCNWR7ZX.js +16352 -0
  314. package/dist/chunk-FCNWR7ZX.js.map +7 -0
  315. package/dist/chunk-FFCG5NRU.js +87 -0
  316. package/dist/chunk-FFCG5NRU.js.map +7 -0
  317. package/dist/chunk-FG4NVFKM.js +455 -0
  318. package/dist/chunk-FG4NVFKM.js.map +7 -0
  319. package/dist/chunk-FHNEN6IR.js +14 -0
  320. package/dist/chunk-FHNEN6IR.js.map +7 -0
  321. package/dist/chunk-FJFC6CRR.js +446 -0
  322. package/dist/chunk-FJFC6CRR.js.map +7 -0
  323. package/dist/chunk-FK6RGYBB.js +46 -0
  324. package/dist/chunk-FK6RGYBB.js.map +7 -0
  325. package/dist/chunk-FMY6KXK6.js +251 -0
  326. package/dist/chunk-FMY6KXK6.js.map +7 -0
  327. package/dist/chunk-FPH56SCM.js +21 -0
  328. package/dist/chunk-FPH56SCM.js.map +7 -0
  329. package/dist/chunk-FQ4R7IOX.js +32 -0
  330. package/dist/chunk-FQ4R7IOX.js.map +7 -0
  331. package/dist/chunk-FQPYAPJJ.js +124 -0
  332. package/dist/chunk-FQPYAPJJ.js.map +7 -0
  333. package/dist/chunk-FQTLJO4W.js +335 -0
  334. package/dist/chunk-FQTLJO4W.js.map +7 -0
  335. package/dist/chunk-FVLJSB2W.js +124 -0
  336. package/dist/chunk-FVLJSB2W.js.map +7 -0
  337. package/dist/chunk-FVSH4Z6T.js +173 -0
  338. package/dist/chunk-FVSH4Z6T.js.map +7 -0
  339. package/dist/chunk-FVWBLEAD.js +44 -0
  340. package/dist/chunk-FVWBLEAD.js.map +7 -0
  341. package/dist/chunk-FYRKBNTI.js +18 -0
  342. package/dist/chunk-FYRKBNTI.js.map +7 -0
  343. package/dist/chunk-FYSARMGS.js +93 -0
  344. package/dist/chunk-FYSARMGS.js.map +7 -0
  345. package/dist/chunk-FZJOJ6P4.js +28 -0
  346. package/dist/chunk-FZJOJ6P4.js.map +7 -0
  347. package/dist/chunk-G46GHNDU.js +4890 -0
  348. package/dist/chunk-G46GHNDU.js.map +7 -0
  349. package/dist/chunk-G4TIS2SC.js +56 -0
  350. package/dist/chunk-G4TIS2SC.js.map +7 -0
  351. package/dist/chunk-GD6L3SLC.js +30 -0
  352. package/dist/chunk-GD6L3SLC.js.map +7 -0
  353. package/dist/chunk-GGWS7NQP.js +247 -0
  354. package/dist/chunk-GGWS7NQP.js.map +7 -0
  355. package/dist/chunk-GI2ZANRY.js +24 -0
  356. package/dist/chunk-GI2ZANRY.js.map +7 -0
  357. package/dist/chunk-GK3XVKXT.js +737 -0
  358. package/dist/chunk-GK3XVKXT.js.map +7 -0
  359. package/dist/chunk-GKOWCDQV.js +699 -0
  360. package/dist/chunk-GKOWCDQV.js.map +7 -0
  361. package/dist/chunk-GLLRCKKE.js +26 -0
  362. package/dist/chunk-GLLRCKKE.js.map +7 -0
  363. package/dist/chunk-GNYG6I36.js +175 -0
  364. package/dist/chunk-GNYG6I36.js.map +7 -0
  365. package/dist/chunk-GRBJYAYF.js +129 -0
  366. package/dist/chunk-GRBJYAYF.js.map +7 -0
  367. package/dist/chunk-GVYGUH2V.js +7 -0
  368. package/dist/chunk-GVYGUH2V.js.map +7 -0
  369. package/dist/chunk-GXDQGBA2.js +106 -0
  370. package/dist/chunk-GXDQGBA2.js.map +7 -0
  371. package/dist/chunk-GZAGAWSU.js +28 -0
  372. package/dist/chunk-GZAGAWSU.js.map +7 -0
  373. package/dist/chunk-H23E72SB.js +163 -0
  374. package/dist/chunk-H23E72SB.js.map +7 -0
  375. package/dist/chunk-H2HY73I6.js +122 -0
  376. package/dist/chunk-H2HY73I6.js.map +7 -0
  377. package/dist/chunk-H5MLA6PA.js +29 -0
  378. package/dist/chunk-H5MLA6PA.js.map +7 -0
  379. package/dist/chunk-H6YVV7GE.js +22 -0
  380. package/dist/chunk-H6YVV7GE.js.map +7 -0
  381. package/dist/chunk-H7KAUMBC.js +635 -0
  382. package/dist/chunk-H7KAUMBC.js.map +7 -0
  383. package/dist/chunk-HDPICD3P.js +4890 -0
  384. package/dist/chunk-HDPICD3P.js.map +7 -0
  385. package/dist/chunk-HGHU3TVL.js +174 -0
  386. package/dist/chunk-HGHU3TVL.js.map +7 -0
  387. package/dist/chunk-HJ5E2JRL.js +88 -0
  388. package/dist/chunk-HJ5E2JRL.js.map +7 -0
  389. package/dist/chunk-HJW3CKZL.js +94 -0
  390. package/dist/chunk-HJW3CKZL.js.map +7 -0
  391. package/dist/chunk-HKF5EBER.js +418 -0
  392. package/dist/chunk-HKF5EBER.js.map +7 -0
  393. package/dist/chunk-HLUR35G5.js +30 -0
  394. package/dist/chunk-HLUR35G5.js.map +7 -0
  395. package/dist/chunk-HNIW2NZU.js +120 -0
  396. package/dist/chunk-HNIW2NZU.js.map +7 -0
  397. package/dist/chunk-HP5HMWOM.js +123 -0
  398. package/dist/chunk-HP5HMWOM.js.map +7 -0
  399. package/dist/chunk-HQSHS6IB.js +88 -0
  400. package/dist/chunk-HQSHS6IB.js.map +7 -0
  401. package/dist/chunk-HSXRCP25.js +171 -0
  402. package/dist/chunk-HSXRCP25.js.map +7 -0
  403. package/dist/chunk-HTV3R73W.js +51 -0
  404. package/dist/chunk-HTV3R73W.js.map +7 -0
  405. package/dist/chunk-I26OPZLO.js +28 -0
  406. package/dist/chunk-I26OPZLO.js.map +7 -0
  407. package/dist/chunk-I7JJQ4BQ.js +30 -0
  408. package/dist/chunk-I7JJQ4BQ.js.map +7 -0
  409. package/dist/chunk-IJ6Y4W7F.js +392 -0
  410. package/dist/chunk-IJ6Y4W7F.js.map +7 -0
  411. package/dist/chunk-IJCMYMZB.js +239 -0
  412. package/dist/chunk-IJCMYMZB.js.map +7 -0
  413. package/dist/chunk-IJH4NOQ4.js +18 -0
  414. package/dist/chunk-IJH4NOQ4.js.map +7 -0
  415. package/dist/chunk-IMHRZQRH.js +76 -0
  416. package/dist/chunk-IMHRZQRH.js.map +7 -0
  417. package/dist/chunk-INNENDEE.js +472 -0
  418. package/dist/chunk-INNENDEE.js.map +7 -0
  419. package/dist/chunk-IOTLSMEQ.js +177 -0
  420. package/dist/chunk-IOTLSMEQ.js.map +7 -0
  421. package/dist/chunk-IQYYEHSM.js +300 -0
  422. package/dist/chunk-IQYYEHSM.js.map +7 -0
  423. package/dist/chunk-IRA5NJ4Q.js +21 -0
  424. package/dist/chunk-IRA5NJ4Q.js.map +7 -0
  425. package/dist/chunk-IU7EXXK7.js +1662 -0
  426. package/dist/chunk-IU7EXXK7.js.map +7 -0
  427. package/dist/chunk-IUXAKDAY.js +102 -0
  428. package/dist/chunk-IUXAKDAY.js.map +7 -0
  429. package/dist/chunk-JB6ZQEVR.js +465 -0
  430. package/dist/chunk-JB6ZQEVR.js.map +7 -0
  431. package/dist/chunk-JCWNMWNY.js +102 -0
  432. package/dist/chunk-JCWNMWNY.js.map +7 -0
  433. package/dist/chunk-JGIZPU2Y.js +39 -0
  434. package/dist/chunk-JGIZPU2Y.js.map +7 -0
  435. package/dist/chunk-JIU4FXA7.js +485 -0
  436. package/dist/chunk-JIU4FXA7.js.map +7 -0
  437. package/dist/chunk-JMYIFYY5.js +233 -0
  438. package/dist/chunk-JMYIFYY5.js.map +7 -0
  439. package/dist/chunk-JSZBX2TA.js +5853 -0
  440. package/dist/chunk-JSZBX2TA.js.map +7 -0
  441. package/dist/chunk-JU2Y33DB.js +60 -0
  442. package/dist/chunk-JU2Y33DB.js.map +7 -0
  443. package/dist/chunk-JVLRI4RU.js +62 -0
  444. package/dist/chunk-JVLRI4RU.js.map +7 -0
  445. package/dist/chunk-JZ3AVNZC.js +44117 -0
  446. package/dist/chunk-JZ3AVNZC.js.map +7 -0
  447. package/dist/chunk-K3HEWOHN.js +30 -0
  448. package/dist/chunk-K3HEWOHN.js.map +7 -0
  449. package/dist/chunk-K5EK4WZV.js +7 -0
  450. package/dist/chunk-K5EK4WZV.js.map +7 -0
  451. package/dist/chunk-KAWXMSYC.js +58 -0
  452. package/dist/chunk-KAWXMSYC.js.map +7 -0
  453. package/dist/chunk-KEGPHS4C.js +80 -0
  454. package/dist/chunk-KEGPHS4C.js.map +7 -0
  455. package/dist/chunk-KHFWQ334.js +138 -0
  456. package/dist/chunk-KHFWQ334.js.map +7 -0
  457. package/dist/chunk-KJW6JLM6.js +95 -0
  458. package/dist/chunk-KJW6JLM6.js.map +7 -0
  459. package/dist/chunk-KSEANSJE.js +40 -0
  460. package/dist/chunk-KSEANSJE.js.map +7 -0
  461. package/dist/chunk-KVU54E6W.js +63 -0
  462. package/dist/chunk-KVU54E6W.js.map +7 -0
  463. package/dist/chunk-KXXVR3DC.js +244 -0
  464. package/dist/chunk-KXXVR3DC.js.map +7 -0
  465. package/dist/chunk-L5OUVMHK.js +174 -0
  466. package/dist/chunk-L5OUVMHK.js.map +7 -0
  467. package/dist/chunk-L5T6XUDP.js +412 -0
  468. package/dist/chunk-L5T6XUDP.js.map +7 -0
  469. package/dist/chunk-LIFXTQ4U.js +7287 -0
  470. package/dist/chunk-LIFXTQ4U.js.map +7 -0
  471. package/dist/chunk-LIVQ7GIO.js +86 -0
  472. package/dist/chunk-LIVQ7GIO.js.map +7 -0
  473. package/dist/chunk-LMD5UTKM.js +169 -0
  474. package/dist/chunk-LMD5UTKM.js.map +7 -0
  475. package/dist/chunk-LO4F6E3N.js +163 -0
  476. package/dist/chunk-LO4F6E3N.js.map +7 -0
  477. package/dist/chunk-LSVKDUNM.js +151 -0
  478. package/dist/chunk-LSVKDUNM.js.map +7 -0
  479. package/dist/chunk-LTXNC6JX.js +27 -0
  480. package/dist/chunk-LTXNC6JX.js.map +7 -0
  481. package/dist/chunk-LUGTGPT6.js +138 -0
  482. package/dist/chunk-LUGTGPT6.js.map +7 -0
  483. package/dist/chunk-LVMK2GPM.js +18 -0
  484. package/dist/chunk-LVMK2GPM.js.map +7 -0
  485. package/dist/chunk-LXVPETLK.js +1405 -0
  486. package/dist/chunk-LXVPETLK.js.map +7 -0
  487. package/dist/chunk-LZNW24OB.js +78 -0
  488. package/dist/chunk-LZNW24OB.js.map +7 -0
  489. package/dist/chunk-LZQFDJNW.js +300 -0
  490. package/dist/chunk-LZQFDJNW.js.map +7 -0
  491. package/dist/chunk-M4VQPIF4.js +5853 -0
  492. package/dist/chunk-M4VQPIF4.js.map +7 -0
  493. package/dist/chunk-M64QE4QC.js +64 -0
  494. package/dist/chunk-M64QE4QC.js.map +7 -0
  495. package/dist/chunk-MAF6PSCJ.js +44 -0
  496. package/dist/chunk-MAF6PSCJ.js.map +7 -0
  497. package/dist/chunk-MBIX6Z7U.js +80 -0
  498. package/dist/chunk-MBIX6Z7U.js.map +7 -0
  499. package/dist/chunk-MDLLXMC3.js +183 -0
  500. package/dist/chunk-MDLLXMC3.js.map +7 -0
  501. package/dist/chunk-MEI5HTWV.js +127 -0
  502. package/dist/chunk-MEI5HTWV.js.map +7 -0
  503. package/dist/chunk-MH74AJ3A.js +82 -0
  504. package/dist/chunk-MH74AJ3A.js.map +7 -0
  505. package/dist/chunk-MIFIM4PI.js +163 -0
  506. package/dist/chunk-MIFIM4PI.js.map +7 -0
  507. package/dist/chunk-MISZB5QJ.js +22 -0
  508. package/dist/chunk-MISZB5QJ.js.map +7 -0
  509. package/dist/chunk-MJ27XQYG.js +125 -0
  510. package/dist/chunk-MJ27XQYG.js.map +7 -0
  511. package/dist/chunk-MJ2GW6SU.js +163 -0
  512. package/dist/chunk-MJ2GW6SU.js.map +7 -0
  513. package/dist/chunk-MLQY5SKR.js +52 -0
  514. package/dist/chunk-MLQY5SKR.js.map +7 -0
  515. package/dist/chunk-MTMHGC3G.js +39 -0
  516. package/dist/chunk-MTMHGC3G.js.map +7 -0
  517. package/dist/chunk-MWBAW3YV.js +244 -0
  518. package/dist/chunk-MWBAW3YV.js.map +7 -0
  519. package/dist/chunk-MYSK3SIM.js +55 -0
  520. package/dist/chunk-MYSK3SIM.js.map +7 -0
  521. package/dist/chunk-MZGGB2YT.js +50 -0
  522. package/dist/chunk-MZGGB2YT.js.map +7 -0
  523. package/dist/chunk-N46MIZXB.js +154 -0
  524. package/dist/chunk-N46MIZXB.js.map +7 -0
  525. package/dist/chunk-N53537P6.js +31 -0
  526. package/dist/chunk-N53537P6.js.map +7 -0
  527. package/dist/chunk-N5CTFOLX.js +40 -0
  528. package/dist/chunk-N5CTFOLX.js.map +7 -0
  529. package/dist/chunk-N5SNGZJV.js +217 -0
  530. package/dist/chunk-N5SNGZJV.js.map +7 -0
  531. package/dist/chunk-NGCTBYQ3.js +181 -0
  532. package/dist/chunk-NGCTBYQ3.js.map +7 -0
  533. package/dist/chunk-NIFG55CE.js +52 -0
  534. package/dist/chunk-NIFG55CE.js.map +7 -0
  535. package/dist/chunk-NJ63ALPX.js +7 -0
  536. package/dist/chunk-NJ63ALPX.js.map +7 -0
  537. package/dist/chunk-NMUX7SGU.js +676 -0
  538. package/dist/chunk-NMUX7SGU.js.map +7 -0
  539. package/dist/chunk-NO7GMLNU.js +292 -0
  540. package/dist/chunk-NO7GMLNU.js.map +7 -0
  541. package/dist/chunk-NTOGVX2Y.js +92 -0
  542. package/dist/chunk-NTOGVX2Y.js.map +7 -0
  543. package/dist/chunk-NZVHE4IT.js +3101 -0
  544. package/dist/chunk-NZVHE4IT.js.map +7 -0
  545. package/dist/chunk-O5IVKDX7.js +30 -0
  546. package/dist/chunk-O5IVKDX7.js.map +7 -0
  547. package/dist/chunk-O7ORICEC.js +82 -0
  548. package/dist/chunk-O7ORICEC.js.map +7 -0
  549. package/dist/chunk-OBMBAM3N.js +73 -0
  550. package/dist/chunk-OBMBAM3N.js.map +7 -0
  551. package/dist/chunk-OFWMLQMU.js +7287 -0
  552. package/dist/chunk-OFWMLQMU.js.map +7 -0
  553. package/dist/chunk-OJ3ZUKBI.js +73 -0
  554. package/dist/chunk-OJ3ZUKBI.js.map +7 -0
  555. package/dist/chunk-OJJBD5K3.js +45 -0
  556. package/dist/chunk-OJJBD5K3.js.map +7 -0
  557. package/dist/chunk-OJTHE4B7.js +50 -0
  558. package/dist/chunk-OJTHE4B7.js.map +7 -0
  559. package/dist/chunk-OKDOVX4B.js +699 -0
  560. package/dist/chunk-OKDOVX4B.js.map +7 -0
  561. package/dist/chunk-OOYPYBTA.js +446 -0
  562. package/dist/chunk-OOYPYBTA.js.map +7 -0
  563. package/dist/chunk-OQP4W4AR.js +105 -0
  564. package/dist/chunk-OQP4W4AR.js.map +7 -0
  565. package/dist/chunk-OVMDMCZ5.js +241 -0
  566. package/dist/chunk-OVMDMCZ5.js.map +7 -0
  567. package/dist/chunk-OVTT2EKA.js +516 -0
  568. package/dist/chunk-OVTT2EKA.js.map +7 -0
  569. package/dist/chunk-OVU43GJK.js +63 -0
  570. package/dist/chunk-OVU43GJK.js.map +7 -0
  571. package/dist/chunk-P3TMARA6.js +18 -0
  572. package/dist/chunk-P3TMARA6.js.map +7 -0
  573. package/dist/chunk-P5N63LBS.js +94 -0
  574. package/dist/chunk-P5N63LBS.js.map +7 -0
  575. package/dist/chunk-PARITZ7F.js +28 -0
  576. package/dist/chunk-PARITZ7F.js.map +7 -0
  577. package/dist/chunk-PBQK4KY4.js +195 -0
  578. package/dist/chunk-PBQK4KY4.js.map +7 -0
  579. package/dist/chunk-PLMOTQ42.js +335 -0
  580. package/dist/chunk-PLMOTQ42.js.map +7 -0
  581. package/dist/chunk-PSL2AHIA.js +27 -0
  582. package/dist/chunk-PSL2AHIA.js.map +7 -0
  583. package/dist/chunk-Q5QT7JBM.js +92 -0
  584. package/dist/chunk-Q5QT7JBM.js.map +7 -0
  585. package/dist/chunk-Q6H5OV2R.js +180 -0
  586. package/dist/chunk-Q6H5OV2R.js.map +7 -0
  587. package/dist/chunk-Q7WA5DCR.js +62 -0
  588. package/dist/chunk-Q7WA5DCR.js.map +7 -0
  589. package/dist/chunk-QAR5POXD.js +472 -0
  590. package/dist/chunk-QAR5POXD.js.map +7 -0
  591. package/dist/chunk-QATEENP2.js +7 -0
  592. package/dist/chunk-QATEENP2.js.map +7 -0
  593. package/dist/chunk-QDT24CIA.js +485 -0
  594. package/dist/chunk-QDT24CIA.js.map +7 -0
  595. package/dist/chunk-QI3NB7D5.js +455 -0
  596. package/dist/chunk-QI3NB7D5.js.map +7 -0
  597. package/dist/chunk-QIDAVXSX.js +106 -0
  598. package/dist/chunk-QIDAVXSX.js.map +7 -0
  599. package/dist/chunk-QKIGQVP2.js +104 -0
  600. package/dist/chunk-QKIGQVP2.js.map +7 -0
  601. package/dist/chunk-QNJENPK2.js +81 -0
  602. package/dist/chunk-QNJENPK2.js.map +7 -0
  603. package/dist/chunk-R5S76YR5.js +12 -0
  604. package/dist/chunk-R5S76YR5.js.map +7 -0
  605. package/dist/chunk-R7ZBOXPS.js +163 -0
  606. package/dist/chunk-R7ZBOXPS.js.map +7 -0
  607. package/dist/chunk-RAL3KX76.js +239 -0
  608. package/dist/chunk-RAL3KX76.js.map +7 -0
  609. package/dist/chunk-REVXXWAS.js +31 -0
  610. package/dist/chunk-REVXXWAS.js.map +7 -0
  611. package/dist/chunk-RFH4HRZP.js +94 -0
  612. package/dist/chunk-RFH4HRZP.js.map +7 -0
  613. package/dist/chunk-RHITG64O.js +50 -0
  614. package/dist/chunk-RHITG64O.js.map +7 -0
  615. package/dist/chunk-RK5HZFP6.js +111 -0
  616. package/dist/chunk-RK5HZFP6.js.map +7 -0
  617. package/dist/chunk-RNGAGYCL.js +49 -0
  618. package/dist/chunk-RNGAGYCL.js.map +7 -0
  619. package/dist/chunk-RPCVN3JA.js +261 -0
  620. package/dist/chunk-RPCVN3JA.js.map +7 -0
  621. package/dist/chunk-RQ26XXFS.js +45 -0
  622. package/dist/chunk-RQ26XXFS.js.map +7 -0
  623. package/dist/chunk-RQQE5DDT.js +193 -0
  624. package/dist/chunk-RQQE5DDT.js.map +7 -0
  625. package/dist/chunk-RSA7PKZH.js +187 -0
  626. package/dist/chunk-RSA7PKZH.js.map +7 -0
  627. package/dist/chunk-RTSINQ4T.js +78 -0
  628. package/dist/chunk-RTSINQ4T.js.map +7 -0
  629. package/dist/chunk-RVOD3ESA.js +38 -0
  630. package/dist/chunk-RVOD3ESA.js.map +7 -0
  631. package/dist/chunk-SAOUP24A.js +70 -0
  632. package/dist/chunk-SAOUP24A.js.map +7 -0
  633. package/dist/chunk-SFZL2TCV.js +55 -0
  634. package/dist/chunk-SFZL2TCV.js.map +7 -0
  635. package/dist/chunk-SH6Y4CGQ.js +175 -0
  636. package/dist/chunk-SH6Y4CGQ.js.map +7 -0
  637. package/dist/chunk-SHBAAFFH.js +74 -0
  638. package/dist/chunk-SHBAAFFH.js.map +7 -0
  639. package/dist/chunk-SJPFUXBV.js +45 -0
  640. package/dist/chunk-SJPFUXBV.js.map +7 -0
  641. package/dist/chunk-SLIUQWAR.js +58 -0
  642. package/dist/chunk-SLIUQWAR.js.map +7 -0
  643. package/dist/chunk-SPNSM6SB.js +36 -0
  644. package/dist/chunk-SPNSM6SB.js.map +7 -0
  645. package/dist/chunk-SQUHLLK5.js +125 -0
  646. package/dist/chunk-SQUHLLK5.js.map +7 -0
  647. package/dist/chunk-SSEX66OL.js +39 -0
  648. package/dist/chunk-SSEX66OL.js.map +7 -0
  649. package/dist/chunk-SWWK35VQ.js +84 -0
  650. package/dist/chunk-SWWK35VQ.js.map +7 -0
  651. package/dist/chunk-SX2LOHOX.js +251 -0
  652. package/dist/chunk-SX2LOHOX.js.map +7 -0
  653. package/dist/chunk-T72EMFTX.js +74 -0
  654. package/dist/chunk-T72EMFTX.js.map +7 -0
  655. package/dist/chunk-TA2QJPPG.js +169 -0
  656. package/dist/chunk-TA2QJPPG.js.map +7 -0
  657. package/dist/chunk-TC5ZVFV6.js +292 -0
  658. package/dist/chunk-TC5ZVFV6.js.map +7 -0
  659. package/dist/chunk-TFD7ZIYD.js +105 -0
  660. package/dist/chunk-TFD7ZIYD.js.map +7 -0
  661. package/dist/chunk-TFEETDNY.js +78 -0
  662. package/dist/chunk-TFEETDNY.js.map +7 -0
  663. package/dist/chunk-TH6ONRWT.js +516 -0
  664. package/dist/chunk-TH6ONRWT.js.map +7 -0
  665. package/dist/chunk-THM2QV25.js +108 -0
  666. package/dist/chunk-THM2QV25.js.map +7 -0
  667. package/dist/chunk-TMQMQ67T.js +81 -0
  668. package/dist/chunk-TMQMQ67T.js.map +7 -0
  669. package/dist/chunk-TPYWUZOR.js +178 -0
  670. package/dist/chunk-TPYWUZOR.js.map +7 -0
  671. package/dist/chunk-TRWT2N6Z.js +15 -0
  672. package/dist/chunk-TRWT2N6Z.js.map +7 -0
  673. package/dist/chunk-TTXEM54Y.js +76 -0
  674. package/dist/chunk-TTXEM54Y.js.map +7 -0
  675. package/dist/chunk-U2O4LE6S.js +22 -0
  676. package/dist/chunk-U2O4LE6S.js.map +7 -0
  677. package/dist/chunk-U44IVNP2.js +91 -0
  678. package/dist/chunk-U44IVNP2.js.map +7 -0
  679. package/dist/chunk-U4LVIY5F.js +1405 -0
  680. package/dist/chunk-U4LVIY5F.js.map +7 -0
  681. package/dist/chunk-U767LCSG.js +78 -0
  682. package/dist/chunk-U767LCSG.js.map +7 -0
  683. package/dist/chunk-U7GKLHU6.js +120 -0
  684. package/dist/chunk-U7GKLHU6.js.map +7 -0
  685. package/dist/chunk-UAB5P5QO.js +60 -0
  686. package/dist/chunk-UAB5P5QO.js.map +7 -0
  687. package/dist/chunk-UDDWLWKZ.js +82 -0
  688. package/dist/chunk-UDDWLWKZ.js.map +7 -0
  689. package/dist/chunk-UEHPJQBL.js +38 -0
  690. package/dist/chunk-UEHPJQBL.js.map +7 -0
  691. package/dist/chunk-UIBV6IGR.js +31 -0
  692. package/dist/chunk-UIBV6IGR.js.map +7 -0
  693. package/dist/chunk-UIYFRUET.js +16352 -0
  694. package/dist/chunk-UIYFRUET.js.map +7 -0
  695. package/dist/chunk-UJS3TIVS.js +52 -0
  696. package/dist/chunk-UJS3TIVS.js.map +7 -0
  697. package/dist/chunk-UMMPB6FL.js +506 -0
  698. package/dist/chunk-UMMPB6FL.js.map +7 -0
  699. package/dist/chunk-UP42ACP7.js +27 -0
  700. package/dist/chunk-UP42ACP7.js.map +7 -0
  701. package/dist/chunk-UPEF7ETP.js +92 -0
  702. package/dist/chunk-UPEF7ETP.js.map +7 -0
  703. package/dist/chunk-UU5PSBSI.js +176 -0
  704. package/dist/chunk-UU5PSBSI.js.map +7 -0
  705. package/dist/chunk-UV63XYFU.js +173 -0
  706. package/dist/chunk-UV63XYFU.js.map +7 -0
  707. package/dist/chunk-UWPHOAOC.js +29 -0
  708. package/dist/chunk-UWPHOAOC.js.map +7 -0
  709. package/dist/chunk-UXDDOSJC.js +52 -0
  710. package/dist/chunk-UXDDOSJC.js.map +7 -0
  711. package/dist/chunk-V3VAOMCO.js +465 -0
  712. package/dist/chunk-V3VAOMCO.js.map +7 -0
  713. package/dist/chunk-VA7ENH2S.js +38 -0
  714. package/dist/chunk-VA7ENH2S.js.map +7 -0
  715. package/dist/chunk-VBDLTKI2.js +130 -0
  716. package/dist/chunk-VBDLTKI2.js.map +7 -0
  717. package/dist/chunk-VCWIKEJ7.js +7 -0
  718. package/dist/chunk-VCWIKEJ7.js.map +7 -0
  719. package/dist/chunk-VFPDFLVE.js +516 -0
  720. package/dist/chunk-VFPDFLVE.js.map +7 -0
  721. package/dist/chunk-VHG4FNIJ.js +93 -0
  722. package/dist/chunk-VHG4FNIJ.js.map +7 -0
  723. package/dist/chunk-VKOO6MIZ.js +51 -0
  724. package/dist/chunk-VKOO6MIZ.js.map +7 -0
  725. package/dist/chunk-VKXKRZG7.js +62 -0
  726. package/dist/chunk-VKXKRZG7.js.map +7 -0
  727. package/dist/chunk-VPQICZQR.js +93 -0
  728. package/dist/chunk-VPQICZQR.js.map +7 -0
  729. package/dist/chunk-VRBJNFPL.js +114 -0
  730. package/dist/chunk-VRBJNFPL.js.map +7 -0
  731. package/dist/chunk-VUOLPEUZ.js +7 -0
  732. package/dist/chunk-VUOLPEUZ.js.map +7 -0
  733. package/dist/chunk-VUU5KFH3.js +38 -0
  734. package/dist/chunk-VUU5KFH3.js.map +7 -0
  735. package/dist/chunk-VVBL5CFF.js +7 -0
  736. package/dist/chunk-VVBL5CFF.js.map +7 -0
  737. package/dist/chunk-VYZEQ6KY.js +22 -0
  738. package/dist/chunk-VYZEQ6KY.js.map +7 -0
  739. package/dist/chunk-W6SOBS7M.js +138 -0
  740. package/dist/chunk-W6SOBS7M.js.map +7 -0
  741. package/dist/chunk-WBPQVWSU.js +198 -0
  742. package/dist/chunk-WBPQVWSU.js.map +7 -0
  743. package/dist/chunk-WDOKKRTE.js +7 -0
  744. package/dist/chunk-WDOKKRTE.js.map +7 -0
  745. package/dist/chunk-WGXXKFN5.js +7 -0
  746. package/dist/chunk-WGXXKFN5.js.map +7 -0
  747. package/dist/chunk-WHPUUP3J.js +25 -0
  748. package/dist/chunk-WHPUUP3J.js.map +7 -0
  749. package/dist/chunk-WS6HWBKT.js +30 -0
  750. package/dist/chunk-WS6HWBKT.js.map +7 -0
  751. package/dist/chunk-XF7LD6VV.js +122 -0
  752. package/dist/chunk-XF7LD6VV.js.map +7 -0
  753. package/dist/chunk-XFTXM3RE.js +64 -0
  754. package/dist/chunk-XFTXM3RE.js.map +7 -0
  755. package/dist/chunk-XJABPO2T.js +235 -0
  756. package/dist/chunk-XJABPO2T.js.map +7 -0
  757. package/dist/chunk-XK6VF3H7.js +3586 -0
  758. package/dist/chunk-XK6VF3H7.js.map +7 -0
  759. package/dist/chunk-XOZPOHLG.js +233 -0
  760. package/dist/chunk-XOZPOHLG.js.map +7 -0
  761. package/dist/chunk-XQYIIPOJ.js +266 -0
  762. package/dist/chunk-XQYIIPOJ.js.map +7 -0
  763. package/dist/chunk-XR7DPSNX.js +195 -0
  764. package/dist/chunk-XR7DPSNX.js.map +7 -0
  765. package/dist/chunk-XYH4JC3U.js +7 -0
  766. package/dist/chunk-XYH4JC3U.js.map +7 -0
  767. package/dist/chunk-XZSAN55E.js +58 -0
  768. package/dist/chunk-XZSAN55E.js.map +7 -0
  769. package/dist/chunk-Y3KJR4OG.js +64 -0
  770. package/dist/chunk-Y3KJR4OG.js.map +7 -0
  771. package/dist/chunk-Y4JKH7FF.js +45 -0
  772. package/dist/chunk-Y4JKH7FF.js.map +7 -0
  773. package/dist/chunk-Y6CJN4ID.js +31 -0
  774. package/dist/chunk-Y6CJN4ID.js.map +7 -0
  775. package/dist/chunk-YABGJU5M.js +271 -0
  776. package/dist/chunk-YABGJU5M.js.map +7 -0
  777. package/dist/chunk-YB5UCHLN.js +314 -0
  778. package/dist/chunk-YB5UCHLN.js.map +7 -0
  779. package/dist/chunk-YEJH7ZC2.js +34 -0
  780. package/dist/chunk-YEJH7ZC2.js.map +7 -0
  781. package/dist/chunk-YF5DYD3X.js +97 -0
  782. package/dist/chunk-YF5DYD3X.js.map +7 -0
  783. package/dist/chunk-YFTE4H54.js +44117 -0
  784. package/dist/chunk-YFTE4H54.js.map +7 -0
  785. package/dist/chunk-YGVQZCE7.js +30 -0
  786. package/dist/chunk-YGVQZCE7.js.map +7 -0
  787. package/dist/chunk-YNHADHHS.js +138 -0
  788. package/dist/chunk-YNHADHHS.js.map +7 -0
  789. package/dist/chunk-YNJYMD43.js +392 -0
  790. package/dist/chunk-YNJYMD43.js.map +7 -0
  791. package/dist/chunk-YNYEQGVN.js +251 -0
  792. package/dist/chunk-YNYEQGVN.js.map +7 -0
  793. package/dist/chunk-YOAMBAM2.js +70 -0
  794. package/dist/chunk-YOAMBAM2.js.map +7 -0
  795. package/dist/chunk-YUPBD27Z.js +70 -0
  796. package/dist/chunk-YUPBD27Z.js.map +7 -0
  797. package/dist/chunk-YWE5AQPZ.js +258 -0
  798. package/dist/chunk-YWE5AQPZ.js.map +7 -0
  799. package/dist/chunk-YWHH3MB6.js +1405 -0
  800. package/dist/chunk-YWHH3MB6.js.map +7 -0
  801. package/dist/chunk-YXJ52FD5.js +271 -0
  802. package/dist/chunk-YXJ52FD5.js.map +7 -0
  803. package/dist/chunk-YZ6F5N7R.js +455 -0
  804. package/dist/chunk-YZ6F5N7R.js.map +7 -0
  805. package/dist/chunk-YZGORRQN.js +3101 -0
  806. package/dist/chunk-YZGORRQN.js.map +7 -0
  807. package/dist/chunk-Z6IVJ6ZW.js +30 -0
  808. package/dist/chunk-Z6IVJ6ZW.js.map +7 -0
  809. package/dist/chunk-ZFC44XJJ.js +86 -0
  810. package/dist/chunk-ZFC44XJJ.js.map +7 -0
  811. package/dist/chunk-ZFGRQIB6.js +38 -0
  812. package/dist/chunk-ZFGRQIB6.js.map +7 -0
  813. package/dist/chunk-ZGAUVPAB.js +14 -0
  814. package/dist/chunk-ZGAUVPAB.js.map +7 -0
  815. package/dist/chunk-ZGCATLM5.js +18 -0
  816. package/dist/chunk-ZGCATLM5.js.map +7 -0
  817. package/dist/chunk-ZJDJC5TP.js +82 -0
  818. package/dist/chunk-ZJDJC5TP.js.map +7 -0
  819. package/dist/chunk-ZJGZNPDK.js +171 -0
  820. package/dist/chunk-ZJGZNPDK.js.map +7 -0
  821. package/dist/chunk-ZJHBJWZX.js +699 -0
  822. package/dist/chunk-ZJHBJWZX.js.map +7 -0
  823. package/dist/chunk-ZNOTD65D.js +95 -0
  824. package/dist/chunk-ZNOTD65D.js.map +7 -0
  825. package/dist/chunk-ZQ2QIFXW.js +122 -0
  826. package/dist/chunk-ZQ2QIFXW.js.map +7 -0
  827. package/dist/chunk-ZRMXPQGY.js +241 -0
  828. package/dist/chunk-ZRMXPQGY.js.map +7 -0
  829. package/dist/chunk-ZSOPE7DO.js +92 -0
  830. package/dist/chunk-ZSOPE7DO.js.map +7 -0
  831. package/dist/chunk-ZVEE5IDC.js +3101 -0
  832. package/dist/chunk-ZVEE5IDC.js.map +7 -0
  833. package/dist/chunk-ZY247PXY.js +135 -0
  834. package/dist/chunk-ZY247PXY.js.map +7 -0
  835. package/dist/cli-metadata.js +12 -0
  836. package/dist/cli-metadata.js.map +7 -0
  837. package/dist/contract-api.js +104 -0
  838. package/dist/contract-api.js.map +7 -0
  839. package/dist/dist-DVBXHDB4.js +549 -0
  840. package/dist/dist-DVBXHDB4.js.map +7 -0
  841. package/dist/dist-F3K7S5SS.js +549 -0
  842. package/dist/dist-F3K7S5SS.js.map +7 -0
  843. package/dist/helper-api.js +51 -0
  844. package/dist/helper-api.js.map +7 -0
  845. package/dist/index.js +70 -0
  846. package/dist/index.js.map +7 -0
  847. package/dist/magic-string.es-ITIPPYGW.js +1315 -0
  848. package/dist/magic-string.es-ITIPPYGW.js.map +7 -0
  849. package/dist/magic-string.es-V5NOGTUV.js +1315 -0
  850. package/dist/magic-string.es-V5NOGTUV.js.map +7 -0
  851. package/dist/openclaw.plugin.json +23 -0
  852. package/dist/package.json +59 -0
  853. package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js +20 -0
  854. package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js.map +7 -0
  855. package/dist/plugin-entry.handlers.runtime-POD4CSHM.js +20 -0
  856. package/dist/plugin-entry.handlers.runtime-POD4CSHM.js.map +7 -0
  857. package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js +20 -0
  858. package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js.map +7 -0
  859. package/dist/runtime-api.js +104 -0
  860. package/dist/runtime-api.js.map +7 -0
  861. package/dist/rust-crypto-7KS7OJ3F.js +5323 -0
  862. package/dist/rust-crypto-7KS7OJ3F.js.map +7 -0
  863. package/dist/rust-crypto-H35BXWUU.js +5323 -0
  864. package/dist/rust-crypto-H35BXWUU.js.map +7 -0
  865. package/dist/secret-contract-api.js +18 -0
  866. package/dist/secret-contract-api.js.map +7 -0
  867. package/dist/setup-entry.js +22 -0
  868. package/dist/setup-entry.js.map +7 -0
  869. package/dist/src/account-selection.js +19 -0
  870. package/dist/src/account-selection.js.map +7 -0
  871. package/dist/src/actions.js +24 -0
  872. package/dist/src/actions.js.map +7 -0
  873. package/dist/src/approval-auth.js +27 -0
  874. package/dist/src/approval-auth.js.map +7 -0
  875. package/dist/src/approval-handler.runtime.js +378 -0
  876. package/dist/src/approval-handler.runtime.js.map +7 -0
  877. package/dist/src/approval-ids.js +9 -0
  878. package/dist/src/approval-ids.js.map +7 -0
  879. package/dist/src/approval-native.js +28 -0
  880. package/dist/src/approval-native.js.map +7 -0
  881. package/dist/src/approval-reactions.js +20 -0
  882. package/dist/src/approval-reactions.js.map +7 -0
  883. package/dist/src/auth-precedence.js +8 -0
  884. package/dist/src/auth-precedence.js.map +7 -0
  885. package/dist/src/channel-account-paths.js +11 -0
  886. package/dist/src/channel-account-paths.js.map +7 -0
  887. package/dist/src/channel.js +74 -0
  888. package/dist/src/channel.js.map +7 -0
  889. package/dist/src/channel.runtime.js +82 -0
  890. package/dist/src/channel.runtime.js.map +7 -0
  891. package/dist/src/cli-metadata.js +8 -0
  892. package/dist/src/cli-metadata.js.map +7 -0
  893. package/dist/src/cli.js +936 -0
  894. package/dist/src/cli.js.map +7 -0
  895. package/dist/src/config-adapter.js +26 -0
  896. package/dist/src/config-adapter.js.map +7 -0
  897. package/dist/src/config-schema.js +8 -0
  898. package/dist/src/config-schema.js.map +7 -0
  899. package/dist/src/directory-live.js +35 -0
  900. package/dist/src/directory-live.js.map +7 -0
  901. package/dist/src/doctor-contract.js +11 -0
  902. package/dist/src/doctor-contract.js.map +7 -0
  903. package/dist/src/doctor.js +42 -0
  904. package/dist/src/doctor.js.map +7 -0
  905. package/dist/src/env-vars.js +12 -0
  906. package/dist/src/env-vars.js.map +7 -0
  907. package/dist/src/exec-approval-resolver.js +10 -0
  908. package/dist/src/exec-approval-resolver.js.map +7 -0
  909. package/dist/src/exec-approvals.js +51 -0
  910. package/dist/src/exec-approvals.js.map +7 -0
  911. package/dist/src/group-mentions.js +28 -0
  912. package/dist/src/group-mentions.js.map +7 -0
  913. package/dist/src/legacy-crypto-inspector-availability.js +8 -0
  914. package/dist/src/legacy-crypto-inspector-availability.js.map +7 -0
  915. package/dist/src/legacy-crypto.js +26 -0
  916. package/dist/src/legacy-crypto.js.map +7 -0
  917. package/dist/src/legacy-state.js +24 -0
  918. package/dist/src/legacy-state.js.map +7 -0
  919. package/dist/src/matrix/account-config.js +16 -0
  920. package/dist/src/matrix/account-config.js.map +7 -0
  921. package/dist/src/matrix/accounts.js +31 -0
  922. package/dist/src/matrix/accounts.js.map +7 -0
  923. package/dist/src/matrix/actions/client.js +40 -0
  924. package/dist/src/matrix/actions/client.js.map +7 -0
  925. package/dist/src/matrix/actions/devices.js +42 -0
  926. package/dist/src/matrix/actions/devices.js.map +7 -0
  927. package/dist/src/matrix/actions/limits.js +8 -0
  928. package/dist/src/matrix/actions/limits.js.map +7 -0
  929. package/dist/src/matrix/actions/messages.js +49 -0
  930. package/dist/src/matrix/actions/messages.js.map +7 -0
  931. package/dist/src/matrix/actions/pins.js +46 -0
  932. package/dist/src/matrix/actions/pins.js.map +7 -0
  933. package/dist/src/matrix/actions/polls.js +37 -0
  934. package/dist/src/matrix/actions/polls.js.map +7 -0
  935. package/dist/src/matrix/actions/profile.js +38 -0
  936. package/dist/src/matrix/actions/profile.js.map +7 -0
  937. package/dist/src/matrix/actions/reactions.js +40 -0
  938. package/dist/src/matrix/actions/reactions.js.map +7 -0
  939. package/dist/src/matrix/actions/room.js +40 -0
  940. package/dist/src/matrix/actions/room.js.map +7 -0
  941. package/dist/src/matrix/actions/summary.js +19 -0
  942. package/dist/src/matrix/actions/summary.js.map +7 -0
  943. package/dist/src/matrix/actions/types.js +13 -0
  944. package/dist/src/matrix/actions/types.js.map +7 -0
  945. package/dist/src/matrix/actions/verification.js +77 -0
  946. package/dist/src/matrix/actions/verification.js.map +7 -0
  947. package/dist/src/matrix/actions.js +126 -0
  948. package/dist/src/matrix/actions.js.map +7 -0
  949. package/dist/src/matrix/active-client.js +10 -0
  950. package/dist/src/matrix/active-client.js.map +7 -0
  951. package/dist/src/matrix/async-lock.js +8 -0
  952. package/dist/src/matrix/async-lock.js.map +7 -0
  953. package/dist/src/matrix/backup-health.js +10 -0
  954. package/dist/src/matrix/backup-health.js.map +7 -0
  955. package/dist/src/matrix/client/config-runtime-api.js +24 -0
  956. package/dist/src/matrix/client/config-runtime-api.js.map +7 -0
  957. package/dist/src/matrix/client/config-secret-input.runtime.js +11 -0
  958. package/dist/src/matrix/client/config-secret-input.runtime.js.map +7 -0
  959. package/dist/src/matrix/client/config.js +42 -0
  960. package/dist/src/matrix/client/config.js.map +7 -0
  961. package/dist/src/matrix/client/create-client.js +20 -0
  962. package/dist/src/matrix/client/create-client.js.map +7 -0
  963. package/dist/src/matrix/client/env-auth.js +26 -0
  964. package/dist/src/matrix/client/env-auth.js.map +7 -0
  965. package/dist/src/matrix/client/file-sync-store.js +23 -0
  966. package/dist/src/matrix/client/file-sync-store.js.map +7 -0
  967. package/dist/src/matrix/client/logging.js +17 -0
  968. package/dist/src/matrix/client/logging.js.map +7 -0
  969. package/dist/src/matrix/client/migration-snapshot.runtime.js +13 -0
  970. package/dist/src/matrix/client/migration-snapshot.runtime.js.map +7 -0
  971. package/dist/src/matrix/client/private-network-host.js +8 -0
  972. package/dist/src/matrix/client/private-network-host.js.map +7 -0
  973. package/dist/src/matrix/client/runtime.js +8 -0
  974. package/dist/src/matrix/client/runtime.js.map +7 -0
  975. package/dist/src/matrix/client/shared.js +34 -0
  976. package/dist/src/matrix/client/shared.js.map +7 -0
  977. package/dist/src/matrix/client/storage.js +26 -0
  978. package/dist/src/matrix/client/storage.js.map +7 -0
  979. package/dist/src/matrix/client/types.js +7 -0
  980. package/dist/src/matrix/client/types.js.map +7 -0
  981. package/dist/src/matrix/client-bootstrap.js +15 -0
  982. package/dist/src/matrix/client-bootstrap.js.map +7 -0
  983. package/dist/src/matrix/client-resolver.test-helpers.js +122 -0
  984. package/dist/src/matrix/client-resolver.test-helpers.js.map +7 -0
  985. package/dist/src/matrix/client.js +63 -0
  986. package/dist/src/matrix/client.js.map +7 -0
  987. package/dist/src/matrix/config-paths.js +12 -0
  988. package/dist/src/matrix/config-paths.js.map +7 -0
  989. package/dist/src/matrix/config-update.js +17 -0
  990. package/dist/src/matrix/config-update.js.map +7 -0
  991. package/dist/src/matrix/credentials-read.js +22 -0
  992. package/dist/src/matrix/credentials-read.js.map +7 -0
  993. package/dist/src/matrix/credentials-write.runtime.js +24 -0
  994. package/dist/src/matrix/credentials-write.runtime.js.map +7 -0
  995. package/dist/src/matrix/credentials.js +90 -0
  996. package/dist/src/matrix/credentials.js.map +7 -0
  997. package/dist/src/matrix/deps.js +12 -0
  998. package/dist/src/matrix/deps.js.map +7 -0
  999. package/dist/src/matrix/device-health.js +10 -0
  1000. package/dist/src/matrix/device-health.js.map +7 -0
  1001. package/dist/src/matrix/direct-management.js +18 -0
  1002. package/dist/src/matrix/direct-management.js.map +7 -0
  1003. package/dist/src/matrix/direct-room.js +18 -0
  1004. package/dist/src/matrix/direct-room.js.map +7 -0
  1005. package/dist/src/matrix/draft-stream.js +33 -0
  1006. package/dist/src/matrix/draft-stream.js.map +7 -0
  1007. package/dist/src/matrix/encryption-guidance.js +17 -0
  1008. package/dist/src/matrix/encryption-guidance.js.map +7 -0
  1009. package/dist/src/matrix/errors.js +12 -0
  1010. package/dist/src/matrix/errors.js.map +7 -0
  1011. package/dist/src/matrix/format.js +13 -0
  1012. package/dist/src/matrix/format.js.map +7 -0
  1013. package/dist/src/matrix/legacy-crypto-inspector.js +72 -0
  1014. package/dist/src/matrix/legacy-crypto-inspector.js.map +7 -0
  1015. package/dist/src/matrix/media-errors.js +12 -0
  1016. package/dist/src/matrix/media-errors.js.map +7 -0
  1017. package/dist/src/matrix/media-text.js +22 -0
  1018. package/dist/src/matrix/media-text.js.map +7 -0
  1019. package/dist/src/matrix/monitor/access-state.js +9 -0
  1020. package/dist/src/matrix/monitor/access-state.js.map +7 -0
  1021. package/dist/src/matrix/monitor/ack-config.js +10 -0
  1022. package/dist/src/matrix/monitor/ack-config.js.map +7 -0
  1023. package/dist/src/matrix/monitor/allowlist.js +12 -0
  1024. package/dist/src/matrix/monitor/allowlist.js.map +7 -0
  1025. package/dist/src/matrix/monitor/auto-join.js +9 -0
  1026. package/dist/src/matrix/monitor/auto-join.js.map +7 -0
  1027. package/dist/src/matrix/monitor/config.js +37 -0
  1028. package/dist/src/matrix/monitor/config.js.map +7 -0
  1029. package/dist/src/matrix/monitor/context-summary.js +13 -0
  1030. package/dist/src/matrix/monitor/context-summary.js.map +7 -0
  1031. package/dist/src/matrix/monitor/direct.js +13 -0
  1032. package/dist/src/matrix/monitor/direct.js.map +7 -0
  1033. package/dist/src/matrix/monitor/events.js +20 -0
  1034. package/dist/src/matrix/monitor/events.js.map +7 -0
  1035. package/dist/src/matrix/monitor/handler.js +76 -0
  1036. package/dist/src/matrix/monitor/handler.js.map +7 -0
  1037. package/dist/src/matrix/monitor/handler.test-helpers.js +268 -0
  1038. package/dist/src/matrix/monitor/handler.test-helpers.js.map +7 -0
  1039. package/dist/src/matrix/monitor/inbound-dedupe.js +17 -0
  1040. package/dist/src/matrix/monitor/inbound-dedupe.js.map +7 -0
  1041. package/dist/src/matrix/monitor/index.js +502 -0
  1042. package/dist/src/matrix/monitor/index.js.map +7 -0
  1043. package/dist/src/matrix/monitor/legacy-crypto-restore.js +99 -0
  1044. package/dist/src/matrix/monitor/legacy-crypto-restore.js.map +7 -0
  1045. package/dist/src/matrix/monitor/location.js +11 -0
  1046. package/dist/src/matrix/monitor/location.js.map +7 -0
  1047. package/dist/src/matrix/monitor/media.js +10 -0
  1048. package/dist/src/matrix/monitor/media.js.map +7 -0
  1049. package/dist/src/matrix/monitor/mentions.js +9 -0
  1050. package/dist/src/matrix/monitor/mentions.js.map +7 -0
  1051. package/dist/src/matrix/monitor/reaction-events.js +38 -0
  1052. package/dist/src/matrix/monitor/reaction-events.js.map +7 -0
  1053. package/dist/src/matrix/monitor/recent-invite.js +10 -0
  1054. package/dist/src/matrix/monitor/recent-invite.js.map +7 -0
  1055. package/dist/src/matrix/monitor/replies.js +33 -0
  1056. package/dist/src/matrix/monitor/replies.js.map +7 -0
  1057. package/dist/src/matrix/monitor/reply-context.js +14 -0
  1058. package/dist/src/matrix/monitor/reply-context.js.map +7 -0
  1059. package/dist/src/matrix/monitor/room-history.js +10 -0
  1060. package/dist/src/matrix/monitor/room-history.js.map +7 -0
  1061. package/dist/src/matrix/monitor/room-info.js +9 -0
  1062. package/dist/src/matrix/monitor/room-info.js.map +7 -0
  1063. package/dist/src/matrix/monitor/rooms.js +9 -0
  1064. package/dist/src/matrix/monitor/rooms.js.map +7 -0
  1065. package/dist/src/matrix/monitor/route.js +12 -0
  1066. package/dist/src/matrix/monitor/route.js.map +7 -0
  1067. package/dist/src/matrix/monitor/runtime-api.js +40 -0
  1068. package/dist/src/matrix/monitor/runtime-api.js.map +7 -0
  1069. package/dist/src/matrix/monitor/startup-verification.js +174 -0
  1070. package/dist/src/matrix/monitor/startup-verification.js.map +7 -0
  1071. package/dist/src/matrix/monitor/startup.js +9 -0
  1072. package/dist/src/matrix/monitor/startup.js.map +7 -0
  1073. package/dist/src/matrix/monitor/status.js +10 -0
  1074. package/dist/src/matrix/monitor/status.js.map +7 -0
  1075. package/dist/src/matrix/monitor/sync-lifecycle.js +9 -0
  1076. package/dist/src/matrix/monitor/sync-lifecycle.js.map +7 -0
  1077. package/dist/src/matrix/monitor/task-runner.js +8 -0
  1078. package/dist/src/matrix/monitor/task-runner.js.map +7 -0
  1079. package/dist/src/matrix/monitor/thread-context.js +14 -0
  1080. package/dist/src/matrix/monitor/thread-context.js.map +7 -0
  1081. package/dist/src/matrix/monitor/threads.js +16 -0
  1082. package/dist/src/matrix/monitor/threads.js.map +7 -0
  1083. package/dist/src/matrix/monitor/types.js +11 -0
  1084. package/dist/src/matrix/monitor/types.js.map +7 -0
  1085. package/dist/src/matrix/monitor/verification-events.js +13 -0
  1086. package/dist/src/matrix/monitor/verification-events.js.map +7 -0
  1087. package/dist/src/matrix/monitor/verification-utils.js +16 -0
  1088. package/dist/src/matrix/monitor/verification-utils.js.map +7 -0
  1089. package/dist/src/matrix/outbound-media-runtime.js +9 -0
  1090. package/dist/src/matrix/outbound-media-runtime.js.map +7 -0
  1091. package/dist/src/matrix/poll-summary.js +14 -0
  1092. package/dist/src/matrix/poll-summary.js.map +7 -0
  1093. package/dist/src/matrix/poll-types.js +55 -0
  1094. package/dist/src/matrix/poll-types.js.map +7 -0
  1095. package/dist/src/matrix/probe.js +9 -0
  1096. package/dist/src/matrix/probe.js.map +7 -0
  1097. package/dist/src/matrix/probe.runtime.js +30 -0
  1098. package/dist/src/matrix/probe.runtime.js.map +7 -0
  1099. package/dist/src/matrix/profile.js +16 -0
  1100. package/dist/src/matrix/profile.js.map +7 -0
  1101. package/dist/src/matrix/reaction-common.js +26 -0
  1102. package/dist/src/matrix/reaction-common.js.map +7 -0
  1103. package/dist/src/matrix/sdk/crypto-bootstrap.js +15 -0
  1104. package/dist/src/matrix/sdk/crypto-bootstrap.js.map +7 -0
  1105. package/dist/src/matrix/sdk/crypto-facade.js +8 -0
  1106. package/dist/src/matrix/sdk/crypto-facade.js.map +7 -0
  1107. package/dist/src/matrix/sdk/crypto-node.runtime.js +14 -0
  1108. package/dist/src/matrix/sdk/crypto-node.runtime.js.map +7 -0
  1109. package/dist/src/matrix/sdk/crypto-runtime.js +84 -0
  1110. package/dist/src/matrix/sdk/crypto-runtime.js.map +7 -0
  1111. package/dist/src/matrix/sdk/decrypt-bridge.js +11 -0
  1112. package/dist/src/matrix/sdk/decrypt-bridge.js.map +7 -0
  1113. package/dist/src/matrix/sdk/event-helpers.js +12 -0
  1114. package/dist/src/matrix/sdk/event-helpers.js.map +7 -0
  1115. package/dist/src/matrix/sdk/http-client.js +13 -0
  1116. package/dist/src/matrix/sdk/http-client.js.map +7 -0
  1117. package/dist/src/matrix/sdk/idb-persistence-lock.js +12 -0
  1118. package/dist/src/matrix/sdk/idb-persistence-lock.js.map +7 -0
  1119. package/dist/src/matrix/sdk/idb-persistence.js +13 -0
  1120. package/dist/src/matrix/sdk/idb-persistence.js.map +7 -0
  1121. package/dist/src/matrix/sdk/idb-persistence.test-helpers.js +83 -0
  1122. package/dist/src/matrix/sdk/idb-persistence.test-helpers.js.map +7 -0
  1123. package/dist/src/matrix/sdk/logger.js +15 -0
  1124. package/dist/src/matrix/sdk/logger.js.map +7 -0
  1125. package/dist/src/matrix/sdk/read-response-with-limit.js +8 -0
  1126. package/dist/src/matrix/sdk/read-response-with-limit.js.map +7 -0
  1127. package/dist/src/matrix/sdk/recovery-key-store.js +14 -0
  1128. package/dist/src/matrix/sdk/recovery-key-store.js.map +7 -0
  1129. package/dist/src/matrix/sdk/transport.js +13 -0
  1130. package/dist/src/matrix/sdk/transport.js.map +7 -0
  1131. package/dist/src/matrix/sdk/types.js +7 -0
  1132. package/dist/src/matrix/sdk/types.js.map +7 -0
  1133. package/dist/src/matrix/sdk/verification-manager.js +11 -0
  1134. package/dist/src/matrix/sdk/verification-manager.js.map +7 -0
  1135. package/dist/src/matrix/sdk/verification-status.js +12 -0
  1136. package/dist/src/matrix/sdk/verification-status.js.map +7 -0
  1137. package/dist/src/matrix/sdk.js +1375 -0
  1138. package/dist/src/matrix/sdk.js.map +7 -0
  1139. package/dist/src/matrix/send/client.js +14 -0
  1140. package/dist/src/matrix/send/client.js.map +7 -0
  1141. package/dist/src/matrix/send/formatting.js +29 -0
  1142. package/dist/src/matrix/send/formatting.js.map +7 -0
  1143. package/dist/src/matrix/send/media.js +26 -0
  1144. package/dist/src/matrix/send/media.js.map +7 -0
  1145. package/dist/src/matrix/send/targets.js +15 -0
  1146. package/dist/src/matrix/send/targets.js.map +7 -0
  1147. package/dist/src/matrix/send/types.js +17 -0
  1148. package/dist/src/matrix/send/types.js.map +7 -0
  1149. package/dist/src/matrix/send.js +51 -0
  1150. package/dist/src/matrix/send.js.map +7 -0
  1151. package/dist/src/matrix/session-store-metadata.js +15 -0
  1152. package/dist/src/matrix/session-store-metadata.js.map +7 -0
  1153. package/dist/src/matrix/startup-abort.js +14 -0
  1154. package/dist/src/matrix/startup-abort.js.map +7 -0
  1155. package/dist/src/matrix/sync-state.js +12 -0
  1156. package/dist/src/matrix/sync-state.js.map +7 -0
  1157. package/dist/src/matrix/target-ids.js +20 -0
  1158. package/dist/src/matrix/target-ids.js.map +7 -0
  1159. package/dist/src/matrix/thread-bindings-shared.js +34 -0
  1160. package/dist/src/matrix/thread-bindings-shared.js.map +7 -0
  1161. package/dist/src/matrix/thread-bindings.js +49 -0
  1162. package/dist/src/matrix/thread-bindings.js.map +7 -0
  1163. package/dist/src/matrix-migration.runtime.js +45 -0
  1164. package/dist/src/matrix-migration.runtime.js.map +7 -0
  1165. package/dist/src/migration-config.js +29 -0
  1166. package/dist/src/migration-config.js.map +7 -0
  1167. package/dist/src/migration-snapshot-backup.js +12 -0
  1168. package/dist/src/migration-snapshot-backup.js.map +7 -0
  1169. package/dist/src/migration-snapshot.js +38 -0
  1170. package/dist/src/migration-snapshot.js.map +7 -0
  1171. package/dist/src/onboarding.js +43 -0
  1172. package/dist/src/onboarding.js.map +7 -0
  1173. package/dist/src/onboarding.test-harness.js +124 -0
  1174. package/dist/src/onboarding.test-harness.js.map +7 -0
  1175. package/dist/src/outbound.js +33 -0
  1176. package/dist/src/outbound.js.map +7 -0
  1177. package/dist/src/plugin-entry.runtime.js +15 -0
  1178. package/dist/src/plugin-entry.runtime.js.map +7 -0
  1179. package/dist/src/profile-update.js +41 -0
  1180. package/dist/src/profile-update.js.map +7 -0
  1181. package/dist/src/record-shared.js +8 -0
  1182. package/dist/src/record-shared.js.map +7 -0
  1183. package/dist/src/resolve-targets.js +34 -0
  1184. package/dist/src/resolve-targets.js.map +7 -0
  1185. package/dist/src/resolver.js +8 -0
  1186. package/dist/src/resolver.js.map +7 -0
  1187. package/dist/src/runtime-api.js +120 -0
  1188. package/dist/src/runtime-api.js.map +7 -0
  1189. package/dist/src/runtime.js +10 -0
  1190. package/dist/src/runtime.js.map +7 -0
  1191. package/dist/src/secret-contract.js +13 -0
  1192. package/dist/src/secret-contract.js.map +7 -0
  1193. package/dist/src/session-route.js +25 -0
  1194. package/dist/src/session-route.js.map +7 -0
  1195. package/dist/src/setup-bootstrap.js +124 -0
  1196. package/dist/src/setup-bootstrap.js.map +7 -0
  1197. package/dist/src/setup-config.js +28 -0
  1198. package/dist/src/setup-config.js.map +7 -0
  1199. package/dist/src/setup-contract.js +16 -0
  1200. package/dist/src/setup-contract.js.map +7 -0
  1201. package/dist/src/setup-core.js +25 -0
  1202. package/dist/src/setup-core.js.map +7 -0
  1203. package/dist/src/setup-surface.js +45 -0
  1204. package/dist/src/setup-surface.js.map +7 -0
  1205. package/dist/src/startup-maintenance.js +29 -0
  1206. package/dist/src/startup-maintenance.js.map +7 -0
  1207. package/dist/src/storage-paths.js +24 -0
  1208. package/dist/src/storage-paths.js.map +7 -0
  1209. package/dist/src/test-helpers.js +49 -0
  1210. package/dist/src/test-helpers.js.map +7 -0
  1211. package/dist/src/test-mocks.js +40 -0
  1212. package/dist/src/test-mocks.js.map +7 -0
  1213. package/dist/src/test-runtime.js +65 -0
  1214. package/dist/src/test-runtime.js.map +7 -0
  1215. package/dist/src/tool-actions.js +68 -0
  1216. package/dist/src/tool-actions.js.map +7 -0
  1217. package/dist/src/tool-actions.runtime.js +73 -0
  1218. package/dist/src/tool-actions.runtime.js.map +7 -0
  1219. package/dist/src/types.js +7 -0
  1220. package/dist/src/types.js.map +7 -0
  1221. package/dist/test-api.js +82 -0
  1222. package/dist/test-api.js.map +7 -0
  1223. package/dist/thread-bindings-runtime.js +15 -0
  1224. package/dist/thread-bindings-runtime.js.map +7 -0
  1225. package/package.json +12 -6
  1226. package/CHANGELOG.md +0 -164
  1227. package/ENDOFFILE +0 -0
  1228. package/EOF +0 -0
  1229. package/SPEC-SUPPORT.md +0 -116
  1230. package/YAMLEND +0 -0
  1231. package/api.ts +0 -18
  1232. package/archipelagolab-lobi-1.0.0.tgz +0 -0
  1233. package/archipelagolab-lobi-1.0.1.tgz +0 -0
  1234. package/auth-presence.ts +0 -56
  1235. package/channel-plugin-api.ts +0 -3
  1236. package/cli-metadata.ts +0 -11
  1237. package/contract-api.ts +0 -17
  1238. package/docs/CHECKLIST.md +0 -83
  1239. package/docs/FORK_SDK_GUIDE.md +0 -279
  1240. package/helper-api.ts +0 -3
  1241. package/index.test.ts +0 -61
  1242. package/index.ts +0 -65
  1243. package/plugin-entry.handlers.runtime.ts +0 -1
  1244. package/runtime-api.ts +0 -54
  1245. package/runtime-heavy-api.ts +0 -1
  1246. package/scripts/migrate-to-lobi.sh +0 -72
  1247. package/secret-contract-api.ts +0 -5
  1248. package/setup-entry.ts +0 -13
  1249. package/src/account-selection.test.ts +0 -124
  1250. package/src/account-selection.ts +0 -226
  1251. package/src/actions.account-propagation.test.ts +0 -251
  1252. package/src/actions.test.ts +0 -251
  1253. package/src/actions.ts +0 -336
  1254. package/src/approval-auth.test.ts +0 -23
  1255. package/src/approval-auth.ts +0 -25
  1256. package/src/approval-handler.runtime.test.ts +0 -46
  1257. package/src/approval-handler.runtime.ts +0 -400
  1258. package/src/approval-ids.ts +0 -6
  1259. package/src/approval-native.test.ts +0 -329
  1260. package/src/approval-native.ts +0 -336
  1261. package/src/approval-reactions.test.ts +0 -107
  1262. package/src/approval-reactions.ts +0 -158
  1263. package/src/auth-precedence.ts +0 -61
  1264. package/src/channel-account-paths.ts +0 -92
  1265. package/src/channel.account-paths.test.ts +0 -102
  1266. package/src/channel.directory.test.ts +0 -601
  1267. package/src/channel.resolve.test.ts +0 -38
  1268. package/src/channel.runtime.ts +0 -16
  1269. package/src/channel.setup.test.ts +0 -269
  1270. package/src/channel.ts +0 -570
  1271. package/src/cli-metadata.ts +0 -19
  1272. package/src/cli.test.ts +0 -1015
  1273. package/src/cli.ts +0 -1198
  1274. package/src/config-adapter.ts +0 -41
  1275. package/src/config-schema.test.ts +0 -90
  1276. package/src/config-schema.ts +0 -114
  1277. package/src/directory-live.test.ts +0 -200
  1278. package/src/directory-live.ts +0 -238
  1279. package/src/doctor-contract.ts +0 -287
  1280. package/src/doctor.test.ts +0 -440
  1281. package/src/doctor.ts +0 -262
  1282. package/src/env-vars.ts +0 -92
  1283. package/src/exec-approval-resolver.test.ts +0 -68
  1284. package/src/exec-approval-resolver.ts +0 -23
  1285. package/src/exec-approvals.test.ts +0 -483
  1286. package/src/exec-approvals.ts +0 -290
  1287. package/src/group-mentions.ts +0 -41
  1288. package/src/legacy-crypto-inspector-availability.test.ts +0 -81
  1289. package/src/legacy-crypto-inspector-availability.ts +0 -60
  1290. package/src/legacy-crypto.test.ts +0 -234
  1291. package/src/legacy-crypto.ts +0 -549
  1292. package/src/legacy-state.test.ts +0 -86
  1293. package/src/legacy-state.ts +0 -156
  1294. package/src/matrix/account-config.ts +0 -150
  1295. package/src/matrix/accounts.readiness.test.ts +0 -27
  1296. package/src/matrix/accounts.test.ts +0 -757
  1297. package/src/matrix/accounts.ts +0 -194
  1298. package/src/matrix/actions/client.test.ts +0 -215
  1299. package/src/matrix/actions/client.ts +0 -31
  1300. package/src/matrix/actions/devices.test.ts +0 -114
  1301. package/src/matrix/actions/devices.ts +0 -34
  1302. package/src/matrix/actions/limits.test.ts +0 -15
  1303. package/src/matrix/actions/limits.ts +0 -6
  1304. package/src/matrix/actions/messages.test.ts +0 -289
  1305. package/src/matrix/actions/messages.ts +0 -123
  1306. package/src/matrix/actions/pins.test.ts +0 -74
  1307. package/src/matrix/actions/pins.ts +0 -64
  1308. package/src/matrix/actions/polls.test.ts +0 -71
  1309. package/src/matrix/actions/polls.ts +0 -109
  1310. package/src/matrix/actions/profile.test.ts +0 -109
  1311. package/src/matrix/actions/profile.ts +0 -37
  1312. package/src/matrix/actions/reactions.test.ts +0 -135
  1313. package/src/matrix/actions/reactions.ts +0 -59
  1314. package/src/matrix/actions/room.test.ts +0 -79
  1315. package/src/matrix/actions/room.ts +0 -71
  1316. package/src/matrix/actions/summary.test.ts +0 -87
  1317. package/src/matrix/actions/summary.ts +0 -88
  1318. package/src/matrix/actions/types.ts +0 -82
  1319. package/src/matrix/actions/verification.test.ts +0 -105
  1320. package/src/matrix/actions/verification.ts +0 -237
  1321. package/src/matrix/actions.ts +0 -37
  1322. package/src/matrix/active-client.ts +0 -26
  1323. package/src/matrix/async-lock.ts +0 -18
  1324. package/src/matrix/backup-health.ts +0 -115
  1325. package/src/matrix/client/config-runtime-api.ts +0 -14
  1326. package/src/matrix/client/config-secret-input.runtime.ts +0 -1
  1327. package/src/matrix/client/config.ts +0 -982
  1328. package/src/matrix/client/create-client.test.ts +0 -115
  1329. package/src/matrix/client/create-client.ts +0 -101
  1330. package/src/matrix/client/env-auth.ts +0 -6
  1331. package/src/matrix/client/file-sync-store.test.ts +0 -265
  1332. package/src/matrix/client/file-sync-store.ts +0 -289
  1333. package/src/matrix/client/logging.ts +0 -123
  1334. package/src/matrix/client/migration-snapshot.runtime.ts +0 -1
  1335. package/src/matrix/client/private-network-host.ts +0 -56
  1336. package/src/matrix/client/runtime.ts +0 -4
  1337. package/src/matrix/client/shared.test.ts +0 -344
  1338. package/src/matrix/client/shared.ts +0 -306
  1339. package/src/matrix/client/storage.test.ts +0 -634
  1340. package/src/matrix/client/storage.ts +0 -544
  1341. package/src/matrix/client/types.ts +0 -50
  1342. package/src/matrix/client-bootstrap.test.ts +0 -84
  1343. package/src/matrix/client-bootstrap.ts +0 -164
  1344. package/src/matrix/client-resolver.test-helpers.ts +0 -147
  1345. package/src/matrix/client.test.ts +0 -1521
  1346. package/src/matrix/client.ts +0 -23
  1347. package/src/matrix/config-paths.ts +0 -31
  1348. package/src/matrix/config-update.test.ts +0 -237
  1349. package/src/matrix/config-update.ts +0 -291
  1350. package/src/matrix/credentials-read.ts +0 -206
  1351. package/src/matrix/credentials-write.runtime.ts +0 -26
  1352. package/src/matrix/credentials.test.ts +0 -501
  1353. package/src/matrix/credentials.ts +0 -95
  1354. package/src/matrix/deps.test.ts +0 -74
  1355. package/src/matrix/deps.ts +0 -225
  1356. package/src/matrix/device-health.test.ts +0 -45
  1357. package/src/matrix/device-health.ts +0 -31
  1358. package/src/matrix/direct-management.test.ts +0 -350
  1359. package/src/matrix/direct-management.ts +0 -347
  1360. package/src/matrix/direct-room.test.ts +0 -61
  1361. package/src/matrix/direct-room.ts +0 -128
  1362. package/src/matrix/draft-stream.test.ts +0 -406
  1363. package/src/matrix/draft-stream.ts +0 -216
  1364. package/src/matrix/encryption-guidance.ts +0 -27
  1365. package/src/matrix/errors.ts +0 -21
  1366. package/src/matrix/format.test.ts +0 -340
  1367. package/src/matrix/format.ts +0 -428
  1368. package/src/matrix/legacy-crypto-inspector.ts +0 -95
  1369. package/src/matrix/media-errors.ts +0 -20
  1370. package/src/matrix/media-text.ts +0 -169
  1371. package/src/matrix/monitor/access-state.test.ts +0 -45
  1372. package/src/matrix/monitor/access-state.ts +0 -77
  1373. package/src/matrix/monitor/ack-config.test.ts +0 -57
  1374. package/src/matrix/monitor/ack-config.ts +0 -26
  1375. package/src/matrix/monitor/allowlist.test.ts +0 -45
  1376. package/src/matrix/monitor/allowlist.ts +0 -94
  1377. package/src/matrix/monitor/auto-join.test.ts +0 -203
  1378. package/src/matrix/monitor/auto-join.ts +0 -86
  1379. package/src/matrix/monitor/config.test.ts +0 -197
  1380. package/src/matrix/monitor/config.ts +0 -303
  1381. package/src/matrix/monitor/context-summary.ts +0 -43
  1382. package/src/matrix/monitor/direct.test.ts +0 -529
  1383. package/src/matrix/monitor/direct.ts +0 -270
  1384. package/src/matrix/monitor/events.test.ts +0 -1524
  1385. package/src/matrix/monitor/events.ts +0 -213
  1386. package/src/matrix/monitor/handler.body-for-agent.test.ts +0 -396
  1387. package/src/matrix/monitor/handler.group-history.test.ts +0 -648
  1388. package/src/matrix/monitor/handler.media-failure.test.ts +0 -267
  1389. package/src/matrix/monitor/handler.test-helpers.ts +0 -308
  1390. package/src/matrix/monitor/handler.test.ts +0 -2952
  1391. package/src/matrix/monitor/handler.thread-root-media.test.ts +0 -82
  1392. package/src/matrix/monitor/handler.ts +0 -1679
  1393. package/src/matrix/monitor/inbound-dedupe.test.ts +0 -146
  1394. package/src/matrix/monitor/inbound-dedupe.ts +0 -267
  1395. package/src/matrix/monitor/index.test.ts +0 -920
  1396. package/src/matrix/monitor/index.ts +0 -434
  1397. package/src/matrix/monitor/legacy-crypto-restore.test.ts +0 -206
  1398. package/src/matrix/monitor/legacy-crypto-restore.ts +0 -139
  1399. package/src/matrix/monitor/location.ts +0 -100
  1400. package/src/matrix/monitor/media.test.ts +0 -159
  1401. package/src/matrix/monitor/media.ts +0 -119
  1402. package/src/matrix/monitor/mentions.test.ts +0 -289
  1403. package/src/matrix/monitor/mentions.ts +0 -177
  1404. package/src/matrix/monitor/reaction-events.test.ts +0 -326
  1405. package/src/matrix/monitor/reaction-events.ts +0 -187
  1406. package/src/matrix/monitor/recent-invite.test.ts +0 -92
  1407. package/src/matrix/monitor/recent-invite.ts +0 -30
  1408. package/src/matrix/monitor/replies.test.ts +0 -265
  1409. package/src/matrix/monitor/replies.ts +0 -136
  1410. package/src/matrix/monitor/reply-context.test.ts +0 -276
  1411. package/src/matrix/monitor/reply-context.ts +0 -92
  1412. package/src/matrix/monitor/room-history.test.ts +0 -258
  1413. package/src/matrix/monitor/room-history.ts +0 -301
  1414. package/src/matrix/monitor/room-info.test.ts +0 -201
  1415. package/src/matrix/monitor/room-info.ts +0 -126
  1416. package/src/matrix/monitor/rooms.test.ts +0 -121
  1417. package/src/matrix/monitor/rooms.ts +0 -52
  1418. package/src/matrix/monitor/route.test.ts +0 -255
  1419. package/src/matrix/monitor/route.ts +0 -178
  1420. package/src/matrix/monitor/runtime-api.ts +0 -31
  1421. package/src/matrix/monitor/startup-verification.test.ts +0 -294
  1422. package/src/matrix/monitor/startup-verification.ts +0 -237
  1423. package/src/matrix/monitor/startup.test.ts +0 -257
  1424. package/src/matrix/monitor/startup.ts +0 -218
  1425. package/src/matrix/monitor/status.ts +0 -111
  1426. package/src/matrix/monitor/sync-lifecycle.test.ts +0 -224
  1427. package/src/matrix/monitor/sync-lifecycle.ts +0 -91
  1428. package/src/matrix/monitor/task-runner.ts +0 -38
  1429. package/src/matrix/monitor/thread-context.test.ts +0 -149
  1430. package/src/matrix/monitor/thread-context.ts +0 -108
  1431. package/src/matrix/monitor/threads.test.ts +0 -68
  1432. package/src/matrix/monitor/threads.ts +0 -85
  1433. package/src/matrix/monitor/types.ts +0 -30
  1434. package/src/matrix/monitor/verification-events.ts +0 -627
  1435. package/src/matrix/monitor/verification-utils.test.ts +0 -47
  1436. package/src/matrix/monitor/verification-utils.ts +0 -46
  1437. package/src/matrix/outbound-media-runtime.ts +0 -1
  1438. package/src/matrix/poll-summary.ts +0 -110
  1439. package/src/matrix/poll-types.test.ts +0 -205
  1440. package/src/matrix/poll-types.ts +0 -433
  1441. package/src/matrix/probe.runtime.ts +0 -4
  1442. package/src/matrix/probe.test.ts +0 -154
  1443. package/src/matrix/probe.ts +0 -96
  1444. package/src/matrix/profile.test.ts +0 -154
  1445. package/src/matrix/profile.ts +0 -184
  1446. package/src/matrix/reaction-common.test.ts +0 -96
  1447. package/src/matrix/reaction-common.ts +0 -147
  1448. package/src/matrix/sdk/crypto-bootstrap.test.ts +0 -505
  1449. package/src/matrix/sdk/crypto-bootstrap.ts +0 -341
  1450. package/src/matrix/sdk/crypto-facade.test.ts +0 -197
  1451. package/src/matrix/sdk/crypto-facade.ts +0 -207
  1452. package/src/matrix/sdk/crypto-node.runtime.test.ts +0 -27
  1453. package/src/matrix/sdk/crypto-node.runtime.ts +0 -9
  1454. package/src/matrix/sdk/crypto-runtime.ts +0 -11
  1455. package/src/matrix/sdk/decrypt-bridge.ts +0 -356
  1456. package/src/matrix/sdk/event-helpers.test.ts +0 -60
  1457. package/src/matrix/sdk/event-helpers.ts +0 -71
  1458. package/src/matrix/sdk/http-client.test.ts +0 -134
  1459. package/src/matrix/sdk/http-client.ts +0 -87
  1460. package/src/matrix/sdk/idb-persistence-lock.ts +0 -51
  1461. package/src/matrix/sdk/idb-persistence.lock-order.test.ts +0 -108
  1462. package/src/matrix/sdk/idb-persistence.test-helpers.ts +0 -88
  1463. package/src/matrix/sdk/idb-persistence.test.ts +0 -149
  1464. package/src/matrix/sdk/idb-persistence.ts +0 -283
  1465. package/src/matrix/sdk/logger.test.ts +0 -25
  1466. package/src/matrix/sdk/logger.ts +0 -108
  1467. package/src/matrix/sdk/read-response-with-limit.ts +0 -19
  1468. package/src/matrix/sdk/recovery-key-store.test.ts +0 -385
  1469. package/src/matrix/sdk/recovery-key-store.ts +0 -430
  1470. package/src/matrix/sdk/transport.test.ts +0 -161
  1471. package/src/matrix/sdk/transport.ts +0 -344
  1472. package/src/matrix/sdk/types.ts +0 -236
  1473. package/src/matrix/sdk/verification-manager.test.ts +0 -509
  1474. package/src/matrix/sdk/verification-manager.ts +0 -694
  1475. package/src/matrix/sdk/verification-status.ts +0 -23
  1476. package/src/matrix/sdk.test.ts +0 -2568
  1477. package/src/matrix/sdk.ts +0 -1789
  1478. package/src/matrix/send/client.test.ts +0 -174
  1479. package/src/matrix/send/client.ts +0 -90
  1480. package/src/matrix/send/formatting.ts +0 -189
  1481. package/src/matrix/send/media.ts +0 -244
  1482. package/src/matrix/send/targets.test.ts +0 -254
  1483. package/src/matrix/send/targets.ts +0 -104
  1484. package/src/matrix/send/types.ts +0 -134
  1485. package/src/matrix/send.test.ts +0 -958
  1486. package/src/matrix/send.ts +0 -609
  1487. package/src/matrix/session-store-metadata.ts +0 -108
  1488. package/src/matrix/startup-abort.ts +0 -44
  1489. package/src/matrix/sync-state.ts +0 -27
  1490. package/src/matrix/target-ids.ts +0 -102
  1491. package/src/matrix/thread-bindings-shared.ts +0 -201
  1492. package/src/matrix/thread-bindings.test.ts +0 -673
  1493. package/src/matrix/thread-bindings.ts +0 -577
  1494. package/src/matrix-migration.runtime.ts +0 -9
  1495. package/src/migration-config.test.ts +0 -228
  1496. package/src/migration-config.ts +0 -243
  1497. package/src/migration-snapshot-backup.ts +0 -117
  1498. package/src/migration-snapshot.test.ts +0 -184
  1499. package/src/migration-snapshot.ts +0 -55
  1500. package/src/onboarding.resolve.test.ts +0 -55
  1501. package/src/onboarding.test-harness.ts +0 -158
  1502. package/src/onboarding.test.ts +0 -665
  1503. package/src/onboarding.ts +0 -773
  1504. package/src/outbound.test.ts +0 -173
  1505. package/src/outbound.ts +0 -78
  1506. package/src/plugin-entry.runtime.js +0 -159
  1507. package/src/plugin-entry.runtime.test.ts +0 -108
  1508. package/src/plugin-entry.runtime.ts +0 -68
  1509. package/src/profile-update.ts +0 -68
  1510. package/src/record-shared.ts +0 -3
  1511. package/src/resolve-targets.test.ts +0 -178
  1512. package/src/resolve-targets.ts +0 -175
  1513. package/src/resolver.ts +0 -21
  1514. package/src/runtime-api.ts +0 -144
  1515. package/src/runtime.ts +0 -7
  1516. package/src/secret-contract.ts +0 -174
  1517. package/src/session-route.test.ts +0 -315
  1518. package/src/session-route.ts +0 -113
  1519. package/src/setup-bootstrap.ts +0 -94
  1520. package/src/setup-config.ts +0 -222
  1521. package/src/setup-contract.ts +0 -89
  1522. package/src/setup-core.test.ts +0 -326
  1523. package/src/setup-core.ts +0 -50
  1524. package/src/setup-surface.ts +0 -4
  1525. package/src/startup-maintenance.test.ts +0 -227
  1526. package/src/startup-maintenance.ts +0 -114
  1527. package/src/storage-paths.ts +0 -92
  1528. package/src/test-helpers.ts +0 -42
  1529. package/src/test-mocks.ts +0 -55
  1530. package/src/test-runtime.ts +0 -72
  1531. package/src/test-support/monitor-route-test-support.ts +0 -8
  1532. package/src/tool-actions.runtime.ts +0 -1
  1533. package/src/tool-actions.test.ts +0 -422
  1534. package/src/tool-actions.ts +0 -498
  1535. package/src/types.ts +0 -230
  1536. package/test-api.ts +0 -2
  1537. package/thread-bindings-runtime.ts +0 -4
  1538. package/tsconfig.json +0 -16
@@ -0,0 +1,1405 @@
1
+ import {
2
+ createMatrixThreadContextResolver
3
+ } from "./chunk-ZSOPE7DO.js";
4
+ import {
5
+ deliverMatrixReplies
6
+ } from "./chunk-AUUABFHL.js";
7
+ import {
8
+ createMatrixReplyContextResolver
9
+ } from "./chunk-SHBAAFFH.js";
10
+ import {
11
+ createRoomHistoryTracker
12
+ } from "./chunk-TPYWUZOR.js";
13
+ import {
14
+ resolveMatrixLocation
15
+ } from "./chunk-VPQICZQR.js";
16
+ import {
17
+ downloadMatrixMedia
18
+ } from "./chunk-SWWK35VQ.js";
19
+ import {
20
+ resolveMentions
21
+ } from "./chunk-LUGTGPT6.js";
22
+ import {
23
+ handleInboundMatrixReaction
24
+ } from "./chunk-LMD5UTKM.js";
25
+ import {
26
+ resolveMatrixInboundRoute
27
+ } from "./chunk-YNHADHHS.js";
28
+ import {
29
+ resolveMatrixReplyToEventId,
30
+ resolveMatrixThreadRootId,
31
+ resolveMatrixThreadRouting
32
+ } from "./chunk-JU2Y33DB.js";
33
+ import {
34
+ isMatrixVerificationRoomMessage
35
+ } from "./chunk-FK6RGYBB.js";
36
+ import {
37
+ EventType,
38
+ RelationType
39
+ } from "./chunk-CPLEC5LJ.js";
40
+ import {
41
+ resolveMatrixMonitorAccessState
42
+ } from "./chunk-KAWXMSYC.js";
43
+ import {
44
+ resolveMatrixAckReactionConfig
45
+ } from "./chunk-WS6HWBKT.js";
46
+ import {
47
+ createMatrixDraftStream
48
+ } from "./chunk-HSXRCP25.js";
49
+ import {
50
+ fetchMatrixPollSnapshot
51
+ } from "./chunk-FFCG5NRU.js";
52
+ import {
53
+ formatMatrixMediaTooLargeText,
54
+ formatMatrixMediaUnavailableText,
55
+ formatMatrixMessageText,
56
+ resolveMatrixMessageAttachment,
57
+ resolveMatrixMessageBody
58
+ } from "./chunk-VBDLTKI2.js";
59
+ import {
60
+ resolveMatrixStoredSessionMeta
61
+ } from "./chunk-4L2QI6AY.js";
62
+ import {
63
+ resolveMatrixRoomConfig
64
+ } from "./chunk-F6APWSAA.js";
65
+ import {
66
+ createReplyPrefixOptions,
67
+ createTypingCallbacks,
68
+ ensureConfiguredAcpBindingReady,
69
+ formatAllowlistMatchMeta,
70
+ getAgentScopedMediaLocalRoots,
71
+ logInboundDrop,
72
+ logTypingFailure
73
+ } from "./chunk-F43CC2X2.js";
74
+ import {
75
+ formatMatrixErrorMessage
76
+ } from "./chunk-H5MLA6PA.js";
77
+ import {
78
+ resolveMatrixAllowListMatch
79
+ } from "./chunk-U44IVNP2.js";
80
+ import {
81
+ editMessageMatrix,
82
+ reactMatrixMessage,
83
+ sendMessageMatrix,
84
+ sendReadReceiptMatrix,
85
+ sendTypingMatrix
86
+ } from "./chunk-QAR5POXD.js";
87
+ import {
88
+ MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY
89
+ } from "./chunk-JGIZPU2Y.js";
90
+ import {
91
+ formatPollAsText,
92
+ isPollEventType,
93
+ isPollStartType,
94
+ parsePollStartContent
95
+ } from "./chunk-LZQFDJNW.js";
96
+ import {
97
+ isMatrixMediaSizeLimitError
98
+ } from "./chunk-I7JJQ4BQ.js";
99
+ import {
100
+ init_shims
101
+ } from "./chunk-G4TIS2SC.js";
102
+
103
+ // src/matrix/monitor/handler.ts
104
+ init_shims();
105
+ import { resolveControlCommandGate } from "openclaw/plugin-sdk/command-auth";
106
+ import {
107
+ loadSessionStore,
108
+ resolveChannelContextVisibilityMode,
109
+ resolveSessionStoreEntry
110
+ } from "openclaw/plugin-sdk/config-runtime";
111
+ import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runtime";
112
+ import { evaluateSupplementalContextVisibility } from "openclaw/plugin-sdk/security-runtime";
113
+ import { normalizeOptionalString } from "openclaw/plugin-sdk/text-runtime";
114
+ var ALLOW_FROM_STORE_CACHE_TTL_MS = 3e4;
115
+ var PAIRING_REPLY_COOLDOWN_MS = 5 * 6e4;
116
+ var MAX_TRACKED_PAIRING_REPLY_SENDERS = 512;
117
+ var MAX_TRACKED_SHARED_DM_CONTEXT_NOTICES = 512;
118
+ async function redactMatrixDraftEvent(client, roomId, draftEventId) {
119
+ await client.redactEvent(roomId, draftEventId).catch(() => {
120
+ });
121
+ }
122
+ function buildMatrixFinalizedPreviewContent() {
123
+ return { [MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY]: true };
124
+ }
125
+ function resolveMatrixMentionPrecheckText(params) {
126
+ if (params.locationText?.trim()) {
127
+ return params.locationText.trim();
128
+ }
129
+ if (typeof params.content.body === "string" && params.content.body.trim()) {
130
+ return params.content.body.trim();
131
+ }
132
+ if (isPollStartType(params.eventType)) {
133
+ const parsed = parsePollStartContent(params.content);
134
+ if (parsed) {
135
+ return formatPollAsText(parsed);
136
+ }
137
+ }
138
+ return "";
139
+ }
140
+ function resolveMatrixInboundBodyText(params) {
141
+ if (params.mediaPlaceholder) {
142
+ return params.rawBody || params.mediaPlaceholder;
143
+ }
144
+ if (!params.mediaDownloadFailed || !params.hadMediaUrl) {
145
+ return params.rawBody;
146
+ }
147
+ if (params.mediaSizeLimitExceeded) {
148
+ return formatMatrixMediaTooLargeText({
149
+ body: params.rawBody,
150
+ filename: params.filename,
151
+ msgtype: params.msgtype
152
+ });
153
+ }
154
+ return formatMatrixMediaUnavailableText({
155
+ body: params.rawBody,
156
+ filename: params.filename,
157
+ msgtype: params.msgtype
158
+ });
159
+ }
160
+ function markTrackedRoomIfFirst(set, roomId) {
161
+ if (set.has(roomId)) {
162
+ return false;
163
+ }
164
+ set.add(roomId);
165
+ if (set.size > MAX_TRACKED_SHARED_DM_CONTEXT_NOTICES) {
166
+ const oldest = set.keys().next().value;
167
+ if (typeof oldest === "string") {
168
+ set.delete(oldest);
169
+ }
170
+ }
171
+ return true;
172
+ }
173
+ function resolveMatrixSharedDmContextNotice(params) {
174
+ if ((params.dmSessionScope ?? "per-user") === "per-room") {
175
+ return null;
176
+ }
177
+ if (params.sentRooms.has(params.roomId)) {
178
+ return null;
179
+ }
180
+ try {
181
+ const store = loadSessionStore(params.storePath);
182
+ const currentSession = resolveMatrixStoredSessionMeta(
183
+ resolveSessionStoreEntry({
184
+ store,
185
+ sessionKey: params.sessionKey
186
+ }).existing
187
+ );
188
+ if (!currentSession) {
189
+ return null;
190
+ }
191
+ if (currentSession.channel && currentSession.channel !== "matrix") {
192
+ return null;
193
+ }
194
+ if (currentSession.accountId && currentSession.accountId !== params.accountId) {
195
+ return null;
196
+ }
197
+ if (!currentSession.directUserId) {
198
+ return null;
199
+ }
200
+ if (!currentSession.roomId || currentSession.roomId === params.roomId) {
201
+ return null;
202
+ }
203
+ return [
204
+ "This Matrix DM is sharing a session with another Matrix DM room.",
205
+ "Use /focus here for a one-off isolated thread session when thread bindings are enabled, or set",
206
+ "channels.lobi.dm.sessionScope to per-room to isolate each Matrix DM room."
207
+ ].join(" ");
208
+ } catch (err) {
209
+ params.logVerboseMessage(
210
+ `matrix: failed checking shared DM session notice room=${params.roomId} (${String(err)})`
211
+ );
212
+ return null;
213
+ }
214
+ }
215
+ function resolveMatrixPendingHistoryText(params) {
216
+ if (params.mentionPrecheckText) {
217
+ return params.mentionPrecheckText;
218
+ }
219
+ if (!params.mediaUrl) {
220
+ return "";
221
+ }
222
+ const body = typeof params.content.body === "string" ? params.content.body.trim() : void 0;
223
+ const filename = typeof params.content.filename === "string" ? params.content.filename.trim() : void 0;
224
+ const msgtype = typeof params.content.msgtype === "string" ? params.content.msgtype : void 0;
225
+ return formatMatrixMessageText({
226
+ body: resolveMatrixMessageBody({ body, filename, msgtype }),
227
+ attachment: resolveMatrixMessageAttachment({ body, filename, msgtype })
228
+ }) ?? "";
229
+ }
230
+ function resolveMatrixAllowBotsMode(value) {
231
+ if (value === true) {
232
+ return "all";
233
+ }
234
+ if (value === "mentions") {
235
+ return "mentions";
236
+ }
237
+ return "off";
238
+ }
239
+ function createMatrixRoomMessageHandler(params) {
240
+ const {
241
+ client,
242
+ core,
243
+ cfg,
244
+ accountId,
245
+ runtime,
246
+ logger,
247
+ logVerboseMessage,
248
+ allowFrom,
249
+ groupAllowFrom = [],
250
+ roomsConfig,
251
+ accountAllowBots,
252
+ configuredBotUserIds = /* @__PURE__ */ new Set(),
253
+ groupPolicy,
254
+ replyToMode,
255
+ threadReplies,
256
+ dmThreadReplies,
257
+ dmSessionScope,
258
+ streaming,
259
+ blockStreamingEnabled,
260
+ dmEnabled,
261
+ dmPolicy,
262
+ textLimit,
263
+ mediaMaxBytes,
264
+ historyLimit,
265
+ startupMs,
266
+ startupGraceMs,
267
+ dropPreStartupMessages,
268
+ inboundDeduper,
269
+ directTracker,
270
+ getRoomInfo,
271
+ getMemberDisplayName,
272
+ needsRoomAliasesForConfig
273
+ } = params;
274
+ const contextVisibilityMode = resolveChannelContextVisibilityMode({
275
+ cfg,
276
+ channel: "matrix",
277
+ accountId
278
+ });
279
+ let cachedStoreAllowFrom = null;
280
+ const pairingReplySentAtMsBySender = /* @__PURE__ */ new Map();
281
+ const resolveThreadContext = createMatrixThreadContextResolver({
282
+ client,
283
+ getMemberDisplayName,
284
+ logVerboseMessage
285
+ });
286
+ const resolveReplyContext = createMatrixReplyContextResolver({
287
+ client,
288
+ getMemberDisplayName,
289
+ logVerboseMessage
290
+ });
291
+ const roomHistoryTracker = createRoomHistoryTracker();
292
+ const roomIngressTails = /* @__PURE__ */ new Map();
293
+ const sharedDmContextNoticeRooms = /* @__PURE__ */ new Set();
294
+ const readStoreAllowFrom = async () => {
295
+ const now = Date.now();
296
+ if (cachedStoreAllowFrom && now < cachedStoreAllowFrom.expiresAtMs) {
297
+ return cachedStoreAllowFrom.value;
298
+ }
299
+ const value = await core.channel.pairing.readAllowFromStore({
300
+ channel: "matrix",
301
+ env: process.env,
302
+ accountId
303
+ }).catch(() => []);
304
+ cachedStoreAllowFrom = {
305
+ value,
306
+ expiresAtMs: now + ALLOW_FROM_STORE_CACHE_TTL_MS
307
+ };
308
+ return value;
309
+ };
310
+ const shouldSendPairingReply = (senderId, created) => {
311
+ const now = Date.now();
312
+ if (created) {
313
+ pairingReplySentAtMsBySender.set(senderId, now);
314
+ return true;
315
+ }
316
+ const lastSentAtMs = pairingReplySentAtMsBySender.get(senderId);
317
+ if (typeof lastSentAtMs === "number" && now - lastSentAtMs < PAIRING_REPLY_COOLDOWN_MS) {
318
+ return false;
319
+ }
320
+ pairingReplySentAtMsBySender.set(senderId, now);
321
+ if (pairingReplySentAtMsBySender.size > MAX_TRACKED_PAIRING_REPLY_SENDERS) {
322
+ const oldestSender = pairingReplySentAtMsBySender.keys().next().value;
323
+ if (typeof oldestSender === "string") {
324
+ pairingReplySentAtMsBySender.delete(oldestSender);
325
+ }
326
+ }
327
+ return true;
328
+ };
329
+ const runRoomIngress = async (roomId, task) => {
330
+ const previous = roomIngressTails.get(roomId) ?? Promise.resolve();
331
+ let releaseCurrent;
332
+ const current = new Promise((resolve) => {
333
+ releaseCurrent = resolve;
334
+ });
335
+ const chain = previous.catch(() => {
336
+ }).then(() => current);
337
+ roomIngressTails.set(roomId, chain);
338
+ await previous.catch(() => {
339
+ });
340
+ try {
341
+ return await task();
342
+ } finally {
343
+ releaseCurrent();
344
+ if (roomIngressTails.get(roomId) === chain) {
345
+ roomIngressTails.delete(roomId);
346
+ }
347
+ }
348
+ };
349
+ return async (roomId, event) => {
350
+ const eventId = typeof event.event_id === "string" ? event.event_id.trim() : "";
351
+ let claimedInboundEvent = false;
352
+ let draftStreamRef;
353
+ let draftConsumed = false;
354
+ try {
355
+ const eventType = event.type;
356
+ if (eventType === EventType.RoomMessageEncrypted) {
357
+ return;
358
+ }
359
+ const isPollEvent = isPollEventType(eventType);
360
+ const isReactionEvent = eventType === EventType.Reaction;
361
+ const locationContent = event.content;
362
+ const isLocationEvent = eventType === EventType.Location || eventType === EventType.RoomMessage && locationContent.msgtype === EventType.Location;
363
+ if (eventType !== EventType.RoomMessage && !isPollEvent && !isLocationEvent && !isReactionEvent) {
364
+ return;
365
+ }
366
+ logVerboseMessage(
367
+ `matrix: inbound event room=${roomId} type=${eventType} id=${event.event_id ?? "unknown"}`
368
+ );
369
+ if (event.unsigned?.redacted_because) {
370
+ return;
371
+ }
372
+ const senderId = event.sender;
373
+ if (!senderId) {
374
+ return;
375
+ }
376
+ const eventTs = event.origin_server_ts;
377
+ const eventAge = event.unsigned?.age;
378
+ const commitInboundEventIfClaimed = async () => {
379
+ if (!claimedInboundEvent || !inboundDeduper || !eventId) {
380
+ return;
381
+ }
382
+ await inboundDeduper.commitEvent({ roomId, eventId });
383
+ claimedInboundEvent = false;
384
+ };
385
+ const readIngressPrefix = async () => {
386
+ const selfUserId = await client.getUserId();
387
+ if (senderId === selfUserId) {
388
+ return void 0;
389
+ }
390
+ if (dropPreStartupMessages) {
391
+ if (typeof eventTs === "number" && eventTs < startupMs - startupGraceMs) {
392
+ return void 0;
393
+ }
394
+ if (typeof eventTs !== "number" && typeof eventAge === "number" && eventAge > startupGraceMs) {
395
+ return void 0;
396
+ }
397
+ }
398
+ let content = event.content;
399
+ if (eventType === EventType.RoomMessage && isMatrixVerificationRoomMessage({
400
+ msgtype: content.msgtype,
401
+ body: content.body
402
+ })) {
403
+ logVerboseMessage(`matrix: skip verification/system room message room=${roomId}`);
404
+ return void 0;
405
+ }
406
+ const locationPayload2 = resolveMatrixLocation({
407
+ eventType,
408
+ content
409
+ });
410
+ const relates = content["m.relates_to"];
411
+ if (relates && "rel_type" in relates && relates.rel_type === RelationType.Replace) {
412
+ return void 0;
413
+ }
414
+ if (eventId && inboundDeduper) {
415
+ claimedInboundEvent = inboundDeduper.claimEvent({ roomId, eventId });
416
+ if (!claimedInboundEvent) {
417
+ logVerboseMessage(`matrix: skip duplicate inbound event room=${roomId} id=${eventId}`);
418
+ return void 0;
419
+ }
420
+ }
421
+ const isDirectMessage2 = await directTracker.isDirectMessage({
422
+ roomId,
423
+ senderId,
424
+ selfUserId
425
+ });
426
+ return { content, isDirectMessage: isDirectMessage2, locationPayload: locationPayload2, selfUserId };
427
+ };
428
+ const continueIngress = async (params2) => {
429
+ let content = params2.content;
430
+ const isDirectMessage2 = params2.isDirectMessage;
431
+ const isRoom2 = !isDirectMessage2;
432
+ const { locationPayload: locationPayload2, selfUserId } = params2;
433
+ if (isRoom2 && groupPolicy === "disabled") {
434
+ await commitInboundEventIfClaimed();
435
+ return void 0;
436
+ }
437
+ const roomInfoForConfig = isRoom2 && needsRoomAliasesForConfig ? await getRoomInfo(roomId, { includeAliases: true }) : void 0;
438
+ const roomAliasesForConfig = roomInfoForConfig ? [roomInfoForConfig.canonicalAlias ?? "", ...roomInfoForConfig.altAliases].filter(
439
+ Boolean
440
+ ) : [];
441
+ const roomConfigInfo = isRoom2 ? resolveMatrixRoomConfig({
442
+ rooms: roomsConfig,
443
+ roomId,
444
+ aliases: roomAliasesForConfig
445
+ }) : void 0;
446
+ const roomConfig2 = roomConfigInfo?.config;
447
+ const allowBotsMode = resolveMatrixAllowBotsMode(roomConfig2?.allowBots ?? accountAllowBots);
448
+ const isConfiguredBotSender = configuredBotUserIds.has(senderId);
449
+ const roomMatchMeta = roomConfigInfo ? `matchKey=${roomConfigInfo.matchKey ?? "none"} matchSource=${roomConfigInfo.matchSource ?? "none"}` : "matchKey=none matchSource=none";
450
+ if (isConfiguredBotSender && allowBotsMode === "off") {
451
+ logVerboseMessage(
452
+ `matrix: drop configured bot sender=${senderId} (allowBots=false${isDirectMessage2 ? "" : `, ${roomMatchMeta}`})`
453
+ );
454
+ await commitInboundEventIfClaimed();
455
+ return void 0;
456
+ }
457
+ if (isRoom2 && roomConfig2 && !roomConfigInfo?.allowed) {
458
+ logVerboseMessage(`matrix: room disabled room=${roomId} (${roomMatchMeta})`);
459
+ await commitInboundEventIfClaimed();
460
+ return void 0;
461
+ }
462
+ if (isRoom2 && groupPolicy === "allowlist") {
463
+ if (!roomConfigInfo?.allowlistConfigured) {
464
+ logVerboseMessage(`matrix: drop room message (no allowlist, ${roomMatchMeta})`);
465
+ await commitInboundEventIfClaimed();
466
+ return void 0;
467
+ }
468
+ if (!roomConfig2) {
469
+ logVerboseMessage(`matrix: drop room message (not in allowlist, ${roomMatchMeta})`);
470
+ await commitInboundEventIfClaimed();
471
+ return void 0;
472
+ }
473
+ }
474
+ let senderNamePromise = null;
475
+ const getSenderName = async () => {
476
+ senderNamePromise ??= getMemberDisplayName(roomId, senderId).catch(() => senderId);
477
+ return await senderNamePromise;
478
+ };
479
+ const storeAllowFrom = await readStoreAllowFrom();
480
+ const roomUsers = roomConfig2?.users ?? [];
481
+ const accessState = resolveMatrixMonitorAccessState({
482
+ allowFrom,
483
+ storeAllowFrom,
484
+ groupAllowFrom,
485
+ roomUsers,
486
+ senderId,
487
+ isRoom: isRoom2
488
+ });
489
+ const {
490
+ effectiveGroupAllowFrom: effectiveGroupAllowFrom2,
491
+ effectiveRoomUsers: effectiveRoomUsers2,
492
+ groupAllowConfigured,
493
+ directAllowMatch,
494
+ roomUserMatch,
495
+ groupAllowMatch,
496
+ commandAuthorizers
497
+ } = accessState;
498
+ if (isDirectMessage2) {
499
+ if (!dmEnabled || dmPolicy === "disabled") {
500
+ await commitInboundEventIfClaimed();
501
+ return void 0;
502
+ }
503
+ if (dmPolicy !== "open") {
504
+ const allowMatchMeta = formatAllowlistMatchMeta(directAllowMatch);
505
+ if (!directAllowMatch.allowed) {
506
+ if (!isReactionEvent && dmPolicy === "pairing") {
507
+ const senderName3 = await getSenderName();
508
+ const { code, created } = await core.channel.pairing.upsertPairingRequest({
509
+ channel: "matrix",
510
+ id: senderId,
511
+ accountId,
512
+ meta: { name: senderName3 }
513
+ });
514
+ if (shouldSendPairingReply(senderId, created)) {
515
+ const pairingReply = core.channel.pairing.buildPairingReply({
516
+ channel: "matrix",
517
+ idLine: `Your Matrix user id: ${senderId}`,
518
+ code
519
+ });
520
+ logVerboseMessage(
521
+ created ? `matrix pairing request sender=${senderId} name=${senderName3 ?? "unknown"} (${allowMatchMeta})` : `matrix pairing reminder sender=${senderId} name=${senderName3 ?? "unknown"} (${allowMatchMeta})`
522
+ );
523
+ try {
524
+ await sendMessageMatrix(
525
+ `room:${roomId}`,
526
+ created ? pairingReply : `${pairingReply}
527
+
528
+ Pairing request is still pending approval. Reusing existing code.`,
529
+ {
530
+ client,
531
+ cfg,
532
+ accountId
533
+ }
534
+ );
535
+ await commitInboundEventIfClaimed();
536
+ } catch (err) {
537
+ logVerboseMessage(
538
+ `matrix pairing reply failed for ${senderId}: ${String(err)}`
539
+ );
540
+ return void 0;
541
+ }
542
+ } else {
543
+ logVerboseMessage(
544
+ `matrix pairing reminder suppressed sender=${senderId} (cooldown)`
545
+ );
546
+ await commitInboundEventIfClaimed();
547
+ }
548
+ }
549
+ if (isReactionEvent || dmPolicy !== "pairing") {
550
+ logVerboseMessage(
551
+ `matrix: blocked ${isReactionEvent ? "reaction" : "dm"} sender ${senderId} (dmPolicy=${dmPolicy}, ${allowMatchMeta})`
552
+ );
553
+ await commitInboundEventIfClaimed();
554
+ }
555
+ return void 0;
556
+ }
557
+ }
558
+ }
559
+ if (isRoom2 && roomUserMatch && !roomUserMatch.allowed) {
560
+ logVerboseMessage(
561
+ `matrix: blocked sender ${senderId} (room users allowlist, ${roomMatchMeta}, ${formatAllowlistMatchMeta(
562
+ roomUserMatch
563
+ )})`
564
+ );
565
+ await commitInboundEventIfClaimed();
566
+ return void 0;
567
+ }
568
+ if (isRoom2 && groupPolicy === "allowlist" && effectiveRoomUsers2.length === 0 && groupAllowConfigured && groupAllowMatch && !groupAllowMatch.allowed) {
569
+ logVerboseMessage(
570
+ `matrix: blocked sender ${senderId} (groupAllowFrom, ${roomMatchMeta}, ${formatAllowlistMatchMeta(
571
+ groupAllowMatch
572
+ )})`
573
+ );
574
+ await commitInboundEventIfClaimed();
575
+ return void 0;
576
+ }
577
+ if (isRoom2) {
578
+ logVerboseMessage(`matrix: allow room ${roomId} (${roomMatchMeta})`);
579
+ }
580
+ if (isReactionEvent) {
581
+ const senderName3 = await getSenderName();
582
+ await handleInboundMatrixReaction({
583
+ client,
584
+ core,
585
+ cfg,
586
+ accountId,
587
+ roomId,
588
+ event,
589
+ senderId,
590
+ senderLabel: senderName3,
591
+ selfUserId,
592
+ isDirectMessage: isDirectMessage2,
593
+ logVerboseMessage
594
+ });
595
+ await commitInboundEventIfClaimed();
596
+ return void 0;
597
+ }
598
+ let pollSnapshotPromise = null;
599
+ const getPollSnapshot = async () => {
600
+ if (!isPollEvent) {
601
+ return null;
602
+ }
603
+ pollSnapshotPromise ??= fetchMatrixPollSnapshot(client, roomId, event).catch((err) => {
604
+ logVerboseMessage(
605
+ `matrix: failed resolving poll snapshot room=${roomId} id=${event.event_id ?? "unknown"}: ${String(err)}`
606
+ );
607
+ return null;
608
+ });
609
+ return await pollSnapshotPromise;
610
+ };
611
+ const mentionPrecheckText = resolveMatrixMentionPrecheckText({
612
+ eventType,
613
+ content,
614
+ locationText: locationPayload2?.text
615
+ });
616
+ const contentUrl = "url" in content && typeof content.url === "string" ? content.url : void 0;
617
+ const contentFile = "file" in content && content.file && typeof content.file === "object" ? content.file : void 0;
618
+ const mediaUrl = contentUrl ?? contentFile?.url;
619
+ const pendingHistoryText = resolveMatrixPendingHistoryText({
620
+ mentionPrecheckText,
621
+ content,
622
+ mediaUrl
623
+ });
624
+ const pendingHistoryPollText = !pendingHistoryText && isPollEvent && historyLimit > 0 ? (await getPollSnapshot())?.text : "";
625
+ if (!mentionPrecheckText && !mediaUrl && !isPollEvent) {
626
+ await commitInboundEventIfClaimed();
627
+ return void 0;
628
+ }
629
+ const _messageId2 = event.event_id ?? "";
630
+ const _threadRootId2 = resolveMatrixThreadRootId({ event, content });
631
+ const thread2 = resolveMatrixThreadRouting({
632
+ isDirectMessage: isDirectMessage2,
633
+ threadReplies,
634
+ dmThreadReplies,
635
+ messageId: _messageId2,
636
+ threadRootId: _threadRootId2
637
+ });
638
+ const {
639
+ route: _route2,
640
+ configuredBinding: _configuredBinding,
641
+ runtimeBindingId: _runtimeBindingId
642
+ } = resolveMatrixInboundRoute({
643
+ cfg,
644
+ accountId,
645
+ roomId,
646
+ senderId,
647
+ isDirectMessage: isDirectMessage2,
648
+ dmSessionScope,
649
+ threadId: thread2.threadId,
650
+ eventTs: eventTs ?? void 0,
651
+ resolveAgentRoute: core.channel.routing.resolveAgentRoute
652
+ });
653
+ const hasExplicitSessionBinding2 = _configuredBinding !== null || _runtimeBindingId !== null;
654
+ const agentMentionRegexes = core.channel.mentions.buildMentionRegexes(cfg, _route2.agentId);
655
+ const selfDisplayName = content.formatted_body ? await getMemberDisplayName(roomId, selfUserId).catch(() => void 0) : void 0;
656
+ const { wasMentioned: wasMentioned2, hasExplicitMention } = resolveMentions({
657
+ content,
658
+ userId: selfUserId,
659
+ displayName: selfDisplayName,
660
+ text: mentionPrecheckText,
661
+ mentionRegexes: agentMentionRegexes
662
+ });
663
+ if (isConfiguredBotSender && allowBotsMode === "mentions" && !isDirectMessage2 && !wasMentioned2) {
664
+ logVerboseMessage(
665
+ `matrix: drop configured bot sender=${senderId} (allowBots=mentions, missing mention, ${roomMatchMeta})`
666
+ );
667
+ await commitInboundEventIfClaimed();
668
+ return void 0;
669
+ }
670
+ const allowTextCommands = core.channel.commands.shouldHandleTextCommands({
671
+ cfg,
672
+ surface: "matrix"
673
+ });
674
+ const useAccessGroups = cfg.commands?.useAccessGroups !== false;
675
+ const hasControlCommandInMessage = core.channel.text.hasControlCommand(
676
+ mentionPrecheckText,
677
+ cfg
678
+ );
679
+ const commandGate = resolveControlCommandGate({
680
+ useAccessGroups,
681
+ authorizers: commandAuthorizers,
682
+ allowTextCommands,
683
+ hasControlCommand: hasControlCommandInMessage
684
+ });
685
+ const commandAuthorized2 = commandGate.commandAuthorized;
686
+ if (isRoom2 && commandGate.shouldBlock) {
687
+ logInboundDrop({
688
+ log: logVerboseMessage,
689
+ channel: "matrix",
690
+ reason: "control command (unauthorized)",
691
+ target: senderId
692
+ });
693
+ await commitInboundEventIfClaimed();
694
+ return void 0;
695
+ }
696
+ const shouldRequireMention2 = isRoom2 ? roomConfig2?.autoReply === true ? false : roomConfig2?.autoReply === false ? true : typeof roomConfig2?.requireMention === "boolean" ? roomConfig2?.requireMention : true : false;
697
+ const shouldBypassMention2 = allowTextCommands && isRoom2 && shouldRequireMention2 && !wasMentioned2 && !hasExplicitMention && commandAuthorized2 && hasControlCommandInMessage;
698
+ const canDetectMention2 = agentMentionRegexes.length > 0 || hasExplicitMention;
699
+ if (isRoom2 && shouldRequireMention2 && !wasMentioned2 && !shouldBypassMention2) {
700
+ const pendingHistoryBody = pendingHistoryText || pendingHistoryPollText;
701
+ if (historyLimit > 0 && pendingHistoryBody) {
702
+ const pendingEntry = {
703
+ sender: senderId,
704
+ body: pendingHistoryBody,
705
+ timestamp: eventTs ?? void 0,
706
+ messageId: _messageId2
707
+ };
708
+ roomHistoryTracker.recordPending(roomId, pendingEntry);
709
+ }
710
+ logger.info("skipping room message", { roomId, reason: "no-mention" });
711
+ await commitInboundEventIfClaimed();
712
+ return void 0;
713
+ }
714
+ if (isPollEvent) {
715
+ const pollSnapshot = await getPollSnapshot();
716
+ if (!pollSnapshot) {
717
+ return void 0;
718
+ }
719
+ content = {
720
+ msgtype: "m.text",
721
+ body: pollSnapshot.text
722
+ };
723
+ }
724
+ let media2 = null;
725
+ let mediaDownloadFailed = false;
726
+ let mediaSizeLimitExceeded = false;
727
+ const finalContentUrl = "url" in content && typeof content.url === "string" ? content.url : void 0;
728
+ const finalContentFile = "file" in content && content.file && typeof content.file === "object" ? content.file : void 0;
729
+ const finalMediaUrl = finalContentUrl ?? finalContentFile?.url;
730
+ const contentBody = typeof content.body === "string" ? content.body.trim() : "";
731
+ const contentFilename = typeof content.filename === "string" ? content.filename.trim() : "";
732
+ const originalFilename = contentFilename || contentBody || void 0;
733
+ const contentInfo = "info" in content && content.info && typeof content.info === "object" ? content.info : void 0;
734
+ const contentType = contentInfo?.mimetype;
735
+ const contentSize = typeof contentInfo?.size === "number" ? contentInfo.size : void 0;
736
+ if (finalMediaUrl?.startsWith("mxc://")) {
737
+ try {
738
+ media2 = await downloadMatrixMedia({
739
+ client,
740
+ mxcUrl: finalMediaUrl,
741
+ contentType,
742
+ sizeBytes: contentSize,
743
+ maxBytes: mediaMaxBytes,
744
+ file: finalContentFile,
745
+ originalFilename
746
+ });
747
+ } catch (err) {
748
+ mediaDownloadFailed = true;
749
+ if (isMatrixMediaSizeLimitError(err)) {
750
+ mediaSizeLimitExceeded = true;
751
+ }
752
+ const errorText = formatMatrixErrorMessage(err);
753
+ logVerboseMessage(
754
+ `matrix: media download failed room=${roomId} id=${event.event_id ?? "unknown"} type=${content.msgtype} error=${errorText}`
755
+ );
756
+ logger.warn("matrix media download failed", {
757
+ roomId,
758
+ eventId: event.event_id,
759
+ msgtype: content.msgtype,
760
+ encrypted: Boolean(finalContentFile),
761
+ error: errorText
762
+ });
763
+ }
764
+ }
765
+ const rawBody = locationPayload2?.text ?? contentBody;
766
+ const bodyText2 = resolveMatrixInboundBodyText({
767
+ rawBody,
768
+ filename: typeof content.filename === "string" ? content.filename : void 0,
769
+ mediaPlaceholder: media2?.placeholder,
770
+ msgtype: content.msgtype,
771
+ hadMediaUrl: Boolean(finalMediaUrl),
772
+ mediaDownloadFailed,
773
+ mediaSizeLimitExceeded
774
+ });
775
+ if (!bodyText2) {
776
+ await commitInboundEventIfClaimed();
777
+ return void 0;
778
+ }
779
+ const senderName2 = await getSenderName();
780
+ if (_configuredBinding) {
781
+ const ensured = await ensureConfiguredAcpBindingReady({
782
+ cfg,
783
+ configuredBinding: _configuredBinding
784
+ });
785
+ if (!ensured.ok) {
786
+ logInboundDrop({
787
+ log: logVerboseMessage,
788
+ channel: "matrix",
789
+ reason: "configured ACP binding unavailable",
790
+ target: _configuredBinding.spec.conversationId
791
+ });
792
+ return void 0;
793
+ }
794
+ }
795
+ if (_runtimeBindingId) {
796
+ getSessionBindingService().touch(_runtimeBindingId, eventTs ?? void 0);
797
+ }
798
+ const preparedTrigger = isRoom2 && historyLimit > 0 ? roomHistoryTracker.prepareTrigger(_route2.agentId, roomId, historyLimit, {
799
+ sender: senderName2,
800
+ body: bodyText2,
801
+ timestamp: eventTs ?? void 0,
802
+ messageId: _messageId2
803
+ }) : void 0;
804
+ const inboundHistory2 = preparedTrigger?.history;
805
+ const triggerSnapshot2 = preparedTrigger;
806
+ return {
807
+ route: _route2,
808
+ hasExplicitSessionBinding: hasExplicitSessionBinding2,
809
+ roomConfig: roomConfig2,
810
+ isDirectMessage: isDirectMessage2,
811
+ isRoom: isRoom2,
812
+ shouldRequireMention: shouldRequireMention2,
813
+ wasMentioned: wasMentioned2,
814
+ shouldBypassMention: shouldBypassMention2,
815
+ canDetectMention: canDetectMention2,
816
+ commandAuthorized: commandAuthorized2,
817
+ inboundHistory: inboundHistory2,
818
+ senderName: senderName2,
819
+ bodyText: bodyText2,
820
+ media: media2,
821
+ locationPayload: locationPayload2,
822
+ messageId: _messageId2,
823
+ triggerSnapshot: triggerSnapshot2,
824
+ threadRootId: _threadRootId2,
825
+ thread: thread2,
826
+ effectiveGroupAllowFrom: effectiveGroupAllowFrom2,
827
+ effectiveRoomUsers: effectiveRoomUsers2
828
+ };
829
+ };
830
+ const ingressResult = historyLimit > 0 ? await runRoomIngress(roomId, async () => {
831
+ const prefix = await readIngressPrefix();
832
+ if (!prefix) {
833
+ return void 0;
834
+ }
835
+ if (prefix.isDirectMessage) {
836
+ return { deferredPrefix: prefix };
837
+ }
838
+ return { ingressResult: await continueIngress(prefix) };
839
+ }) : void 0;
840
+ const resolvedIngressResult = historyLimit > 0 ? ingressResult?.deferredPrefix ? await continueIngress(ingressResult.deferredPrefix) : ingressResult?.ingressResult : await (async () => {
841
+ const prefix = await readIngressPrefix();
842
+ if (!prefix) {
843
+ return void 0;
844
+ }
845
+ return await continueIngress(prefix);
846
+ })();
847
+ if (!resolvedIngressResult) {
848
+ return;
849
+ }
850
+ const {
851
+ route: _route,
852
+ hasExplicitSessionBinding,
853
+ roomConfig,
854
+ isDirectMessage,
855
+ isRoom,
856
+ shouldRequireMention,
857
+ wasMentioned,
858
+ shouldBypassMention,
859
+ canDetectMention,
860
+ commandAuthorized,
861
+ inboundHistory,
862
+ senderName,
863
+ bodyText,
864
+ media,
865
+ locationPayload,
866
+ messageId: _messageId,
867
+ triggerSnapshot,
868
+ threadRootId: _threadRootId,
869
+ thread,
870
+ effectiveGroupAllowFrom,
871
+ effectiveRoomUsers
872
+ } = resolvedIngressResult;
873
+ const replyToEventId = resolveMatrixReplyToEventId(event.content);
874
+ const threadTarget = thread.threadId;
875
+ const isRoomContextSenderAllowed = (contextSenderId) => {
876
+ if (!isRoom || !contextSenderId) {
877
+ return true;
878
+ }
879
+ if (effectiveRoomUsers.length > 0) {
880
+ return resolveMatrixAllowListMatch({
881
+ allowList: effectiveRoomUsers,
882
+ userId: contextSenderId
883
+ }).allowed;
884
+ }
885
+ if (groupPolicy === "allowlist" && effectiveGroupAllowFrom.length > 0) {
886
+ return resolveMatrixAllowListMatch({
887
+ allowList: effectiveGroupAllowFrom,
888
+ userId: contextSenderId
889
+ }).allowed;
890
+ }
891
+ return true;
892
+ };
893
+ const shouldIncludeRoomContextSender = (kind, contextSenderId) => evaluateSupplementalContextVisibility({
894
+ mode: contextVisibilityMode,
895
+ kind,
896
+ senderAllowed: isRoomContextSenderAllowed(contextSenderId)
897
+ }).include;
898
+ let threadContext = _threadRootId ? await resolveThreadContext({ roomId, threadRootId: _threadRootId }) : void 0;
899
+ let threadContextBlockedByPolicy = false;
900
+ if (threadContext?.senderId && !shouldIncludeRoomContextSender("thread", threadContext.senderId)) {
901
+ logVerboseMessage(`matrix: drop thread root context (mode=${contextVisibilityMode})`);
902
+ threadContextBlockedByPolicy = true;
903
+ threadContext = void 0;
904
+ }
905
+ let replyContext;
906
+ if (replyToEventId && replyToEventId === _threadRootId && threadContext?.summary) {
907
+ replyContext = {
908
+ replyToBody: threadContext.summary,
909
+ replyToSender: threadContext.senderLabel,
910
+ replyToSenderId: threadContext.senderId
911
+ };
912
+ } else if (replyToEventId && replyToEventId === _threadRootId && threadContextBlockedByPolicy) {
913
+ replyContext = await resolveReplyContext({ roomId, eventId: replyToEventId });
914
+ } else {
915
+ replyContext = replyToEventId ? await resolveReplyContext({ roomId, eventId: replyToEventId }) : void 0;
916
+ }
917
+ if (replyContext?.replyToSenderId && !shouldIncludeRoomContextSender("quote", replyContext.replyToSenderId)) {
918
+ logVerboseMessage(`matrix: drop reply context (mode=${contextVisibilityMode})`);
919
+ replyContext = void 0;
920
+ }
921
+ const roomInfo = isRoom ? await getRoomInfo(roomId) : void 0;
922
+ const roomName = roomInfo?.name;
923
+ const envelopeFrom = isDirectMessage ? senderName : roomName ?? roomId;
924
+ const textWithId = `${bodyText}
925
+ [matrix event id: ${_messageId} room: ${roomId}]`;
926
+ const storePath = core.channel.session.resolveStorePath(cfg.session?.store, {
927
+ agentId: _route.agentId
928
+ });
929
+ const envelopeOptions = core.channel.reply.resolveEnvelopeFormatOptions(cfg);
930
+ const previousTimestamp = core.channel.session.readSessionUpdatedAt({
931
+ storePath,
932
+ sessionKey: _route.sessionKey
933
+ });
934
+ const sharedDmNoticeSessionKey = threadTarget ? _route.mainSessionKey || _route.sessionKey : _route.sessionKey;
935
+ const sharedDmContextNotice = isDirectMessage ? hasExplicitSessionBinding ? null : resolveMatrixSharedDmContextNotice({
936
+ storePath,
937
+ sessionKey: sharedDmNoticeSessionKey,
938
+ roomId,
939
+ accountId: _route.accountId,
940
+ dmSessionScope,
941
+ sentRooms: sharedDmContextNoticeRooms,
942
+ logVerboseMessage
943
+ }) : null;
944
+ const body = core.channel.reply.formatAgentEnvelope({
945
+ channel: "Matrix",
946
+ from: envelopeFrom,
947
+ timestamp: eventTs ?? void 0,
948
+ previousTimestamp,
949
+ envelope: envelopeOptions,
950
+ body: textWithId
951
+ });
952
+ const groupSystemPrompt = normalizeOptionalString(roomConfig?.systemPrompt);
953
+ const ctxPayload = core.channel.reply.finalizeInboundContext({
954
+ Body: body,
955
+ RawBody: bodyText,
956
+ CommandBody: bodyText,
957
+ InboundHistory: inboundHistory && inboundHistory.length > 0 ? inboundHistory : void 0,
958
+ From: isDirectMessage ? `matrix:${senderId}` : `matrix:channel:${roomId}`,
959
+ To: `room:${roomId}`,
960
+ SessionKey: _route.sessionKey,
961
+ AccountId: _route.accountId,
962
+ ChatType: isDirectMessage ? "direct" : "channel",
963
+ ConversationLabel: envelopeFrom,
964
+ SenderName: senderName,
965
+ SenderId: senderId,
966
+ SenderUsername: senderId.split(":")[0]?.replace(/^@/, ""),
967
+ GroupSubject: isRoom ? roomName ?? roomId : void 0,
968
+ GroupId: isRoom ? roomId : void 0,
969
+ GroupSystemPrompt: isRoom ? groupSystemPrompt : void 0,
970
+ Provider: "matrix",
971
+ Surface: "matrix",
972
+ WasMentioned: isRoom ? wasMentioned : void 0,
973
+ MessageSid: _messageId,
974
+ ReplyToId: threadTarget ? void 0 : replyToEventId ?? void 0,
975
+ ReplyToBody: replyContext?.replyToBody,
976
+ ReplyToSender: replyContext?.replyToSender,
977
+ MessageThreadId: threadTarget,
978
+ ThreadStarterBody: threadContext?.threadStarterBody,
979
+ Timestamp: eventTs ?? void 0,
980
+ MediaPath: media?.path,
981
+ MediaType: media?.contentType,
982
+ MediaUrl: media?.path,
983
+ ...locationPayload?.context,
984
+ CommandAuthorized: commandAuthorized,
985
+ CommandSource: "text",
986
+ NativeChannelId: roomId,
987
+ NativeDirectUserId: isDirectMessage ? senderId : void 0,
988
+ OriginatingChannel: "matrix",
989
+ OriginatingTo: `room:${roomId}`
990
+ });
991
+ await core.channel.session.recordInboundSession({
992
+ storePath,
993
+ sessionKey: ctxPayload.SessionKey ?? _route.sessionKey,
994
+ ctx: ctxPayload,
995
+ updateLastRoute: isDirectMessage ? {
996
+ sessionKey: _route.mainSessionKey,
997
+ channel: "matrix",
998
+ to: `room:${roomId}`,
999
+ accountId: _route.accountId
1000
+ } : void 0,
1001
+ onRecordError: (err) => {
1002
+ logger.warn("failed updating session meta", {
1003
+ error: String(err),
1004
+ storePath,
1005
+ sessionKey: ctxPayload.SessionKey ?? _route.sessionKey
1006
+ });
1007
+ }
1008
+ });
1009
+ if (sharedDmContextNotice && markTrackedRoomIfFirst(sharedDmContextNoticeRooms, roomId)) {
1010
+ client.sendMessage(roomId, {
1011
+ msgtype: "m.notice",
1012
+ body: sharedDmContextNotice
1013
+ }).catch((err) => {
1014
+ logVerboseMessage(
1015
+ `matrix: failed sending shared DM session notice room=${roomId}: ${String(err)}`
1016
+ );
1017
+ });
1018
+ }
1019
+ const preview = bodyText.slice(0, 200).replace(/\n/g, "\\n");
1020
+ logVerboseMessage(`matrix inbound: room=${roomId} from=${senderId} preview="${preview}"`);
1021
+ const replyTarget = ctxPayload.To;
1022
+ if (!replyTarget) {
1023
+ runtime.error?.("matrix: missing reply target");
1024
+ return;
1025
+ }
1026
+ const { ackReaction, ackReactionScope: ackScope } = resolveMatrixAckReactionConfig({
1027
+ cfg,
1028
+ agentId: _route.agentId,
1029
+ accountId
1030
+ });
1031
+ const shouldAckReaction = () => Boolean(
1032
+ ackReaction && core.channel.reactions.shouldAckReaction({
1033
+ scope: ackScope,
1034
+ isDirect: isDirectMessage,
1035
+ isGroup: isRoom,
1036
+ isMentionableGroup: isRoom,
1037
+ requireMention: shouldRequireMention,
1038
+ canDetectMention,
1039
+ effectiveWasMentioned: wasMentioned || shouldBypassMention,
1040
+ shouldBypassMention
1041
+ })
1042
+ );
1043
+ if (shouldAckReaction() && _messageId) {
1044
+ reactMatrixMessage(roomId, _messageId, ackReaction, client).catch((err) => {
1045
+ logVerboseMessage(`matrix react failed for room ${roomId}: ${String(err)}`);
1046
+ });
1047
+ }
1048
+ if (_messageId) {
1049
+ sendReadReceiptMatrix(roomId, _messageId, client).catch((err) => {
1050
+ logVerboseMessage(
1051
+ `matrix: read receipt failed room=${roomId} id=${_messageId}: ${String(err)}`
1052
+ );
1053
+ });
1054
+ }
1055
+ const tableMode = core.channel.text.resolveMarkdownTableMode({
1056
+ cfg,
1057
+ channel: "matrix",
1058
+ accountId: _route.accountId
1059
+ });
1060
+ const mediaLocalRoots = getAgentScopedMediaLocalRoots(cfg, _route.agentId);
1061
+ let finalReplyDeliveryFailed = false;
1062
+ let nonFinalReplyDeliveryFailed = false;
1063
+ const { onModelSelected, ...prefixOptions } = createReplyPrefixOptions({
1064
+ cfg,
1065
+ agentId: _route.agentId,
1066
+ channel: "matrix",
1067
+ accountId: _route.accountId
1068
+ });
1069
+ const typingCallbacks = createTypingCallbacks({
1070
+ start: () => sendTypingMatrix(roomId, true, void 0, client),
1071
+ stop: () => sendTypingMatrix(roomId, false, void 0, client),
1072
+ onStartError: (err) => {
1073
+ logTypingFailure({
1074
+ log: logVerboseMessage,
1075
+ channel: "matrix",
1076
+ action: "start",
1077
+ target: roomId,
1078
+ error: err
1079
+ });
1080
+ },
1081
+ onStopError: (err) => {
1082
+ logTypingFailure({
1083
+ log: logVerboseMessage,
1084
+ channel: "matrix",
1085
+ action: "stop",
1086
+ target: roomId,
1087
+ error: err
1088
+ });
1089
+ }
1090
+ });
1091
+ const draftStreamingEnabled = streaming !== "off";
1092
+ const quietDraftStreaming = streaming === "quiet";
1093
+ const draftReplyToId = replyToMode !== "off" && !threadTarget ? _messageId : void 0;
1094
+ const draftStream = draftStreamingEnabled ? createMatrixDraftStream({
1095
+ roomId,
1096
+ client,
1097
+ cfg,
1098
+ mode: quietDraftStreaming ? "quiet" : "partial",
1099
+ threadId: threadTarget,
1100
+ replyToId: draftReplyToId,
1101
+ preserveReplyId: replyToMode === "all",
1102
+ accountId: _route.accountId,
1103
+ log: logVerboseMessage
1104
+ }) : void 0;
1105
+ draftStreamRef = draftStream;
1106
+ let currentDraftMessageGeneration = 0;
1107
+ let currentDraftBlockOffset = 0;
1108
+ let latestDraftFullText = "";
1109
+ const pendingDraftBoundaries = [];
1110
+ const latestQueuedDraftBoundaryOffsets = /* @__PURE__ */ new Map();
1111
+ let currentDraftReplyToId = draftReplyToId;
1112
+ const getDisplayableDraftText = () => {
1113
+ const nextDraftBoundaryOffset = pendingDraftBoundaries.find(
1114
+ (boundary) => boundary.messageGeneration === currentDraftMessageGeneration
1115
+ )?.endOffset;
1116
+ if (nextDraftBoundaryOffset === void 0) {
1117
+ return latestDraftFullText.slice(currentDraftBlockOffset);
1118
+ }
1119
+ return latestDraftFullText.slice(currentDraftBlockOffset, nextDraftBoundaryOffset);
1120
+ };
1121
+ const updateDraftFromLatestFullText = () => {
1122
+ const blockText = getDisplayableDraftText();
1123
+ if (blockText) {
1124
+ draftStream?.update(blockText);
1125
+ }
1126
+ };
1127
+ const queueDraftBlockBoundary = (payload, context) => {
1128
+ const payloadTextLength = payload.text?.length ?? 0;
1129
+ const messageGeneration = context?.assistantMessageIndex ?? currentDraftMessageGeneration;
1130
+ const lastQueuedDraftBoundaryOffset = latestQueuedDraftBoundaryOffsets.get(messageGeneration) ?? 0;
1131
+ const nextDraftBoundaryOffset = lastQueuedDraftBoundaryOffset + payloadTextLength;
1132
+ latestQueuedDraftBoundaryOffsets.set(messageGeneration, nextDraftBoundaryOffset);
1133
+ pendingDraftBoundaries.push({
1134
+ messageGeneration,
1135
+ endOffset: nextDraftBoundaryOffset
1136
+ });
1137
+ };
1138
+ const advanceDraftBlockBoundary = (options) => {
1139
+ const completedBoundary = pendingDraftBoundaries.shift();
1140
+ if (completedBoundary) {
1141
+ if (!pendingDraftBoundaries.some(
1142
+ (entry) => entry.messageGeneration === completedBoundary.messageGeneration
1143
+ )) {
1144
+ latestQueuedDraftBoundaryOffsets.delete(completedBoundary.messageGeneration);
1145
+ }
1146
+ if (completedBoundary.messageGeneration === currentDraftMessageGeneration) {
1147
+ currentDraftBlockOffset = completedBoundary.endOffset;
1148
+ }
1149
+ return;
1150
+ }
1151
+ if (options?.fallbackToLatestEnd) {
1152
+ currentDraftBlockOffset = latestDraftFullText.length;
1153
+ }
1154
+ };
1155
+ const resetDraftBlockOffsets = () => {
1156
+ currentDraftMessageGeneration += 1;
1157
+ currentDraftBlockOffset = 0;
1158
+ latestDraftFullText = "";
1159
+ };
1160
+ const { dispatcher, replyOptions, markDispatchIdle, markRunComplete } = core.channel.reply.createReplyDispatcherWithTyping({
1161
+ ...prefixOptions,
1162
+ humanDelay: core.channel.reply.resolveHumanDelayConfig(cfg, _route.agentId),
1163
+ deliver: async (payload, info) => {
1164
+ if (draftStream && info.kind !== "tool" && !payload.isCompactionNotice) {
1165
+ const hasMedia = Boolean(payload.mediaUrl) || (payload.mediaUrls?.length ?? 0) > 0;
1166
+ await draftStream.stop();
1167
+ const draftEventId = draftStream.eventId();
1168
+ if (draftConsumed) {
1169
+ await deliverMatrixReplies({
1170
+ cfg,
1171
+ replies: [payload],
1172
+ roomId,
1173
+ client,
1174
+ runtime,
1175
+ textLimit,
1176
+ replyToMode,
1177
+ threadId: threadTarget,
1178
+ accountId: _route.accountId,
1179
+ mediaLocalRoots,
1180
+ tableMode
1181
+ });
1182
+ return;
1183
+ }
1184
+ const payloadReplyToId = normalizeOptionalString(payload.replyToId);
1185
+ const payloadReplyMismatch = replyToMode !== "off" && !threadTarget && payloadReplyToId !== currentDraftReplyToId;
1186
+ const mustDeliverFinalNormally = draftStream.mustDeliverFinalNormally();
1187
+ if (draftEventId && payload.text && !hasMedia && !payloadReplyMismatch && !mustDeliverFinalNormally) {
1188
+ try {
1189
+ const requiresFinalEdit = quietDraftStreaming || !draftStream.matchesPreparedText(payload.text);
1190
+ if (requiresFinalEdit) {
1191
+ await editMessageMatrix(roomId, draftEventId, payload.text, {
1192
+ client,
1193
+ cfg,
1194
+ threadId: threadTarget,
1195
+ accountId: _route.accountId,
1196
+ extraContent: quietDraftStreaming ? buildMatrixFinalizedPreviewContent() : void 0
1197
+ });
1198
+ } else if (!await draftStream.finalizeLive()) {
1199
+ throw new Error("Matrix draft live finalize failed");
1200
+ }
1201
+ } catch {
1202
+ await redactMatrixDraftEvent(client, roomId, draftEventId);
1203
+ await deliverMatrixReplies({
1204
+ cfg,
1205
+ replies: [payload],
1206
+ roomId,
1207
+ client,
1208
+ runtime,
1209
+ textLimit,
1210
+ replyToMode,
1211
+ threadId: threadTarget,
1212
+ accountId: _route.accountId,
1213
+ mediaLocalRoots,
1214
+ tableMode
1215
+ });
1216
+ }
1217
+ draftConsumed = true;
1218
+ } else if (draftEventId && hasMedia && !payloadReplyMismatch) {
1219
+ let textEditOk = !mustDeliverFinalNormally;
1220
+ const payloadText = payload.text;
1221
+ const payloadTextMatchesDraft = typeof payloadText === "string" && draftStream.matchesPreparedText(payloadText);
1222
+ const reusesDraftTextUnchanged = typeof payloadText === "string" && Boolean(payloadText.trim()) && payloadTextMatchesDraft;
1223
+ const requiresFinalTextEdit = quietDraftStreaming || typeof payloadText === "string" && !payloadTextMatchesDraft;
1224
+ if (textEditOk && payloadText && requiresFinalTextEdit) {
1225
+ textEditOk = await editMessageMatrix(roomId, draftEventId, payloadText, {
1226
+ client,
1227
+ cfg,
1228
+ threadId: threadTarget,
1229
+ accountId: _route.accountId,
1230
+ extraContent: quietDraftStreaming ? buildMatrixFinalizedPreviewContent() : void 0
1231
+ }).then(
1232
+ () => true,
1233
+ () => false
1234
+ );
1235
+ } else if (textEditOk && reusesDraftTextUnchanged) {
1236
+ textEditOk = await draftStream.finalizeLive();
1237
+ }
1238
+ const reusesDraftAsFinalText = Boolean(payload.text?.trim()) && textEditOk;
1239
+ if (!reusesDraftAsFinalText) {
1240
+ await redactMatrixDraftEvent(client, roomId, draftEventId);
1241
+ }
1242
+ await deliverMatrixReplies({
1243
+ cfg,
1244
+ replies: [
1245
+ { ...payload, text: reusesDraftAsFinalText ? void 0 : payload.text }
1246
+ ],
1247
+ roomId,
1248
+ client,
1249
+ runtime,
1250
+ textLimit,
1251
+ replyToMode,
1252
+ threadId: threadTarget,
1253
+ accountId: _route.accountId,
1254
+ mediaLocalRoots,
1255
+ tableMode
1256
+ });
1257
+ draftConsumed = true;
1258
+ } else {
1259
+ const draftRedacted = Boolean(draftEventId) && (payloadReplyMismatch || mustDeliverFinalNormally);
1260
+ if (draftRedacted && draftEventId) {
1261
+ await redactMatrixDraftEvent(client, roomId, draftEventId);
1262
+ }
1263
+ const deliveredFallback = await deliverMatrixReplies({
1264
+ cfg,
1265
+ replies: [payload],
1266
+ roomId,
1267
+ client,
1268
+ runtime,
1269
+ textLimit,
1270
+ replyToMode,
1271
+ threadId: threadTarget,
1272
+ accountId: _route.accountId,
1273
+ mediaLocalRoots,
1274
+ tableMode
1275
+ });
1276
+ if (draftRedacted || deliveredFallback) {
1277
+ draftConsumed = true;
1278
+ }
1279
+ }
1280
+ if (info.kind === "block") {
1281
+ draftConsumed = false;
1282
+ advanceDraftBlockBoundary({ fallbackToLatestEnd: true });
1283
+ draftStream.reset();
1284
+ currentDraftReplyToId = replyToMode === "all" ? draftReplyToId : void 0;
1285
+ updateDraftFromLatestFullText();
1286
+ await sendTypingMatrix(roomId, true, void 0, client).catch(() => {
1287
+ });
1288
+ }
1289
+ } else {
1290
+ await deliverMatrixReplies({
1291
+ cfg,
1292
+ replies: [payload],
1293
+ roomId,
1294
+ client,
1295
+ runtime,
1296
+ textLimit,
1297
+ replyToMode,
1298
+ threadId: threadTarget,
1299
+ accountId: _route.accountId,
1300
+ mediaLocalRoots,
1301
+ tableMode
1302
+ });
1303
+ }
1304
+ },
1305
+ onError: (err, info) => {
1306
+ if (info.kind === "final") {
1307
+ finalReplyDeliveryFailed = true;
1308
+ } else {
1309
+ nonFinalReplyDeliveryFailed = true;
1310
+ }
1311
+ if (info.kind === "block") {
1312
+ advanceDraftBlockBoundary({ fallbackToLatestEnd: true });
1313
+ }
1314
+ runtime.error?.(`matrix ${info.kind} reply failed: ${String(err)}`);
1315
+ },
1316
+ onReplyStart: typingCallbacks.onReplyStart,
1317
+ onIdle: typingCallbacks.onIdle
1318
+ });
1319
+ const { queuedFinal, counts } = await core.channel.reply.withReplyDispatcher({
1320
+ dispatcher,
1321
+ onSettled: () => {
1322
+ markDispatchIdle();
1323
+ },
1324
+ run: async () => {
1325
+ try {
1326
+ return await core.channel.reply.dispatchReplyFromConfig({
1327
+ ctx: ctxPayload,
1328
+ cfg,
1329
+ dispatcher,
1330
+ replyOptions: {
1331
+ ...replyOptions,
1332
+ skillFilter: roomConfig?.skills,
1333
+ // Keep block streaming enabled when explicitly requested, even
1334
+ // with draft previews on. The draft remains the live preview
1335
+ // for the current assistant block, while block deliveries
1336
+ // finalize completed blocks into their own preserved events.
1337
+ disableBlockStreaming: !blockStreamingEnabled,
1338
+ onPartialReply: draftStream ? (payload) => {
1339
+ latestDraftFullText = payload.text ?? "";
1340
+ updateDraftFromLatestFullText();
1341
+ } : void 0,
1342
+ onBlockReplyQueued: draftStream ? (payload, context) => {
1343
+ if (payload.isCompactionNotice === true) {
1344
+ return;
1345
+ }
1346
+ queueDraftBlockBoundary(payload, context);
1347
+ } : void 0,
1348
+ // Reset draft boundary bookkeeping on assistant message
1349
+ // boundaries so post-tool blocks stream from a fresh
1350
+ // cumulative payload (payload.text resets upstream).
1351
+ onAssistantMessageStart: draftStream ? () => {
1352
+ resetDraftBlockOffsets();
1353
+ } : void 0,
1354
+ onModelSelected
1355
+ }
1356
+ });
1357
+ } finally {
1358
+ markRunComplete();
1359
+ }
1360
+ }
1361
+ });
1362
+ if (finalReplyDeliveryFailed) {
1363
+ logVerboseMessage(
1364
+ `matrix: final reply delivery failed room=${roomId} id=${_messageId}; leaving event uncommitted`
1365
+ );
1366
+ return;
1367
+ }
1368
+ if (!queuedFinal && nonFinalReplyDeliveryFailed) {
1369
+ logVerboseMessage(
1370
+ `matrix: non-final reply delivery failed room=${roomId} id=${_messageId}; leaving event uncommitted`
1371
+ );
1372
+ return;
1373
+ }
1374
+ if (isRoom && triggerSnapshot) {
1375
+ roomHistoryTracker.consumeHistory(_route.agentId, roomId, triggerSnapshot, _messageId);
1376
+ }
1377
+ if (!queuedFinal) {
1378
+ await commitInboundEventIfClaimed();
1379
+ return;
1380
+ }
1381
+ const finalCount = counts.final;
1382
+ logVerboseMessage(
1383
+ `matrix: delivered ${finalCount} reply${finalCount === 1 ? "" : "ies"} to ${replyTarget}`
1384
+ );
1385
+ await commitInboundEventIfClaimed();
1386
+ } catch (err) {
1387
+ runtime.error?.(`matrix handler failed: ${String(err)}`);
1388
+ } finally {
1389
+ if (draftStreamRef) {
1390
+ const draftEventId = await draftStreamRef.stop().catch(() => void 0);
1391
+ if (draftEventId && !draftConsumed) {
1392
+ await redactMatrixDraftEvent(client, roomId, draftEventId);
1393
+ }
1394
+ }
1395
+ if (claimedInboundEvent && inboundDeduper && eventId) {
1396
+ inboundDeduper.releaseEvent({ roomId, eventId });
1397
+ }
1398
+ }
1399
+ };
1400
+ }
1401
+
1402
+ export {
1403
+ createMatrixRoomMessageHandler
1404
+ };
1405
+ //# sourceMappingURL=chunk-YWHH3MB6.js.map