@openclaw/matrix 2026.9.6 → 2026.9.8

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 (1932) hide show
  1. package/assets/icon.png +0 -0
  2. package/dist/.setup/account-selection-B7axQ80R.mjs +196 -0
  3. package/dist/.setup/accounts-WkgrIxMt.mjs +138 -0
  4. package/dist/.setup/approval-handler.runtime-C-pw3NvY.mjs +408 -0
  5. package/dist/.setup/approval-reactions-BrS5ECU0.mjs +196 -0
  6. package/dist/.setup/channel-DXenXmj0.mjs +1198 -0
  7. package/dist/.setup/channel.runtime-BXUawOno.mjs +71 -0
  8. package/dist/.setup/channel.setup-DWfLaXqT.mjs +372 -0
  9. package/dist/.setup/cli-IhZO2OEj.mjs +1300 -0
  10. package/dist/.setup/cli-metadata-nowEgdY0.mjs +22 -0
  11. package/dist/.setup/client-BXATebyo.mjs +27 -0
  12. package/dist/.setup/client-Ccv77kwh.mjs +916 -0
  13. package/dist/.setup/client-bootstrap-BiHX55is.mjs +75 -0
  14. package/dist/.setup/config-update-5m1Un5gJ.mjs +145 -0
  15. package/dist/.setup/create-client-DRZ580E3.mjs +64 -0
  16. package/dist/.setup/credentials-C9qDO5-2.mjs +74 -0
  17. package/dist/.setup/credentials-read-KD4o5biZ.mjs +77 -0
  18. package/dist/.setup/crypto-runtime-DPjIDF8H.mjs +1077 -0
  19. package/dist/.setup/crypto-snapshot-doctor.runtime-44FrCPR7.mjs +91 -0
  20. package/dist/.setup/deps-CLQ4EOq7.mjs +162 -0
  21. package/dist/.setup/device-health-U-yoVjPw.mjs +21 -0
  22. package/dist/.setup/direct-management-Cn2t8n1V.mjs +300 -0
  23. package/dist/.setup/directory-live-_sw-Q7KO.mjs +118 -0
  24. package/dist/.setup/doctor-DMvEBx6o.mjs +49 -0
  25. package/dist/.setup/doctor-contract-De6geW0h.mjs +350 -0
  26. package/dist/.setup/draft-stream-CdVMstpR.mjs +157 -0
  27. package/dist/.setup/encryption-guidance-B6797jNA.mjs +16 -0
  28. package/dist/.setup/exec-approvals-fsiMQ1ce.mjs +186 -0
  29. package/dist/.setup/file-sync-store-B-9bMb_O.mjs +187 -0
  30. package/dist/.setup/http-client-C1XvVD3K.mjs +362 -0
  31. package/dist/.setup/idb-persistence-DBvfre1X.mjs +227 -0
  32. package/dist/.setup/idb-persistence-lock-D_mDu4Cf.mjs +27 -0
  33. package/dist/.setup/inbound-dedupe-BGrMrTTu.mjs +48 -0
  34. package/dist/.setup/joined-room-encryption-TZoOKXgh.mjs +67 -0
  35. package/dist/.setup/logger-CVv56jzH.mjs +74 -0
  36. package/dist/.setup/logging-mhnFQGzB.mjs +96 -0
  37. package/dist/.setup/messages-Buz27pi5.mjs +324 -0
  38. package/dist/.setup/monitor-BBg5qgov.mjs +4352 -0
  39. package/dist/.setup/onboarding-hJaieQj5.mjs +482 -0
  40. package/dist/.setup/outbound-C9vBijaH.mjs +199 -0
  41. package/dist/.setup/profile-B3DD2jYa.mjs +100 -0
  42. package/dist/.setup/profile-update-CmxIAd4c.mjs +66 -0
  43. package/dist/.setup/reaction-events-mnzc_JvP.mjs +168 -0
  44. package/dist/.setup/resolve-targets-BFq3q4c9.mjs +87 -0
  45. package/dist/.setup/room-info-BbTGRJcR.mjs +134 -0
  46. package/dist/.setup/sdk-DmRVM0VA.mjs +1907 -0
  47. package/dist/.setup/send-GOF64QRc.mjs +2117 -0
  48. package/dist/.setup/send-currentness-C2rMVVIQ.mjs +87 -0
  49. package/dist/.setup/setup-bootstrap-AzalcuCW.mjs +62 -0
  50. package/dist/.setup/setup-core-BeifoeL4.mjs +377 -0
  51. package/dist/.setup/setup-plugin-api-Bsbdw41x.mjs +3 -0
  52. package/dist/.setup/startup-verification-Aiy_xVdI.mjs +204 -0
  53. package/dist/.setup/storage-BXS2cB2i.mjs +288 -0
  54. package/dist/.setup/storage-metadata-BDRZ7vpX.mjs +371 -0
  55. package/dist/.setup/storage-paths-B51JM-pC.mjs +53 -0
  56. package/dist/.setup/subagent-hooks-D5kd_kzN.mjs +52 -0
  57. package/dist/.setup/sync-cache-state-C6sEmvJK.mjs +192 -0
  58. package/dist/.setup/thread-bindings-jXu_9cHE.mjs +443 -0
  59. package/dist/.setup/thread-bindings-shared-hxKkYC1W.mjs +89 -0
  60. package/dist/.setup/tool-actions-Ce7Okg6m.mjs +746 -0
  61. package/dist/.setup/url-validation-CF6pG6eE.mjs +36 -0
  62. package/dist/.setup/verification-C45rOZkM.mjs +329 -0
  63. package/dist/api.js +7 -7
  64. package/dist/channel-plugin-api.js +1 -1
  65. package/dist/cli-metadata.js +1 -1
  66. package/dist/contract-api.js +2 -2
  67. package/dist/doctor-contract-api.js +142 -288
  68. package/dist/helper-api.js +2 -2
  69. package/dist/index.js +1 -1
  70. package/dist/plugin-entry.handlers.runtime.js +17 -9
  71. package/dist/runtime-api.js +4 -4
  72. package/dist/session-binding-contract-api.js +1 -1
  73. package/dist/setup-entry.js +1 -1
  74. package/dist/setup-plugin-api.js +1 -1
  75. package/dist/subagent-hooks-api.js +1 -1
  76. package/dist/thread-bindings-runtime.js +1 -1
  77. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +1289 -0
  78. package/node_modules/@openclaw/fs-safe/LICENSE +22 -0
  79. package/node_modules/@openclaw/fs-safe/README.md +672 -0
  80. package/node_modules/@openclaw/fs-safe/SECURITY.md +45 -0
  81. package/node_modules/@openclaw/fs-safe/dist/absolute-path.d.ts +32 -0
  82. package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +323 -0
  83. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +41 -0
  84. package/node_modules/@openclaw/fs-safe/dist/advanced.js +40 -0
  85. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.d.ts +1 -0
  86. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.js +19 -0
  87. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.d.ts +11 -0
  88. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.js +101 -0
  89. package/node_modules/@openclaw/fs-safe/dist/archive-durability.d.ts +23 -0
  90. package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +180 -0
  91. package/node_modules/@openclaw/fs-safe/dist/archive-entry.d.ts +13 -0
  92. package/node_modules/@openclaw/fs-safe/dist/archive-entry.js +85 -0
  93. package/node_modules/@openclaw/fs-safe/dist/archive-errors.d.ts +12 -0
  94. package/node_modules/@openclaw/fs-safe/dist/archive-errors.js +23 -0
  95. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.d.ts +20 -0
  96. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.js +99 -0
  97. package/node_modules/@openclaw/fs-safe/dist/archive-input.d.ts +18 -0
  98. package/node_modules/@openclaw/fs-safe/dist/archive-input.js +98 -0
  99. package/node_modules/@openclaw/fs-safe/dist/archive-kind.d.ts +7 -0
  100. package/node_modules/@openclaw/fs-safe/dist/archive-kind.js +71 -0
  101. package/node_modules/@openclaw/fs-safe/dist/archive-limits.d.ts +56 -0
  102. package/node_modules/@openclaw/fs-safe/dist/archive-limits.js +131 -0
  103. package/node_modules/@openclaw/fs-safe/dist/archive-merge.d.ts +22 -0
  104. package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +282 -0
  105. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.d.ts +1 -0
  106. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.js +12 -0
  107. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  108. package/node_modules/@openclaw/fs-safe/dist/archive-plan.d.ts +85 -0
  109. package/node_modules/@openclaw/fs-safe/dist/archive-plan.js +119 -0
  110. package/node_modules/@openclaw/fs-safe/dist/archive-read.d.ts +5 -0
  111. package/node_modules/@openclaw/fs-safe/dist/archive-read.js +234 -0
  112. package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +32 -0
  113. package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +308 -0
  114. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.d.ts +27 -0
  115. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.js +127 -0
  116. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.d.ts +29 -0
  117. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.js +203 -0
  118. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.d.ts +7 -0
  119. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.js +96 -0
  120. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.d.ts +1 -0
  121. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.js +160 -0
  122. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.d.ts +21 -0
  123. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.js +267 -0
  124. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.d.ts +24 -0
  125. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.js +10 -0
  126. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.d.ts +4 -0
  127. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.js +30 -0
  128. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.d.ts +12 -0
  129. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.js +150 -0
  130. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.d.ts +4 -0
  131. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.js +24 -0
  132. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.d.ts +17 -0
  133. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.js +149 -0
  134. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.d.ts +4 -0
  135. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.js +21 -0
  136. package/node_modules/@openclaw/fs-safe/dist/archive.d.ts +20 -0
  137. package/node_modules/@openclaw/fs-safe/dist/archive.js +332 -0
  138. package/node_modules/@openclaw/fs-safe/dist/async-lock.d.ts +1 -0
  139. package/node_modules/@openclaw/fs-safe/dist/async-lock.js +17 -0
  140. package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +6 -0
  141. package/node_modules/@openclaw/fs-safe/dist/atomic.js +4 -0
  142. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.d.ts +2 -0
  143. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.js +15 -0
  144. package/node_modules/@openclaw/fs-safe/dist/bounded-read.d.ts +25 -0
  145. package/node_modules/@openclaw/fs-safe/dist/bounded-read.js +143 -0
  146. package/node_modules/@openclaw/fs-safe/dist/byte-budget.d.ts +3 -0
  147. package/node_modules/@openclaw/fs-safe/dist/byte-budget.js +9 -0
  148. package/node_modules/@openclaw/fs-safe/dist/byte-view.d.ts +2 -0
  149. package/node_modules/@openclaw/fs-safe/dist/byte-view.js +13 -0
  150. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.d.ts +19 -0
  151. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.js +36 -0
  152. package/node_modules/@openclaw/fs-safe/dist/config.d.ts +2 -0
  153. package/node_modules/@openclaw/fs-safe/dist/config.js +2 -0
  154. package/node_modules/@openclaw/fs-safe/dist/containment.d.ts +1 -0
  155. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.d.ts +21 -0
  156. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.js +71 -0
  157. package/node_modules/@openclaw/fs-safe/dist/copy-policy.d.ts +2 -0
  158. package/node_modules/@openclaw/fs-safe/dist/copy-policy.js +8 -0
  159. package/node_modules/@openclaw/fs-safe/dist/copy-publication.d.ts +18 -0
  160. package/node_modules/@openclaw/fs-safe/dist/copy-publication.js +29 -0
  161. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.d.ts +8 -0
  162. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.js +245 -0
  163. package/node_modules/@openclaw/fs-safe/dist/copy.d.ts +15 -0
  164. package/node_modules/@openclaw/fs-safe/dist/copy.js +143 -0
  165. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.d.ts +7 -0
  166. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.js +16 -0
  167. package/node_modules/@openclaw/fs-safe/dist/create.d.ts +17 -0
  168. package/node_modules/@openclaw/fs-safe/dist/create.js +388 -0
  169. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.d.ts +60 -0
  170. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.js +371 -0
  171. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.d.ts +2 -0
  172. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.js +71 -0
  173. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.d.ts +11 -0
  174. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.js +96 -0
  175. package/node_modules/@openclaw/fs-safe/dist/device-path.d.ts +14 -0
  176. package/node_modules/@openclaw/fs-safe/dist/device-path.js +139 -0
  177. package/node_modules/@openclaw/fs-safe/dist/directory-durability.d.ts +43 -0
  178. package/node_modules/@openclaw/fs-safe/dist/directory-durability.js +286 -0
  179. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.d.ts +2 -0
  180. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.js +21 -0
  181. package/node_modules/@openclaw/fs-safe/dist/directory-guard.d.ts +54 -0
  182. package/node_modules/@openclaw/fs-safe/dist/directory-guard.js +176 -0
  183. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +39 -0
  184. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +285 -0
  185. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.d.ts +23 -0
  186. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.js +121 -0
  187. package/node_modules/@openclaw/fs-safe/dist/durability.d.ts +4 -0
  188. package/node_modules/@openclaw/fs-safe/dist/durability.js +3 -0
  189. package/node_modules/@openclaw/fs-safe/dist/effective-uid.d.ts +1 -0
  190. package/node_modules/@openclaw/fs-safe/dist/effective-uid.js +22 -0
  191. package/node_modules/@openclaw/fs-safe/dist/error-detail.d.ts +2 -0
  192. package/node_modules/@openclaw/fs-safe/dist/error-detail.js +13 -0
  193. package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +15 -0
  194. package/node_modules/@openclaw/fs-safe/dist/errors.js +27 -0
  195. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.d.ts +19 -0
  196. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.js +81 -0
  197. package/node_modules/@openclaw/fs-safe/dist/file-contents.d.ts +5 -0
  198. package/node_modules/@openclaw/fs-safe/dist/file-contents.js +40 -0
  199. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.d.ts +15 -0
  200. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.js +190 -0
  201. package/node_modules/@openclaw/fs-safe/dist/file-hash.d.ts +16 -0
  202. package/node_modules/@openclaw/fs-safe/dist/file-hash.js +296 -0
  203. package/node_modules/@openclaw/fs-safe/dist/file-identity.d.ts +7 -0
  204. package/node_modules/@openclaw/fs-safe/dist/file-identity.js +56 -0
  205. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.d.ts +22 -0
  206. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.js +98 -0
  207. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +17 -0
  208. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +58 -0
  209. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
  210. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +303 -0
  211. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +17 -0
  212. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +66 -0
  213. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.d.ts +25 -0
  214. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.js +392 -0
  215. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.d.ts +40 -0
  216. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.js +209 -0
  217. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.d.ts +16 -0
  218. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.js +275 -0
  219. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.d.ts +11 -0
  220. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.js +58 -0
  221. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.d.ts +1 -0
  222. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.js +90 -0
  223. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.d.ts +34 -0
  224. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.js +288 -0
  225. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.d.ts +19 -0
  226. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +199 -0
  227. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.d.ts +17 -0
  228. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.js +341 -0
  229. package/node_modules/@openclaw/fs-safe/dist/file-lock.d.ts +23 -0
  230. package/node_modules/@openclaw/fs-safe/dist/file-lock.js +66 -0
  231. package/node_modules/@openclaw/fs-safe/dist/file-observation.d.ts +8 -0
  232. package/node_modules/@openclaw/fs-safe/dist/file-observation.js +22 -0
  233. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +34 -0
  234. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +174 -0
  235. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +11 -0
  236. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +110 -0
  237. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +15 -0
  238. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +319 -0
  239. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +9 -0
  240. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +128 -0
  241. package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +62 -0
  242. package/node_modules/@openclaw/fs-safe/dist/file-store.js +360 -0
  243. package/node_modules/@openclaw/fs-safe/dist/file-sync.d.ts +4 -0
  244. package/node_modules/@openclaw/fs-safe/dist/file-sync.js +19 -0
  245. package/node_modules/@openclaw/fs-safe/dist/filename.d.ts +8 -0
  246. package/node_modules/@openclaw/fs-safe/dist/filename.js +138 -0
  247. package/node_modules/@openclaw/fs-safe/dist/fs.d.ts +12 -0
  248. package/node_modules/@openclaw/fs-safe/dist/fs.js +30 -0
  249. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +25 -0
  250. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +281 -0
  251. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.d.ts +32 -0
  252. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +81 -0
  253. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.d.ts +1 -0
  254. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.js +68 -0
  255. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.d.ts +3 -0
  256. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +127 -0
  257. package/node_modules/@openclaw/fs-safe/dist/guest.d.ts +8 -0
  258. package/node_modules/@openclaw/fs-safe/dist/guest.js +433 -0
  259. package/node_modules/@openclaw/fs-safe/dist/home-dir.d.ts +11 -0
  260. package/node_modules/@openclaw/fs-safe/dist/home-dir.js +149 -0
  261. package/node_modules/@openclaw/fs-safe/dist/index.d.ts +9 -0
  262. package/node_modules/@openclaw/fs-safe/dist/index.js +5 -0
  263. package/node_modules/@openclaw/fs-safe/dist/install-path.d.ts +25 -0
  264. package/node_modules/@openclaw/fs-safe/dist/install-path.js +136 -0
  265. package/node_modules/@openclaw/fs-safe/dist/json-document-store.d.ts +32 -0
  266. package/node_modules/@openclaw/fs-safe/dist/json-document-store.js +105 -0
  267. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.d.ts +14 -0
  268. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.js +154 -0
  269. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.d.ts +19 -0
  270. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.js +355 -0
  271. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.d.ts +5 -0
  272. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.js +65 -0
  273. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.d.ts +44 -0
  274. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.js +210 -0
  275. package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +8 -0
  276. package/node_modules/@openclaw/fs-safe/dist/json-store.js +15 -0
  277. package/node_modules/@openclaw/fs-safe/dist/json-stringify.d.ts +1 -0
  278. package/node_modules/@openclaw/fs-safe/dist/json-stringify.js +7 -0
  279. package/node_modules/@openclaw/fs-safe/dist/json.d.ts +49 -0
  280. package/node_modules/@openclaw/fs-safe/dist/json.js +323 -0
  281. package/node_modules/@openclaw/fs-safe/dist/local-file-access.d.ts +8 -0
  282. package/node_modules/@openclaw/fs-safe/dist/local-file-access.js +81 -0
  283. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.d.ts +13 -0
  284. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.js +84 -0
  285. package/node_modules/@openclaw/fs-safe/dist/local-roots.d.ts +20 -0
  286. package/node_modules/@openclaw/fs-safe/dist/local-roots.js +160 -0
  287. package/node_modules/@openclaw/fs-safe/dist/lock-config.d.ts +9 -0
  288. package/node_modules/@openclaw/fs-safe/dist/lock-config.js +12 -0
  289. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.d.ts +30 -0
  290. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.js +224 -0
  291. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.d.ts +7 -0
  292. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.js +56 -0
  293. package/node_modules/@openclaw/fs-safe/dist/move-path.d.ts +20 -0
  294. package/node_modules/@openclaw/fs-safe/dist/move-path.js +390 -0
  295. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.d.ts +8 -0
  296. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.js +41 -0
  297. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +199 -0
  298. package/node_modules/@openclaw/fs-safe/dist/native-binding.js +8 -0
  299. package/node_modules/@openclaw/fs-safe/dist/native-config.d.ts +16 -0
  300. package/node_modules/@openclaw/fs-safe/dist/native-config.js +71 -0
  301. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.d.ts +16 -0
  302. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.js +37 -0
  303. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.d.ts +3 -0
  304. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.js +11 -0
  305. package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +15 -0
  306. package/node_modules/@openclaw/fs-safe/dist/native-operations.js +111 -0
  307. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.d.ts +34 -0
  308. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.js +147 -0
  309. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.d.ts +6 -0
  310. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +252 -0
  311. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.d.ts +4 -0
  312. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +478 -0
  313. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.d.ts +11 -0
  314. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.js +61 -0
  315. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.d.ts +13 -0
  316. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.js +209 -0
  317. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.d.ts +3 -0
  318. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.js +8 -0
  319. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +45 -0
  320. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +442 -0
  321. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.d.ts +13 -0
  322. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.js +303 -0
  323. package/node_modules/@openclaw/fs-safe/dist/native.d.ts +13 -0
  324. package/node_modules/@openclaw/fs-safe/dist/native.js +209 -0
  325. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.d.ts +7 -0
  326. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.js +46 -0
  327. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.d.ts +15 -0
  328. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.js +102 -0
  329. package/node_modules/@openclaw/fs-safe/dist/output.d.ts +16 -0
  330. package/node_modules/@openclaw/fs-safe/dist/output.js +139 -0
  331. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +7 -0
  332. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +46 -0
  333. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.d.ts +1 -0
  334. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.js +54 -0
  335. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.d.ts +5 -0
  336. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.js +64 -0
  337. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.d.ts +32 -0
  338. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.js +39 -0
  339. package/node_modules/@openclaw/fs-safe/dist/path-case.d.ts +6 -0
  340. package/node_modules/@openclaw/fs-safe/dist/path-case.js +136 -0
  341. package/node_modules/@openclaw/fs-safe/dist/path-policy.d.ts +24 -0
  342. package/node_modules/@openclaw/fs-safe/dist/path-policy.js +49 -0
  343. package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +6 -0
  344. package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +104 -0
  345. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.d.ts +13 -0
  346. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.js +37 -0
  347. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.d.ts +6 -0
  348. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.js +24 -0
  349. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.d.ts +11 -0
  350. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.js +394 -0
  351. package/node_modules/@openclaw/fs-safe/dist/path.d.ts +20 -0
  352. package/node_modules/@openclaw/fs-safe/dist/path.js +185 -0
  353. package/node_modules/@openclaw/fs-safe/dist/permission-exec.d.ts +32 -0
  354. package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +194 -0
  355. package/node_modules/@openclaw/fs-safe/dist/permissions-public.d.ts +5 -0
  356. package/node_modules/@openclaw/fs-safe/dist/permissions-public.js +4 -0
  357. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.d.ts +48 -0
  358. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.js +319 -0
  359. package/node_modules/@openclaw/fs-safe/dist/permissions.d.ts +52 -0
  360. package/node_modules/@openclaw/fs-safe/dist/permissions.js +131 -0
  361. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.d.ts +23 -0
  362. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.js +421 -0
  363. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.d.ts +38 -0
  364. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.js +205 -0
  365. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.d.ts +18 -0
  366. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.js +70 -0
  367. package/node_modules/@openclaw/fs-safe/dist/pinned-open.d.ts +30 -0
  368. package/node_modules/@openclaw/fs-safe/dist/pinned-open.js +98 -0
  369. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.d.ts +1 -0
  370. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.js +22 -0
  371. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.d.ts +3 -0
  372. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +35 -0
  373. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.d.ts +4 -0
  374. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.js +31 -0
  375. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.d.ts +5 -0
  376. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.js +185 -0
  377. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +68 -0
  378. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.js +1 -0
  379. package/node_modules/@openclaw/fs-safe/dist/pinned-write.d.ts +12 -0
  380. package/node_modules/@openclaw/fs-safe/dist/pinned-write.js +300 -0
  381. package/node_modules/@openclaw/fs-safe/dist/positional-read.d.ts +8 -0
  382. package/node_modules/@openclaw/fs-safe/dist/positional-read.js +36 -0
  383. package/node_modules/@openclaw/fs-safe/dist/private-directory.d.ts +4 -0
  384. package/node_modules/@openclaw/fs-safe/dist/private-directory.js +30 -0
  385. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.d.ts +3 -0
  386. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.js +72 -0
  387. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.d.ts +53 -0
  388. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.js +358 -0
  389. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.d.ts +7 -0
  390. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +341 -0
  391. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.d.ts +13 -0
  392. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.js +60 -0
  393. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.d.ts +27 -0
  394. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.js +22 -0
  395. package/node_modules/@openclaw/fs-safe/dist/publish-file.d.ts +19 -0
  396. package/node_modules/@openclaw/fs-safe/dist/publish-file.js +332 -0
  397. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.d.ts +7 -0
  398. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.js +13 -0
  399. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.d.ts +17 -0
  400. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.js +18 -0
  401. package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +3 -0
  402. package/node_modules/@openclaw/fs-safe/dist/realpath.js +43 -0
  403. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.d.ts +2 -0
  404. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.js +8 -0
  405. package/node_modules/@openclaw/fs-safe/dist/regular-file.d.ts +37 -0
  406. package/node_modules/@openclaw/fs-safe/dist/regular-file.js +317 -0
  407. package/node_modules/@openclaw/fs-safe/dist/replace-directory.d.ts +6 -0
  408. package/node_modules/@openclaw/fs-safe/dist/replace-directory.js +275 -0
  409. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.d.ts +4 -0
  410. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.js +36 -0
  411. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.d.ts +32 -0
  412. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +369 -0
  413. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.d.ts +20 -0
  414. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.js +101 -0
  415. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +46 -0
  416. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +168 -0
  417. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.d.ts +21 -0
  418. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.js +123 -0
  419. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.d.ts +2 -0
  420. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.js +10 -0
  421. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.d.ts +26 -0
  422. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.js +47 -0
  423. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.d.ts +5 -0
  424. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.js +30 -0
  425. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.d.ts +49 -0
  426. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.js +368 -0
  427. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +55 -0
  428. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.js +1 -0
  429. package/node_modules/@openclaw/fs-safe/dist/replace-file.d.ts +6 -0
  430. package/node_modules/@openclaw/fs-safe/dist/replace-file.js +356 -0
  431. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.d.ts +26 -0
  432. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.js +193 -0
  433. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.d.ts +50 -0
  434. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.js +1 -0
  435. package/node_modules/@openclaw/fs-safe/dist/retained-file.d.ts +3 -0
  436. package/node_modules/@openclaw/fs-safe/dist/retained-file.js +121 -0
  437. package/node_modules/@openclaw/fs-safe/dist/root-boundary.d.ts +29 -0
  438. package/node_modules/@openclaw/fs-safe/dist/root-boundary.js +186 -0
  439. package/node_modules/@openclaw/fs-safe/dist/root-context.d.ts +43 -0
  440. package/node_modules/@openclaw/fs-safe/dist/root-context.js +233 -0
  441. package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +16 -0
  442. package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +93 -0
  443. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.d.ts +12 -0
  444. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.js +225 -0
  445. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.d.ts +9 -0
  446. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +28 -0
  447. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +46 -0
  448. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +433 -0
  449. package/node_modules/@openclaw/fs-safe/dist/root-directory.d.ts +22 -0
  450. package/node_modules/@openclaw/fs-safe/dist/root-directory.js +141 -0
  451. package/node_modules/@openclaw/fs-safe/dist/root-entries.d.ts +10 -0
  452. package/node_modules/@openclaw/fs-safe/dist/root-entries.js +61 -0
  453. package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +16 -0
  454. package/node_modules/@openclaw/fs-safe/dist/root-errors.js +92 -0
  455. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.d.ts +20 -0
  456. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.js +81 -0
  457. package/node_modules/@openclaw/fs-safe/dist/root-file.d.ts +46 -0
  458. package/node_modules/@openclaw/fs-safe/dist/root-file.js +205 -0
  459. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.d.ts +4 -0
  460. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.js +12 -0
  461. package/node_modules/@openclaw/fs-safe/dist/root-impl.d.ts +117 -0
  462. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +1446 -0
  463. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.d.ts +10 -0
  464. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.js +205 -0
  465. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +7 -0
  466. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +16 -0
  467. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.d.ts +7 -0
  468. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.js +90 -0
  469. package/node_modules/@openclaw/fs-safe/dist/root-options.d.ts +84 -0
  470. package/node_modules/@openclaw/fs-safe/dist/root-options.js +18 -0
  471. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.d.ts +12 -0
  472. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.js +22 -0
  473. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +12 -0
  474. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +160 -0
  475. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.d.ts +55 -0
  476. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.js +180 -0
  477. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.d.ts +4 -0
  478. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.js +151 -0
  479. package/node_modules/@openclaw/fs-safe/dist/root-path.d.ts +53 -0
  480. package/node_modules/@openclaw/fs-safe/dist/root-path.js +440 -0
  481. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.d.ts +8 -0
  482. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.js +22 -0
  483. package/node_modules/@openclaw/fs-safe/dist/root-paths.d.ts +58 -0
  484. package/node_modules/@openclaw/fs-safe/dist/root-paths.js +296 -0
  485. package/node_modules/@openclaw/fs-safe/dist/root-public-types.d.ts +11 -0
  486. package/node_modules/@openclaw/fs-safe/dist/root-public-types.js +1 -0
  487. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.d.ts +25 -0
  488. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.js +86 -0
  489. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.d.ts +12 -0
  490. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.js +87 -0
  491. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.d.ts +16 -0
  492. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.js +37 -0
  493. package/node_modules/@openclaw/fs-safe/dist/root-remove.d.ts +6 -0
  494. package/node_modules/@openclaw/fs-safe/dist/root-remove.js +464 -0
  495. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.d.ts +13 -0
  496. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.js +34 -0
  497. package/node_modules/@openclaw/fs-safe/dist/root-walk.d.ts +48 -0
  498. package/node_modules/@openclaw/fs-safe/dist/root-walk.js +234 -0
  499. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.d.ts +65 -0
  500. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +299 -0
  501. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.d.ts +11 -0
  502. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.js +23 -0
  503. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.d.ts +43 -0
  504. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.js +180 -0
  505. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.d.ts +14 -0
  506. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.js +162 -0
  507. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.d.ts +7 -0
  508. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.js +72 -0
  509. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.d.ts +23 -0
  510. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.js +85 -0
  511. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +11 -0
  512. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +95 -0
  513. package/node_modules/@openclaw/fs-safe/dist/root.d.ts +2 -0
  514. package/node_modules/@openclaw/fs-safe/dist/root.js +1 -0
  515. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.d.ts +12 -0
  516. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.js +80 -0
  517. package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +29 -0
  518. package/node_modules/@openclaw/fs-safe/dist/secret-file.js +333 -0
  519. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.d.ts +3 -0
  520. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.js +58 -0
  521. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.d.ts +20 -0
  522. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.js +68 -0
  523. package/node_modules/@openclaw/fs-safe/dist/secret.d.ts +3 -0
  524. package/node_modules/@openclaw/fs-safe/dist/secret.js +3 -0
  525. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.d.ts +10 -0
  526. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.js +79 -0
  527. package/node_modules/@openclaw/fs-safe/dist/secure-file.d.ts +31 -0
  528. package/node_modules/@openclaw/fs-safe/dist/secure-file.js +298 -0
  529. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.d.ts +29 -0
  530. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +176 -0
  531. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.d.ts +34 -0
  532. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.js +110 -0
  533. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.d.ts +17 -0
  534. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +301 -0
  535. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +28 -0
  536. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +132 -0
  537. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.d.ts +4 -0
  538. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +442 -0
  539. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.d.ts +18 -0
  540. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.js +60 -0
  541. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.d.ts +41 -0
  542. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.js +113 -0
  543. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +31 -0
  544. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.js +1 -0
  545. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.d.ts +20 -0
  546. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.js +48 -0
  547. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +14 -0
  548. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +113 -0
  549. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.d.ts +67 -0
  550. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.js +374 -0
  551. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.d.ts +13 -0
  552. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.js +47 -0
  553. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.d.ts +2 -0
  554. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.js +79 -0
  555. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.d.ts +34 -0
  556. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +228 -0
  557. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.d.ts +7 -0
  558. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.js +55 -0
  559. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.d.ts +68 -0
  560. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.js +1 -0
  561. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.d.ts +13 -0
  562. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +282 -0
  563. package/node_modules/@openclaw/fs-safe/dist/staged-directory.d.ts +27 -0
  564. package/node_modules/@openclaw/fs-safe/dist/staged-directory.js +148 -0
  565. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.d.ts +16 -0
  566. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.js +57 -0
  567. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.d.ts +55 -0
  568. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.js +1 -0
  569. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.d.ts +39 -0
  570. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.js +1 -0
  571. package/node_modules/@openclaw/fs-safe/dist/stat-observation.d.ts +10 -0
  572. package/node_modules/@openclaw/fs-safe/dist/stat-observation.js +57 -0
  573. package/node_modules/@openclaw/fs-safe/dist/store.d.ts +3 -0
  574. package/node_modules/@openclaw/fs-safe/dist/store.js +3 -0
  575. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.d.ts +7 -0
  576. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.js +88 -0
  577. package/node_modules/@openclaw/fs-safe/dist/string-coerce.d.ts +4 -0
  578. package/node_modules/@openclaw/fs-safe/dist/string-coerce.js +16 -0
  579. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.d.ts +5 -0
  580. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.js +15 -0
  581. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.d.ts +11 -0
  582. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.js +109 -0
  583. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.d.ts +13 -0
  584. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.js +88 -0
  585. package/node_modules/@openclaw/fs-safe/dist/temp-target.d.ts +31 -0
  586. package/node_modules/@openclaw/fs-safe/dist/temp-target.js +236 -0
  587. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.d.ts +14 -0
  588. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +387 -0
  589. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +23 -0
  590. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +150 -0
  591. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.d.ts +42 -0
  592. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +341 -0
  593. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.d.ts +24 -0
  594. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.js +398 -0
  595. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.d.ts +8 -0
  596. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.js +52 -0
  597. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +39 -0
  598. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.js +1 -0
  599. package/node_modules/@openclaw/fs-safe/dist/temp.d.ts +3 -0
  600. package/node_modules/@openclaw/fs-safe/dist/temp.js +2 -0
  601. package/node_modules/@openclaw/fs-safe/dist/test-hooks.d.ts +35 -0
  602. package/node_modules/@openclaw/fs-safe/dist/test-hooks.js +13 -0
  603. package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +14 -0
  604. package/node_modules/@openclaw/fs-safe/dist/text-atomic.js +18 -0
  605. package/node_modules/@openclaw/fs-safe/dist/timing.d.ts +8 -0
  606. package/node_modules/@openclaw/fs-safe/dist/timing.js +59 -0
  607. package/node_modules/@openclaw/fs-safe/dist/trash.d.ts +4 -0
  608. package/node_modules/@openclaw/fs-safe/dist/trash.js +245 -0
  609. package/node_modules/@openclaw/fs-safe/dist/types.d.ts +22 -0
  610. package/node_modules/@openclaw/fs-safe/dist/types.js +1 -0
  611. package/node_modules/@openclaw/fs-safe/dist/unicode-path.d.ts +2 -0
  612. package/node_modules/@openclaw/fs-safe/dist/unicode-path.js +16 -0
  613. package/node_modules/@openclaw/fs-safe/dist/walk.d.ts +37 -0
  614. package/node_modules/@openclaw/fs-safe/dist/walk.js +207 -0
  615. package/node_modules/@openclaw/fs-safe/dist/watch-alias.d.ts +6 -0
  616. package/node_modules/@openclaw/fs-safe/dist/watch-alias.js +88 -0
  617. package/node_modules/@openclaw/fs-safe/dist/watch-hints.d.ts +9 -0
  618. package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +93 -0
  619. package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +36 -0
  620. package/node_modules/@openclaw/fs-safe/dist/watch-native.js +73 -0
  621. package/node_modules/@openclaw/fs-safe/dist/watch-scan.d.ts +28 -0
  622. package/node_modules/@openclaw/fs-safe/dist/watch-scan.js +300 -0
  623. package/node_modules/@openclaw/fs-safe/dist/watch-stream.d.ts +8 -0
  624. package/node_modules/@openclaw/fs-safe/dist/watch-stream.js +32 -0
  625. package/node_modules/@openclaw/fs-safe/dist/watch-types.d.ts +60 -0
  626. package/node_modules/@openclaw/fs-safe/dist/watch-types.js +1 -0
  627. package/node_modules/@openclaw/fs-safe/dist/watch.d.ts +5 -0
  628. package/node_modules/@openclaw/fs-safe/dist/watch.js +530 -0
  629. package/node_modules/@openclaw/fs-safe/dist/windows-command.d.ts +1 -0
  630. package/node_modules/@openclaw/fs-safe/dist/windows-command.js +34 -0
  631. package/node_modules/@openclaw/fs-safe/dist/windows-owner.d.ts +24 -0
  632. package/node_modules/@openclaw/fs-safe/dist/windows-owner.js +100 -0
  633. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.d.ts +39 -0
  634. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.js +122 -0
  635. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.d.ts +5 -0
  636. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.js +21 -0
  637. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.cs +336 -0
  638. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.ps1 +90 -0
  639. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.d.ts +33 -0
  640. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.js +414 -0
  641. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.d.ts +9 -0
  642. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.js +112 -0
  643. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +13 -0
  644. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +49 -0
  645. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.d.ts +4 -0
  646. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.js +27 -0
  647. package/node_modules/@openclaw/fs-safe/dist/write-queue.d.ts +1 -0
  648. package/node_modules/@openclaw/fs-safe/dist/write-queue.js +15 -0
  649. package/node_modules/@openclaw/fs-safe/docs/advanced.md +271 -0
  650. package/node_modules/@openclaw/fs-safe/docs/archive.md +859 -0
  651. package/node_modules/@openclaw/fs-safe/docs/assets/readme-banner.jpg +0 -0
  652. package/node_modules/@openclaw/fs-safe/docs/atomic.md +611 -0
  653. package/node_modules/@openclaw/fs-safe/docs/config.md +136 -0
  654. package/node_modules/@openclaw/fs-safe/docs/contributing.md +360 -0
  655. package/node_modules/@openclaw/fs-safe/docs/copy.md +199 -0
  656. package/node_modules/@openclaw/fs-safe/docs/creation.md +132 -0
  657. package/node_modules/@openclaw/fs-safe/docs/directory-identity.md +85 -0
  658. package/node_modules/@openclaw/fs-safe/docs/durability.md +445 -0
  659. package/node_modules/@openclaw/fs-safe/docs/entries.md +109 -0
  660. package/node_modules/@openclaw/fs-safe/docs/errors.md +240 -0
  661. package/node_modules/@openclaw/fs-safe/docs/file-contents.md +68 -0
  662. package/node_modules/@openclaw/fs-safe/docs/file-store.md +369 -0
  663. package/node_modules/@openclaw/fs-safe/docs/filename.md +110 -0
  664. package/node_modules/@openclaw/fs-safe/docs/guest.md +152 -0
  665. package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +81 -0
  666. package/node_modules/@openclaw/fs-safe/docs/index.md +87 -0
  667. package/node_modules/@openclaw/fs-safe/docs/install-path.md +216 -0
  668. package/node_modules/@openclaw/fs-safe/docs/install.md +252 -0
  669. package/node_modules/@openclaw/fs-safe/docs/json-store.md +240 -0
  670. package/node_modules/@openclaw/fs-safe/docs/json.md +225 -0
  671. package/node_modules/@openclaw/fs-safe/docs/local-roots.md +150 -0
  672. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +205 -0
  673. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.6.md +48 -0
  674. package/node_modules/@openclaw/fs-safe/docs/mutation-policy-proof.md +69 -0
  675. package/node_modules/@openclaw/fs-safe/docs/native-helper.md +193 -0
  676. package/node_modules/@openclaw/fs-safe/docs/native.md +351 -0
  677. package/node_modules/@openclaw/fs-safe/docs/output.md +193 -0
  678. package/node_modules/@openclaw/fs-safe/docs/path-case.md +64 -0
  679. package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +74 -0
  680. package/node_modules/@openclaw/fs-safe/docs/path-scope.md +159 -0
  681. package/node_modules/@openclaw/fs-safe/docs/path-suffix-aliases.md +204 -0
  682. package/node_modules/@openclaw/fs-safe/docs/path.md +219 -0
  683. package/node_modules/@openclaw/fs-safe/docs/permissions.md +352 -0
  684. package/node_modules/@openclaw/fs-safe/docs/positional-read.md +63 -0
  685. package/node_modules/@openclaw/fs-safe/docs/private-file-store.md +68 -0
  686. package/node_modules/@openclaw/fs-safe/docs/public-api.md +188 -0
  687. package/node_modules/@openclaw/fs-safe/docs/quickstart.md +154 -0
  688. package/node_modules/@openclaw/fs-safe/docs/reading.md +196 -0
  689. package/node_modules/@openclaw/fs-safe/docs/regular-file.md +193 -0
  690. package/node_modules/@openclaw/fs-safe/docs/retained-file.md +115 -0
  691. package/node_modules/@openclaw/fs-safe/docs/root.md +571 -0
  692. package/node_modules/@openclaw/fs-safe/docs/secret-file.md +318 -0
  693. package/node_modules/@openclaw/fs-safe/docs/secure-file.md +112 -0
  694. package/node_modules/@openclaw/fs-safe/docs/security-model.md +272 -0
  695. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +599 -0
  696. package/node_modules/@openclaw/fs-safe/docs/staged-file.md +192 -0
  697. package/node_modules/@openclaw/fs-safe/docs/staged-symlink.md +124 -0
  698. package/node_modules/@openclaw/fs-safe/docs/store.md +129 -0
  699. package/node_modules/@openclaw/fs-safe/docs/temp.md +780 -0
  700. package/node_modules/@openclaw/fs-safe/docs/test-hooks.md +110 -0
  701. package/node_modules/@openclaw/fs-safe/docs/testing.md +399 -0
  702. package/node_modules/@openclaw/fs-safe/docs/timing.md +123 -0
  703. package/node_modules/@openclaw/fs-safe/docs/types.md +217 -0
  704. package/node_modules/@openclaw/fs-safe/docs/walk.md +283 -0
  705. package/node_modules/@openclaw/fs-safe/docs/watch.md +251 -0
  706. package/node_modules/@openclaw/fs-safe/docs/writing.md +662 -0
  707. package/node_modules/@openclaw/fs-safe/package.json +204 -0
  708. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  709. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +29 -0
  710. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  711. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +29 -0
  712. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  713. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +32 -0
  714. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  715. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +32 -0
  716. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  717. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +32 -0
  718. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  719. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +32 -0
  720. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  721. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +29 -0
  722. package/node_modules/content-type/README.md +81 -0
  723. package/node_modules/content-type/dist/index.d.ts +54 -0
  724. package/node_modules/content-type/dist/index.js +291 -0
  725. package/node_modules/content-type/dist/index.js.map +1 -0
  726. package/node_modules/content-type/package.json +61 -0
  727. package/node_modules/core-util-is/LICENSE +19 -0
  728. package/node_modules/core-util-is/README.md +3 -0
  729. package/node_modules/core-util-is/lib/util.js +107 -0
  730. package/node_modules/core-util-is/package.json +38 -0
  731. package/node_modules/file-type/package.json +275 -0
  732. package/node_modules/file-type/readme.md +605 -0
  733. package/node_modules/file-type/source/detectors/zip.js +653 -0
  734. package/node_modules/immediate/LICENSE.txt +20 -0
  735. package/node_modules/immediate/README.md +93 -0
  736. package/node_modules/immediate/dist/immediate.js +75 -0
  737. package/node_modules/immediate/dist/immediate.min.js +1 -0
  738. package/node_modules/immediate/lib/browser.js +69 -0
  739. package/node_modules/immediate/lib/index.js +73 -0
  740. package/node_modules/immediate/package.json +42 -0
  741. package/node_modules/inherits/LICENSE +16 -0
  742. package/node_modules/inherits/README.md +42 -0
  743. package/node_modules/inherits/inherits.js +9 -0
  744. package/node_modules/inherits/inherits_browser.js +27 -0
  745. package/node_modules/inherits/package.json +29 -0
  746. package/node_modules/isarray/.npmignore +1 -0
  747. package/node_modules/isarray/.travis.yml +4 -0
  748. package/node_modules/isarray/Makefile +6 -0
  749. package/node_modules/isarray/README.md +60 -0
  750. package/node_modules/isarray/component.json +19 -0
  751. package/node_modules/isarray/index.js +5 -0
  752. package/node_modules/isarray/package.json +45 -0
  753. package/node_modules/isarray/test.js +20 -0
  754. package/node_modules/jszip/.codeclimate.yml +16 -0
  755. package/node_modules/jszip/.editorconfig +8 -0
  756. package/node_modules/jszip/.eslintrc.js +43 -0
  757. package/node_modules/jszip/.github/FUNDING.yml +1 -0
  758. package/node_modules/jszip/.github/actions/setup/action.yml +23 -0
  759. package/node_modules/jszip/.github/workflows/benchmark.yml +38 -0
  760. package/node_modules/jszip/.github/workflows/main.yml +55 -0
  761. package/node_modules/jszip/CHANGES.md +210 -0
  762. package/node_modules/jszip/LICENSE.markdown +651 -0
  763. package/node_modules/jszip/README.markdown +33 -0
  764. package/node_modules/jszip/dist/jszip.js +11586 -0
  765. package/node_modules/jszip/dist/jszip.min.js +13 -0
  766. package/node_modules/jszip/index.d.ts +344 -0
  767. package/node_modules/jszip/lib/base64.js +106 -0
  768. package/node_modules/jszip/lib/compressedObject.js +74 -0
  769. package/node_modules/jszip/lib/compressions.js +14 -0
  770. package/node_modules/jszip/lib/crc32.js +77 -0
  771. package/node_modules/jszip/lib/defaults.js +11 -0
  772. package/node_modules/jszip/lib/external.js +18 -0
  773. package/node_modules/jszip/lib/flate.js +85 -0
  774. package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
  775. package/node_modules/jszip/lib/generate/index.js +57 -0
  776. package/node_modules/jszip/lib/index.js +55 -0
  777. package/node_modules/jszip/lib/license_header.js +11 -0
  778. package/node_modules/jszip/lib/load.js +88 -0
  779. package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  780. package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  781. package/node_modules/jszip/lib/nodejsUtils.js +57 -0
  782. package/node_modules/jszip/lib/object.js +384 -0
  783. package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
  784. package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  785. package/node_modules/jszip/lib/reader/DataReader.js +116 -0
  786. package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  787. package/node_modules/jszip/lib/reader/StringReader.js +38 -0
  788. package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  789. package/node_modules/jszip/lib/reader/readerFor.js +28 -0
  790. package/node_modules/jszip/lib/signature.js +7 -0
  791. package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  792. package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  793. package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  794. package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  795. package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  796. package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
  797. package/node_modules/jszip/lib/support.js +38 -0
  798. package/node_modules/jszip/lib/utf8.js +275 -0
  799. package/node_modules/jszip/lib/utils.js +510 -0
  800. package/node_modules/jszip/lib/zipEntries.js +261 -0
  801. package/node_modules/jszip/lib/zipEntry.js +293 -0
  802. package/node_modules/jszip/lib/zipObject.js +133 -0
  803. package/node_modules/jszip/package.json +67 -0
  804. package/node_modules/jszip/sponsors.md +21 -0
  805. package/node_modules/jszip/tsconfig.json +101 -0
  806. package/node_modules/jszip/vendor/FileSaver.js +247 -0
  807. package/node_modules/lie/README.md +62 -0
  808. package/node_modules/lie/dist/lie.js +350 -0
  809. package/node_modules/lie/dist/lie.min.js +1 -0
  810. package/node_modules/lie/dist/lie.polyfill.js +358 -0
  811. package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  812. package/node_modules/lie/lib/browser.js +273 -0
  813. package/node_modules/lie/lib/index.js +298 -0
  814. package/node_modules/lie/license.md +7 -0
  815. package/node_modules/lie/lie.d.ts +244 -0
  816. package/node_modules/lie/package.json +69 -0
  817. package/node_modules/lie/polyfill.js +4 -0
  818. package/node_modules/matrix-js-sdk/CHANGELOG.md +20 -0
  819. package/node_modules/matrix-js-sdk/lib/@types/json.d.ts.map +1 -1
  820. package/node_modules/matrix-js-sdk/lib/@types/json.js.map +1 -1
  821. package/node_modules/matrix-js-sdk/lib/client.d.ts +74 -5
  822. package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -1
  823. package/node_modules/matrix-js-sdk/lib/client.js +83 -7
  824. package/node_modules/matrix-js-sdk/lib/client.js.map +1 -1
  825. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts +42 -23
  826. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -1
  827. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js +7 -0
  828. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js.map +1 -1
  829. package/node_modules/matrix-js-sdk/lib/embedded.d.ts +35 -1
  830. package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -1
  831. package/node_modules/matrix-js-sdk/lib/embedded.js +49 -1
  832. package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -1
  833. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +0 -1
  834. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -1
  835. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js +3 -22
  836. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -1
  837. package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts +10 -0
  838. package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts.map +1 -0
  839. package/node_modules/matrix-js-sdk/lib/http-api/logging.js +46 -0
  840. package/node_modules/matrix-js-sdk/lib/http-api/logging.js.map +1 -0
  841. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +5 -0
  842. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -1
  843. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -1
  844. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +82 -0
  845. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -1
  846. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +25 -0
  847. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -1
  848. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +41 -2
  849. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -1
  850. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +59 -1
  851. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
  852. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +7 -4
  853. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -1
  854. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +17 -0
  855. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -1
  856. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +68 -29
  857. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -1
  858. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts +9 -3
  859. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -1
  860. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js +51 -11
  861. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js.map +1 -1
  862. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts +7 -2
  863. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts.map +1 -1
  864. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js +10 -4
  865. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js.map +1 -1
  866. package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts +17 -0
  867. package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts.map +1 -0
  868. package/node_modules/matrix-js-sdk/lib/oauth/fetch.js +47 -0
  869. package/node_modules/matrix-js-sdk/lib/oauth/fetch.js.map +1 -0
  870. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts +15 -2
  871. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts.map +1 -1
  872. package/node_modules/matrix-js-sdk/lib/oauth/index.js +33 -12
  873. package/node_modules/matrix-js-sdk/lib/oauth/index.js.map +1 -1
  874. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +17 -0
  875. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -1
  876. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +4 -2
  877. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -1
  878. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts +6 -26
  879. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
  880. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +19 -54
  881. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -1
  882. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -1
  883. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +65 -27
  884. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -1
  885. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts +17 -0
  886. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -1
  887. package/node_modules/matrix-js-sdk/lib/sliding-sync.js +21 -9
  888. package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -1
  889. package/node_modules/matrix-js-sdk/lib/sync.d.ts +9 -1
  890. package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -1
  891. package/node_modules/matrix-js-sdk/lib/sync.js +54 -29
  892. package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -1
  893. package/node_modules/matrix-js-sdk/package.json +5 -5
  894. package/node_modules/matrix-js-sdk/src/@types/json.ts +11 -2
  895. package/node_modules/matrix-js-sdk/src/client.ts +126 -11
  896. package/node_modules/matrix-js-sdk/src/common-crypto/CryptoBackend.ts +45 -23
  897. package/node_modules/matrix-js-sdk/src/embedded.ts +67 -4
  898. package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +2 -23
  899. package/node_modules/matrix-js-sdk/src/http-api/logging.ts +46 -0
  900. package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +6 -0
  901. package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +86 -0
  902. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +81 -1
  903. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +7 -7
  904. package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +80 -31
  905. package/node_modules/matrix-js-sdk/src/models/room-receipts.ts +54 -10
  906. package/node_modules/matrix-js-sdk/src/oauth/authorize.ts +10 -2
  907. package/node_modules/matrix-js-sdk/src/oauth/fetch.ts +54 -0
  908. package/node_modules/matrix-js-sdk/src/oauth/index.ts +29 -10
  909. package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +23 -0
  910. package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +25 -67
  911. package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +73 -33
  912. package/node_modules/matrix-js-sdk/src/sliding-sync.ts +31 -14
  913. package/node_modules/matrix-js-sdk/src/sync.ts +58 -35
  914. package/node_modules/pako/CHANGELOG.md +164 -0
  915. package/node_modules/pako/LICENSE +21 -0
  916. package/node_modules/pako/README.md +191 -0
  917. package/node_modules/pako/dist/pako.js +6818 -0
  918. package/node_modules/pako/dist/pako.min.js +1 -0
  919. package/node_modules/pako/dist/pako_deflate.js +3997 -0
  920. package/node_modules/pako/dist/pako_deflate.min.js +1 -0
  921. package/node_modules/pako/dist/pako_inflate.js +3300 -0
  922. package/node_modules/pako/dist/pako_inflate.min.js +1 -0
  923. package/node_modules/pako/index.js +14 -0
  924. package/node_modules/pako/lib/deflate.js +400 -0
  925. package/node_modules/pako/lib/inflate.js +423 -0
  926. package/node_modules/pako/lib/utils/common.js +105 -0
  927. package/node_modules/pako/lib/utils/strings.js +187 -0
  928. package/node_modules/pako/lib/zlib/README +59 -0
  929. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  930. package/node_modules/pako/lib/zlib/constants.js +68 -0
  931. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  932. package/node_modules/pako/lib/zlib/deflate.js +1874 -0
  933. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  934. package/node_modules/pako/lib/zlib/inffast.js +345 -0
  935. package/node_modules/pako/lib/zlib/inflate.js +1556 -0
  936. package/node_modules/pako/lib/zlib/inftrees.js +343 -0
  937. package/node_modules/pako/lib/zlib/messages.js +32 -0
  938. package/node_modules/pako/lib/zlib/trees.js +1222 -0
  939. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  940. package/node_modules/pako/package.json +44 -0
  941. package/node_modules/process-nextick-args/index.js +45 -0
  942. package/node_modules/process-nextick-args/license.md +19 -0
  943. package/node_modules/process-nextick-args/package.json +25 -0
  944. package/node_modules/process-nextick-args/readme.md +18 -0
  945. package/node_modules/readable-stream/.travis.yml +34 -0
  946. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  947. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  948. package/node_modules/readable-stream/LICENSE +47 -0
  949. package/node_modules/readable-stream/README.md +58 -0
  950. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  951. package/node_modules/readable-stream/duplex-browser.js +1 -0
  952. package/node_modules/readable-stream/duplex.js +1 -0
  953. package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  954. package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  955. package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  956. package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  957. package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  958. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  959. package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  960. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  961. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  962. package/node_modules/readable-stream/package.json +52 -0
  963. package/node_modules/readable-stream/passthrough.js +1 -0
  964. package/node_modules/readable-stream/readable-browser.js +7 -0
  965. package/node_modules/readable-stream/readable.js +19 -0
  966. package/node_modules/readable-stream/transform.js +1 -0
  967. package/node_modules/readable-stream/writable-browser.js +1 -0
  968. package/node_modules/readable-stream/writable.js +8 -0
  969. package/node_modules/safe-buffer/LICENSE +21 -0
  970. package/node_modules/safe-buffer/README.md +584 -0
  971. package/node_modules/safe-buffer/index.d.ts +187 -0
  972. package/node_modules/safe-buffer/index.js +62 -0
  973. package/node_modules/safe-buffer/package.json +37 -0
  974. package/node_modules/setimmediate/LICENSE.txt +20 -0
  975. package/node_modules/setimmediate/package.json +30 -0
  976. package/node_modules/setimmediate/setImmediate.js +186 -0
  977. package/node_modules/string_decoder/.travis.yml +50 -0
  978. package/node_modules/string_decoder/LICENSE +48 -0
  979. package/node_modules/string_decoder/README.md +47 -0
  980. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  981. package/node_modules/string_decoder/package.json +31 -0
  982. package/node_modules/strtok3/lib/types.js +1 -0
  983. package/node_modules/typebox/build/compile/code.mjs +1 -2
  984. package/node_modules/typebox/build/compile/validator.mjs +5 -1
  985. package/node_modules/typebox/build/format/iri.mjs +16 -9
  986. package/node_modules/typebox/build/guard/emit.mjs +2 -2
  987. package/node_modules/typebox/build/guard/guard.d.mts +7 -5
  988. package/node_modules/typebox/build/guard/guard.mjs +14 -9
  989. package/node_modules/typebox/build/guard/index.mjs +6 -0
  990. package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
  991. package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
  992. package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +165 -0
  993. package/node_modules/typebox/build/schema/build.mjs +2 -3
  994. package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
  995. package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
  996. package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
  997. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
  998. package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
  999. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
  1000. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
  1001. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
  1002. package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
  1003. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
  1004. package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
  1005. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
  1006. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
  1007. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
  1008. package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
  1009. package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
  1010. package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
  1011. package/node_modules/typebox/build/schema/parse.mjs +3 -0
  1012. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
  1013. package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
  1014. package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
  1015. package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
  1016. package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
  1017. package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
  1018. package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
  1019. package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
  1020. package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
  1021. package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
  1022. package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
  1023. package/node_modules/typebox/package.json +1 -1
  1024. package/node_modules/typebox/readme.md +3 -1
  1025. package/node_modules/util-deprecate/History.md +16 -0
  1026. package/node_modules/util-deprecate/LICENSE +24 -0
  1027. package/node_modules/util-deprecate/README.md +53 -0
  1028. package/node_modules/util-deprecate/browser.js +67 -0
  1029. package/node_modules/util-deprecate/node.js +6 -0
  1030. package/node_modules/util-deprecate/package.json +27 -0
  1031. package/openclaw.plugin.json +24 -0
  1032. package/package.json +8 -6
  1033. package/dist/.setup/account-selection-BHkfU1eC.mjs +0 -212
  1034. package/dist/.setup/accounts-iThMol10.mjs +0 -130
  1035. package/dist/.setup/approval-handler.runtime-9W7R2ZMq.mjs +0 -415
  1036. package/dist/.setup/approval-ids-j08q8LEG.mjs +0 -7
  1037. package/dist/.setup/approval-reaction-auth-DMVE7VSp.mjs +0 -31
  1038. package/dist/.setup/approval-reactions-B0hfA6qz.mjs +0 -196
  1039. package/dist/.setup/channel-ConuJfxT.mjs +0 -1427
  1040. package/dist/.setup/channel.runtime-CnxR2JUK.mjs +0 -71
  1041. package/dist/.setup/channel.setup-C6KvBV8l.mjs +0 -357
  1042. package/dist/.setup/cli-O196sg8g.mjs +0 -1410
  1043. package/dist/.setup/cli-metadata-DFHQj5XR.mjs +0 -22
  1044. package/dist/.setup/client-C2yVkVdw.mjs +0 -27
  1045. package/dist/.setup/client-ChrXpxos.mjs +0 -922
  1046. package/dist/.setup/client-bootstrap-BSnUAoz1.mjs +0 -78
  1047. package/dist/.setup/config-secret-input.runtime-CwsP3--c.mjs +0 -2
  1048. package/dist/.setup/config-update-B_4qZ5bV.mjs +0 -167
  1049. package/dist/.setup/create-client-CHxcron_.mjs +0 -67
  1050. package/dist/.setup/credentials-BGKfiaJW.mjs +0 -85
  1051. package/dist/.setup/credentials-read-Q5sHkkHv.mjs +0 -74
  1052. package/dist/.setup/credentials-write.runtime-DxbXh-pK.mjs +0 -14
  1053. package/dist/.setup/crypto-runtime-D9qn_Pbj.mjs +0 -1138
  1054. package/dist/.setup/crypto-snapshot-doctor.runtime-CMWa1d9Y.mjs +0 -91
  1055. package/dist/.setup/deps-mtxF2mHI.mjs +0 -169
  1056. package/dist/.setup/device-health-CWOuIirq.mjs +0 -21
  1057. package/dist/.setup/direct-management-B2Bno2xL.mjs +0 -346
  1058. package/dist/.setup/directory-live-CxqkcYbT.mjs +0 -153
  1059. package/dist/.setup/doctor-BLCvdOFo.mjs +0 -64
  1060. package/dist/.setup/doctor-contract-HyWFZQVG.mjs +0 -167
  1061. package/dist/.setup/draft-stream-y0Vq5f38.mjs +0 -175
  1062. package/dist/.setup/encryption-guidance-CMWXiBzJ.mjs +0 -16
  1063. package/dist/.setup/file-sync-store-CsalA4yI.mjs +0 -213
  1064. package/dist/.setup/http-client-Bi6uKmzh.mjs +0 -410
  1065. package/dist/.setup/idb-persistence-c8uxcofH.mjs +0 -237
  1066. package/dist/.setup/idb-persistence-lock-B3fZXyF_.mjs +0 -32
  1067. package/dist/.setup/inbound-dedupe-BSlv35xl.mjs +0 -48
  1068. package/dist/.setup/joined-room-encryption-BCtxQ3hR.mjs +0 -67
  1069. package/dist/.setup/logger-xBjiRIp1.mjs +0 -78
  1070. package/dist/.setup/logging-rgm8ep9H.mjs +0 -99
  1071. package/dist/.setup/messages-COuAcrz-.mjs +0 -324
  1072. package/dist/.setup/monitor-CzE3myC_.mjs +0 -4544
  1073. package/dist/.setup/outbound-B508VPBM.mjs +0 -228
  1074. package/dist/.setup/probe.runtime-C-NMeYk2.mjs +0 -2
  1075. package/dist/.setup/profile-ClrB3IgR.mjs +0 -108
  1076. package/dist/.setup/profile-update-DrblJttE.mjs +0 -70
  1077. package/dist/.setup/reaction-events-BvZmhjLC.mjs +0 -168
  1078. package/dist/.setup/resolve-targets-BLz748lX.mjs +0 -140
  1079. package/dist/.setup/resolver.runtime-CuLQ2uHe.mjs +0 -5
  1080. package/dist/.setup/rolldown-runtime-8H4AJuhK.mjs +0 -14
  1081. package/dist/.setup/room-info-DTyP1k5g.mjs +0 -153
  1082. package/dist/.setup/sdk-rqFjgltR.mjs +0 -1949
  1083. package/dist/.setup/send-aVdC5NJO.mjs +0 -2216
  1084. package/dist/.setup/send-currentness-BrGXL7b8.mjs +0 -90
  1085. package/dist/.setup/setup-bootstrap-A_WGFq1Y.mjs +0 -62
  1086. package/dist/.setup/setup-core-D2hMbIi3.mjs +0 -386
  1087. package/dist/.setup/setup-plugin-api-JiRgm8s6.mjs +0 -3
  1088. package/dist/.setup/setup-surface-BL3ha1l-.mjs +0 -482
  1089. package/dist/.setup/startup-verification-Cp1Gf7pM.mjs +0 -233
  1090. package/dist/.setup/storage-BXaFc0S4.mjs +0 -324
  1091. package/dist/.setup/storage-metadata-fHN6Df2m.mjs +0 -372
  1092. package/dist/.setup/storage-paths-DVCANXTc.mjs +0 -53
  1093. package/dist/.setup/subagent-hooks-jFgft_Mr.mjs +0 -52
  1094. package/dist/.setup/sync-cache-state-BMtGMxU1.mjs +0 -227
  1095. package/dist/.setup/thread-bindings-JlnLDfPM.mjs +0 -444
  1096. package/dist/.setup/thread-bindings-shared-oNPiyMWY.mjs +0 -92
  1097. package/dist/.setup/tool-actions.runtime-REzYTNxm.mjs +0 -862
  1098. package/dist/.setup/url-validation-GRHde6lq.mjs +0 -36
  1099. package/dist/.setup/verification-0o8MOW9T.mjs +0 -346
  1100. package/node_modules/matrix-js-sdk/node_modules/content-type/README.md +0 -71
  1101. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.d.ts +0 -46
  1102. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js +0 -176
  1103. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js.map +0 -1
  1104. package/node_modules/matrix-js-sdk/node_modules/content-type/package.json +0 -52
  1105. package/node_modules/music-metadata/node_modules/debug/LICENSE +0 -20
  1106. package/node_modules/music-metadata/node_modules/debug/README.md +0 -481
  1107. package/node_modules/music-metadata/node_modules/debug/package.json +0 -64
  1108. package/node_modules/music-metadata/node_modules/debug/src/browser.js +0 -272
  1109. package/node_modules/music-metadata/node_modules/debug/src/common.js +0 -292
  1110. package/node_modules/music-metadata/node_modules/debug/src/index.js +0 -10
  1111. package/node_modules/music-metadata/node_modules/debug/src/node.js +0 -263
  1112. package/node_modules/music-metadata/node_modules/file-type/package.json +0 -275
  1113. package/node_modules/music-metadata/node_modules/file-type/readme.md +0 -603
  1114. package/node_modules/music-metadata/node_modules/file-type/source/detectors/zip.js +0 -648
  1115. package/node_modules/music-metadata/node_modules/ms/index.js +0 -162
  1116. package/node_modules/music-metadata/node_modules/ms/license.md +0 -21
  1117. package/node_modules/music-metadata/node_modules/ms/package.json +0 -38
  1118. package/node_modules/music-metadata/node_modules/ms/readme.md +0 -59
  1119. package/node_modules/typebox/build/guard/string.mjs +0 -168
  1120. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/LICENSE +0 -0
  1121. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/README.md +0 -0
  1122. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/OverloadYield.js +0 -0
  1123. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecoratedDescriptor.js +0 -0
  1124. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecs2311.js +0 -0
  1125. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayLikeToArray.js +0 -0
  1126. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithHoles.js +0 -0
  1127. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithoutHoles.js +0 -0
  1128. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertClassBrand.js +0 -0
  1129. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertThisInitialized.js +0 -0
  1130. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncGeneratorDelegate.js +0 -0
  1131. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncIterator.js +0 -0
  1132. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncToGenerator.js +0 -0
  1133. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/awaitAsyncGenerator.js +0 -0
  1134. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/callSuper.js +0 -0
  1135. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkInRHS.js +0 -0
  1136. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkPrivateRedeclaration.js +0 -0
  1137. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classCallCheck.js +0 -0
  1138. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classNameTDZError.js +0 -0
  1139. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldGet2.js +0 -0
  1140. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldInitSpec.js +0 -0
  1141. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseBase.js +0 -0
  1142. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseKey.js +0 -0
  1143. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldSet2.js +0 -0
  1144. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateGetter.js +0 -0
  1145. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateMethodInitSpec.js +0 -0
  1146. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateSetter.js +0 -0
  1147. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classStaticPrivateMethodGet.js +0 -0
  1148. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/construct.js +0 -0
  1149. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createClass.js +0 -0
  1150. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelper.js +0 -0
  1151. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelperLoose.js +0 -0
  1152. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createSuper.js +0 -0
  1153. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defaults.js +0 -0
  1154. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineAccessor.js +0 -0
  1155. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineProperty.js +0 -0
  1156. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/OverloadYield.js +0 -0
  1157. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -0
  1158. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecs2311.js +0 -0
  1159. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayLikeToArray.js +0 -0
  1160. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithHoles.js +0 -0
  1161. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithoutHoles.js +0 -0
  1162. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertClassBrand.js +0 -0
  1163. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertThisInitialized.js +0 -0
  1164. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -0
  1165. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncIterator.js +0 -0
  1166. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncToGenerator.js +0 -0
  1167. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/awaitAsyncGenerator.js +0 -0
  1168. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/callSuper.js +0 -0
  1169. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkInRHS.js +0 -0
  1170. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -0
  1171. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classCallCheck.js +0 -0
  1172. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classNameTDZError.js +0 -0
  1173. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldGet2.js +0 -0
  1174. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -0
  1175. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -0
  1176. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -0
  1177. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldSet2.js +0 -0
  1178. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateGetter.js +0 -0
  1179. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -0
  1180. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateSetter.js +0 -0
  1181. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -0
  1182. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/construct.js +0 -0
  1183. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createClass.js +0 -0
  1184. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelper.js +0 -0
  1185. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -0
  1186. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createSuper.js +0 -0
  1187. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defaults.js +0 -0
  1188. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineAccessor.js +0 -0
  1189. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineProperty.js +0 -0
  1190. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/extends.js +0 -0
  1191. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/get.js +0 -0
  1192. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/getPrototypeOf.js +0 -0
  1193. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/identity.js +0 -0
  1194. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/importDeferProxy.js +0 -0
  1195. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inherits.js +0 -0
  1196. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inheritsLoose.js +0 -0
  1197. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerDefineProperty.js +0 -0
  1198. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerWarningHelper.js +0 -0
  1199. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/instanceof.js +0 -0
  1200. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireDefault.js +0 -0
  1201. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireWildcard.js +0 -0
  1202. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeFunction.js +0 -0
  1203. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeReflectConstruct.js +0 -0
  1204. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArray.js +0 -0
  1205. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArrayLimit.js +0 -0
  1206. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/jsx.js +0 -0
  1207. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/maybeArrayLike.js +0 -0
  1208. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/newArrowCheck.js +0 -0
  1209. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableRest.js +0 -0
  1210. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableSpread.js +0 -0
  1211. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nullishReceiverError.js +0 -0
  1212. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectDestructuringEmpty.js +0 -0
  1213. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectSpread2.js +0 -0
  1214. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutProperties.js +0 -0
  1215. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -0
  1216. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/package.json +0 -0
  1217. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/possibleConstructorReturn.js +0 -0
  1218. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/readOnlyError.js +0 -0
  1219. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regenerator.js +0 -0
  1220. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsync.js +0 -0
  1221. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncGen.js +0 -0
  1222. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -0
  1223. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorDefine.js +0 -0
  1224. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorKeys.js +0 -0
  1225. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorValues.js +0 -0
  1226. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/set.js +0 -0
  1227. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setFunctionName.js +0 -0
  1228. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setPrototypeOf.js +0 -0
  1229. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -0
  1230. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/slicedToArray.js +0 -0
  1231. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropBase.js +0 -0
  1232. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropGet.js +0 -0
  1233. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropSet.js +0 -0
  1234. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteral.js +0 -0
  1235. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -0
  1236. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tdz.js +0 -0
  1237. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalRef.js +0 -0
  1238. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalUndefined.js +0 -0
  1239. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toArray.js +0 -0
  1240. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toConsumableArray.js +0 -0
  1241. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPrimitive.js +0 -0
  1242. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPropertyKey.js +0 -0
  1243. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toSetter.js +0 -0
  1244. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -0
  1245. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/typeof.js +0 -0
  1246. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/unsupportedIterableToArray.js +0 -0
  1247. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/usingCtx.js +0 -0
  1248. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapAsyncGenerator.js +0 -0
  1249. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapNativeSuper.js +0 -0
  1250. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapRegExp.js +0 -0
  1251. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/writeOnlyError.js +0 -0
  1252. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/extends.js +0 -0
  1253. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/get.js +0 -0
  1254. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/getPrototypeOf.js +0 -0
  1255. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/identity.js +0 -0
  1256. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/importDeferProxy.js +0 -0
  1257. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inherits.js +0 -0
  1258. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inheritsLoose.js +0 -0
  1259. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerDefineProperty.js +0 -0
  1260. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerWarningHelper.js +0 -0
  1261. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/instanceof.js +0 -0
  1262. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireDefault.js +0 -0
  1263. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireWildcard.js +0 -0
  1264. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeFunction.js +0 -0
  1265. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeReflectConstruct.js +0 -0
  1266. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArray.js +0 -0
  1267. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArrayLimit.js +0 -0
  1268. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/jsx.js +0 -0
  1269. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/maybeArrayLike.js +0 -0
  1270. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/newArrowCheck.js +0 -0
  1271. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableRest.js +0 -0
  1272. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableSpread.js +0 -0
  1273. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nullishReceiverError.js +0 -0
  1274. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectDestructuringEmpty.js +0 -0
  1275. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectSpread2.js +0 -0
  1276. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutProperties.js +0 -0
  1277. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutPropertiesLoose.js +0 -0
  1278. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/possibleConstructorReturn.js +0 -0
  1279. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/readOnlyError.js +0 -0
  1280. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regenerator.js +0 -0
  1281. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsync.js +0 -0
  1282. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncGen.js +0 -0
  1283. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncIterator.js +0 -0
  1284. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorDefine.js +0 -0
  1285. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorKeys.js +0 -0
  1286. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorValues.js +0 -0
  1287. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/set.js +0 -0
  1288. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setFunctionName.js +0 -0
  1289. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setPrototypeOf.js +0 -0
  1290. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/skipFirstGeneratorNext.js +0 -0
  1291. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/slicedToArray.js +0 -0
  1292. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropBase.js +0 -0
  1293. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropGet.js +0 -0
  1294. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropSet.js +0 -0
  1295. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteral.js +0 -0
  1296. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteralLoose.js +0 -0
  1297. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tdz.js +0 -0
  1298. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalRef.js +0 -0
  1299. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalUndefined.js +0 -0
  1300. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toArray.js +0 -0
  1301. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toConsumableArray.js +0 -0
  1302. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPrimitive.js +0 -0
  1303. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPropertyKey.js +0 -0
  1304. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toSetter.js +0 -0
  1305. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -0
  1306. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/typeof.js +0 -0
  1307. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/unsupportedIterableToArray.js +0 -0
  1308. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/usingCtx.js +0 -0
  1309. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapAsyncGenerator.js +0 -0
  1310. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapNativeSuper.js +0 -0
  1311. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapRegExp.js +0 -0
  1312. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/writeOnlyError.js +0 -0
  1313. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/package.json +0 -0
  1314. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/LICENSE.txt +0 -0
  1315. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/README.md +0 -0
  1316. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.d.ts +0 -0
  1317. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.js +0 -0
  1318. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/package.json +0 -0
  1319. /package/node_modules/{music-metadata/node_modules/strtok3/lib/types.js → @openclaw/fs-safe/dist/containment.js} +0 -0
  1320. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/LICENSE +0 -0
  1321. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/README.md +0 -0
  1322. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.d.ts +0 -0
  1323. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.js +0 -0
  1324. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.d.ts +0 -0
  1325. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.js +0 -0
  1326. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.d.ts +0 -0
  1327. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.js +0 -0
  1328. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.d.ts +0 -0
  1329. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.js +0 -0
  1330. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/package.json +0 -0
  1331. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/README.md +0 -0
  1332. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/index.d.ts +0 -0
  1333. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/package.json +0 -0
  1334. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/LICENSE +0 -0
  1335. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/README.md +0 -0
  1336. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/index.d.ts +0 -0
  1337. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/package.json +0 -0
  1338. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/LICENSE +0 -0
  1339. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/README.md +0 -0
  1340. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts +0 -0
  1341. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts.map +0 -0
  1342. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js +0 -0
  1343. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js.map +0 -0
  1344. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts +0 -0
  1345. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts.map +0 -0
  1346. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js +0 -0
  1347. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js.map +0 -0
  1348. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/package.json +0 -0
  1349. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.jshint +0 -0
  1350. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.npmignore +0 -0
  1351. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.travis.yml +0 -0
  1352. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/LICENSE +0 -0
  1353. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/README.md +0 -0
  1354. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/another-json.js +0 -0
  1355. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/package.json +0 -0
  1356. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/spec/another-json-spec.js +0 -0
  1357. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/LICENSE +0 -0
  1358. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/README.md +0 -0
  1359. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/_colorize.js +0 -0
  1360. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/argparse.d.ts +0 -0
  1361. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/argparse.js +0 -0
  1362. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/difflib.js +0 -0
  1363. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/sub.js +0 -0
  1364. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/textwrap.js +0 -0
  1365. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/package.json +0 -0
  1366. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/LICENSE.md +0 -0
  1367. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/README.md +0 -0
  1368. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/package.json +0 -0
  1369. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.cjs +0 -0
  1370. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.d.ts +0 -0
  1371. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/esm/index.js +0 -0
  1372. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/LICENSE +0 -0
  1373. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/README.md +0 -0
  1374. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/package.json +0 -0
  1375. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.cjs +0 -0
  1376. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.d.ts +0 -0
  1377. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/esm/index.js +0 -0
  1378. /package/node_modules/{matrix-js-sdk/node_modules/content-type → content-type}/LICENSE +0 -0
  1379. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/LICENSE +0 -0
  1380. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/README.md +0 -0
  1381. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/package.json +0 -0
  1382. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/browser.js +0 -0
  1383. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/common.js +0 -0
  1384. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/index.js +0 -0
  1385. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/node.js +0 -0
  1386. /package/node_modules/{markdown-it/node_modules/entities → entities}/LICENSE +0 -0
  1387. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts +0 -0
  1388. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts.map +0 -0
  1389. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js +0 -0
  1390. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js.map +0 -0
  1391. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts +0 -0
  1392. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts.map +0 -0
  1393. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js +0 -0
  1394. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js.map +0 -0
  1395. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts +0 -0
  1396. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts.map +0 -0
  1397. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js +0 -0
  1398. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js.map +0 -0
  1399. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts +0 -0
  1400. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts.map +0 -0
  1401. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js +0 -0
  1402. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js.map +0 -0
  1403. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts +0 -0
  1404. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts.map +0 -0
  1405. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js +0 -0
  1406. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js.map +0 -0
  1407. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts +0 -0
  1408. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts.map +0 -0
  1409. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js +0 -0
  1410. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js.map +0 -0
  1411. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts +0 -0
  1412. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts.map +0 -0
  1413. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js +0 -0
  1414. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js.map +0 -0
  1415. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts +0 -0
  1416. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts.map +0 -0
  1417. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js +0 -0
  1418. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js.map +0 -0
  1419. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts +0 -0
  1420. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts.map +0 -0
  1421. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js +0 -0
  1422. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js.map +0 -0
  1423. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts +0 -0
  1424. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts.map +0 -0
  1425. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js +0 -0
  1426. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js.map +0 -0
  1427. /package/node_modules/{markdown-it/node_modules/entities → entities}/package.json +0 -0
  1428. /package/node_modules/{markdown-it/node_modules/entities → entities}/readme.md +0 -0
  1429. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode-codepoint.ts +0 -0
  1430. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode.ts +0 -0
  1431. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/encode.ts +0 -0
  1432. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/escape.ts +0 -0
  1433. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-html.ts +0 -0
  1434. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-xml.ts +0 -0
  1435. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/encode-html.ts +0 -0
  1436. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/index.ts +0 -0
  1437. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/bin-trie-flags.ts +0 -0
  1438. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/decode-shared.ts +0 -0
  1439. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.airtap.yml +0 -0
  1440. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.github/FUNDING.yml +0 -0
  1441. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.travis.yml +0 -0
  1442. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/History.md +0 -0
  1443. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/LICENSE +0 -0
  1444. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/Readme.md +0 -0
  1445. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/events.js +0 -0
  1446. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/package.json +0 -0
  1447. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/security.md +0 -0
  1448. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/add-listeners.js +0 -0
  1449. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/check-listener-leaks.js +0 -0
  1450. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/common.js +0 -0
  1451. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/errors.js +0 -0
  1452. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-list.js +0 -0
  1453. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-once.js +0 -0
  1454. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/index.js +0 -0
  1455. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/legacy-compat.js +0 -0
  1456. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listener-count.js +0 -0
  1457. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners-side-effects.js +0 -0
  1458. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners.js +0 -0
  1459. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/max-listeners.js +0 -0
  1460. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/method-names.js +0 -0
  1461. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/modify-in-emit.js +0 -0
  1462. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/num-args.js +0 -0
  1463. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/once.js +0 -0
  1464. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/prepend.js +0 -0
  1465. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-all-listeners.js +0 -0
  1466. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-listeners.js +0 -0
  1467. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/set-max-listeners-side-effects.js +0 -0
  1468. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/special-event-names.js +0 -0
  1469. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/subclass.js +0 -0
  1470. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/symbols.js +0 -0
  1471. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → file-type}/license +0 -0
  1472. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/asf.js +0 -0
  1473. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/ebml.js +0 -0
  1474. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/png.js +0 -0
  1475. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.d.ts +0 -0
  1476. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.js +0 -0
  1477. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.test-d.ts +0 -0
  1478. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/parser.js +0 -0
  1479. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/supported.js +0 -0
  1480. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/tokens.js +0 -0
  1481. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/LICENSE +0 -0
  1482. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/README.md +0 -0
  1483. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts +0 -0
  1484. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts.map +0 -0
  1485. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js +0 -0
  1486. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js.map +0 -0
  1487. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
  1488. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts.map +0 -0
  1489. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js +0 -0
  1490. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
  1491. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/package.json +0 -0
  1492. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/LICENSE +0 -0
  1493. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/README.md +0 -0
  1494. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.d.ts +0 -0
  1495. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.js +0 -0
  1496. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/package.json +0 -0
  1497. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.d.ts +0 -0
  1498. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.js +0 -0
  1499. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → is-network-error}/license +0 -0
  1500. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/package.json +0 -0
  1501. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/readme.md +0 -0
  1502. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/LICENSE +0 -0
  1503. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/README.md +0 -0
  1504. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js +0 -0
  1505. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js.map +0 -0
  1506. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.d.ts +0 -0
  1507. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs +0 -0
  1508. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs.map +0 -0
  1509. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/package.json +0 -0
  1510. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/.editorconfig +0 -0
  1511. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/CONTRIBUTING.md +0 -0
  1512. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/Gruntfile.js +0 -0
  1513. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/LICENSE-MIT +0 -0
  1514. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/README.md +0 -0
  1515. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/_config.yml +0 -0
  1516. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/bower.json +0 -0
  1517. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/index.html +0 -0
  1518. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/script.js +0 -0
  1519. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/styles.css +0 -0
  1520. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.js +0 -0
  1521. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.min.js +0 -0
  1522. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/index.d.ts +0 -0
  1523. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/lib/loglevel.js +0 -0
  1524. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/package.json +0 -0
  1525. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/LICENSE +0 -0
  1526. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/README.md +0 -0
  1527. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.d.ts +0 -0
  1528. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.js +0 -0
  1529. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.d.ts +0 -0
  1530. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.js +0 -0
  1531. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.d.ts +0 -0
  1532. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.js +0 -0
  1533. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.d.ts +0 -0
  1534. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.js +0 -0
  1535. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.d.ts +0 -0
  1536. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.js +0 -0
  1537. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.d.ts +0 -0
  1538. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.js +0 -0
  1539. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.d.ts +0 -0
  1540. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.js +0 -0
  1541. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.d.ts +0 -0
  1542. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.js +0 -0
  1543. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.d.ts +0 -0
  1544. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.js +0 -0
  1545. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.d.ts +0 -0
  1546. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.js +0 -0
  1547. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.d.ts +0 -0
  1548. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.js +0 -0
  1549. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.d.ts +0 -0
  1550. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.js +0 -0
  1551. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.d.ts +0 -0
  1552. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.js +0 -0
  1553. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.d.ts +0 -0
  1554. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.js +0 -0
  1555. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.d.ts +0 -0
  1556. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.js +0 -0
  1557. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.d.ts +0 -0
  1558. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.js +0 -0
  1559. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.d.ts +0 -0
  1560. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.js +0 -0
  1561. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.d.ts +0 -0
  1562. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.js +0 -0
  1563. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.d.ts +0 -0
  1564. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.js +0 -0
  1565. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.d.ts +0 -0
  1566. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.js +0 -0
  1567. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.d.ts +0 -0
  1568. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.js +0 -0
  1569. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.d.ts +0 -0
  1570. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.js +0 -0
  1571. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/package.json +0 -0
  1572. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/LICENSE +0 -0
  1573. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/README.md +0 -0
  1574. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.js +0 -0
  1575. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.min.js +0 -0
  1576. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.d.ts +0 -0
  1577. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js +0 -0
  1578. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js.map +0 -0
  1579. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.d.ts +0 -0
  1580. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js +0 -0
  1581. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js.map +0 -0
  1582. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.d.ts +0 -0
  1583. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js +0 -0
  1584. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js.map +0 -0
  1585. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.d.ts +0 -0
  1586. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js +0 -0
  1587. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js.map +0 -0
  1588. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.d.ts +0 -0
  1589. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js +0 -0
  1590. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js.map +0 -0
  1591. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.d.ts +0 -0
  1592. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js +0 -0
  1593. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js.map +0 -0
  1594. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.d.ts +0 -0
  1595. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js +0 -0
  1596. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js.map +0 -0
  1597. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.d.ts +0 -0
  1598. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js +0 -0
  1599. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js.map +0 -0
  1600. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.d.ts +0 -0
  1601. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js +0 -0
  1602. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js.map +0 -0
  1603. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.d.ts +0 -0
  1604. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js +0 -0
  1605. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js.map +0 -0
  1606. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.d.ts +0 -0
  1607. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js +0 -0
  1608. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js.map +0 -0
  1609. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.d.ts +0 -0
  1610. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js +0 -0
  1611. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js.map +0 -0
  1612. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.d.ts +0 -0
  1613. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js +0 -0
  1614. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js.map +0 -0
  1615. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.d.ts +0 -0
  1616. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js +0 -0
  1617. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js.map +0 -0
  1618. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.d.ts +0 -0
  1619. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js +0 -0
  1620. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js.map +0 -0
  1621. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.d.ts +0 -0
  1622. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js +0 -0
  1623. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js.map +0 -0
  1624. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.d.ts +0 -0
  1625. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js +0 -0
  1626. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js.map +0 -0
  1627. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.d.ts +0 -0
  1628. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js +0 -0
  1629. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js.map +0 -0
  1630. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.d.ts +0 -0
  1631. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js +0 -0
  1632. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js.map +0 -0
  1633. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.d.ts +0 -0
  1634. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js +0 -0
  1635. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js.map +0 -0
  1636. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.d.ts +0 -0
  1637. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js +0 -0
  1638. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js.map +0 -0
  1639. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.d.ts +0 -0
  1640. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js +0 -0
  1641. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js.map +0 -0
  1642. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.d.ts +0 -0
  1643. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js +0 -0
  1644. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js.map +0 -0
  1645. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.d.ts +0 -0
  1646. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js +0 -0
  1647. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js.map +0 -0
  1648. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.d.ts +0 -0
  1649. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js +0 -0
  1650. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js.map +0 -0
  1651. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.d.ts +0 -0
  1652. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js +0 -0
  1653. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js.map +0 -0
  1654. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.d.ts +0 -0
  1655. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js +0 -0
  1656. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js.map +0 -0
  1657. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.d.ts +0 -0
  1658. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js +0 -0
  1659. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js.map +0 -0
  1660. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.d.ts +0 -0
  1661. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js +0 -0
  1662. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js.map +0 -0
  1663. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.d.ts +0 -0
  1664. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js +0 -0
  1665. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js.map +0 -0
  1666. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.d.ts +0 -0
  1667. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js +0 -0
  1668. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js.map +0 -0
  1669. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.d.ts +0 -0
  1670. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js +0 -0
  1671. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js.map +0 -0
  1672. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.d.ts +0 -0
  1673. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js +0 -0
  1674. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js.map +0 -0
  1675. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.d.ts +0 -0
  1676. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js +0 -0
  1677. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js.map +0 -0
  1678. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.d.ts +0 -0
  1679. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js +0 -0
  1680. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js.map +0 -0
  1681. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.d.ts +0 -0
  1682. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js +0 -0
  1683. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js.map +0 -0
  1684. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.d.ts +0 -0
  1685. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js +0 -0
  1686. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js.map +0 -0
  1687. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.d.ts +0 -0
  1688. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js +0 -0
  1689. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js.map +0 -0
  1690. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.d.ts +0 -0
  1691. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js +0 -0
  1692. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js.map +0 -0
  1693. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.d.ts +0 -0
  1694. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js +0 -0
  1695. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js.map +0 -0
  1696. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.d.ts +0 -0
  1697. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js +0 -0
  1698. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js.map +0 -0
  1699. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.d.ts +0 -0
  1700. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js +0 -0
  1701. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js.map +0 -0
  1702. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.d.ts +0 -0
  1703. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js +0 -0
  1704. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js.map +0 -0
  1705. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.d.ts +0 -0
  1706. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js +0 -0
  1707. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js.map +0 -0
  1708. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.d.ts +0 -0
  1709. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js +0 -0
  1710. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js.map +0 -0
  1711. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.d.ts +0 -0
  1712. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js +0 -0
  1713. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js.map +0 -0
  1714. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.d.ts +0 -0
  1715. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js +0 -0
  1716. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js.map +0 -0
  1717. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.d.ts +0 -0
  1718. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js +0 -0
  1719. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js.map +0 -0
  1720. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.d.ts +0 -0
  1721. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js +0 -0
  1722. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js.map +0 -0
  1723. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.d.ts +0 -0
  1724. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js +0 -0
  1725. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js.map +0 -0
  1726. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.d.ts +0 -0
  1727. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js +0 -0
  1728. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js.map +0 -0
  1729. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.d.ts +0 -0
  1730. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js +0 -0
  1731. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js.map +0 -0
  1732. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.d.ts +0 -0
  1733. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js +0 -0
  1734. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js.map +0 -0
  1735. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.d.ts +0 -0
  1736. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js +0 -0
  1737. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js.map +0 -0
  1738. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.d.ts +0 -0
  1739. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js +0 -0
  1740. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js.map +0 -0
  1741. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.d.ts +0 -0
  1742. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js +0 -0
  1743. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js.map +0 -0
  1744. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.d.ts +0 -0
  1745. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js +0 -0
  1746. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js.map +0 -0
  1747. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.d.ts +0 -0
  1748. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js +0 -0
  1749. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js.map +0 -0
  1750. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.d.ts +0 -0
  1751. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js +0 -0
  1752. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js.map +0 -0
  1753. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.d.ts +0 -0
  1754. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js +0 -0
  1755. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js.map +0 -0
  1756. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/package.json +0 -0
  1757. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/ClientWidgetApi.ts +0 -0
  1758. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/Symbols.ts +0 -0
  1759. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/WidgetApi.ts +0 -0
  1760. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/driver/WidgetDriver.ts +0 -0
  1761. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/index.ts +0 -0
  1762. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ApiVersion.ts +0 -0
  1763. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/Capabilities.ts +0 -0
  1764. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/CapabilitiesAction.ts +0 -0
  1765. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ContentLoadedAction.ts +0 -0
  1766. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/DownloadFileAction.ts +0 -0
  1767. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetMediaConfigAction.ts +0 -0
  1768. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetOpenIDAction.ts +0 -0
  1769. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ICustomWidgetData.ts +0 -0
  1770. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IJitsiWidgetData.ts +0 -0
  1771. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomAccountData.ts +0 -0
  1772. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomEvent.ts +0 -0
  1773. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IStickerpickerWidgetData.ts +0 -0
  1774. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IToDeviceMessage.ts +0 -0
  1775. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidget.ts +0 -0
  1776. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiErrorResponse.ts +0 -0
  1777. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiRequest.ts +0 -0
  1778. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiResponse.ts +0 -0
  1779. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/LanguageChangeAction.ts +0 -0
  1780. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalButtonKind.ts +0 -0
  1781. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalWidgetActions.ts +0 -0
  1782. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/NavigateAction.ts +0 -0
  1783. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/OpenIDCredentialsAction.ts +0 -0
  1784. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadEventAction.ts +0 -0
  1785. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRelationsAction.ts +0 -0
  1786. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRoomAccountDataAction.ts +0 -0
  1787. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcLivekitActions.ts +0 -0
  1788. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcTransportsAction.ts +0 -0
  1789. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ScreenshotAction.ts +0 -0
  1790. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendEventAction.ts +0 -0
  1791. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendToDeviceAction.ts +0 -0
  1792. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SetModalButtonEnabledAction.ts +0 -0
  1793. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickerAction.ts +0 -0
  1794. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickyAction.ts +0 -0
  1795. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SupportedVersionsAction.ts +0 -0
  1796. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ThemeChangeAction.ts +0 -0
  1797. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/TurnServerActions.ts +0 -0
  1798. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateDelayedEventAction.ts +0 -0
  1799. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateStateAction.ts +0 -0
  1800. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UploadFileAction.ts +0 -0
  1801. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UserDirectorySearchAction.ts +0 -0
  1802. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/VisibilityAction.ts +0 -0
  1803. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiAction.ts +0 -0
  1804. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiDirection.ts +0 -0
  1805. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetConfigAction.ts +0 -0
  1806. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetKind.ts +0 -0
  1807. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetType.ts +0 -0
  1808. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/Widget.ts +0 -0
  1809. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetEventCapability.ts +0 -0
  1810. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetParser.ts +0 -0
  1811. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/url.ts +0 -0
  1812. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/utils.ts +0 -0
  1813. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/templating/url-template.ts +0 -0
  1814. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/ITransport.ts +0 -0
  1815. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/PostmessageTransport.ts +0 -0
  1816. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/util/SimpleObservable.ts +0 -0
  1817. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/LICENSE +0 -0
  1818. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/README.md +0 -0
  1819. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/build/index.cjs.js +0 -0
  1820. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/index.mjs +0 -0
  1821. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/decode.mjs +0 -0
  1822. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/encode.mjs +0 -0
  1823. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/format.mjs +0 -0
  1824. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/index.d.ts +0 -0
  1825. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/parse.mjs +0 -0
  1826. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/package.json +0 -0
  1827. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/LICENSE +0 -0
  1828. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/README.md +0 -0
  1829. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.d.ts +0 -0
  1830. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js +0 -0
  1831. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js.map +0 -0
  1832. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/package.json +0 -0
  1833. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/index.js +0 -0
  1834. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/license.md +0 -0
  1835. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/package.json +0 -0
  1836. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/readme.md +0 -0
  1837. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/LICENSE +0 -0
  1838. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/README.md +0 -0
  1839. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/helpers.js +0 -0
  1840. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/ndh +0 -0
  1841. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/dist/index.js +0 -0
  1842. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/package.json +0 -0
  1843. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/types/index.d.ts +0 -0
  1844. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.d.ts +0 -0
  1845. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.js +0 -0
  1846. /package/node_modules/{music-metadata/node_modules/file-type → p-retry}/license +0 -0
  1847. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/package.json +0 -0
  1848. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/readme.md +0 -0
  1849. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/LICENSE-MIT.txt +0 -0
  1850. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/README.md +0 -0
  1851. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/package.json +0 -0
  1852. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.es6.js +0 -0
  1853. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.js +0 -0
  1854. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.eslintrc.js +0 -0
  1855. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/FUNDING.yml +0 -0
  1856. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/codecov.yml +0 -0
  1857. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/dependabot.yml +0 -0
  1858. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/workflows/ci.yml +0 -0
  1859. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/CHANGELOG.md +0 -0
  1860. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/LICENSE +0 -0
  1861. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/README.md +0 -0
  1862. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/checker.js +0 -0
  1863. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/grammar.js +0 -0
  1864. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/index.js +0 -0
  1865. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/parser.js +0 -0
  1866. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/writer.js +0 -0
  1867. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/package.json +0 -0
  1868. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/LICENSE.txt +0 -0
  1869. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/README.md +0 -0
  1870. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.d.ts +0 -0
  1871. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.js +0 -0
  1872. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.d.ts +0 -0
  1873. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.js +0 -0
  1874. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.d.ts +0 -0
  1875. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.js +0 -0
  1876. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.d.ts +0 -0
  1877. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.js +0 -0
  1878. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.d.ts +0 -0
  1879. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.js +0 -0
  1880. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.d.ts +0 -0
  1881. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.js +0 -0
  1882. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.d.ts +0 -0
  1883. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.js +0 -0
  1884. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.d.ts +0 -0
  1885. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.js +0 -0
  1886. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.d.ts +0 -0
  1887. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.js +0 -0
  1888. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.d.ts +0 -0
  1889. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.js +0 -0
  1890. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.d.ts +0 -0
  1891. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.js +0 -0
  1892. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.d.ts +0 -0
  1893. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.js +0 -0
  1894. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.d.ts +0 -0
  1895. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.js +0 -0
  1896. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.d.ts +0 -0
  1897. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.js +0 -0
  1898. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.d.ts +0 -0
  1899. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.js +0 -0
  1900. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.d.ts +0 -0
  1901. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.js +0 -0
  1902. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/types.d.ts +0 -0
  1903. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/package.json +0 -0
  1904. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/LICENSE.txt +0 -0
  1905. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/README.md +0 -0
  1906. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.d.ts +0 -0
  1907. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.js +0 -0
  1908. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/package.json +0 -0
  1909. /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
  1910. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/LICENSE.txt +0 -0
  1911. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/README.md +0 -0
  1912. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.cjs.js +0 -0
  1913. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.d.ts +0 -0
  1914. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.mjs +0 -0
  1915. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/package.json +0 -0
  1916. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.d.ts +0 -0
  1917. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.js +0 -0
  1918. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/license +0 -0
  1919. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/package.json +0 -0
  1920. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/readme.md +0 -0
  1921. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/CHANGELOG.md +0 -0
  1922. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/LICENSE +0 -0
  1923. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/README.md +0 -0
  1924. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/data.json +0 -0
  1925. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.d.ts +0 -0
  1926. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.js +0 -0
  1927. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/package.json +0 -0
  1928. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/LICENSE.txt +0 -0
  1929. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/README.md +0 -0
  1930. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.d.ts +0 -0
  1931. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.js +0 -0
  1932. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/package.json +0 -0
@@ -0,0 +1,1907 @@
1
+ import { i as __exportAll } from "./doctor-contract-De6geW0h.mjs";
2
+ import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
3
+ import { E as writeMatrixRecoveryKeyStateForPathAsync, _ as readLegacyMatrixRecoveryKeyFile, f as migrateLegacyMatrixRecoveryKeyFilePathToStoreAsync, x as readMatrixRecoveryKeyStateForPathAsync } from "./storage-metadata-BDRZ7vpX.mjs";
4
+ import { r as withoutMatrixSendCurrentness, t as captureMatrixSendCurrentness } from "./send-currentness-C2rMVVIQ.mjs";
5
+ import { i as parseMxc, r as matrixEventToRaw } from "./event-helpers-CspuhE9k.mjs";
6
+ import { n as isMatrixNotFoundError, t as formatMatrixErrorReason } from "./errors-DKVS3_DO.mjs";
7
+ import { i as createMatrixStartupAbortError, o as throwIfMatrixStartupAborted, r as awaitMatrixStartupWithAbort } from "./client-Ccv77kwh.mjs";
8
+ import { n as createMatrixGuardedFetch, t as MatrixAuthedHttpClient } from "./http-client-C1XvVD3K.mjs";
9
+ import { n as resolveMatrixRoomKeyBackupReadinessError } from "./backup-health-Dm_YMVFT.mjs";
10
+ import { n as LogService, r as noop, t as ConsoleLogger } from "./logger-CVv56jzH.mjs";
11
+ import { t as createMatrixJsSdkClientLogger } from "./logging-mhnFQGzB.mjs";
12
+ import { t as MATRIX_IDB_PERSIST_INTERVAL_MS } from "./idb-persistence-lock-D_mDu4Cf.mjs";
13
+ import { a as isMatrixAccessTokenInvalidatedError, c as resolveMatrixLocalTimeoutMs, f as isMatrixReadySyncState, i as createMatrixExplicitBootstrapOptions, l as unresolvedMatrixDeviceVerificationStatus, n as MATRIX_INITIAL_CRYPTO_BOOTSTRAP_OPTIONS, o as resolveMatrixDiagnostic, p as isMatrixTerminalSyncState, r as MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS, s as resolveMatrixDiagnosticResult, t as MATRIX_AUTOMATIC_REPAIR_BOOTSTRAP_OPTIONS, u as unresolvedMatrixRoomKeyBackupStatus } from "./client-support-Bn9Bk0-H.mjs";
14
+ import { createRequire } from "node:module";
15
+ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
16
+ import { normalizeNullableString, normalizeStringEntries, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
17
+ import { createHash } from "node:crypto";
18
+ import path from "node:path";
19
+ import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
20
+ import { AsyncLocalStorage } from "node:async_hooks";
21
+ import { KeyedAsyncQueue } from "openclaw/plugin-sdk/keyed-async-queue";
22
+ import { captureChannelReadAuthority } from "openclaw/plugin-sdk/fetch-runtime";
23
+ import { ClientEvent, EventType, Filter, MatrixError, MatrixEventEvent, MsgType, Preset, createClient } from "matrix-js-sdk/lib/matrix.js";
24
+ import { EventEmitter } from "node:events";
25
+ import { RoomEvent } from "matrix-js-sdk/lib/models/room.js";
26
+ import { VerificationMethod } from "matrix-js-sdk/lib/types.js";
27
+ import { SyncApi, SyncState } from "matrix-js-sdk/lib/sync.js";
28
+ import { decodeRecoveryKey } from "matrix-js-sdk/lib/crypto-api/recovery-key.js";
29
+ import { MatrixScheduler } from "matrix-js-sdk/lib/scheduler.js";
30
+ import { EventStatus } from "matrix-js-sdk/lib/models/event-status.js";
31
+ //#region extensions/matrix/src/matrix/sdk/client-device-info.ts
32
+ async function resolveMatrixCrossSigningPublicationStatus(params) {
33
+ if (!params.userId) return {
34
+ userId: null,
35
+ masterKeyPublished: false,
36
+ selfSigningKeyPublished: false,
37
+ userSigningKeyPublished: false,
38
+ published: false
39
+ };
40
+ try {
41
+ const response = await params.query();
42
+ const masterKeyPublished = Boolean(response.master_keys?.[params.userId]);
43
+ const selfSigningKeyPublished = Boolean(response.self_signing_keys?.[params.userId]);
44
+ const userSigningKeyPublished = Boolean(response.user_signing_keys?.[params.userId]);
45
+ return {
46
+ userId: params.userId,
47
+ masterKeyPublished,
48
+ selfSigningKeyPublished,
49
+ userSigningKeyPublished,
50
+ published: masterKeyPublished && selfSigningKeyPublished && userSigningKeyPublished
51
+ };
52
+ } catch {
53
+ return {
54
+ userId: params.userId,
55
+ masterKeyPublished: false,
56
+ selfSigningKeyPublished: false,
57
+ userSigningKeyPublished: false,
58
+ published: false
59
+ };
60
+ }
61
+ }
62
+ async function listMatrixOwnDevices(client) {
63
+ const currentDeviceId = client.getDeviceId()?.trim() || null;
64
+ const devices = await client.getDevices();
65
+ return (Array.isArray(devices?.devices) ? devices.devices : []).map((device) => ({
66
+ deviceId: device.device_id,
67
+ displayName: device.display_name?.trim() || null,
68
+ lastSeenIp: device.last_seen_ip?.trim() || null,
69
+ lastSeenTs: typeof device.last_seen_ts === "number" && Number.isFinite(device.last_seen_ts) ? device.last_seen_ts : null,
70
+ current: currentDeviceId !== null && device.device_id === currentDeviceId
71
+ }));
72
+ }
73
+ //#endregion
74
+ //#region extensions/matrix/src/matrix/sdk/client-event-bridge.ts
75
+ function registerMatrixClientBridge(params) {
76
+ let initialSyncComplete = false;
77
+ const joinTransitions = /* @__PURE__ */ new WeakSet();
78
+ params.client.on(RoomEvent.MyMembership, (room, membership, previousMembership) => {
79
+ if (!initialSyncComplete || membership !== "join" || previousMembership === "join") return;
80
+ const event = room.currentState.getStateEvents("m.room.member", params.getSelfUserId());
81
+ if (event) joinTransitions.add(event);
82
+ });
83
+ params.client.on(ClientEvent.Event, (event) => {
84
+ const roomId = event.getRoomId();
85
+ if (!roomId) return;
86
+ const raw = matrixEventToRaw(event, { contentMode: "original" });
87
+ const isEncryptedEvent = raw.type === "m.room.encrypted";
88
+ params.emitter.emit("room.event", roomId, raw);
89
+ if (isEncryptedEvent) params.emitter.emit("room.encrypted_event", roomId, raw);
90
+ else if (params.decryptBridge.shouldEmitUnencryptedMessage(roomId, raw.event_id)) params.emitter.emit("room.message", roomId, raw);
91
+ const stateKey = raw.state_key ?? "";
92
+ const selfUserId = params.getSelfUserId();
93
+ const membership = raw.type === "m.room.member" ? raw.content.membership : void 0;
94
+ if (stateKey && selfUserId && stateKey === selfUserId) {
95
+ if (membership === "invite") params.emitter.emit("room.invite", roomId, raw);
96
+ else if (membership === "join") params.emitter.emit("room.join", roomId, {
97
+ ...raw,
98
+ membershipProvenance: joinTransitions.delete(event) ? "transition" : initialSyncComplete ? "update" : "snapshot"
99
+ });
100
+ }
101
+ if (isEncryptedEvent) params.decryptBridge.attachEncryptedEvent(event, roomId);
102
+ });
103
+ params.client.on(ClientEvent.Room, params.emitMembershipForRoom);
104
+ params.client.on(ClientEvent.Sync, (state, prevState, data) => {
105
+ initialSyncComplete ||= state === "PREPARED" || state === "SYNCING";
106
+ const error = data && typeof data === "object" && "error" in data ? data.error : void 0;
107
+ params.setCurrentSyncState(state, error);
108
+ params.emitter.emit("sync.state", state, prevState, error);
109
+ });
110
+ params.client.on(ClientEvent.SyncUnexpectedError, (error) => {
111
+ params.emitter.emit("sync.unexpected_error", error);
112
+ });
113
+ }
114
+ function emitMatrixMembershipForRoom(params) {
115
+ const roomId = params.room.roomId.trim();
116
+ if (!roomId || !params.selfUserId) return;
117
+ const membership = params.room.getMyMembership();
118
+ const raw = {
119
+ event_id: `$membership-${roomId}-${Date.now()}`,
120
+ type: "m.room.member",
121
+ sender: params.selfUserId,
122
+ state_key: params.selfUserId,
123
+ content: { membership },
124
+ origin_server_ts: Date.now(),
125
+ unsigned: { age: 0 },
126
+ membershipProvenance: "snapshot"
127
+ };
128
+ if (membership === "invite") {
129
+ params.emitter.emit("room.invite", roomId, raw);
130
+ return;
131
+ }
132
+ if (membership === "join") params.emitter.emit("room.join", roomId, raw);
133
+ }
134
+ function refreshMatrixDmRoomIds(direct, dmRoomIds) {
135
+ dmRoomIds.clear();
136
+ if (!direct || typeof direct !== "object") return false;
137
+ for (const value of Object.values(direct)) {
138
+ if (!Array.isArray(value)) continue;
139
+ for (const roomId of value) if (typeof roomId === "string" && roomId.trim()) dmRoomIds.add(roomId);
140
+ }
141
+ return true;
142
+ }
143
+ //#endregion
144
+ //#region extensions/matrix/src/matrix/sdk/client-sync-quiesce.ts
145
+ const MATRIX_SYNC_QUIESCE_TIMEOUT_MS = 5e3;
146
+ const MATRIX_JS_SDK_SYNC_VERSION = "42.4.0";
147
+ const matrixJsSdkPackage = createRequire(import.meta.url)("matrix-js-sdk/package.json");
148
+ function requireMatrixClassicSyncInternals(syncApi) {
149
+ return syncApi;
150
+ }
151
+ function assertMatrixJsSdkSyncVersion() {
152
+ const version = matrixJsSdkPackage.version;
153
+ if (version !== MATRIX_JS_SDK_SYNC_VERSION) throw new Error(`Matrix sync quiesce requires matrix-js-sdk ${MATRIX_JS_SDK_SYNC_VERSION}; found ${String(version)}`);
154
+ }
155
+ async function quiesceMatrixClientSync(params) {
156
+ await params.syncStore?.freezeSyncCursorPersistence();
157
+ try {
158
+ assertMatrixJsSdkSyncVersion();
159
+ } catch (error) {
160
+ params.syncStore?.discardPendingSyncCursorPersistence();
161
+ throw error;
162
+ }
163
+ const syncApi = params.client.syncApi;
164
+ if (syncApi === void 0 && !params.started) return;
165
+ if (!(syncApi instanceof SyncApi)) {
166
+ params.syncStore?.discardPendingSyncCursorPersistence();
167
+ throw new Error(syncApi === void 0 ? "Matrix sync quiesce requires the classic matrix-js-sdk SyncApi, but none is active" : "Matrix sync quiesce rejected a sliding or unknown matrix-js-sdk sync implementation");
168
+ }
169
+ const syncState = syncApi.getSyncState();
170
+ if (syncState === SyncState.Stopped) {
171
+ params.markStopped();
172
+ return;
173
+ }
174
+ const disconnectedBeforeStop = syncState === SyncState.Error || syncState === SyncState.Reconnecting;
175
+ const syncInternals = requireMatrixClassicSyncInternals(syncApi);
176
+ const keepaliveResolvers = disconnectedBeforeStop ? syncInternals.connectionReturnedResolvers : void 0;
177
+ await new Promise((resolve, reject) => {
178
+ let settled = false;
179
+ const settle = (error) => {
180
+ if (settled) return;
181
+ settled = true;
182
+ clearTimeout(timeout);
183
+ params.emitter.off("sync.state", onSyncState);
184
+ if (error) reject(error);
185
+ else {
186
+ params.markStopped();
187
+ resolve();
188
+ }
189
+ };
190
+ const onSyncState = (state) => {
191
+ if (state === "STOPPED") settle();
192
+ };
193
+ const timeout = setTimeout(() => {
194
+ params.syncStore?.discardPendingSyncCursorPersistence();
195
+ settle(/* @__PURE__ */ new Error(`Matrix classic sync did not reach STOPPED within 5000ms`));
196
+ }, MATRIX_SYNC_QUIESCE_TIMEOUT_MS);
197
+ timeout.unref?.();
198
+ params.emitter.on("sync.state", onSyncState);
199
+ try {
200
+ syncApi.stop();
201
+ if (keepaliveResolvers && syncInternals.connectionReturnedResolvers === keepaliveResolvers) {
202
+ syncInternals.connectionReturnedResolvers = void 0;
203
+ keepaliveResolvers.reject("SyncApi.stop() was called");
204
+ settle();
205
+ }
206
+ } catch (error) {
207
+ params.syncStore?.discardPendingSyncCursorPersistence();
208
+ settle(error instanceof Error ? error : new Error(String(error)));
209
+ }
210
+ });
211
+ }
212
+ //#endregion
213
+ //#region extensions/matrix/src/matrix/sdk/client-sync-ready.ts
214
+ async function waitForMatrixInitialSyncReady(params) {
215
+ const timeoutMs = params.timeoutMs ?? 3e4;
216
+ if (isMatrixReadySyncState(params.state)) return;
217
+ if (isMatrixAccessTokenInvalidatedError(params.error)) throw params.error instanceof Error ? params.error : new Error("Matrix access token invalidated", { cause: params.error });
218
+ if (isMatrixTerminalSyncState(params.state)) throw new Error(`Matrix sync entered ${params.state} during startup`);
219
+ await new Promise((resolve, reject) => {
220
+ let settled = false;
221
+ let timeoutId;
222
+ const abortSignal = params.abortSignal;
223
+ const cleanup = () => {
224
+ params.emitter.off("sync.state", onSyncState);
225
+ params.emitter.off("sync.unexpected_error", onUnexpectedError);
226
+ abortSignal?.removeEventListener("abort", onAbort);
227
+ if (timeoutId) {
228
+ clearTimeout(timeoutId);
229
+ timeoutId = void 0;
230
+ }
231
+ };
232
+ const settle = (error) => {
233
+ if (settled) return;
234
+ settled = true;
235
+ cleanup();
236
+ if (error) reject(error);
237
+ else resolve();
238
+ };
239
+ const onSyncState = (state, _prevState, error) => {
240
+ if (isMatrixReadySyncState(state)) {
241
+ settle();
242
+ return;
243
+ }
244
+ if (isMatrixAccessTokenInvalidatedError(error)) {
245
+ settle(error instanceof Error ? error : /* @__PURE__ */ new Error("Matrix access token invalidated"));
246
+ return;
247
+ }
248
+ if (isMatrixTerminalSyncState(state)) settle(new Error(error instanceof Error && error.message ? error.message : `Matrix sync entered ${state} during startup`));
249
+ };
250
+ const onUnexpectedError = settle;
251
+ const onAbort = () => {
252
+ settle(createMatrixStartupAbortError());
253
+ };
254
+ params.emitter.on("sync.state", onSyncState);
255
+ params.emitter.on("sync.unexpected_error", onUnexpectedError);
256
+ if (abortSignal?.aborted) {
257
+ onAbort();
258
+ return;
259
+ }
260
+ abortSignal?.addEventListener("abort", onAbort, { once: true });
261
+ timeoutId = setTimeout(() => {
262
+ settle(/* @__PURE__ */ new Error(`Matrix client did not reach a ready sync state within ${timeoutMs}ms`));
263
+ }, timeoutMs);
264
+ timeoutId.unref?.();
265
+ });
266
+ }
267
+ //#endregion
268
+ //#region extensions/matrix/src/matrix/sdk/message-wire-dispatch.ts
269
+ function resolveMessageWireDispatch(resource, init) {
270
+ if ((init?.method ?? (resource instanceof Request ? resource.method : "GET")).toUpperCase() !== "PUT") return null;
271
+ const rawUrl = typeof resource === "string" ? resource : resource instanceof URL ? resource.href : resource.url;
272
+ const segments = new URL(rawUrl).pathname.split("/").filter(Boolean);
273
+ const roomsIndex = segments.lastIndexOf("rooms");
274
+ if (roomsIndex < 0 || segments[roomsIndex + 2] !== "send" || segments.length !== roomsIndex + 5) return null;
275
+ const eventType = decodeURIComponent(segments[roomsIndex + 3] ?? "");
276
+ if (eventType !== "m.room.message" && eventType !== "m.room.encrypted") return null;
277
+ return {
278
+ roomId: decodeURIComponent(segments[roomsIndex + 1] ?? ""),
279
+ eventType,
280
+ transactionId: decodeURIComponent(segments[roomsIndex + 4] ?? ""),
281
+ requestPath: new URL(rawUrl).pathname
282
+ };
283
+ }
284
+ var MatrixMessageWireDispatchGuards = class {
285
+ constructor() {
286
+ this.guards = /* @__PURE__ */ new Map();
287
+ }
288
+ captureCurrentness(resource, init, fallback) {
289
+ const dispatch = resolveMessageWireDispatch(resource, init);
290
+ const entry = dispatch ? this.guards.get(dispatch.transactionId) : void 0;
291
+ if (!entry) return fallback;
292
+ const assertCurrent = entry.assertCurrent;
293
+ return assertCurrent ? () => {
294
+ try {
295
+ assertCurrent();
296
+ } catch (error) {
297
+ entry.currentnessRejected = true;
298
+ throw error;
299
+ }
300
+ } : void 0;
301
+ }
302
+ wasCurrentnessRejected(transactionId) {
303
+ return transactionId !== void 0 && this.guards.get(transactionId)?.currentnessRejected === true;
304
+ }
305
+ beforeRequest(resource, init) {
306
+ const dispatch = resolveMessageWireDispatch(resource, init);
307
+ return dispatch ? Promise.resolve(this.guards.get(dispatch.transactionId)?.guard?.(dispatch)) : void 0;
308
+ }
309
+ async run(params) {
310
+ if (!params.transactionId || !params.guard && !params.assertCurrent) return await params.run();
311
+ if (this.guards.has(params.transactionId)) throw new Error(`Matrix transaction ${params.transactionId} already has a dispatch guard`);
312
+ this.guards.set(params.transactionId, {
313
+ guard: params.guard,
314
+ assertCurrent: params.assertCurrent
315
+ });
316
+ try {
317
+ return await params.run();
318
+ } finally {
319
+ this.guards.delete(params.transactionId);
320
+ }
321
+ }
322
+ };
323
+ //#endregion
324
+ //#region extensions/matrix/src/matrix/sdk/recovery-key-store.ts
325
+ function isRepairableSecretStorageAccessError(err) {
326
+ const message = formatMatrixErrorReason(err);
327
+ if (!message) return false;
328
+ if (message.includes("getsecretstoragekey callback returned falsey")) return true;
329
+ if (message.includes("decrypting secret") && message.includes("bad mac")) return true;
330
+ return false;
331
+ }
332
+ var MatrixRecoveryKeyStore = class {
333
+ constructor(recoveryKeyPath, stateRuntime) {
334
+ this.secretStorageKeyCache = /* @__PURE__ */ new Map();
335
+ this.stagedRecoveryKey = null;
336
+ this.stagedRecoveryKeyUsed = false;
337
+ this.stagedCacheKeyIds = /* @__PURE__ */ new Set();
338
+ this.pendingPersistence = Promise.resolve();
339
+ this.closed = false;
340
+ this.recoveryKeyPath = recoveryKeyPath;
341
+ this.storageRootDir = recoveryKeyPath ? path.dirname(recoveryKeyPath) : void 0;
342
+ if (recoveryKeyPath) {
343
+ this.stateRuntime = stateRuntime ?? getMatrixRuntime().state;
344
+ const runtime = this.stateRuntime;
345
+ this.enqueuePersistence(async () => {
346
+ try {
347
+ await migrateLegacyMatrixRecoveryKeyFilePathToStoreAsync(recoveryKeyPath, runtime);
348
+ } catch (err) {
349
+ this.legacyRecoveryKeyPathOnMigrationFailure = recoveryKeyPath;
350
+ LogService.warn("MatrixClientLite", "Failed to migrate Matrix recovery key state:", err);
351
+ }
352
+ });
353
+ }
354
+ }
355
+ enqueuePersistence(run) {
356
+ if (this.closed) return Promise.reject(/* @__PURE__ */ new Error("Matrix recovery key store is closed"));
357
+ const pending = this.pendingPersistence.then(run);
358
+ this.pendingPersistence = pending.then(() => {}, () => {});
359
+ return pending;
360
+ }
361
+ async afterPersistence(read) {
362
+ for (;;) {
363
+ const pending = this.pendingPersistence;
364
+ await pending;
365
+ if (pending === this.pendingPersistence) return read();
366
+ }
367
+ }
368
+ async drainPendingPersistence() {
369
+ await this.afterPersistence(() => {});
370
+ }
371
+ async close() {
372
+ this.closed = true;
373
+ await this.drainPendingPersistence();
374
+ }
375
+ buildCryptoCallbacks() {
376
+ const getSecretStorageKey = ({ keys }) => this.afterPersistence(async () => {
377
+ if (this.closed) return null;
378
+ const requestedKeyIds = Object.keys(keys ?? {});
379
+ if (requestedKeyIds.length === 0) return null;
380
+ const staged = this.resolveStagedSecretStorageKey(requestedKeyIds);
381
+ if (staged) return staged;
382
+ for (const keyId of requestedKeyIds) {
383
+ const cached = this.secretStorageKeyCache.get(keyId);
384
+ if (cached) return [keyId, new Uint8Array(cached)];
385
+ }
386
+ const pending = this.pendingPersistence;
387
+ const stored = await this.loadStoredRecoveryKey();
388
+ if (this.closed) return null;
389
+ if (pending !== this.pendingPersistence) return getSecretStorageKey({ keys });
390
+ if (!stored?.privateKeyBase64) return null;
391
+ const privateKey = new Uint8Array(Buffer.from(stored.privateKeyBase64, "base64"));
392
+ if (privateKey.length === 0) return null;
393
+ if (stored.keyId && requestedKeyIds.includes(stored.keyId)) {
394
+ this.rememberSecretStorageKey(stored.keyId, privateKey);
395
+ return [stored.keyId, privateKey];
396
+ }
397
+ const firstRequestedKeyId = requestedKeyIds[0];
398
+ if (!firstRequestedKeyId) return null;
399
+ this.rememberSecretStorageKey(firstRequestedKeyId, privateKey);
400
+ return [firstRequestedKeyId, privateKey];
401
+ });
402
+ return {
403
+ getSecretStorageKey,
404
+ cacheSecretStorageKey: (keyId, keyInfo, key) => {
405
+ if (this.closed) return;
406
+ const privateKey = new Uint8Array(key);
407
+ const normalizedKeyInfo = {
408
+ passphrase: keyInfo?.passphrase,
409
+ name: typeof keyInfo?.name === "string" ? keyInfo.name : void 0
410
+ };
411
+ this.rememberSecretStorageKey(keyId, privateKey);
412
+ this.saveRecoveryKeyToDisk({
413
+ keyId,
414
+ keyInfo: normalizedKeyInfo,
415
+ privateKey
416
+ }, true);
417
+ }
418
+ };
419
+ }
420
+ async getRecoveryKeySummary() {
421
+ const stored = await this.afterPersistence(() => this.loadStoredRecoveryKey());
422
+ if (!stored) return null;
423
+ return {
424
+ encodedPrivateKey: stored.encodedPrivateKey,
425
+ keyId: stored.keyId,
426
+ createdAt: stored.createdAt
427
+ };
428
+ }
429
+ getSecretStorageKeyCandidate(keyId) {
430
+ return this.afterPersistence(async () => {
431
+ if (this.closed) return null;
432
+ const normalizedKeyId = keyId.trim();
433
+ if (!normalizedKeyId) return null;
434
+ const staged = this.resolveStagedSecretStorageKey([normalizedKeyId]);
435
+ if (staged) return staged[1];
436
+ const pending = this.pendingPersistence;
437
+ const stored = await this.loadStoredRecoveryKey();
438
+ if (this.closed) return null;
439
+ if (pending !== this.pendingPersistence) return this.getSecretStorageKeyCandidate(keyId);
440
+ if (!stored?.privateKeyBase64) return null;
441
+ const privateKey = new Uint8Array(Buffer.from(stored.privateKeyBase64, "base64"));
442
+ if (privateKey.length === 0) return null;
443
+ this.rememberSecretStorageKey(normalizedKeyId, privateKey);
444
+ return privateKey;
445
+ });
446
+ }
447
+ resolveEncodedRecoveryKeyInput(params) {
448
+ const encodedPrivateKey = params.encodedPrivateKey.trim();
449
+ if (!encodedPrivateKey) throw new Error("Matrix recovery key is required");
450
+ let privateKey;
451
+ try {
452
+ privateKey = decodeRecoveryKey(encodedPrivateKey);
453
+ } catch (err) {
454
+ throw new Error(`Invalid Matrix recovery key: ${formatErrorMessage(err)}`, { cause: err });
455
+ }
456
+ const keyId = typeof params.keyId === "string" && params.keyId.trim() ? params.keyId.trim() : null;
457
+ return {
458
+ encodedPrivateKey,
459
+ privateKey,
460
+ keyId,
461
+ keyInfo: params.keyInfo
462
+ };
463
+ }
464
+ stageEncodedRecoveryKey(params) {
465
+ const prepared = this.resolveEncodedRecoveryKeyInput(params);
466
+ return this.enqueuePersistence(async () => {
467
+ const keyInfo = prepared.keyInfo ?? (await this.loadStoredRecoveryKey())?.keyInfo;
468
+ this.clearStagedCache();
469
+ this.stagedRecoveryKey = {
470
+ version: 1,
471
+ createdAt: (/* @__PURE__ */ new Date()).toISOString(),
472
+ keyId: prepared.keyId,
473
+ encodedPrivateKey: prepared.encodedPrivateKey,
474
+ privateKeyBase64: Buffer.from(prepared.privateKey).toString("base64"),
475
+ keyInfo
476
+ };
477
+ });
478
+ }
479
+ hasStagedRecoveryKeyBeenUsed() {
480
+ return this.stagedRecoveryKeyUsed;
481
+ }
482
+ async commitStagedRecoveryKey(params) {
483
+ await this.enqueuePersistence(async () => {
484
+ if (!this.stagedRecoveryKey) return;
485
+ const staged = this.stagedRecoveryKey;
486
+ const privateKey = new Uint8Array(Buffer.from(staged.privateKeyBase64, "base64"));
487
+ const keyId = typeof params?.keyId === "string" && params.keyId.trim() ? params.keyId.trim() : staged.keyId;
488
+ await this.persistRecoveryKey({
489
+ keyId,
490
+ keyInfo: params?.keyInfo ?? staged.keyInfo,
491
+ privateKey,
492
+ encodedPrivateKey: staged.encodedPrivateKey
493
+ });
494
+ this.clearStagedRecoveryKeyTracking();
495
+ });
496
+ return this.getRecoveryKeySummary();
497
+ }
498
+ discardStagedRecoveryKey() {
499
+ return this.enqueuePersistence(async () => this.clearStagedCache());
500
+ }
501
+ clearStagedCache() {
502
+ for (const keyId of this.stagedCacheKeyIds) this.secretStorageKeyCache.delete(keyId);
503
+ this.clearStagedRecoveryKeyTracking();
504
+ }
505
+ async bootstrapSecretStorageWithRecoveryKey(crypto, options = {}) {
506
+ await this.drainPendingPersistence();
507
+ let status = null;
508
+ const getSecretStorageStatus = crypto.getSecretStorageStatus;
509
+ if (typeof getSecretStorageStatus === "function") try {
510
+ status = await getSecretStorageStatus.call(crypto);
511
+ } catch (err) {
512
+ LogService.warn("MatrixClientLite", "Failed to read secret storage status:", err);
513
+ }
514
+ const hasDefaultSecretStorageKey = Boolean(status?.defaultKeyId);
515
+ const hasKnownInvalidSecrets = Object.values(status?.secretStorageKeyValidityMap ?? {}).some((valid) => !valid);
516
+ let generatedRecoveryKey = false;
517
+ const storedRecovery = await this.afterPersistence(() => this.loadStoredRecoveryKey());
518
+ const stagedRecovery = this.stagedRecoveryKey;
519
+ const sourceRecovery = options.forceNewRecoveryKey === true ? null : stagedRecovery ?? storedRecovery;
520
+ let recoveryKey = sourceRecovery ? {
521
+ keyInfo: sourceRecovery.keyInfo,
522
+ privateKey: new Uint8Array(Buffer.from(sourceRecovery.privateKeyBase64, "base64")),
523
+ encodedPrivateKey: sourceRecovery.encodedPrivateKey
524
+ } : null;
525
+ if (recoveryKey && status?.defaultKeyId) {
526
+ const defaultKeyId = status.defaultKeyId;
527
+ if (!stagedRecovery) {
528
+ this.rememberSecretStorageKey(defaultKeyId, recoveryKey.privateKey);
529
+ if (storedRecovery && storedRecovery.keyId !== defaultKeyId) await this.saveRecoveryKeyToDisk({
530
+ keyId: defaultKeyId,
531
+ keyInfo: recoveryKey.keyInfo,
532
+ privateKey: recoveryKey.privateKey,
533
+ encodedPrivateKey: recoveryKey.encodedPrivateKey
534
+ });
535
+ }
536
+ }
537
+ const ensureRecoveryKey = async () => {
538
+ if (recoveryKey) {
539
+ if (stagedRecovery) this.stagedRecoveryKeyUsed = true;
540
+ return recoveryKey;
541
+ }
542
+ if (typeof crypto.createRecoveryKeyFromPassphrase !== "function") throw new Error("Matrix crypto backend does not support recovery key generation (createRecoveryKeyFromPassphrase missing)");
543
+ recoveryKey = await crypto.createRecoveryKeyFromPassphrase();
544
+ await this.saveRecoveryKeyToDisk(recoveryKey);
545
+ generatedRecoveryKey = true;
546
+ return recoveryKey;
547
+ };
548
+ const shouldRecreateSecretStorage = options.forceNewSecretStorage === true || !hasDefaultSecretStorageKey || !recoveryKey && status?.ready === false || hasKnownInvalidSecrets;
549
+ if (hasKnownInvalidSecrets) recoveryKey = null;
550
+ const secretStorageOptions = { setupNewKeyBackup: options.setupNewKeyBackup === true };
551
+ if (shouldRecreateSecretStorage) {
552
+ secretStorageOptions.setupNewSecretStorage = true;
553
+ secretStorageOptions.createSecretStorageKey = ensureRecoveryKey;
554
+ }
555
+ try {
556
+ try {
557
+ await crypto.bootstrapSecretStorage(secretStorageOptions);
558
+ } finally {
559
+ await this.drainPendingPersistence();
560
+ }
561
+ } catch (err) {
562
+ if (!(options.allowSecretStorageRecreateWithoutRecoveryKey === true && hasDefaultSecretStorageKey && isRepairableSecretStorageAccessError(err))) throw err;
563
+ recoveryKey = null;
564
+ LogService.warn("MatrixClientLite", "Secret storage exists on the server but local recovery material cannot unlock it; recreating secret storage during explicit bootstrap.");
565
+ try {
566
+ await crypto.bootstrapSecretStorage({
567
+ setupNewSecretStorage: true,
568
+ setupNewKeyBackup: options.setupNewKeyBackup === true,
569
+ createSecretStorageKey: ensureRecoveryKey
570
+ });
571
+ } finally {
572
+ await this.drainPendingPersistence();
573
+ }
574
+ }
575
+ if (generatedRecoveryKey && this.storageRootDir) LogService.warn("MatrixClientLite", "Generated Matrix recovery key and saved it to Matrix SQLite state. Keep the displayed recovery key secure.");
576
+ }
577
+ clearStagedRecoveryKeyTracking() {
578
+ this.stagedRecoveryKey = null;
579
+ this.stagedRecoveryKeyUsed = false;
580
+ this.stagedCacheKeyIds.clear();
581
+ }
582
+ resolveStagedSecretStorageKey(requestedKeyIds) {
583
+ const staged = this.stagedRecoveryKey;
584
+ if (!staged?.privateKeyBase64) return null;
585
+ const privateKey = new Uint8Array(Buffer.from(staged.privateKeyBase64, "base64"));
586
+ if (privateKey.length === 0) return null;
587
+ const keyId = staged.keyId && requestedKeyIds.includes(staged.keyId) ? staged.keyId : requestedKeyIds[0];
588
+ if (!keyId) return null;
589
+ this.stagedRecoveryKeyUsed = true;
590
+ this.rememberSecretStorageKey(keyId, privateKey);
591
+ this.stagedCacheKeyIds.add(keyId);
592
+ return [keyId, privateKey];
593
+ }
594
+ rememberSecretStorageKey(keyId, key) {
595
+ if (!keyId.trim()) return;
596
+ this.secretStorageKeyCache.set(keyId, new Uint8Array(key));
597
+ }
598
+ async loadStoredRecoveryKey() {
599
+ if (!this.recoveryKeyPath || !this.stateRuntime) return null;
600
+ try {
601
+ const stored = await readMatrixRecoveryKeyStateForPathAsync(this.recoveryKeyPath, this.stateRuntime);
602
+ if (stored) return stored;
603
+ } catch {}
604
+ if (this.legacyRecoveryKeyPathOnMigrationFailure) return readLegacyMatrixRecoveryKeyFile(this.legacyRecoveryKeyPathOnMigrationFailure);
605
+ return null;
606
+ }
607
+ saveRecoveryKeyToDisk(params, preserveEncodedPrivateKey = false) {
608
+ return this.enqueuePersistence(() => this.persistRecoveryKey(params, preserveEncodedPrivateKey));
609
+ }
610
+ async persistRecoveryKey(params, preserveEncodedPrivateKey = false) {
611
+ if (!this.recoveryKeyPath || !this.stateRuntime) return;
612
+ try {
613
+ const payload = {
614
+ version: 1,
615
+ createdAt: (/* @__PURE__ */ new Date()).toISOString(),
616
+ keyId: typeof params.keyId === "string" ? params.keyId : null,
617
+ encodedPrivateKey: params.encodedPrivateKey,
618
+ privateKeyBase64: Buffer.from(params.privateKey).toString("base64"),
619
+ keyInfo: params.keyInfo ? {
620
+ passphrase: params.keyInfo.passphrase,
621
+ name: params.keyInfo.name
622
+ } : void 0
623
+ };
624
+ await writeMatrixRecoveryKeyStateForPathAsync({
625
+ recoveryKeyPath: this.recoveryKeyPath,
626
+ payload,
627
+ stateRuntime: this.stateRuntime,
628
+ preserveEncodedPrivateKey
629
+ });
630
+ } catch (err) {
631
+ LogService.warn("MatrixClientLite", "Failed to persist recovery key:", err);
632
+ }
633
+ }
634
+ };
635
+ //#endregion
636
+ //#region extensions/matrix/src/matrix/sdk/send-scheduler.ts
637
+ /** Keep SDK FIFO/backoff while settling a caller's pre-request rejection only for its event. */
638
+ var MatrixSendScheduler = class extends MatrixScheduler {
639
+ constructor(wasCurrentnessRejected) {
640
+ super();
641
+ this.wasCurrentnessRejected = wasCurrentnessRejected;
642
+ this.queue = new MatrixScheduler();
643
+ }
644
+ setProcessFunction(processEvent) {
645
+ this.queue.setProcessFunction(async (event) => {
646
+ try {
647
+ return {
648
+ kind: "sent",
649
+ result: await withoutMatrixSendCurrentness(() => processEvent(event))
650
+ };
651
+ } catch (error) {
652
+ if (!this.wasCurrentnessRejected(event)) throw error;
653
+ return {
654
+ kind: "rejected",
655
+ error
656
+ };
657
+ }
658
+ });
659
+ }
660
+ queueEvent(event) {
661
+ const queued = this.queue.queueEvent(event);
662
+ return queued ? queued.then((outcome) => {
663
+ if (outcome.kind === "rejected") throw outcome.error;
664
+ return outcome.result;
665
+ }) : null;
666
+ }
667
+ getQueueForEvent(event) {
668
+ return this.queue.getQueueForEvent(event);
669
+ }
670
+ removeEventFromQueue(event) {
671
+ return this.queue.removeEventFromQueue(event);
672
+ }
673
+ };
674
+ //#endregion
675
+ //#region extensions/matrix/src/matrix/sdk/client-base.ts
676
+ const MATRIX_ENCRYPTED_STARTUP_TIMEOUT_MS = 6e4;
677
+ let loadedMatrixCryptoRuntime = null;
678
+ const loadMatrixCryptoRuntime = createLazyRuntimeModule(() => import("./crypto-runtime-DPjIDF8H.mjs").then((runtime) => {
679
+ loadedMatrixCryptoRuntime = runtime;
680
+ return runtime;
681
+ }));
682
+ var MatrixClientBase = class {
683
+ withClientCryptoWork(run, requestSignal) {
684
+ this.assertClientActive();
685
+ return withoutMatrixSendCurrentness(() => this.cryptoRequestOwner.run({
686
+ callerAuthority: captureChannelReadAuthority(),
687
+ requestSignal
688
+ }, run));
689
+ }
690
+ constructor(homeserver, accessToken, opts = {}) {
691
+ this.emitter = new EventEmitter();
692
+ this.bridgeRegistered = false;
693
+ this.started = false;
694
+ this.cryptoBootstrapped = false;
695
+ this.dmRoomIds = /* @__PURE__ */ new Set();
696
+ this.cryptoInitialized = false;
697
+ this.sendQueue = new KeyedAsyncQueue();
698
+ this.syncQuiescePromise = null;
699
+ this.stopPersistPromise = null;
700
+ this.verificationSummaryListenerBound = false;
701
+ this.currentSyncState = null;
702
+ this.currentSyncError = void 0;
703
+ this.transactionScopeId = null;
704
+ this.transactionScopePromise = null;
705
+ this.messageWireDispatchGuards = new MatrixMessageWireDispatchGuards();
706
+ this.requestAbortController = new AbortController();
707
+ this.cryptoRequestOwner = new AsyncLocalStorage();
708
+ this.startupPromise = null;
709
+ this.cryptoInitializationPromise = null;
710
+ this.sdkStopped = false;
711
+ this.stopDiscardPromise = null;
712
+ this.idbPersistPromise = null;
713
+ this.idbPersistAbortController = null;
714
+ this.assertClientActive = () => {
715
+ this.requestAbortController.signal.throwIfAborted();
716
+ };
717
+ this.captureRequestAuthority = () => {
718
+ const readAuthority = captureChannelReadAuthority();
719
+ const cryptoOwner = this.cryptoRequestOwner.getStore();
720
+ return cryptoOwner && cryptoOwner.callerAuthority === readAuthority ? this.assertClientActive : readAuthority;
721
+ };
722
+ this.dms = {
723
+ update: async () => {
724
+ return await this.refreshDmCache();
725
+ },
726
+ isDm: (roomId) => this.dmRoomIds.has(roomId)
727
+ };
728
+ this.idbPersistTimer = null;
729
+ this.transactionScopeHomeserver = homeserver;
730
+ this.transactionScopeAccessTokenHash = createHash("sha256").update(accessToken).digest("hex");
731
+ this.transactionScopeDeviceId = opts.deviceId?.trim() || null;
732
+ this.httpClient = new MatrixAuthedHttpClient({
733
+ homeserver,
734
+ accessToken,
735
+ ssrfPolicy: opts.ssrfPolicy,
736
+ dispatcherPolicy: opts.dispatcherPolicy,
737
+ captureRequestAuthority: this.captureRequestAuthority,
738
+ captureSendCurrentness: () => captureMatrixSendCurrentness(this),
739
+ signal: this.requestAbortController.signal
740
+ });
741
+ this.localTimeoutMs = resolveMatrixLocalTimeoutMs(opts.localTimeoutMs);
742
+ this.initialSyncLimit = opts.initialSyncLimit;
743
+ this.syncFilter = opts.syncFilter;
744
+ this.encryptionEnabled = opts.encryption === true;
745
+ const { password: loginPassword } = opts;
746
+ this.password = loginPassword;
747
+ this.syncStore = opts.syncStore;
748
+ this.idbSnapshotPath = opts.idbSnapshotPath;
749
+ this.cryptoDatabasePrefix = opts.cryptoDatabasePrefix;
750
+ this.stateRuntime = opts.stateRuntime;
751
+ this.selfUserId = opts.userId?.trim() || null;
752
+ this.autoBootstrapCrypto = opts.autoBootstrapCrypto !== false;
753
+ this.recoveryKeyStore = new MatrixRecoveryKeyStore(opts.recoveryKeyPath, opts.stateRuntime);
754
+ const cryptoCallbacks = this.encryptionEnabled ? this.recoveryKeyStore.buildCryptoCallbacks() : void 0;
755
+ const guardedFetch = createMatrixGuardedFetch({
756
+ captureRequestSignal: () => this.cryptoRequestOwner.getStore()?.requestSignal,
757
+ ssrfPolicy: opts.ssrfPolicy,
758
+ dispatcherPolicy: opts.dispatcherPolicy,
759
+ captureRequestAuthority: this.captureRequestAuthority,
760
+ captureSendCurrentness: (resource, init) => this.messageWireDispatchGuards.captureCurrentness(resource, init, captureMatrixSendCurrentness(this)),
761
+ signal: this.requestAbortController.signal,
762
+ beforeRequest: async (resource, init) => {
763
+ await this.recoveryKeyStore.drainPendingPersistence();
764
+ await this.messageWireDispatchGuards.beforeRequest(resource, init);
765
+ }
766
+ });
767
+ this.client = createClient({
768
+ baseUrl: homeserver,
769
+ accessToken,
770
+ userId: opts.userId,
771
+ deviceId: opts.deviceId,
772
+ logger: createMatrixJsSdkClientLogger("MatrixClient"),
773
+ localTimeoutMs: this.localTimeoutMs,
774
+ fetchFn: guardedFetch,
775
+ scheduler: new MatrixSendScheduler((event) => this.messageWireDispatchGuards.wasCurrentnessRejected(event.getTxnId())),
776
+ store: this.syncStore,
777
+ cryptoCallbacks,
778
+ verificationMethods: [
779
+ VerificationMethod.Sas,
780
+ VerificationMethod.ShowQrCode,
781
+ VerificationMethod.ScanQrCode,
782
+ VerificationMethod.Reciprocate
783
+ ]
784
+ });
785
+ const decryptEventIfNeeded = this.client.decryptEventIfNeeded.bind(this.client);
786
+ this.client.decryptEventIfNeeded = (event, options) => {
787
+ this.captureRequestAuthority()?.();
788
+ return this.withClientCryptoWork(() => decryptEventIfNeeded(event, options));
789
+ };
790
+ }
791
+ on(eventName, listener) {
792
+ this.emitter.on(eventName, listener);
793
+ return this;
794
+ }
795
+ off(eventName, listener) {
796
+ this.emitter.off(eventName, listener);
797
+ return this;
798
+ }
799
+ async ensureCryptoSupportInitialized() {
800
+ if (this.decryptBridge && (!this.encryptionEnabled || this.verificationManager && this.cryptoBootstrapper && this.crypto)) return;
801
+ const runtime = await loadMatrixCryptoRuntime();
802
+ this.decryptBridge ??= new runtime.MatrixDecryptBridge({
803
+ client: this.client,
804
+ toRaw: (event) => matrixEventToRaw(event, { contentMode: "original" }),
805
+ emitDecryptedEvent: (roomId, event) => {
806
+ this.emitter.emit("room.decrypted_event", roomId, event);
807
+ },
808
+ emitMessage: (roomId, event) => {
809
+ this.emitter.emit("room.message", roomId, event);
810
+ },
811
+ emitFailedDecryption: (roomId, event, error) => {
812
+ this.emitter.emit("room.failed_decryption", roomId, event, error);
813
+ }
814
+ });
815
+ if (!this.encryptionEnabled) return;
816
+ this.verificationManager ??= new runtime.MatrixVerificationManager({ trustOwnDeviceAfterSas: async (deviceId) => {
817
+ const crypto = this.client.getCrypto();
818
+ if (typeof crypto?.crossSignDevice !== "function") return;
819
+ await crypto.crossSignDevice(deviceId);
820
+ } });
821
+ this.cryptoBootstrapper ??= new runtime.MatrixCryptoBootstrapper({
822
+ getUserId: () => this.getUserId(),
823
+ getPassword: () => this.password,
824
+ canUnlockSecretStorage: async () => {
825
+ const secretStorage = this.client.secretStorage;
826
+ if (!secretStorage || typeof secretStorage.getDefaultKeyId !== "function" || typeof secretStorage.getKey !== "function" || typeof secretStorage.checkKey !== "function") return false;
827
+ const defaultKeyId = await secretStorage.getDefaultKeyId();
828
+ if (!defaultKeyId) return false;
829
+ const keyTuple = await secretStorage.getKey(defaultKeyId);
830
+ const key = await this.recoveryKeyStore.getSecretStorageKeyCandidate(defaultKeyId);
831
+ if (!keyTuple || !key) return false;
832
+ const keyInfo = keyTuple[1];
833
+ if (!keyInfo.iv?.trim() || !keyInfo.mac?.trim()) return false;
834
+ return await secretStorage.checkKey(key, keyInfo);
835
+ },
836
+ getDeviceId: () => this.client.getDeviceId(),
837
+ verificationManager: this.verificationManager,
838
+ recoveryKeyStore: this.recoveryKeyStore,
839
+ decryptBridge: this.decryptBridge
840
+ });
841
+ if (!this.crypto) this.crypto = runtime.createMatrixCryptoFacade({
842
+ client: this.client,
843
+ verificationManager: this.verificationManager,
844
+ recoveryKeyStore: this.recoveryKeyStore,
845
+ isRoomEncrypted: async (roomId) => await this.getMessageWireEventType(roomId) === "m.room.encrypted",
846
+ downloadContent: (mxcUrl, opts) => this.downloadContent(mxcUrl, opts)
847
+ });
848
+ if (!this.verificationSummaryListenerBound) {
849
+ this.verificationSummaryListenerBound = true;
850
+ this.verificationManager.onSummaryChanged((summary) => {
851
+ this.emitter.emit("verification.summary", summary);
852
+ });
853
+ }
854
+ }
855
+ async start(opts = {}) {
856
+ await this.startSyncSession({
857
+ bootstrapCrypto: true,
858
+ abortSignal: opts.abortSignal,
859
+ readyTimeoutMs: opts.readyTimeoutMs
860
+ });
861
+ }
862
+ async startSyncSession(opts) {
863
+ if (this.started) return;
864
+ if (this.sdkStopped) throw new Error("Matrix client has been fully stopped and cannot be restarted; acquire a new shared client generation");
865
+ const assertCurrent = this.captureRequestAuthority();
866
+ assertCurrent?.();
867
+ this.assertClientActive();
868
+ if (this.startupPromise) {
869
+ await awaitMatrixStartupWithAbort(this.startupPromise, opts.abortSignal);
870
+ return;
871
+ }
872
+ const deadline = new AbortController();
873
+ const signal = AbortSignal.any([
874
+ this.requestAbortController.signal,
875
+ deadline.signal,
876
+ ...opts.abortSignal ? [opts.abortSignal] : []
877
+ ]);
878
+ const timeout = this.encryptionEnabled ? setTimeout(() => deadline.abort(), opts.readyTimeoutMs ?? MATRIX_ENCRYPTED_STARTUP_TIMEOUT_MS) : void 0;
879
+ timeout?.unref?.();
880
+ const checkActive = () => {
881
+ throwIfMatrixStartupAborted(signal);
882
+ assertCurrent?.();
883
+ this.assertClientActive();
884
+ };
885
+ const startup = (async () => {
886
+ throwIfMatrixStartupAborted(signal);
887
+ await this.ensureCryptoSupportInitialized();
888
+ checkActive();
889
+ throwIfMatrixStartupAborted(signal);
890
+ this.registerBridge();
891
+ await this.withClientCryptoWork(() => this.initializeCryptoIfNeeded(signal), signal);
892
+ checkActive();
893
+ throwIfMatrixStartupAborted(signal);
894
+ await this.withClientCryptoWork(() => this.client.startClient({
895
+ initialSyncLimit: this.initialSyncLimit,
896
+ ...this.syncFilter ? { filter: Filter.fromJson(this.selfUserId, "", this.syncFilter) } : {}
897
+ }));
898
+ await waitForMatrixInitialSyncReady({
899
+ emitter: this.emitter,
900
+ state: this.currentSyncState,
901
+ error: this.currentSyncError,
902
+ abortSignal: signal,
903
+ timeoutMs: opts.readyTimeoutMs
904
+ });
905
+ checkActive();
906
+ throwIfMatrixStartupAborted(signal);
907
+ if (this.encryptionEnabled && this.cryptoInitialized) {
908
+ const { reconcileJoinedRoomEncryption } = await import("./joined-room-encryption-TZoOKXgh.mjs");
909
+ checkActive();
910
+ await this.withClientCryptoWork(() => reconcileJoinedRoomEncryption(this.client, signal, checkActive), signal);
911
+ checkActive();
912
+ }
913
+ clearTimeout(timeout);
914
+ if (opts.bootstrapCrypto && this.autoBootstrapCrypto) await this.bootstrapCryptoIfNeeded(signal);
915
+ throwIfMatrixStartupAborted(signal);
916
+ this.started = true;
917
+ this.emitOutstandingInviteEvents();
918
+ await this.refreshDmCache().catch(noop);
919
+ })();
920
+ this.startupPromise = startup;
921
+ startup.finally(() => {
922
+ clearTimeout(timeout);
923
+ if (this.startupPromise === startup) this.startupPromise = null;
924
+ }).catch(noop);
925
+ await awaitMatrixStartupWithAbort(startup, signal);
926
+ }
927
+ async prepareForOneOff() {
928
+ const assertCurrent = this.captureRequestAuthority();
929
+ assertCurrent?.();
930
+ this.assertClientActive();
931
+ if (!this.encryptionEnabled) return;
932
+ await this.ensureCryptoSupportInitialized();
933
+ assertCurrent?.();
934
+ await this.withClientCryptoWork(() => this.initializeCryptoIfNeeded());
935
+ assertCurrent?.();
936
+ }
937
+ hasPersistedSyncState() {
938
+ return this.syncStore?.hasSavedSyncFromCleanShutdown() === true;
939
+ }
940
+ async ensureStartedForCryptoControlPlane() {
941
+ if (this.started) return;
942
+ await this.startSyncSession({ bootstrapCrypto: false });
943
+ }
944
+ stopSdkClient() {
945
+ if (this.sdkStopped) return;
946
+ this.currentSyncState = null;
947
+ this.currentSyncError = void 0;
948
+ this.sdkStopped = true;
949
+ this.client.stopClient();
950
+ this.started = false;
951
+ }
952
+ async quiesceSync() {
953
+ this.syncQuiescePromise ??= quiesceMatrixClientSync({
954
+ client: this.client,
955
+ emitter: this.emitter,
956
+ markStopped: () => {
957
+ this.started = false;
958
+ },
959
+ started: this.started,
960
+ syncStore: this.syncStore
961
+ });
962
+ await this.syncQuiescePromise;
963
+ }
964
+ async drainPendingDecryptions(reason = "matrix client shutdown") {
965
+ await this.withClientCryptoWork(() => this.decryptBridge?.drainPendingDecryptions(reason));
966
+ }
967
+ stop() {
968
+ this.stopAndPersist().catch(() => this.stopWithoutPersist()).catch(noop);
969
+ }
970
+ async stopClientGeneration(persist) {
971
+ try {
972
+ if (persist) await this.quiesceSync();
973
+ else {
974
+ await this.quiesceSync().catch(noop);
975
+ this.syncStore?.discardPendingSyncCursorPersistence();
976
+ }
977
+ this.requestAbortController.abort(/* @__PURE__ */ new Error("Matrix client generation is no longer active."));
978
+ await this.startupPromise?.catch(noop);
979
+ await this.cryptoInitializationPromise?.catch(noop);
980
+ clearInterval(this.idbPersistTimer ?? void 0);
981
+ this.idbPersistTimer = null;
982
+ this.idbPersistAbortController?.abort();
983
+ const activePeriodicPersist = this.idbPersistPromise;
984
+ try {
985
+ this.stopSdkClient();
986
+ this.decryptBridge?.stop();
987
+ } finally {
988
+ this.cryptoRequestOwner.disable();
989
+ }
990
+ await Promise.all([this.recoveryKeyStore.close(), activePeriodicPersist]);
991
+ if (persist) {
992
+ await (loadedMatrixCryptoRuntime ?? await loadMatrixCryptoRuntime()).persistIdbToDisk({
993
+ snapshotPath: this.idbSnapshotPath,
994
+ databasePrefix: this.cryptoDatabasePrefix,
995
+ strict: true,
996
+ stateRuntime: this.stateRuntime
997
+ });
998
+ this.syncStore?.markCleanShutdown();
999
+ await this.syncStore?.flush();
1000
+ }
1001
+ } finally {
1002
+ await this.recoveryKeyStore.close();
1003
+ }
1004
+ }
1005
+ async stopAndPersist() {
1006
+ this.stopPersistPromise ??= this.stopClientGeneration(true);
1007
+ await this.stopPersistPromise;
1008
+ }
1009
+ stopWithoutPersist() {
1010
+ if (!this.stopPersistPromise) this.stopPersistPromise = this.stopDiscardPromise = this.stopClientGeneration(false);
1011
+ return this.stopDiscardPromise ??= this.stopPersistPromise.catch(() => this.stopClientGeneration(false));
1012
+ }
1013
+ async bootstrapCryptoIfNeeded(abortSignal) {
1014
+ if (!this.encryptionEnabled || !this.cryptoInitialized || this.cryptoBootstrapped) return;
1015
+ throwIfMatrixStartupAborted(abortSignal);
1016
+ await this.ensureCryptoSupportInitialized();
1017
+ const crypto = this.client.getCrypto();
1018
+ if (!crypto) return;
1019
+ const cryptoBootstrapper = this.cryptoBootstrapper;
1020
+ if (!cryptoBootstrapper) return;
1021
+ const initial = await cryptoBootstrapper.bootstrap(crypto, MATRIX_INITIAL_CRYPTO_BOOTSTRAP_OPTIONS);
1022
+ throwIfMatrixStartupAborted(abortSignal);
1023
+ if (!initial.crossSigningPublished || initial.ownDeviceVerified === false) {
1024
+ if ((await this.getOwnDeviceVerificationStatus()).signedByOwner) LogService.warn("MatrixClientLite", "Cross-signing/bootstrap is incomplete for an already owner-signed device; skipping automatic reset and preserving the current identity. Restore the recovery key or run an explicit verification bootstrap if repair is needed.");
1025
+ else try {
1026
+ const repaired = await cryptoBootstrapper.bootstrap(crypto, MATRIX_AUTOMATIC_REPAIR_BOOTSTRAP_OPTIONS);
1027
+ throwIfMatrixStartupAborted(abortSignal);
1028
+ if (repaired.crossSigningPublished && repaired.ownDeviceVerified !== false) LogService.info("MatrixClientLite", "Cross-signing/bootstrap recovered after forced reset");
1029
+ } catch (err) {
1030
+ LogService.warn("MatrixClientLite", "Failed to recover cross-signing/bootstrap with forced reset:", err);
1031
+ }
1032
+ }
1033
+ this.cryptoBootstrapped = true;
1034
+ }
1035
+ async initializeCryptoIfNeeded(abortSignal) {
1036
+ if (!this.encryptionEnabled) return;
1037
+ if (this.cryptoInitializationPromise) {
1038
+ await this.cryptoInitializationPromise;
1039
+ throwIfMatrixStartupAborted(abortSignal);
1040
+ return;
1041
+ }
1042
+ if (this.cryptoInitialized) return;
1043
+ const initialization = this.initializeCrypto(abortSignal ? AbortSignal.any([abortSignal, this.requestAbortController.signal]) : this.requestAbortController.signal);
1044
+ this.cryptoInitializationPromise = initialization;
1045
+ try {
1046
+ await initialization;
1047
+ } finally {
1048
+ if (this.cryptoInitializationPromise === initialization) this.cryptoInitializationPromise = null;
1049
+ }
1050
+ }
1051
+ async initializeCrypto(abortSignal) {
1052
+ throwIfMatrixStartupAborted(abortSignal);
1053
+ const { persistIdbToDisk, restoreIdbFromDisk } = await loadMatrixCryptoRuntime();
1054
+ await restoreIdbFromDisk(this.idbSnapshotPath, this.stateRuntime);
1055
+ throwIfMatrixStartupAborted(abortSignal);
1056
+ try {
1057
+ await this.client.initRustCrypto({ cryptoDatabasePrefix: this.cryptoDatabasePrefix });
1058
+ this.cryptoInitialized = true;
1059
+ throwIfMatrixStartupAborted(abortSignal);
1060
+ await persistIdbToDisk({
1061
+ snapshotPath: this.idbSnapshotPath,
1062
+ databasePrefix: this.cryptoDatabasePrefix,
1063
+ abortSignal,
1064
+ stateRuntime: this.stateRuntime
1065
+ });
1066
+ throwIfMatrixStartupAborted(abortSignal);
1067
+ this.idbPersistTimer = setInterval(() => {
1068
+ if (this.idbPersistPromise) return;
1069
+ const abortController = new AbortController();
1070
+ this.idbPersistAbortController = abortController;
1071
+ this.idbPersistPromise = persistIdbToDisk({
1072
+ snapshotPath: this.idbSnapshotPath,
1073
+ databasePrefix: this.cryptoDatabasePrefix,
1074
+ abortSignal: abortController.signal,
1075
+ stateRuntime: this.stateRuntime
1076
+ }).catch(noop).finally(() => {
1077
+ this.idbPersistPromise = null;
1078
+ this.idbPersistAbortController = null;
1079
+ });
1080
+ }, MATRIX_IDB_PERSIST_INTERVAL_MS);
1081
+ this.idbPersistTimer.unref?.();
1082
+ } catch (err) {
1083
+ throwIfMatrixStartupAborted(abortSignal);
1084
+ LogService.warn("MatrixClientLite", "Failed to initialize rust crypto:", err);
1085
+ }
1086
+ }
1087
+ };
1088
+ //#endregion
1089
+ //#region extensions/matrix/src/matrix/sdk/client-core.ts
1090
+ function isUnsupportedAuthenticatedMediaEndpointError(err) {
1091
+ const statusCode = err?.statusCode;
1092
+ if (statusCode === 404 || statusCode === 405 || statusCode === 501) return true;
1093
+ const message = formatMatrixErrorReason(err);
1094
+ return message.includes("m_unrecognized") || message.includes("unrecognized request") || message.includes("method not allowed") || message.includes("not implemented");
1095
+ }
1096
+ var MatrixClientCore = class extends MatrixClientBase {
1097
+ async getUserId() {
1098
+ const fromClient = this.client.getUserId();
1099
+ if (fromClient) {
1100
+ this.selfUserId = fromClient;
1101
+ return fromClient;
1102
+ }
1103
+ if (this.selfUserId) return this.selfUserId;
1104
+ const resolved = (await this.doRequest("GET", "/_matrix/client/v3/account/whoami")).user_id?.trim();
1105
+ if (!resolved) throw new Error("Matrix whoami did not return user_id");
1106
+ this.selfUserId = resolved;
1107
+ return resolved;
1108
+ }
1109
+ async getJoinedRooms() {
1110
+ const joined = await this.doRequest("GET", "/_matrix/client/v3/joined_rooms");
1111
+ return Array.isArray(joined.joined_rooms) ? joined.joined_rooms : [];
1112
+ }
1113
+ async getTransactionScopeId() {
1114
+ captureMatrixSendCurrentness(this)?.();
1115
+ if (this.transactionScopeId) return this.transactionScopeId;
1116
+ const active = this.transactionScopePromise ?? withoutMatrixSendCurrentness(async () => {
1117
+ const configuredUserId = this.client.getUserId()?.trim() || this.selfUserId;
1118
+ const configuredDeviceId = this.transactionScopeDeviceId || this.client.getDeviceId()?.trim() || null;
1119
+ const whoami = await this.doRequest("GET", "/_matrix/client/v3/account/whoami");
1120
+ const userId = whoami.user_id?.trim() || null;
1121
+ const deviceId = whoami.device_id?.trim() || null;
1122
+ if (!userId) throw new Error("Matrix whoami did not return user_id");
1123
+ if (configuredUserId && configuredUserId !== userId) throw new Error("Matrix access token user does not match the configured userId");
1124
+ if (configuredDeviceId && deviceId && configuredDeviceId !== deviceId) throw new Error("Matrix access token device does not match the configured deviceId");
1125
+ this.selfUserId = userId;
1126
+ this.transactionScopeDeviceId = deviceId;
1127
+ return createHash("sha256").update(this.transactionScopeHomeserver).update("\0").update(userId).update("\0").update(deviceId ?? "").update("\0").update(this.transactionScopeAccessTokenHash).digest("hex");
1128
+ });
1129
+ this.transactionScopePromise = active;
1130
+ try {
1131
+ const resolved = await active;
1132
+ this.transactionScopeId = resolved;
1133
+ return resolved;
1134
+ } finally {
1135
+ if (this.transactionScopePromise === active) this.transactionScopePromise = null;
1136
+ }
1137
+ }
1138
+ async getJoinedRoomMembers(roomId) {
1139
+ const joined = (await this.client.getJoinedRoomMembers(roomId))?.joined;
1140
+ if (!joined || typeof joined !== "object") return [];
1141
+ return Object.keys(joined);
1142
+ }
1143
+ hasSyncedJoinedRoomMember(roomId, userId) {
1144
+ return this.client.getRoom(roomId)?.getMember(userId)?.membership === "join";
1145
+ }
1146
+ async getRoomStateEvent(roomId, eventType, stateKey = "") {
1147
+ return await this.client.getStateEvent(roomId, eventType, stateKey) ?? {};
1148
+ }
1149
+ async getAccountData(eventType) {
1150
+ return await this.client.getAccountDataFromServer(eventType) ?? void 0;
1151
+ }
1152
+ async setAccountData(eventType, content) {
1153
+ await this.client.setAccountData(eventType, content);
1154
+ await this.refreshDmCache().catch(noop);
1155
+ }
1156
+ async resolveRoom(aliasOrRoomId) {
1157
+ if (!aliasOrRoomId.startsWith("#")) return aliasOrRoomId;
1158
+ try {
1159
+ return (await this.client.getRoomIdForAlias(aliasOrRoomId)).room_id ?? null;
1160
+ } catch {
1161
+ return null;
1162
+ }
1163
+ }
1164
+ async createDirectRoom(remoteUserId, opts = {}) {
1165
+ const initialState = opts.encrypted ? [{
1166
+ type: "m.room.encryption",
1167
+ state_key: "",
1168
+ content: { algorithm: "m.megolm.v1.aes-sha2" }
1169
+ }] : void 0;
1170
+ return (await this.client.createRoom({
1171
+ invite: [remoteUserId],
1172
+ is_direct: true,
1173
+ preset: Preset.TrustedPrivateChat,
1174
+ initial_state: initialState
1175
+ })).room_id;
1176
+ }
1177
+ async sendMessage(roomId, content, transactionId, beforeWireDispatch) {
1178
+ const assertCurrent = captureMatrixSendCurrentness(this);
1179
+ const wireTransactionId = transactionId ?? (beforeWireDispatch || assertCurrent ? this.client.makeTxnId() : void 0);
1180
+ return await this.sendQueue.enqueue(roomId, async () => {
1181
+ return await this.messageWireDispatchGuards.run({
1182
+ transactionId: wireTransactionId,
1183
+ guard: beforeWireDispatch,
1184
+ assertCurrent,
1185
+ run: async () => {
1186
+ if (wireTransactionId) {
1187
+ const room = this.client.getRoom(roomId);
1188
+ const existing = room?.getEventForTxnId?.(wireTransactionId);
1189
+ if (existing) {
1190
+ const existingId = existing.getId();
1191
+ if (existing.status === EventStatus.SENT && existingId && !existingId.startsWith("~")) return existingId;
1192
+ if (existing.status === EventStatus.NOT_SENT && room) {
1193
+ await this.prepareRoomForMessageSend(roomId, existing.getContent());
1194
+ return (await this.client.resendEvent(existing, room)).event_id;
1195
+ }
1196
+ throw new Error(`Matrix transaction ${wireTransactionId} is already active with status ${existing.status ?? "unknown"}`);
1197
+ }
1198
+ }
1199
+ await this.prepareRoomForMessageSend(roomId, content);
1200
+ return (await this.client.sendMessage(roomId, content, wireTransactionId)).event_id;
1201
+ }
1202
+ });
1203
+ });
1204
+ }
1205
+ async getMessageWireEventType(roomId) {
1206
+ if (this.client.getRoom(roomId)?.hasEncryptionStateEvent() === true) return "m.room.encrypted";
1207
+ const crypto = this.client.getCrypto();
1208
+ if (crypto && await crypto.isEncryptionEnabledInRoom(roomId)) return "m.room.encrypted";
1209
+ try {
1210
+ await this.getRoomStateEvent(roomId, "m.room.encryption", "");
1211
+ return "m.room.encrypted";
1212
+ } catch (error) {
1213
+ if (error instanceof MatrixError && error.httpStatus === 404 && error.errcode === "M_NOT_FOUND") return "m.room.message";
1214
+ throw error;
1215
+ }
1216
+ }
1217
+ async prepareRoomForMessageSend(roomId, content) {
1218
+ if (await this.getMessageWireEventType(roomId) === "m.room.message") return "m.room.message";
1219
+ const crypto = this.client.getCrypto();
1220
+ if (!crypto) throw new Error("Encrypted Matrix room: enable encryption before sending messages");
1221
+ const room = this.client.getRoom(roomId);
1222
+ if (!room || !room.hasEncryptionStateEvent() && !await crypto.isEncryptionEnabledInRoom(roomId)) throw new Error("Encrypted Matrix room is not ready: wait for room sync before sending");
1223
+ if (content && ((content.msgtype === MsgType.Image || content.msgtype === MsgType.Audio || content.msgtype === MsgType.Video || content.msgtype === MsgType.File) && typeof content.url === "string" || content.info && "thumbnail_url" in content.info && typeof content.info.thumbnail_url === "string")) throw new Error("Encrypted Matrix room contains unencrypted media; retry the send");
1224
+ return "m.room.encrypted";
1225
+ }
1226
+ async sendEvent(roomId, eventType, content) {
1227
+ return await this.sendQueue.enqueue(roomId, async () => {
1228
+ if (eventType === EventType.RoomMessageEncrypted.toString() || eventType === EventType.RoomRedaction.toString()) throw new Error(eventType === EventType.RoomRedaction.toString() ? "Matrix redaction wire events must use redactEvent" : "Matrix encrypted wire events must be generated by the SDK");
1229
+ if (eventType !== "m.reaction") await this.prepareRoomForMessageSend(roomId, content);
1230
+ return (await this.client.sendEvent(roomId, eventType, content)).event_id;
1231
+ });
1232
+ }
1233
+ async sendStateEvent(roomId, eventType, stateKey, content) {
1234
+ return (await this.client.sendStateEvent(roomId, eventType, content, stateKey)).event_id;
1235
+ }
1236
+ async redactEvent(roomId, eventId, reason) {
1237
+ return (await this.client.redactEvent(roomId, eventId, void 0, reason?.trim() ? { reason } : void 0)).event_id;
1238
+ }
1239
+ async doRequest(method, endpoint, qs, body, opts) {
1240
+ return await this.httpClient.requestJson({
1241
+ method,
1242
+ endpoint,
1243
+ qs,
1244
+ body,
1245
+ timeoutMs: this.localTimeoutMs,
1246
+ allowAbsoluteEndpoint: opts?.allowAbsoluteEndpoint
1247
+ });
1248
+ }
1249
+ async getUserProfile(userId) {
1250
+ return await this.client.getProfileInfo(userId);
1251
+ }
1252
+ async setDisplayName(displayName) {
1253
+ await this.client.setDisplayName(displayName);
1254
+ }
1255
+ async setAvatarUrl(avatarUrl) {
1256
+ await this.client.setAvatarUrl(avatarUrl);
1257
+ }
1258
+ async joinRoom(roomId) {
1259
+ await this.client.joinRoom(roomId);
1260
+ }
1261
+ async downloadContent(mxcUrl, opts = {}) {
1262
+ const parsed = parseMxc(mxcUrl);
1263
+ if (!parsed) throw new Error(`Invalid Matrix content URI: ${mxcUrl}`);
1264
+ const encodedServer = encodeURIComponent(parsed.server);
1265
+ const encodedMediaId = encodeURIComponent(parsed.mediaId);
1266
+ const request = async (endpoint) => await this.httpClient.requestRaw({
1267
+ method: "GET",
1268
+ endpoint,
1269
+ qs: { allow_remote: opts.allowRemote ?? true },
1270
+ timeoutMs: this.localTimeoutMs,
1271
+ maxBytes: opts.maxBytes,
1272
+ readIdleTimeoutMs: opts.readIdleTimeoutMs
1273
+ });
1274
+ const authenticatedEndpoint = `/_matrix/client/v1/media/download/${encodedServer}/${encodedMediaId}`;
1275
+ try {
1276
+ return await request(authenticatedEndpoint);
1277
+ } catch (err) {
1278
+ if (!isUnsupportedAuthenticatedMediaEndpointError(err)) throw err;
1279
+ }
1280
+ return await request(`/_matrix/media/v3/download/${encodedServer}/${encodedMediaId}`);
1281
+ }
1282
+ async uploadContent(file, contentType, filename) {
1283
+ return (await this.client.uploadContent(new Uint8Array(file), {
1284
+ type: contentType || "application/octet-stream",
1285
+ name: filename,
1286
+ includeFilename: Boolean(filename)
1287
+ })).content_uri;
1288
+ }
1289
+ async getEvent(roomId, eventId) {
1290
+ const rawEvent = await this.client.fetchRoomEvent(roomId, eventId);
1291
+ if (rawEvent.type !== "m.room.encrypted") return rawEvent;
1292
+ const event = this.client.getEventMapper()(rawEvent);
1293
+ let decryptedEvent;
1294
+ const onDecrypted = (candidate) => {
1295
+ decryptedEvent = candidate;
1296
+ };
1297
+ event.once(MatrixEventEvent.Decrypted, onDecrypted);
1298
+ try {
1299
+ await this.client.decryptEventIfNeeded(event);
1300
+ } finally {
1301
+ event.off(MatrixEventEvent.Decrypted, onDecrypted);
1302
+ }
1303
+ return matrixEventToRaw(decryptedEvent ?? event);
1304
+ }
1305
+ async getRelations(roomId, eventId, relationType, eventType, opts = {}) {
1306
+ const result = await this.client.relations(roomId, eventId, relationType, eventType, opts);
1307
+ const events = result.originalEvent ? [result.originalEvent, ...result.events] : result.events;
1308
+ await Promise.all(events.map((event) => this.client.decryptEventIfNeeded(event)));
1309
+ return {
1310
+ originalEvent: result.originalEvent ? matrixEventToRaw(result.originalEvent) : null,
1311
+ events: result.events.map((event) => matrixEventToRaw(event)),
1312
+ nextBatch: result.nextBatch ?? null,
1313
+ prevBatch: result.prevBatch ?? null
1314
+ };
1315
+ }
1316
+ async hydrateEvents(roomId, events) {
1317
+ if (events.length === 0) return [];
1318
+ const mapper = this.client.getEventMapper();
1319
+ const mappedEvents = events.map((event) => mapper({
1320
+ room_id: roomId,
1321
+ ...event
1322
+ }));
1323
+ await Promise.all(mappedEvents.map((event) => this.client.decryptEventIfNeeded(event)));
1324
+ return mappedEvents.map((event) => matrixEventToRaw(event));
1325
+ }
1326
+ async setTyping(roomId, typing, timeoutMs) {
1327
+ await this.client.sendTyping(roomId, typing, timeoutMs);
1328
+ }
1329
+ async sendReadReceipt(roomId, eventId) {
1330
+ await this.httpClient.requestJson({
1331
+ method: "POST",
1332
+ endpoint: `/_matrix/client/v3/rooms/${encodeURIComponent(roomId)}/receipt/m.read/${encodeURIComponent(eventId)}`,
1333
+ body: {},
1334
+ timeoutMs: this.localTimeoutMs
1335
+ });
1336
+ }
1337
+ };
1338
+ //#endregion
1339
+ //#region extensions/matrix/src/matrix/sdk/client-verification.ts
1340
+ var MatrixClientVerification = class extends MatrixClientCore {
1341
+ async refreshOwnDeviceKeys() {
1342
+ await this.client.getCrypto()?.userHasCrossSigningKeys(await this.getUserId(), true);
1343
+ }
1344
+ async getRoomKeyBackupStatus() {
1345
+ if (!this.encryptionEnabled) return unresolvedMatrixRoomKeyBackupStatus();
1346
+ const crypto = this.client.getCrypto();
1347
+ const serverVersionFallback = await this.resolveRoomKeyBackupVersion();
1348
+ if (!crypto) return {
1349
+ ...unresolvedMatrixRoomKeyBackupStatus(),
1350
+ serverVersion: serverVersionFallback
1351
+ };
1352
+ let { activeVersion, decryptionKeyCached } = await this.resolveRoomKeyBackupLocalState(crypto);
1353
+ let { serverVersion, trusted, matchesDecryptionKey } = await this.resolveRoomKeyBackupTrustState(crypto, serverVersionFallback);
1354
+ const shouldLoadBackupKey = Boolean(serverVersion) && (decryptionKeyCached === false || matchesDecryptionKey === false);
1355
+ const shouldActivateBackup = Boolean(serverVersion) && !activeVersion;
1356
+ let keyLoadAttempted = false;
1357
+ let keyLoadError = null;
1358
+ if (serverVersion && (shouldLoadBackupKey || shouldActivateBackup)) {
1359
+ if (shouldLoadBackupKey) {
1360
+ if (typeof crypto.loadSessionBackupPrivateKeyFromSecretStorage === "function") {
1361
+ keyLoadAttempted = true;
1362
+ try {
1363
+ await crypto.loadSessionBackupPrivateKeyFromSecretStorage();
1364
+ } catch (err) {
1365
+ keyLoadError = formatErrorMessage(err);
1366
+ }
1367
+ } else keyLoadError = "Matrix crypto backend does not support loading backup keys from secret storage";
1368
+ }
1369
+ if (!keyLoadError) await this.enableTrustedRoomKeyBackupIfPossible(crypto);
1370
+ ({activeVersion, decryptionKeyCached} = await this.resolveRoomKeyBackupLocalState(crypto));
1371
+ ({serverVersion, trusted, matchesDecryptionKey} = await this.resolveRoomKeyBackupTrustState(crypto, serverVersion));
1372
+ }
1373
+ return {
1374
+ serverVersion,
1375
+ activeVersion,
1376
+ trusted,
1377
+ matchesDecryptionKey,
1378
+ decryptionKeyCached,
1379
+ keyLoadAttempted,
1380
+ keyLoadError
1381
+ };
1382
+ }
1383
+ async getDeviceVerificationStatus(userId, deviceId) {
1384
+ const normalizedUserId = userId?.trim() || null;
1385
+ const normalizedDeviceId = deviceId?.trim() || null;
1386
+ if (!this.encryptionEnabled) return {
1387
+ ...unresolvedMatrixDeviceVerificationStatus({
1388
+ userId: normalizedUserId,
1389
+ deviceId: normalizedDeviceId
1390
+ }),
1391
+ encryptionEnabled: false
1392
+ };
1393
+ const crypto = this.client.getCrypto();
1394
+ let deviceStatus = null;
1395
+ if (crypto && normalizedUserId && normalizedDeviceId && typeof crypto.getDeviceVerificationStatus === "function") deviceStatus = await crypto.getDeviceVerificationStatus(normalizedUserId, normalizedDeviceId).catch(() => null);
1396
+ const { isMatrixDeviceVerifiedInCurrentClient } = await loadMatrixCryptoRuntime();
1397
+ return {
1398
+ encryptionEnabled: true,
1399
+ userId: normalizedUserId,
1400
+ deviceId: normalizedDeviceId,
1401
+ verified: isMatrixDeviceVerifiedInCurrentClient(deviceStatus),
1402
+ localVerified: deviceStatus?.localVerified === true,
1403
+ crossSigningVerified: deviceStatus?.crossSigningVerified === true,
1404
+ signedByOwner: deviceStatus?.signedByOwner === true
1405
+ };
1406
+ }
1407
+ async getOwnDeviceVerificationStatus() {
1408
+ const recoveryKey = await this.recoveryKeyStore.getRecoveryKeySummary();
1409
+ const userId = this.client.getUserId() ?? this.selfUserId ?? null;
1410
+ const deviceId = this.client.getDeviceId()?.trim() || null;
1411
+ const diagnosticTimeoutMs = Math.min(this.localTimeoutMs, MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS);
1412
+ const [backup, deviceVerification, ownDevices] = await Promise.all([
1413
+ resolveMatrixDiagnostic(this.getRoomKeyBackupStatus(), diagnosticTimeoutMs),
1414
+ resolveMatrixDiagnostic(this.getDeviceVerificationStatus(userId, deviceId), diagnosticTimeoutMs),
1415
+ resolveMatrixDiagnosticResult(this.listOwnDevices(), diagnosticTimeoutMs)
1416
+ ]);
1417
+ const resolvedBackup = backup ?? unresolvedMatrixRoomKeyBackupStatus();
1418
+ const resolvedDeviceVerification = deviceVerification ?? unresolvedMatrixDeviceVerificationStatus({
1419
+ userId,
1420
+ deviceId
1421
+ });
1422
+ const serverDeviceKnown = deviceId ? ownDevices.value ? ownDevices.value.some((device) => device.deviceId === deviceId) : isMatrixAccessTokenInvalidatedError(ownDevices.error) ? false : null : null;
1423
+ return {
1424
+ ...resolvedDeviceVerification,
1425
+ verified: resolvedDeviceVerification.crossSigningVerified,
1426
+ recoveryKeyStored: Boolean(recoveryKey),
1427
+ recoveryKeyCreatedAt: recoveryKey?.createdAt ?? null,
1428
+ recoveryKeyId: recoveryKey?.keyId ?? null,
1429
+ backupVersion: resolvedBackup.serverVersion,
1430
+ backup: resolvedBackup,
1431
+ serverDeviceKnown
1432
+ };
1433
+ }
1434
+ async getOwnDeviceIdentityVerificationStatus() {
1435
+ const userId = this.client.getUserId() ?? this.selfUserId ?? null;
1436
+ const deviceId = this.client.getDeviceId()?.trim() || null;
1437
+ const deviceVerification = await this.getDeviceVerificationStatus(userId, deviceId);
1438
+ return {
1439
+ ...deviceVerification,
1440
+ verified: deviceVerification.crossSigningVerified
1441
+ };
1442
+ }
1443
+ async trustOwnIdentityAfterSelfVerification() {
1444
+ if (!this.encryptionEnabled) return;
1445
+ await this.ensureStartedForCryptoControlPlane();
1446
+ await this.ensureCryptoSupportInitialized();
1447
+ const crypto = this.client.getCrypto();
1448
+ const ownIdentity = crypto && typeof crypto.getOwnIdentity === "function" ? await crypto.getOwnIdentity().catch(() => void 0) : void 0;
1449
+ if (!ownIdentity) return;
1450
+ try {
1451
+ if (typeof ownIdentity.isVerified === "function" && ownIdentity.isVerified()) return;
1452
+ if (typeof ownIdentity.verify !== "function") return;
1453
+ await ownIdentity.verify();
1454
+ } finally {
1455
+ ownIdentity.free?.();
1456
+ }
1457
+ }
1458
+ async resolveActiveRoomKeyBackupVersion(crypto) {
1459
+ if (typeof crypto.getActiveSessionBackupVersion !== "function") return null;
1460
+ const version = await crypto.getActiveSessionBackupVersion().catch(() => null);
1461
+ return normalizeNullableString(version);
1462
+ }
1463
+ async resolveCachedRoomKeyBackupDecryptionKey(crypto) {
1464
+ const read = Reflect.get(crypto, "getSessionBackupPrivateKey");
1465
+ if (typeof read !== "function") return null;
1466
+ const key = await read.call(crypto).catch(() => null);
1467
+ return key ? key.length > 0 : false;
1468
+ }
1469
+ async resolveRoomKeyBackupLocalState(crypto) {
1470
+ const [activeVersion, decryptionKeyCached] = await Promise.all([this.resolveActiveRoomKeyBackupVersion(crypto), this.resolveCachedRoomKeyBackupDecryptionKey(crypto)]);
1471
+ return {
1472
+ activeVersion,
1473
+ decryptionKeyCached
1474
+ };
1475
+ }
1476
+ async shouldForceSecretStorageRecreationForBackupReset(crypto) {
1477
+ if (await this.resolveCachedRoomKeyBackupDecryptionKey(crypto) !== false) return false;
1478
+ const loadSessionBackupPrivateKeyFromSecretStorage = crypto.loadSessionBackupPrivateKeyFromSecretStorage;
1479
+ if (typeof loadSessionBackupPrivateKeyFromSecretStorage !== "function") return false;
1480
+ try {
1481
+ await loadSessionBackupPrivateKeyFromSecretStorage.call(crypto);
1482
+ return false;
1483
+ } catch (err) {
1484
+ return isRepairableSecretStorageAccessError(err);
1485
+ }
1486
+ }
1487
+ async resolveRoomKeyBackupTrustState(crypto, fallbackVersion) {
1488
+ let serverVersion = fallbackVersion;
1489
+ let trusted = null;
1490
+ let matchesDecryptionKey = null;
1491
+ if (typeof crypto.getKeyBackupInfo === "function") {
1492
+ const info = await crypto.getKeyBackupInfo().catch(() => null);
1493
+ serverVersion = normalizeNullableString(info?.version) ?? serverVersion;
1494
+ if (info && typeof crypto.isKeyBackupTrusted === "function") {
1495
+ const trustInfo = await crypto.isKeyBackupTrusted(info).catch(() => null);
1496
+ trusted = typeof trustInfo?.trusted === "boolean" ? trustInfo.trusted : null;
1497
+ matchesDecryptionKey = typeof trustInfo?.matchesDecryptionKey === "boolean" ? trustInfo.matchesDecryptionKey : null;
1498
+ }
1499
+ }
1500
+ return {
1501
+ serverVersion,
1502
+ trusted,
1503
+ matchesDecryptionKey
1504
+ };
1505
+ }
1506
+ async resolveDefaultSecretStorageKeyId(crypto) {
1507
+ const getSecretStorageStatus = crypto?.getSecretStorageStatus;
1508
+ if (typeof getSecretStorageStatus !== "function") return;
1509
+ return (await getSecretStorageStatus.call(crypto).catch(() => null))?.defaultKeyId;
1510
+ }
1511
+ async resolveRoomKeyBackupVersion() {
1512
+ try {
1513
+ const response = await this.doRequest("GET", "/_matrix/client/v3/room_keys/version");
1514
+ return normalizeNullableString(response.version);
1515
+ } catch {
1516
+ return null;
1517
+ }
1518
+ }
1519
+ async enableTrustedRoomKeyBackupIfPossible(crypto) {
1520
+ if (typeof crypto.checkKeyBackupAndEnable !== "function") return;
1521
+ await crypto.checkKeyBackupAndEnable();
1522
+ }
1523
+ async ensureRoomKeyBackupEnabled(crypto) {
1524
+ if (await this.resolveRoomKeyBackupVersion()) return;
1525
+ LogService.info("MatrixClientLite", "No room key backup version found on server, creating one via secret storage bootstrap");
1526
+ await this.recoveryKeyStore.bootstrapSecretStorageWithRecoveryKey(crypto, { setupNewKeyBackup: true });
1527
+ const createdVersion = await this.resolveRoomKeyBackupVersion();
1528
+ if (!createdVersion) throw new Error("Matrix room key backup is still missing after bootstrap");
1529
+ LogService.info("MatrixClientLite", `Room key backup enabled (version ${createdVersion})`);
1530
+ }
1531
+ };
1532
+ //#endregion
1533
+ //#region extensions/matrix/src/matrix/sdk.ts
1534
+ var sdk_exports = /* @__PURE__ */ __exportAll({
1535
+ ConsoleLogger: () => ConsoleLogger,
1536
+ LogService: () => LogService,
1537
+ MatrixClient: () => MatrixClient
1538
+ });
1539
+ var MatrixClient = class extends MatrixClientVerification {
1540
+ async verifyWithRecoveryKey(rawRecoveryKey) {
1541
+ const fail = async (error, fields = {}) => {
1542
+ const status = await this.getOwnDeviceVerificationStatus();
1543
+ return {
1544
+ success: false,
1545
+ recoveryKeyAccepted: fields.recoveryKeyAccepted ?? false,
1546
+ backupUsable: fields.backupUsable ?? false,
1547
+ deviceOwnerVerified: fields.deviceOwnerVerified ?? status.verified,
1548
+ error,
1549
+ ...status
1550
+ };
1551
+ };
1552
+ if (!this.encryptionEnabled) return await fail("Matrix encryption is disabled for this client");
1553
+ await this.ensureStartedForCryptoControlPlane();
1554
+ await this.ensureCryptoSupportInitialized();
1555
+ const crypto = this.client.getCrypto();
1556
+ if (!crypto) return await fail("Matrix crypto is not available (start client with encryption enabled)");
1557
+ const backupUsableBeforeStagedRecovery = resolveMatrixRoomKeyBackupReadinessError(await this.getRoomKeyBackupStatus(), { requireServerBackup: true }) === null;
1558
+ const trimmedRecoveryKey = rawRecoveryKey.trim();
1559
+ if (!trimmedRecoveryKey) return await fail("Matrix recovery key is required");
1560
+ let stagedKeyId;
1561
+ try {
1562
+ stagedKeyId = await this.resolveDefaultSecretStorageKeyId(crypto) ?? null;
1563
+ await this.recoveryKeyStore.stageEncodedRecoveryKey({
1564
+ encodedPrivateKey: trimmedRecoveryKey,
1565
+ keyId: stagedKeyId
1566
+ });
1567
+ } catch (err) {
1568
+ return await fail(formatErrorMessage(err));
1569
+ }
1570
+ const storedRecoveryKeyMatches = (await this.recoveryKeyStore.getRecoveryKeySummary())?.encodedPrivateKey?.trim() === trimmedRecoveryKey;
1571
+ if (backupUsableBeforeStagedRecovery && storedRecoveryKeyMatches) {
1572
+ const status = await this.getOwnDeviceVerificationStatus();
1573
+ const backupUsable = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: true }) === null;
1574
+ const backupError = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: false });
1575
+ const recoveryKeyAccepted = backupUsable;
1576
+ if (!status.verified) {
1577
+ if (recoveryKeyAccepted) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1578
+ else await this.recoveryKeyStore.discardStagedRecoveryKey();
1579
+ return {
1580
+ success: false,
1581
+ recoveryKeyAccepted,
1582
+ backupUsable,
1583
+ deviceOwnerVerified: false,
1584
+ error: "Matrix recovery key was applied, but this device still lacks full Matrix identity trust. The recovery key can unlock usable backup material only when 'Backup usable' is yes; full identity trust still requires Matrix cross-signing verification.",
1585
+ ...status
1586
+ };
1587
+ }
1588
+ if (backupError) {
1589
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1590
+ return {
1591
+ success: false,
1592
+ recoveryKeyAccepted,
1593
+ backupUsable,
1594
+ deviceOwnerVerified: true,
1595
+ error: backupError,
1596
+ ...status
1597
+ };
1598
+ }
1599
+ await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1600
+ return {
1601
+ success: true,
1602
+ recoveryKeyAccepted: true,
1603
+ backupUsable,
1604
+ deviceOwnerVerified: true,
1605
+ verifiedAt: (/* @__PURE__ */ new Date()).toISOString(),
1606
+ ...status
1607
+ };
1608
+ }
1609
+ try {
1610
+ const cryptoBootstrapper = this.cryptoBootstrapper;
1611
+ if (!cryptoBootstrapper) return await fail("Matrix crypto bootstrapper is not available");
1612
+ await cryptoBootstrapper.bootstrap(crypto, { allowAutomaticCrossSigningReset: false });
1613
+ await this.enableTrustedRoomKeyBackupIfPossible(crypto);
1614
+ const status = await this.getOwnDeviceVerificationStatus();
1615
+ const backupError = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: false });
1616
+ const backupUsable = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: true }) === null;
1617
+ const stagedRecoveryKeyUsed = this.recoveryKeyStore.hasStagedRecoveryKeyBeenUsed();
1618
+ const secretStorageStatus = typeof crypto.getSecretStorageStatus === "function" ? await crypto.getSecretStorageStatus().catch(() => null) : null;
1619
+ const stagedRecoveryKeyConfirmedBySecretStorage = Boolean(stagedKeyId) && secretStorageStatus?.secretStorageKeyValidityMap?.[stagedKeyId ?? ""] === true;
1620
+ const stagedRecoveryKeyRejectedBySecretStorage = Boolean(stagedKeyId) && secretStorageStatus?.secretStorageKeyValidityMap?.[stagedKeyId ?? ""] === false;
1621
+ const stagedRecoveryKeyValidated = stagedRecoveryKeyUsed && (stagedRecoveryKeyConfirmedBySecretStorage || stagedRecoveryKeyUsed && !stagedRecoveryKeyRejectedBySecretStorage && !stagedRecoveryKeyConfirmedBySecretStorage && !backupUsableBeforeStagedRecovery && backupUsable) || storedRecoveryKeyMatches && backupUsable;
1622
+ const recoveryKeyAccepted = stagedRecoveryKeyValidated && (status.verified || backupUsable);
1623
+ if (!status.verified) {
1624
+ if (backupUsable && stagedRecoveryKeyValidated) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1625
+ else await this.recoveryKeyStore.discardStagedRecoveryKey();
1626
+ return {
1627
+ success: false,
1628
+ recoveryKeyAccepted,
1629
+ backupUsable,
1630
+ deviceOwnerVerified: false,
1631
+ error: "Matrix recovery key was applied, but this device still lacks full Matrix identity trust. The recovery key can unlock usable backup material only when 'Backup usable' is yes; full identity trust still requires Matrix cross-signing verification.",
1632
+ ...recoveryKeyAccepted ? await this.getOwnDeviceVerificationStatus() : status
1633
+ };
1634
+ }
1635
+ if (backupError) {
1636
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1637
+ return {
1638
+ success: false,
1639
+ recoveryKeyAccepted,
1640
+ backupUsable,
1641
+ deviceOwnerVerified: true,
1642
+ error: backupError,
1643
+ ...status
1644
+ };
1645
+ }
1646
+ if (!stagedRecoveryKeyValidated) {
1647
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1648
+ return {
1649
+ success: false,
1650
+ recoveryKeyAccepted: false,
1651
+ backupUsable,
1652
+ deviceOwnerVerified: true,
1653
+ error: "Matrix recovery key could not be verified against active Matrix backup material; existing backup may be usable from previously loaded recovery material.",
1654
+ ...status
1655
+ };
1656
+ }
1657
+ await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1658
+ const committedStatus = await this.getOwnDeviceVerificationStatus();
1659
+ return {
1660
+ success: true,
1661
+ recoveryKeyAccepted: true,
1662
+ backupUsable,
1663
+ deviceOwnerVerified: true,
1664
+ verifiedAt: (/* @__PURE__ */ new Date()).toISOString(),
1665
+ ...committedStatus
1666
+ };
1667
+ } catch (err) {
1668
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1669
+ return await fail(formatErrorMessage(err));
1670
+ }
1671
+ }
1672
+ async restoreRoomKeyBackup(params = {}) {
1673
+ let loadedFromSecretStorage = false;
1674
+ const fail = async (error) => {
1675
+ const backup = await this.getRoomKeyBackupStatus();
1676
+ return {
1677
+ success: false,
1678
+ error,
1679
+ backupVersion: backup.serverVersion,
1680
+ imported: 0,
1681
+ total: 0,
1682
+ loadedFromSecretStorage,
1683
+ backup
1684
+ };
1685
+ };
1686
+ if (!this.encryptionEnabled) return await fail("Matrix encryption is disabled for this client");
1687
+ await this.ensureStartedForCryptoControlPlane();
1688
+ const crypto = this.client.getCrypto();
1689
+ if (!crypto) return await fail("Matrix crypto is not available (start client with encryption enabled)");
1690
+ try {
1691
+ const rawRecoveryKey = params.recoveryKey?.trim();
1692
+ if (rawRecoveryKey) await this.recoveryKeyStore.stageEncodedRecoveryKey({
1693
+ encodedPrivateKey: rawRecoveryKey,
1694
+ keyId: await this.resolveDefaultSecretStorageKeyId(crypto)
1695
+ });
1696
+ const backup = await this.getRoomKeyBackupStatus();
1697
+ loadedFromSecretStorage = backup.keyLoadAttempted && !backup.keyLoadError;
1698
+ const backupError = resolveMatrixRoomKeyBackupReadinessError(backup, {
1699
+ allowUntrustedMatchingKey: true,
1700
+ requireServerBackup: true
1701
+ });
1702
+ if (backupError) {
1703
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1704
+ return await fail(backupError);
1705
+ }
1706
+ if (typeof crypto.restoreKeyBackup !== "function") {
1707
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1708
+ return await fail("Matrix crypto backend does not support full key backup restore");
1709
+ }
1710
+ const restore = await crypto.restoreKeyBackup();
1711
+ if (rawRecoveryKey) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: await this.resolveDefaultSecretStorageKeyId(crypto) });
1712
+ const finalBackup = await this.getRoomKeyBackupStatus();
1713
+ return {
1714
+ success: true,
1715
+ backupVersion: backup.serverVersion,
1716
+ imported: typeof restore.imported === "number" ? restore.imported : 0,
1717
+ total: typeof restore.total === "number" ? restore.total : 0,
1718
+ loadedFromSecretStorage,
1719
+ restoredAt: (/* @__PURE__ */ new Date()).toISOString(),
1720
+ backup: finalBackup
1721
+ };
1722
+ } catch (err) {
1723
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1724
+ return await fail(formatErrorMessage(err));
1725
+ }
1726
+ }
1727
+ async resetRoomKeyBackup(options = {}) {
1728
+ let previousVersion = null;
1729
+ let deletedVersion = null;
1730
+ const fail = async (error) => {
1731
+ const backup = await this.getRoomKeyBackupStatus();
1732
+ return {
1733
+ success: false,
1734
+ error,
1735
+ previousVersion,
1736
+ deletedVersion,
1737
+ createdVersion: backup.serverVersion,
1738
+ backup
1739
+ };
1740
+ };
1741
+ if (!this.encryptionEnabled) return await fail("Matrix encryption is disabled for this client");
1742
+ await this.ensureStartedForCryptoControlPlane();
1743
+ const crypto = this.client.getCrypto();
1744
+ if (!crypto) return await fail("Matrix crypto is not available (start client with encryption enabled)");
1745
+ await this.recoveryKeyStore.drainPendingPersistence();
1746
+ previousVersion = await this.resolveRoomKeyBackupVersion();
1747
+ const forceNewSecretStorage = options.rotateRecoveryKey === true || await this.shouldForceSecretStorageRecreationForBackupReset(crypto);
1748
+ try {
1749
+ if (previousVersion) {
1750
+ try {
1751
+ await this.doRequest("DELETE", `/_matrix/client/v3/room_keys/version/${encodeURIComponent(previousVersion)}`);
1752
+ } catch (err) {
1753
+ if (!isMatrixNotFoundError(err)) throw err;
1754
+ }
1755
+ deletedVersion = previousVersion;
1756
+ }
1757
+ await this.recoveryKeyStore.bootstrapSecretStorageWithRecoveryKey(crypto, {
1758
+ setupNewKeyBackup: true,
1759
+ forceNewSecretStorage,
1760
+ forceNewRecoveryKey: options.rotateRecoveryKey === true,
1761
+ allowSecretStorageRecreateWithoutRecoveryKey: true
1762
+ });
1763
+ await this.enableTrustedRoomKeyBackupIfPossible(crypto);
1764
+ const backup = await this.getRoomKeyBackupStatus();
1765
+ const createdVersion = backup.serverVersion;
1766
+ if (!createdVersion) return await fail("Matrix room key backup is still missing after reset.");
1767
+ if (backup.activeVersion !== createdVersion) return await fail("Matrix room key backup was recreated on the server but is not active on this device.");
1768
+ if (backup.decryptionKeyCached === false) return await fail("Matrix room key backup was recreated but its decryption key is not cached on this device.");
1769
+ if (backup.matchesDecryptionKey === false) return await fail("Matrix room key backup was recreated but this device does not have the matching backup decryption key.");
1770
+ if (backup.trusted === false) return await fail("Matrix room key backup was recreated but is not trusted on this device.");
1771
+ return {
1772
+ success: true,
1773
+ previousVersion,
1774
+ deletedVersion,
1775
+ createdVersion,
1776
+ resetAt: (/* @__PURE__ */ new Date()).toISOString(),
1777
+ backup
1778
+ };
1779
+ } catch (err) {
1780
+ return await fail(formatErrorMessage(err));
1781
+ }
1782
+ }
1783
+ async getOwnCrossSigningPublicationStatus() {
1784
+ const userId = this.client.getUserId() ?? this.selfUserId ?? null;
1785
+ return await resolveMatrixCrossSigningPublicationStatus({
1786
+ userId,
1787
+ query: async () => await this.doRequest("POST", "/_matrix/client/v3/keys/query", void 0, { device_keys: userId ? { [userId]: [] } : {} })
1788
+ });
1789
+ }
1790
+ async bootstrapOwnDeviceVerification(params) {
1791
+ const pendingVerifications = async () => this.crypto ? (await this.crypto.listVerifications()).length : 0;
1792
+ if (!this.encryptionEnabled) return {
1793
+ success: false,
1794
+ error: "Matrix encryption is disabled for this client",
1795
+ verification: await this.getOwnDeviceVerificationStatus(),
1796
+ crossSigning: await this.getOwnCrossSigningPublicationStatus(),
1797
+ pendingVerifications: await pendingVerifications(),
1798
+ cryptoBootstrap: null
1799
+ };
1800
+ let bootstrapError;
1801
+ let bootstrapSummary = null;
1802
+ let rawRecoveryKey;
1803
+ try {
1804
+ await this.ensureStartedForCryptoControlPlane();
1805
+ await this.ensureCryptoSupportInitialized();
1806
+ const crypto = this.client.getCrypto();
1807
+ if (!crypto) throw new Error("Matrix crypto is not available (start client with encryption enabled)");
1808
+ rawRecoveryKey = params?.recoveryKey?.trim();
1809
+ if (rawRecoveryKey) await this.recoveryKeyStore.stageEncodedRecoveryKey({
1810
+ encodedPrivateKey: rawRecoveryKey,
1811
+ keyId: await this.resolveDefaultSecretStorageKeyId(crypto)
1812
+ });
1813
+ const cryptoBootstrapper = this.cryptoBootstrapper;
1814
+ if (!cryptoBootstrapper) throw new Error("Matrix crypto bootstrapper is not available");
1815
+ bootstrapSummary = await cryptoBootstrapper.bootstrap(crypto, createMatrixExplicitBootstrapOptions({
1816
+ ...params,
1817
+ allowAutomaticCrossSigningReset: rawRecoveryKey ? false : params?.allowAutomaticCrossSigningReset
1818
+ }));
1819
+ await this.ensureRoomKeyBackupEnabled(crypto);
1820
+ } catch (err) {
1821
+ await this.recoveryKeyStore.discardStagedRecoveryKey();
1822
+ bootstrapError = formatErrorMessage(err);
1823
+ }
1824
+ const verification = await this.getOwnDeviceVerificationStatus();
1825
+ const crossSigning = await this.getOwnCrossSigningPublicationStatus();
1826
+ const verificationError = verification.verified && crossSigning.published ? null : bootstrapError ?? "Matrix verification bootstrap did not produce a device verified by its owner with published cross-signing keys";
1827
+ const backupError = verificationError === null ? resolveMatrixRoomKeyBackupReadinessError(verification.backup, {
1828
+ allowUntrustedMatchingKey: Boolean(rawRecoveryKey),
1829
+ requireServerBackup: true
1830
+ }) : null;
1831
+ const success = verificationError === null && backupError === null;
1832
+ if (success) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: await this.resolveDefaultSecretStorageKeyId(this.client.getCrypto()) });
1833
+ else await this.recoveryKeyStore.discardStagedRecoveryKey();
1834
+ return {
1835
+ success,
1836
+ error: success ? void 0 : backupError ?? verificationError ?? void 0,
1837
+ verification: success ? await this.getOwnDeviceVerificationStatus() : verification,
1838
+ crossSigning,
1839
+ pendingVerifications: await pendingVerifications(),
1840
+ cryptoBootstrap: bootstrapSummary
1841
+ };
1842
+ }
1843
+ async listOwnDevices() {
1844
+ return await listMatrixOwnDevices(this.client);
1845
+ }
1846
+ async deleteOwnDevices(deviceIds) {
1847
+ const uniqueDeviceIds = uniqueStrings(normalizeStringEntries(deviceIds));
1848
+ const currentDeviceId = this.client.getDeviceId()?.trim() || null;
1849
+ const protectedDeviceIds = uniqueDeviceIds.filter((deviceId) => deviceId === currentDeviceId);
1850
+ if (protectedDeviceIds.length > 0) throw new Error(`Refusing to delete the current Matrix device: ${protectedDeviceIds[0]}`);
1851
+ const deleteWithAuth = async (authData) => {
1852
+ await this.client.deleteMultipleDevices(uniqueDeviceIds, authData);
1853
+ };
1854
+ if (uniqueDeviceIds.length > 0) try {
1855
+ await deleteWithAuth();
1856
+ } catch (err) {
1857
+ const session = err && typeof err === "object" && "data" in err && err.data && typeof err.data === "object" && "session" in err.data && typeof err.data.session === "string" ? err.data.session : null;
1858
+ const userId = await this.getUserId().catch(() => this.selfUserId);
1859
+ if (!session || !userId || !this.password?.trim()) throw err;
1860
+ await deleteWithAuth({
1861
+ type: "m.login.password",
1862
+ session,
1863
+ identifier: {
1864
+ type: "m.id.user",
1865
+ user: userId
1866
+ },
1867
+ password: this.password
1868
+ });
1869
+ }
1870
+ return {
1871
+ currentDeviceId,
1872
+ deletedDeviceIds: uniqueDeviceIds,
1873
+ remainingDevices: await this.listOwnDevices()
1874
+ };
1875
+ }
1876
+ registerBridge() {
1877
+ const decryptBridge = this.decryptBridge;
1878
+ if (this.bridgeRegistered || !decryptBridge) return;
1879
+ this.bridgeRegistered = true;
1880
+ registerMatrixClientBridge({
1881
+ client: this.client,
1882
+ decryptBridge,
1883
+ emitter: this.emitter,
1884
+ emitMembershipForRoom: (room) => this.emitMembershipForRoom(room),
1885
+ getSelfUserId: () => this.client.getUserId() ?? this.selfUserId ?? "",
1886
+ setCurrentSyncState: (state, error) => {
1887
+ this.currentSyncState = state;
1888
+ this.currentSyncError = error;
1889
+ }
1890
+ });
1891
+ }
1892
+ emitMembershipForRoom(room) {
1893
+ emitMatrixMembershipForRoom({
1894
+ emitter: this.emitter,
1895
+ room,
1896
+ selfUserId: this.client.getUserId() ?? this.selfUserId ?? ""
1897
+ });
1898
+ }
1899
+ emitOutstandingInviteEvents() {
1900
+ for (const room of this.client.getRooms()) this.emitMembershipForRoom(room);
1901
+ }
1902
+ async refreshDmCache() {
1903
+ return refreshMatrixDmRoomIds(await this.getAccountData("m.direct"), this.dmRoomIds);
1904
+ }
1905
+ };
1906
+ //#endregion
1907
+ export { ConsoleLogger, LogService, MatrixClient, isRepairableSecretStorageAccessError as n, sdk_exports as t };