@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
@@ -1,1949 +0,0 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.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-fHN6Df2m.mjs";
4
- import { r as withoutMatrixSendCurrentness, t as captureMatrixSendCurrentness } from "./send-currentness-BrGXL7b8.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 { a as createMatrixStartupAbortError, i as awaitMatrixStartupWithAbort, s as throwIfMatrixStartupAborted } from "./client-ChrXpxos.mjs";
8
- import { n as createMatrixGuardedFetch, t as MatrixAuthedHttpClient } from "./http-client-Bi6uKmzh.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-xBjiRIp1.mjs";
11
- import { t as createMatrixJsSdkClientLogger } from "./logging-rgm8ep9H.mjs";
12
- import { t as MATRIX_IDB_PERSIST_INTERVAL_MS } from "./idb-persistence-lock-B3fZXyF_.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.3.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 settleResolve = () => {
233
- if (settled) return;
234
- settled = true;
235
- cleanup();
236
- resolve();
237
- };
238
- const settleReject = (error) => {
239
- if (settled) return;
240
- settled = true;
241
- cleanup();
242
- reject(error);
243
- };
244
- const onSyncState = (state, _prevState, error) => {
245
- if (isMatrixReadySyncState(state)) {
246
- settleResolve();
247
- return;
248
- }
249
- if (isMatrixAccessTokenInvalidatedError(error)) {
250
- settleReject(error instanceof Error ? error : /* @__PURE__ */ new Error("Matrix access token invalidated"));
251
- return;
252
- }
253
- if (isMatrixTerminalSyncState(state)) settleReject(new Error(error instanceof Error && error.message ? error.message : `Matrix sync entered ${state} during startup`));
254
- };
255
- const onUnexpectedError = (error) => {
256
- settleReject(error);
257
- };
258
- const onAbort = () => {
259
- settleReject(createMatrixStartupAbortError());
260
- };
261
- params.emitter.on("sync.state", onSyncState);
262
- params.emitter.on("sync.unexpected_error", onUnexpectedError);
263
- if (abortSignal?.aborted) {
264
- onAbort();
265
- return;
266
- }
267
- abortSignal?.addEventListener("abort", onAbort, { once: true });
268
- timeoutId = setTimeout(() => {
269
- settleReject(/* @__PURE__ */ new Error(`Matrix client did not reach a ready sync state within ${timeoutMs}ms`));
270
- }, timeoutMs);
271
- timeoutId.unref?.();
272
- });
273
- }
274
- //#endregion
275
- //#region extensions/matrix/src/matrix/sdk/message-wire-dispatch.ts
276
- function resolveMessageWireDispatch(resource, init) {
277
- if ((init?.method ?? (resource instanceof Request ? resource.method : "GET")).toUpperCase() !== "PUT") return null;
278
- const rawUrl = typeof resource === "string" ? resource : resource instanceof URL ? resource.href : resource.url;
279
- const segments = new URL(rawUrl).pathname.split("/").filter(Boolean);
280
- const roomsIndex = segments.lastIndexOf("rooms");
281
- if (roomsIndex < 0 || segments[roomsIndex + 2] !== "send" || segments.length !== roomsIndex + 5) return null;
282
- const eventType = decodeURIComponent(segments[roomsIndex + 3] ?? "");
283
- if (eventType !== "m.room.message" && eventType !== "m.room.encrypted") return null;
284
- return {
285
- roomId: decodeURIComponent(segments[roomsIndex + 1] ?? ""),
286
- eventType,
287
- transactionId: decodeURIComponent(segments[roomsIndex + 4] ?? ""),
288
- requestPath: new URL(rawUrl).pathname
289
- };
290
- }
291
- var MatrixMessageWireDispatchGuards = class {
292
- constructor() {
293
- this.guards = /* @__PURE__ */ new Map();
294
- }
295
- captureCurrentness(resource, init, fallback) {
296
- const dispatch = resolveMessageWireDispatch(resource, init);
297
- const entry = dispatch ? this.guards.get(dispatch.transactionId) : void 0;
298
- if (!entry) return fallback;
299
- const assertCurrent = entry.assertCurrent;
300
- return assertCurrent ? () => {
301
- try {
302
- assertCurrent();
303
- } catch (error) {
304
- entry.currentnessRejected = true;
305
- throw error;
306
- }
307
- } : void 0;
308
- }
309
- wasCurrentnessRejected(transactionId) {
310
- return transactionId !== void 0 && this.guards.get(transactionId)?.currentnessRejected === true;
311
- }
312
- beforeRequest(resource, init) {
313
- const dispatch = resolveMessageWireDispatch(resource, init);
314
- return dispatch ? Promise.resolve(this.guards.get(dispatch.transactionId)?.guard?.(dispatch)) : void 0;
315
- }
316
- async run(params) {
317
- if (!params.transactionId || !params.guard && !params.assertCurrent) return await params.run();
318
- if (this.guards.has(params.transactionId)) throw new Error(`Matrix transaction ${params.transactionId} already has a dispatch guard`);
319
- this.guards.set(params.transactionId, {
320
- guard: params.guard,
321
- assertCurrent: params.assertCurrent
322
- });
323
- try {
324
- return await params.run();
325
- } finally {
326
- this.guards.delete(params.transactionId);
327
- }
328
- }
329
- };
330
- //#endregion
331
- //#region extensions/matrix/src/matrix/sdk/recovery-key-store.ts
332
- function isRepairableSecretStorageAccessError(err) {
333
- const message = formatMatrixErrorReason(err);
334
- if (!message) return false;
335
- if (message.includes("getsecretstoragekey callback returned falsey")) return true;
336
- if (message.includes("decrypting secret") && message.includes("bad mac")) return true;
337
- return false;
338
- }
339
- var MatrixRecoveryKeyStore = class {
340
- constructor(recoveryKeyPath, stateRuntime) {
341
- this.secretStorageKeyCache = /* @__PURE__ */ new Map();
342
- this.stagedRecoveryKey = null;
343
- this.stagedRecoveryKeyUsed = false;
344
- this.stagedCacheKeyIds = /* @__PURE__ */ new Set();
345
- this.pendingPersistence = Promise.resolve();
346
- this.closed = false;
347
- this.recoveryKeyPath = recoveryKeyPath;
348
- this.storageRootDir = recoveryKeyPath ? path.dirname(recoveryKeyPath) : void 0;
349
- if (recoveryKeyPath) {
350
- this.stateRuntime = stateRuntime ?? getMatrixRuntime().state;
351
- const runtime = this.stateRuntime;
352
- this.enqueuePersistence(async () => {
353
- try {
354
- await migrateLegacyMatrixRecoveryKeyFilePathToStoreAsync(recoveryKeyPath, runtime);
355
- } catch (err) {
356
- this.legacyRecoveryKeyPathOnMigrationFailure = recoveryKeyPath;
357
- LogService.warn("MatrixClientLite", "Failed to migrate Matrix recovery key state:", err);
358
- }
359
- });
360
- }
361
- }
362
- enqueuePersistence(run) {
363
- if (this.closed) return Promise.reject(/* @__PURE__ */ new Error("Matrix recovery key store is closed"));
364
- const pending = this.pendingPersistence.then(run);
365
- this.pendingPersistence = pending.then(() => {}, () => {});
366
- return pending;
367
- }
368
- async afterPersistence(read) {
369
- for (;;) {
370
- const pending = this.pendingPersistence;
371
- await pending;
372
- if (pending === this.pendingPersistence) return read();
373
- }
374
- }
375
- async drainPendingPersistence() {
376
- await this.afterPersistence(() => {});
377
- }
378
- async close() {
379
- this.closed = true;
380
- await this.drainPendingPersistence();
381
- }
382
- buildCryptoCallbacks() {
383
- const getSecretStorageKey = ({ keys }) => this.afterPersistence(async () => {
384
- if (this.closed) return null;
385
- const requestedKeyIds = Object.keys(keys ?? {});
386
- if (requestedKeyIds.length === 0) return null;
387
- const staged = this.resolveStagedSecretStorageKey(requestedKeyIds);
388
- if (staged) return staged;
389
- for (const keyId of requestedKeyIds) {
390
- const cached = this.secretStorageKeyCache.get(keyId);
391
- if (cached) return [keyId, new Uint8Array(cached.key)];
392
- }
393
- const pending = this.pendingPersistence;
394
- const stored = await this.loadStoredRecoveryKey();
395
- if (this.closed) return null;
396
- if (pending !== this.pendingPersistence) return getSecretStorageKey({ keys });
397
- if (!stored?.privateKeyBase64) return null;
398
- const privateKey = new Uint8Array(Buffer.from(stored.privateKeyBase64, "base64"));
399
- if (privateKey.length === 0) return null;
400
- if (stored.keyId && requestedKeyIds.includes(stored.keyId)) {
401
- this.rememberSecretStorageKey(stored.keyId, privateKey, stored.keyInfo);
402
- return [stored.keyId, privateKey];
403
- }
404
- const firstRequestedKeyId = requestedKeyIds[0];
405
- if (!firstRequestedKeyId) return null;
406
- this.rememberSecretStorageKey(firstRequestedKeyId, privateKey, stored.keyInfo);
407
- return [firstRequestedKeyId, privateKey];
408
- });
409
- return {
410
- getSecretStorageKey,
411
- cacheSecretStorageKey: (keyId, keyInfo, key) => {
412
- if (this.closed) return;
413
- const privateKey = new Uint8Array(key);
414
- const normalizedKeyInfo = {
415
- passphrase: keyInfo?.passphrase,
416
- name: typeof keyInfo?.name === "string" ? keyInfo.name : void 0
417
- };
418
- this.rememberSecretStorageKey(keyId, privateKey, normalizedKeyInfo);
419
- this.saveRecoveryKeyToDisk({
420
- keyId,
421
- keyInfo: normalizedKeyInfo,
422
- privateKey
423
- }, true);
424
- }
425
- };
426
- }
427
- async getRecoveryKeySummary() {
428
- const stored = await this.afterPersistence(() => this.loadStoredRecoveryKey());
429
- if (!stored) return null;
430
- return {
431
- encodedPrivateKey: stored.encodedPrivateKey,
432
- keyId: stored.keyId,
433
- createdAt: stored.createdAt
434
- };
435
- }
436
- getSecretStorageKeyCandidate(keyId) {
437
- return this.afterPersistence(async () => {
438
- if (this.closed) return null;
439
- const normalizedKeyId = keyId.trim();
440
- if (!normalizedKeyId) return null;
441
- const staged = this.resolveStagedSecretStorageKey([normalizedKeyId]);
442
- if (staged) return staged[1];
443
- const pending = this.pendingPersistence;
444
- const stored = await this.loadStoredRecoveryKey();
445
- if (this.closed) return null;
446
- if (pending !== this.pendingPersistence) return this.getSecretStorageKeyCandidate(keyId);
447
- if (!stored?.privateKeyBase64) return null;
448
- const privateKey = new Uint8Array(Buffer.from(stored.privateKeyBase64, "base64"));
449
- if (privateKey.length === 0) return null;
450
- this.rememberSecretStorageKey(normalizedKeyId, privateKey, stored.keyInfo);
451
- return privateKey;
452
- });
453
- }
454
- resolveEncodedRecoveryKeyInput(params) {
455
- const encodedPrivateKey = params.encodedPrivateKey.trim();
456
- if (!encodedPrivateKey) throw new Error("Matrix recovery key is required");
457
- let privateKey;
458
- try {
459
- privateKey = decodeRecoveryKey(encodedPrivateKey);
460
- } catch (err) {
461
- throw new Error(`Invalid Matrix recovery key: ${formatErrorMessage(err)}`, { cause: err });
462
- }
463
- const keyId = typeof params.keyId === "string" && params.keyId.trim() ? params.keyId.trim() : null;
464
- return {
465
- encodedPrivateKey,
466
- privateKey,
467
- keyId,
468
- keyInfo: params.keyInfo
469
- };
470
- }
471
- stageEncodedRecoveryKey(params) {
472
- const prepared = this.resolveEncodedRecoveryKeyInput(params);
473
- return this.enqueuePersistence(async () => {
474
- const keyInfo = prepared.keyInfo ?? (await this.loadStoredRecoveryKey())?.keyInfo;
475
- this.clearStagedCache();
476
- this.stagedRecoveryKey = {
477
- version: 1,
478
- createdAt: (/* @__PURE__ */ new Date()).toISOString(),
479
- keyId: prepared.keyId,
480
- encodedPrivateKey: prepared.encodedPrivateKey,
481
- privateKeyBase64: Buffer.from(prepared.privateKey).toString("base64"),
482
- keyInfo
483
- };
484
- });
485
- }
486
- hasStagedRecoveryKeyBeenUsed() {
487
- return this.stagedRecoveryKeyUsed;
488
- }
489
- async commitStagedRecoveryKey(params) {
490
- await this.enqueuePersistence(async () => {
491
- if (!this.stagedRecoveryKey) return;
492
- const staged = this.stagedRecoveryKey;
493
- const privateKey = new Uint8Array(Buffer.from(staged.privateKeyBase64, "base64"));
494
- const keyId = typeof params?.keyId === "string" && params.keyId.trim() ? params.keyId.trim() : staged.keyId;
495
- await this.persistRecoveryKey({
496
- keyId,
497
- keyInfo: params?.keyInfo ?? staged.keyInfo,
498
- privateKey,
499
- encodedPrivateKey: staged.encodedPrivateKey
500
- });
501
- this.clearStagedRecoveryKeyTracking();
502
- });
503
- return this.getRecoveryKeySummary();
504
- }
505
- discardStagedRecoveryKey() {
506
- return this.enqueuePersistence(async () => this.clearStagedCache());
507
- }
508
- clearStagedCache() {
509
- for (const keyId of this.stagedCacheKeyIds) this.secretStorageKeyCache.delete(keyId);
510
- this.clearStagedRecoveryKeyTracking();
511
- }
512
- async bootstrapSecretStorageWithRecoveryKey(crypto, options = {}) {
513
- await this.drainPendingPersistence();
514
- let status = null;
515
- const getSecretStorageStatus = crypto.getSecretStorageStatus;
516
- if (typeof getSecretStorageStatus === "function") try {
517
- status = await getSecretStorageStatus.call(crypto);
518
- } catch (err) {
519
- LogService.warn("MatrixClientLite", "Failed to read secret storage status:", err);
520
- }
521
- const hasDefaultSecretStorageKey = Boolean(status?.defaultKeyId);
522
- const hasKnownInvalidSecrets = Object.values(status?.secretStorageKeyValidityMap ?? {}).some((valid) => !valid);
523
- let generatedRecoveryKey = false;
524
- const storedRecovery = await this.afterPersistence(() => this.loadStoredRecoveryKey());
525
- const stagedRecovery = this.stagedRecoveryKey;
526
- const sourceRecovery = options.forceNewRecoveryKey === true ? null : stagedRecovery ?? storedRecovery;
527
- let recoveryKey = sourceRecovery ? {
528
- keyInfo: sourceRecovery.keyInfo,
529
- privateKey: new Uint8Array(Buffer.from(sourceRecovery.privateKeyBase64, "base64")),
530
- encodedPrivateKey: sourceRecovery.encodedPrivateKey
531
- } : null;
532
- if (recoveryKey && status?.defaultKeyId) {
533
- const defaultKeyId = status.defaultKeyId;
534
- if (!stagedRecovery) {
535
- this.rememberSecretStorageKey(defaultKeyId, recoveryKey.privateKey, recoveryKey.keyInfo);
536
- if (storedRecovery && storedRecovery.keyId !== defaultKeyId) await this.saveRecoveryKeyToDisk({
537
- keyId: defaultKeyId,
538
- keyInfo: recoveryKey.keyInfo,
539
- privateKey: recoveryKey.privateKey,
540
- encodedPrivateKey: recoveryKey.encodedPrivateKey
541
- });
542
- }
543
- }
544
- const ensureRecoveryKey = async () => {
545
- if (recoveryKey) {
546
- if (stagedRecovery) this.stagedRecoveryKeyUsed = true;
547
- return recoveryKey;
548
- }
549
- if (typeof crypto.createRecoveryKeyFromPassphrase !== "function") throw new Error("Matrix crypto backend does not support recovery key generation (createRecoveryKeyFromPassphrase missing)");
550
- recoveryKey = await crypto.createRecoveryKeyFromPassphrase();
551
- await this.saveRecoveryKeyToDisk(recoveryKey);
552
- generatedRecoveryKey = true;
553
- return recoveryKey;
554
- };
555
- const shouldRecreateSecretStorage = options.forceNewSecretStorage === true || !hasDefaultSecretStorageKey || !recoveryKey && status?.ready === false || hasKnownInvalidSecrets;
556
- if (hasKnownInvalidSecrets) recoveryKey = null;
557
- const secretStorageOptions = { setupNewKeyBackup: options.setupNewKeyBackup === true };
558
- if (shouldRecreateSecretStorage) {
559
- secretStorageOptions.setupNewSecretStorage = true;
560
- secretStorageOptions.createSecretStorageKey = ensureRecoveryKey;
561
- }
562
- try {
563
- try {
564
- await crypto.bootstrapSecretStorage(secretStorageOptions);
565
- } finally {
566
- await this.drainPendingPersistence();
567
- }
568
- } catch (err) {
569
- if (!(options.allowSecretStorageRecreateWithoutRecoveryKey === true && hasDefaultSecretStorageKey && isRepairableSecretStorageAccessError(err))) throw err;
570
- recoveryKey = null;
571
- LogService.warn("MatrixClientLite", "Secret storage exists on the server but local recovery material cannot unlock it; recreating secret storage during explicit bootstrap.");
572
- try {
573
- await crypto.bootstrapSecretStorage({
574
- setupNewSecretStorage: true,
575
- setupNewKeyBackup: options.setupNewKeyBackup === true,
576
- createSecretStorageKey: ensureRecoveryKey
577
- });
578
- } finally {
579
- await this.drainPendingPersistence();
580
- }
581
- }
582
- if (generatedRecoveryKey && this.storageRootDir) LogService.warn("MatrixClientLite", "Generated Matrix recovery key and saved it to Matrix SQLite state. Keep the displayed recovery key secure.");
583
- }
584
- clearStagedRecoveryKeyTracking() {
585
- this.stagedRecoveryKey = null;
586
- this.stagedRecoveryKeyUsed = false;
587
- this.stagedCacheKeyIds.clear();
588
- }
589
- resolveStagedSecretStorageKey(requestedKeyIds) {
590
- const staged = this.stagedRecoveryKey;
591
- if (!staged?.privateKeyBase64) return null;
592
- const privateKey = new Uint8Array(Buffer.from(staged.privateKeyBase64, "base64"));
593
- if (privateKey.length === 0) return null;
594
- const keyId = staged.keyId && requestedKeyIds.includes(staged.keyId) ? staged.keyId : requestedKeyIds[0];
595
- if (!keyId) return null;
596
- this.rememberStagedSecretStorageKey(keyId, privateKey, staged.keyInfo);
597
- this.stagedCacheKeyIds.add(keyId);
598
- return [keyId, privateKey];
599
- }
600
- rememberStagedSecretStorageKey(keyId, key, keyInfo) {
601
- this.stagedRecoveryKeyUsed = true;
602
- this.rememberSecretStorageKey(keyId, key, keyInfo);
603
- }
604
- rememberSecretStorageKey(keyId, key, keyInfo) {
605
- if (!keyId.trim()) return;
606
- this.secretStorageKeyCache.set(keyId, {
607
- key: new Uint8Array(key),
608
- keyInfo
609
- });
610
- }
611
- async loadStoredRecoveryKey() {
612
- if (!this.recoveryKeyPath || !this.stateRuntime) return null;
613
- try {
614
- const stored = await readMatrixRecoveryKeyStateForPathAsync(this.recoveryKeyPath, this.stateRuntime);
615
- if (stored) return stored;
616
- } catch {}
617
- if (this.legacyRecoveryKeyPathOnMigrationFailure) return readLegacyMatrixRecoveryKeyFile(this.legacyRecoveryKeyPathOnMigrationFailure);
618
- return null;
619
- }
620
- saveRecoveryKeyToDisk(params, preserveEncodedPrivateKey = false) {
621
- return this.enqueuePersistence(() => this.persistRecoveryKey(params, preserveEncodedPrivateKey));
622
- }
623
- async persistRecoveryKey(params, preserveEncodedPrivateKey = false) {
624
- if (!this.recoveryKeyPath || !this.stateRuntime) return;
625
- try {
626
- const payload = {
627
- version: 1,
628
- createdAt: (/* @__PURE__ */ new Date()).toISOString(),
629
- keyId: typeof params.keyId === "string" ? params.keyId : null,
630
- encodedPrivateKey: params.encodedPrivateKey,
631
- privateKeyBase64: Buffer.from(params.privateKey).toString("base64"),
632
- keyInfo: params.keyInfo ? {
633
- passphrase: params.keyInfo.passphrase,
634
- name: params.keyInfo.name
635
- } : void 0
636
- };
637
- await writeMatrixRecoveryKeyStateForPathAsync({
638
- recoveryKeyPath: this.recoveryKeyPath,
639
- payload,
640
- stateRuntime: this.stateRuntime,
641
- preserveEncodedPrivateKey
642
- });
643
- } catch (err) {
644
- LogService.warn("MatrixClientLite", "Failed to persist recovery key:", err);
645
- }
646
- }
647
- };
648
- //#endregion
649
- //#region extensions/matrix/src/matrix/sdk/send-scheduler.ts
650
- /** Keep SDK FIFO/backoff while settling a caller's pre-request rejection only for its event. */
651
- var MatrixSendScheduler = class extends MatrixScheduler {
652
- constructor(wasCurrentnessRejected) {
653
- super();
654
- this.wasCurrentnessRejected = wasCurrentnessRejected;
655
- this.queue = new MatrixScheduler();
656
- }
657
- setProcessFunction(processEvent) {
658
- this.queue.setProcessFunction(async (event) => {
659
- try {
660
- return {
661
- kind: "sent",
662
- result: await withoutMatrixSendCurrentness(() => processEvent(event))
663
- };
664
- } catch (error) {
665
- if (!this.wasCurrentnessRejected(event)) throw error;
666
- return {
667
- kind: "rejected",
668
- error
669
- };
670
- }
671
- });
672
- }
673
- queueEvent(event) {
674
- const queued = this.queue.queueEvent(event);
675
- return queued ? queued.then((outcome) => {
676
- if (outcome.kind === "rejected") throw outcome.error;
677
- return outcome.result;
678
- }) : null;
679
- }
680
- getQueueForEvent(event) {
681
- return this.queue.getQueueForEvent(event);
682
- }
683
- removeEventFromQueue(event) {
684
- return this.queue.removeEventFromQueue(event);
685
- }
686
- };
687
- //#endregion
688
- //#region extensions/matrix/src/matrix/sdk/client-base.ts
689
- const MATRIX_ENCRYPTED_STARTUP_TIMEOUT_MS = 6e4;
690
- let loadedMatrixCryptoRuntime = null;
691
- const loadMatrixCryptoRuntime = createLazyRuntimeModule(() => import("./crypto-runtime-D9qn_Pbj.mjs").then((runtime) => {
692
- loadedMatrixCryptoRuntime = runtime;
693
- return runtime;
694
- }));
695
- var MatrixClientBase = class {
696
- withClientCryptoWork(run, requestSignal) {
697
- this.assertClientActive();
698
- return withoutMatrixSendCurrentness(() => this.cryptoRequestOwner.run({
699
- callerAuthority: captureChannelReadAuthority(),
700
- requestSignal
701
- }, run));
702
- }
703
- constructor(homeserver, accessToken, opts = {}) {
704
- this.emitter = new EventEmitter();
705
- this.bridgeRegistered = false;
706
- this.started = false;
707
- this.cryptoBootstrapped = false;
708
- this.dmRoomIds = /* @__PURE__ */ new Set();
709
- this.cryptoInitialized = false;
710
- this.sendQueue = new KeyedAsyncQueue();
711
- this.syncQuiescePromise = null;
712
- this.stopPersistPromise = null;
713
- this.verificationSummaryListenerBound = false;
714
- this.currentSyncState = null;
715
- this.currentSyncError = void 0;
716
- this.transactionScopeId = null;
717
- this.transactionScopePromise = null;
718
- this.messageWireDispatchGuards = new MatrixMessageWireDispatchGuards();
719
- this.requestAbortController = new AbortController();
720
- this.cryptoRequestOwner = new AsyncLocalStorage();
721
- this.startupPromise = null;
722
- this.cryptoInitializationPromise = null;
723
- this.sdkStopped = false;
724
- this.stopDiscardPromise = null;
725
- this.idbPersistPromise = null;
726
- this.idbPersistAbortController = null;
727
- this.assertClientActive = () => {
728
- this.requestAbortController.signal.throwIfAborted();
729
- };
730
- this.captureRequestAuthority = () => {
731
- const readAuthority = captureChannelReadAuthority();
732
- const cryptoOwner = this.cryptoRequestOwner.getStore();
733
- return cryptoOwner && cryptoOwner.callerAuthority === readAuthority ? this.assertClientActive : readAuthority;
734
- };
735
- this.dms = {
736
- update: async () => {
737
- return await this.refreshDmCache();
738
- },
739
- isDm: (roomId) => this.dmRoomIds.has(roomId)
740
- };
741
- this.idbPersistTimer = null;
742
- this.transactionScopeHomeserver = homeserver;
743
- this.transactionScopeAccessTokenHash = createHash("sha256").update(accessToken).digest("hex");
744
- this.transactionScopeDeviceId = opts.deviceId?.trim() || null;
745
- this.httpClient = new MatrixAuthedHttpClient({
746
- homeserver,
747
- accessToken,
748
- ssrfPolicy: opts.ssrfPolicy,
749
- dispatcherPolicy: opts.dispatcherPolicy,
750
- captureRequestAuthority: this.captureRequestAuthority,
751
- captureSendCurrentness: () => captureMatrixSendCurrentness(this),
752
- signal: this.requestAbortController.signal
753
- });
754
- this.localTimeoutMs = resolveMatrixLocalTimeoutMs(opts.localTimeoutMs);
755
- this.initialSyncLimit = opts.initialSyncLimit;
756
- this.syncFilter = opts.syncFilter;
757
- this.encryptionEnabled = opts.encryption === true;
758
- const { password: loginPassword } = opts;
759
- this.password = loginPassword;
760
- this.syncStore = opts.syncStore;
761
- this.idbSnapshotPath = opts.idbSnapshotPath;
762
- this.cryptoDatabasePrefix = opts.cryptoDatabasePrefix;
763
- this.stateRuntime = opts.stateRuntime;
764
- this.selfUserId = opts.userId?.trim() || null;
765
- this.autoBootstrapCrypto = opts.autoBootstrapCrypto !== false;
766
- this.recoveryKeyStore = new MatrixRecoveryKeyStore(opts.recoveryKeyPath, opts.stateRuntime);
767
- const cryptoCallbacks = this.encryptionEnabled ? this.recoveryKeyStore.buildCryptoCallbacks() : void 0;
768
- const guardedFetch = createMatrixGuardedFetch({
769
- captureRequestSignal: () => this.cryptoRequestOwner.getStore()?.requestSignal,
770
- ssrfPolicy: opts.ssrfPolicy,
771
- dispatcherPolicy: opts.dispatcherPolicy,
772
- captureRequestAuthority: this.captureRequestAuthority,
773
- captureSendCurrentness: (resource, init) => this.messageWireDispatchGuards.captureCurrentness(resource, init, captureMatrixSendCurrentness(this)),
774
- signal: this.requestAbortController.signal,
775
- beforeRequest: async (resource, init) => {
776
- await this.recoveryKeyStore.drainPendingPersistence();
777
- await this.messageWireDispatchGuards.beforeRequest(resource, init);
778
- }
779
- });
780
- this.client = createClient({
781
- baseUrl: homeserver,
782
- accessToken,
783
- userId: opts.userId,
784
- deviceId: opts.deviceId,
785
- logger: createMatrixJsSdkClientLogger("MatrixClient"),
786
- localTimeoutMs: this.localTimeoutMs,
787
- fetchFn: guardedFetch,
788
- scheduler: new MatrixSendScheduler((event) => this.messageWireDispatchGuards.wasCurrentnessRejected(event.getTxnId())),
789
- store: this.syncStore,
790
- cryptoCallbacks,
791
- verificationMethods: [
792
- VerificationMethod.Sas,
793
- VerificationMethod.ShowQrCode,
794
- VerificationMethod.ScanQrCode,
795
- VerificationMethod.Reciprocate
796
- ]
797
- });
798
- const decryptEventIfNeeded = this.client.decryptEventIfNeeded.bind(this.client);
799
- this.client.decryptEventIfNeeded = (event, options) => {
800
- this.captureRequestAuthority()?.();
801
- return this.withClientCryptoWork(() => decryptEventIfNeeded(event, options));
802
- };
803
- }
804
- on(eventName, listener) {
805
- this.emitter.on(eventName, listener);
806
- return this;
807
- }
808
- off(eventName, listener) {
809
- this.emitter.off(eventName, listener);
810
- return this;
811
- }
812
- async ensureCryptoSupportInitialized() {
813
- if (this.decryptBridge && (!this.encryptionEnabled || this.verificationManager && this.cryptoBootstrapper && this.crypto)) return;
814
- const runtime = await loadMatrixCryptoRuntime();
815
- this.decryptBridge ??= new runtime.MatrixDecryptBridge({
816
- client: this.client,
817
- toRaw: (event) => matrixEventToRaw(event, { contentMode: "original" }),
818
- emitDecryptedEvent: (roomId, event) => {
819
- this.emitter.emit("room.decrypted_event", roomId, event);
820
- },
821
- emitMessage: (roomId, event) => {
822
- this.emitter.emit("room.message", roomId, event);
823
- },
824
- emitFailedDecryption: (roomId, event, error) => {
825
- this.emitter.emit("room.failed_decryption", roomId, event, error);
826
- }
827
- });
828
- if (!this.encryptionEnabled) return;
829
- this.verificationManager ??= new runtime.MatrixVerificationManager({ trustOwnDeviceAfterSas: async (deviceId) => {
830
- const crypto = this.client.getCrypto();
831
- if (typeof crypto?.crossSignDevice !== "function") return;
832
- await crypto.crossSignDevice(deviceId);
833
- } });
834
- this.cryptoBootstrapper ??= new runtime.MatrixCryptoBootstrapper({
835
- getUserId: () => this.getUserId(),
836
- getPassword: () => this.password,
837
- canUnlockSecretStorage: async () => {
838
- const secretStorage = this.client.secretStorage;
839
- if (!secretStorage || typeof secretStorage.getDefaultKeyId !== "function" || typeof secretStorage.getKey !== "function" || typeof secretStorage.checkKey !== "function") return false;
840
- const defaultKeyId = await secretStorage.getDefaultKeyId();
841
- if (!defaultKeyId) return false;
842
- const keyTuple = await secretStorage.getKey(defaultKeyId);
843
- const key = await this.recoveryKeyStore.getSecretStorageKeyCandidate(defaultKeyId);
844
- if (!keyTuple || !key) return false;
845
- const keyInfo = keyTuple[1];
846
- if (!keyInfo.iv?.trim() || !keyInfo.mac?.trim()) return false;
847
- return await secretStorage.checkKey(key, keyInfo);
848
- },
849
- getDeviceId: () => this.client.getDeviceId(),
850
- verificationManager: this.verificationManager,
851
- recoveryKeyStore: this.recoveryKeyStore,
852
- decryptBridge: this.decryptBridge
853
- });
854
- if (!this.crypto) this.crypto = runtime.createMatrixCryptoFacade({
855
- client: this.client,
856
- verificationManager: this.verificationManager,
857
- recoveryKeyStore: this.recoveryKeyStore,
858
- isRoomEncrypted: async (roomId) => await this.getMessageWireEventType(roomId) === "m.room.encrypted",
859
- downloadContent: (mxcUrl, opts) => this.downloadContent(mxcUrl, opts)
860
- });
861
- if (!this.verificationSummaryListenerBound) {
862
- this.verificationSummaryListenerBound = true;
863
- this.verificationManager.onSummaryChanged((summary) => {
864
- this.emitter.emit("verification.summary", summary);
865
- });
866
- }
867
- }
868
- async start(opts = {}) {
869
- await this.startSyncSession({
870
- bootstrapCrypto: true,
871
- abortSignal: opts.abortSignal,
872
- readyTimeoutMs: opts.readyTimeoutMs
873
- });
874
- }
875
- async waitForInitialSyncReady(params = {}) {
876
- await waitForMatrixInitialSyncReady({
877
- ...params,
878
- emitter: this.emitter,
879
- state: this.currentSyncState,
880
- error: this.currentSyncError
881
- });
882
- }
883
- async startSyncSession(opts) {
884
- if (this.started) return;
885
- if (this.sdkStopped) throw new Error("Matrix client has been fully stopped and cannot be restarted; acquire a new shared client generation");
886
- const assertCurrent = this.captureRequestAuthority();
887
- assertCurrent?.();
888
- this.assertClientActive();
889
- if (this.startupPromise) {
890
- await awaitMatrixStartupWithAbort(this.startupPromise, opts.abortSignal);
891
- return;
892
- }
893
- const deadline = new AbortController();
894
- const signal = AbortSignal.any([
895
- this.requestAbortController.signal,
896
- deadline.signal,
897
- ...opts.abortSignal ? [opts.abortSignal] : []
898
- ]);
899
- const timeout = this.encryptionEnabled ? setTimeout(() => deadline.abort(), opts.readyTimeoutMs ?? MATRIX_ENCRYPTED_STARTUP_TIMEOUT_MS) : void 0;
900
- timeout?.unref?.();
901
- const checkActive = () => {
902
- throwIfMatrixStartupAborted(signal);
903
- assertCurrent?.();
904
- this.assertClientActive();
905
- };
906
- const startup = (async () => {
907
- throwIfMatrixStartupAborted(signal);
908
- await this.ensureCryptoSupportInitialized();
909
- checkActive();
910
- throwIfMatrixStartupAborted(signal);
911
- this.registerBridge();
912
- await this.withClientCryptoWork(() => this.initializeCryptoIfNeeded(signal), signal);
913
- checkActive();
914
- throwIfMatrixStartupAborted(signal);
915
- await this.withClientCryptoWork(() => this.client.startClient({
916
- initialSyncLimit: this.initialSyncLimit,
917
- ...this.syncFilter ? { filter: Filter.fromJson(this.selfUserId, "", this.syncFilter) } : {}
918
- }));
919
- await this.waitForInitialSyncReady({
920
- abortSignal: signal,
921
- timeoutMs: opts.readyTimeoutMs
922
- });
923
- checkActive();
924
- throwIfMatrixStartupAborted(signal);
925
- if (this.encryptionEnabled && this.cryptoInitialized) {
926
- const { reconcileJoinedRoomEncryption } = await import("./joined-room-encryption-BCtxQ3hR.mjs");
927
- checkActive();
928
- await this.withClientCryptoWork(() => reconcileJoinedRoomEncryption(this.client, signal, checkActive), signal);
929
- checkActive();
930
- }
931
- clearTimeout(timeout);
932
- if (opts.bootstrapCrypto && this.autoBootstrapCrypto) await this.bootstrapCryptoIfNeeded(signal);
933
- throwIfMatrixStartupAborted(signal);
934
- this.started = true;
935
- this.emitOutstandingInviteEvents();
936
- await this.refreshDmCache().catch(noop);
937
- })();
938
- this.startupPromise = startup;
939
- startup.finally(() => {
940
- clearTimeout(timeout);
941
- if (this.startupPromise === startup) this.startupPromise = null;
942
- }).catch(noop);
943
- await awaitMatrixStartupWithAbort(startup, signal);
944
- }
945
- async prepareForOneOff() {
946
- const assertCurrent = this.captureRequestAuthority();
947
- assertCurrent?.();
948
- this.assertClientActive();
949
- if (!this.encryptionEnabled) return;
950
- await this.ensureCryptoSupportInitialized();
951
- assertCurrent?.();
952
- await this.withClientCryptoWork(() => this.initializeCryptoIfNeeded());
953
- assertCurrent?.();
954
- }
955
- hasPersistedSyncState() {
956
- return this.syncStore?.hasSavedSyncFromCleanShutdown() === true;
957
- }
958
- async ensureStartedForCryptoControlPlane() {
959
- if (this.started) return;
960
- await this.startSyncSession({ bootstrapCrypto: false });
961
- }
962
- stopSdkClient() {
963
- if (this.sdkStopped) return;
964
- this.currentSyncState = null;
965
- this.currentSyncError = void 0;
966
- this.sdkStopped = true;
967
- this.client.stopClient();
968
- this.started = false;
969
- }
970
- async quiesceSync() {
971
- this.syncQuiescePromise ??= quiesceMatrixClientSync({
972
- client: this.client,
973
- emitter: this.emitter,
974
- markStopped: () => {
975
- this.started = false;
976
- },
977
- started: this.started,
978
- syncStore: this.syncStore
979
- });
980
- await this.syncQuiescePromise;
981
- }
982
- async drainPendingDecryptions(reason = "matrix client shutdown") {
983
- await this.withClientCryptoWork(() => this.decryptBridge?.drainPendingDecryptions(reason));
984
- }
985
- stop() {
986
- this.stopAndPersist().catch(() => this.stopWithoutPersist()).catch(noop);
987
- }
988
- async stopClientGeneration(persist) {
989
- try {
990
- if (persist) await this.quiesceSync();
991
- else {
992
- await this.quiesceSync().catch(noop);
993
- this.syncStore?.discardPendingSyncCursorPersistence();
994
- }
995
- this.requestAbortController.abort(/* @__PURE__ */ new Error("Matrix client generation is no longer active."));
996
- await this.startupPromise?.catch(noop);
997
- await this.cryptoInitializationPromise?.catch(noop);
998
- clearInterval(this.idbPersistTimer ?? void 0);
999
- this.idbPersistTimer = null;
1000
- this.idbPersistAbortController?.abort();
1001
- const activePeriodicPersist = this.idbPersistPromise;
1002
- try {
1003
- this.stopSdkClient();
1004
- this.decryptBridge?.stop();
1005
- } finally {
1006
- this.cryptoRequestOwner.disable();
1007
- }
1008
- await Promise.all([this.recoveryKeyStore.close(), activePeriodicPersist]);
1009
- if (persist) {
1010
- await (loadedMatrixCryptoRuntime ?? await loadMatrixCryptoRuntime()).persistIdbToDisk({
1011
- snapshotPath: this.idbSnapshotPath,
1012
- databasePrefix: this.cryptoDatabasePrefix,
1013
- strict: true,
1014
- stateRuntime: this.stateRuntime
1015
- });
1016
- this.syncStore?.markCleanShutdown();
1017
- await this.syncStore?.flush();
1018
- }
1019
- } finally {
1020
- await this.recoveryKeyStore.close();
1021
- }
1022
- }
1023
- async stopAndPersist() {
1024
- this.stopPersistPromise ??= this.stopClientGeneration(true);
1025
- await this.stopPersistPromise;
1026
- }
1027
- stopWithoutPersist() {
1028
- if (!this.stopPersistPromise) this.stopPersistPromise = this.stopDiscardPromise = this.stopClientGeneration(false);
1029
- return this.stopDiscardPromise ??= this.stopPersistPromise.catch(() => this.stopClientGeneration(false));
1030
- }
1031
- async bootstrapCryptoIfNeeded(abortSignal) {
1032
- if (!this.encryptionEnabled || !this.cryptoInitialized || this.cryptoBootstrapped) return;
1033
- throwIfMatrixStartupAborted(abortSignal);
1034
- await this.ensureCryptoSupportInitialized();
1035
- const crypto = this.client.getCrypto();
1036
- if (!crypto) return;
1037
- const cryptoBootstrapper = this.cryptoBootstrapper;
1038
- if (!cryptoBootstrapper) return;
1039
- const initial = await cryptoBootstrapper.bootstrap(crypto, MATRIX_INITIAL_CRYPTO_BOOTSTRAP_OPTIONS);
1040
- throwIfMatrixStartupAborted(abortSignal);
1041
- if (!initial.crossSigningPublished || initial.ownDeviceVerified === false) {
1042
- 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.");
1043
- else try {
1044
- const repaired = await cryptoBootstrapper.bootstrap(crypto, MATRIX_AUTOMATIC_REPAIR_BOOTSTRAP_OPTIONS);
1045
- throwIfMatrixStartupAborted(abortSignal);
1046
- if (repaired.crossSigningPublished && repaired.ownDeviceVerified !== false) LogService.info("MatrixClientLite", "Cross-signing/bootstrap recovered after forced reset");
1047
- } catch (err) {
1048
- LogService.warn("MatrixClientLite", "Failed to recover cross-signing/bootstrap with forced reset:", err);
1049
- }
1050
- }
1051
- this.cryptoBootstrapped = true;
1052
- }
1053
- async initializeCryptoIfNeeded(abortSignal) {
1054
- if (!this.encryptionEnabled) return;
1055
- if (this.cryptoInitializationPromise) {
1056
- await this.cryptoInitializationPromise;
1057
- throwIfMatrixStartupAborted(abortSignal);
1058
- return;
1059
- }
1060
- if (this.cryptoInitialized) return;
1061
- const initialization = this.initializeCrypto(abortSignal ? AbortSignal.any([abortSignal, this.requestAbortController.signal]) : this.requestAbortController.signal);
1062
- this.cryptoInitializationPromise = initialization;
1063
- try {
1064
- await initialization;
1065
- } finally {
1066
- if (this.cryptoInitializationPromise === initialization) this.cryptoInitializationPromise = null;
1067
- }
1068
- }
1069
- async initializeCrypto(abortSignal) {
1070
- throwIfMatrixStartupAborted(abortSignal);
1071
- const { persistIdbToDisk, restoreIdbFromDisk } = await loadMatrixCryptoRuntime();
1072
- await restoreIdbFromDisk(this.idbSnapshotPath, this.stateRuntime);
1073
- throwIfMatrixStartupAborted(abortSignal);
1074
- try {
1075
- await this.client.initRustCrypto({ cryptoDatabasePrefix: this.cryptoDatabasePrefix });
1076
- this.cryptoInitialized = true;
1077
- throwIfMatrixStartupAborted(abortSignal);
1078
- await persistIdbToDisk({
1079
- snapshotPath: this.idbSnapshotPath,
1080
- databasePrefix: this.cryptoDatabasePrefix,
1081
- abortSignal,
1082
- stateRuntime: this.stateRuntime
1083
- });
1084
- throwIfMatrixStartupAborted(abortSignal);
1085
- this.idbPersistTimer = setInterval(() => {
1086
- if (this.idbPersistPromise) return;
1087
- const abortController = new AbortController();
1088
- this.idbPersistAbortController = abortController;
1089
- this.idbPersistPromise = persistIdbToDisk({
1090
- snapshotPath: this.idbSnapshotPath,
1091
- databasePrefix: this.cryptoDatabasePrefix,
1092
- abortSignal: abortController.signal,
1093
- stateRuntime: this.stateRuntime
1094
- }).catch(noop).finally(() => {
1095
- this.idbPersistPromise = null;
1096
- this.idbPersistAbortController = null;
1097
- });
1098
- }, MATRIX_IDB_PERSIST_INTERVAL_MS);
1099
- this.idbPersistTimer.unref?.();
1100
- } catch (err) {
1101
- throwIfMatrixStartupAborted(abortSignal);
1102
- LogService.warn("MatrixClientLite", "Failed to initialize rust crypto:", err);
1103
- }
1104
- }
1105
- };
1106
- //#endregion
1107
- //#region extensions/matrix/src/matrix/sdk/client-core.ts
1108
- function isUnsupportedAuthenticatedMediaEndpointError(err) {
1109
- const statusCode = err?.statusCode;
1110
- if (statusCode === 404 || statusCode === 405 || statusCode === 501) return true;
1111
- const message = formatMatrixErrorReason(err);
1112
- return message.includes("m_unrecognized") || message.includes("unrecognized request") || message.includes("method not allowed") || message.includes("not implemented");
1113
- }
1114
- var MatrixClientCore = class extends MatrixClientBase {
1115
- async getUserId() {
1116
- const fromClient = this.client.getUserId();
1117
- if (fromClient) {
1118
- this.selfUserId = fromClient;
1119
- return fromClient;
1120
- }
1121
- if (this.selfUserId) return this.selfUserId;
1122
- const resolved = (await this.doRequest("GET", "/_matrix/client/v3/account/whoami")).user_id?.trim();
1123
- if (!resolved) throw new Error("Matrix whoami did not return user_id");
1124
- this.selfUserId = resolved;
1125
- return resolved;
1126
- }
1127
- async getJoinedRooms() {
1128
- const joined = await this.doRequest("GET", "/_matrix/client/v3/joined_rooms");
1129
- return Array.isArray(joined.joined_rooms) ? joined.joined_rooms : [];
1130
- }
1131
- async getTransactionScopeId() {
1132
- captureMatrixSendCurrentness(this)?.();
1133
- if (this.transactionScopeId) return this.transactionScopeId;
1134
- const active = this.transactionScopePromise ?? withoutMatrixSendCurrentness(async () => {
1135
- const configuredUserId = this.client.getUserId()?.trim() || this.selfUserId;
1136
- const configuredDeviceId = this.transactionScopeDeviceId || this.client.getDeviceId()?.trim() || null;
1137
- const whoami = await this.doRequest("GET", "/_matrix/client/v3/account/whoami");
1138
- const userId = whoami.user_id?.trim() || null;
1139
- const deviceId = whoami.device_id?.trim() || null;
1140
- if (!userId) throw new Error("Matrix whoami did not return user_id");
1141
- if (configuredUserId && configuredUserId !== userId) throw new Error("Matrix access token user does not match the configured userId");
1142
- if (configuredDeviceId && deviceId && configuredDeviceId !== deviceId) throw new Error("Matrix access token device does not match the configured deviceId");
1143
- this.selfUserId = userId;
1144
- this.transactionScopeDeviceId = deviceId;
1145
- return createHash("sha256").update(this.transactionScopeHomeserver).update("\0").update(userId).update("\0").update(deviceId ?? "").update("\0").update(this.transactionScopeAccessTokenHash).digest("hex");
1146
- });
1147
- this.transactionScopePromise = active;
1148
- try {
1149
- const resolved = await active;
1150
- this.transactionScopeId = resolved;
1151
- return resolved;
1152
- } finally {
1153
- if (this.transactionScopePromise === active) this.transactionScopePromise = null;
1154
- }
1155
- }
1156
- async getJoinedRoomMembers(roomId) {
1157
- const joined = (await this.client.getJoinedRoomMembers(roomId))?.joined;
1158
- if (!joined || typeof joined !== "object") return [];
1159
- return Object.keys(joined);
1160
- }
1161
- hasSyncedJoinedRoomMember(roomId, userId) {
1162
- return this.client.getRoom(roomId)?.getMember(userId)?.membership === "join";
1163
- }
1164
- async getRoomStateEvent(roomId, eventType, stateKey = "") {
1165
- return await this.client.getStateEvent(roomId, eventType, stateKey) ?? {};
1166
- }
1167
- async getAccountData(eventType) {
1168
- return await this.client.getAccountDataFromServer(eventType) ?? void 0;
1169
- }
1170
- async setAccountData(eventType, content) {
1171
- await this.client.setAccountData(eventType, content);
1172
- await this.refreshDmCache().catch(noop);
1173
- }
1174
- async resolveRoom(aliasOrRoomId) {
1175
- if (aliasOrRoomId.startsWith("!")) return aliasOrRoomId;
1176
- if (!aliasOrRoomId.startsWith("#")) return aliasOrRoomId;
1177
- try {
1178
- return (await this.client.getRoomIdForAlias(aliasOrRoomId)).room_id ?? null;
1179
- } catch {
1180
- return null;
1181
- }
1182
- }
1183
- async createDirectRoom(remoteUserId, opts = {}) {
1184
- const initialState = opts.encrypted ? [{
1185
- type: "m.room.encryption",
1186
- state_key: "",
1187
- content: { algorithm: "m.megolm.v1.aes-sha2" }
1188
- }] : void 0;
1189
- return (await this.client.createRoom({
1190
- invite: [remoteUserId],
1191
- is_direct: true,
1192
- preset: Preset.TrustedPrivateChat,
1193
- initial_state: initialState
1194
- })).room_id;
1195
- }
1196
- async sendMessage(roomId, content, transactionId, beforeWireDispatch) {
1197
- const assertCurrent = captureMatrixSendCurrentness(this);
1198
- const wireTransactionId = transactionId ?? (beforeWireDispatch || assertCurrent ? this.client.makeTxnId() : void 0);
1199
- return await this.runSerializedRoomSend(roomId, async () => {
1200
- return await this.messageWireDispatchGuards.run({
1201
- transactionId: wireTransactionId,
1202
- guard: beforeWireDispatch,
1203
- assertCurrent,
1204
- run: async () => {
1205
- if (wireTransactionId) {
1206
- const room = this.client.getRoom(roomId);
1207
- const existing = room?.getEventForTxnId?.(wireTransactionId);
1208
- if (existing) {
1209
- const existingId = existing.getId();
1210
- if (existing.status === EventStatus.SENT && existingId && !existingId.startsWith("~")) return existingId;
1211
- if (existing.status === EventStatus.NOT_SENT && room) {
1212
- await this.prepareRoomForMessageSend(roomId, existing.getContent());
1213
- return (await this.client.resendEvent(existing, room)).event_id;
1214
- }
1215
- throw new Error(`Matrix transaction ${wireTransactionId} is already active with status ${existing.status ?? "unknown"}`);
1216
- }
1217
- }
1218
- await this.prepareRoomForMessageSend(roomId, content);
1219
- return (await this.client.sendMessage(roomId, content, wireTransactionId)).event_id;
1220
- }
1221
- });
1222
- });
1223
- }
1224
- async getMessageWireEventType(roomId) {
1225
- if (this.client.getRoom(roomId)?.hasEncryptionStateEvent() === true) return "m.room.encrypted";
1226
- const crypto = this.client.getCrypto();
1227
- if (crypto && await crypto.isEncryptionEnabledInRoom(roomId)) return "m.room.encrypted";
1228
- try {
1229
- await this.getRoomStateEvent(roomId, "m.room.encryption", "");
1230
- return "m.room.encrypted";
1231
- } catch (error) {
1232
- if (error instanceof MatrixError && error.httpStatus === 404 && error.errcode === "M_NOT_FOUND") return "m.room.message";
1233
- throw error;
1234
- }
1235
- }
1236
- async prepareRoomForMessageSend(roomId, content) {
1237
- if (await this.getMessageWireEventType(roomId) === "m.room.message") return "m.room.message";
1238
- const crypto = this.client.getCrypto();
1239
- if (!crypto) throw new Error("Encrypted Matrix room: enable encryption before sending messages");
1240
- const room = this.client.getRoom(roomId);
1241
- if (!room || !room.hasEncryptionStateEvent() && !await crypto.isEncryptionEnabledInRoom(roomId)) throw new Error("Encrypted Matrix room is not ready: wait for room sync before sending");
1242
- 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");
1243
- return "m.room.encrypted";
1244
- }
1245
- async sendEvent(roomId, eventType, content) {
1246
- return await this.runSerializedRoomSend(roomId, async () => {
1247
- 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");
1248
- if (eventType !== "m.reaction") await this.prepareRoomForMessageSend(roomId, content);
1249
- return (await this.client.sendEvent(roomId, eventType, content)).event_id;
1250
- });
1251
- }
1252
- async runSerializedRoomSend(roomId, task) {
1253
- return await this.sendQueue.enqueue(roomId, task);
1254
- }
1255
- async sendStateEvent(roomId, eventType, stateKey, content) {
1256
- return (await this.client.sendStateEvent(roomId, eventType, content, stateKey)).event_id;
1257
- }
1258
- async redactEvent(roomId, eventId, reason) {
1259
- return (await this.client.redactEvent(roomId, eventId, void 0, reason?.trim() ? { reason } : void 0)).event_id;
1260
- }
1261
- async doRequest(method, endpoint, qs, body, opts) {
1262
- return await this.httpClient.requestJson({
1263
- method,
1264
- endpoint,
1265
- qs,
1266
- body,
1267
- timeoutMs: this.localTimeoutMs,
1268
- allowAbsoluteEndpoint: opts?.allowAbsoluteEndpoint
1269
- });
1270
- }
1271
- async getUserProfile(userId) {
1272
- return await this.client.getProfileInfo(userId);
1273
- }
1274
- async setDisplayName(displayName) {
1275
- await this.client.setDisplayName(displayName);
1276
- }
1277
- async setAvatarUrl(avatarUrl) {
1278
- await this.client.setAvatarUrl(avatarUrl);
1279
- }
1280
- async joinRoom(roomId) {
1281
- await this.client.joinRoom(roomId);
1282
- }
1283
- mxcToHttp(mxcUrl) {
1284
- return this.client.mxcUrlToHttp(mxcUrl, void 0, void 0, void 0, true, false, true);
1285
- }
1286
- async downloadContent(mxcUrl, opts = {}) {
1287
- const parsed = parseMxc(mxcUrl);
1288
- if (!parsed) throw new Error(`Invalid Matrix content URI: ${mxcUrl}`);
1289
- const encodedServer = encodeURIComponent(parsed.server);
1290
- const encodedMediaId = encodeURIComponent(parsed.mediaId);
1291
- const request = async (endpoint) => await this.httpClient.requestRaw({
1292
- method: "GET",
1293
- endpoint,
1294
- qs: { allow_remote: opts.allowRemote ?? true },
1295
- timeoutMs: this.localTimeoutMs,
1296
- maxBytes: opts.maxBytes,
1297
- readIdleTimeoutMs: opts.readIdleTimeoutMs
1298
- });
1299
- const authenticatedEndpoint = `/_matrix/client/v1/media/download/${encodedServer}/${encodedMediaId}`;
1300
- try {
1301
- return await request(authenticatedEndpoint);
1302
- } catch (err) {
1303
- if (!isUnsupportedAuthenticatedMediaEndpointError(err)) throw err;
1304
- }
1305
- return await request(`/_matrix/media/v3/download/${encodedServer}/${encodedMediaId}`);
1306
- }
1307
- async uploadContent(file, contentType, filename) {
1308
- return (await this.client.uploadContent(new Uint8Array(file), {
1309
- type: contentType || "application/octet-stream",
1310
- name: filename,
1311
- includeFilename: Boolean(filename)
1312
- })).content_uri;
1313
- }
1314
- async getEvent(roomId, eventId) {
1315
- const rawEvent = await this.client.fetchRoomEvent(roomId, eventId);
1316
- if (rawEvent.type !== "m.room.encrypted") return rawEvent;
1317
- const event = this.client.getEventMapper()(rawEvent);
1318
- let decryptedEvent;
1319
- const onDecrypted = (candidate) => {
1320
- decryptedEvent = candidate;
1321
- };
1322
- event.once(MatrixEventEvent.Decrypted, onDecrypted);
1323
- try {
1324
- await this.client.decryptEventIfNeeded(event);
1325
- } finally {
1326
- event.off(MatrixEventEvent.Decrypted, onDecrypted);
1327
- }
1328
- return matrixEventToRaw(decryptedEvent ?? event);
1329
- }
1330
- async getRelations(roomId, eventId, relationType, eventType, opts = {}) {
1331
- const result = await this.client.relations(roomId, eventId, relationType, eventType, opts);
1332
- const events = result.originalEvent ? [result.originalEvent, ...result.events] : result.events;
1333
- await Promise.all(events.map((event) => this.client.decryptEventIfNeeded(event)));
1334
- return {
1335
- originalEvent: result.originalEvent ? matrixEventToRaw(result.originalEvent) : null,
1336
- events: result.events.map((event) => matrixEventToRaw(event)),
1337
- nextBatch: result.nextBatch ?? null,
1338
- prevBatch: result.prevBatch ?? null
1339
- };
1340
- }
1341
- async hydrateEvents(roomId, events) {
1342
- if (events.length === 0) return [];
1343
- const mapper = this.client.getEventMapper();
1344
- const mappedEvents = events.map((event) => mapper({
1345
- room_id: roomId,
1346
- ...event
1347
- }));
1348
- await Promise.all(mappedEvents.map((event) => this.client.decryptEventIfNeeded(event)));
1349
- return mappedEvents.map((event) => matrixEventToRaw(event));
1350
- }
1351
- async setTyping(roomId, typing, timeoutMs) {
1352
- await this.client.sendTyping(roomId, typing, timeoutMs);
1353
- }
1354
- async sendReadReceipt(roomId, eventId) {
1355
- await this.httpClient.requestJson({
1356
- method: "POST",
1357
- endpoint: `/_matrix/client/v3/rooms/${encodeURIComponent(roomId)}/receipt/m.read/${encodeURIComponent(eventId)}`,
1358
- body: {},
1359
- timeoutMs: this.localTimeoutMs
1360
- });
1361
- }
1362
- };
1363
- //#endregion
1364
- //#region extensions/matrix/src/matrix/sdk/client-verification.ts
1365
- const normalizeNullableVerificationString = normalizeNullableString;
1366
- var MatrixClientVerification = class extends MatrixClientCore {
1367
- async refreshOwnDeviceKeys() {
1368
- await this.client.getCrypto()?.userHasCrossSigningKeys(await this.getUserId(), true);
1369
- }
1370
- async getRoomKeyBackupStatus() {
1371
- if (!this.encryptionEnabled) return {
1372
- serverVersion: null,
1373
- activeVersion: null,
1374
- trusted: null,
1375
- matchesDecryptionKey: null,
1376
- decryptionKeyCached: null,
1377
- keyLoadAttempted: false,
1378
- keyLoadError: null
1379
- };
1380
- const crypto = this.client.getCrypto();
1381
- const serverVersionFallback = await this.resolveRoomKeyBackupVersion();
1382
- if (!crypto) return {
1383
- serverVersion: serverVersionFallback,
1384
- activeVersion: null,
1385
- trusted: null,
1386
- matchesDecryptionKey: null,
1387
- decryptionKeyCached: null,
1388
- keyLoadAttempted: false,
1389
- keyLoadError: null
1390
- };
1391
- let { activeVersion, decryptionKeyCached } = await this.resolveRoomKeyBackupLocalState(crypto);
1392
- let { serverVersion, trusted, matchesDecryptionKey } = await this.resolveRoomKeyBackupTrustState(crypto, serverVersionFallback);
1393
- const shouldLoadBackupKey = Boolean(serverVersion) && (decryptionKeyCached === false || matchesDecryptionKey === false);
1394
- const shouldActivateBackup = Boolean(serverVersion) && !activeVersion;
1395
- let keyLoadAttempted = false;
1396
- let keyLoadError = null;
1397
- if (serverVersion && (shouldLoadBackupKey || shouldActivateBackup)) {
1398
- if (shouldLoadBackupKey) {
1399
- if (typeof crypto.loadSessionBackupPrivateKeyFromSecretStorage === "function") {
1400
- keyLoadAttempted = true;
1401
- try {
1402
- await crypto.loadSessionBackupPrivateKeyFromSecretStorage();
1403
- } catch (err) {
1404
- keyLoadError = formatErrorMessage(err);
1405
- }
1406
- } else keyLoadError = "Matrix crypto backend does not support loading backup keys from secret storage";
1407
- }
1408
- if (!keyLoadError) await this.enableTrustedRoomKeyBackupIfPossible(crypto);
1409
- ({activeVersion, decryptionKeyCached} = await this.resolveRoomKeyBackupLocalState(crypto));
1410
- ({serverVersion, trusted, matchesDecryptionKey} = await this.resolveRoomKeyBackupTrustState(crypto, serverVersion));
1411
- }
1412
- return {
1413
- serverVersion,
1414
- activeVersion,
1415
- trusted,
1416
- matchesDecryptionKey,
1417
- decryptionKeyCached,
1418
- keyLoadAttempted,
1419
- keyLoadError
1420
- };
1421
- }
1422
- async getDeviceVerificationStatus(userId, deviceId) {
1423
- const normalizedUserId = userId?.trim() || null;
1424
- const normalizedDeviceId = deviceId?.trim() || null;
1425
- if (!this.encryptionEnabled) return {
1426
- encryptionEnabled: false,
1427
- userId: normalizedUserId,
1428
- deviceId: normalizedDeviceId,
1429
- verified: false,
1430
- localVerified: false,
1431
- crossSigningVerified: false,
1432
- signedByOwner: false
1433
- };
1434
- const crypto = this.client.getCrypto();
1435
- let deviceStatus = null;
1436
- if (crypto && normalizedUserId && normalizedDeviceId && typeof crypto.getDeviceVerificationStatus === "function") deviceStatus = await crypto.getDeviceVerificationStatus(normalizedUserId, normalizedDeviceId).catch(() => null);
1437
- const { isMatrixDeviceVerifiedInCurrentClient } = await loadMatrixCryptoRuntime();
1438
- return {
1439
- encryptionEnabled: true,
1440
- userId: normalizedUserId,
1441
- deviceId: normalizedDeviceId,
1442
- verified: isMatrixDeviceVerifiedInCurrentClient(deviceStatus),
1443
- localVerified: deviceStatus?.localVerified === true,
1444
- crossSigningVerified: deviceStatus?.crossSigningVerified === true,
1445
- signedByOwner: deviceStatus?.signedByOwner === true
1446
- };
1447
- }
1448
- async getOwnDeviceVerificationStatus() {
1449
- const recoveryKey = await this.recoveryKeyStore.getRecoveryKeySummary();
1450
- const userId = this.client.getUserId() ?? this.selfUserId ?? null;
1451
- const deviceId = this.client.getDeviceId()?.trim() || null;
1452
- const diagnosticTimeoutMs = Math.min(this.localTimeoutMs, MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS);
1453
- const [backup, deviceVerification, ownDevices] = await Promise.all([
1454
- resolveMatrixDiagnostic(this.getRoomKeyBackupStatus(), diagnosticTimeoutMs),
1455
- resolveMatrixDiagnostic(this.getDeviceVerificationStatus(userId, deviceId), diagnosticTimeoutMs),
1456
- resolveMatrixDiagnosticResult(this.listOwnDevices(), diagnosticTimeoutMs)
1457
- ]);
1458
- const resolvedBackup = backup ?? unresolvedMatrixRoomKeyBackupStatus();
1459
- const resolvedDeviceVerification = deviceVerification ?? unresolvedMatrixDeviceVerificationStatus({
1460
- userId,
1461
- deviceId
1462
- });
1463
- const serverDeviceKnown = deviceId ? ownDevices.value ? ownDevices.value.some((device) => device.deviceId === deviceId) : isMatrixAccessTokenInvalidatedError(ownDevices.error) ? false : null : null;
1464
- return {
1465
- ...resolvedDeviceVerification,
1466
- verified: resolvedDeviceVerification.crossSigningVerified,
1467
- recoveryKeyStored: Boolean(recoveryKey),
1468
- recoveryKeyCreatedAt: recoveryKey?.createdAt ?? null,
1469
- recoveryKeyId: recoveryKey?.keyId ?? null,
1470
- backupVersion: resolvedBackup.serverVersion,
1471
- backup: resolvedBackup,
1472
- serverDeviceKnown
1473
- };
1474
- }
1475
- async getOwnDeviceIdentityVerificationStatus() {
1476
- const userId = this.client.getUserId() ?? this.selfUserId ?? null;
1477
- const deviceId = this.client.getDeviceId()?.trim() || null;
1478
- const deviceVerification = await this.getDeviceVerificationStatus(userId, deviceId);
1479
- return {
1480
- ...deviceVerification,
1481
- verified: deviceVerification.crossSigningVerified
1482
- };
1483
- }
1484
- async trustOwnIdentityAfterSelfVerification() {
1485
- if (!this.encryptionEnabled) return;
1486
- await this.ensureStartedForCryptoControlPlane();
1487
- await this.ensureCryptoSupportInitialized();
1488
- const crypto = this.client.getCrypto();
1489
- const ownIdentity = crypto && typeof crypto.getOwnIdentity === "function" ? await crypto.getOwnIdentity().catch(() => void 0) : void 0;
1490
- if (!ownIdentity) return;
1491
- try {
1492
- if (typeof ownIdentity.isVerified === "function" && ownIdentity.isVerified()) return;
1493
- if (typeof ownIdentity.verify !== "function") return;
1494
- await ownIdentity.verify();
1495
- } finally {
1496
- ownIdentity.free?.();
1497
- }
1498
- }
1499
- async resolveActiveRoomKeyBackupVersion(crypto) {
1500
- if (typeof crypto.getActiveSessionBackupVersion !== "function") return null;
1501
- const version = await crypto.getActiveSessionBackupVersion().catch(() => null);
1502
- return normalizeNullableVerificationString(version);
1503
- }
1504
- async resolveCachedRoomKeyBackupDecryptionKey(crypto) {
1505
- const read = Reflect.get(crypto, "getSessionBackupPrivateKey");
1506
- if (typeof read !== "function") return null;
1507
- const key = await read.call(crypto).catch(() => null);
1508
- return key ? key.length > 0 : false;
1509
- }
1510
- async resolveRoomKeyBackupLocalState(crypto) {
1511
- const [activeVersion, decryptionKeyCached] = await Promise.all([this.resolveActiveRoomKeyBackupVersion(crypto), this.resolveCachedRoomKeyBackupDecryptionKey(crypto)]);
1512
- return {
1513
- activeVersion,
1514
- decryptionKeyCached
1515
- };
1516
- }
1517
- async shouldForceSecretStorageRecreationForBackupReset(crypto) {
1518
- if (await this.resolveCachedRoomKeyBackupDecryptionKey(crypto) !== false) return false;
1519
- const loadSessionBackupPrivateKeyFromSecretStorage = crypto.loadSessionBackupPrivateKeyFromSecretStorage;
1520
- if (typeof loadSessionBackupPrivateKeyFromSecretStorage !== "function") return false;
1521
- try {
1522
- await loadSessionBackupPrivateKeyFromSecretStorage.call(crypto);
1523
- return false;
1524
- } catch (err) {
1525
- return isRepairableSecretStorageAccessError(err);
1526
- }
1527
- }
1528
- async resolveRoomKeyBackupTrustState(crypto, fallbackVersion) {
1529
- let serverVersion = fallbackVersion;
1530
- let trusted = null;
1531
- let matchesDecryptionKey = null;
1532
- if (typeof crypto.getKeyBackupInfo === "function") {
1533
- const info = await crypto.getKeyBackupInfo().catch(() => null);
1534
- serverVersion = normalizeNullableVerificationString(info?.version) ?? serverVersion;
1535
- if (info && typeof crypto.isKeyBackupTrusted === "function") {
1536
- const trustInfo = await crypto.isKeyBackupTrusted(info).catch(() => null);
1537
- trusted = typeof trustInfo?.trusted === "boolean" ? trustInfo.trusted : null;
1538
- matchesDecryptionKey = typeof trustInfo?.matchesDecryptionKey === "boolean" ? trustInfo.matchesDecryptionKey : null;
1539
- }
1540
- }
1541
- return {
1542
- serverVersion,
1543
- trusted,
1544
- matchesDecryptionKey
1545
- };
1546
- }
1547
- async resolveDefaultSecretStorageKeyId(crypto) {
1548
- const getSecretStorageStatus = crypto?.getSecretStorageStatus;
1549
- if (typeof getSecretStorageStatus !== "function") return;
1550
- return (await getSecretStorageStatus.call(crypto).catch(() => null))?.defaultKeyId;
1551
- }
1552
- async resolveRoomKeyBackupVersion() {
1553
- try {
1554
- const response = await this.doRequest("GET", "/_matrix/client/v3/room_keys/version");
1555
- return normalizeNullableVerificationString(response.version);
1556
- } catch {
1557
- return null;
1558
- }
1559
- }
1560
- async enableTrustedRoomKeyBackupIfPossible(crypto) {
1561
- if (typeof crypto.checkKeyBackupAndEnable !== "function") return;
1562
- await crypto.checkKeyBackupAndEnable();
1563
- }
1564
- async ensureRoomKeyBackupEnabled(crypto) {
1565
- if (await this.resolveRoomKeyBackupVersion()) return;
1566
- LogService.info("MatrixClientLite", "No room key backup version found on server, creating one via secret storage bootstrap");
1567
- await this.recoveryKeyStore.bootstrapSecretStorageWithRecoveryKey(crypto, { setupNewKeyBackup: true });
1568
- const createdVersion = await this.resolveRoomKeyBackupVersion();
1569
- if (!createdVersion) throw new Error("Matrix room key backup is still missing after bootstrap");
1570
- LogService.info("MatrixClientLite", `Room key backup enabled (version ${createdVersion})`);
1571
- }
1572
- };
1573
- //#endregion
1574
- //#region extensions/matrix/src/matrix/sdk.ts
1575
- var sdk_exports = /* @__PURE__ */ __exportAll({
1576
- ConsoleLogger: () => ConsoleLogger,
1577
- LogService: () => LogService,
1578
- MatrixClient: () => MatrixClient
1579
- });
1580
- var MatrixClient = class extends MatrixClientVerification {
1581
- async verifyWithRecoveryKey(rawRecoveryKey) {
1582
- const fail = async (error, fields = {}) => {
1583
- const status = await this.getOwnDeviceVerificationStatus();
1584
- return {
1585
- success: false,
1586
- recoveryKeyAccepted: fields.recoveryKeyAccepted ?? false,
1587
- backupUsable: fields.backupUsable ?? false,
1588
- deviceOwnerVerified: fields.deviceOwnerVerified ?? status.verified,
1589
- error,
1590
- ...status
1591
- };
1592
- };
1593
- if (!this.encryptionEnabled) return await fail("Matrix encryption is disabled for this client");
1594
- await this.ensureStartedForCryptoControlPlane();
1595
- await this.ensureCryptoSupportInitialized();
1596
- const crypto = this.client.getCrypto();
1597
- if (!crypto) return await fail("Matrix crypto is not available (start client with encryption enabled)");
1598
- const backupUsableBeforeStagedRecovery = resolveMatrixRoomKeyBackupReadinessError(await this.getRoomKeyBackupStatus(), { requireServerBackup: true }) === null;
1599
- const trimmedRecoveryKey = rawRecoveryKey.trim();
1600
- if (!trimmedRecoveryKey) return await fail("Matrix recovery key is required");
1601
- let stagedKeyId;
1602
- try {
1603
- stagedKeyId = await this.resolveDefaultSecretStorageKeyId(crypto) ?? null;
1604
- await this.recoveryKeyStore.stageEncodedRecoveryKey({
1605
- encodedPrivateKey: trimmedRecoveryKey,
1606
- keyId: stagedKeyId
1607
- });
1608
- } catch (err) {
1609
- return await fail(formatErrorMessage(err));
1610
- }
1611
- const storedRecoveryKeyMatches = (await this.recoveryKeyStore.getRecoveryKeySummary())?.encodedPrivateKey?.trim() === trimmedRecoveryKey;
1612
- if (backupUsableBeforeStagedRecovery && storedRecoveryKeyMatches) {
1613
- const status = await this.getOwnDeviceVerificationStatus();
1614
- const backupUsable = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: true }) === null;
1615
- const backupError = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: false });
1616
- const recoveryKeyAccepted = backupUsable;
1617
- if (!status.verified) {
1618
- if (recoveryKeyAccepted) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1619
- else await this.recoveryKeyStore.discardStagedRecoveryKey();
1620
- return {
1621
- success: false,
1622
- recoveryKeyAccepted,
1623
- backupUsable,
1624
- deviceOwnerVerified: false,
1625
- 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.",
1626
- ...status
1627
- };
1628
- }
1629
- if (backupError) {
1630
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1631
- return {
1632
- success: false,
1633
- recoveryKeyAccepted,
1634
- backupUsable,
1635
- deviceOwnerVerified: true,
1636
- error: backupError,
1637
- ...status
1638
- };
1639
- }
1640
- await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1641
- return {
1642
- success: true,
1643
- recoveryKeyAccepted: true,
1644
- backupUsable,
1645
- deviceOwnerVerified: true,
1646
- verifiedAt: (/* @__PURE__ */ new Date()).toISOString(),
1647
- ...status
1648
- };
1649
- }
1650
- try {
1651
- const cryptoBootstrapper = this.cryptoBootstrapper;
1652
- if (!cryptoBootstrapper) return await fail("Matrix crypto bootstrapper is not available");
1653
- await cryptoBootstrapper.bootstrap(crypto, { allowAutomaticCrossSigningReset: false });
1654
- await this.enableTrustedRoomKeyBackupIfPossible(crypto);
1655
- const status = await this.getOwnDeviceVerificationStatus();
1656
- const backupError = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: false });
1657
- const backupUsable = resolveMatrixRoomKeyBackupReadinessError(status.backup, { requireServerBackup: true }) === null;
1658
- const stagedRecoveryKeyUsed = this.recoveryKeyStore.hasStagedRecoveryKeyBeenUsed();
1659
- const secretStorageStatus = typeof crypto.getSecretStorageStatus === "function" ? await crypto.getSecretStorageStatus().catch(() => null) : null;
1660
- const stagedRecoveryKeyConfirmedBySecretStorage = Boolean(stagedKeyId) && secretStorageStatus?.secretStorageKeyValidityMap?.[stagedKeyId ?? ""] === true;
1661
- const stagedRecoveryKeyRejectedBySecretStorage = Boolean(stagedKeyId) && secretStorageStatus?.secretStorageKeyValidityMap?.[stagedKeyId ?? ""] === false;
1662
- const stagedRecoveryKeyValidated = stagedRecoveryKeyUsed && (stagedRecoveryKeyConfirmedBySecretStorage || stagedRecoveryKeyUsed && !stagedRecoveryKeyRejectedBySecretStorage && !stagedRecoveryKeyConfirmedBySecretStorage && !backupUsableBeforeStagedRecovery && backupUsable) || storedRecoveryKeyMatches && backupUsable;
1663
- const recoveryKeyAccepted = stagedRecoveryKeyValidated && (status.verified || backupUsable);
1664
- if (!status.verified) {
1665
- if (backupUsable && stagedRecoveryKeyValidated) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1666
- else await this.recoveryKeyStore.discardStagedRecoveryKey();
1667
- return {
1668
- success: false,
1669
- recoveryKeyAccepted,
1670
- backupUsable,
1671
- deviceOwnerVerified: false,
1672
- 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.",
1673
- ...recoveryKeyAccepted ? await this.getOwnDeviceVerificationStatus() : status
1674
- };
1675
- }
1676
- if (backupError) {
1677
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1678
- return {
1679
- success: false,
1680
- recoveryKeyAccepted,
1681
- backupUsable,
1682
- deviceOwnerVerified: true,
1683
- error: backupError,
1684
- ...status
1685
- };
1686
- }
1687
- if (!stagedRecoveryKeyValidated) {
1688
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1689
- return {
1690
- success: false,
1691
- recoveryKeyAccepted: false,
1692
- backupUsable,
1693
- deviceOwnerVerified: true,
1694
- error: "Matrix recovery key could not be verified against active Matrix backup material; existing backup may be usable from previously loaded recovery material.",
1695
- ...status
1696
- };
1697
- }
1698
- await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: stagedKeyId });
1699
- const committedStatus = await this.getOwnDeviceVerificationStatus();
1700
- return {
1701
- success: true,
1702
- recoveryKeyAccepted: true,
1703
- backupUsable,
1704
- deviceOwnerVerified: true,
1705
- verifiedAt: (/* @__PURE__ */ new Date()).toISOString(),
1706
- ...committedStatus
1707
- };
1708
- } catch (err) {
1709
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1710
- return await fail(formatErrorMessage(err));
1711
- }
1712
- }
1713
- async restoreRoomKeyBackup(params = {}) {
1714
- let loadedFromSecretStorage = false;
1715
- const fail = async (error) => {
1716
- const backup = await this.getRoomKeyBackupStatus();
1717
- return {
1718
- success: false,
1719
- error,
1720
- backupVersion: backup.serverVersion,
1721
- imported: 0,
1722
- total: 0,
1723
- loadedFromSecretStorage,
1724
- backup
1725
- };
1726
- };
1727
- if (!this.encryptionEnabled) return await fail("Matrix encryption is disabled for this client");
1728
- await this.ensureStartedForCryptoControlPlane();
1729
- const crypto = this.client.getCrypto();
1730
- if (!crypto) return await fail("Matrix crypto is not available (start client with encryption enabled)");
1731
- try {
1732
- const rawRecoveryKey = params.recoveryKey?.trim();
1733
- if (rawRecoveryKey) await this.recoveryKeyStore.stageEncodedRecoveryKey({
1734
- encodedPrivateKey: rawRecoveryKey,
1735
- keyId: await this.resolveDefaultSecretStorageKeyId(crypto)
1736
- });
1737
- const backup = await this.getRoomKeyBackupStatus();
1738
- loadedFromSecretStorage = backup.keyLoadAttempted && !backup.keyLoadError;
1739
- const backupError = resolveMatrixRoomKeyBackupReadinessError(backup, {
1740
- allowUntrustedMatchingKey: true,
1741
- requireServerBackup: true
1742
- });
1743
- if (backupError) {
1744
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1745
- return await fail(backupError);
1746
- }
1747
- if (typeof crypto.restoreKeyBackup !== "function") {
1748
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1749
- return await fail("Matrix crypto backend does not support full key backup restore");
1750
- }
1751
- const restore = await crypto.restoreKeyBackup();
1752
- if (rawRecoveryKey) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: await this.resolveDefaultSecretStorageKeyId(crypto) });
1753
- const finalBackup = await this.getRoomKeyBackupStatus();
1754
- return {
1755
- success: true,
1756
- backupVersion: backup.serverVersion,
1757
- imported: typeof restore.imported === "number" ? restore.imported : 0,
1758
- total: typeof restore.total === "number" ? restore.total : 0,
1759
- loadedFromSecretStorage,
1760
- restoredAt: (/* @__PURE__ */ new Date()).toISOString(),
1761
- backup: finalBackup
1762
- };
1763
- } catch (err) {
1764
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1765
- return await fail(formatErrorMessage(err));
1766
- }
1767
- }
1768
- async resetRoomKeyBackup(options = {}) {
1769
- let previousVersion = null;
1770
- let deletedVersion = null;
1771
- const fail = async (error) => {
1772
- const backup = await this.getRoomKeyBackupStatus();
1773
- return {
1774
- success: false,
1775
- error,
1776
- previousVersion,
1777
- deletedVersion,
1778
- createdVersion: backup.serverVersion,
1779
- backup
1780
- };
1781
- };
1782
- if (!this.encryptionEnabled) return await fail("Matrix encryption is disabled for this client");
1783
- await this.ensureStartedForCryptoControlPlane();
1784
- const crypto = this.client.getCrypto();
1785
- if (!crypto) return await fail("Matrix crypto is not available (start client with encryption enabled)");
1786
- await this.recoveryKeyStore.drainPendingPersistence();
1787
- previousVersion = await this.resolveRoomKeyBackupVersion();
1788
- const forceNewSecretStorage = options.rotateRecoveryKey === true || await this.shouldForceSecretStorageRecreationForBackupReset(crypto);
1789
- try {
1790
- if (previousVersion) {
1791
- try {
1792
- await this.doRequest("DELETE", `/_matrix/client/v3/room_keys/version/${encodeURIComponent(previousVersion)}`);
1793
- } catch (err) {
1794
- if (!isMatrixNotFoundError(err)) throw err;
1795
- }
1796
- deletedVersion = previousVersion;
1797
- }
1798
- await this.recoveryKeyStore.bootstrapSecretStorageWithRecoveryKey(crypto, {
1799
- setupNewKeyBackup: true,
1800
- forceNewSecretStorage,
1801
- forceNewRecoveryKey: options.rotateRecoveryKey === true,
1802
- allowSecretStorageRecreateWithoutRecoveryKey: true
1803
- });
1804
- await this.enableTrustedRoomKeyBackupIfPossible(crypto);
1805
- const backup = await this.getRoomKeyBackupStatus();
1806
- const createdVersion = backup.serverVersion;
1807
- if (!createdVersion) return await fail("Matrix room key backup is still missing after reset.");
1808
- if (backup.activeVersion !== createdVersion) return await fail("Matrix room key backup was recreated on the server but is not active on this device.");
1809
- if (backup.decryptionKeyCached === false) return await fail("Matrix room key backup was recreated but its decryption key is not cached on this device.");
1810
- if (backup.matchesDecryptionKey === false) return await fail("Matrix room key backup was recreated but this device does not have the matching backup decryption key.");
1811
- if (backup.trusted === false) return await fail("Matrix room key backup was recreated but is not trusted on this device.");
1812
- return {
1813
- success: true,
1814
- previousVersion,
1815
- deletedVersion,
1816
- createdVersion,
1817
- resetAt: (/* @__PURE__ */ new Date()).toISOString(),
1818
- backup
1819
- };
1820
- } catch (err) {
1821
- return await fail(formatErrorMessage(err));
1822
- }
1823
- }
1824
- async getOwnCrossSigningPublicationStatus() {
1825
- const userId = this.client.getUserId() ?? this.selfUserId ?? null;
1826
- return await resolveMatrixCrossSigningPublicationStatus({
1827
- userId,
1828
- query: async () => await this.doRequest("POST", "/_matrix/client/v3/keys/query", void 0, { device_keys: userId ? { [userId]: [] } : {} })
1829
- });
1830
- }
1831
- async bootstrapOwnDeviceVerification(params) {
1832
- const pendingVerifications = async () => this.crypto ? (await this.crypto.listVerifications()).length : 0;
1833
- if (!this.encryptionEnabled) return {
1834
- success: false,
1835
- error: "Matrix encryption is disabled for this client",
1836
- verification: await this.getOwnDeviceVerificationStatus(),
1837
- crossSigning: await this.getOwnCrossSigningPublicationStatus(),
1838
- pendingVerifications: await pendingVerifications(),
1839
- cryptoBootstrap: null
1840
- };
1841
- let bootstrapError;
1842
- let bootstrapSummary = null;
1843
- let rawRecoveryKey;
1844
- try {
1845
- await this.ensureStartedForCryptoControlPlane();
1846
- await this.ensureCryptoSupportInitialized();
1847
- const crypto = this.client.getCrypto();
1848
- if (!crypto) throw new Error("Matrix crypto is not available (start client with encryption enabled)");
1849
- rawRecoveryKey = params?.recoveryKey?.trim();
1850
- if (rawRecoveryKey) await this.recoveryKeyStore.stageEncodedRecoveryKey({
1851
- encodedPrivateKey: rawRecoveryKey,
1852
- keyId: await this.resolveDefaultSecretStorageKeyId(crypto)
1853
- });
1854
- const cryptoBootstrapper = this.cryptoBootstrapper;
1855
- if (!cryptoBootstrapper) throw new Error("Matrix crypto bootstrapper is not available");
1856
- bootstrapSummary = await cryptoBootstrapper.bootstrap(crypto, createMatrixExplicitBootstrapOptions({
1857
- ...params,
1858
- allowAutomaticCrossSigningReset: rawRecoveryKey ? false : params?.allowAutomaticCrossSigningReset
1859
- }));
1860
- await this.ensureRoomKeyBackupEnabled(crypto);
1861
- } catch (err) {
1862
- await this.recoveryKeyStore.discardStagedRecoveryKey();
1863
- bootstrapError = formatErrorMessage(err);
1864
- }
1865
- const verification = await this.getOwnDeviceVerificationStatus();
1866
- const crossSigning = await this.getOwnCrossSigningPublicationStatus();
1867
- 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";
1868
- const backupError = verificationError === null ? resolveMatrixRoomKeyBackupReadinessError(verification.backup, {
1869
- allowUntrustedMatchingKey: Boolean(rawRecoveryKey),
1870
- requireServerBackup: true
1871
- }) : null;
1872
- const success = verificationError === null && backupError === null;
1873
- if (success) await this.recoveryKeyStore.commitStagedRecoveryKey({ keyId: await this.resolveDefaultSecretStorageKeyId(this.client.getCrypto()) });
1874
- else await this.recoveryKeyStore.discardStagedRecoveryKey();
1875
- return {
1876
- success,
1877
- error: success ? void 0 : backupError ?? verificationError ?? void 0,
1878
- verification: success ? await this.getOwnDeviceVerificationStatus() : verification,
1879
- crossSigning,
1880
- pendingVerifications: await pendingVerifications(),
1881
- cryptoBootstrap: bootstrapSummary
1882
- };
1883
- }
1884
- async listOwnDevices() {
1885
- return await listMatrixOwnDevices(this.client);
1886
- }
1887
- async deleteOwnDevices(deviceIds) {
1888
- const uniqueDeviceIds = uniqueStrings(normalizeStringEntries(deviceIds));
1889
- const currentDeviceId = this.client.getDeviceId()?.trim() || null;
1890
- const protectedDeviceIds = uniqueDeviceIds.filter((deviceId) => deviceId === currentDeviceId);
1891
- if (protectedDeviceIds.length > 0) throw new Error(`Refusing to delete the current Matrix device: ${protectedDeviceIds[0]}`);
1892
- const deleteWithAuth = async (authData) => {
1893
- await this.client.deleteMultipleDevices(uniqueDeviceIds, authData);
1894
- };
1895
- if (uniqueDeviceIds.length > 0) try {
1896
- await deleteWithAuth();
1897
- } catch (err) {
1898
- 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;
1899
- const userId = await this.getUserId().catch(() => this.selfUserId);
1900
- if (!session || !userId || !this.password?.trim()) throw err;
1901
- await deleteWithAuth({
1902
- type: "m.login.password",
1903
- session,
1904
- identifier: {
1905
- type: "m.id.user",
1906
- user: userId
1907
- },
1908
- password: this.password
1909
- });
1910
- }
1911
- return {
1912
- currentDeviceId,
1913
- deletedDeviceIds: uniqueDeviceIds,
1914
- remainingDevices: await this.listOwnDevices()
1915
- };
1916
- }
1917
- registerBridge() {
1918
- const decryptBridge = this.decryptBridge;
1919
- if (this.bridgeRegistered || !decryptBridge) return;
1920
- this.bridgeRegistered = true;
1921
- registerMatrixClientBridge({
1922
- client: this.client,
1923
- decryptBridge,
1924
- emitter: this.emitter,
1925
- emitMembershipForRoom: (room) => this.emitMembershipForRoom(room),
1926
- getSelfUserId: () => this.client.getUserId() ?? this.selfUserId ?? "",
1927
- setCurrentSyncState: (state, error) => {
1928
- this.currentSyncState = state;
1929
- this.currentSyncError = error;
1930
- }
1931
- });
1932
- }
1933
- emitMembershipForRoom(room) {
1934
- emitMatrixMembershipForRoom({
1935
- client: this.client,
1936
- emitter: this.emitter,
1937
- room,
1938
- selfUserId: this.client.getUserId() ?? this.selfUserId ?? ""
1939
- });
1940
- }
1941
- emitOutstandingInviteEvents() {
1942
- for (const room of this.client.getRooms()) this.emitMembershipForRoom(room);
1943
- }
1944
- async refreshDmCache() {
1945
- return refreshMatrixDmRoomIds(await this.getAccountData("m.direct"), this.dmRoomIds);
1946
- }
1947
- };
1948
- //#endregion
1949
- export { ConsoleLogger, LogService, MatrixClient, isRepairableSecretStorageAccessError as n, sdk_exports as t };