@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
@@ -1,1524 +0,0 @@
1
- import { describe, expect, it, vi } from "vitest";
2
- import type { CoreConfig } from "../../types.js";
3
- import type { MatrixAuth } from "../client.js";
4
- import type { MatrixClient } from "../sdk.js";
5
- import type { MatrixVerificationSummary } from "../sdk/verification-manager.js";
6
- import { registerMatrixMonitorEvents } from "./events.js";
7
- import type { MatrixRawEvent } from "./types.js";
8
- import { EventType } from "./types.js";
9
-
10
- type RoomEventListener = (roomId: string, event: MatrixRawEvent) => void;
11
- type FailedDecryptListener = (roomId: string, event: MatrixRawEvent, error: Error) => Promise<void>;
12
- type VerificationSummaryListener = (summary: MatrixVerificationSummary) => void;
13
-
14
- function getSentNoticeBody(sendMessage: ReturnType<typeof vi.fn>, index = 0): string {
15
- const calls = sendMessage.mock.calls as unknown[][];
16
- return getSentNoticeBodyFromCall(calls[index] ?? []);
17
- }
18
-
19
- function getSentNoticeBodyFromCall(call: unknown[]): string {
20
- const payload = (call[1] ?? {}) as { body?: string };
21
- return payload.body ?? "";
22
- }
23
-
24
- function getSentNoticeBodies(sendMessage: ReturnType<typeof vi.fn>): string[] {
25
- return (sendMessage.mock.calls as unknown[][]).map(getSentNoticeBodyFromCall);
26
- }
27
-
28
- function createHarness(params?: {
29
- cfg?: CoreConfig;
30
- accountId?: string;
31
- authEncryption?: boolean;
32
- cryptoAvailable?: boolean;
33
- selfUserId?: string;
34
- selfUserIdError?: Error;
35
- allowFrom?: string[];
36
- dmEnabled?: boolean;
37
- dmPolicy?: "open" | "pairing" | "allowlist" | "disabled";
38
- storeAllowFrom?: string[];
39
- accountDataByType?: Record<string, unknown>;
40
- joinedMembersByRoom?: Record<string, string[]>;
41
- getJoinedRoomsError?: Error;
42
- memberStateByRoomUser?: Record<string, Record<string, { is_direct?: boolean }>>;
43
- verifications?: Array<{
44
- id: string;
45
- transactionId?: string;
46
- roomId?: string;
47
- otherUserId: string;
48
- updatedAt?: string;
49
- completed?: boolean;
50
- pending?: boolean;
51
- phase?: number;
52
- phaseName?: string;
53
- sas?: {
54
- decimal?: [number, number, number];
55
- emoji?: Array<[string, string]>;
56
- };
57
- }>;
58
- ensureVerificationDmTracked?: () => Promise<{
59
- id: string;
60
- transactionId?: string;
61
- roomId?: string;
62
- otherUserId: string;
63
- updatedAt?: string;
64
- completed?: boolean;
65
- pending?: boolean;
66
- phase?: number;
67
- phaseName?: string;
68
- sas?: {
69
- decimal?: [number, number, number];
70
- emoji?: Array<[string, string]>;
71
- };
72
- } | null>;
73
- }) {
74
- const listeners = new Map<string, (...args: unknown[]) => void>();
75
- const onRoomMessage = vi.fn(async () => {});
76
- const listVerifications = vi.fn(async () => params?.verifications ?? []);
77
- const ensureVerificationDmTracked = vi.fn(
78
- params?.ensureVerificationDmTracked ?? (async () => null),
79
- );
80
- const sendMessage = vi.fn(async (_roomId: string, _payload: { body?: string }) => "$notice");
81
- const invalidateRoom = vi.fn();
82
- const rememberInvite = vi.fn();
83
- const logger = { info: vi.fn(), warn: vi.fn(), error: vi.fn() };
84
- const formatNativeDependencyHint = vi.fn(() => "install hint");
85
- const logVerboseMessage = vi.fn();
86
- const readStoreAllowFrom = vi.fn(async () => params?.storeAllowFrom ?? []);
87
- const client = {
88
- on: vi.fn((eventName: string, listener: (...args: unknown[]) => void) => {
89
- listeners.set(eventName, listener);
90
- return client;
91
- }),
92
- sendMessage,
93
- getUserId: vi.fn(async () => {
94
- if (params?.selfUserIdError) {
95
- throw params.selfUserIdError;
96
- }
97
- return params?.selfUserId ?? "@bot:example.org";
98
- }),
99
- getJoinedRoomMembers: vi.fn(
100
- async (roomId: string) =>
101
- params?.joinedMembersByRoom?.[roomId] ?? ["@bot:example.org", "@alice:example.org"],
102
- ),
103
- getJoinedRooms: vi.fn(async () =>
104
- params?.getJoinedRoomsError
105
- ? await Promise.reject(params.getJoinedRoomsError)
106
- : Object.keys(params?.joinedMembersByRoom ?? {}).length > 0
107
- ? Object.keys(params?.joinedMembersByRoom ?? {})
108
- : ["!room:example.org"],
109
- ),
110
- getAccountData: vi.fn(
111
- async (eventType: string) =>
112
- (params?.accountDataByType?.[eventType] as Record<string, unknown> | undefined) ??
113
- undefined,
114
- ),
115
- getRoomStateEvent: vi.fn(
116
- async (roomId: string, _eventType: string, stateKey: string) =>
117
- params?.memberStateByRoomUser?.[roomId]?.[stateKey] ?? {},
118
- ),
119
- ...(params?.cryptoAvailable === false
120
- ? {}
121
- : {
122
- crypto: {
123
- listVerifications,
124
- ensureVerificationDmTracked,
125
- },
126
- }),
127
- } as unknown as MatrixClient;
128
-
129
- registerMatrixMonitorEvents({
130
- cfg: params?.cfg ?? { channels: { matrix: {} } },
131
- client,
132
- auth: {
133
- accountId: params?.accountId ?? "default",
134
- encryption: params?.authEncryption ?? true,
135
- } as MatrixAuth,
136
- allowFrom: params?.allowFrom ?? [],
137
- dmEnabled: params?.dmEnabled ?? true,
138
- dmPolicy: params?.dmPolicy ?? "open",
139
- readStoreAllowFrom,
140
- directTracker: {
141
- invalidateRoom,
142
- rememberInvite,
143
- },
144
- logVerboseMessage,
145
- warnedEncryptedRooms: new Set<string>(),
146
- warnedCryptoMissingRooms: new Set<string>(),
147
- logger,
148
- formatNativeDependencyHint,
149
- onRoomMessage,
150
- });
151
-
152
- const roomEventListener = listeners.get("room.event") as RoomEventListener | undefined;
153
- if (!roomEventListener) {
154
- throw new Error("room.event listener was not registered");
155
- }
156
-
157
- return {
158
- onRoomMessage,
159
- sendMessage,
160
- invalidateRoom,
161
- rememberInvite,
162
- roomEventListener,
163
- listVerifications,
164
- readStoreAllowFrom,
165
- logger,
166
- formatNativeDependencyHint,
167
- logVerboseMessage,
168
- roomMessageListener: listeners.get("room.message") as RoomEventListener | undefined,
169
- failedDecryptListener: listeners.get("room.failed_decryption") as
170
- | FailedDecryptListener
171
- | undefined,
172
- verificationSummaryListener: listeners.get("verification.summary") as
173
- | VerificationSummaryListener
174
- | undefined,
175
- roomInviteListener: listeners.get("room.invite") as RoomEventListener | undefined,
176
- roomJoinListener: listeners.get("room.join") as RoomEventListener | undefined,
177
- };
178
- }
179
-
180
- describe("registerMatrixMonitorEvents verification routing", () => {
181
- it("does not repost historical verification completions during startup catch-up", async () => {
182
- vi.useFakeTimers();
183
- vi.setSystemTime(new Date("2026-03-14T13:10:00.000Z"));
184
- try {
185
- const { sendMessage, roomEventListener } = createHarness();
186
-
187
- roomEventListener("!room:example.org", {
188
- event_id: "$done-old",
189
- sender: "@alice:example.org",
190
- type: "m.key.verification.done",
191
- origin_server_ts: Date.now() - 10 * 60 * 1000,
192
- content: {
193
- "m.relates_to": { event_id: "$req-old" },
194
- },
195
- });
196
-
197
- await vi.runAllTimersAsync();
198
- expect(sendMessage).not.toHaveBeenCalled();
199
- } finally {
200
- vi.useRealTimers();
201
- }
202
- });
203
-
204
- it("still posts fresh verification completions", async () => {
205
- const { sendMessage, roomEventListener } = createHarness();
206
-
207
- roomEventListener("!room:example.org", {
208
- event_id: "$done-fresh",
209
- sender: "@alice:example.org",
210
- type: "m.key.verification.done",
211
- origin_server_ts: Date.now(),
212
- content: {
213
- "m.relates_to": { event_id: "$req-fresh" },
214
- },
215
- });
216
-
217
- await vi.dynamicImportSettled();
218
- await vi.waitFor(() => {
219
- expect(sendMessage).toHaveBeenCalledTimes(1);
220
- });
221
- expect(getSentNoticeBody(sendMessage)).toContain(
222
- "Matrix verification completed with @alice:example.org.",
223
- );
224
- });
225
-
226
- it("forwards reaction room events into the shared room handler", async () => {
227
- const { onRoomMessage, sendMessage, roomEventListener } = createHarness();
228
-
229
- roomEventListener("!room:example.org", {
230
- event_id: "$reaction1",
231
- sender: "@alice:example.org",
232
- type: EventType.Reaction,
233
- origin_server_ts: Date.now(),
234
- content: {
235
- "m.relates_to": {
236
- rel_type: "m.annotation",
237
- event_id: "$msg1",
238
- key: "👍",
239
- },
240
- },
241
- });
242
-
243
- await vi.waitFor(() => {
244
- expect(onRoomMessage).toHaveBeenCalledWith(
245
- "!room:example.org",
246
- expect.objectContaining({ event_id: "$reaction1", type: EventType.Reaction }),
247
- );
248
- });
249
- expect(sendMessage).not.toHaveBeenCalled();
250
- });
251
-
252
- it("invalidates direct-room membership cache on room member events", async () => {
253
- const { invalidateRoom, roomEventListener } = createHarness();
254
-
255
- roomEventListener("!room:example.org", {
256
- event_id: "$member1",
257
- sender: "@alice:example.org",
258
- state_key: "@mallory:example.org",
259
- type: EventType.RoomMember,
260
- origin_server_ts: Date.now(),
261
- content: {
262
- membership: "join",
263
- },
264
- });
265
-
266
- expect(invalidateRoom).toHaveBeenCalledWith("!room:example.org");
267
- });
268
-
269
- it("remembers invite provenance on room invites", async () => {
270
- const { invalidateRoom, rememberInvite, roomInviteListener } = createHarness();
271
- if (!roomInviteListener) {
272
- throw new Error("room.invite listener was not registered");
273
- }
274
-
275
- roomInviteListener("!room:example.org", {
276
- event_id: "$invite1",
277
- sender: "@alice:example.org",
278
- type: EventType.RoomMember,
279
- origin_server_ts: Date.now(),
280
- content: {
281
- membership: "invite",
282
- is_direct: true,
283
- },
284
- state_key: "@bot:example.org",
285
- });
286
-
287
- expect(invalidateRoom).toHaveBeenCalledWith("!room:example.org");
288
- expect(rememberInvite).toHaveBeenCalledWith("!room:example.org", "@alice:example.org");
289
- });
290
-
291
- it("ignores lifecycle-only invite events emitted with self sender ids", async () => {
292
- const { invalidateRoom, rememberInvite, roomInviteListener } = createHarness();
293
- if (!roomInviteListener) {
294
- throw new Error("room.invite listener was not registered");
295
- }
296
-
297
- roomInviteListener("!room:example.org", {
298
- event_id: "$invite-self",
299
- sender: "@bot:example.org",
300
- type: EventType.RoomMember,
301
- origin_server_ts: Date.now(),
302
- content: {
303
- membership: "invite",
304
- },
305
- state_key: "@bot:example.org",
306
- });
307
-
308
- expect(invalidateRoom).toHaveBeenCalledWith("!room:example.org");
309
- expect(rememberInvite).not.toHaveBeenCalled();
310
- });
311
-
312
- it("remembers invite provenance even when Matrix omits the direct invite hint", async () => {
313
- const { invalidateRoom, rememberInvite, roomInviteListener } = createHarness();
314
- if (!roomInviteListener) {
315
- throw new Error("room.invite listener was not registered");
316
- }
317
-
318
- roomInviteListener("!room:example.org", {
319
- event_id: "$invite-group",
320
- sender: "@alice:example.org",
321
- type: EventType.RoomMember,
322
- origin_server_ts: Date.now(),
323
- content: {
324
- membership: "invite",
325
- },
326
- state_key: "@bot:example.org",
327
- });
328
-
329
- expect(invalidateRoom).toHaveBeenCalledWith("!room:example.org");
330
- expect(rememberInvite).toHaveBeenCalledWith("!room:example.org", "@alice:example.org");
331
- });
332
-
333
- it("does not synthesize invite provenance from room joins", async () => {
334
- const { invalidateRoom, rememberInvite, roomJoinListener } = createHarness();
335
- if (!roomJoinListener) {
336
- throw new Error("room.join listener was not registered");
337
- }
338
-
339
- roomJoinListener("!room:example.org", {
340
- event_id: "$join1",
341
- sender: "@bot:example.org",
342
- type: EventType.RoomMember,
343
- origin_server_ts: Date.now(),
344
- content: {
345
- membership: "join",
346
- },
347
- state_key: "@bot:example.org",
348
- });
349
-
350
- expect(invalidateRoom).toHaveBeenCalledWith("!room:example.org");
351
- expect(rememberInvite).not.toHaveBeenCalled();
352
- });
353
-
354
- it("posts verification request notices directly into the room", async () => {
355
- const { onRoomMessage, sendMessage, roomMessageListener } = createHarness();
356
- if (!roomMessageListener) {
357
- throw new Error("room.message listener was not registered");
358
- }
359
- roomMessageListener("!room:example.org", {
360
- event_id: "$req1",
361
- sender: "@alice:example.org",
362
- type: EventType.RoomMessage,
363
- origin_server_ts: Date.now(),
364
- content: {
365
- msgtype: "m.key.verification.request",
366
- body: "verification request",
367
- },
368
- });
369
-
370
- await vi.waitFor(() => {
371
- expect(sendMessage).toHaveBeenCalledTimes(1);
372
- });
373
- expect(onRoomMessage).not.toHaveBeenCalled();
374
- const body = getSentNoticeBody(sendMessage, 0);
375
- expect(body).toContain("Matrix verification request received from @alice:example.org.");
376
- expect(body).toContain('Open "Verify by emoji"');
377
- });
378
-
379
- it("blocks verification request notices when dmPolicy pairing would block the sender", async () => {
380
- const { onRoomMessage, sendMessage, roomMessageListener, logVerboseMessage } = createHarness({
381
- dmPolicy: "pairing",
382
- });
383
- if (!roomMessageListener) {
384
- throw new Error("room.message listener was not registered");
385
- }
386
-
387
- roomMessageListener("!room:example.org", {
388
- event_id: "$req-pairing-blocked",
389
- sender: "@alice:example.org",
390
- type: EventType.RoomMessage,
391
- origin_server_ts: Date.now(),
392
- content: {
393
- msgtype: "m.key.verification.request",
394
- body: "verification request",
395
- },
396
- });
397
-
398
- await vi.waitFor(() => {
399
- expect(logVerboseMessage).toHaveBeenCalledWith(
400
- expect.stringContaining("blocked verification sender @alice:example.org"),
401
- );
402
- });
403
- expect(sendMessage).not.toHaveBeenCalled();
404
- expect(onRoomMessage).not.toHaveBeenCalled();
405
- });
406
-
407
- it("allows verification notices for pairing-authorized DM senders from the allow store", async () => {
408
- const { sendMessage, roomMessageListener, readStoreAllowFrom } = createHarness({
409
- dmPolicy: "pairing",
410
- storeAllowFrom: ["@alice:example.org"],
411
- });
412
- if (!roomMessageListener) {
413
- throw new Error("room.message listener was not registered");
414
- }
415
-
416
- roomMessageListener("!room:example.org", {
417
- event_id: "$req-pairing-allowed",
418
- sender: "@alice:example.org",
419
- type: EventType.RoomMessage,
420
- origin_server_ts: Date.now(),
421
- content: {
422
- msgtype: "m.key.verification.request",
423
- body: "verification request",
424
- },
425
- });
426
-
427
- await vi.waitFor(() => {
428
- expect(sendMessage).toHaveBeenCalledTimes(1);
429
- });
430
- expect(readStoreAllowFrom).toHaveBeenCalled();
431
- });
432
-
433
- it("does not consult the allow store when dmPolicy is open", async () => {
434
- const { sendMessage, roomMessageListener, readStoreAllowFrom } = createHarness({
435
- dmPolicy: "open",
436
- });
437
- if (!roomMessageListener) {
438
- throw new Error("room.message listener was not registered");
439
- }
440
-
441
- roomMessageListener("!room:example.org", {
442
- event_id: "$req-open-policy",
443
- sender: "@alice:example.org",
444
- type: EventType.RoomMessage,
445
- origin_server_ts: Date.now(),
446
- content: {
447
- msgtype: "m.key.verification.request",
448
- body: "verification request",
449
- },
450
- });
451
-
452
- await vi.waitFor(() => {
453
- expect(sendMessage).toHaveBeenCalledTimes(1);
454
- });
455
- expect(readStoreAllowFrom).not.toHaveBeenCalled();
456
- });
457
-
458
- it("blocks verification notices when Matrix DMs are disabled", async () => {
459
- const { sendMessage, roomMessageListener, logVerboseMessage } = createHarness({
460
- dmEnabled: false,
461
- });
462
- if (!roomMessageListener) {
463
- throw new Error("room.message listener was not registered");
464
- }
465
-
466
- roomMessageListener("!room:example.org", {
467
- event_id: "$req-dm-disabled",
468
- sender: "@alice:example.org",
469
- type: EventType.RoomMessage,
470
- origin_server_ts: Date.now(),
471
- content: {
472
- msgtype: "m.key.verification.request",
473
- body: "verification request",
474
- },
475
- });
476
-
477
- await vi.waitFor(() => {
478
- expect(logVerboseMessage).toHaveBeenCalledWith(
479
- expect.stringContaining("blocked verification sender @alice:example.org"),
480
- );
481
- });
482
- expect(sendMessage).not.toHaveBeenCalled();
483
- });
484
-
485
- it("posts ready-stage guidance for emoji verification", async () => {
486
- const { sendMessage, roomEventListener } = createHarness();
487
- roomEventListener("!room:example.org", {
488
- event_id: "$ready-1",
489
- sender: "@alice:example.org",
490
- type: "m.key.verification.ready",
491
- origin_server_ts: Date.now(),
492
- content: {
493
- "m.relates_to": { event_id: "$req-ready-1" },
494
- },
495
- });
496
-
497
- await vi.waitFor(() => {
498
- expect(sendMessage).toHaveBeenCalledTimes(1);
499
- });
500
- const body = getSentNoticeBody(sendMessage, 0);
501
- expect(body).toContain("Matrix verification is ready with @alice:example.org.");
502
- expect(body).toContain('Choose "Verify by emoji"');
503
- });
504
-
505
- it("posts SAS emoji/decimal details when verification summaries expose them", async () => {
506
- const {
507
- sendMessage,
508
- roomEventListener,
509
- listVerifications: _listVerifications,
510
- } = createHarness({
511
- joinedMembersByRoom: {
512
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
513
- },
514
- verifications: [
515
- {
516
- id: "verification-1",
517
- transactionId: "$different-flow-id",
518
- updatedAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
519
- otherUserId: "@alice:example.org",
520
- sas: {
521
- decimal: [6158, 1986, 3513],
522
- emoji: [
523
- ["🎁", "Gift"],
524
- ["🌍", "Globe"],
525
- ["🐴", "Horse"],
526
- ],
527
- },
528
- },
529
- ],
530
- });
531
-
532
- roomEventListener("!dm:example.org", {
533
- event_id: "$start2",
534
- sender: "@alice:example.org",
535
- type: "m.key.verification.start",
536
- origin_server_ts: Date.now(),
537
- content: {
538
- "m.relates_to": { event_id: "$req2" },
539
- },
540
- });
541
-
542
- await vi.waitFor(() => {
543
- const bodies = getSentNoticeBodies(sendMessage);
544
- expect(bodies.some((body) => body.includes("SAS emoji:"))).toBe(true);
545
- expect(bodies.some((body) => body.includes("SAS decimal: 6158 1986 3513"))).toBe(true);
546
- });
547
- });
548
-
549
- it("rehydrates an in-progress DM verification before resolving SAS notices", async () => {
550
- const verifications: Array<{
551
- id: string;
552
- transactionId?: string;
553
- roomId?: string;
554
- otherUserId: string;
555
- updatedAt?: string;
556
- completed?: boolean;
557
- pending?: boolean;
558
- phase?: number;
559
- phaseName?: string;
560
- sas?: {
561
- decimal?: [number, number, number];
562
- emoji?: Array<[string, string]>;
563
- };
564
- }> = [];
565
- const { sendMessage, roomEventListener } = createHarness({
566
- joinedMembersByRoom: {
567
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
568
- },
569
- verifications,
570
- ensureVerificationDmTracked: async () => {
571
- verifications.splice(0, verifications.length, {
572
- id: "verification-rehydrated",
573
- transactionId: "$req-hydrated",
574
- roomId: "!dm:example.org",
575
- otherUserId: "@alice:example.org",
576
- updatedAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
577
- phase: 3,
578
- phaseName: "started",
579
- pending: true,
580
- sas: {
581
- decimal: [2468, 1357, 9753],
582
- emoji: [
583
- ["🔔", "Bell"],
584
- ["📁", "Folder"],
585
- ["🐴", "Horse"],
586
- ],
587
- },
588
- });
589
- return verifications[0] ?? null;
590
- },
591
- });
592
-
593
- roomEventListener("!dm:example.org", {
594
- event_id: "$start-hydrated",
595
- sender: "@alice:example.org",
596
- type: "m.key.verification.start",
597
- origin_server_ts: Date.now(),
598
- content: {
599
- "m.relates_to": { event_id: "$req-hydrated" },
600
- },
601
- });
602
-
603
- await vi.waitFor(() => {
604
- const bodies = getSentNoticeBodies(sendMessage);
605
- expect(bodies.some((body) => body.includes("SAS decimal: 2468 1357 9753"))).toBe(true);
606
- });
607
- });
608
-
609
- it("posts SAS notices directly from verification summary updates", async () => {
610
- const { sendMessage, verificationSummaryListener } = createHarness({
611
- joinedMembersByRoom: {
612
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
613
- },
614
- });
615
- if (!verificationSummaryListener) {
616
- throw new Error("verification.summary listener was not registered");
617
- }
618
-
619
- verificationSummaryListener({
620
- id: "verification-direct",
621
- roomId: "!dm:example.org",
622
- otherUserId: "@alice:example.org",
623
- isSelfVerification: false,
624
- initiatedByMe: false,
625
- phase: 3,
626
- phaseName: "started",
627
- pending: true,
628
- methods: ["m.sas.v1"],
629
- canAccept: false,
630
- hasSas: true,
631
- sas: {
632
- decimal: [6158, 1986, 3513],
633
- emoji: [
634
- ["🎁", "Gift"],
635
- ["🌍", "Globe"],
636
- ["🐴", "Horse"],
637
- ],
638
- },
639
- hasReciprocateQr: false,
640
- completed: false,
641
- createdAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
642
- updatedAt: new Date("2026-02-25T21:42:55.000Z").toISOString(),
643
- });
644
-
645
- await vi.waitFor(() => {
646
- expect(sendMessage).toHaveBeenCalledTimes(1);
647
- });
648
- const body = getSentNoticeBody(sendMessage, 0);
649
- expect(body).toContain("Matrix verification SAS with @alice:example.org:");
650
- expect(body).toContain("SAS decimal: 6158 1986 3513");
651
- });
652
-
653
- it("blocks summary SAS notices when dmPolicy allowlist would block the sender", async () => {
654
- const { sendMessage, verificationSummaryListener, logVerboseMessage } = createHarness({
655
- dmPolicy: "allowlist",
656
- joinedMembersByRoom: {
657
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
658
- },
659
- });
660
- if (!verificationSummaryListener) {
661
- throw new Error("verification.summary listener was not registered");
662
- }
663
-
664
- verificationSummaryListener({
665
- id: "verification-blocked-summary",
666
- roomId: "!dm:example.org",
667
- otherUserId: "@alice:example.org",
668
- isSelfVerification: false,
669
- initiatedByMe: false,
670
- phase: 3,
671
- phaseName: "started",
672
- pending: true,
673
- methods: ["m.sas.v1"],
674
- canAccept: false,
675
- hasSas: true,
676
- sas: {
677
- decimal: [6158, 1986, 3513],
678
- emoji: [
679
- ["🎁", "Gift"],
680
- ["🌍", "Globe"],
681
- ["🐴", "Horse"],
682
- ],
683
- },
684
- hasReciprocateQr: false,
685
- completed: false,
686
- createdAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
687
- updatedAt: new Date("2026-02-25T21:42:55.000Z").toISOString(),
688
- });
689
-
690
- await vi.waitFor(() => {
691
- expect(logVerboseMessage).toHaveBeenCalledWith(
692
- expect.stringContaining("blocked verification sender @alice:example.org"),
693
- );
694
- });
695
- expect(sendMessage).not.toHaveBeenCalled();
696
- });
697
-
698
- it("posts SAS notices from summary updates using the room mapped by earlier flow events", async () => {
699
- const { sendMessage, roomEventListener, verificationSummaryListener } = createHarness({
700
- joinedMembersByRoom: {
701
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
702
- },
703
- });
704
- if (!verificationSummaryListener) {
705
- throw new Error("verification.summary listener was not registered");
706
- }
707
-
708
- roomEventListener("!dm:example.org", {
709
- event_id: "$start-mapped",
710
- sender: "@alice:example.org",
711
- type: "m.key.verification.start",
712
- origin_server_ts: Date.now(),
713
- content: {
714
- transaction_id: "txn-mapped-room",
715
- "m.relates_to": { event_id: "$req-mapped" },
716
- },
717
- });
718
-
719
- verificationSummaryListener({
720
- id: "verification-mapped",
721
- transactionId: "txn-mapped-room",
722
- otherUserId: "@alice:example.org",
723
- isSelfVerification: false,
724
- initiatedByMe: false,
725
- phase: 3,
726
- phaseName: "started",
727
- pending: true,
728
- methods: ["m.sas.v1"],
729
- canAccept: false,
730
- hasSas: true,
731
- sas: {
732
- decimal: [1111, 2222, 3333],
733
- emoji: [
734
- ["🚀", "Rocket"],
735
- ["🦋", "Butterfly"],
736
- ["📕", "Book"],
737
- ],
738
- },
739
- hasReciprocateQr: false,
740
- completed: false,
741
- createdAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
742
- updatedAt: new Date("2026-02-25T21:42:55.000Z").toISOString(),
743
- });
744
-
745
- await vi.waitFor(() => {
746
- const bodies = getSentNoticeBodies(sendMessage);
747
- expect(bodies.some((body) => body.includes("SAS decimal: 1111 2222 3333"))).toBe(true);
748
- });
749
- });
750
-
751
- it("posts SAS notices from summary updates using the active strict DM when room mapping is missing", async () => {
752
- const { sendMessage, verificationSummaryListener } = createHarness({
753
- joinedMembersByRoom: {
754
- "!dm-active:example.org": ["@alice:example.org", "@bot:example.org"],
755
- },
756
- });
757
- if (!verificationSummaryListener) {
758
- throw new Error("verification.summary listener was not registered");
759
- }
760
-
761
- verificationSummaryListener({
762
- id: "verification-unmapped",
763
- otherUserId: "@alice:example.org",
764
- isSelfVerification: false,
765
- initiatedByMe: false,
766
- phase: 3,
767
- phaseName: "started",
768
- pending: true,
769
- methods: ["m.sas.v1"],
770
- canAccept: false,
771
- hasSas: true,
772
- sas: {
773
- decimal: [4321, 8765, 2109],
774
- emoji: [
775
- ["🚀", "Rocket"],
776
- ["🦋", "Butterfly"],
777
- ["📕", "Book"],
778
- ],
779
- },
780
- hasReciprocateQr: false,
781
- completed: false,
782
- createdAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
783
- updatedAt: new Date("2026-02-25T21:42:55.000Z").toISOString(),
784
- });
785
-
786
- await vi.waitFor(() => {
787
- expect(sendMessage).toHaveBeenCalledTimes(1);
788
- });
789
- const roomId = ((sendMessage.mock.calls as unknown[][])[0]?.[0] ?? "") as string;
790
- const body = getSentNoticeBody(sendMessage, 0);
791
- expect(roomId).toBe("!dm-active:example.org");
792
- expect(body).toContain("SAS decimal: 4321 8765 2109");
793
- });
794
-
795
- it("prefers the canonical active DM over the most recent verification room for unmapped SAS summaries", async () => {
796
- const { sendMessage, roomEventListener, verificationSummaryListener } = createHarness({
797
- joinedMembersByRoom: {
798
- "!dm-active:example.org": ["@alice:example.org", "@bot:example.org"],
799
- "!dm-current:example.org": ["@alice:example.org", "@bot:example.org"],
800
- },
801
- });
802
- if (!verificationSummaryListener) {
803
- throw new Error("verification.summary listener was not registered");
804
- }
805
-
806
- roomEventListener("!dm-current:example.org", {
807
- event_id: "$start-current",
808
- sender: "@alice:example.org",
809
- type: "m.key.verification.start",
810
- origin_server_ts: Date.now(),
811
- content: {
812
- "m.relates_to": { event_id: "$req-current" },
813
- },
814
- });
815
-
816
- await vi.waitFor(() => {
817
- const bodies = getSentNoticeBodies(sendMessage);
818
- expect(bodies.some((body) => body.includes("Matrix verification started with"))).toBe(true);
819
- });
820
-
821
- verificationSummaryListener({
822
- id: "verification-current-room",
823
- otherUserId: "@alice:example.org",
824
- isSelfVerification: false,
825
- initiatedByMe: false,
826
- phase: 3,
827
- phaseName: "started",
828
- pending: true,
829
- methods: ["m.sas.v1"],
830
- canAccept: false,
831
- hasSas: true,
832
- sas: {
833
- decimal: [2468, 1357, 9753],
834
- emoji: [
835
- ["🔔", "Bell"],
836
- ["📁", "Folder"],
837
- ["🐴", "Horse"],
838
- ],
839
- },
840
- hasReciprocateQr: false,
841
- completed: false,
842
- createdAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
843
- updatedAt: new Date("2026-02-25T21:42:55.000Z").toISOString(),
844
- });
845
-
846
- await vi.waitFor(() => {
847
- const bodies = getSentNoticeBodies(sendMessage);
848
- expect(bodies.some((body) => body.includes("SAS decimal: 2468 1357 9753"))).toBe(true);
849
- });
850
- const calls = sendMessage.mock.calls as unknown[][];
851
- const sasCall = calls.find((call) =>
852
- getSentNoticeBodyFromCall(call).includes("SAS decimal: 2468 1357 9753"),
853
- );
854
- expect((sasCall?.[0] ?? "") as string).toBe("!dm-active:example.org");
855
- });
856
-
857
- it("retries SAS notice lookup when start arrives before SAS payload is available", async () => {
858
- vi.useFakeTimers();
859
- const verifications: Array<{
860
- id: string;
861
- transactionId?: string;
862
- otherUserId: string;
863
- updatedAt?: string;
864
- sas?: {
865
- decimal?: [number, number, number];
866
- emoji?: Array<[string, string]>;
867
- };
868
- }> = [
869
- {
870
- id: "verification-race",
871
- transactionId: "$req-race",
872
- updatedAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
873
- otherUserId: "@alice:example.org",
874
- },
875
- ];
876
- const { sendMessage, roomEventListener } = createHarness({
877
- joinedMembersByRoom: {
878
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
879
- },
880
- verifications,
881
- });
882
-
883
- try {
884
- roomEventListener("!dm:example.org", {
885
- event_id: "$start-race",
886
- sender: "@alice:example.org",
887
- type: "m.key.verification.start",
888
- origin_server_ts: Date.now(),
889
- content: {
890
- "m.relates_to": { event_id: "$req-race" },
891
- },
892
- });
893
-
894
- await vi.advanceTimersByTimeAsync(500);
895
- verifications[0] = {
896
- ...verifications[0],
897
- sas: {
898
- decimal: [1234, 5678, 9012],
899
- emoji: [
900
- ["🚀", "Rocket"],
901
- ["🦋", "Butterfly"],
902
- ["📕", "Book"],
903
- ],
904
- },
905
- };
906
- await vi.advanceTimersByTimeAsync(500);
907
-
908
- await vi.waitFor(() => {
909
- const bodies = getSentNoticeBodies(sendMessage);
910
- expect(bodies.some((body) => body.includes("SAS emoji:"))).toBe(true);
911
- });
912
- } finally {
913
- vi.useRealTimers();
914
- }
915
- });
916
-
917
- it("ignores verification notices in unrelated non-DM rooms", async () => {
918
- const { sendMessage, roomEventListener } = createHarness({
919
- joinedMembersByRoom: {
920
- "!group:example.org": ["@alice:example.org", "@bot:example.org", "@ops:example.org"],
921
- },
922
- verifications: [
923
- {
924
- id: "verification-2",
925
- transactionId: "$different-flow-id",
926
- otherUserId: "@alice:example.org",
927
- updatedAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
928
- sas: {
929
- decimal: [6158, 1986, 3513],
930
- emoji: [
931
- ["🎁", "Gift"],
932
- ["🌍", "Globe"],
933
- ["🐴", "Horse"],
934
- ],
935
- },
936
- },
937
- ],
938
- });
939
-
940
- roomEventListener("!group:example.org", {
941
- event_id: "$start-group",
942
- sender: "@alice:example.org",
943
- type: "m.key.verification.start",
944
- origin_server_ts: Date.now(),
945
- content: {
946
- "m.relates_to": { event_id: "$req-group" },
947
- },
948
- });
949
-
950
- await vi.waitFor(() => {
951
- expect(sendMessage).toHaveBeenCalledTimes(0);
952
- });
953
- });
954
-
955
- it("routes unmapped verification summaries to the room marked direct in member state", async () => {
956
- const { sendMessage, verificationSummaryListener } = createHarness({
957
- joinedMembersByRoom: {
958
- "!fallback:example.org": ["@alice:example.org", "@bot:example.org"],
959
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
960
- },
961
- memberStateByRoomUser: {
962
- "!dm:example.org": {
963
- "@bot:example.org": { is_direct: true },
964
- },
965
- },
966
- });
967
- if (!verificationSummaryListener) {
968
- throw new Error("verification.summary listener was not registered");
969
- }
970
-
971
- verificationSummaryListener({
972
- id: "verification-explicit-room",
973
- otherUserId: "@alice:example.org",
974
- isSelfVerification: false,
975
- initiatedByMe: false,
976
- phase: 3,
977
- phaseName: "started",
978
- pending: true,
979
- methods: ["m.sas.v1"],
980
- canAccept: false,
981
- hasSas: true,
982
- sas: {
983
- decimal: [6158, 1986, 3513],
984
- emoji: [
985
- ["🎁", "Gift"],
986
- ["🌍", "Globe"],
987
- ["🐴", "Horse"],
988
- ],
989
- },
990
- hasReciprocateQr: false,
991
- completed: false,
992
- createdAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
993
- updatedAt: new Date("2026-02-25T21:42:55.000Z").toISOString(),
994
- });
995
-
996
- await vi.waitFor(() => {
997
- expect(sendMessage).toHaveBeenCalledTimes(1);
998
- });
999
- expect((sendMessage.mock.calls as unknown[][])[0]?.[0]).toBe("!dm:example.org");
1000
- });
1001
-
1002
- it("prefers the active direct room over a stale remembered strict room for unmapped summaries", async () => {
1003
- const { sendMessage, roomEventListener, verificationSummaryListener } = createHarness({
1004
- joinedMembersByRoom: {
1005
- "!fallback:example.org": ["@alice:example.org", "@bot:example.org"],
1006
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
1007
- },
1008
- memberStateByRoomUser: {
1009
- "!dm:example.org": {
1010
- "@bot:example.org": { is_direct: true },
1011
- },
1012
- },
1013
- });
1014
- if (!verificationSummaryListener) {
1015
- throw new Error("verification.summary listener was not registered");
1016
- }
1017
-
1018
- roomEventListener("!fallback:example.org", {
1019
- event_id: "$start-fallback",
1020
- sender: "@alice:example.org",
1021
- type: "m.key.verification.start",
1022
- origin_server_ts: Date.now(),
1023
- content: {
1024
- "m.relates_to": { event_id: "$req-fallback" },
1025
- },
1026
- });
1027
-
1028
- await vi.waitFor(() => {
1029
- expect(sendMessage).toHaveBeenCalledTimes(1);
1030
- });
1031
- sendMessage.mockClear();
1032
-
1033
- verificationSummaryListener({
1034
- id: "verification-stale-room",
1035
- otherUserId: "@alice:example.org",
1036
- isSelfVerification: false,
1037
- initiatedByMe: false,
1038
- phase: 3,
1039
- phaseName: "started",
1040
- pending: true,
1041
- methods: ["m.sas.v1"],
1042
- canAccept: false,
1043
- hasSas: true,
1044
- sas: {
1045
- decimal: [6158, 1986, 3513],
1046
- emoji: [
1047
- ["🎁", "Gift"],
1048
- ["🌍", "Globe"],
1049
- ["🐴", "Horse"],
1050
- ],
1051
- },
1052
- hasReciprocateQr: false,
1053
- completed: false,
1054
- createdAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
1055
- updatedAt: new Date("2026-02-25T21:42:55.000Z").toISOString(),
1056
- });
1057
-
1058
- await vi.waitFor(() => {
1059
- expect(sendMessage).toHaveBeenCalledTimes(1);
1060
- });
1061
- expect((sendMessage.mock.calls as unknown[][])[0]?.[0]).toBe("!dm:example.org");
1062
- });
1063
-
1064
- it("does not emit duplicate SAS notices for the same verification payload", async () => {
1065
- const { sendMessage, roomEventListener, listVerifications } = createHarness({
1066
- verifications: [
1067
- {
1068
- id: "verification-3",
1069
- transactionId: "$req3",
1070
- otherUserId: "@alice:example.org",
1071
- sas: {
1072
- decimal: [1111, 2222, 3333],
1073
- emoji: [
1074
- ["🚀", "Rocket"],
1075
- ["🦋", "Butterfly"],
1076
- ["📕", "Book"],
1077
- ],
1078
- },
1079
- },
1080
- ],
1081
- });
1082
-
1083
- roomEventListener("!room:example.org", {
1084
- event_id: "$start3",
1085
- sender: "@alice:example.org",
1086
- type: "m.key.verification.start",
1087
- origin_server_ts: Date.now(),
1088
- content: {
1089
- "m.relates_to": { event_id: "$req3" },
1090
- },
1091
- });
1092
- await vi.waitFor(() => {
1093
- expect(sendMessage.mock.calls.length).toBeGreaterThan(0);
1094
- });
1095
-
1096
- roomEventListener("!room:example.org", {
1097
- event_id: "$key3",
1098
- sender: "@alice:example.org",
1099
- type: "m.key.verification.key",
1100
- origin_server_ts: Date.now(),
1101
- content: {
1102
- "m.relates_to": { event_id: "$req3" },
1103
- },
1104
- });
1105
- await vi.waitFor(() => {
1106
- expect(listVerifications).toHaveBeenCalledTimes(2);
1107
- });
1108
-
1109
- const sasBodies = getSentNoticeBodies(sendMessage).filter((body) =>
1110
- body.includes("SAS emoji:"),
1111
- );
1112
- expect(sasBodies).toHaveLength(1);
1113
- });
1114
-
1115
- it("ignores cancelled verification flows when DM fallback resolves SAS notices", async () => {
1116
- const { sendMessage, roomEventListener } = createHarness({
1117
- joinedMembersByRoom: {
1118
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
1119
- },
1120
- verifications: [
1121
- {
1122
- id: "verification-old-cancelled",
1123
- transactionId: "$old-flow",
1124
- otherUserId: "@alice:example.org",
1125
- updatedAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
1126
- phaseName: "cancelled",
1127
- phase: 4,
1128
- pending: false,
1129
- sas: {
1130
- decimal: [1111, 2222, 3333],
1131
- emoji: [
1132
- ["🚀", "Rocket"],
1133
- ["🦋", "Butterfly"],
1134
- ["📕", "Book"],
1135
- ],
1136
- },
1137
- },
1138
- {
1139
- id: "verification-new-active",
1140
- transactionId: "$different-flow-id",
1141
- otherUserId: "@alice:example.org",
1142
- updatedAt: new Date("2026-02-25T21:43:54.000Z").toISOString(),
1143
- phaseName: "started",
1144
- phase: 3,
1145
- pending: true,
1146
- sas: {
1147
- decimal: [6158, 1986, 3513],
1148
- emoji: [
1149
- ["🎁", "Gift"],
1150
- ["🌍", "Globe"],
1151
- ["🐴", "Horse"],
1152
- ],
1153
- },
1154
- },
1155
- ],
1156
- });
1157
-
1158
- roomEventListener("!dm:example.org", {
1159
- event_id: "$start-active",
1160
- sender: "@alice:example.org",
1161
- type: "m.key.verification.start",
1162
- origin_server_ts: Date.now(),
1163
- content: {
1164
- "m.relates_to": { event_id: "$req-active" },
1165
- },
1166
- });
1167
-
1168
- await vi.waitFor(() => {
1169
- const bodies = getSentNoticeBodies(sendMessage);
1170
- expect(bodies.some((body) => body.includes("SAS decimal: 6158 1986 3513"))).toBe(true);
1171
- });
1172
- const bodies = getSentNoticeBodies(sendMessage);
1173
- expect(bodies.some((body) => body.includes("SAS decimal: 1111 2222 3333"))).toBe(false);
1174
- });
1175
-
1176
- it("preserves strict-room SAS fallback when active DM inspection cannot resolve a room", async () => {
1177
- const { sendMessage, roomEventListener } = createHarness({
1178
- joinedMembersByRoom: {
1179
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
1180
- },
1181
- getJoinedRoomsError: new Error("temporary joined-room lookup failure"),
1182
- verifications: [
1183
- {
1184
- id: "verification-active",
1185
- transactionId: "$different-flow-id",
1186
- otherUserId: "@alice:example.org",
1187
- updatedAt: new Date("2026-02-25T21:43:54.000Z").toISOString(),
1188
- phaseName: "started",
1189
- phase: 3,
1190
- pending: true,
1191
- sas: {
1192
- decimal: [6158, 1986, 3513],
1193
- emoji: [
1194
- ["🎁", "Gift"],
1195
- ["🌍", "Globe"],
1196
- ["🐴", "Horse"],
1197
- ],
1198
- },
1199
- },
1200
- ],
1201
- });
1202
-
1203
- roomEventListener("!dm:example.org", {
1204
- event_id: "$start-active",
1205
- sender: "@alice:example.org",
1206
- type: "m.key.verification.start",
1207
- origin_server_ts: Date.now(),
1208
- content: {
1209
- "m.relates_to": { event_id: "$req-active" },
1210
- },
1211
- });
1212
-
1213
- await vi.waitFor(() => {
1214
- const bodies = getSentNoticeBodies(sendMessage);
1215
- expect(bodies.some((body) => body.includes("SAS decimal: 6158 1986 3513"))).toBe(true);
1216
- });
1217
- });
1218
-
1219
- it("prefers the active verification for the current DM when multiple active summaries exist", async () => {
1220
- const { sendMessage, roomEventListener } = createHarness({
1221
- joinedMembersByRoom: {
1222
- "!dm-current:example.org": ["@alice:example.org", "@bot:example.org"],
1223
- },
1224
- verifications: [
1225
- {
1226
- id: "verification-other-room",
1227
- roomId: "!dm-other:example.org",
1228
- transactionId: "$different-flow-other",
1229
- otherUserId: "@alice:example.org",
1230
- updatedAt: new Date("2026-02-25T21:44:54.000Z").toISOString(),
1231
- phaseName: "started",
1232
- phase: 3,
1233
- pending: true,
1234
- sas: {
1235
- decimal: [1111, 2222, 3333],
1236
- emoji: [
1237
- ["🚀", "Rocket"],
1238
- ["🦋", "Butterfly"],
1239
- ["📕", "Book"],
1240
- ],
1241
- },
1242
- },
1243
- {
1244
- id: "verification-current-room",
1245
- roomId: "!dm-current:example.org",
1246
- transactionId: "$different-flow-current",
1247
- otherUserId: "@alice:example.org",
1248
- updatedAt: new Date("2026-02-25T21:43:54.000Z").toISOString(),
1249
- phaseName: "started",
1250
- phase: 3,
1251
- pending: true,
1252
- sas: {
1253
- decimal: [6158, 1986, 3513],
1254
- emoji: [
1255
- ["🎁", "Gift"],
1256
- ["🌍", "Globe"],
1257
- ["🐴", "Horse"],
1258
- ],
1259
- },
1260
- },
1261
- ],
1262
- });
1263
-
1264
- roomEventListener("!dm-current:example.org", {
1265
- event_id: "$start-room-scoped",
1266
- sender: "@alice:example.org",
1267
- type: "m.key.verification.start",
1268
- origin_server_ts: Date.now(),
1269
- content: {
1270
- "m.relates_to": { event_id: "$req-room-scoped" },
1271
- },
1272
- });
1273
-
1274
- await vi.waitFor(() => {
1275
- const bodies = getSentNoticeBodies(sendMessage);
1276
- expect(bodies.some((body) => body.includes("SAS decimal: 6158 1986 3513"))).toBe(true);
1277
- });
1278
- const bodies = getSentNoticeBodies(sendMessage);
1279
- expect(bodies.some((body) => body.includes("SAS decimal: 1111 2222 3333"))).toBe(false);
1280
- });
1281
-
1282
- it("does not emit SAS notices for cancelled verification events", async () => {
1283
- const { sendMessage, roomEventListener } = createHarness({
1284
- joinedMembersByRoom: {
1285
- "!dm:example.org": ["@alice:example.org", "@bot:example.org"],
1286
- },
1287
- verifications: [
1288
- {
1289
- id: "verification-cancelled",
1290
- transactionId: "$req-cancelled",
1291
- otherUserId: "@alice:example.org",
1292
- updatedAt: new Date("2026-02-25T21:42:54.000Z").toISOString(),
1293
- phaseName: "cancelled",
1294
- phase: 4,
1295
- pending: false,
1296
- sas: {
1297
- decimal: [1111, 2222, 3333],
1298
- emoji: [
1299
- ["🚀", "Rocket"],
1300
- ["🦋", "Butterfly"],
1301
- ["📕", "Book"],
1302
- ],
1303
- },
1304
- },
1305
- ],
1306
- });
1307
-
1308
- roomEventListener("!dm:example.org", {
1309
- event_id: "$cancelled-1",
1310
- sender: "@alice:example.org",
1311
- type: "m.key.verification.cancel",
1312
- origin_server_ts: Date.now(),
1313
- content: {
1314
- code: "m.mismatched_sas",
1315
- reason: "The SAS did not match.",
1316
- "m.relates_to": { event_id: "$req-cancelled" },
1317
- },
1318
- });
1319
-
1320
- await vi.waitFor(() => {
1321
- expect(sendMessage).toHaveBeenCalledTimes(1);
1322
- });
1323
- const body = getSentNoticeBody(sendMessage, 0);
1324
- expect(body).toContain("Matrix verification cancelled by @alice:example.org");
1325
- expect(body).not.toContain("SAS decimal:");
1326
- });
1327
-
1328
- it("warns once when encrypted events arrive without Matrix encryption enabled", () => {
1329
- const { logger, roomEventListener } = createHarness({
1330
- authEncryption: false,
1331
- });
1332
-
1333
- roomEventListener("!room:example.org", {
1334
- event_id: "$enc1",
1335
- sender: "@alice:example.org",
1336
- type: EventType.RoomMessageEncrypted,
1337
- origin_server_ts: Date.now(),
1338
- content: {},
1339
- });
1340
- roomEventListener("!room:example.org", {
1341
- event_id: "$enc2",
1342
- sender: "@alice:example.org",
1343
- type: EventType.RoomMessageEncrypted,
1344
- origin_server_ts: Date.now(),
1345
- content: {},
1346
- });
1347
-
1348
- expect(logger.warn).toHaveBeenCalledTimes(1);
1349
- expect(logger.warn).toHaveBeenCalledWith(
1350
- "matrix: encrypted event received without encryption enabled; set channels.lobi.encryption=true and verify the device to decrypt",
1351
- { roomId: "!room:example.org" },
1352
- );
1353
- });
1354
-
1355
- it("uses the active Matrix account path in encrypted-event warnings", () => {
1356
- const { logger, roomEventListener } = createHarness({
1357
- accountId: "ops",
1358
- authEncryption: false,
1359
- cfg: {
1360
- channels: {
1361
- matrix: {
1362
- accounts: {
1363
- ops: {},
1364
- },
1365
- },
1366
- },
1367
- },
1368
- });
1369
-
1370
- roomEventListener("!room:example.org", {
1371
- event_id: "$enc1",
1372
- sender: "@alice:example.org",
1373
- type: EventType.RoomMessageEncrypted,
1374
- origin_server_ts: Date.now(),
1375
- content: {},
1376
- });
1377
-
1378
- expect(logger.warn).toHaveBeenCalledWith(
1379
- "matrix: encrypted event received without encryption enabled; set channels.lobi.accounts.ops.encryption=true and verify the device to decrypt",
1380
- { roomId: "!room:example.org" },
1381
- );
1382
- });
1383
-
1384
- it("warns once when crypto bindings are unavailable for encrypted rooms", () => {
1385
- const { formatNativeDependencyHint, logger, roomEventListener } = createHarness({
1386
- authEncryption: true,
1387
- cryptoAvailable: false,
1388
- });
1389
-
1390
- roomEventListener("!room:example.org", {
1391
- event_id: "$enc1",
1392
- sender: "@alice:example.org",
1393
- type: EventType.RoomMessageEncrypted,
1394
- origin_server_ts: Date.now(),
1395
- content: {},
1396
- });
1397
- roomEventListener("!room:example.org", {
1398
- event_id: "$enc2",
1399
- sender: "@alice:example.org",
1400
- type: EventType.RoomMessageEncrypted,
1401
- origin_server_ts: Date.now(),
1402
- content: {},
1403
- });
1404
-
1405
- expect(formatNativeDependencyHint).toHaveBeenCalledTimes(1);
1406
- expect(logger.warn).toHaveBeenCalledTimes(1);
1407
- expect(logger.warn).toHaveBeenCalledWith(
1408
- "matrix: encryption enabled but crypto is unavailable; install hint",
1409
- { roomId: "!room:example.org" },
1410
- );
1411
- });
1412
-
1413
- it("adds self-device guidance when decrypt failures come from the same Matrix user", async () => {
1414
- const { logger, failedDecryptListener } = createHarness({
1415
- accountId: "ops",
1416
- selfUserId: "@gumadeiras:matrix.example.org",
1417
- });
1418
- if (!failedDecryptListener) {
1419
- throw new Error("room.failed_decryption listener was not registered");
1420
- }
1421
-
1422
- await failedDecryptListener(
1423
- "!room:example.org",
1424
- {
1425
- event_id: "$enc-self",
1426
- sender: "@gumadeiras:matrix.example.org",
1427
- type: EventType.RoomMessageEncrypted,
1428
- origin_server_ts: Date.now(),
1429
- content: {},
1430
- },
1431
- new Error("The sender's device has not sent us the keys for this message."),
1432
- );
1433
-
1434
- expect(logger.warn).toHaveBeenNthCalledWith(
1435
- 1,
1436
- "Failed to decrypt message",
1437
- expect.objectContaining({
1438
- roomId: "!room:example.org",
1439
- eventId: "$enc-self",
1440
- sender: "@gumadeiras:matrix.example.org",
1441
- senderMatchesOwnUser: true,
1442
- }),
1443
- );
1444
- expect(logger.warn).toHaveBeenNthCalledWith(
1445
- 2,
1446
- "matrix: failed to decrypt a message from this same Matrix user. This usually means another Matrix device did not share the room key, or another OpenClaw runtime is using the same account. Check 'openclaw matrix verify status --verbose --account ops' and 'openclaw matrix devices list --account ops'.",
1447
- {
1448
- roomId: "!room:example.org",
1449
- eventId: "$enc-self",
1450
- sender: "@gumadeiras:matrix.example.org",
1451
- },
1452
- );
1453
- });
1454
-
1455
- it("does not add self-device guidance for decrypt failures from another sender", async () => {
1456
- const { logger, failedDecryptListener } = createHarness({
1457
- accountId: "ops",
1458
- selfUserId: "@gumadeiras:matrix.example.org",
1459
- });
1460
- if (!failedDecryptListener) {
1461
- throw new Error("room.failed_decryption listener was not registered");
1462
- }
1463
-
1464
- await failedDecryptListener(
1465
- "!room:example.org",
1466
- {
1467
- event_id: "$enc-other",
1468
- sender: "@alice:matrix.example.org",
1469
- type: EventType.RoomMessageEncrypted,
1470
- origin_server_ts: Date.now(),
1471
- content: {},
1472
- },
1473
- new Error("The sender's device has not sent us the keys for this message."),
1474
- );
1475
-
1476
- expect(logger.warn).toHaveBeenCalledTimes(1);
1477
- expect(logger.warn).toHaveBeenCalledWith(
1478
- "Failed to decrypt message",
1479
- expect.objectContaining({
1480
- roomId: "!room:example.org",
1481
- eventId: "$enc-other",
1482
- sender: "@alice:matrix.example.org",
1483
- senderMatchesOwnUser: false,
1484
- }),
1485
- );
1486
- });
1487
-
1488
- it("does not throw when getUserId fails during decrypt guidance lookup", async () => {
1489
- const { logger, logVerboseMessage, failedDecryptListener } = createHarness({
1490
- accountId: "ops",
1491
- selfUserIdError: new Error("lookup failed"),
1492
- });
1493
- if (!failedDecryptListener) {
1494
- throw new Error("room.failed_decryption listener was not registered");
1495
- }
1496
-
1497
- await expect(
1498
- failedDecryptListener(
1499
- "!room:example.org",
1500
- {
1501
- event_id: "$enc-lookup-fail",
1502
- sender: "@gumadeiras:matrix.example.org",
1503
- type: EventType.RoomMessageEncrypted,
1504
- origin_server_ts: Date.now(),
1505
- content: {},
1506
- },
1507
- new Error("The sender's device has not sent us the keys for this message."),
1508
- ),
1509
- ).resolves.toBeUndefined();
1510
-
1511
- expect(logger.warn).toHaveBeenCalledTimes(1);
1512
- expect(logger.warn).toHaveBeenCalledWith(
1513
- "Failed to decrypt message",
1514
- expect.objectContaining({
1515
- roomId: "!room:example.org",
1516
- eventId: "$enc-lookup-fail",
1517
- senderMatchesOwnUser: false,
1518
- }),
1519
- );
1520
- expect(logVerboseMessage).toHaveBeenCalledWith(
1521
- "matrix: failed resolving self user id for decrypt warning: Error: lookup failed",
1522
- );
1523
- });
1524
- });