@archipelagolab/lobi 1.0.1 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1164) hide show
  1. package/dist/APEv2Parser-6EMKXRZS.js +15 -0
  2. package/dist/APEv2Parser-6EMKXRZS.js.map +7 -0
  3. package/dist/AiffParser-E6XWRTXM.js +194 -0
  4. package/dist/AiffParser-E6XWRTXM.js.map +7 -0
  5. package/dist/AsfParser-WSOH2JQY.js +620 -0
  6. package/dist/AsfParser-WSOH2JQY.js.map +7 -0
  7. package/dist/DsdiffParser-EUWJ4YAR.js +192 -0
  8. package/dist/DsdiffParser-EUWJ4YAR.js.map +7 -0
  9. package/dist/DsfParser-R6TPBJIY.js +114 -0
  10. package/dist/DsfParser-R6TPBJIY.js.map +7 -0
  11. package/dist/FlacParser-VDASGZ3E.js +16 -0
  12. package/dist/FlacParser-VDASGZ3E.js.map +7 -0
  13. package/dist/MP4Parser-64RGJLUM.js +1145 -0
  14. package/dist/MP4Parser-64RGJLUM.js.map +7 -0
  15. package/dist/MatroskaParser-O6RXAKYA.js +662 -0
  16. package/dist/MatroskaParser-O6RXAKYA.js.map +7 -0
  17. package/dist/MpegParser-B6NX6DS3.js +652 -0
  18. package/dist/MpegParser-B6NX6DS3.js.map +7 -0
  19. package/dist/MusepackParser-WUBT63DS.js +331 -0
  20. package/dist/MusepackParser-WUBT63DS.js.map +7 -0
  21. package/dist/OggParser-ZY6E5C2P.js +448 -0
  22. package/dist/OggParser-ZY6E5C2P.js.map +7 -0
  23. package/dist/WavPackParser-5KTCSQEU.js +209 -0
  24. package/dist/WavPackParser-5KTCSQEU.js.map +7 -0
  25. package/dist/WaveParser-RZSHVQPZ.js +300 -0
  26. package/dist/WaveParser-RZSHVQPZ.js.map +7 -0
  27. package/dist/auth-presence.js +46 -0
  28. package/dist/auth-presence.js.map +7 -0
  29. package/dist/channel-plugin-api.js +79 -0
  30. package/dist/channel-plugin-api.js.map +7 -0
  31. package/dist/chunk-22WAAZ6I.js +114 -0
  32. package/dist/chunk-22WAAZ6I.js.map +7 -0
  33. package/dist/chunk-2A6HEFSO.js +676 -0
  34. package/dist/chunk-2A6HEFSO.js.map +7 -0
  35. package/dist/chunk-2KGHUHKU.js +169 -0
  36. package/dist/chunk-2KGHUHKU.js.map +7 -0
  37. package/dist/chunk-2NEQI4K6.js +171 -0
  38. package/dist/chunk-2NEQI4K6.js.map +7 -0
  39. package/dist/chunk-2OSJ3MTW.js +175 -0
  40. package/dist/chunk-2OSJ3MTW.js.map +7 -0
  41. package/dist/chunk-2Q626TDO.js +27 -0
  42. package/dist/chunk-2Q626TDO.js.map +7 -0
  43. package/dist/chunk-2U6OZ7N2.js +155 -0
  44. package/dist/chunk-2U6OZ7N2.js.map +7 -0
  45. package/dist/chunk-2Z4IOUDZ.js +129 -0
  46. package/dist/chunk-2Z4IOUDZ.js.map +7 -0
  47. package/dist/chunk-2ZEPAW7U.js +154 -0
  48. package/dist/chunk-2ZEPAW7U.js.map +7 -0
  49. package/dist/chunk-2ZI6JK5O.js +63 -0
  50. package/dist/chunk-2ZI6JK5O.js.map +7 -0
  51. package/dist/chunk-34UY6D6X.js +36 -0
  52. package/dist/chunk-34UY6D6X.js.map +7 -0
  53. package/dist/chunk-3JD6JSJD.js +111 -0
  54. package/dist/chunk-3JD6JSJD.js.map +7 -0
  55. package/dist/chunk-3TOEIHG5.js +314 -0
  56. package/dist/chunk-3TOEIHG5.js.map +7 -0
  57. package/dist/chunk-3TRKKAVT.js +130 -0
  58. package/dist/chunk-3TRKKAVT.js.map +7 -0
  59. package/dist/chunk-3UFTTK7C.js +418 -0
  60. package/dist/chunk-3UFTTK7C.js.map +7 -0
  61. package/dist/chunk-3XO6AAIC.js +25 -0
  62. package/dist/chunk-3XO6AAIC.js.map +7 -0
  63. package/dist/chunk-427SAQME.js +321 -0
  64. package/dist/chunk-427SAQME.js.map +7 -0
  65. package/dist/chunk-4JVNTZAI.js +80 -0
  66. package/dist/chunk-4JVNTZAI.js.map +7 -0
  67. package/dist/chunk-4O3BEYYM.js +187 -0
  68. package/dist/chunk-4O3BEYYM.js.map +7 -0
  69. package/dist/chunk-4Z2N4GW6.js +247 -0
  70. package/dist/chunk-4Z2N4GW6.js.map +7 -0
  71. package/dist/chunk-56HN4SH6.js +46 -0
  72. package/dist/chunk-56HN4SH6.js.map +7 -0
  73. package/dist/chunk-5APBBTGW.js +7 -0
  74. package/dist/chunk-5APBBTGW.js.map +7 -0
  75. package/dist/chunk-5LNGMBWW.js +93 -0
  76. package/dist/chunk-5LNGMBWW.js.map +7 -0
  77. package/dist/chunk-5XFQSYZ4.js +52 -0
  78. package/dist/chunk-5XFQSYZ4.js.map +7 -0
  79. package/dist/chunk-62N5N4AC.js +241 -0
  80. package/dist/chunk-62N5N4AC.js.map +7 -0
  81. package/dist/chunk-6HX3DEXK.js +178 -0
  82. package/dist/chunk-6HX3DEXK.js.map +7 -0
  83. package/dist/chunk-6NO5VEVV.js +18 -0
  84. package/dist/chunk-6NO5VEVV.js.map +7 -0
  85. package/dist/chunk-6PZGDVLR.js +465 -0
  86. package/dist/chunk-6PZGDVLR.js.map +7 -0
  87. package/dist/chunk-6SOGH3TW.js +163 -0
  88. package/dist/chunk-6SOGH3TW.js.map +7 -0
  89. package/dist/chunk-72TGY3LX.js +104 -0
  90. package/dist/chunk-72TGY3LX.js.map +7 -0
  91. package/dist/chunk-76IE55K7.js +392 -0
  92. package/dist/chunk-76IE55K7.js.map +7 -0
  93. package/dist/chunk-7F3242AO.js +86 -0
  94. package/dist/chunk-7F3242AO.js.map +7 -0
  95. package/dist/chunk-7FLQSTPG.js +57 -0
  96. package/dist/chunk-7FLQSTPG.js.map +7 -0
  97. package/dist/chunk-7MP46JBP.js +177 -0
  98. package/dist/chunk-7MP46JBP.js.map +7 -0
  99. package/dist/chunk-7MVZYR2T.js +87 -0
  100. package/dist/chunk-7MVZYR2T.js.map +7 -0
  101. package/dist/chunk-7N7ISMPG.js +50 -0
  102. package/dist/chunk-7N7ISMPG.js.map +7 -0
  103. package/dist/chunk-7S7LQQPX.js +127 -0
  104. package/dist/chunk-7S7LQQPX.js.map +7 -0
  105. package/dist/chunk-7TTNY5FK.js +21 -0
  106. package/dist/chunk-7TTNY5FK.js.map +7 -0
  107. package/dist/chunk-7W73QCTR.js +244 -0
  108. package/dist/chunk-7W73QCTR.js.map +7 -0
  109. package/dist/chunk-7XXLU33Y.js +76 -0
  110. package/dist/chunk-7XXLU33Y.js.map +7 -0
  111. package/dist/chunk-AAO7BQEV.js +258 -0
  112. package/dist/chunk-AAO7BQEV.js.map +7 -0
  113. package/dist/chunk-AH4MLRYT.js +91 -0
  114. package/dist/chunk-AH4MLRYT.js.map +7 -0
  115. package/dist/chunk-AHKR32FH.js +7 -0
  116. package/dist/chunk-AHKR32FH.js.map +7 -0
  117. package/dist/chunk-ALKRFDAW.js +94 -0
  118. package/dist/chunk-ALKRFDAW.js.map +7 -0
  119. package/dist/chunk-AQQGAE7N.js +12 -0
  120. package/dist/chunk-AQQGAE7N.js.map +7 -0
  121. package/dist/chunk-AWW3YUGJ.js +193 -0
  122. package/dist/chunk-AWW3YUGJ.js.map +7 -0
  123. package/dist/chunk-AX7VEEWJ.js +158 -0
  124. package/dist/chunk-AX7VEEWJ.js.map +7 -0
  125. package/dist/chunk-BAX7Q6GR.js +55 -0
  126. package/dist/chunk-BAX7Q6GR.js.map +7 -0
  127. package/dist/chunk-BBM6BR3Z.js +28 -0
  128. package/dist/chunk-BBM6BR3Z.js.map +7 -0
  129. package/dist/chunk-BHXZMHSX.js +109 -0
  130. package/dist/chunk-BHXZMHSX.js.map +7 -0
  131. package/dist/chunk-BIUXDLVY.js +62 -0
  132. package/dist/chunk-BIUXDLVY.js.map +7 -0
  133. package/dist/chunk-BMFZL2P4.js +97 -0
  134. package/dist/chunk-BMFZL2P4.js.map +7 -0
  135. package/dist/chunk-BQXEXK4H.js +114 -0
  136. package/dist/chunk-BQXEXK4H.js.map +7 -0
  137. package/dist/chunk-BU2CTWBG.js +30 -0
  138. package/dist/chunk-BU2CTWBG.js.map +7 -0
  139. package/dist/chunk-BVKSCLF7.js +195 -0
  140. package/dist/chunk-BVKSCLF7.js.map +7 -0
  141. package/dist/chunk-BWA3D22L.js +88 -0
  142. package/dist/chunk-BWA3D22L.js.map +7 -0
  143. package/dist/chunk-CE24RSPL.js +506 -0
  144. package/dist/chunk-CE24RSPL.js.map +7 -0
  145. package/dist/chunk-CETZGSCP.js +71 -0
  146. package/dist/chunk-CETZGSCP.js.map +7 -0
  147. package/dist/chunk-CGBWMONK.js +412 -0
  148. package/dist/chunk-CGBWMONK.js.map +7 -0
  149. package/dist/chunk-CPNIXMGX.js +127 -0
  150. package/dist/chunk-CPNIXMGX.js.map +7 -0
  151. package/dist/chunk-CSJO73LD.js +84 -0
  152. package/dist/chunk-CSJO73LD.js.map +7 -0
  153. package/dist/chunk-CTKBDSL6.js +81 -0
  154. package/dist/chunk-CTKBDSL6.js.map +7 -0
  155. package/dist/chunk-CY6WHUCW.js +54 -0
  156. package/dist/chunk-CY6WHUCW.js.map +7 -0
  157. package/dist/chunk-D7Q6Z74D.js +123 -0
  158. package/dist/chunk-D7Q6Z74D.js.map +7 -0
  159. package/dist/chunk-DZIM4OWK.js +17 -0
  160. package/dist/chunk-DZIM4OWK.js.map +7 -0
  161. package/dist/chunk-E3GC4V5V.js +30 -0
  162. package/dist/chunk-E3GC4V5V.js.map +7 -0
  163. package/dist/chunk-E5HPDHCW.js +34 -0
  164. package/dist/chunk-E5HPDHCW.js.map +7 -0
  165. package/dist/chunk-E75BJJZ2.js +635 -0
  166. package/dist/chunk-E75BJJZ2.js.map +7 -0
  167. package/dist/chunk-EE4DHUUZ.js +472 -0
  168. package/dist/chunk-EE4DHUUZ.js.map +7 -0
  169. package/dist/chunk-EHELTAAD.js +198 -0
  170. package/dist/chunk-EHELTAAD.js.map +7 -0
  171. package/dist/chunk-EKXPSI7Z.js +135 -0
  172. package/dist/chunk-EKXPSI7Z.js.map +7 -0
  173. package/dist/chunk-ERCH75SH.js +292 -0
  174. package/dist/chunk-ERCH75SH.js.map +7 -0
  175. package/dist/chunk-EVFWZGFL.js +235 -0
  176. package/dist/chunk-EVFWZGFL.js.map +7 -0
  177. package/dist/chunk-EVPBRKMZ.js +45 -0
  178. package/dist/chunk-EVPBRKMZ.js.map +7 -0
  179. package/dist/chunk-F6AFJHWV.js +45 -0
  180. package/dist/chunk-F6AFJHWV.js.map +7 -0
  181. package/dist/chunk-FG4NVFKM.js +455 -0
  182. package/dist/chunk-FG4NVFKM.js.map +7 -0
  183. package/dist/chunk-FHNEN6IR.js +14 -0
  184. package/dist/chunk-FHNEN6IR.js.map +7 -0
  185. package/dist/chunk-FQ4R7IOX.js +32 -0
  186. package/dist/chunk-FQ4R7IOX.js.map +7 -0
  187. package/dist/chunk-FQPYAPJJ.js +124 -0
  188. package/dist/chunk-FQPYAPJJ.js.map +7 -0
  189. package/dist/chunk-FQTLJO4W.js +335 -0
  190. package/dist/chunk-FQTLJO4W.js.map +7 -0
  191. package/dist/chunk-FVLJSB2W.js +124 -0
  192. package/dist/chunk-FVLJSB2W.js.map +7 -0
  193. package/dist/chunk-FYRKBNTI.js +18 -0
  194. package/dist/chunk-FYRKBNTI.js.map +7 -0
  195. package/dist/chunk-GD6L3SLC.js +30 -0
  196. package/dist/chunk-GD6L3SLC.js.map +7 -0
  197. package/dist/chunk-GI2ZANRY.js +24 -0
  198. package/dist/chunk-GI2ZANRY.js.map +7 -0
  199. package/dist/chunk-GK3XVKXT.js +737 -0
  200. package/dist/chunk-GK3XVKXT.js.map +7 -0
  201. package/dist/chunk-GKOWCDQV.js +699 -0
  202. package/dist/chunk-GKOWCDQV.js.map +7 -0
  203. package/dist/chunk-GLLRCKKE.js +26 -0
  204. package/dist/chunk-GLLRCKKE.js.map +7 -0
  205. package/dist/chunk-GNYG6I36.js +175 -0
  206. package/dist/chunk-GNYG6I36.js.map +7 -0
  207. package/dist/chunk-GVYGUH2V.js +7 -0
  208. package/dist/chunk-GVYGUH2V.js.map +7 -0
  209. package/dist/chunk-GZAGAWSU.js +28 -0
  210. package/dist/chunk-GZAGAWSU.js.map +7 -0
  211. package/dist/chunk-H23E72SB.js +163 -0
  212. package/dist/chunk-H23E72SB.js.map +7 -0
  213. package/dist/chunk-H6YVV7GE.js +22 -0
  214. package/dist/chunk-H6YVV7GE.js.map +7 -0
  215. package/dist/chunk-HDPICD3P.js +4890 -0
  216. package/dist/chunk-HDPICD3P.js.map +7 -0
  217. package/dist/chunk-HP5HMWOM.js +123 -0
  218. package/dist/chunk-HP5HMWOM.js.map +7 -0
  219. package/dist/chunk-HQSHS6IB.js +88 -0
  220. package/dist/chunk-HQSHS6IB.js.map +7 -0
  221. package/dist/chunk-HTV3R73W.js +51 -0
  222. package/dist/chunk-HTV3R73W.js.map +7 -0
  223. package/dist/chunk-IJCMYMZB.js +239 -0
  224. package/dist/chunk-IJCMYMZB.js.map +7 -0
  225. package/dist/chunk-INNENDEE.js +472 -0
  226. package/dist/chunk-INNENDEE.js.map +7 -0
  227. package/dist/chunk-IOTLSMEQ.js +177 -0
  228. package/dist/chunk-IOTLSMEQ.js.map +7 -0
  229. package/dist/chunk-IQYYEHSM.js +300 -0
  230. package/dist/chunk-IQYYEHSM.js.map +7 -0
  231. package/dist/chunk-IRA5NJ4Q.js +21 -0
  232. package/dist/chunk-IRA5NJ4Q.js.map +7 -0
  233. package/dist/chunk-IU7EXXK7.js +1662 -0
  234. package/dist/chunk-IU7EXXK7.js.map +7 -0
  235. package/dist/chunk-IUXAKDAY.js +102 -0
  236. package/dist/chunk-IUXAKDAY.js.map +7 -0
  237. package/dist/chunk-JMYIFYY5.js +233 -0
  238. package/dist/chunk-JMYIFYY5.js.map +7 -0
  239. package/dist/chunk-JSZBX2TA.js +5853 -0
  240. package/dist/chunk-JSZBX2TA.js.map +7 -0
  241. package/dist/chunk-KHFWQ334.js +138 -0
  242. package/dist/chunk-KHFWQ334.js.map +7 -0
  243. package/dist/chunk-KJW6JLM6.js +95 -0
  244. package/dist/chunk-KJW6JLM6.js.map +7 -0
  245. package/dist/chunk-KSEANSJE.js +40 -0
  246. package/dist/chunk-KSEANSJE.js.map +7 -0
  247. package/dist/chunk-KVU54E6W.js +63 -0
  248. package/dist/chunk-KVU54E6W.js.map +7 -0
  249. package/dist/chunk-L5OUVMHK.js +174 -0
  250. package/dist/chunk-L5OUVMHK.js.map +7 -0
  251. package/dist/chunk-LIVQ7GIO.js +86 -0
  252. package/dist/chunk-LIVQ7GIO.js.map +7 -0
  253. package/dist/chunk-LO4F6E3N.js +163 -0
  254. package/dist/chunk-LO4F6E3N.js.map +7 -0
  255. package/dist/chunk-LSVKDUNM.js +151 -0
  256. package/dist/chunk-LSVKDUNM.js.map +7 -0
  257. package/dist/chunk-LVMK2GPM.js +18 -0
  258. package/dist/chunk-LVMK2GPM.js.map +7 -0
  259. package/dist/chunk-LXVPETLK.js +1405 -0
  260. package/dist/chunk-LXVPETLK.js.map +7 -0
  261. package/dist/chunk-LZNW24OB.js +78 -0
  262. package/dist/chunk-LZNW24OB.js.map +7 -0
  263. package/dist/chunk-MAF6PSCJ.js +44 -0
  264. package/dist/chunk-MAF6PSCJ.js.map +7 -0
  265. package/dist/chunk-MBIX6Z7U.js +80 -0
  266. package/dist/chunk-MBIX6Z7U.js.map +7 -0
  267. package/dist/chunk-MDLLXMC3.js +183 -0
  268. package/dist/chunk-MDLLXMC3.js.map +7 -0
  269. package/dist/chunk-MEI5HTWV.js +127 -0
  270. package/dist/chunk-MEI5HTWV.js.map +7 -0
  271. package/dist/chunk-MH74AJ3A.js +82 -0
  272. package/dist/chunk-MH74AJ3A.js.map +7 -0
  273. package/dist/chunk-MIFIM4PI.js +163 -0
  274. package/dist/chunk-MIFIM4PI.js.map +7 -0
  275. package/dist/chunk-MISZB5QJ.js +22 -0
  276. package/dist/chunk-MISZB5QJ.js.map +7 -0
  277. package/dist/chunk-MJ27XQYG.js +125 -0
  278. package/dist/chunk-MJ27XQYG.js.map +7 -0
  279. package/dist/chunk-MLQY5SKR.js +52 -0
  280. package/dist/chunk-MLQY5SKR.js.map +7 -0
  281. package/dist/chunk-MTMHGC3G.js +39 -0
  282. package/dist/chunk-MTMHGC3G.js.map +7 -0
  283. package/dist/chunk-MWBAW3YV.js +244 -0
  284. package/dist/chunk-MWBAW3YV.js.map +7 -0
  285. package/dist/chunk-MZGGB2YT.js +50 -0
  286. package/dist/chunk-MZGGB2YT.js.map +7 -0
  287. package/dist/chunk-N5SNGZJV.js +217 -0
  288. package/dist/chunk-N5SNGZJV.js.map +7 -0
  289. package/dist/chunk-NGCTBYQ3.js +181 -0
  290. package/dist/chunk-NGCTBYQ3.js.map +7 -0
  291. package/dist/chunk-NMUX7SGU.js +676 -0
  292. package/dist/chunk-NMUX7SGU.js.map +7 -0
  293. package/dist/chunk-NO7GMLNU.js +292 -0
  294. package/dist/chunk-NO7GMLNU.js.map +7 -0
  295. package/dist/chunk-NTOGVX2Y.js +92 -0
  296. package/dist/chunk-NTOGVX2Y.js.map +7 -0
  297. package/dist/chunk-O5IVKDX7.js +30 -0
  298. package/dist/chunk-O5IVKDX7.js.map +7 -0
  299. package/dist/chunk-OFWMLQMU.js +7287 -0
  300. package/dist/chunk-OFWMLQMU.js.map +7 -0
  301. package/dist/chunk-OJ3ZUKBI.js +73 -0
  302. package/dist/chunk-OJ3ZUKBI.js.map +7 -0
  303. package/dist/chunk-OJTHE4B7.js +50 -0
  304. package/dist/chunk-OJTHE4B7.js.map +7 -0
  305. package/dist/chunk-OOYPYBTA.js +446 -0
  306. package/dist/chunk-OOYPYBTA.js.map +7 -0
  307. package/dist/chunk-OQP4W4AR.js +105 -0
  308. package/dist/chunk-OQP4W4AR.js.map +7 -0
  309. package/dist/chunk-OVTT2EKA.js +516 -0
  310. package/dist/chunk-OVTT2EKA.js.map +7 -0
  311. package/dist/chunk-P5N63LBS.js +94 -0
  312. package/dist/chunk-P5N63LBS.js.map +7 -0
  313. package/dist/chunk-PARITZ7F.js +28 -0
  314. package/dist/chunk-PARITZ7F.js.map +7 -0
  315. package/dist/chunk-PBQK4KY4.js +195 -0
  316. package/dist/chunk-PBQK4KY4.js.map +7 -0
  317. package/dist/chunk-PSL2AHIA.js +27 -0
  318. package/dist/chunk-PSL2AHIA.js.map +7 -0
  319. package/dist/chunk-Q5QT7JBM.js +92 -0
  320. package/dist/chunk-Q5QT7JBM.js.map +7 -0
  321. package/dist/chunk-Q7WA5DCR.js +62 -0
  322. package/dist/chunk-Q7WA5DCR.js.map +7 -0
  323. package/dist/chunk-QATEENP2.js +7 -0
  324. package/dist/chunk-QATEENP2.js.map +7 -0
  325. package/dist/chunk-QDT24CIA.js +485 -0
  326. package/dist/chunk-QDT24CIA.js.map +7 -0
  327. package/dist/chunk-QI3NB7D5.js +455 -0
  328. package/dist/chunk-QI3NB7D5.js.map +7 -0
  329. package/dist/chunk-QIDAVXSX.js +106 -0
  330. package/dist/chunk-QIDAVXSX.js.map +7 -0
  331. package/dist/chunk-QKIGQVP2.js +104 -0
  332. package/dist/chunk-QKIGQVP2.js.map +7 -0
  333. package/dist/chunk-QNJENPK2.js +81 -0
  334. package/dist/chunk-QNJENPK2.js.map +7 -0
  335. package/dist/chunk-REVXXWAS.js +31 -0
  336. package/dist/chunk-REVXXWAS.js.map +7 -0
  337. package/dist/chunk-RFH4HRZP.js +94 -0
  338. package/dist/chunk-RFH4HRZP.js.map +7 -0
  339. package/dist/chunk-RNGAGYCL.js +49 -0
  340. package/dist/chunk-RNGAGYCL.js.map +7 -0
  341. package/dist/chunk-RPCVN3JA.js +261 -0
  342. package/dist/chunk-RPCVN3JA.js.map +7 -0
  343. package/dist/chunk-RQQE5DDT.js +193 -0
  344. package/dist/chunk-RQQE5DDT.js.map +7 -0
  345. package/dist/chunk-RVOD3ESA.js +38 -0
  346. package/dist/chunk-RVOD3ESA.js.map +7 -0
  347. package/dist/chunk-SAOUP24A.js +70 -0
  348. package/dist/chunk-SAOUP24A.js.map +7 -0
  349. package/dist/chunk-SFZL2TCV.js +55 -0
  350. package/dist/chunk-SFZL2TCV.js.map +7 -0
  351. package/dist/chunk-SJPFUXBV.js +45 -0
  352. package/dist/chunk-SJPFUXBV.js.map +7 -0
  353. package/dist/chunk-SLIUQWAR.js +58 -0
  354. package/dist/chunk-SLIUQWAR.js.map +7 -0
  355. package/dist/chunk-SSEX66OL.js +39 -0
  356. package/dist/chunk-SSEX66OL.js.map +7 -0
  357. package/dist/chunk-SX2LOHOX.js +251 -0
  358. package/dist/chunk-SX2LOHOX.js.map +7 -0
  359. package/dist/chunk-T72EMFTX.js +74 -0
  360. package/dist/chunk-T72EMFTX.js.map +7 -0
  361. package/dist/chunk-TA2QJPPG.js +169 -0
  362. package/dist/chunk-TA2QJPPG.js.map +7 -0
  363. package/dist/chunk-TFEETDNY.js +78 -0
  364. package/dist/chunk-TFEETDNY.js.map +7 -0
  365. package/dist/chunk-THM2QV25.js +108 -0
  366. package/dist/chunk-THM2QV25.js.map +7 -0
  367. package/dist/chunk-TRWT2N6Z.js +15 -0
  368. package/dist/chunk-TRWT2N6Z.js.map +7 -0
  369. package/dist/chunk-TTXEM54Y.js +76 -0
  370. package/dist/chunk-TTXEM54Y.js.map +7 -0
  371. package/dist/chunk-U4LVIY5F.js +1405 -0
  372. package/dist/chunk-U4LVIY5F.js.map +7 -0
  373. package/dist/chunk-U767LCSG.js +78 -0
  374. package/dist/chunk-U767LCSG.js.map +7 -0
  375. package/dist/chunk-U7GKLHU6.js +120 -0
  376. package/dist/chunk-U7GKLHU6.js.map +7 -0
  377. package/dist/chunk-UAB5P5QO.js +60 -0
  378. package/dist/chunk-UAB5P5QO.js.map +7 -0
  379. package/dist/chunk-UEHPJQBL.js +38 -0
  380. package/dist/chunk-UEHPJQBL.js.map +7 -0
  381. package/dist/chunk-UIBV6IGR.js +31 -0
  382. package/dist/chunk-UIBV6IGR.js.map +7 -0
  383. package/dist/chunk-UIYFRUET.js +16352 -0
  384. package/dist/chunk-UIYFRUET.js.map +7 -0
  385. package/dist/chunk-UJS3TIVS.js +52 -0
  386. package/dist/chunk-UJS3TIVS.js.map +7 -0
  387. package/dist/chunk-UU5PSBSI.js +176 -0
  388. package/dist/chunk-UU5PSBSI.js.map +7 -0
  389. package/dist/chunk-UV63XYFU.js +173 -0
  390. package/dist/chunk-UV63XYFU.js.map +7 -0
  391. package/dist/chunk-UWPHOAOC.js +29 -0
  392. package/dist/chunk-UWPHOAOC.js.map +7 -0
  393. package/dist/chunk-UXDDOSJC.js +52 -0
  394. package/dist/chunk-UXDDOSJC.js.map +7 -0
  395. package/dist/chunk-V3VAOMCO.js +465 -0
  396. package/dist/chunk-V3VAOMCO.js.map +7 -0
  397. package/dist/chunk-VA7ENH2S.js +38 -0
  398. package/dist/chunk-VA7ENH2S.js.map +7 -0
  399. package/dist/chunk-VFPDFLVE.js +516 -0
  400. package/dist/chunk-VFPDFLVE.js.map +7 -0
  401. package/dist/chunk-VHG4FNIJ.js +93 -0
  402. package/dist/chunk-VHG4FNIJ.js.map +7 -0
  403. package/dist/chunk-VKOO6MIZ.js +51 -0
  404. package/dist/chunk-VKOO6MIZ.js.map +7 -0
  405. package/dist/chunk-VKXKRZG7.js +62 -0
  406. package/dist/chunk-VKXKRZG7.js.map +7 -0
  407. package/dist/chunk-VUOLPEUZ.js +7 -0
  408. package/dist/chunk-VUOLPEUZ.js.map +7 -0
  409. package/dist/chunk-W6SOBS7M.js +138 -0
  410. package/dist/chunk-W6SOBS7M.js.map +7 -0
  411. package/dist/chunk-WDOKKRTE.js +7 -0
  412. package/dist/chunk-WDOKKRTE.js.map +7 -0
  413. package/dist/chunk-WGXXKFN5.js +7 -0
  414. package/dist/chunk-WGXXKFN5.js.map +7 -0
  415. package/dist/chunk-WHPUUP3J.js +25 -0
  416. package/dist/chunk-WHPUUP3J.js.map +7 -0
  417. package/dist/chunk-XF7LD6VV.js +122 -0
  418. package/dist/chunk-XF7LD6VV.js.map +7 -0
  419. package/dist/chunk-XFTXM3RE.js +64 -0
  420. package/dist/chunk-XFTXM3RE.js.map +7 -0
  421. package/dist/chunk-XJABPO2T.js +235 -0
  422. package/dist/chunk-XJABPO2T.js.map +7 -0
  423. package/dist/chunk-XK6VF3H7.js +3586 -0
  424. package/dist/chunk-XK6VF3H7.js.map +7 -0
  425. package/dist/chunk-XQYIIPOJ.js +266 -0
  426. package/dist/chunk-XQYIIPOJ.js.map +7 -0
  427. package/dist/chunk-XZSAN55E.js +58 -0
  428. package/dist/chunk-XZSAN55E.js.map +7 -0
  429. package/dist/chunk-Y3KJR4OG.js +64 -0
  430. package/dist/chunk-Y3KJR4OG.js.map +7 -0
  431. package/dist/chunk-Y4JKH7FF.js +45 -0
  432. package/dist/chunk-Y4JKH7FF.js.map +7 -0
  433. package/dist/chunk-Y6CJN4ID.js +31 -0
  434. package/dist/chunk-Y6CJN4ID.js.map +7 -0
  435. package/dist/chunk-YABGJU5M.js +271 -0
  436. package/dist/chunk-YABGJU5M.js.map +7 -0
  437. package/dist/chunk-YEJH7ZC2.js +34 -0
  438. package/dist/chunk-YEJH7ZC2.js.map +7 -0
  439. package/dist/chunk-YFTE4H54.js +44117 -0
  440. package/dist/chunk-YFTE4H54.js.map +7 -0
  441. package/dist/chunk-YNJYMD43.js +392 -0
  442. package/dist/chunk-YNJYMD43.js.map +7 -0
  443. package/dist/chunk-YNYEQGVN.js +251 -0
  444. package/dist/chunk-YNYEQGVN.js.map +7 -0
  445. package/dist/chunk-YUPBD27Z.js +70 -0
  446. package/dist/chunk-YUPBD27Z.js.map +7 -0
  447. package/dist/chunk-YXJ52FD5.js +271 -0
  448. package/dist/chunk-YXJ52FD5.js.map +7 -0
  449. package/dist/chunk-YZGORRQN.js +3101 -0
  450. package/dist/chunk-YZGORRQN.js.map +7 -0
  451. package/dist/chunk-Z6IVJ6ZW.js +30 -0
  452. package/dist/chunk-Z6IVJ6ZW.js.map +7 -0
  453. package/dist/chunk-ZFC44XJJ.js +86 -0
  454. package/dist/chunk-ZFC44XJJ.js.map +7 -0
  455. package/dist/chunk-ZJDJC5TP.js +82 -0
  456. package/dist/chunk-ZJDJC5TP.js.map +7 -0
  457. package/dist/chunk-ZJGZNPDK.js +171 -0
  458. package/dist/chunk-ZJGZNPDK.js.map +7 -0
  459. package/dist/chunk-ZJHBJWZX.js +699 -0
  460. package/dist/chunk-ZJHBJWZX.js.map +7 -0
  461. package/dist/chunk-ZNOTD65D.js +95 -0
  462. package/dist/chunk-ZNOTD65D.js.map +7 -0
  463. package/dist/chunk-ZQ2QIFXW.js +122 -0
  464. package/dist/chunk-ZQ2QIFXW.js.map +7 -0
  465. package/dist/chunk-ZRMXPQGY.js +241 -0
  466. package/dist/chunk-ZRMXPQGY.js.map +7 -0
  467. package/dist/chunk-ZVEE5IDC.js +3101 -0
  468. package/dist/chunk-ZVEE5IDC.js.map +7 -0
  469. package/dist/cli-metadata.js +12 -0
  470. package/dist/cli-metadata.js.map +7 -0
  471. package/dist/contract-api.js +104 -0
  472. package/dist/contract-api.js.map +7 -0
  473. package/dist/dist-F3K7S5SS.js +549 -0
  474. package/dist/dist-F3K7S5SS.js.map +7 -0
  475. package/dist/helper-api.js +51 -0
  476. package/dist/helper-api.js.map +7 -0
  477. package/dist/index.js +71 -0
  478. package/dist/index.js.map +7 -0
  479. package/dist/magic-string.es-V5NOGTUV.js +1315 -0
  480. package/dist/magic-string.es-V5NOGTUV.js.map +7 -0
  481. package/dist/openclaw.plugin.json +23 -0
  482. package/dist/package.json +59 -0
  483. package/dist/plugin-entry.handlers.runtime-POD4CSHM.js +20 -0
  484. package/dist/plugin-entry.handlers.runtime-POD4CSHM.js.map +7 -0
  485. package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js +20 -0
  486. package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js.map +7 -0
  487. package/dist/runtime-api.js +104 -0
  488. package/dist/runtime-api.js.map +7 -0
  489. package/dist/rust-crypto-H35BXWUU.js +5323 -0
  490. package/dist/rust-crypto-H35BXWUU.js.map +7 -0
  491. package/dist/secret-contract-api.js +18 -0
  492. package/dist/secret-contract-api.js.map +7 -0
  493. package/dist/setup-entry.js +23 -0
  494. package/dist/setup-entry.js.map +7 -0
  495. package/dist/src/account-selection.js +19 -0
  496. package/dist/src/account-selection.js.map +7 -0
  497. package/dist/src/actions.js +24 -0
  498. package/dist/src/actions.js.map +7 -0
  499. package/dist/src/approval-auth.js +27 -0
  500. package/dist/src/approval-auth.js.map +7 -0
  501. package/dist/src/approval-handler.runtime.js +378 -0
  502. package/dist/src/approval-handler.runtime.js.map +7 -0
  503. package/dist/src/approval-ids.js +9 -0
  504. package/dist/src/approval-ids.js.map +7 -0
  505. package/dist/src/approval-native.js +28 -0
  506. package/dist/src/approval-native.js.map +7 -0
  507. package/dist/src/approval-reactions.js +20 -0
  508. package/dist/src/approval-reactions.js.map +7 -0
  509. package/dist/src/auth-precedence.js +8 -0
  510. package/dist/src/auth-precedence.js.map +7 -0
  511. package/dist/src/channel-account-paths.js +11 -0
  512. package/dist/src/channel-account-paths.js.map +7 -0
  513. package/dist/src/channel.js +74 -0
  514. package/dist/src/channel.js.map +7 -0
  515. package/dist/src/channel.runtime.js +82 -0
  516. package/dist/src/channel.runtime.js.map +7 -0
  517. package/dist/src/cli-metadata.js +8 -0
  518. package/dist/src/cli-metadata.js.map +7 -0
  519. package/dist/src/cli.js +936 -0
  520. package/dist/src/cli.js.map +7 -0
  521. package/dist/src/config-adapter.js +26 -0
  522. package/dist/src/config-adapter.js.map +7 -0
  523. package/dist/src/config-schema.js +8 -0
  524. package/dist/src/config-schema.js.map +7 -0
  525. package/dist/src/directory-live.js +35 -0
  526. package/dist/src/directory-live.js.map +7 -0
  527. package/dist/src/doctor-contract.js +11 -0
  528. package/dist/src/doctor-contract.js.map +7 -0
  529. package/dist/src/doctor.js +42 -0
  530. package/dist/src/doctor.js.map +7 -0
  531. package/dist/src/env-vars.js +12 -0
  532. package/dist/src/env-vars.js.map +7 -0
  533. package/dist/src/exec-approval-resolver.js +10 -0
  534. package/dist/src/exec-approval-resolver.js.map +7 -0
  535. package/dist/src/exec-approvals.js +51 -0
  536. package/dist/src/exec-approvals.js.map +7 -0
  537. package/dist/src/group-mentions.js +28 -0
  538. package/dist/src/group-mentions.js.map +7 -0
  539. package/dist/src/legacy-crypto-inspector-availability.js +8 -0
  540. package/dist/src/legacy-crypto-inspector-availability.js.map +7 -0
  541. package/dist/src/legacy-crypto.js +26 -0
  542. package/dist/src/legacy-crypto.js.map +7 -0
  543. package/dist/src/legacy-state.js +24 -0
  544. package/dist/src/legacy-state.js.map +7 -0
  545. package/dist/src/matrix/account-config.js +16 -0
  546. package/dist/src/matrix/account-config.js.map +7 -0
  547. package/dist/src/matrix/accounts.js +31 -0
  548. package/dist/src/matrix/accounts.js.map +7 -0
  549. package/dist/src/matrix/actions/client.js +40 -0
  550. package/dist/src/matrix/actions/client.js.map +7 -0
  551. package/dist/src/matrix/actions/devices.js +42 -0
  552. package/dist/src/matrix/actions/devices.js.map +7 -0
  553. package/dist/src/matrix/actions/limits.js +8 -0
  554. package/dist/src/matrix/actions/limits.js.map +7 -0
  555. package/dist/src/matrix/actions/messages.js +49 -0
  556. package/dist/src/matrix/actions/messages.js.map +7 -0
  557. package/dist/src/matrix/actions/pins.js +46 -0
  558. package/dist/src/matrix/actions/pins.js.map +7 -0
  559. package/dist/src/matrix/actions/polls.js +37 -0
  560. package/dist/src/matrix/actions/polls.js.map +7 -0
  561. package/dist/src/matrix/actions/profile.js +38 -0
  562. package/dist/src/matrix/actions/profile.js.map +7 -0
  563. package/dist/src/matrix/actions/reactions.js +40 -0
  564. package/dist/src/matrix/actions/reactions.js.map +7 -0
  565. package/dist/src/matrix/actions/room.js +40 -0
  566. package/dist/src/matrix/actions/room.js.map +7 -0
  567. package/dist/src/matrix/actions/summary.js +19 -0
  568. package/dist/src/matrix/actions/summary.js.map +7 -0
  569. package/dist/src/matrix/actions/types.js +13 -0
  570. package/dist/src/matrix/actions/types.js.map +7 -0
  571. package/dist/src/matrix/actions/verification.js +77 -0
  572. package/dist/src/matrix/actions/verification.js.map +7 -0
  573. package/dist/src/matrix/actions.js +126 -0
  574. package/dist/src/matrix/actions.js.map +7 -0
  575. package/dist/src/matrix/active-client.js +10 -0
  576. package/dist/src/matrix/active-client.js.map +7 -0
  577. package/dist/src/matrix/async-lock.js +8 -0
  578. package/dist/src/matrix/async-lock.js.map +7 -0
  579. package/dist/src/matrix/backup-health.js +10 -0
  580. package/dist/src/matrix/backup-health.js.map +7 -0
  581. package/dist/src/matrix/client/config-runtime-api.js +24 -0
  582. package/dist/src/matrix/client/config-runtime-api.js.map +7 -0
  583. package/dist/src/matrix/client/config-secret-input.runtime.js +11 -0
  584. package/dist/src/matrix/client/config-secret-input.runtime.js.map +7 -0
  585. package/dist/src/matrix/client/config.js +42 -0
  586. package/dist/src/matrix/client/config.js.map +7 -0
  587. package/dist/src/matrix/client/create-client.js +20 -0
  588. package/dist/src/matrix/client/create-client.js.map +7 -0
  589. package/dist/src/matrix/client/env-auth.js +26 -0
  590. package/dist/src/matrix/client/env-auth.js.map +7 -0
  591. package/dist/src/matrix/client/file-sync-store.js +23 -0
  592. package/dist/src/matrix/client/file-sync-store.js.map +7 -0
  593. package/dist/src/matrix/client/logging.js +17 -0
  594. package/dist/src/matrix/client/logging.js.map +7 -0
  595. package/dist/src/matrix/client/migration-snapshot.runtime.js +13 -0
  596. package/dist/src/matrix/client/migration-snapshot.runtime.js.map +7 -0
  597. package/dist/src/matrix/client/private-network-host.js +8 -0
  598. package/dist/src/matrix/client/private-network-host.js.map +7 -0
  599. package/dist/src/matrix/client/runtime.js +8 -0
  600. package/dist/src/matrix/client/runtime.js.map +7 -0
  601. package/dist/src/matrix/client/shared.js +34 -0
  602. package/dist/src/matrix/client/shared.js.map +7 -0
  603. package/dist/src/matrix/client/storage.js +26 -0
  604. package/dist/src/matrix/client/storage.js.map +7 -0
  605. package/dist/src/matrix/client/types.js +7 -0
  606. package/dist/src/matrix/client/types.js.map +7 -0
  607. package/dist/src/matrix/client-bootstrap.js +15 -0
  608. package/dist/src/matrix/client-bootstrap.js.map +7 -0
  609. package/dist/src/matrix/client-resolver.test-helpers.js +122 -0
  610. package/dist/src/matrix/client-resolver.test-helpers.js.map +7 -0
  611. package/dist/src/matrix/client.js +63 -0
  612. package/dist/src/matrix/client.js.map +7 -0
  613. package/dist/src/matrix/config-paths.js +12 -0
  614. package/dist/src/matrix/config-paths.js.map +7 -0
  615. package/dist/src/matrix/config-update.js +17 -0
  616. package/dist/src/matrix/config-update.js.map +7 -0
  617. package/dist/src/matrix/credentials-read.js +22 -0
  618. package/dist/src/matrix/credentials-read.js.map +7 -0
  619. package/dist/src/matrix/credentials-write.runtime.js +24 -0
  620. package/dist/src/matrix/credentials-write.runtime.js.map +7 -0
  621. package/dist/src/matrix/credentials.js +90 -0
  622. package/dist/src/matrix/credentials.js.map +7 -0
  623. package/dist/src/matrix/deps.js +12 -0
  624. package/dist/src/matrix/deps.js.map +7 -0
  625. package/dist/src/matrix/device-health.js +10 -0
  626. package/dist/src/matrix/device-health.js.map +7 -0
  627. package/dist/src/matrix/direct-management.js +18 -0
  628. package/dist/src/matrix/direct-management.js.map +7 -0
  629. package/dist/src/matrix/direct-room.js +18 -0
  630. package/dist/src/matrix/direct-room.js.map +7 -0
  631. package/dist/src/matrix/draft-stream.js +33 -0
  632. package/dist/src/matrix/draft-stream.js.map +7 -0
  633. package/dist/src/matrix/encryption-guidance.js +17 -0
  634. package/dist/src/matrix/encryption-guidance.js.map +7 -0
  635. package/dist/src/matrix/errors.js +12 -0
  636. package/dist/src/matrix/errors.js.map +7 -0
  637. package/dist/src/matrix/format.js +13 -0
  638. package/dist/src/matrix/format.js.map +7 -0
  639. package/dist/src/matrix/legacy-crypto-inspector.js +73 -0
  640. package/dist/src/matrix/legacy-crypto-inspector.js.map +7 -0
  641. package/dist/src/matrix/media-errors.js +12 -0
  642. package/dist/src/matrix/media-errors.js.map +7 -0
  643. package/dist/src/matrix/media-text.js +22 -0
  644. package/dist/src/matrix/media-text.js.map +7 -0
  645. package/dist/src/matrix/monitor/access-state.js +9 -0
  646. package/dist/src/matrix/monitor/access-state.js.map +7 -0
  647. package/dist/src/matrix/monitor/ack-config.js +10 -0
  648. package/dist/src/matrix/monitor/ack-config.js.map +7 -0
  649. package/dist/src/matrix/monitor/allowlist.js +12 -0
  650. package/dist/src/matrix/monitor/allowlist.js.map +7 -0
  651. package/dist/src/matrix/monitor/auto-join.js +9 -0
  652. package/dist/src/matrix/monitor/auto-join.js.map +7 -0
  653. package/dist/src/matrix/monitor/config.js +37 -0
  654. package/dist/src/matrix/monitor/config.js.map +7 -0
  655. package/dist/src/matrix/monitor/context-summary.js +13 -0
  656. package/dist/src/matrix/monitor/context-summary.js.map +7 -0
  657. package/dist/src/matrix/monitor/direct.js +13 -0
  658. package/dist/src/matrix/monitor/direct.js.map +7 -0
  659. package/dist/src/matrix/monitor/events.js +20 -0
  660. package/dist/src/matrix/monitor/events.js.map +7 -0
  661. package/dist/src/matrix/monitor/handler.js +76 -0
  662. package/dist/src/matrix/monitor/handler.js.map +7 -0
  663. package/dist/src/matrix/monitor/handler.test-helpers.js +268 -0
  664. package/dist/src/matrix/monitor/handler.test-helpers.js.map +7 -0
  665. package/dist/src/matrix/monitor/inbound-dedupe.js +17 -0
  666. package/dist/src/matrix/monitor/inbound-dedupe.js.map +7 -0
  667. package/dist/src/matrix/monitor/index.js +502 -0
  668. package/dist/src/matrix/monitor/index.js.map +7 -0
  669. package/dist/src/matrix/monitor/legacy-crypto-restore.js +99 -0
  670. package/dist/src/matrix/monitor/legacy-crypto-restore.js.map +7 -0
  671. package/dist/src/matrix/monitor/location.js +11 -0
  672. package/dist/src/matrix/monitor/location.js.map +7 -0
  673. package/dist/src/matrix/monitor/media.js +10 -0
  674. package/dist/src/matrix/monitor/media.js.map +7 -0
  675. package/dist/src/matrix/monitor/mentions.js +9 -0
  676. package/dist/src/matrix/monitor/mentions.js.map +7 -0
  677. package/dist/src/matrix/monitor/reaction-events.js +38 -0
  678. package/dist/src/matrix/monitor/reaction-events.js.map +7 -0
  679. package/dist/src/matrix/monitor/recent-invite.js +10 -0
  680. package/dist/src/matrix/monitor/recent-invite.js.map +7 -0
  681. package/dist/src/matrix/monitor/replies.js +33 -0
  682. package/dist/src/matrix/monitor/replies.js.map +7 -0
  683. package/dist/src/matrix/monitor/reply-context.js +14 -0
  684. package/dist/src/matrix/monitor/reply-context.js.map +7 -0
  685. package/dist/src/matrix/monitor/room-history.js +10 -0
  686. package/dist/src/matrix/monitor/room-history.js.map +7 -0
  687. package/dist/src/matrix/monitor/room-info.js +9 -0
  688. package/dist/src/matrix/monitor/room-info.js.map +7 -0
  689. package/dist/src/matrix/monitor/rooms.js +9 -0
  690. package/dist/src/matrix/monitor/rooms.js.map +7 -0
  691. package/dist/src/matrix/monitor/route.js +12 -0
  692. package/dist/src/matrix/monitor/route.js.map +7 -0
  693. package/dist/src/matrix/monitor/runtime-api.js +40 -0
  694. package/dist/src/matrix/monitor/runtime-api.js.map +7 -0
  695. package/dist/src/matrix/monitor/startup-verification.js +174 -0
  696. package/dist/src/matrix/monitor/startup-verification.js.map +7 -0
  697. package/dist/src/matrix/monitor/startup.js +9 -0
  698. package/dist/src/matrix/monitor/startup.js.map +7 -0
  699. package/dist/src/matrix/monitor/status.js +10 -0
  700. package/dist/src/matrix/monitor/status.js.map +7 -0
  701. package/dist/src/matrix/monitor/sync-lifecycle.js +9 -0
  702. package/dist/src/matrix/monitor/sync-lifecycle.js.map +7 -0
  703. package/dist/src/matrix/monitor/task-runner.js +8 -0
  704. package/dist/src/matrix/monitor/task-runner.js.map +7 -0
  705. package/dist/src/matrix/monitor/thread-context.js +14 -0
  706. package/dist/src/matrix/monitor/thread-context.js.map +7 -0
  707. package/dist/src/matrix/monitor/threads.js +16 -0
  708. package/dist/src/matrix/monitor/threads.js.map +7 -0
  709. package/dist/src/matrix/monitor/types.js +11 -0
  710. package/dist/src/matrix/monitor/types.js.map +7 -0
  711. package/dist/src/matrix/monitor/verification-events.js +13 -0
  712. package/dist/src/matrix/monitor/verification-events.js.map +7 -0
  713. package/dist/src/matrix/monitor/verification-utils.js +16 -0
  714. package/dist/src/matrix/monitor/verification-utils.js.map +7 -0
  715. package/dist/src/matrix/outbound-media-runtime.js +9 -0
  716. package/dist/src/matrix/outbound-media-runtime.js.map +7 -0
  717. package/dist/src/matrix/poll-summary.js +14 -0
  718. package/dist/src/matrix/poll-summary.js.map +7 -0
  719. package/dist/src/matrix/poll-types.js +55 -0
  720. package/dist/src/matrix/poll-types.js.map +7 -0
  721. package/dist/src/matrix/probe.js +9 -0
  722. package/dist/src/matrix/probe.js.map +7 -0
  723. package/dist/src/matrix/probe.runtime.js +30 -0
  724. package/dist/src/matrix/probe.runtime.js.map +7 -0
  725. package/dist/src/matrix/profile.js +16 -0
  726. package/dist/src/matrix/profile.js.map +7 -0
  727. package/dist/src/matrix/reaction-common.js +26 -0
  728. package/dist/src/matrix/reaction-common.js.map +7 -0
  729. package/dist/src/matrix/sdk/crypto-bootstrap.js +15 -0
  730. package/dist/src/matrix/sdk/crypto-bootstrap.js.map +7 -0
  731. package/dist/src/matrix/sdk/crypto-facade.js +8 -0
  732. package/dist/src/matrix/sdk/crypto-facade.js.map +7 -0
  733. package/dist/src/matrix/sdk/crypto-node.runtime.js +15 -0
  734. package/dist/src/matrix/sdk/crypto-node.runtime.js.map +7 -0
  735. package/dist/src/matrix/sdk/crypto-runtime.js +84 -0
  736. package/dist/src/matrix/sdk/crypto-runtime.js.map +7 -0
  737. package/dist/src/matrix/sdk/decrypt-bridge.js +11 -0
  738. package/dist/src/matrix/sdk/decrypt-bridge.js.map +7 -0
  739. package/dist/src/matrix/sdk/event-helpers.js +12 -0
  740. package/dist/src/matrix/sdk/event-helpers.js.map +7 -0
  741. package/dist/src/matrix/sdk/http-client.js +13 -0
  742. package/dist/src/matrix/sdk/http-client.js.map +7 -0
  743. package/dist/src/matrix/sdk/idb-persistence-lock.js +12 -0
  744. package/dist/src/matrix/sdk/idb-persistence-lock.js.map +7 -0
  745. package/dist/src/matrix/sdk/idb-persistence.js +13 -0
  746. package/dist/src/matrix/sdk/idb-persistence.js.map +7 -0
  747. package/dist/src/matrix/sdk/idb-persistence.test-helpers.js +83 -0
  748. package/dist/src/matrix/sdk/idb-persistence.test-helpers.js.map +7 -0
  749. package/dist/src/matrix/sdk/logger.js +15 -0
  750. package/dist/src/matrix/sdk/logger.js.map +7 -0
  751. package/dist/src/matrix/sdk/read-response-with-limit.js +8 -0
  752. package/dist/src/matrix/sdk/read-response-with-limit.js.map +7 -0
  753. package/dist/src/matrix/sdk/recovery-key-store.js +14 -0
  754. package/dist/src/matrix/sdk/recovery-key-store.js.map +7 -0
  755. package/dist/src/matrix/sdk/transport.js +13 -0
  756. package/dist/src/matrix/sdk/transport.js.map +7 -0
  757. package/dist/src/matrix/sdk/types.js +7 -0
  758. package/dist/src/matrix/sdk/types.js.map +7 -0
  759. package/dist/src/matrix/sdk/verification-manager.js +11 -0
  760. package/dist/src/matrix/sdk/verification-manager.js.map +7 -0
  761. package/dist/src/matrix/sdk/verification-status.js +12 -0
  762. package/dist/src/matrix/sdk/verification-status.js.map +7 -0
  763. package/dist/src/matrix/sdk.js +1375 -0
  764. package/dist/src/matrix/sdk.js.map +7 -0
  765. package/dist/src/matrix/send/client.js +14 -0
  766. package/dist/src/matrix/send/client.js.map +7 -0
  767. package/dist/src/matrix/send/formatting.js +29 -0
  768. package/dist/src/matrix/send/formatting.js.map +7 -0
  769. package/dist/src/matrix/send/media.js +26 -0
  770. package/dist/src/matrix/send/media.js.map +7 -0
  771. package/dist/src/matrix/send/targets.js +15 -0
  772. package/dist/src/matrix/send/targets.js.map +7 -0
  773. package/dist/src/matrix/send/types.js +17 -0
  774. package/dist/src/matrix/send/types.js.map +7 -0
  775. package/dist/src/matrix/send.js +51 -0
  776. package/dist/src/matrix/send.js.map +7 -0
  777. package/dist/src/matrix/session-store-metadata.js +15 -0
  778. package/dist/src/matrix/session-store-metadata.js.map +7 -0
  779. package/dist/src/matrix/startup-abort.js +14 -0
  780. package/dist/src/matrix/startup-abort.js.map +7 -0
  781. package/dist/src/matrix/sync-state.js +12 -0
  782. package/dist/src/matrix/sync-state.js.map +7 -0
  783. package/dist/src/matrix/target-ids.js +20 -0
  784. package/dist/src/matrix/target-ids.js.map +7 -0
  785. package/dist/src/matrix/thread-bindings-shared.js +34 -0
  786. package/dist/src/matrix/thread-bindings-shared.js.map +7 -0
  787. package/dist/src/matrix/thread-bindings.js +49 -0
  788. package/dist/src/matrix/thread-bindings.js.map +7 -0
  789. package/dist/src/matrix-migration.runtime.js +45 -0
  790. package/dist/src/matrix-migration.runtime.js.map +7 -0
  791. package/dist/src/migration-config.js +29 -0
  792. package/dist/src/migration-config.js.map +7 -0
  793. package/dist/src/migration-snapshot-backup.js +12 -0
  794. package/dist/src/migration-snapshot-backup.js.map +7 -0
  795. package/dist/src/migration-snapshot.js +38 -0
  796. package/dist/src/migration-snapshot.js.map +7 -0
  797. package/dist/src/onboarding.js +43 -0
  798. package/dist/src/onboarding.js.map +7 -0
  799. package/dist/src/onboarding.test-harness.js +124 -0
  800. package/dist/src/onboarding.test-harness.js.map +7 -0
  801. package/dist/src/outbound.js +33 -0
  802. package/dist/src/outbound.js.map +7 -0
  803. package/dist/src/plugin-entry.runtime.js +15 -0
  804. package/dist/src/plugin-entry.runtime.js.map +7 -0
  805. package/dist/src/profile-update.js +41 -0
  806. package/dist/src/profile-update.js.map +7 -0
  807. package/dist/src/record-shared.js +8 -0
  808. package/dist/src/record-shared.js.map +7 -0
  809. package/dist/src/resolve-targets.js +34 -0
  810. package/dist/src/resolve-targets.js.map +7 -0
  811. package/dist/src/resolver.js +8 -0
  812. package/dist/src/resolver.js.map +7 -0
  813. package/dist/src/runtime-api.js +120 -0
  814. package/dist/src/runtime-api.js.map +7 -0
  815. package/dist/src/runtime.js +10 -0
  816. package/dist/src/runtime.js.map +7 -0
  817. package/dist/src/secret-contract.js +13 -0
  818. package/dist/src/secret-contract.js.map +7 -0
  819. package/dist/src/session-route.js +25 -0
  820. package/dist/src/session-route.js.map +7 -0
  821. package/dist/src/setup-bootstrap.js +124 -0
  822. package/dist/src/setup-bootstrap.js.map +7 -0
  823. package/dist/src/setup-config.js +28 -0
  824. package/dist/src/setup-config.js.map +7 -0
  825. package/dist/src/setup-contract.js +16 -0
  826. package/dist/src/setup-contract.js.map +7 -0
  827. package/dist/src/setup-core.js +25 -0
  828. package/dist/src/setup-core.js.map +7 -0
  829. package/dist/src/setup-surface.js +45 -0
  830. package/dist/src/setup-surface.js.map +7 -0
  831. package/dist/src/startup-maintenance.js +29 -0
  832. package/dist/src/startup-maintenance.js.map +7 -0
  833. package/dist/src/storage-paths.js +24 -0
  834. package/dist/src/storage-paths.js.map +7 -0
  835. package/dist/src/test-helpers.js +49 -0
  836. package/dist/src/test-helpers.js.map +7 -0
  837. package/dist/src/test-mocks.js +40 -0
  838. package/dist/src/test-mocks.js.map +7 -0
  839. package/dist/src/test-runtime.js +65 -0
  840. package/dist/src/test-runtime.js.map +7 -0
  841. package/dist/src/tool-actions.js +68 -0
  842. package/dist/src/tool-actions.js.map +7 -0
  843. package/dist/src/tool-actions.runtime.js +73 -0
  844. package/dist/src/tool-actions.runtime.js.map +7 -0
  845. package/dist/src/types.js +7 -0
  846. package/dist/src/types.js.map +7 -0
  847. package/dist/test-api.js +82 -0
  848. package/dist/test-api.js.map +7 -0
  849. package/dist/thread-bindings-runtime.js +15 -0
  850. package/dist/thread-bindings-runtime.js.map +7 -0
  851. package/package.json +12 -6
  852. package/CHANGELOG.md +0 -164
  853. package/ENDOFFILE +0 -0
  854. package/EOF +0 -0
  855. package/SPEC-SUPPORT.md +0 -116
  856. package/YAMLEND +0 -0
  857. package/api.ts +0 -18
  858. package/archipelagolab-lobi-1.0.0.tgz +0 -0
  859. package/archipelagolab-lobi-1.0.1.tgz +0 -0
  860. package/auth-presence.ts +0 -56
  861. package/channel-plugin-api.ts +0 -3
  862. package/cli-metadata.ts +0 -11
  863. package/contract-api.ts +0 -17
  864. package/docs/CHECKLIST.md +0 -83
  865. package/docs/FORK_SDK_GUIDE.md +0 -279
  866. package/helper-api.ts +0 -3
  867. package/index.test.ts +0 -61
  868. package/index.ts +0 -65
  869. package/plugin-entry.handlers.runtime.ts +0 -1
  870. package/runtime-api.ts +0 -54
  871. package/runtime-heavy-api.ts +0 -1
  872. package/scripts/migrate-to-lobi.sh +0 -72
  873. package/secret-contract-api.ts +0 -5
  874. package/setup-entry.ts +0 -13
  875. package/src/account-selection.test.ts +0 -124
  876. package/src/account-selection.ts +0 -226
  877. package/src/actions.account-propagation.test.ts +0 -251
  878. package/src/actions.test.ts +0 -251
  879. package/src/actions.ts +0 -336
  880. package/src/approval-auth.test.ts +0 -23
  881. package/src/approval-auth.ts +0 -25
  882. package/src/approval-handler.runtime.test.ts +0 -46
  883. package/src/approval-handler.runtime.ts +0 -400
  884. package/src/approval-ids.ts +0 -6
  885. package/src/approval-native.test.ts +0 -329
  886. package/src/approval-native.ts +0 -336
  887. package/src/approval-reactions.test.ts +0 -107
  888. package/src/approval-reactions.ts +0 -158
  889. package/src/auth-precedence.ts +0 -61
  890. package/src/channel-account-paths.ts +0 -92
  891. package/src/channel.account-paths.test.ts +0 -102
  892. package/src/channel.directory.test.ts +0 -601
  893. package/src/channel.resolve.test.ts +0 -38
  894. package/src/channel.runtime.ts +0 -16
  895. package/src/channel.setup.test.ts +0 -269
  896. package/src/channel.ts +0 -570
  897. package/src/cli-metadata.ts +0 -19
  898. package/src/cli.test.ts +0 -1015
  899. package/src/cli.ts +0 -1198
  900. package/src/config-adapter.ts +0 -41
  901. package/src/config-schema.test.ts +0 -90
  902. package/src/config-schema.ts +0 -114
  903. package/src/directory-live.test.ts +0 -200
  904. package/src/directory-live.ts +0 -238
  905. package/src/doctor-contract.ts +0 -287
  906. package/src/doctor.test.ts +0 -440
  907. package/src/doctor.ts +0 -262
  908. package/src/env-vars.ts +0 -92
  909. package/src/exec-approval-resolver.test.ts +0 -68
  910. package/src/exec-approval-resolver.ts +0 -23
  911. package/src/exec-approvals.test.ts +0 -483
  912. package/src/exec-approvals.ts +0 -290
  913. package/src/group-mentions.ts +0 -41
  914. package/src/legacy-crypto-inspector-availability.test.ts +0 -81
  915. package/src/legacy-crypto-inspector-availability.ts +0 -60
  916. package/src/legacy-crypto.test.ts +0 -234
  917. package/src/legacy-crypto.ts +0 -549
  918. package/src/legacy-state.test.ts +0 -86
  919. package/src/legacy-state.ts +0 -156
  920. package/src/matrix/account-config.ts +0 -150
  921. package/src/matrix/accounts.readiness.test.ts +0 -27
  922. package/src/matrix/accounts.test.ts +0 -757
  923. package/src/matrix/accounts.ts +0 -194
  924. package/src/matrix/actions/client.test.ts +0 -215
  925. package/src/matrix/actions/client.ts +0 -31
  926. package/src/matrix/actions/devices.test.ts +0 -114
  927. package/src/matrix/actions/devices.ts +0 -34
  928. package/src/matrix/actions/limits.test.ts +0 -15
  929. package/src/matrix/actions/limits.ts +0 -6
  930. package/src/matrix/actions/messages.test.ts +0 -289
  931. package/src/matrix/actions/messages.ts +0 -123
  932. package/src/matrix/actions/pins.test.ts +0 -74
  933. package/src/matrix/actions/pins.ts +0 -64
  934. package/src/matrix/actions/polls.test.ts +0 -71
  935. package/src/matrix/actions/polls.ts +0 -109
  936. package/src/matrix/actions/profile.test.ts +0 -109
  937. package/src/matrix/actions/profile.ts +0 -37
  938. package/src/matrix/actions/reactions.test.ts +0 -135
  939. package/src/matrix/actions/reactions.ts +0 -59
  940. package/src/matrix/actions/room.test.ts +0 -79
  941. package/src/matrix/actions/room.ts +0 -71
  942. package/src/matrix/actions/summary.test.ts +0 -87
  943. package/src/matrix/actions/summary.ts +0 -88
  944. package/src/matrix/actions/types.ts +0 -82
  945. package/src/matrix/actions/verification.test.ts +0 -105
  946. package/src/matrix/actions/verification.ts +0 -237
  947. package/src/matrix/actions.ts +0 -37
  948. package/src/matrix/active-client.ts +0 -26
  949. package/src/matrix/async-lock.ts +0 -18
  950. package/src/matrix/backup-health.ts +0 -115
  951. package/src/matrix/client/config-runtime-api.ts +0 -14
  952. package/src/matrix/client/config-secret-input.runtime.ts +0 -1
  953. package/src/matrix/client/config.ts +0 -982
  954. package/src/matrix/client/create-client.test.ts +0 -115
  955. package/src/matrix/client/create-client.ts +0 -101
  956. package/src/matrix/client/env-auth.ts +0 -6
  957. package/src/matrix/client/file-sync-store.test.ts +0 -265
  958. package/src/matrix/client/file-sync-store.ts +0 -289
  959. package/src/matrix/client/logging.ts +0 -123
  960. package/src/matrix/client/migration-snapshot.runtime.ts +0 -1
  961. package/src/matrix/client/private-network-host.ts +0 -56
  962. package/src/matrix/client/runtime.ts +0 -4
  963. package/src/matrix/client/shared.test.ts +0 -344
  964. package/src/matrix/client/shared.ts +0 -306
  965. package/src/matrix/client/storage.test.ts +0 -634
  966. package/src/matrix/client/storage.ts +0 -544
  967. package/src/matrix/client/types.ts +0 -50
  968. package/src/matrix/client-bootstrap.test.ts +0 -84
  969. package/src/matrix/client-bootstrap.ts +0 -164
  970. package/src/matrix/client-resolver.test-helpers.ts +0 -147
  971. package/src/matrix/client.test.ts +0 -1521
  972. package/src/matrix/client.ts +0 -23
  973. package/src/matrix/config-paths.ts +0 -31
  974. package/src/matrix/config-update.test.ts +0 -237
  975. package/src/matrix/config-update.ts +0 -291
  976. package/src/matrix/credentials-read.ts +0 -206
  977. package/src/matrix/credentials-write.runtime.ts +0 -26
  978. package/src/matrix/credentials.test.ts +0 -501
  979. package/src/matrix/credentials.ts +0 -95
  980. package/src/matrix/deps.test.ts +0 -74
  981. package/src/matrix/deps.ts +0 -225
  982. package/src/matrix/device-health.test.ts +0 -45
  983. package/src/matrix/device-health.ts +0 -31
  984. package/src/matrix/direct-management.test.ts +0 -350
  985. package/src/matrix/direct-management.ts +0 -347
  986. package/src/matrix/direct-room.test.ts +0 -61
  987. package/src/matrix/direct-room.ts +0 -128
  988. package/src/matrix/draft-stream.test.ts +0 -406
  989. package/src/matrix/draft-stream.ts +0 -216
  990. package/src/matrix/encryption-guidance.ts +0 -27
  991. package/src/matrix/errors.ts +0 -21
  992. package/src/matrix/format.test.ts +0 -340
  993. package/src/matrix/format.ts +0 -428
  994. package/src/matrix/legacy-crypto-inspector.ts +0 -95
  995. package/src/matrix/media-errors.ts +0 -20
  996. package/src/matrix/media-text.ts +0 -169
  997. package/src/matrix/monitor/access-state.test.ts +0 -45
  998. package/src/matrix/monitor/access-state.ts +0 -77
  999. package/src/matrix/monitor/ack-config.test.ts +0 -57
  1000. package/src/matrix/monitor/ack-config.ts +0 -26
  1001. package/src/matrix/monitor/allowlist.test.ts +0 -45
  1002. package/src/matrix/monitor/allowlist.ts +0 -94
  1003. package/src/matrix/monitor/auto-join.test.ts +0 -203
  1004. package/src/matrix/monitor/auto-join.ts +0 -86
  1005. package/src/matrix/monitor/config.test.ts +0 -197
  1006. package/src/matrix/monitor/config.ts +0 -303
  1007. package/src/matrix/monitor/context-summary.ts +0 -43
  1008. package/src/matrix/monitor/direct.test.ts +0 -529
  1009. package/src/matrix/monitor/direct.ts +0 -270
  1010. package/src/matrix/monitor/events.test.ts +0 -1524
  1011. package/src/matrix/monitor/events.ts +0 -213
  1012. package/src/matrix/monitor/handler.body-for-agent.test.ts +0 -396
  1013. package/src/matrix/monitor/handler.group-history.test.ts +0 -648
  1014. package/src/matrix/monitor/handler.media-failure.test.ts +0 -267
  1015. package/src/matrix/monitor/handler.test-helpers.ts +0 -308
  1016. package/src/matrix/monitor/handler.test.ts +0 -2952
  1017. package/src/matrix/monitor/handler.thread-root-media.test.ts +0 -82
  1018. package/src/matrix/monitor/handler.ts +0 -1679
  1019. package/src/matrix/monitor/inbound-dedupe.test.ts +0 -146
  1020. package/src/matrix/monitor/inbound-dedupe.ts +0 -267
  1021. package/src/matrix/monitor/index.test.ts +0 -920
  1022. package/src/matrix/monitor/index.ts +0 -434
  1023. package/src/matrix/monitor/legacy-crypto-restore.test.ts +0 -206
  1024. package/src/matrix/monitor/legacy-crypto-restore.ts +0 -139
  1025. package/src/matrix/monitor/location.ts +0 -100
  1026. package/src/matrix/monitor/media.test.ts +0 -159
  1027. package/src/matrix/monitor/media.ts +0 -119
  1028. package/src/matrix/monitor/mentions.test.ts +0 -289
  1029. package/src/matrix/monitor/mentions.ts +0 -177
  1030. package/src/matrix/monitor/reaction-events.test.ts +0 -326
  1031. package/src/matrix/monitor/reaction-events.ts +0 -187
  1032. package/src/matrix/monitor/recent-invite.test.ts +0 -92
  1033. package/src/matrix/monitor/recent-invite.ts +0 -30
  1034. package/src/matrix/monitor/replies.test.ts +0 -265
  1035. package/src/matrix/monitor/replies.ts +0 -136
  1036. package/src/matrix/monitor/reply-context.test.ts +0 -276
  1037. package/src/matrix/monitor/reply-context.ts +0 -92
  1038. package/src/matrix/monitor/room-history.test.ts +0 -258
  1039. package/src/matrix/monitor/room-history.ts +0 -301
  1040. package/src/matrix/monitor/room-info.test.ts +0 -201
  1041. package/src/matrix/monitor/room-info.ts +0 -126
  1042. package/src/matrix/monitor/rooms.test.ts +0 -121
  1043. package/src/matrix/monitor/rooms.ts +0 -52
  1044. package/src/matrix/monitor/route.test.ts +0 -255
  1045. package/src/matrix/monitor/route.ts +0 -178
  1046. package/src/matrix/monitor/runtime-api.ts +0 -31
  1047. package/src/matrix/monitor/startup-verification.test.ts +0 -294
  1048. package/src/matrix/monitor/startup-verification.ts +0 -237
  1049. package/src/matrix/monitor/startup.test.ts +0 -257
  1050. package/src/matrix/monitor/startup.ts +0 -218
  1051. package/src/matrix/monitor/status.ts +0 -111
  1052. package/src/matrix/monitor/sync-lifecycle.test.ts +0 -224
  1053. package/src/matrix/monitor/sync-lifecycle.ts +0 -91
  1054. package/src/matrix/monitor/task-runner.ts +0 -38
  1055. package/src/matrix/monitor/thread-context.test.ts +0 -149
  1056. package/src/matrix/monitor/thread-context.ts +0 -108
  1057. package/src/matrix/monitor/threads.test.ts +0 -68
  1058. package/src/matrix/monitor/threads.ts +0 -85
  1059. package/src/matrix/monitor/types.ts +0 -30
  1060. package/src/matrix/monitor/verification-events.ts +0 -627
  1061. package/src/matrix/monitor/verification-utils.test.ts +0 -47
  1062. package/src/matrix/monitor/verification-utils.ts +0 -46
  1063. package/src/matrix/outbound-media-runtime.ts +0 -1
  1064. package/src/matrix/poll-summary.ts +0 -110
  1065. package/src/matrix/poll-types.test.ts +0 -205
  1066. package/src/matrix/poll-types.ts +0 -433
  1067. package/src/matrix/probe.runtime.ts +0 -4
  1068. package/src/matrix/probe.test.ts +0 -154
  1069. package/src/matrix/probe.ts +0 -96
  1070. package/src/matrix/profile.test.ts +0 -154
  1071. package/src/matrix/profile.ts +0 -184
  1072. package/src/matrix/reaction-common.test.ts +0 -96
  1073. package/src/matrix/reaction-common.ts +0 -147
  1074. package/src/matrix/sdk/crypto-bootstrap.test.ts +0 -505
  1075. package/src/matrix/sdk/crypto-bootstrap.ts +0 -341
  1076. package/src/matrix/sdk/crypto-facade.test.ts +0 -197
  1077. package/src/matrix/sdk/crypto-facade.ts +0 -207
  1078. package/src/matrix/sdk/crypto-node.runtime.test.ts +0 -27
  1079. package/src/matrix/sdk/crypto-node.runtime.ts +0 -9
  1080. package/src/matrix/sdk/crypto-runtime.ts +0 -11
  1081. package/src/matrix/sdk/decrypt-bridge.ts +0 -356
  1082. package/src/matrix/sdk/event-helpers.test.ts +0 -60
  1083. package/src/matrix/sdk/event-helpers.ts +0 -71
  1084. package/src/matrix/sdk/http-client.test.ts +0 -134
  1085. package/src/matrix/sdk/http-client.ts +0 -87
  1086. package/src/matrix/sdk/idb-persistence-lock.ts +0 -51
  1087. package/src/matrix/sdk/idb-persistence.lock-order.test.ts +0 -108
  1088. package/src/matrix/sdk/idb-persistence.test-helpers.ts +0 -88
  1089. package/src/matrix/sdk/idb-persistence.test.ts +0 -149
  1090. package/src/matrix/sdk/idb-persistence.ts +0 -283
  1091. package/src/matrix/sdk/logger.test.ts +0 -25
  1092. package/src/matrix/sdk/logger.ts +0 -108
  1093. package/src/matrix/sdk/read-response-with-limit.ts +0 -19
  1094. package/src/matrix/sdk/recovery-key-store.test.ts +0 -385
  1095. package/src/matrix/sdk/recovery-key-store.ts +0 -430
  1096. package/src/matrix/sdk/transport.test.ts +0 -161
  1097. package/src/matrix/sdk/transport.ts +0 -344
  1098. package/src/matrix/sdk/types.ts +0 -236
  1099. package/src/matrix/sdk/verification-manager.test.ts +0 -509
  1100. package/src/matrix/sdk/verification-manager.ts +0 -694
  1101. package/src/matrix/sdk/verification-status.ts +0 -23
  1102. package/src/matrix/sdk.test.ts +0 -2568
  1103. package/src/matrix/sdk.ts +0 -1789
  1104. package/src/matrix/send/client.test.ts +0 -174
  1105. package/src/matrix/send/client.ts +0 -90
  1106. package/src/matrix/send/formatting.ts +0 -189
  1107. package/src/matrix/send/media.ts +0 -244
  1108. package/src/matrix/send/targets.test.ts +0 -254
  1109. package/src/matrix/send/targets.ts +0 -104
  1110. package/src/matrix/send/types.ts +0 -134
  1111. package/src/matrix/send.test.ts +0 -958
  1112. package/src/matrix/send.ts +0 -609
  1113. package/src/matrix/session-store-metadata.ts +0 -108
  1114. package/src/matrix/startup-abort.ts +0 -44
  1115. package/src/matrix/sync-state.ts +0 -27
  1116. package/src/matrix/target-ids.ts +0 -102
  1117. package/src/matrix/thread-bindings-shared.ts +0 -201
  1118. package/src/matrix/thread-bindings.test.ts +0 -673
  1119. package/src/matrix/thread-bindings.ts +0 -577
  1120. package/src/matrix-migration.runtime.ts +0 -9
  1121. package/src/migration-config.test.ts +0 -228
  1122. package/src/migration-config.ts +0 -243
  1123. package/src/migration-snapshot-backup.ts +0 -117
  1124. package/src/migration-snapshot.test.ts +0 -184
  1125. package/src/migration-snapshot.ts +0 -55
  1126. package/src/onboarding.resolve.test.ts +0 -55
  1127. package/src/onboarding.test-harness.ts +0 -158
  1128. package/src/onboarding.test.ts +0 -665
  1129. package/src/onboarding.ts +0 -773
  1130. package/src/outbound.test.ts +0 -173
  1131. package/src/outbound.ts +0 -78
  1132. package/src/plugin-entry.runtime.js +0 -159
  1133. package/src/plugin-entry.runtime.test.ts +0 -108
  1134. package/src/plugin-entry.runtime.ts +0 -68
  1135. package/src/profile-update.ts +0 -68
  1136. package/src/record-shared.ts +0 -3
  1137. package/src/resolve-targets.test.ts +0 -178
  1138. package/src/resolve-targets.ts +0 -175
  1139. package/src/resolver.ts +0 -21
  1140. package/src/runtime-api.ts +0 -144
  1141. package/src/runtime.ts +0 -7
  1142. package/src/secret-contract.ts +0 -174
  1143. package/src/session-route.test.ts +0 -315
  1144. package/src/session-route.ts +0 -113
  1145. package/src/setup-bootstrap.ts +0 -94
  1146. package/src/setup-config.ts +0 -222
  1147. package/src/setup-contract.ts +0 -89
  1148. package/src/setup-core.test.ts +0 -326
  1149. package/src/setup-core.ts +0 -50
  1150. package/src/setup-surface.ts +0 -4
  1151. package/src/startup-maintenance.test.ts +0 -227
  1152. package/src/startup-maintenance.ts +0 -114
  1153. package/src/storage-paths.ts +0 -92
  1154. package/src/test-helpers.ts +0 -42
  1155. package/src/test-mocks.ts +0 -55
  1156. package/src/test-runtime.ts +0 -72
  1157. package/src/test-support/monitor-route-test-support.ts +0 -8
  1158. package/src/tool-actions.runtime.ts +0 -1
  1159. package/src/tool-actions.test.ts +0 -422
  1160. package/src/tool-actions.ts +0 -498
  1161. package/src/types.ts +0 -230
  1162. package/test-api.ts +0 -2
  1163. package/thread-bindings-runtime.ts +0 -4
  1164. package/tsconfig.json +0 -16
@@ -0,0 +1,635 @@
1
+ import {
2
+ init_shims
3
+ } from "./chunk-7FLQSTPG.js";
4
+
5
+ // ../../node_modules/strtok3/lib/stream/Errors.js
6
+ init_shims();
7
+ var defaultMessages = "End-Of-Stream";
8
+ var EndOfStreamError = class extends Error {
9
+ constructor() {
10
+ super(defaultMessages);
11
+ this.name = "EndOfStreamError";
12
+ }
13
+ };
14
+ var AbortError = class extends Error {
15
+ constructor(message = "The operation was aborted") {
16
+ super(message);
17
+ this.name = "AbortError";
18
+ }
19
+ };
20
+
21
+ // ../../node_modules/strtok3/lib/stream/index.js
22
+ init_shims();
23
+
24
+ // ../../node_modules/strtok3/lib/stream/StreamReader.js
25
+ init_shims();
26
+
27
+ // ../../node_modules/strtok3/lib/stream/Deferred.js
28
+ init_shims();
29
+
30
+ // ../../node_modules/strtok3/lib/stream/AbstractStreamReader.js
31
+ init_shims();
32
+ var AbstractStreamReader = class {
33
+ constructor() {
34
+ this.endOfStream = false;
35
+ this.interrupted = false;
36
+ this.peekQueue = [];
37
+ }
38
+ async peek(uint8Array, mayBeLess = false) {
39
+ const bytesRead = await this.read(uint8Array, mayBeLess);
40
+ this.peekQueue.push(uint8Array.subarray(0, bytesRead));
41
+ return bytesRead;
42
+ }
43
+ async read(buffer, mayBeLess = false) {
44
+ if (buffer.length === 0) {
45
+ return 0;
46
+ }
47
+ let bytesRead = this.readFromPeekBuffer(buffer);
48
+ if (!this.endOfStream) {
49
+ bytesRead += await this.readRemainderFromStream(buffer.subarray(bytesRead), mayBeLess);
50
+ }
51
+ if (bytesRead === 0 && !mayBeLess) {
52
+ throw new EndOfStreamError();
53
+ }
54
+ return bytesRead;
55
+ }
56
+ /**
57
+ * Read chunk from stream
58
+ * @param buffer - Target Uint8Array (or Buffer) to store data read from stream in
59
+ * @returns Number of bytes read
60
+ */
61
+ readFromPeekBuffer(buffer) {
62
+ let remaining = buffer.length;
63
+ let bytesRead = 0;
64
+ while (this.peekQueue.length > 0 && remaining > 0) {
65
+ const peekData = this.peekQueue.pop();
66
+ if (!peekData)
67
+ throw new Error("peekData should be defined");
68
+ const lenCopy = Math.min(peekData.length, remaining);
69
+ buffer.set(peekData.subarray(0, lenCopy), bytesRead);
70
+ bytesRead += lenCopy;
71
+ remaining -= lenCopy;
72
+ if (lenCopy < peekData.length) {
73
+ this.peekQueue.push(peekData.subarray(lenCopy));
74
+ }
75
+ }
76
+ return bytesRead;
77
+ }
78
+ async readRemainderFromStream(buffer, mayBeLess) {
79
+ let bytesRead = 0;
80
+ while (bytesRead < buffer.length && !this.endOfStream) {
81
+ if (this.interrupted) {
82
+ throw new AbortError();
83
+ }
84
+ const chunkLen = await this.readFromStream(buffer.subarray(bytesRead), mayBeLess);
85
+ if (chunkLen === 0)
86
+ break;
87
+ bytesRead += chunkLen;
88
+ }
89
+ if (!mayBeLess && bytesRead < buffer.length) {
90
+ throw new EndOfStreamError();
91
+ }
92
+ return bytesRead;
93
+ }
94
+ };
95
+
96
+ // ../../node_modules/strtok3/lib/stream/WebStreamByobReader.js
97
+ init_shims();
98
+
99
+ // ../../node_modules/strtok3/lib/stream/WebStreamReader.js
100
+ init_shims();
101
+ var WebStreamReader = class extends AbstractStreamReader {
102
+ constructor(reader) {
103
+ super();
104
+ this.reader = reader;
105
+ }
106
+ async abort() {
107
+ return this.close();
108
+ }
109
+ async close() {
110
+ this.reader.releaseLock();
111
+ }
112
+ };
113
+
114
+ // ../../node_modules/strtok3/lib/stream/WebStreamByobReader.js
115
+ var WebStreamByobReader = class extends WebStreamReader {
116
+ /**
117
+ * Read from stream
118
+ * @param buffer - Target Uint8Array (or Buffer) to store data read from stream in
119
+ * @param mayBeLess - If true, may fill the buffer partially
120
+ * @protected Bytes read
121
+ */
122
+ async readFromStream(buffer, mayBeLess) {
123
+ if (buffer.length === 0)
124
+ return 0;
125
+ const result = await this.reader.read(new Uint8Array(buffer.length), { min: mayBeLess ? void 0 : buffer.length });
126
+ if (result.done) {
127
+ this.endOfStream = result.done;
128
+ }
129
+ if (result.value) {
130
+ buffer.set(result.value);
131
+ return result.value.length;
132
+ }
133
+ return 0;
134
+ }
135
+ };
136
+
137
+ // ../../node_modules/strtok3/lib/stream/WebStreamDefaultReader.js
138
+ init_shims();
139
+ var WebStreamDefaultReader = class extends AbstractStreamReader {
140
+ constructor(reader) {
141
+ super();
142
+ this.reader = reader;
143
+ this.buffer = null;
144
+ }
145
+ /**
146
+ * Copy chunk to target, and store the remainder in this.buffer
147
+ */
148
+ writeChunk(target, chunk) {
149
+ const written = Math.min(chunk.length, target.length);
150
+ target.set(chunk.subarray(0, written));
151
+ if (written < chunk.length) {
152
+ this.buffer = chunk.subarray(written);
153
+ } else {
154
+ this.buffer = null;
155
+ }
156
+ return written;
157
+ }
158
+ /**
159
+ * Read from stream
160
+ * @param buffer - Target Uint8Array (or Buffer) to store data read from stream in
161
+ * @param mayBeLess - If true, may fill the buffer partially
162
+ * @protected Bytes read
163
+ */
164
+ async readFromStream(buffer, mayBeLess) {
165
+ if (buffer.length === 0)
166
+ return 0;
167
+ let totalBytesRead = 0;
168
+ if (this.buffer) {
169
+ totalBytesRead += this.writeChunk(buffer, this.buffer);
170
+ }
171
+ while (totalBytesRead < buffer.length && !this.endOfStream) {
172
+ const result = await this.reader.read();
173
+ if (result.done) {
174
+ this.endOfStream = true;
175
+ break;
176
+ }
177
+ if (result.value) {
178
+ totalBytesRead += this.writeChunk(buffer.subarray(totalBytesRead), result.value);
179
+ }
180
+ }
181
+ if (!mayBeLess && totalBytesRead === 0 && this.endOfStream) {
182
+ throw new EndOfStreamError();
183
+ }
184
+ return totalBytesRead;
185
+ }
186
+ abort() {
187
+ this.interrupted = true;
188
+ return this.reader.cancel();
189
+ }
190
+ async close() {
191
+ await this.abort();
192
+ this.reader.releaseLock();
193
+ }
194
+ };
195
+
196
+ // ../../node_modules/strtok3/lib/stream/WebStreamReaderFactory.js
197
+ init_shims();
198
+ function makeWebStreamReader(stream) {
199
+ try {
200
+ const reader = stream.getReader({ mode: "byob" });
201
+ if (reader instanceof ReadableStreamDefaultReader) {
202
+ return new WebStreamDefaultReader(reader);
203
+ }
204
+ return new WebStreamByobReader(reader);
205
+ } catch (error) {
206
+ if (error instanceof TypeError) {
207
+ return new WebStreamDefaultReader(stream.getReader());
208
+ }
209
+ throw error;
210
+ }
211
+ }
212
+
213
+ // ../../node_modules/strtok3/lib/core.js
214
+ init_shims();
215
+
216
+ // ../../node_modules/strtok3/lib/ReadStreamTokenizer.js
217
+ init_shims();
218
+
219
+ // ../../node_modules/strtok3/lib/AbstractTokenizer.js
220
+ init_shims();
221
+ var AbstractTokenizer = class {
222
+ /**
223
+ * Constructor
224
+ * @param options Tokenizer options
225
+ * @protected
226
+ */
227
+ constructor(options) {
228
+ this.numBuffer = new Uint8Array(8);
229
+ this.position = 0;
230
+ this.onClose = options?.onClose;
231
+ if (options?.abortSignal) {
232
+ options.abortSignal.addEventListener("abort", () => {
233
+ this.abort();
234
+ });
235
+ }
236
+ }
237
+ /**
238
+ * Read a token from the tokenizer-stream
239
+ * @param token - The token to read
240
+ * @param position - If provided, the desired position in the tokenizer-stream
241
+ * @returns Promise with token data
242
+ */
243
+ async readToken(token, position = this.position) {
244
+ const uint8Array = new Uint8Array(token.len);
245
+ const len = await this.readBuffer(uint8Array, { position });
246
+ if (len < token.len)
247
+ throw new EndOfStreamError();
248
+ return token.get(uint8Array, 0);
249
+ }
250
+ /**
251
+ * Peek a token from the tokenizer-stream.
252
+ * @param token - Token to peek from the tokenizer-stream.
253
+ * @param position - Offset where to begin reading within the file. If position is null, data will be read from the current file position.
254
+ * @returns Promise with token data
255
+ */
256
+ async peekToken(token, position = this.position) {
257
+ const uint8Array = new Uint8Array(token.len);
258
+ const len = await this.peekBuffer(uint8Array, { position });
259
+ if (len < token.len)
260
+ throw new EndOfStreamError();
261
+ return token.get(uint8Array, 0);
262
+ }
263
+ /**
264
+ * Read a numeric token from the stream
265
+ * @param token - Numeric token
266
+ * @returns Promise with number
267
+ */
268
+ async readNumber(token) {
269
+ const len = await this.readBuffer(this.numBuffer, { length: token.len });
270
+ if (len < token.len)
271
+ throw new EndOfStreamError();
272
+ return token.get(this.numBuffer, 0);
273
+ }
274
+ /**
275
+ * Read a numeric token from the stream
276
+ * @param token - Numeric token
277
+ * @returns Promise with number
278
+ */
279
+ async peekNumber(token) {
280
+ const len = await this.peekBuffer(this.numBuffer, { length: token.len });
281
+ if (len < token.len)
282
+ throw new EndOfStreamError();
283
+ return token.get(this.numBuffer, 0);
284
+ }
285
+ /**
286
+ * Ignore number of bytes, advances the pointer in under tokenizer-stream.
287
+ * @param length - Number of bytes to ignore. Must be ≥ 0.
288
+ * @return resolves the number of bytes ignored, equals length if this available, otherwise the number of bytes available
289
+ */
290
+ async ignore(length) {
291
+ if (length < 0) {
292
+ throw new RangeError("ignore length must be \u2265 0 bytes");
293
+ }
294
+ if (this.fileInfo.size !== void 0) {
295
+ const bytesLeft = this.fileInfo.size - this.position;
296
+ if (length > bytesLeft) {
297
+ this.position += bytesLeft;
298
+ return bytesLeft;
299
+ }
300
+ }
301
+ this.position += length;
302
+ return length;
303
+ }
304
+ async close() {
305
+ await this.abort();
306
+ await this.onClose?.();
307
+ }
308
+ normalizeOptions(uint8Array, options) {
309
+ if (!this.supportsRandomAccess() && options && options.position !== void 0 && options.position < this.position) {
310
+ throw new Error("`options.position` must be equal or greater than `tokenizer.position`");
311
+ }
312
+ return {
313
+ ...{
314
+ mayBeLess: false,
315
+ offset: 0,
316
+ length: uint8Array.length,
317
+ position: this.position
318
+ },
319
+ ...options
320
+ };
321
+ }
322
+ abort() {
323
+ return Promise.resolve();
324
+ }
325
+ };
326
+
327
+ // ../../node_modules/strtok3/lib/ReadStreamTokenizer.js
328
+ var maxBufferSize = 256e3;
329
+ var ReadStreamTokenizer = class extends AbstractTokenizer {
330
+ /**
331
+ * Constructor
332
+ * @param streamReader stream-reader to read from
333
+ * @param options Tokenizer options
334
+ */
335
+ constructor(streamReader, options) {
336
+ super(options);
337
+ this.streamReader = streamReader;
338
+ this.fileInfo = options?.fileInfo ?? {};
339
+ }
340
+ /**
341
+ * Read buffer from tokenizer
342
+ * @param uint8Array - Target Uint8Array to fill with data read from the tokenizer-stream
343
+ * @param options - Read behaviour options
344
+ * @returns Promise with number of bytes read
345
+ */
346
+ async readBuffer(uint8Array, options) {
347
+ const normOptions = this.normalizeOptions(uint8Array, options);
348
+ const skipBytes = normOptions.position - this.position;
349
+ if (skipBytes > 0) {
350
+ await this.ignore(skipBytes);
351
+ return this.readBuffer(uint8Array, options);
352
+ }
353
+ if (skipBytes < 0) {
354
+ throw new Error("`options.position` must be equal or greater than `tokenizer.position`");
355
+ }
356
+ if (normOptions.length === 0) {
357
+ return 0;
358
+ }
359
+ const bytesRead = await this.streamReader.read(uint8Array.subarray(0, normOptions.length), normOptions.mayBeLess);
360
+ this.position += bytesRead;
361
+ if ((!options || !options.mayBeLess) && bytesRead < normOptions.length) {
362
+ throw new EndOfStreamError();
363
+ }
364
+ return bytesRead;
365
+ }
366
+ /**
367
+ * Peek (read ahead) buffer from tokenizer
368
+ * @param uint8Array - Uint8Array (or Buffer) to write data to
369
+ * @param options - Read behaviour options
370
+ * @returns Promise with number of bytes peeked
371
+ */
372
+ async peekBuffer(uint8Array, options) {
373
+ const normOptions = this.normalizeOptions(uint8Array, options);
374
+ let bytesRead = 0;
375
+ if (normOptions.position) {
376
+ const skipBytes = normOptions.position - this.position;
377
+ if (skipBytes > 0) {
378
+ const skipBuffer = new Uint8Array(normOptions.length + skipBytes);
379
+ bytesRead = await this.peekBuffer(skipBuffer, { mayBeLess: normOptions.mayBeLess });
380
+ uint8Array.set(skipBuffer.subarray(skipBytes));
381
+ return bytesRead - skipBytes;
382
+ }
383
+ if (skipBytes < 0) {
384
+ throw new Error("Cannot peek from a negative offset in a stream");
385
+ }
386
+ }
387
+ if (normOptions.length > 0) {
388
+ try {
389
+ bytesRead = await this.streamReader.peek(uint8Array.subarray(0, normOptions.length), normOptions.mayBeLess);
390
+ } catch (err) {
391
+ if (options?.mayBeLess && err instanceof EndOfStreamError) {
392
+ return 0;
393
+ }
394
+ throw err;
395
+ }
396
+ if (!normOptions.mayBeLess && bytesRead < normOptions.length) {
397
+ throw new EndOfStreamError();
398
+ }
399
+ }
400
+ return bytesRead;
401
+ }
402
+ /**
403
+ * @param length Number of bytes to ignore. Must be ≥ 0.
404
+ */
405
+ async ignore(length) {
406
+ if (length < 0) {
407
+ throw new RangeError("ignore length must be \u2265 0 bytes");
408
+ }
409
+ const bufSize = Math.min(maxBufferSize, length);
410
+ const buf = new Uint8Array(bufSize);
411
+ let totBytesRead = 0;
412
+ while (totBytesRead < length) {
413
+ const remaining = length - totBytesRead;
414
+ const bytesRead = await this.readBuffer(buf, { length: Math.min(bufSize, remaining) });
415
+ if (bytesRead < 0) {
416
+ return bytesRead;
417
+ }
418
+ totBytesRead += bytesRead;
419
+ }
420
+ return totBytesRead;
421
+ }
422
+ abort() {
423
+ return this.streamReader.abort();
424
+ }
425
+ async close() {
426
+ return this.streamReader.close();
427
+ }
428
+ supportsRandomAccess() {
429
+ return false;
430
+ }
431
+ };
432
+
433
+ // ../../node_modules/strtok3/lib/BufferTokenizer.js
434
+ init_shims();
435
+ var BufferTokenizer = class extends AbstractTokenizer {
436
+ /**
437
+ * Construct BufferTokenizer
438
+ * @param uint8Array - Uint8Array to tokenize
439
+ * @param options Tokenizer options
440
+ */
441
+ constructor(uint8Array, options) {
442
+ super(options);
443
+ this.uint8Array = uint8Array;
444
+ this.fileInfo = { ...options?.fileInfo ?? {}, ...{ size: uint8Array.length } };
445
+ }
446
+ /**
447
+ * Read buffer from tokenizer
448
+ * @param uint8Array - Uint8Array to tokenize
449
+ * @param options - Read behaviour options
450
+ * @returns {Promise<number>}
451
+ */
452
+ async readBuffer(uint8Array, options) {
453
+ if (options?.position) {
454
+ this.position = options.position;
455
+ }
456
+ const bytesRead = await this.peekBuffer(uint8Array, options);
457
+ this.position += bytesRead;
458
+ return bytesRead;
459
+ }
460
+ /**
461
+ * Peek (read ahead) buffer from tokenizer
462
+ * @param uint8Array
463
+ * @param options - Read behaviour options
464
+ * @returns {Promise<number>}
465
+ */
466
+ async peekBuffer(uint8Array, options) {
467
+ const normOptions = this.normalizeOptions(uint8Array, options);
468
+ const bytes2read = Math.min(this.uint8Array.length - normOptions.position, normOptions.length);
469
+ if (!normOptions.mayBeLess && bytes2read < normOptions.length) {
470
+ throw new EndOfStreamError();
471
+ }
472
+ uint8Array.set(this.uint8Array.subarray(normOptions.position, normOptions.position + bytes2read));
473
+ return bytes2read;
474
+ }
475
+ close() {
476
+ return super.close();
477
+ }
478
+ supportsRandomAccess() {
479
+ return true;
480
+ }
481
+ setPosition(position) {
482
+ this.position = position;
483
+ }
484
+ };
485
+
486
+ // ../../node_modules/strtok3/lib/BlobTokenizer.js
487
+ init_shims();
488
+ var BlobTokenizer = class extends AbstractTokenizer {
489
+ /**
490
+ * Construct BufferTokenizer
491
+ * @param blob - Uint8Array to tokenize
492
+ * @param options Tokenizer options
493
+ */
494
+ constructor(blob, options) {
495
+ super(options);
496
+ this.blob = blob;
497
+ this.fileInfo = { ...options?.fileInfo ?? {}, ...{ size: blob.size, mimeType: blob.type } };
498
+ }
499
+ /**
500
+ * Read buffer from tokenizer
501
+ * @param uint8Array - Uint8Array to tokenize
502
+ * @param options - Read behaviour options
503
+ * @returns {Promise<number>}
504
+ */
505
+ async readBuffer(uint8Array, options) {
506
+ if (options?.position) {
507
+ this.position = options.position;
508
+ }
509
+ const bytesRead = await this.peekBuffer(uint8Array, options);
510
+ this.position += bytesRead;
511
+ return bytesRead;
512
+ }
513
+ /**
514
+ * Peek (read ahead) buffer from tokenizer
515
+ * @param buffer
516
+ * @param options - Read behaviour options
517
+ * @returns {Promise<number>}
518
+ */
519
+ async peekBuffer(buffer, options) {
520
+ const normOptions = this.normalizeOptions(buffer, options);
521
+ const bytes2read = Math.min(this.blob.size - normOptions.position, normOptions.length);
522
+ if (!normOptions.mayBeLess && bytes2read < normOptions.length) {
523
+ throw new EndOfStreamError();
524
+ }
525
+ const arrayBuffer = await this.blob.slice(normOptions.position, normOptions.position + bytes2read).arrayBuffer();
526
+ buffer.set(new Uint8Array(arrayBuffer));
527
+ return bytes2read;
528
+ }
529
+ close() {
530
+ return super.close();
531
+ }
532
+ supportsRandomAccess() {
533
+ return true;
534
+ }
535
+ setPosition(position) {
536
+ this.position = position;
537
+ }
538
+ };
539
+
540
+ // ../../node_modules/strtok3/lib/core.js
541
+ function fromWebStream(webStream, options) {
542
+ const webStreamReader = makeWebStreamReader(webStream);
543
+ const _options = options ?? {};
544
+ const chainedClose = _options.onClose;
545
+ _options.onClose = async () => {
546
+ await webStreamReader.close();
547
+ if (chainedClose) {
548
+ return chainedClose();
549
+ }
550
+ };
551
+ return new ReadStreamTokenizer(webStreamReader, _options);
552
+ }
553
+ function fromBuffer(uint8Array, options) {
554
+ return new BufferTokenizer(uint8Array, options);
555
+ }
556
+ function fromBlob(blob, options) {
557
+ return new BlobTokenizer(blob, options);
558
+ }
559
+
560
+ // ../../node_modules/strtok3/lib/index.js
561
+ init_shims();
562
+ import { stat as fsStat } from "node:fs/promises";
563
+
564
+ // ../../node_modules/strtok3/lib/FileTokenizer.js
565
+ init_shims();
566
+ import { open as fsOpen } from "node:fs/promises";
567
+ var FileTokenizer = class _FileTokenizer extends AbstractTokenizer {
568
+ /**
569
+ * Create tokenizer from provided file path
570
+ * @param sourceFilePath File path
571
+ */
572
+ static async fromFile(sourceFilePath) {
573
+ const fileHandle = await fsOpen(sourceFilePath, "r");
574
+ const stat = await fileHandle.stat();
575
+ return new _FileTokenizer(fileHandle, { fileInfo: { path: sourceFilePath, size: stat.size } });
576
+ }
577
+ constructor(fileHandle, options) {
578
+ super(options);
579
+ this.fileHandle = fileHandle;
580
+ this.fileInfo = options.fileInfo;
581
+ }
582
+ /**
583
+ * Read buffer from file
584
+ * @param uint8Array - Uint8Array to write result to
585
+ * @param options - Read behaviour options
586
+ * @returns Promise number of bytes read
587
+ */
588
+ async readBuffer(uint8Array, options) {
589
+ const normOptions = this.normalizeOptions(uint8Array, options);
590
+ this.position = normOptions.position;
591
+ if (normOptions.length === 0)
592
+ return 0;
593
+ const res = await this.fileHandle.read(uint8Array, 0, normOptions.length, normOptions.position);
594
+ this.position += res.bytesRead;
595
+ if (res.bytesRead < normOptions.length && (!options || !options.mayBeLess)) {
596
+ throw new EndOfStreamError();
597
+ }
598
+ return res.bytesRead;
599
+ }
600
+ /**
601
+ * Peek buffer from file
602
+ * @param uint8Array - Uint8Array (or Buffer) to write data to
603
+ * @param options - Read behaviour options
604
+ * @returns Promise number of bytes read
605
+ */
606
+ async peekBuffer(uint8Array, options) {
607
+ const normOptions = this.normalizeOptions(uint8Array, options);
608
+ const res = await this.fileHandle.read(uint8Array, 0, normOptions.length, normOptions.position);
609
+ if (!normOptions.mayBeLess && res.bytesRead < normOptions.length) {
610
+ throw new EndOfStreamError();
611
+ }
612
+ return res.bytesRead;
613
+ }
614
+ async close() {
615
+ await this.fileHandle.close();
616
+ return super.close();
617
+ }
618
+ setPosition(position) {
619
+ this.position = position;
620
+ }
621
+ supportsRandomAccess() {
622
+ return true;
623
+ }
624
+ };
625
+
626
+ // ../../node_modules/strtok3/lib/index.js
627
+ var fromFile = FileTokenizer.fromFile;
628
+
629
+ export {
630
+ EndOfStreamError,
631
+ fromWebStream,
632
+ fromBuffer,
633
+ fromBlob
634
+ };
635
+ //# sourceMappingURL=chunk-E75BJJZ2.js.map