@openclaw/matrix 2026.9.5 → 2026.9.7

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 (2291) 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 +144 -290
  68. package/dist/helper-api.js +3 -3
  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/@babel/runtime/package.json +486 -0
  78. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +1289 -0
  79. package/node_modules/@openclaw/fs-safe/LICENSE +22 -0
  80. package/node_modules/@openclaw/fs-safe/README.md +672 -0
  81. package/node_modules/@openclaw/fs-safe/SECURITY.md +45 -0
  82. package/node_modules/@openclaw/fs-safe/dist/absolute-path.d.ts +32 -0
  83. package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +323 -0
  84. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +41 -0
  85. package/node_modules/@openclaw/fs-safe/dist/advanced.js +40 -0
  86. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.d.ts +1 -0
  87. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.js +19 -0
  88. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.d.ts +11 -0
  89. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.js +101 -0
  90. package/node_modules/@openclaw/fs-safe/dist/archive-durability.d.ts +23 -0
  91. package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +180 -0
  92. package/node_modules/@openclaw/fs-safe/dist/archive-entry.d.ts +13 -0
  93. package/node_modules/@openclaw/fs-safe/dist/archive-entry.js +85 -0
  94. package/node_modules/@openclaw/fs-safe/dist/archive-errors.d.ts +12 -0
  95. package/node_modules/@openclaw/fs-safe/dist/archive-errors.js +23 -0
  96. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.d.ts +20 -0
  97. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.js +99 -0
  98. package/node_modules/@openclaw/fs-safe/dist/archive-input.d.ts +18 -0
  99. package/node_modules/@openclaw/fs-safe/dist/archive-input.js +98 -0
  100. package/node_modules/@openclaw/fs-safe/dist/archive-kind.d.ts +7 -0
  101. package/node_modules/@openclaw/fs-safe/dist/archive-kind.js +71 -0
  102. package/node_modules/@openclaw/fs-safe/dist/archive-limits.d.ts +56 -0
  103. package/node_modules/@openclaw/fs-safe/dist/archive-limits.js +131 -0
  104. package/node_modules/@openclaw/fs-safe/dist/archive-merge.d.ts +22 -0
  105. package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +282 -0
  106. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.d.ts +1 -0
  107. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.js +12 -0
  108. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  109. package/node_modules/@openclaw/fs-safe/dist/archive-plan.d.ts +85 -0
  110. package/node_modules/@openclaw/fs-safe/dist/archive-plan.js +119 -0
  111. package/node_modules/@openclaw/fs-safe/dist/archive-read.d.ts +5 -0
  112. package/node_modules/@openclaw/fs-safe/dist/archive-read.js +234 -0
  113. package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +32 -0
  114. package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +308 -0
  115. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.d.ts +27 -0
  116. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.js +127 -0
  117. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.d.ts +29 -0
  118. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.js +203 -0
  119. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.d.ts +7 -0
  120. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.js +96 -0
  121. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.d.ts +1 -0
  122. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.js +160 -0
  123. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.d.ts +21 -0
  124. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.js +267 -0
  125. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.d.ts +24 -0
  126. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.js +10 -0
  127. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.d.ts +4 -0
  128. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.js +30 -0
  129. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.d.ts +12 -0
  130. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.js +150 -0
  131. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.d.ts +4 -0
  132. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.js +24 -0
  133. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.d.ts +17 -0
  134. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.js +149 -0
  135. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.d.ts +4 -0
  136. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.js +21 -0
  137. package/node_modules/@openclaw/fs-safe/dist/archive.d.ts +20 -0
  138. package/node_modules/@openclaw/fs-safe/dist/archive.js +332 -0
  139. package/node_modules/@openclaw/fs-safe/dist/async-lock.d.ts +1 -0
  140. package/node_modules/@openclaw/fs-safe/dist/async-lock.js +17 -0
  141. package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +6 -0
  142. package/node_modules/@openclaw/fs-safe/dist/atomic.js +4 -0
  143. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.d.ts +2 -0
  144. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.js +15 -0
  145. package/node_modules/@openclaw/fs-safe/dist/bounded-read.d.ts +25 -0
  146. package/node_modules/@openclaw/fs-safe/dist/bounded-read.js +143 -0
  147. package/node_modules/@openclaw/fs-safe/dist/byte-budget.d.ts +3 -0
  148. package/node_modules/@openclaw/fs-safe/dist/byte-budget.js +9 -0
  149. package/node_modules/@openclaw/fs-safe/dist/byte-view.d.ts +2 -0
  150. package/node_modules/@openclaw/fs-safe/dist/byte-view.js +13 -0
  151. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.d.ts +19 -0
  152. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.js +36 -0
  153. package/node_modules/@openclaw/fs-safe/dist/config.d.ts +2 -0
  154. package/node_modules/@openclaw/fs-safe/dist/config.js +2 -0
  155. package/node_modules/@openclaw/fs-safe/dist/containment.d.ts +1 -0
  156. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.d.ts +21 -0
  157. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.js +71 -0
  158. package/node_modules/@openclaw/fs-safe/dist/copy-policy.d.ts +2 -0
  159. package/node_modules/@openclaw/fs-safe/dist/copy-policy.js +8 -0
  160. package/node_modules/@openclaw/fs-safe/dist/copy-publication.d.ts +18 -0
  161. package/node_modules/@openclaw/fs-safe/dist/copy-publication.js +29 -0
  162. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.d.ts +8 -0
  163. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.js +245 -0
  164. package/node_modules/@openclaw/fs-safe/dist/copy.d.ts +15 -0
  165. package/node_modules/@openclaw/fs-safe/dist/copy.js +143 -0
  166. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.d.ts +7 -0
  167. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.js +16 -0
  168. package/node_modules/@openclaw/fs-safe/dist/create.d.ts +17 -0
  169. package/node_modules/@openclaw/fs-safe/dist/create.js +388 -0
  170. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.d.ts +60 -0
  171. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.js +371 -0
  172. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.d.ts +2 -0
  173. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.js +71 -0
  174. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.d.ts +11 -0
  175. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.js +96 -0
  176. package/node_modules/@openclaw/fs-safe/dist/device-path.d.ts +14 -0
  177. package/node_modules/@openclaw/fs-safe/dist/device-path.js +139 -0
  178. package/node_modules/@openclaw/fs-safe/dist/directory-durability.d.ts +43 -0
  179. package/node_modules/@openclaw/fs-safe/dist/directory-durability.js +286 -0
  180. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.d.ts +2 -0
  181. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.js +21 -0
  182. package/node_modules/@openclaw/fs-safe/dist/directory-guard.d.ts +54 -0
  183. package/node_modules/@openclaw/fs-safe/dist/directory-guard.js +176 -0
  184. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +39 -0
  185. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +285 -0
  186. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.d.ts +23 -0
  187. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.js +121 -0
  188. package/node_modules/@openclaw/fs-safe/dist/durability.d.ts +4 -0
  189. package/node_modules/@openclaw/fs-safe/dist/durability.js +3 -0
  190. package/node_modules/@openclaw/fs-safe/dist/effective-uid.d.ts +1 -0
  191. package/node_modules/@openclaw/fs-safe/dist/effective-uid.js +22 -0
  192. package/node_modules/@openclaw/fs-safe/dist/error-detail.d.ts +2 -0
  193. package/node_modules/@openclaw/fs-safe/dist/error-detail.js +13 -0
  194. package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +15 -0
  195. package/node_modules/@openclaw/fs-safe/dist/errors.js +27 -0
  196. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.d.ts +19 -0
  197. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.js +81 -0
  198. package/node_modules/@openclaw/fs-safe/dist/file-contents.d.ts +5 -0
  199. package/node_modules/@openclaw/fs-safe/dist/file-contents.js +40 -0
  200. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.d.ts +15 -0
  201. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.js +190 -0
  202. package/node_modules/@openclaw/fs-safe/dist/file-hash.d.ts +16 -0
  203. package/node_modules/@openclaw/fs-safe/dist/file-hash.js +296 -0
  204. package/node_modules/@openclaw/fs-safe/dist/file-identity.d.ts +7 -0
  205. package/node_modules/@openclaw/fs-safe/dist/file-identity.js +56 -0
  206. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.d.ts +22 -0
  207. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.js +98 -0
  208. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +17 -0
  209. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +58 -0
  210. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
  211. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +303 -0
  212. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +17 -0
  213. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +66 -0
  214. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.d.ts +25 -0
  215. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.js +392 -0
  216. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.d.ts +40 -0
  217. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.js +209 -0
  218. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.d.ts +16 -0
  219. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.js +275 -0
  220. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.d.ts +11 -0
  221. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.js +58 -0
  222. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.d.ts +1 -0
  223. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.js +90 -0
  224. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.d.ts +34 -0
  225. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.js +288 -0
  226. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.d.ts +19 -0
  227. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +199 -0
  228. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.d.ts +17 -0
  229. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.js +341 -0
  230. package/node_modules/@openclaw/fs-safe/dist/file-lock.d.ts +23 -0
  231. package/node_modules/@openclaw/fs-safe/dist/file-lock.js +66 -0
  232. package/node_modules/@openclaw/fs-safe/dist/file-observation.d.ts +8 -0
  233. package/node_modules/@openclaw/fs-safe/dist/file-observation.js +22 -0
  234. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +34 -0
  235. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +174 -0
  236. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +11 -0
  237. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +110 -0
  238. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +15 -0
  239. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +319 -0
  240. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +9 -0
  241. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +128 -0
  242. package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +62 -0
  243. package/node_modules/@openclaw/fs-safe/dist/file-store.js +360 -0
  244. package/node_modules/@openclaw/fs-safe/dist/file-sync.d.ts +4 -0
  245. package/node_modules/@openclaw/fs-safe/dist/file-sync.js +19 -0
  246. package/node_modules/@openclaw/fs-safe/dist/filename.d.ts +8 -0
  247. package/node_modules/@openclaw/fs-safe/dist/filename.js +138 -0
  248. package/node_modules/@openclaw/fs-safe/dist/fs.d.ts +12 -0
  249. package/node_modules/@openclaw/fs-safe/dist/fs.js +30 -0
  250. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +25 -0
  251. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +281 -0
  252. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.d.ts +32 -0
  253. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +81 -0
  254. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.d.ts +1 -0
  255. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.js +68 -0
  256. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.d.ts +3 -0
  257. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +127 -0
  258. package/node_modules/@openclaw/fs-safe/dist/guest.d.ts +8 -0
  259. package/node_modules/@openclaw/fs-safe/dist/guest.js +433 -0
  260. package/node_modules/@openclaw/fs-safe/dist/home-dir.d.ts +11 -0
  261. package/node_modules/@openclaw/fs-safe/dist/home-dir.js +149 -0
  262. package/node_modules/@openclaw/fs-safe/dist/index.d.ts +9 -0
  263. package/node_modules/@openclaw/fs-safe/dist/index.js +5 -0
  264. package/node_modules/@openclaw/fs-safe/dist/install-path.d.ts +25 -0
  265. package/node_modules/@openclaw/fs-safe/dist/install-path.js +136 -0
  266. package/node_modules/@openclaw/fs-safe/dist/json-document-store.d.ts +32 -0
  267. package/node_modules/@openclaw/fs-safe/dist/json-document-store.js +105 -0
  268. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.d.ts +14 -0
  269. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.js +154 -0
  270. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.d.ts +19 -0
  271. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.js +355 -0
  272. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.d.ts +5 -0
  273. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.js +65 -0
  274. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.d.ts +44 -0
  275. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.js +210 -0
  276. package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +8 -0
  277. package/node_modules/@openclaw/fs-safe/dist/json-store.js +15 -0
  278. package/node_modules/@openclaw/fs-safe/dist/json-stringify.d.ts +1 -0
  279. package/node_modules/@openclaw/fs-safe/dist/json-stringify.js +7 -0
  280. package/node_modules/@openclaw/fs-safe/dist/json.d.ts +49 -0
  281. package/node_modules/@openclaw/fs-safe/dist/json.js +323 -0
  282. package/node_modules/@openclaw/fs-safe/dist/local-file-access.d.ts +8 -0
  283. package/node_modules/@openclaw/fs-safe/dist/local-file-access.js +81 -0
  284. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.d.ts +13 -0
  285. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.js +84 -0
  286. package/node_modules/@openclaw/fs-safe/dist/local-roots.d.ts +20 -0
  287. package/node_modules/@openclaw/fs-safe/dist/local-roots.js +160 -0
  288. package/node_modules/@openclaw/fs-safe/dist/lock-config.d.ts +9 -0
  289. package/node_modules/@openclaw/fs-safe/dist/lock-config.js +12 -0
  290. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.d.ts +30 -0
  291. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.js +224 -0
  292. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.d.ts +7 -0
  293. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.js +56 -0
  294. package/node_modules/@openclaw/fs-safe/dist/move-path.d.ts +20 -0
  295. package/node_modules/@openclaw/fs-safe/dist/move-path.js +390 -0
  296. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.d.ts +8 -0
  297. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.js +41 -0
  298. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +199 -0
  299. package/node_modules/@openclaw/fs-safe/dist/native-binding.js +8 -0
  300. package/node_modules/@openclaw/fs-safe/dist/native-config.d.ts +16 -0
  301. package/node_modules/@openclaw/fs-safe/dist/native-config.js +71 -0
  302. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.d.ts +16 -0
  303. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.js +37 -0
  304. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.d.ts +3 -0
  305. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.js +11 -0
  306. package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +15 -0
  307. package/node_modules/@openclaw/fs-safe/dist/native-operations.js +111 -0
  308. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.d.ts +34 -0
  309. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.js +147 -0
  310. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.d.ts +6 -0
  311. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +252 -0
  312. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.d.ts +4 -0
  313. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +478 -0
  314. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.d.ts +11 -0
  315. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.js +61 -0
  316. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.d.ts +13 -0
  317. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.js +209 -0
  318. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.d.ts +3 -0
  319. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.js +8 -0
  320. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +45 -0
  321. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +442 -0
  322. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.d.ts +13 -0
  323. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.js +303 -0
  324. package/node_modules/@openclaw/fs-safe/dist/native.d.ts +13 -0
  325. package/node_modules/@openclaw/fs-safe/dist/native.js +209 -0
  326. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.d.ts +7 -0
  327. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.js +46 -0
  328. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.d.ts +15 -0
  329. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.js +102 -0
  330. package/node_modules/@openclaw/fs-safe/dist/output.d.ts +16 -0
  331. package/node_modules/@openclaw/fs-safe/dist/output.js +139 -0
  332. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +7 -0
  333. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +46 -0
  334. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.d.ts +1 -0
  335. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.js +54 -0
  336. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.d.ts +5 -0
  337. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.js +64 -0
  338. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.d.ts +32 -0
  339. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.js +39 -0
  340. package/node_modules/@openclaw/fs-safe/dist/path-case.d.ts +6 -0
  341. package/node_modules/@openclaw/fs-safe/dist/path-case.js +136 -0
  342. package/node_modules/@openclaw/fs-safe/dist/path-policy.d.ts +24 -0
  343. package/node_modules/@openclaw/fs-safe/dist/path-policy.js +49 -0
  344. package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +6 -0
  345. package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +104 -0
  346. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.d.ts +13 -0
  347. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.js +37 -0
  348. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.d.ts +6 -0
  349. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.js +24 -0
  350. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.d.ts +11 -0
  351. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.js +394 -0
  352. package/node_modules/@openclaw/fs-safe/dist/path.d.ts +20 -0
  353. package/node_modules/@openclaw/fs-safe/dist/path.js +185 -0
  354. package/node_modules/@openclaw/fs-safe/dist/permission-exec.d.ts +32 -0
  355. package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +194 -0
  356. package/node_modules/@openclaw/fs-safe/dist/permissions-public.d.ts +5 -0
  357. package/node_modules/@openclaw/fs-safe/dist/permissions-public.js +4 -0
  358. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.d.ts +48 -0
  359. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.js +319 -0
  360. package/node_modules/@openclaw/fs-safe/dist/permissions.d.ts +52 -0
  361. package/node_modules/@openclaw/fs-safe/dist/permissions.js +131 -0
  362. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.d.ts +23 -0
  363. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.js +421 -0
  364. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.d.ts +38 -0
  365. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.js +205 -0
  366. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.d.ts +18 -0
  367. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.js +70 -0
  368. package/node_modules/@openclaw/fs-safe/dist/pinned-open.d.ts +30 -0
  369. package/node_modules/@openclaw/fs-safe/dist/pinned-open.js +98 -0
  370. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.d.ts +1 -0
  371. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.js +22 -0
  372. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.d.ts +3 -0
  373. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +35 -0
  374. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.d.ts +4 -0
  375. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.js +31 -0
  376. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.d.ts +5 -0
  377. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.js +185 -0
  378. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +68 -0
  379. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.js +1 -0
  380. package/node_modules/@openclaw/fs-safe/dist/pinned-write.d.ts +12 -0
  381. package/node_modules/@openclaw/fs-safe/dist/pinned-write.js +300 -0
  382. package/node_modules/@openclaw/fs-safe/dist/positional-read.d.ts +8 -0
  383. package/node_modules/@openclaw/fs-safe/dist/positional-read.js +36 -0
  384. package/node_modules/@openclaw/fs-safe/dist/private-directory.d.ts +4 -0
  385. package/node_modules/@openclaw/fs-safe/dist/private-directory.js +30 -0
  386. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.d.ts +3 -0
  387. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.js +72 -0
  388. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.d.ts +53 -0
  389. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.js +358 -0
  390. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.d.ts +7 -0
  391. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +341 -0
  392. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.d.ts +13 -0
  393. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.js +60 -0
  394. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.d.ts +27 -0
  395. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.js +22 -0
  396. package/node_modules/@openclaw/fs-safe/dist/publish-file.d.ts +19 -0
  397. package/node_modules/@openclaw/fs-safe/dist/publish-file.js +332 -0
  398. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.d.ts +7 -0
  399. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.js +13 -0
  400. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.d.ts +17 -0
  401. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.js +18 -0
  402. package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +3 -0
  403. package/node_modules/@openclaw/fs-safe/dist/realpath.js +43 -0
  404. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.d.ts +2 -0
  405. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.js +8 -0
  406. package/node_modules/@openclaw/fs-safe/dist/regular-file.d.ts +37 -0
  407. package/node_modules/@openclaw/fs-safe/dist/regular-file.js +317 -0
  408. package/node_modules/@openclaw/fs-safe/dist/replace-directory.d.ts +6 -0
  409. package/node_modules/@openclaw/fs-safe/dist/replace-directory.js +275 -0
  410. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.d.ts +4 -0
  411. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.js +36 -0
  412. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.d.ts +32 -0
  413. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +369 -0
  414. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.d.ts +20 -0
  415. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.js +101 -0
  416. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +46 -0
  417. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +168 -0
  418. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.d.ts +21 -0
  419. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.js +123 -0
  420. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.d.ts +2 -0
  421. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.js +10 -0
  422. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.d.ts +26 -0
  423. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.js +47 -0
  424. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.d.ts +5 -0
  425. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.js +30 -0
  426. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.d.ts +49 -0
  427. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.js +368 -0
  428. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +55 -0
  429. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.js +1 -0
  430. package/node_modules/@openclaw/fs-safe/dist/replace-file.d.ts +6 -0
  431. package/node_modules/@openclaw/fs-safe/dist/replace-file.js +356 -0
  432. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.d.ts +26 -0
  433. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.js +193 -0
  434. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.d.ts +50 -0
  435. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.js +1 -0
  436. package/node_modules/@openclaw/fs-safe/dist/retained-file.d.ts +3 -0
  437. package/node_modules/@openclaw/fs-safe/dist/retained-file.js +121 -0
  438. package/node_modules/@openclaw/fs-safe/dist/root-boundary.d.ts +29 -0
  439. package/node_modules/@openclaw/fs-safe/dist/root-boundary.js +186 -0
  440. package/node_modules/@openclaw/fs-safe/dist/root-context.d.ts +43 -0
  441. package/node_modules/@openclaw/fs-safe/dist/root-context.js +233 -0
  442. package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +16 -0
  443. package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +93 -0
  444. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.d.ts +12 -0
  445. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.js +225 -0
  446. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.d.ts +9 -0
  447. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +28 -0
  448. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +46 -0
  449. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +433 -0
  450. package/node_modules/@openclaw/fs-safe/dist/root-directory.d.ts +22 -0
  451. package/node_modules/@openclaw/fs-safe/dist/root-directory.js +141 -0
  452. package/node_modules/@openclaw/fs-safe/dist/root-entries.d.ts +10 -0
  453. package/node_modules/@openclaw/fs-safe/dist/root-entries.js +61 -0
  454. package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +16 -0
  455. package/node_modules/@openclaw/fs-safe/dist/root-errors.js +92 -0
  456. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.d.ts +20 -0
  457. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.js +81 -0
  458. package/node_modules/@openclaw/fs-safe/dist/root-file.d.ts +46 -0
  459. package/node_modules/@openclaw/fs-safe/dist/root-file.js +205 -0
  460. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.d.ts +4 -0
  461. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.js +12 -0
  462. package/node_modules/@openclaw/fs-safe/dist/root-impl.d.ts +117 -0
  463. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +1446 -0
  464. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.d.ts +10 -0
  465. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.js +205 -0
  466. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +7 -0
  467. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +16 -0
  468. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.d.ts +7 -0
  469. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.js +90 -0
  470. package/node_modules/@openclaw/fs-safe/dist/root-options.d.ts +84 -0
  471. package/node_modules/@openclaw/fs-safe/dist/root-options.js +18 -0
  472. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.d.ts +12 -0
  473. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.js +22 -0
  474. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +12 -0
  475. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +160 -0
  476. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.d.ts +55 -0
  477. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.js +180 -0
  478. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.d.ts +4 -0
  479. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.js +151 -0
  480. package/node_modules/@openclaw/fs-safe/dist/root-path.d.ts +53 -0
  481. package/node_modules/@openclaw/fs-safe/dist/root-path.js +440 -0
  482. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.d.ts +8 -0
  483. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.js +22 -0
  484. package/node_modules/@openclaw/fs-safe/dist/root-paths.d.ts +58 -0
  485. package/node_modules/@openclaw/fs-safe/dist/root-paths.js +296 -0
  486. package/node_modules/@openclaw/fs-safe/dist/root-public-types.d.ts +11 -0
  487. package/node_modules/@openclaw/fs-safe/dist/root-public-types.js +1 -0
  488. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.d.ts +25 -0
  489. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.js +86 -0
  490. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.d.ts +12 -0
  491. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.js +87 -0
  492. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.d.ts +16 -0
  493. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.js +37 -0
  494. package/node_modules/@openclaw/fs-safe/dist/root-remove.d.ts +6 -0
  495. package/node_modules/@openclaw/fs-safe/dist/root-remove.js +464 -0
  496. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.d.ts +13 -0
  497. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.js +34 -0
  498. package/node_modules/@openclaw/fs-safe/dist/root-walk.d.ts +48 -0
  499. package/node_modules/@openclaw/fs-safe/dist/root-walk.js +234 -0
  500. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.d.ts +65 -0
  501. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +299 -0
  502. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.d.ts +11 -0
  503. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.js +23 -0
  504. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.d.ts +43 -0
  505. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.js +180 -0
  506. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.d.ts +14 -0
  507. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.js +162 -0
  508. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.d.ts +7 -0
  509. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.js +72 -0
  510. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.d.ts +23 -0
  511. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.js +85 -0
  512. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +11 -0
  513. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +95 -0
  514. package/node_modules/@openclaw/fs-safe/dist/root.d.ts +2 -0
  515. package/node_modules/@openclaw/fs-safe/dist/root.js +1 -0
  516. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.d.ts +12 -0
  517. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.js +80 -0
  518. package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +29 -0
  519. package/node_modules/@openclaw/fs-safe/dist/secret-file.js +333 -0
  520. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.d.ts +3 -0
  521. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.js +58 -0
  522. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.d.ts +20 -0
  523. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.js +68 -0
  524. package/node_modules/@openclaw/fs-safe/dist/secret.d.ts +3 -0
  525. package/node_modules/@openclaw/fs-safe/dist/secret.js +3 -0
  526. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.d.ts +10 -0
  527. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.js +79 -0
  528. package/node_modules/@openclaw/fs-safe/dist/secure-file.d.ts +31 -0
  529. package/node_modules/@openclaw/fs-safe/dist/secure-file.js +298 -0
  530. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.d.ts +29 -0
  531. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +176 -0
  532. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.d.ts +34 -0
  533. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.js +110 -0
  534. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.d.ts +17 -0
  535. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +301 -0
  536. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +28 -0
  537. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +132 -0
  538. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.d.ts +4 -0
  539. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +442 -0
  540. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.d.ts +18 -0
  541. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.js +60 -0
  542. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.d.ts +41 -0
  543. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.js +113 -0
  544. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +31 -0
  545. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.js +1 -0
  546. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.d.ts +20 -0
  547. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.js +48 -0
  548. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +14 -0
  549. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +113 -0
  550. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.d.ts +67 -0
  551. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.js +374 -0
  552. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.d.ts +13 -0
  553. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.js +47 -0
  554. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.d.ts +2 -0
  555. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.js +79 -0
  556. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.d.ts +34 -0
  557. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +228 -0
  558. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.d.ts +7 -0
  559. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.js +55 -0
  560. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.d.ts +68 -0
  561. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.js +1 -0
  562. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.d.ts +13 -0
  563. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +282 -0
  564. package/node_modules/@openclaw/fs-safe/dist/staged-directory.d.ts +27 -0
  565. package/node_modules/@openclaw/fs-safe/dist/staged-directory.js +148 -0
  566. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.d.ts +16 -0
  567. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.js +57 -0
  568. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.d.ts +55 -0
  569. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.js +1 -0
  570. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.d.ts +39 -0
  571. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.js +1 -0
  572. package/node_modules/@openclaw/fs-safe/dist/stat-observation.d.ts +10 -0
  573. package/node_modules/@openclaw/fs-safe/dist/stat-observation.js +57 -0
  574. package/node_modules/@openclaw/fs-safe/dist/store.d.ts +3 -0
  575. package/node_modules/@openclaw/fs-safe/dist/store.js +3 -0
  576. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.d.ts +7 -0
  577. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.js +88 -0
  578. package/node_modules/@openclaw/fs-safe/dist/string-coerce.d.ts +4 -0
  579. package/node_modules/@openclaw/fs-safe/dist/string-coerce.js +16 -0
  580. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.d.ts +5 -0
  581. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.js +15 -0
  582. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.d.ts +11 -0
  583. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.js +109 -0
  584. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.d.ts +13 -0
  585. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.js +88 -0
  586. package/node_modules/@openclaw/fs-safe/dist/temp-target.d.ts +31 -0
  587. package/node_modules/@openclaw/fs-safe/dist/temp-target.js +236 -0
  588. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.d.ts +14 -0
  589. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +387 -0
  590. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +23 -0
  591. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +150 -0
  592. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.d.ts +42 -0
  593. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +341 -0
  594. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.d.ts +24 -0
  595. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.js +398 -0
  596. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.d.ts +8 -0
  597. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.js +52 -0
  598. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +39 -0
  599. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.js +1 -0
  600. package/node_modules/@openclaw/fs-safe/dist/temp.d.ts +3 -0
  601. package/node_modules/@openclaw/fs-safe/dist/temp.js +2 -0
  602. package/node_modules/@openclaw/fs-safe/dist/test-hooks.d.ts +35 -0
  603. package/node_modules/@openclaw/fs-safe/dist/test-hooks.js +13 -0
  604. package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +14 -0
  605. package/node_modules/@openclaw/fs-safe/dist/text-atomic.js +18 -0
  606. package/node_modules/@openclaw/fs-safe/dist/timing.d.ts +8 -0
  607. package/node_modules/@openclaw/fs-safe/dist/timing.js +59 -0
  608. package/node_modules/@openclaw/fs-safe/dist/trash.d.ts +4 -0
  609. package/node_modules/@openclaw/fs-safe/dist/trash.js +245 -0
  610. package/node_modules/@openclaw/fs-safe/dist/types.d.ts +22 -0
  611. package/node_modules/@openclaw/fs-safe/dist/types.js +1 -0
  612. package/node_modules/@openclaw/fs-safe/dist/unicode-path.d.ts +2 -0
  613. package/node_modules/@openclaw/fs-safe/dist/unicode-path.js +16 -0
  614. package/node_modules/@openclaw/fs-safe/dist/walk.d.ts +37 -0
  615. package/node_modules/@openclaw/fs-safe/dist/walk.js +207 -0
  616. package/node_modules/@openclaw/fs-safe/dist/watch-alias.d.ts +6 -0
  617. package/node_modules/@openclaw/fs-safe/dist/watch-alias.js +88 -0
  618. package/node_modules/@openclaw/fs-safe/dist/watch-hints.d.ts +9 -0
  619. package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +93 -0
  620. package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +36 -0
  621. package/node_modules/@openclaw/fs-safe/dist/watch-native.js +73 -0
  622. package/node_modules/@openclaw/fs-safe/dist/watch-scan.d.ts +28 -0
  623. package/node_modules/@openclaw/fs-safe/dist/watch-scan.js +300 -0
  624. package/node_modules/@openclaw/fs-safe/dist/watch-stream.d.ts +8 -0
  625. package/node_modules/@openclaw/fs-safe/dist/watch-stream.js +32 -0
  626. package/node_modules/@openclaw/fs-safe/dist/watch-types.d.ts +60 -0
  627. package/node_modules/@openclaw/fs-safe/dist/watch-types.js +1 -0
  628. package/node_modules/@openclaw/fs-safe/dist/watch.d.ts +5 -0
  629. package/node_modules/@openclaw/fs-safe/dist/watch.js +530 -0
  630. package/node_modules/@openclaw/fs-safe/dist/windows-command.d.ts +1 -0
  631. package/node_modules/@openclaw/fs-safe/dist/windows-command.js +34 -0
  632. package/node_modules/@openclaw/fs-safe/dist/windows-owner.d.ts +24 -0
  633. package/node_modules/@openclaw/fs-safe/dist/windows-owner.js +100 -0
  634. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.d.ts +39 -0
  635. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.js +122 -0
  636. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.d.ts +5 -0
  637. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.js +21 -0
  638. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.cs +336 -0
  639. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.ps1 +90 -0
  640. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.d.ts +33 -0
  641. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.js +414 -0
  642. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.d.ts +9 -0
  643. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.js +112 -0
  644. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +13 -0
  645. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +49 -0
  646. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.d.ts +4 -0
  647. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.js +27 -0
  648. package/node_modules/@openclaw/fs-safe/dist/write-queue.d.ts +1 -0
  649. package/node_modules/@openclaw/fs-safe/dist/write-queue.js +15 -0
  650. package/node_modules/@openclaw/fs-safe/docs/advanced.md +271 -0
  651. package/node_modules/@openclaw/fs-safe/docs/archive.md +859 -0
  652. package/node_modules/@openclaw/fs-safe/docs/assets/readme-banner.jpg +0 -0
  653. package/node_modules/@openclaw/fs-safe/docs/atomic.md +611 -0
  654. package/node_modules/@openclaw/fs-safe/docs/config.md +136 -0
  655. package/node_modules/@openclaw/fs-safe/docs/contributing.md +360 -0
  656. package/node_modules/@openclaw/fs-safe/docs/copy.md +199 -0
  657. package/node_modules/@openclaw/fs-safe/docs/creation.md +132 -0
  658. package/node_modules/@openclaw/fs-safe/docs/directory-identity.md +85 -0
  659. package/node_modules/@openclaw/fs-safe/docs/durability.md +445 -0
  660. package/node_modules/@openclaw/fs-safe/docs/entries.md +109 -0
  661. package/node_modules/@openclaw/fs-safe/docs/errors.md +240 -0
  662. package/node_modules/@openclaw/fs-safe/docs/file-contents.md +68 -0
  663. package/node_modules/@openclaw/fs-safe/docs/file-store.md +369 -0
  664. package/node_modules/@openclaw/fs-safe/docs/filename.md +110 -0
  665. package/node_modules/@openclaw/fs-safe/docs/guest.md +152 -0
  666. package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +81 -0
  667. package/node_modules/@openclaw/fs-safe/docs/index.md +87 -0
  668. package/node_modules/@openclaw/fs-safe/docs/install-path.md +216 -0
  669. package/node_modules/@openclaw/fs-safe/docs/install.md +252 -0
  670. package/node_modules/@openclaw/fs-safe/docs/json-store.md +240 -0
  671. package/node_modules/@openclaw/fs-safe/docs/json.md +225 -0
  672. package/node_modules/@openclaw/fs-safe/docs/local-roots.md +150 -0
  673. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +205 -0
  674. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.6.md +48 -0
  675. package/node_modules/@openclaw/fs-safe/docs/mutation-policy-proof.md +69 -0
  676. package/node_modules/@openclaw/fs-safe/docs/native-helper.md +193 -0
  677. package/node_modules/@openclaw/fs-safe/docs/native.md +351 -0
  678. package/node_modules/@openclaw/fs-safe/docs/output.md +193 -0
  679. package/node_modules/@openclaw/fs-safe/docs/path-case.md +64 -0
  680. package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +74 -0
  681. package/node_modules/@openclaw/fs-safe/docs/path-scope.md +159 -0
  682. package/node_modules/@openclaw/fs-safe/docs/path-suffix-aliases.md +204 -0
  683. package/node_modules/@openclaw/fs-safe/docs/path.md +219 -0
  684. package/node_modules/@openclaw/fs-safe/docs/permissions.md +352 -0
  685. package/node_modules/@openclaw/fs-safe/docs/positional-read.md +63 -0
  686. package/node_modules/@openclaw/fs-safe/docs/private-file-store.md +68 -0
  687. package/node_modules/@openclaw/fs-safe/docs/public-api.md +188 -0
  688. package/node_modules/@openclaw/fs-safe/docs/quickstart.md +154 -0
  689. package/node_modules/@openclaw/fs-safe/docs/reading.md +196 -0
  690. package/node_modules/@openclaw/fs-safe/docs/regular-file.md +193 -0
  691. package/node_modules/@openclaw/fs-safe/docs/retained-file.md +115 -0
  692. package/node_modules/@openclaw/fs-safe/docs/root.md +571 -0
  693. package/node_modules/@openclaw/fs-safe/docs/secret-file.md +318 -0
  694. package/node_modules/@openclaw/fs-safe/docs/secure-file.md +112 -0
  695. package/node_modules/@openclaw/fs-safe/docs/security-model.md +272 -0
  696. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +599 -0
  697. package/node_modules/@openclaw/fs-safe/docs/staged-file.md +192 -0
  698. package/node_modules/@openclaw/fs-safe/docs/staged-symlink.md +124 -0
  699. package/node_modules/@openclaw/fs-safe/docs/store.md +129 -0
  700. package/node_modules/@openclaw/fs-safe/docs/temp.md +780 -0
  701. package/node_modules/@openclaw/fs-safe/docs/test-hooks.md +110 -0
  702. package/node_modules/@openclaw/fs-safe/docs/testing.md +399 -0
  703. package/node_modules/@openclaw/fs-safe/docs/timing.md +123 -0
  704. package/node_modules/@openclaw/fs-safe/docs/types.md +217 -0
  705. package/node_modules/@openclaw/fs-safe/docs/walk.md +283 -0
  706. package/node_modules/@openclaw/fs-safe/docs/watch.md +251 -0
  707. package/node_modules/@openclaw/fs-safe/docs/writing.md +662 -0
  708. package/node_modules/@openclaw/fs-safe/package.json +204 -0
  709. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  710. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +29 -0
  711. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  712. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +29 -0
  713. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  714. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +32 -0
  715. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  716. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +32 -0
  717. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  718. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +32 -0
  719. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  720. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +32 -0
  721. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  722. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +29 -0
  723. package/node_modules/argparse/lib/argparse.js +3820 -0
  724. package/node_modules/argparse/package.json +38 -0
  725. package/node_modules/content-type/README.md +81 -0
  726. package/node_modules/content-type/dist/index.d.ts +54 -0
  727. package/node_modules/content-type/dist/index.js +291 -0
  728. package/node_modules/content-type/dist/index.js.map +1 -0
  729. package/node_modules/content-type/package.json +61 -0
  730. package/node_modules/core-util-is/LICENSE +19 -0
  731. package/node_modules/core-util-is/README.md +3 -0
  732. package/node_modules/core-util-is/lib/util.js +107 -0
  733. package/node_modules/core-util-is/package.json +38 -0
  734. package/node_modules/file-type/package.json +275 -0
  735. package/node_modules/file-type/readme.md +605 -0
  736. package/node_modules/file-type/source/detectors/zip.js +653 -0
  737. package/node_modules/file-type/source/index.js +1956 -0
  738. package/node_modules/file-type/source/supported.js +370 -0
  739. package/node_modules/immediate/LICENSE.txt +20 -0
  740. package/node_modules/immediate/README.md +93 -0
  741. package/node_modules/immediate/dist/immediate.js +75 -0
  742. package/node_modules/immediate/dist/immediate.min.js +1 -0
  743. package/node_modules/immediate/lib/browser.js +69 -0
  744. package/node_modules/immediate/lib/index.js +73 -0
  745. package/node_modules/immediate/package.json +42 -0
  746. package/node_modules/inherits/LICENSE +16 -0
  747. package/node_modules/inherits/README.md +42 -0
  748. package/node_modules/inherits/inherits.js +9 -0
  749. package/node_modules/inherits/inherits_browser.js +27 -0
  750. package/node_modules/inherits/package.json +29 -0
  751. package/node_modules/isarray/.npmignore +1 -0
  752. package/node_modules/isarray/.travis.yml +4 -0
  753. package/node_modules/isarray/Makefile +6 -0
  754. package/node_modules/isarray/README.md +60 -0
  755. package/node_modules/isarray/component.json +19 -0
  756. package/node_modules/isarray/index.js +5 -0
  757. package/node_modules/isarray/package.json +45 -0
  758. package/node_modules/isarray/test.js +20 -0
  759. package/node_modules/jszip/.codeclimate.yml +16 -0
  760. package/node_modules/jszip/.editorconfig +8 -0
  761. package/node_modules/jszip/.eslintrc.js +43 -0
  762. package/node_modules/jszip/.github/FUNDING.yml +1 -0
  763. package/node_modules/jszip/.github/actions/setup/action.yml +23 -0
  764. package/node_modules/jszip/.github/workflows/benchmark.yml +38 -0
  765. package/node_modules/jszip/.github/workflows/main.yml +55 -0
  766. package/node_modules/jszip/CHANGES.md +210 -0
  767. package/node_modules/jszip/LICENSE.markdown +651 -0
  768. package/node_modules/jszip/README.markdown +33 -0
  769. package/node_modules/jszip/dist/jszip.js +11586 -0
  770. package/node_modules/jszip/dist/jszip.min.js +13 -0
  771. package/node_modules/jszip/index.d.ts +344 -0
  772. package/node_modules/jszip/lib/base64.js +106 -0
  773. package/node_modules/jszip/lib/compressedObject.js +74 -0
  774. package/node_modules/jszip/lib/compressions.js +14 -0
  775. package/node_modules/jszip/lib/crc32.js +77 -0
  776. package/node_modules/jszip/lib/defaults.js +11 -0
  777. package/node_modules/jszip/lib/external.js +18 -0
  778. package/node_modules/jszip/lib/flate.js +85 -0
  779. package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
  780. package/node_modules/jszip/lib/generate/index.js +57 -0
  781. package/node_modules/jszip/lib/index.js +55 -0
  782. package/node_modules/jszip/lib/license_header.js +11 -0
  783. package/node_modules/jszip/lib/load.js +88 -0
  784. package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  785. package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  786. package/node_modules/jszip/lib/nodejsUtils.js +57 -0
  787. package/node_modules/jszip/lib/object.js +384 -0
  788. package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
  789. package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  790. package/node_modules/jszip/lib/reader/DataReader.js +116 -0
  791. package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  792. package/node_modules/jszip/lib/reader/StringReader.js +38 -0
  793. package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  794. package/node_modules/jszip/lib/reader/readerFor.js +28 -0
  795. package/node_modules/jszip/lib/signature.js +7 -0
  796. package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  797. package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  798. package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  799. package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  800. package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  801. package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
  802. package/node_modules/jszip/lib/support.js +38 -0
  803. package/node_modules/jszip/lib/utf8.js +275 -0
  804. package/node_modules/jszip/lib/utils.js +510 -0
  805. package/node_modules/jszip/lib/zipEntries.js +261 -0
  806. package/node_modules/jszip/lib/zipEntry.js +293 -0
  807. package/node_modules/jszip/lib/zipObject.js +133 -0
  808. package/node_modules/jszip/package.json +67 -0
  809. package/node_modules/jszip/sponsors.md +21 -0
  810. package/node_modules/jszip/tsconfig.json +101 -0
  811. package/node_modules/jszip/vendor/FileSaver.js +247 -0
  812. package/node_modules/lie/README.md +62 -0
  813. package/node_modules/lie/dist/lie.js +350 -0
  814. package/node_modules/lie/dist/lie.min.js +1 -0
  815. package/node_modules/lie/dist/lie.polyfill.js +358 -0
  816. package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  817. package/node_modules/lie/lib/browser.js +273 -0
  818. package/node_modules/lie/lib/index.js +298 -0
  819. package/node_modules/lie/license.md +7 -0
  820. package/node_modules/lie/lie.d.ts +244 -0
  821. package/node_modules/lie/package.json +69 -0
  822. package/node_modules/lie/polyfill.js +4 -0
  823. package/node_modules/matrix-js-sdk/CHANGELOG.md +20 -0
  824. package/node_modules/matrix-js-sdk/lib/@types/json.d.ts.map +1 -1
  825. package/node_modules/matrix-js-sdk/lib/@types/json.js.map +1 -1
  826. package/node_modules/matrix-js-sdk/lib/client.d.ts +74 -5
  827. package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -1
  828. package/node_modules/matrix-js-sdk/lib/client.js +83 -7
  829. package/node_modules/matrix-js-sdk/lib/client.js.map +1 -1
  830. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts +42 -23
  831. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -1
  832. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js +7 -0
  833. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js.map +1 -1
  834. package/node_modules/matrix-js-sdk/lib/embedded.d.ts +35 -1
  835. package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -1
  836. package/node_modules/matrix-js-sdk/lib/embedded.js +49 -1
  837. package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -1
  838. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +0 -1
  839. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -1
  840. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js +3 -22
  841. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -1
  842. package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts +10 -0
  843. package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts.map +1 -0
  844. package/node_modules/matrix-js-sdk/lib/http-api/logging.js +46 -0
  845. package/node_modules/matrix-js-sdk/lib/http-api/logging.js.map +1 -0
  846. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +5 -0
  847. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -1
  848. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -1
  849. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +82 -0
  850. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -1
  851. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +25 -0
  852. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -1
  853. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +41 -2
  854. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -1
  855. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +59 -1
  856. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
  857. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +7 -4
  858. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -1
  859. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +17 -0
  860. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -1
  861. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +68 -29
  862. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -1
  863. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts +9 -3
  864. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -1
  865. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js +51 -11
  866. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js.map +1 -1
  867. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts +7 -2
  868. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts.map +1 -1
  869. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js +10 -4
  870. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js.map +1 -1
  871. package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts +17 -0
  872. package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts.map +1 -0
  873. package/node_modules/matrix-js-sdk/lib/oauth/fetch.js +47 -0
  874. package/node_modules/matrix-js-sdk/lib/oauth/fetch.js.map +1 -0
  875. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts +15 -2
  876. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts.map +1 -1
  877. package/node_modules/matrix-js-sdk/lib/oauth/index.js +33 -12
  878. package/node_modules/matrix-js-sdk/lib/oauth/index.js.map +1 -1
  879. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +17 -0
  880. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -1
  881. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +4 -2
  882. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -1
  883. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts +6 -26
  884. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
  885. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +19 -54
  886. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -1
  887. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -1
  888. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +65 -27
  889. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -1
  890. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts +17 -0
  891. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -1
  892. package/node_modules/matrix-js-sdk/lib/sliding-sync.js +21 -9
  893. package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -1
  894. package/node_modules/matrix-js-sdk/lib/sync.d.ts +9 -1
  895. package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -1
  896. package/node_modules/matrix-js-sdk/lib/sync.js +54 -29
  897. package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -1
  898. package/node_modules/matrix-js-sdk/package.json +5 -5
  899. package/node_modules/matrix-js-sdk/src/@types/json.ts +11 -2
  900. package/node_modules/matrix-js-sdk/src/client.ts +126 -11
  901. package/node_modules/matrix-js-sdk/src/common-crypto/CryptoBackend.ts +45 -23
  902. package/node_modules/matrix-js-sdk/src/embedded.ts +67 -4
  903. package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +2 -23
  904. package/node_modules/matrix-js-sdk/src/http-api/logging.ts +46 -0
  905. package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +6 -0
  906. package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +86 -0
  907. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +81 -1
  908. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +7 -7
  909. package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +80 -31
  910. package/node_modules/matrix-js-sdk/src/models/room-receipts.ts +54 -10
  911. package/node_modules/matrix-js-sdk/src/oauth/authorize.ts +10 -2
  912. package/node_modules/matrix-js-sdk/src/oauth/fetch.ts +54 -0
  913. package/node_modules/matrix-js-sdk/src/oauth/index.ts +29 -10
  914. package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +23 -0
  915. package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +25 -67
  916. package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +73 -33
  917. package/node_modules/matrix-js-sdk/src/sliding-sync.ts +31 -14
  918. package/node_modules/matrix-js-sdk/src/sync.ts +58 -35
  919. package/node_modules/pako/CHANGELOG.md +164 -0
  920. package/node_modules/pako/LICENSE +21 -0
  921. package/node_modules/pako/README.md +191 -0
  922. package/node_modules/pako/dist/pako.js +6818 -0
  923. package/node_modules/pako/dist/pako.min.js +1 -0
  924. package/node_modules/pako/dist/pako_deflate.js +3997 -0
  925. package/node_modules/pako/dist/pako_deflate.min.js +1 -0
  926. package/node_modules/pako/dist/pako_inflate.js +3300 -0
  927. package/node_modules/pako/dist/pako_inflate.min.js +1 -0
  928. package/node_modules/pako/index.js +14 -0
  929. package/node_modules/pako/lib/deflate.js +400 -0
  930. package/node_modules/pako/lib/inflate.js +423 -0
  931. package/node_modules/pako/lib/utils/common.js +105 -0
  932. package/node_modules/pako/lib/utils/strings.js +187 -0
  933. package/node_modules/pako/lib/zlib/README +59 -0
  934. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  935. package/node_modules/pako/lib/zlib/constants.js +68 -0
  936. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  937. package/node_modules/pako/lib/zlib/deflate.js +1874 -0
  938. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  939. package/node_modules/pako/lib/zlib/inffast.js +345 -0
  940. package/node_modules/pako/lib/zlib/inflate.js +1556 -0
  941. package/node_modules/pako/lib/zlib/inftrees.js +343 -0
  942. package/node_modules/pako/lib/zlib/messages.js +32 -0
  943. package/node_modules/pako/lib/zlib/trees.js +1222 -0
  944. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  945. package/node_modules/pako/package.json +44 -0
  946. package/node_modules/process-nextick-args/index.js +45 -0
  947. package/node_modules/process-nextick-args/license.md +19 -0
  948. package/node_modules/process-nextick-args/package.json +25 -0
  949. package/node_modules/process-nextick-args/readme.md +18 -0
  950. package/node_modules/readable-stream/.travis.yml +34 -0
  951. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  952. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  953. package/node_modules/readable-stream/LICENSE +47 -0
  954. package/node_modules/readable-stream/README.md +58 -0
  955. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  956. package/node_modules/readable-stream/duplex-browser.js +1 -0
  957. package/node_modules/readable-stream/duplex.js +1 -0
  958. package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  959. package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  960. package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  961. package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  962. package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  963. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  964. package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  965. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  966. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  967. package/node_modules/readable-stream/package.json +52 -0
  968. package/node_modules/readable-stream/passthrough.js +1 -0
  969. package/node_modules/readable-stream/readable-browser.js +7 -0
  970. package/node_modules/readable-stream/readable.js +19 -0
  971. package/node_modules/readable-stream/transform.js +1 -0
  972. package/node_modules/readable-stream/writable-browser.js +1 -0
  973. package/node_modules/readable-stream/writable.js +8 -0
  974. package/node_modules/safe-buffer/LICENSE +21 -0
  975. package/node_modules/safe-buffer/README.md +584 -0
  976. package/node_modules/safe-buffer/index.d.ts +187 -0
  977. package/node_modules/safe-buffer/index.js +62 -0
  978. package/node_modules/safe-buffer/package.json +37 -0
  979. package/node_modules/setimmediate/LICENSE.txt +20 -0
  980. package/node_modules/setimmediate/package.json +30 -0
  981. package/node_modules/setimmediate/setImmediate.js +186 -0
  982. package/node_modules/string_decoder/.travis.yml +50 -0
  983. package/node_modules/string_decoder/LICENSE +48 -0
  984. package/node_modules/string_decoder/README.md +47 -0
  985. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  986. package/node_modules/string_decoder/package.json +31 -0
  987. package/node_modules/strtok3/lib/types.js +1 -0
  988. package/node_modules/typebox/build/compile/code.mjs +1 -2
  989. package/node_modules/typebox/build/compile/validator.mjs +5 -1
  990. package/node_modules/typebox/build/format/iri.mjs +16 -9
  991. package/node_modules/typebox/build/guard/emit.mjs +2 -2
  992. package/node_modules/typebox/build/guard/guard.d.mts +7 -5
  993. package/node_modules/typebox/build/guard/guard.mjs +14 -9
  994. package/node_modules/typebox/build/guard/index.mjs +6 -0
  995. package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
  996. package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
  997. package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +165 -0
  998. package/node_modules/typebox/build/schema/build.mjs +2 -3
  999. package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
  1000. package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
  1001. package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
  1002. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
  1003. package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
  1004. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
  1005. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
  1006. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
  1007. package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
  1008. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
  1009. package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
  1010. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
  1011. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
  1012. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
  1013. package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
  1014. package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
  1015. package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
  1016. package/node_modules/typebox/build/schema/parse.mjs +3 -0
  1017. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
  1018. package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
  1019. package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
  1020. package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
  1021. package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
  1022. package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
  1023. package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
  1024. package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
  1025. package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
  1026. package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
  1027. package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
  1028. package/node_modules/typebox/package.json +1 -1
  1029. package/node_modules/typebox/readme.md +3 -1
  1030. package/node_modules/util-deprecate/History.md +16 -0
  1031. package/node_modules/util-deprecate/LICENSE +24 -0
  1032. package/node_modules/util-deprecate/README.md +53 -0
  1033. package/node_modules/util-deprecate/browser.js +67 -0
  1034. package/node_modules/util-deprecate/node.js +6 -0
  1035. package/node_modules/util-deprecate/package.json +27 -0
  1036. package/node_modules/zod/README.md +2 -2
  1037. package/node_modules/zod/compile.cjs +19 -0
  1038. package/node_modules/zod/index.cjs +19 -0
  1039. package/node_modules/zod/locales/index.cjs +19 -0
  1040. package/node_modules/zod/mini/index.cjs +19 -0
  1041. package/node_modules/zod/package.json +8 -7
  1042. package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
  1043. package/node_modules/zod/src/v4/classic/external.ts +2 -0
  1044. package/node_modules/zod/src/v4/classic/from-json-schema.ts +248 -25
  1045. package/node_modules/zod/src/v4/classic/schemas.ts +243 -168
  1046. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +60 -9
  1047. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +6 -0
  1048. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +2 -2
  1049. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +265 -0
  1050. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +112 -6
  1051. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +9 -0
  1052. package/node_modules/zod/src/v4/classic/tests/error.test.ts +130 -1
  1053. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +157 -0
  1054. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  1055. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +40 -2
  1056. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +27 -7
  1057. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +88 -56
  1058. package/node_modules/zod/src/v4/classic/tests/number.test.ts +39 -0
  1059. package/node_modules/zod/src/v4/classic/tests/object.test.ts +56 -0
  1060. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +3 -2
  1061. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +70 -0
  1062. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  1063. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +46 -1
  1064. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +19 -0
  1065. package/node_modules/zod/src/v4/classic/tests/string.test.ts +95 -1
  1066. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +33 -1
  1067. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +234 -38
  1068. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +569 -0
  1069. package/node_modules/zod/src/v4/core/api.ts +44 -28
  1070. package/node_modules/zod/src/v4/core/checks.ts +62 -102
  1071. package/node_modules/zod/src/v4/core/compile.ts +218 -93
  1072. package/node_modules/zod/src/v4/core/core.ts +1 -3
  1073. package/node_modules/zod/src/v4/core/doc.ts +6 -2
  1074. package/node_modules/zod/src/v4/core/errors.ts +3 -6
  1075. package/node_modules/zod/src/v4/core/json-schema-generator.ts +2 -2
  1076. package/node_modules/zod/src/v4/core/json-schema-processors.ts +185 -81
  1077. package/node_modules/zod/src/v4/core/memoizer.ts +75 -28
  1078. package/node_modules/zod/src/v4/core/parse.ts +37 -16
  1079. package/node_modules/zod/src/v4/core/regexes.ts +14 -4
  1080. package/node_modules/zod/src/v4/core/schemas.ts +296 -132
  1081. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  1082. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +35 -0
  1083. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  1084. package/node_modules/zod/src/v4/core/tests/compile.test.ts +399 -2
  1085. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  1086. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  1087. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  1088. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +118 -16
  1089. package/node_modules/zod/src/v4/core/to-json-schema.ts +9 -7
  1090. package/node_modules/zod/src/v4/core/util.ts +218 -147
  1091. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  1092. package/node_modules/zod/src/v4/locales/ar.ts +2 -0
  1093. package/node_modules/zod/src/v4/locales/az.ts +2 -0
  1094. package/node_modules/zod/src/v4/locales/be.ts +2 -0
  1095. package/node_modules/zod/src/v4/locales/bg.ts +2 -0
  1096. package/node_modules/zod/src/v4/locales/bn.ts +2 -0
  1097. package/node_modules/zod/src/v4/locales/ca.ts +2 -0
  1098. package/node_modules/zod/src/v4/locales/ckb.ts +2 -0
  1099. package/node_modules/zod/src/v4/locales/cs.ts +2 -0
  1100. package/node_modules/zod/src/v4/locales/da.ts +2 -0
  1101. package/node_modules/zod/src/v4/locales/de.ts +2 -0
  1102. package/node_modules/zod/src/v4/locales/el.ts +2 -0
  1103. package/node_modules/zod/src/v4/locales/en.ts +2 -0
  1104. package/node_modules/zod/src/v4/locales/eo.ts +2 -0
  1105. package/node_modules/zod/src/v4/locales/es.ts +2 -0
  1106. package/node_modules/zod/src/v4/locales/fa.ts +2 -0
  1107. package/node_modules/zod/src/v4/locales/fi.ts +2 -0
  1108. package/node_modules/zod/src/v4/locales/fr-CA.ts +2 -0
  1109. package/node_modules/zod/src/v4/locales/fr.ts +2 -0
  1110. package/node_modules/zod/src/v4/locales/gu.ts +2 -0
  1111. package/node_modules/zod/src/v4/locales/he.ts +2 -0
  1112. package/node_modules/zod/src/v4/locales/hi.ts +2 -0
  1113. package/node_modules/zod/src/v4/locales/hr.ts +2 -0
  1114. package/node_modules/zod/src/v4/locales/hu.ts +2 -0
  1115. package/node_modules/zod/src/v4/locales/hy.ts +2 -0
  1116. package/node_modules/zod/src/v4/locales/id.ts +2 -0
  1117. package/node_modules/zod/src/v4/locales/index.ts +1 -0
  1118. package/node_modules/zod/src/v4/locales/is.ts +2 -0
  1119. package/node_modules/zod/src/v4/locales/it.ts +2 -0
  1120. package/node_modules/zod/src/v4/locales/ja.ts +2 -0
  1121. package/node_modules/zod/src/v4/locales/ka.ts +2 -0
  1122. package/node_modules/zod/src/v4/locales/km.ts +2 -0
  1123. package/node_modules/zod/src/v4/locales/kn.ts +2 -0
  1124. package/node_modules/zod/src/v4/locales/ko.ts +2 -0
  1125. package/node_modules/zod/src/v4/locales/lt.ts +2 -0
  1126. package/node_modules/zod/src/v4/locales/mk.ts +2 -0
  1127. package/node_modules/zod/src/v4/locales/ms.ts +2 -0
  1128. package/node_modules/zod/src/v4/locales/ne.ts +2 -0
  1129. package/node_modules/zod/src/v4/locales/nl.ts +2 -0
  1130. package/node_modules/zod/src/v4/locales/nn.ts +2 -0
  1131. package/node_modules/zod/src/v4/locales/no.ts +2 -0
  1132. package/node_modules/zod/src/v4/locales/ota.ts +2 -0
  1133. package/node_modules/zod/src/v4/locales/pl.ts +2 -0
  1134. package/node_modules/zod/src/v4/locales/ps.ts +2 -0
  1135. package/node_modules/zod/src/v4/locales/pt-BR.ts +2 -0
  1136. package/node_modules/zod/src/v4/locales/pt.ts +2 -0
  1137. package/node_modules/zod/src/v4/locales/ro.ts +2 -0
  1138. package/node_modules/zod/src/v4/locales/ru.ts +2 -0
  1139. package/node_modules/zod/src/v4/locales/sk.ts +2 -0
  1140. package/node_modules/zod/src/v4/locales/sl.ts +2 -0
  1141. package/node_modules/zod/src/v4/locales/sv.ts +2 -0
  1142. package/node_modules/zod/src/v4/locales/ta.ts +2 -0
  1143. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  1144. package/node_modules/zod/src/v4/locales/th.ts +2 -0
  1145. package/node_modules/zod/src/v4/locales/tk.ts +2 -0
  1146. package/node_modules/zod/src/v4/locales/tr.ts +2 -0
  1147. package/node_modules/zod/src/v4/locales/uk.ts +2 -0
  1148. package/node_modules/zod/src/v4/locales/ur.ts +2 -0
  1149. package/node_modules/zod/src/v4/locales/uz.ts +2 -0
  1150. package/node_modules/zod/src/v4/locales/vi.ts +2 -0
  1151. package/node_modules/zod/src/v4/locales/yo.ts +2 -0
  1152. package/node_modules/zod/src/v4/locales/zh-CN.ts +2 -0
  1153. package/node_modules/zod/src/v4/locales/zh-TW.ts +2 -0
  1154. package/node_modules/zod/src/v4/mini/external.ts +2 -0
  1155. package/node_modules/zod/src/v4/mini/schemas.ts +32 -7
  1156. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +1 -1
  1157. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +11 -17
  1158. package/node_modules/zod/src/v4/mini/tests/index.test.ts +86 -0
  1159. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +16 -0
  1160. package/node_modules/zod/src/v4/mini/tests/string.test.ts +23 -0
  1161. package/node_modules/zod/v3/ZodError.cjs +19 -0
  1162. package/node_modules/zod/v3/errors.cjs +19 -0
  1163. package/node_modules/zod/v3/external.cjs +19 -0
  1164. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  1165. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  1166. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  1167. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  1168. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  1169. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  1170. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  1171. package/node_modules/zod/v3/index.cjs +19 -0
  1172. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  1173. package/node_modules/zod/v3/types.cjs +19 -0
  1174. package/node_modules/zod/v4/classic/checks.cjs +19 -0
  1175. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  1176. package/node_modules/zod/v4/classic/compat.cjs +19 -0
  1177. package/node_modules/zod/v4/classic/deep-partial.cjs +19 -0
  1178. package/node_modules/zod/v4/classic/errors.cjs +19 -0
  1179. package/node_modules/zod/v4/classic/external.cjs +22 -1
  1180. package/node_modules/zod/v4/classic/external.d.cts +1 -1
  1181. package/node_modules/zod/v4/classic/external.d.ts +1 -1
  1182. package/node_modules/zod/v4/classic/external.js +1 -1
  1183. package/node_modules/zod/v4/classic/from-json-schema.cjs +264 -24
  1184. package/node_modules/zod/v4/classic/from-json-schema.js +245 -24
  1185. package/node_modules/zod/v4/classic/in-out.cjs +19 -0
  1186. package/node_modules/zod/v4/classic/index.cjs +19 -0
  1187. package/node_modules/zod/v4/classic/iso.cjs +19 -0
  1188. package/node_modules/zod/v4/classic/parse.cjs +19 -0
  1189. package/node_modules/zod/v4/classic/schemas.cjs +100 -35
  1190. package/node_modules/zod/v4/classic/schemas.d.cts +15 -1
  1191. package/node_modules/zod/v4/classic/schemas.d.ts +15 -1
  1192. package/node_modules/zod/v4/classic/schemas.js +77 -33
  1193. package/node_modules/zod/v4/core/api.cjs +45 -22
  1194. package/node_modules/zod/v4/core/api.d.cts +12 -6
  1195. package/node_modules/zod/v4/core/api.d.ts +12 -6
  1196. package/node_modules/zod/v4/core/api.js +25 -22
  1197. package/node_modules/zod/v4/core/checks.cjs +51 -97
  1198. package/node_modules/zod/v4/core/checks.d.cts +17 -1
  1199. package/node_modules/zod/v4/core/checks.d.ts +17 -1
  1200. package/node_modules/zod/v4/core/checks.js +31 -96
  1201. package/node_modules/zod/v4/core/compile.cjs +173 -78
  1202. package/node_modules/zod/v4/core/compile.d.cts +18 -4
  1203. package/node_modules/zod/v4/core/compile.d.ts +18 -4
  1204. package/node_modules/zod/v4/core/compile.js +154 -79
  1205. package/node_modules/zod/v4/core/core.cjs +20 -1
  1206. package/node_modules/zod/v4/core/core.js +1 -1
  1207. package/node_modules/zod/v4/core/doc.cjs +26 -2
  1208. package/node_modules/zod/v4/core/doc.js +7 -2
  1209. package/node_modules/zod/v4/core/errors.cjs +21 -5
  1210. package/node_modules/zod/v4/core/errors.js +2 -5
  1211. package/node_modules/zod/v4/core/index.cjs +19 -0
  1212. package/node_modules/zod/v4/core/json-schema-generator.cjs +20 -1
  1213. package/node_modules/zod/v4/core/json-schema-generator.js +2 -2
  1214. package/node_modules/zod/v4/core/json-schema-processors.cjs +188 -72
  1215. package/node_modules/zod/v4/core/json-schema-processors.d.cts +16 -0
  1216. package/node_modules/zod/v4/core/json-schema-processors.d.ts +16 -0
  1217. package/node_modules/zod/v4/core/json-schema-processors.js +170 -74
  1218. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  1219. package/node_modules/zod/v4/core/memoizer.cjs +111 -23
  1220. package/node_modules/zod/v4/core/memoizer.js +69 -23
  1221. package/node_modules/zod/v4/core/parse.cjs +56 -16
  1222. package/node_modules/zod/v4/core/parse.js +37 -16
  1223. package/node_modules/zod/v4/core/regexes.cjs +31 -6
  1224. package/node_modules/zod/v4/core/regexes.d.cts +3 -0
  1225. package/node_modules/zod/v4/core/regexes.d.ts +3 -0
  1226. package/node_modules/zod/v4/core/regexes.js +10 -4
  1227. package/node_modules/zod/v4/core/registries.cjs +19 -0
  1228. package/node_modules/zod/v4/core/schemas.cjs +302 -114
  1229. package/node_modules/zod/v4/core/schemas.d.cts +28 -8
  1230. package/node_modules/zod/v4/core/schemas.d.ts +28 -8
  1231. package/node_modules/zod/v4/core/schemas.js +279 -113
  1232. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  1233. package/node_modules/zod/v4/core/to-json-schema.cjs +28 -7
  1234. package/node_modules/zod/v4/core/to-json-schema.d.cts +4 -3
  1235. package/node_modules/zod/v4/core/to-json-schema.d.ts +4 -3
  1236. package/node_modules/zod/v4/core/to-json-schema.js +7 -6
  1237. package/node_modules/zod/v4/core/util.cjs +177 -143
  1238. package/node_modules/zod/v4/core/util.d.cts +25 -4
  1239. package/node_modules/zod/v4/core/util.d.ts +25 -4
  1240. package/node_modules/zod/v4/core/util.js +156 -143
  1241. package/node_modules/zod/v4/core/versions.cjs +21 -2
  1242. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  1243. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  1244. package/node_modules/zod/v4/core/versions.js +2 -2
  1245. package/node_modules/zod/v4/core/visit.cjs +19 -0
  1246. package/node_modules/zod/v4/index.cjs +19 -0
  1247. package/node_modules/zod/v4/locales/ar.cjs +2 -0
  1248. package/node_modules/zod/v4/locales/ar.js +2 -0
  1249. package/node_modules/zod/v4/locales/az.cjs +2 -0
  1250. package/node_modules/zod/v4/locales/az.js +2 -0
  1251. package/node_modules/zod/v4/locales/be.cjs +2 -0
  1252. package/node_modules/zod/v4/locales/be.js +2 -0
  1253. package/node_modules/zod/v4/locales/bg.cjs +2 -0
  1254. package/node_modules/zod/v4/locales/bg.js +2 -0
  1255. package/node_modules/zod/v4/locales/bn.cjs +2 -0
  1256. package/node_modules/zod/v4/locales/bn.js +2 -0
  1257. package/node_modules/zod/v4/locales/ca.cjs +2 -0
  1258. package/node_modules/zod/v4/locales/ca.js +2 -0
  1259. package/node_modules/zod/v4/locales/ckb.cjs +2 -0
  1260. package/node_modules/zod/v4/locales/ckb.js +2 -0
  1261. package/node_modules/zod/v4/locales/cs.cjs +2 -0
  1262. package/node_modules/zod/v4/locales/cs.js +2 -0
  1263. package/node_modules/zod/v4/locales/da.cjs +2 -0
  1264. package/node_modules/zod/v4/locales/da.js +2 -0
  1265. package/node_modules/zod/v4/locales/de.cjs +2 -0
  1266. package/node_modules/zod/v4/locales/de.js +2 -0
  1267. package/node_modules/zod/v4/locales/el.cjs +2 -0
  1268. package/node_modules/zod/v4/locales/el.js +2 -0
  1269. package/node_modules/zod/v4/locales/en.cjs +2 -0
  1270. package/node_modules/zod/v4/locales/en.js +2 -0
  1271. package/node_modules/zod/v4/locales/eo.cjs +2 -0
  1272. package/node_modules/zod/v4/locales/eo.js +2 -0
  1273. package/node_modules/zod/v4/locales/es.cjs +2 -0
  1274. package/node_modules/zod/v4/locales/es.js +2 -0
  1275. package/node_modules/zod/v4/locales/fa.cjs +2 -0
  1276. package/node_modules/zod/v4/locales/fa.js +2 -0
  1277. package/node_modules/zod/v4/locales/fi.cjs +2 -0
  1278. package/node_modules/zod/v4/locales/fi.js +2 -0
  1279. package/node_modules/zod/v4/locales/fr-CA.cjs +2 -0
  1280. package/node_modules/zod/v4/locales/fr-CA.js +2 -0
  1281. package/node_modules/zod/v4/locales/fr.cjs +2 -0
  1282. package/node_modules/zod/v4/locales/fr.js +2 -0
  1283. package/node_modules/zod/v4/locales/gu.cjs +2 -0
  1284. package/node_modules/zod/v4/locales/gu.js +2 -0
  1285. package/node_modules/zod/v4/locales/he.cjs +2 -0
  1286. package/node_modules/zod/v4/locales/he.js +2 -0
  1287. package/node_modules/zod/v4/locales/hi.cjs +2 -0
  1288. package/node_modules/zod/v4/locales/hi.js +2 -0
  1289. package/node_modules/zod/v4/locales/hr.cjs +2 -0
  1290. package/node_modules/zod/v4/locales/hr.js +2 -0
  1291. package/node_modules/zod/v4/locales/hu.cjs +2 -0
  1292. package/node_modules/zod/v4/locales/hu.js +2 -0
  1293. package/node_modules/zod/v4/locales/hy.cjs +2 -0
  1294. package/node_modules/zod/v4/locales/hy.js +2 -0
  1295. package/node_modules/zod/v4/locales/id.cjs +2 -0
  1296. package/node_modules/zod/v4/locales/id.js +2 -0
  1297. package/node_modules/zod/v4/locales/index.cjs +22 -1
  1298. package/node_modules/zod/v4/locales/index.d.cts +1 -0
  1299. package/node_modules/zod/v4/locales/index.d.ts +1 -0
  1300. package/node_modules/zod/v4/locales/index.js +1 -0
  1301. package/node_modules/zod/v4/locales/is.cjs +2 -0
  1302. package/node_modules/zod/v4/locales/is.js +2 -0
  1303. package/node_modules/zod/v4/locales/it.cjs +2 -0
  1304. package/node_modules/zod/v4/locales/it.js +2 -0
  1305. package/node_modules/zod/v4/locales/ja.cjs +2 -0
  1306. package/node_modules/zod/v4/locales/ja.js +2 -0
  1307. package/node_modules/zod/v4/locales/ka.cjs +2 -0
  1308. package/node_modules/zod/v4/locales/ka.js +2 -0
  1309. package/node_modules/zod/v4/locales/km.cjs +2 -0
  1310. package/node_modules/zod/v4/locales/km.js +2 -0
  1311. package/node_modules/zod/v4/locales/kn.cjs +2 -0
  1312. package/node_modules/zod/v4/locales/kn.js +2 -0
  1313. package/node_modules/zod/v4/locales/ko.cjs +2 -0
  1314. package/node_modules/zod/v4/locales/ko.js +2 -0
  1315. package/node_modules/zod/v4/locales/lt.cjs +2 -0
  1316. package/node_modules/zod/v4/locales/lt.js +2 -0
  1317. package/node_modules/zod/v4/locales/mk.cjs +2 -0
  1318. package/node_modules/zod/v4/locales/mk.js +2 -0
  1319. package/node_modules/zod/v4/locales/ms.cjs +2 -0
  1320. package/node_modules/zod/v4/locales/ms.js +2 -0
  1321. package/node_modules/zod/v4/locales/ne.cjs +2 -0
  1322. package/node_modules/zod/v4/locales/ne.js +2 -0
  1323. package/node_modules/zod/v4/locales/nl.cjs +2 -0
  1324. package/node_modules/zod/v4/locales/nl.js +2 -0
  1325. package/node_modules/zod/v4/locales/nn.cjs +2 -0
  1326. package/node_modules/zod/v4/locales/nn.js +2 -0
  1327. package/node_modules/zod/v4/locales/no.cjs +2 -0
  1328. package/node_modules/zod/v4/locales/no.js +2 -0
  1329. package/node_modules/zod/v4/locales/ota.cjs +2 -0
  1330. package/node_modules/zod/v4/locales/ota.js +2 -0
  1331. package/node_modules/zod/v4/locales/pl.cjs +2 -0
  1332. package/node_modules/zod/v4/locales/pl.js +2 -0
  1333. package/node_modules/zod/v4/locales/ps.cjs +2 -0
  1334. package/node_modules/zod/v4/locales/ps.js +2 -0
  1335. package/node_modules/zod/v4/locales/pt-BR.cjs +2 -0
  1336. package/node_modules/zod/v4/locales/pt-BR.js +2 -0
  1337. package/node_modules/zod/v4/locales/pt.cjs +2 -0
  1338. package/node_modules/zod/v4/locales/pt.js +2 -0
  1339. package/node_modules/zod/v4/locales/ro.cjs +2 -0
  1340. package/node_modules/zod/v4/locales/ro.js +2 -0
  1341. package/node_modules/zod/v4/locales/ru.cjs +2 -0
  1342. package/node_modules/zod/v4/locales/ru.js +2 -0
  1343. package/node_modules/zod/v4/locales/sk.cjs +2 -0
  1344. package/node_modules/zod/v4/locales/sk.js +2 -0
  1345. package/node_modules/zod/v4/locales/sl.cjs +2 -0
  1346. package/node_modules/zod/v4/locales/sl.js +2 -0
  1347. package/node_modules/zod/v4/locales/sv.cjs +2 -0
  1348. package/node_modules/zod/v4/locales/sv.js +2 -0
  1349. package/node_modules/zod/v4/locales/ta.cjs +2 -0
  1350. package/node_modules/zod/v4/locales/ta.js +2 -0
  1351. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  1352. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  1353. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  1354. package/node_modules/zod/v4/locales/tg.js +117 -0
  1355. package/node_modules/zod/v4/locales/th.cjs +2 -0
  1356. package/node_modules/zod/v4/locales/th.js +2 -0
  1357. package/node_modules/zod/v4/locales/tk.cjs +2 -0
  1358. package/node_modules/zod/v4/locales/tk.js +2 -0
  1359. package/node_modules/zod/v4/locales/tr.cjs +2 -0
  1360. package/node_modules/zod/v4/locales/tr.js +2 -0
  1361. package/node_modules/zod/v4/locales/uk.cjs +2 -0
  1362. package/node_modules/zod/v4/locales/uk.js +2 -0
  1363. package/node_modules/zod/v4/locales/ur.cjs +2 -0
  1364. package/node_modules/zod/v4/locales/ur.js +2 -0
  1365. package/node_modules/zod/v4/locales/uz.cjs +2 -0
  1366. package/node_modules/zod/v4/locales/uz.js +2 -0
  1367. package/node_modules/zod/v4/locales/vi.cjs +2 -0
  1368. package/node_modules/zod/v4/locales/vi.js +2 -0
  1369. package/node_modules/zod/v4/locales/yo.cjs +2 -0
  1370. package/node_modules/zod/v4/locales/yo.js +2 -0
  1371. package/node_modules/zod/v4/locales/zh-CN.cjs +2 -0
  1372. package/node_modules/zod/v4/locales/zh-CN.js +2 -0
  1373. package/node_modules/zod/v4/locales/zh-TW.cjs +2 -0
  1374. package/node_modules/zod/v4/locales/zh-TW.js +2 -0
  1375. package/node_modules/zod/v4/mini/checks.cjs +19 -0
  1376. package/node_modules/zod/v4/mini/coerce.cjs +19 -0
  1377. package/node_modules/zod/v4/mini/deep-partial.cjs +19 -0
  1378. package/node_modules/zod/v4/mini/external.cjs +22 -1
  1379. package/node_modules/zod/v4/mini/external.d.cts +1 -1
  1380. package/node_modules/zod/v4/mini/external.d.ts +1 -1
  1381. package/node_modules/zod/v4/mini/external.js +1 -1
  1382. package/node_modules/zod/v4/mini/in-out.cjs +19 -0
  1383. package/node_modules/zod/v4/mini/index.cjs +19 -0
  1384. package/node_modules/zod/v4/mini/iso.cjs +19 -0
  1385. package/node_modules/zod/v4/mini/parse.cjs +19 -0
  1386. package/node_modules/zod/v4/mini/schemas.cjs +44 -8
  1387. package/node_modules/zod/v4/mini/schemas.d.cts +6 -1
  1388. package/node_modules/zod/v4/mini/schemas.d.ts +6 -1
  1389. package/node_modules/zod/v4/mini/schemas.js +21 -6
  1390. package/node_modules/zod/v4-mini/index.cjs +19 -0
  1391. package/openclaw.plugin.json +24 -0
  1392. package/package.json +11 -8
  1393. package/dist/.setup/account-selection-5koohRSQ.mjs +0 -203
  1394. package/dist/.setup/accounts-BF5hyc-1.mjs +0 -129
  1395. package/dist/.setup/approval-handler.runtime-CoZCYGUH.mjs +0 -415
  1396. package/dist/.setup/approval-ids-CZOcdJ-5.mjs +0 -7
  1397. package/dist/.setup/approval-reaction-auth-B51E4ZDa.mjs +0 -27
  1398. package/dist/.setup/approval-reactions-B0hfA6qz.mjs +0 -196
  1399. package/dist/.setup/channel-q6TBKEiG.mjs +0 -1414
  1400. package/dist/.setup/channel.runtime-DcDBdxe6.mjs +0 -71
  1401. package/dist/.setup/channel.setup-DZQ5rf9k.mjs +0 -357
  1402. package/dist/.setup/cli-Cx_cNaXN.mjs +0 -1410
  1403. package/dist/.setup/cli-metadata-DHU1H-Vr.mjs +0 -22
  1404. package/dist/.setup/client-By2B3Wz4.mjs +0 -27
  1405. package/dist/.setup/client-DsJUnWlV.mjs +0 -863
  1406. package/dist/.setup/client-bootstrap-DGX0f-4x.mjs +0 -78
  1407. package/dist/.setup/config-secret-input.runtime-CwsP3--c.mjs +0 -2
  1408. package/dist/.setup/config-update-B_4qZ5bV.mjs +0 -167
  1409. package/dist/.setup/create-client-DQXAZjTw.mjs +0 -61
  1410. package/dist/.setup/credentials-CeRipapZ.mjs +0 -85
  1411. package/dist/.setup/credentials-read-Dp7BoEdm.mjs +0 -66
  1412. package/dist/.setup/credentials-write.runtime-M_bUf3rL.mjs +0 -14
  1413. package/dist/.setup/crypto-runtime-9oxuU30y.mjs +0 -1138
  1414. package/dist/.setup/crypto-snapshot-doctor.runtime-DXpLbQ7y.mjs +0 -91
  1415. package/dist/.setup/deps-mtxF2mHI.mjs +0 -169
  1416. package/dist/.setup/device-health-CWOuIirq.mjs +0 -21
  1417. package/dist/.setup/direct-management-B2Bno2xL.mjs +0 -346
  1418. package/dist/.setup/directory-live-CatwztQc.mjs +0 -153
  1419. package/dist/.setup/doctor-BLCvdOFo.mjs +0 -64
  1420. package/dist/.setup/doctor-contract-HyWFZQVG.mjs +0 -167
  1421. package/dist/.setup/draft-stream-DIFZDNrb.mjs +0 -159
  1422. package/dist/.setup/encryption-guidance-DYEbeYj-.mjs +0 -16
  1423. package/dist/.setup/http-client-BJjo-iw5.mjs +0 -395
  1424. package/dist/.setup/idb-persistence-CIfFUjP3.mjs +0 -237
  1425. package/dist/.setup/idb-persistence-lock-B3fZXyF_.mjs +0 -32
  1426. package/dist/.setup/inbound-dedupe-BSlv35xl.mjs +0 -48
  1427. package/dist/.setup/joined-room-encryption-BCtxQ3hR.mjs +0 -67
  1428. package/dist/.setup/logger-xBjiRIp1.mjs +0 -78
  1429. package/dist/.setup/logging-rgm8ep9H.mjs +0 -99
  1430. package/dist/.setup/messages-SW0NPYnR.mjs +0 -317
  1431. package/dist/.setup/monitor-DQfYX5rA.mjs +0 -4650
  1432. package/dist/.setup/outbound-DRWtSUe-.mjs +0 -228
  1433. package/dist/.setup/probe.runtime-qPRZE3Yf.mjs +0 -2
  1434. package/dist/.setup/profile-ClrB3IgR.mjs +0 -108
  1435. package/dist/.setup/profile-update-DPttQz3-.mjs +0 -70
  1436. package/dist/.setup/reaction-events-CdAk_rh_.mjs +0 -167
  1437. package/dist/.setup/resolve-targets-drjgAdIe.mjs +0 -140
  1438. package/dist/.setup/resolver.runtime-Ci6ddcPh.mjs +0 -5
  1439. package/dist/.setup/rolldown-runtime-8H4AJuhK.mjs +0 -14
  1440. package/dist/.setup/room-info-DHd1j3qM.mjs +0 -153
  1441. package/dist/.setup/sdk-BkKE4ANj.mjs +0 -2168
  1442. package/dist/.setup/send-currentness-BrGXL7b8.mjs +0 -90
  1443. package/dist/.setup/send-h0gZ_-qk.mjs +0 -2219
  1444. package/dist/.setup/setup-bootstrap-BYgBD504.mjs +0 -62
  1445. package/dist/.setup/setup-core-BUcDAM7q.mjs +0 -386
  1446. package/dist/.setup/setup-plugin-api-DoTm4v2q.mjs +0 -3
  1447. package/dist/.setup/setup-surface-V_Q-enq-.mjs +0 -482
  1448. package/dist/.setup/startup-verification-Bq5qeEGn.mjs +0 -233
  1449. package/dist/.setup/storage-DJ-oUgmX.mjs +0 -335
  1450. package/dist/.setup/storage-metadata-BQJjHC_i.mjs +0 -388
  1451. package/dist/.setup/storage-paths-DVCANXTc.mjs +0 -53
  1452. package/dist/.setup/subagent-hooks-jFgft_Mr.mjs +0 -52
  1453. package/dist/.setup/sync-cache-state-CFiZIPhA.mjs +0 -240
  1454. package/dist/.setup/thread-bindings-Hy96ujd3.mjs +0 -444
  1455. package/dist/.setup/thread-bindings-shared-oNPiyMWY.mjs +0 -92
  1456. package/dist/.setup/tool-actions.runtime-Dckttu43.mjs +0 -854
  1457. package/dist/.setup/url-validation-GRHde6lq.mjs +0 -36
  1458. package/dist/.setup/verification-CKqBZ9mI.mjs +0 -346
  1459. package/node_modules/markdown-it/node_modules/argparse/lib/argparse.js +0 -3804
  1460. package/node_modules/markdown-it/node_modules/argparse/package.json +0 -38
  1461. package/node_modules/matrix-js-sdk/node_modules/@babel/runtime/package.json +0 -486
  1462. package/node_modules/matrix-js-sdk/node_modules/content-type/README.md +0 -71
  1463. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.d.ts +0 -46
  1464. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js +0 -176
  1465. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js.map +0 -1
  1466. package/node_modules/matrix-js-sdk/node_modules/content-type/package.json +0 -52
  1467. package/node_modules/music-metadata/node_modules/debug/LICENSE +0 -20
  1468. package/node_modules/music-metadata/node_modules/debug/README.md +0 -481
  1469. package/node_modules/music-metadata/node_modules/debug/package.json +0 -64
  1470. package/node_modules/music-metadata/node_modules/debug/src/browser.js +0 -272
  1471. package/node_modules/music-metadata/node_modules/debug/src/common.js +0 -292
  1472. package/node_modules/music-metadata/node_modules/debug/src/index.js +0 -10
  1473. package/node_modules/music-metadata/node_modules/debug/src/node.js +0 -263
  1474. package/node_modules/music-metadata/node_modules/file-type/package.json +0 -274
  1475. package/node_modules/music-metadata/node_modules/file-type/readme.md +0 -600
  1476. package/node_modules/music-metadata/node_modules/file-type/source/detectors/zip.js +0 -648
  1477. package/node_modules/music-metadata/node_modules/file-type/source/index.js +0 -1929
  1478. package/node_modules/music-metadata/node_modules/file-type/source/supported.js +0 -368
  1479. package/node_modules/music-metadata/node_modules/ms/index.js +0 -162
  1480. package/node_modules/music-metadata/node_modules/ms/license.md +0 -21
  1481. package/node_modules/music-metadata/node_modules/ms/package.json +0 -38
  1482. package/node_modules/music-metadata/node_modules/ms/readme.md +0 -59
  1483. package/node_modules/typebox/build/guard/string.mjs +0 -168
  1484. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/LICENSE +0 -0
  1485. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/README.md +0 -0
  1486. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/OverloadYield.js +0 -0
  1487. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecoratedDescriptor.js +0 -0
  1488. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecs2311.js +0 -0
  1489. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayLikeToArray.js +0 -0
  1490. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithHoles.js +0 -0
  1491. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithoutHoles.js +0 -0
  1492. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertClassBrand.js +0 -0
  1493. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertThisInitialized.js +0 -0
  1494. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncGeneratorDelegate.js +0 -0
  1495. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncIterator.js +0 -0
  1496. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncToGenerator.js +0 -0
  1497. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/awaitAsyncGenerator.js +0 -0
  1498. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/callSuper.js +0 -0
  1499. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkInRHS.js +0 -0
  1500. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkPrivateRedeclaration.js +0 -0
  1501. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classCallCheck.js +0 -0
  1502. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classNameTDZError.js +0 -0
  1503. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldGet2.js +0 -0
  1504. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldInitSpec.js +0 -0
  1505. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseBase.js +0 -0
  1506. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseKey.js +0 -0
  1507. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldSet2.js +0 -0
  1508. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateGetter.js +0 -0
  1509. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateMethodInitSpec.js +0 -0
  1510. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateSetter.js +0 -0
  1511. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classStaticPrivateMethodGet.js +0 -0
  1512. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/construct.js +0 -0
  1513. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createClass.js +0 -0
  1514. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelper.js +0 -0
  1515. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelperLoose.js +0 -0
  1516. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createSuper.js +0 -0
  1517. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defaults.js +0 -0
  1518. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineAccessor.js +0 -0
  1519. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineProperty.js +0 -0
  1520. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/OverloadYield.js +0 -0
  1521. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -0
  1522. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecs2311.js +0 -0
  1523. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayLikeToArray.js +0 -0
  1524. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithHoles.js +0 -0
  1525. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithoutHoles.js +0 -0
  1526. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertClassBrand.js +0 -0
  1527. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertThisInitialized.js +0 -0
  1528. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -0
  1529. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncIterator.js +0 -0
  1530. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncToGenerator.js +0 -0
  1531. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/awaitAsyncGenerator.js +0 -0
  1532. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/callSuper.js +0 -0
  1533. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkInRHS.js +0 -0
  1534. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -0
  1535. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classCallCheck.js +0 -0
  1536. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classNameTDZError.js +0 -0
  1537. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldGet2.js +0 -0
  1538. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -0
  1539. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -0
  1540. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -0
  1541. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldSet2.js +0 -0
  1542. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateGetter.js +0 -0
  1543. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -0
  1544. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateSetter.js +0 -0
  1545. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -0
  1546. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/construct.js +0 -0
  1547. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createClass.js +0 -0
  1548. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelper.js +0 -0
  1549. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -0
  1550. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createSuper.js +0 -0
  1551. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defaults.js +0 -0
  1552. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineAccessor.js +0 -0
  1553. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineProperty.js +0 -0
  1554. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/extends.js +0 -0
  1555. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/get.js +0 -0
  1556. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/getPrototypeOf.js +0 -0
  1557. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/identity.js +0 -0
  1558. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/importDeferProxy.js +0 -0
  1559. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inherits.js +0 -0
  1560. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inheritsLoose.js +0 -0
  1561. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerDefineProperty.js +0 -0
  1562. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerWarningHelper.js +0 -0
  1563. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/instanceof.js +0 -0
  1564. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireDefault.js +0 -0
  1565. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireWildcard.js +0 -0
  1566. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeFunction.js +0 -0
  1567. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeReflectConstruct.js +0 -0
  1568. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArray.js +0 -0
  1569. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArrayLimit.js +0 -0
  1570. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/jsx.js +0 -0
  1571. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/maybeArrayLike.js +0 -0
  1572. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/newArrowCheck.js +0 -0
  1573. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableRest.js +0 -0
  1574. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableSpread.js +0 -0
  1575. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nullishReceiverError.js +0 -0
  1576. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectDestructuringEmpty.js +0 -0
  1577. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectSpread2.js +0 -0
  1578. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutProperties.js +0 -0
  1579. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -0
  1580. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/package.json +0 -0
  1581. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/possibleConstructorReturn.js +0 -0
  1582. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/readOnlyError.js +0 -0
  1583. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regenerator.js +0 -0
  1584. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsync.js +0 -0
  1585. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncGen.js +0 -0
  1586. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -0
  1587. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorDefine.js +0 -0
  1588. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorKeys.js +0 -0
  1589. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorValues.js +0 -0
  1590. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/set.js +0 -0
  1591. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setFunctionName.js +0 -0
  1592. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setPrototypeOf.js +0 -0
  1593. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -0
  1594. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/slicedToArray.js +0 -0
  1595. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropBase.js +0 -0
  1596. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropGet.js +0 -0
  1597. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropSet.js +0 -0
  1598. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteral.js +0 -0
  1599. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -0
  1600. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tdz.js +0 -0
  1601. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalRef.js +0 -0
  1602. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalUndefined.js +0 -0
  1603. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toArray.js +0 -0
  1604. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toConsumableArray.js +0 -0
  1605. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPrimitive.js +0 -0
  1606. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPropertyKey.js +0 -0
  1607. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toSetter.js +0 -0
  1608. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -0
  1609. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/typeof.js +0 -0
  1610. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/unsupportedIterableToArray.js +0 -0
  1611. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/usingCtx.js +0 -0
  1612. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapAsyncGenerator.js +0 -0
  1613. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapNativeSuper.js +0 -0
  1614. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapRegExp.js +0 -0
  1615. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/writeOnlyError.js +0 -0
  1616. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/extends.js +0 -0
  1617. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/get.js +0 -0
  1618. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/getPrototypeOf.js +0 -0
  1619. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/identity.js +0 -0
  1620. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/importDeferProxy.js +0 -0
  1621. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inherits.js +0 -0
  1622. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inheritsLoose.js +0 -0
  1623. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerDefineProperty.js +0 -0
  1624. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerWarningHelper.js +0 -0
  1625. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/instanceof.js +0 -0
  1626. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireDefault.js +0 -0
  1627. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireWildcard.js +0 -0
  1628. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeFunction.js +0 -0
  1629. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeReflectConstruct.js +0 -0
  1630. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArray.js +0 -0
  1631. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArrayLimit.js +0 -0
  1632. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/jsx.js +0 -0
  1633. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/maybeArrayLike.js +0 -0
  1634. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/newArrowCheck.js +0 -0
  1635. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableRest.js +0 -0
  1636. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableSpread.js +0 -0
  1637. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nullishReceiverError.js +0 -0
  1638. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectDestructuringEmpty.js +0 -0
  1639. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectSpread2.js +0 -0
  1640. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutProperties.js +0 -0
  1641. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutPropertiesLoose.js +0 -0
  1642. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/possibleConstructorReturn.js +0 -0
  1643. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/readOnlyError.js +0 -0
  1644. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regenerator.js +0 -0
  1645. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsync.js +0 -0
  1646. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncGen.js +0 -0
  1647. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncIterator.js +0 -0
  1648. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorDefine.js +0 -0
  1649. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorKeys.js +0 -0
  1650. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorValues.js +0 -0
  1651. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/set.js +0 -0
  1652. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setFunctionName.js +0 -0
  1653. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setPrototypeOf.js +0 -0
  1654. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/skipFirstGeneratorNext.js +0 -0
  1655. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/slicedToArray.js +0 -0
  1656. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropBase.js +0 -0
  1657. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropGet.js +0 -0
  1658. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropSet.js +0 -0
  1659. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteral.js +0 -0
  1660. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteralLoose.js +0 -0
  1661. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tdz.js +0 -0
  1662. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalRef.js +0 -0
  1663. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalUndefined.js +0 -0
  1664. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toArray.js +0 -0
  1665. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toConsumableArray.js +0 -0
  1666. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPrimitive.js +0 -0
  1667. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPropertyKey.js +0 -0
  1668. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toSetter.js +0 -0
  1669. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -0
  1670. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/typeof.js +0 -0
  1671. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/unsupportedIterableToArray.js +0 -0
  1672. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/usingCtx.js +0 -0
  1673. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapAsyncGenerator.js +0 -0
  1674. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapNativeSuper.js +0 -0
  1675. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapRegExp.js +0 -0
  1676. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/writeOnlyError.js +0 -0
  1677. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/LICENSE.txt +0 -0
  1678. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/README.md +0 -0
  1679. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.d.ts +0 -0
  1680. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.js +0 -0
  1681. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/package.json +0 -0
  1682. /package/node_modules/{music-metadata/node_modules/strtok3/lib/types.js → @openclaw/fs-safe/dist/containment.js} +0 -0
  1683. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/LICENSE +0 -0
  1684. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/README.md +0 -0
  1685. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.d.ts +0 -0
  1686. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.js +0 -0
  1687. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.d.ts +0 -0
  1688. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.js +0 -0
  1689. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.d.ts +0 -0
  1690. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.js +0 -0
  1691. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.d.ts +0 -0
  1692. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.js +0 -0
  1693. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/package.json +0 -0
  1694. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/README.md +0 -0
  1695. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/index.d.ts +0 -0
  1696. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/package.json +0 -0
  1697. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/LICENSE +0 -0
  1698. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/README.md +0 -0
  1699. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/index.d.ts +0 -0
  1700. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/package.json +0 -0
  1701. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/LICENSE +0 -0
  1702. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/README.md +0 -0
  1703. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts +0 -0
  1704. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts.map +0 -0
  1705. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js +0 -0
  1706. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js.map +0 -0
  1707. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts +0 -0
  1708. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts.map +0 -0
  1709. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js +0 -0
  1710. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js.map +0 -0
  1711. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/package.json +0 -0
  1712. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.jshint +0 -0
  1713. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.npmignore +0 -0
  1714. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.travis.yml +0 -0
  1715. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/LICENSE +0 -0
  1716. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/README.md +0 -0
  1717. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/another-json.js +0 -0
  1718. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/package.json +0 -0
  1719. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/spec/another-json-spec.js +0 -0
  1720. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/LICENSE +0 -0
  1721. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/README.md +0 -0
  1722. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/_colorize.js +0 -0
  1723. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/argparse.d.ts +0 -0
  1724. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/difflib.js +0 -0
  1725. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/sub.js +0 -0
  1726. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/textwrap.js +0 -0
  1727. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/LICENSE.md +0 -0
  1728. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/README.md +0 -0
  1729. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/package.json +0 -0
  1730. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.cjs +0 -0
  1731. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.d.ts +0 -0
  1732. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/esm/index.js +0 -0
  1733. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/LICENSE +0 -0
  1734. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/README.md +0 -0
  1735. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/package.json +0 -0
  1736. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.cjs +0 -0
  1737. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.d.ts +0 -0
  1738. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/esm/index.js +0 -0
  1739. /package/node_modules/{matrix-js-sdk/node_modules/content-type → content-type}/LICENSE +0 -0
  1740. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/LICENSE +0 -0
  1741. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/README.md +0 -0
  1742. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/package.json +0 -0
  1743. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/browser.js +0 -0
  1744. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/common.js +0 -0
  1745. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/index.js +0 -0
  1746. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/node.js +0 -0
  1747. /package/node_modules/{markdown-it/node_modules/entities → entities}/LICENSE +0 -0
  1748. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts +0 -0
  1749. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts.map +0 -0
  1750. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js +0 -0
  1751. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js.map +0 -0
  1752. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts +0 -0
  1753. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts.map +0 -0
  1754. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js +0 -0
  1755. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js.map +0 -0
  1756. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts +0 -0
  1757. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts.map +0 -0
  1758. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js +0 -0
  1759. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js.map +0 -0
  1760. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts +0 -0
  1761. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts.map +0 -0
  1762. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js +0 -0
  1763. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js.map +0 -0
  1764. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts +0 -0
  1765. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts.map +0 -0
  1766. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js +0 -0
  1767. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js.map +0 -0
  1768. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts +0 -0
  1769. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts.map +0 -0
  1770. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js +0 -0
  1771. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js.map +0 -0
  1772. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts +0 -0
  1773. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts.map +0 -0
  1774. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js +0 -0
  1775. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js.map +0 -0
  1776. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts +0 -0
  1777. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts.map +0 -0
  1778. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js +0 -0
  1779. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js.map +0 -0
  1780. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts +0 -0
  1781. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts.map +0 -0
  1782. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js +0 -0
  1783. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js.map +0 -0
  1784. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts +0 -0
  1785. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts.map +0 -0
  1786. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js +0 -0
  1787. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js.map +0 -0
  1788. /package/node_modules/{markdown-it/node_modules/entities → entities}/package.json +0 -0
  1789. /package/node_modules/{markdown-it/node_modules/entities → entities}/readme.md +0 -0
  1790. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode-codepoint.ts +0 -0
  1791. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode.ts +0 -0
  1792. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/encode.ts +0 -0
  1793. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/escape.ts +0 -0
  1794. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-html.ts +0 -0
  1795. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-xml.ts +0 -0
  1796. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/encode-html.ts +0 -0
  1797. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/index.ts +0 -0
  1798. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/bin-trie-flags.ts +0 -0
  1799. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/decode-shared.ts +0 -0
  1800. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.airtap.yml +0 -0
  1801. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.github/FUNDING.yml +0 -0
  1802. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.travis.yml +0 -0
  1803. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/History.md +0 -0
  1804. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/LICENSE +0 -0
  1805. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/Readme.md +0 -0
  1806. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/events.js +0 -0
  1807. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/package.json +0 -0
  1808. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/security.md +0 -0
  1809. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/add-listeners.js +0 -0
  1810. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/check-listener-leaks.js +0 -0
  1811. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/common.js +0 -0
  1812. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/errors.js +0 -0
  1813. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-list.js +0 -0
  1814. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-once.js +0 -0
  1815. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/index.js +0 -0
  1816. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/legacy-compat.js +0 -0
  1817. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listener-count.js +0 -0
  1818. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners-side-effects.js +0 -0
  1819. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners.js +0 -0
  1820. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/max-listeners.js +0 -0
  1821. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/method-names.js +0 -0
  1822. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/modify-in-emit.js +0 -0
  1823. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/num-args.js +0 -0
  1824. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/once.js +0 -0
  1825. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/prepend.js +0 -0
  1826. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-all-listeners.js +0 -0
  1827. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-listeners.js +0 -0
  1828. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/set-max-listeners-side-effects.js +0 -0
  1829. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/special-event-names.js +0 -0
  1830. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/subclass.js +0 -0
  1831. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/symbols.js +0 -0
  1832. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → file-type}/license +0 -0
  1833. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/asf.js +0 -0
  1834. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/ebml.js +0 -0
  1835. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/png.js +0 -0
  1836. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.d.ts +0 -0
  1837. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.test-d.ts +0 -0
  1838. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/parser.js +0 -0
  1839. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/tokens.js +0 -0
  1840. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/LICENSE +0 -0
  1841. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/README.md +0 -0
  1842. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts +0 -0
  1843. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts.map +0 -0
  1844. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js +0 -0
  1845. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js.map +0 -0
  1846. /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
  1847. /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
  1848. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js +0 -0
  1849. /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
  1850. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/package.json +0 -0
  1851. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/LICENSE +0 -0
  1852. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/README.md +0 -0
  1853. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.d.ts +0 -0
  1854. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.js +0 -0
  1855. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/package.json +0 -0
  1856. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.d.ts +0 -0
  1857. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.js +0 -0
  1858. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → is-network-error}/license +0 -0
  1859. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/package.json +0 -0
  1860. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/readme.md +0 -0
  1861. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/LICENSE +0 -0
  1862. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/README.md +0 -0
  1863. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js +0 -0
  1864. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js.map +0 -0
  1865. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.d.ts +0 -0
  1866. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs +0 -0
  1867. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs.map +0 -0
  1868. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/package.json +0 -0
  1869. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/.editorconfig +0 -0
  1870. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/CONTRIBUTING.md +0 -0
  1871. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/Gruntfile.js +0 -0
  1872. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/LICENSE-MIT +0 -0
  1873. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/README.md +0 -0
  1874. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/_config.yml +0 -0
  1875. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/bower.json +0 -0
  1876. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/index.html +0 -0
  1877. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/script.js +0 -0
  1878. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/styles.css +0 -0
  1879. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.js +0 -0
  1880. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.min.js +0 -0
  1881. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/index.d.ts +0 -0
  1882. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/lib/loglevel.js +0 -0
  1883. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/package.json +0 -0
  1884. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/LICENSE +0 -0
  1885. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/README.md +0 -0
  1886. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.d.ts +0 -0
  1887. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.js +0 -0
  1888. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.d.ts +0 -0
  1889. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.js +0 -0
  1890. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.d.ts +0 -0
  1891. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.js +0 -0
  1892. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.d.ts +0 -0
  1893. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.js +0 -0
  1894. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.d.ts +0 -0
  1895. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.js +0 -0
  1896. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.d.ts +0 -0
  1897. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.js +0 -0
  1898. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.d.ts +0 -0
  1899. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.js +0 -0
  1900. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.d.ts +0 -0
  1901. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.js +0 -0
  1902. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.d.ts +0 -0
  1903. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.js +0 -0
  1904. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.d.ts +0 -0
  1905. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.js +0 -0
  1906. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.d.ts +0 -0
  1907. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.js +0 -0
  1908. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.d.ts +0 -0
  1909. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.js +0 -0
  1910. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.d.ts +0 -0
  1911. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.js +0 -0
  1912. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.d.ts +0 -0
  1913. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.js +0 -0
  1914. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.d.ts +0 -0
  1915. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.js +0 -0
  1916. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.d.ts +0 -0
  1917. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.js +0 -0
  1918. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.d.ts +0 -0
  1919. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.js +0 -0
  1920. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.d.ts +0 -0
  1921. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.js +0 -0
  1922. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.d.ts +0 -0
  1923. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.js +0 -0
  1924. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.d.ts +0 -0
  1925. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.js +0 -0
  1926. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.d.ts +0 -0
  1927. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.js +0 -0
  1928. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.d.ts +0 -0
  1929. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.js +0 -0
  1930. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/package.json +0 -0
  1931. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/LICENSE +0 -0
  1932. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/README.md +0 -0
  1933. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.js +0 -0
  1934. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.min.js +0 -0
  1935. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.d.ts +0 -0
  1936. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js +0 -0
  1937. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js.map +0 -0
  1938. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.d.ts +0 -0
  1939. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js +0 -0
  1940. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js.map +0 -0
  1941. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.d.ts +0 -0
  1942. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js +0 -0
  1943. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js.map +0 -0
  1944. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.d.ts +0 -0
  1945. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js +0 -0
  1946. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js.map +0 -0
  1947. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.d.ts +0 -0
  1948. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js +0 -0
  1949. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js.map +0 -0
  1950. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.d.ts +0 -0
  1951. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js +0 -0
  1952. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js.map +0 -0
  1953. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.d.ts +0 -0
  1954. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js +0 -0
  1955. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js.map +0 -0
  1956. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.d.ts +0 -0
  1957. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js +0 -0
  1958. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js.map +0 -0
  1959. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.d.ts +0 -0
  1960. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js +0 -0
  1961. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js.map +0 -0
  1962. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.d.ts +0 -0
  1963. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js +0 -0
  1964. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js.map +0 -0
  1965. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.d.ts +0 -0
  1966. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js +0 -0
  1967. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js.map +0 -0
  1968. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.d.ts +0 -0
  1969. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js +0 -0
  1970. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js.map +0 -0
  1971. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.d.ts +0 -0
  1972. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js +0 -0
  1973. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js.map +0 -0
  1974. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.d.ts +0 -0
  1975. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js +0 -0
  1976. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js.map +0 -0
  1977. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.d.ts +0 -0
  1978. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js +0 -0
  1979. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js.map +0 -0
  1980. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.d.ts +0 -0
  1981. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js +0 -0
  1982. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js.map +0 -0
  1983. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.d.ts +0 -0
  1984. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js +0 -0
  1985. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js.map +0 -0
  1986. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.d.ts +0 -0
  1987. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js +0 -0
  1988. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js.map +0 -0
  1989. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.d.ts +0 -0
  1990. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js +0 -0
  1991. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js.map +0 -0
  1992. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.d.ts +0 -0
  1993. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js +0 -0
  1994. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js.map +0 -0
  1995. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.d.ts +0 -0
  1996. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js +0 -0
  1997. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js.map +0 -0
  1998. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.d.ts +0 -0
  1999. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js +0 -0
  2000. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js.map +0 -0
  2001. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.d.ts +0 -0
  2002. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js +0 -0
  2003. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js.map +0 -0
  2004. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.d.ts +0 -0
  2005. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js +0 -0
  2006. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js.map +0 -0
  2007. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.d.ts +0 -0
  2008. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js +0 -0
  2009. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js.map +0 -0
  2010. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.d.ts +0 -0
  2011. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js +0 -0
  2012. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js.map +0 -0
  2013. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.d.ts +0 -0
  2014. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js +0 -0
  2015. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js.map +0 -0
  2016. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.d.ts +0 -0
  2017. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js +0 -0
  2018. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js.map +0 -0
  2019. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.d.ts +0 -0
  2020. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js +0 -0
  2021. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js.map +0 -0
  2022. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.d.ts +0 -0
  2023. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js +0 -0
  2024. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js.map +0 -0
  2025. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.d.ts +0 -0
  2026. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js +0 -0
  2027. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js.map +0 -0
  2028. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.d.ts +0 -0
  2029. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js +0 -0
  2030. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js.map +0 -0
  2031. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.d.ts +0 -0
  2032. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js +0 -0
  2033. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js.map +0 -0
  2034. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.d.ts +0 -0
  2035. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js +0 -0
  2036. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js.map +0 -0
  2037. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.d.ts +0 -0
  2038. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js +0 -0
  2039. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js.map +0 -0
  2040. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.d.ts +0 -0
  2041. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js +0 -0
  2042. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js.map +0 -0
  2043. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.d.ts +0 -0
  2044. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js +0 -0
  2045. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js.map +0 -0
  2046. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.d.ts +0 -0
  2047. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js +0 -0
  2048. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js.map +0 -0
  2049. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.d.ts +0 -0
  2050. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js +0 -0
  2051. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js.map +0 -0
  2052. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.d.ts +0 -0
  2053. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js +0 -0
  2054. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js.map +0 -0
  2055. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.d.ts +0 -0
  2056. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js +0 -0
  2057. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js.map +0 -0
  2058. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.d.ts +0 -0
  2059. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js +0 -0
  2060. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js.map +0 -0
  2061. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.d.ts +0 -0
  2062. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js +0 -0
  2063. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js.map +0 -0
  2064. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.d.ts +0 -0
  2065. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js +0 -0
  2066. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js.map +0 -0
  2067. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.d.ts +0 -0
  2068. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js +0 -0
  2069. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js.map +0 -0
  2070. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.d.ts +0 -0
  2071. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js +0 -0
  2072. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js.map +0 -0
  2073. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.d.ts +0 -0
  2074. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js +0 -0
  2075. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js.map +0 -0
  2076. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.d.ts +0 -0
  2077. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js +0 -0
  2078. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js.map +0 -0
  2079. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.d.ts +0 -0
  2080. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js +0 -0
  2081. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js.map +0 -0
  2082. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.d.ts +0 -0
  2083. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js +0 -0
  2084. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js.map +0 -0
  2085. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.d.ts +0 -0
  2086. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js +0 -0
  2087. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js.map +0 -0
  2088. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.d.ts +0 -0
  2089. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js +0 -0
  2090. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js.map +0 -0
  2091. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.d.ts +0 -0
  2092. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js +0 -0
  2093. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js.map +0 -0
  2094. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.d.ts +0 -0
  2095. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js +0 -0
  2096. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js.map +0 -0
  2097. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.d.ts +0 -0
  2098. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js +0 -0
  2099. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js.map +0 -0
  2100. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.d.ts +0 -0
  2101. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js +0 -0
  2102. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js.map +0 -0
  2103. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.d.ts +0 -0
  2104. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js +0 -0
  2105. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js.map +0 -0
  2106. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.d.ts +0 -0
  2107. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js +0 -0
  2108. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js.map +0 -0
  2109. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.d.ts +0 -0
  2110. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js +0 -0
  2111. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js.map +0 -0
  2112. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.d.ts +0 -0
  2113. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js +0 -0
  2114. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js.map +0 -0
  2115. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/package.json +0 -0
  2116. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/ClientWidgetApi.ts +0 -0
  2117. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/Symbols.ts +0 -0
  2118. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/WidgetApi.ts +0 -0
  2119. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/driver/WidgetDriver.ts +0 -0
  2120. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/index.ts +0 -0
  2121. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ApiVersion.ts +0 -0
  2122. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/Capabilities.ts +0 -0
  2123. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/CapabilitiesAction.ts +0 -0
  2124. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ContentLoadedAction.ts +0 -0
  2125. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/DownloadFileAction.ts +0 -0
  2126. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetMediaConfigAction.ts +0 -0
  2127. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetOpenIDAction.ts +0 -0
  2128. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ICustomWidgetData.ts +0 -0
  2129. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IJitsiWidgetData.ts +0 -0
  2130. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomAccountData.ts +0 -0
  2131. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomEvent.ts +0 -0
  2132. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IStickerpickerWidgetData.ts +0 -0
  2133. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IToDeviceMessage.ts +0 -0
  2134. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidget.ts +0 -0
  2135. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiErrorResponse.ts +0 -0
  2136. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiRequest.ts +0 -0
  2137. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiResponse.ts +0 -0
  2138. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/LanguageChangeAction.ts +0 -0
  2139. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalButtonKind.ts +0 -0
  2140. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalWidgetActions.ts +0 -0
  2141. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/NavigateAction.ts +0 -0
  2142. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/OpenIDCredentialsAction.ts +0 -0
  2143. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadEventAction.ts +0 -0
  2144. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRelationsAction.ts +0 -0
  2145. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRoomAccountDataAction.ts +0 -0
  2146. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcLivekitActions.ts +0 -0
  2147. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcTransportsAction.ts +0 -0
  2148. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ScreenshotAction.ts +0 -0
  2149. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendEventAction.ts +0 -0
  2150. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendToDeviceAction.ts +0 -0
  2151. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SetModalButtonEnabledAction.ts +0 -0
  2152. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickerAction.ts +0 -0
  2153. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickyAction.ts +0 -0
  2154. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SupportedVersionsAction.ts +0 -0
  2155. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ThemeChangeAction.ts +0 -0
  2156. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/TurnServerActions.ts +0 -0
  2157. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateDelayedEventAction.ts +0 -0
  2158. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateStateAction.ts +0 -0
  2159. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UploadFileAction.ts +0 -0
  2160. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UserDirectorySearchAction.ts +0 -0
  2161. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/VisibilityAction.ts +0 -0
  2162. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiAction.ts +0 -0
  2163. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiDirection.ts +0 -0
  2164. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetConfigAction.ts +0 -0
  2165. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetKind.ts +0 -0
  2166. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetType.ts +0 -0
  2167. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/Widget.ts +0 -0
  2168. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetEventCapability.ts +0 -0
  2169. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetParser.ts +0 -0
  2170. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/url.ts +0 -0
  2171. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/utils.ts +0 -0
  2172. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/templating/url-template.ts +0 -0
  2173. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/ITransport.ts +0 -0
  2174. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/PostmessageTransport.ts +0 -0
  2175. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/util/SimpleObservable.ts +0 -0
  2176. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/LICENSE +0 -0
  2177. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/README.md +0 -0
  2178. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/build/index.cjs.js +0 -0
  2179. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/index.mjs +0 -0
  2180. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/decode.mjs +0 -0
  2181. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/encode.mjs +0 -0
  2182. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/format.mjs +0 -0
  2183. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/index.d.ts +0 -0
  2184. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/parse.mjs +0 -0
  2185. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/package.json +0 -0
  2186. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/LICENSE +0 -0
  2187. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/README.md +0 -0
  2188. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.d.ts +0 -0
  2189. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js +0 -0
  2190. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js.map +0 -0
  2191. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/package.json +0 -0
  2192. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/index.js +0 -0
  2193. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/license.md +0 -0
  2194. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/package.json +0 -0
  2195. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/readme.md +0 -0
  2196. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/LICENSE +0 -0
  2197. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/README.md +0 -0
  2198. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/helpers.js +0 -0
  2199. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/ndh +0 -0
  2200. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/dist/index.js +0 -0
  2201. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/package.json +0 -0
  2202. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/types/index.d.ts +0 -0
  2203. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.d.ts +0 -0
  2204. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.js +0 -0
  2205. /package/node_modules/{music-metadata/node_modules/file-type → p-retry}/license +0 -0
  2206. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/package.json +0 -0
  2207. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/readme.md +0 -0
  2208. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/LICENSE-MIT.txt +0 -0
  2209. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/README.md +0 -0
  2210. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/package.json +0 -0
  2211. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.es6.js +0 -0
  2212. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.js +0 -0
  2213. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.eslintrc.js +0 -0
  2214. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/FUNDING.yml +0 -0
  2215. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/codecov.yml +0 -0
  2216. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/dependabot.yml +0 -0
  2217. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/workflows/ci.yml +0 -0
  2218. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/CHANGELOG.md +0 -0
  2219. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/LICENSE +0 -0
  2220. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/README.md +0 -0
  2221. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/checker.js +0 -0
  2222. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/grammar.js +0 -0
  2223. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/index.js +0 -0
  2224. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/parser.js +0 -0
  2225. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/writer.js +0 -0
  2226. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/package.json +0 -0
  2227. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/LICENSE.txt +0 -0
  2228. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/README.md +0 -0
  2229. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.d.ts +0 -0
  2230. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.js +0 -0
  2231. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.d.ts +0 -0
  2232. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.js +0 -0
  2233. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.d.ts +0 -0
  2234. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.js +0 -0
  2235. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.d.ts +0 -0
  2236. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.js +0 -0
  2237. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.d.ts +0 -0
  2238. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.js +0 -0
  2239. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.d.ts +0 -0
  2240. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.js +0 -0
  2241. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.d.ts +0 -0
  2242. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.js +0 -0
  2243. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.d.ts +0 -0
  2244. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.js +0 -0
  2245. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.d.ts +0 -0
  2246. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.js +0 -0
  2247. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.d.ts +0 -0
  2248. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.js +0 -0
  2249. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.d.ts +0 -0
  2250. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.js +0 -0
  2251. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.d.ts +0 -0
  2252. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.js +0 -0
  2253. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.d.ts +0 -0
  2254. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.js +0 -0
  2255. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.d.ts +0 -0
  2256. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.js +0 -0
  2257. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.d.ts +0 -0
  2258. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.js +0 -0
  2259. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.d.ts +0 -0
  2260. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.js +0 -0
  2261. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/types.d.ts +0 -0
  2262. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/package.json +0 -0
  2263. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/LICENSE.txt +0 -0
  2264. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/README.md +0 -0
  2265. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.d.ts +0 -0
  2266. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.js +0 -0
  2267. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/package.json +0 -0
  2268. /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
  2269. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/LICENSE.txt +0 -0
  2270. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/README.md +0 -0
  2271. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.cjs.js +0 -0
  2272. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.d.ts +0 -0
  2273. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.mjs +0 -0
  2274. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/package.json +0 -0
  2275. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.d.ts +0 -0
  2276. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.js +0 -0
  2277. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/license +0 -0
  2278. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/package.json +0 -0
  2279. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/readme.md +0 -0
  2280. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/CHANGELOG.md +0 -0
  2281. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/LICENSE +0 -0
  2282. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/README.md +0 -0
  2283. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/data.json +0 -0
  2284. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.d.ts +0 -0
  2285. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.js +0 -0
  2286. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/package.json +0 -0
  2287. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/LICENSE.txt +0 -0
  2288. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/README.md +0 -0
  2289. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.d.ts +0 -0
  2290. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.js +0 -0
  2291. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/package.json +0 -0
@@ -1,2219 +0,0 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
2
- import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
3
- import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
4
- import { i as normalizeMatrixResolvableTarget, t as isMatrixQualifiedUserId } from "./target-ids-Nwx7cMVE.mjs";
5
- import { n as withMatrixSendCurrentness, o as buildMatrixReactionContent, t as captureMatrixSendCurrentness } from "./send-currentness-BrGXL7b8.mjs";
6
- import { _ as MsgType, d as buildMatrixMessageRelation, f as resolveMatrixReplyToEventId, g as MSC4357_LIVE_KEY, l as isStrictDirectRoom, m as EventType, n as inspectMatrixDirectRooms, p as resolveMatrixThreadRootId, r as persistMatrixDirectRoomMapping, v as RelationType } from "./direct-management-B2Bno2xL.mjs";
7
- import { n as getMatrixEventProjection } from "./event-helpers-CspuhE9k.mjs";
8
- import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
9
- import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-outbound";
10
- import { asNullableObjectRecord, asNullableRecord, isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeOptionalStringifiedId } from "openclaw/plugin-sdk/string-coerce-runtime";
11
- import { FormatCapabilityProfile, convertMarkdownTables, findCodeRegions, isInsideCode, markdownToIR, renderMarkdownWithMarkers, tokenizeHtmlTags } from "openclaw/plugin-sdk/text-chunking";
12
- import { createHash } from "node:crypto";
13
- import path from "node:path";
14
- import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
15
- import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
16
- import { loadOutboundMediaFromUrl } from "openclaw/plugin-sdk/outbound-media";
17
- import { M_POLL_KIND_DISCLOSED } from "matrix-js-sdk/lib/@types/polls.js";
18
- import { normalizePollInput } from "openclaw/plugin-sdk/poll-runtime";
19
- import MarkdownIt from "markdown-it";
20
- import { isAutoLinkedFileRef } from "openclaw/plugin-sdk/text-autolink-runtime";
21
- import { isVoiceMessageCompatibleAudio } from "openclaw/plugin-sdk/media-runtime";
22
- import { parseBuffer } from "music-metadata";
23
- //#region extensions/matrix/src/matrix/send/client.ts
24
- const loadMatrixSendClientRuntime = createLazyRuntimeModule(() => import("./client-bootstrap-DGX0f-4x.mjs"));
25
- function resolveMediaMaxBytes(accountId, cfg) {
26
- if (!cfg) throw new Error("Matrix media limits requires a resolved runtime config. Load and resolve config at the command or gateway boundary, then pass cfg through the runtime path.");
27
- const resolvedCfg = requireRuntimeConfig(cfg, "Matrix media limits");
28
- const mediaMaxMb = resolveMatrixAccountConfig({
29
- cfg: resolvedCfg,
30
- accountId
31
- }).mediaMaxMb;
32
- return typeof mediaMaxMb === "number" && mediaMaxMb > 0 ? mediaMaxMb * 1024 * 1024 : void 0;
33
- }
34
- async function withResolvedMatrixSendClient(opts, run) {
35
- return await withResolvedMatrixClient({
36
- ...opts,
37
- readiness: "started"
38
- }, (client, abortSignal) => {
39
- if (!opts.signal && !opts.assertDirectAdapterHandoff) return run(client, abortSignal);
40
- return withMatrixSendCurrentness(client, () => {
41
- opts.assertDirectAdapterHandoff?.();
42
- opts.signal?.throwIfAborted();
43
- abortSignal?.throwIfAborted();
44
- }, () => run(client, abortSignal));
45
- }, "persist");
46
- }
47
- async function withResolvedMatrixControlClient(opts, run) {
48
- return await withResolvedMatrixClient({
49
- ...opts,
50
- readiness: "none"
51
- }, run);
52
- }
53
- async function withResolvedMatrixClient(opts, run, shutdownBehavior) {
54
- if (opts.client) return await run(opts.client);
55
- const { withResolvedRuntimeMatrixClient } = await loadMatrixSendClientRuntime();
56
- return await withResolvedRuntimeMatrixClient(opts, run, shutdownBehavior);
57
- }
58
- //#endregion
59
- //#region extensions/matrix/src/matrix/send/receipt.ts
60
- function createMatrixSendReceipt(params) {
61
- const firstEvent = params.events[0];
62
- const receipt = createMessageReceiptFromOutboundResults({
63
- kind: firstEvent?.kind ?? "text",
64
- ...firstEvent?.replyToId ? { replyToId: firstEvent.replyToId } : {},
65
- ...params.threadId ? { threadId: params.threadId } : {},
66
- results: params.events.map(({ messageId }) => ({
67
- channel: "matrix",
68
- messageId,
69
- roomId: params.roomId
70
- }))
71
- });
72
- receipt.parts = receipt.parts.map((part, index) => {
73
- const event = params.events[index];
74
- const actualPart = {
75
- ...part,
76
- kind: event.kind
77
- };
78
- if (event.replyToId) actualPart.replyToId = event.replyToId;
79
- else delete actualPart.replyToId;
80
- return actualPart;
81
- });
82
- return receipt;
83
- }
84
- //#endregion
85
- //#region extensions/matrix/src/matrix/send/targets.ts
86
- function normalizeTarget(raw) {
87
- const trimmed = raw.trim();
88
- if (!trimmed) throw new Error("Matrix target is required (room:<id> or #alias)");
89
- return trimmed;
90
- }
91
- function normalizeThreadId(raw) {
92
- return normalizeOptionalStringifiedId(raw) ?? null;
93
- }
94
- const MAX_DIRECT_ROOM_CACHE_SIZE = 1024;
95
- const directRoomCacheByClient = /* @__PURE__ */ new WeakMap();
96
- function resolveDirectRoomCache(client) {
97
- const existing = directRoomCacheByClient.get(client);
98
- if (existing) return existing;
99
- const created = /* @__PURE__ */ new Map();
100
- directRoomCacheByClient.set(client, created);
101
- return created;
102
- }
103
- function setDirectRoomCached(client, key, value) {
104
- const directRoomCache = resolveDirectRoomCache(client);
105
- directRoomCache.set(key, value);
106
- if (directRoomCache.size > MAX_DIRECT_ROOM_CACHE_SIZE) {
107
- const oldest = directRoomCache.keys().next().value;
108
- if (oldest !== void 0) directRoomCache.delete(oldest);
109
- }
110
- }
111
- async function resolveDirectRoomId(client, userId, persistDirectMapping) {
112
- const trimmed = userId.trim();
113
- if (!isMatrixQualifiedUserId(trimmed)) throw new Error(`Matrix user IDs must be fully qualified (got "${trimmed}")`);
114
- const selfUserId = (await client.getUserId().catch(() => null))?.trim() || null;
115
- const directRoomCache = resolveDirectRoomCache(client);
116
- const cacheKey = persistDirectMapping ? trimmed : `read:${trimmed}`;
117
- const cached = directRoomCache.get(cacheKey);
118
- if (cached && await isStrictDirectRoom({
119
- client,
120
- roomId: cached,
121
- remoteUserId: trimmed,
122
- selfUserId
123
- })) return cached;
124
- if (cached) directRoomCache.delete(cacheKey);
125
- const inspection = await inspectMatrixDirectRooms({
126
- client,
127
- remoteUserId: trimmed
128
- });
129
- if (inspection.activeRoomId) {
130
- if (persistDirectMapping && inspection.mappedRoomIds[0] !== inspection.activeRoomId) await persistMatrixDirectRoomMapping({
131
- client,
132
- remoteUserId: trimmed,
133
- roomId: inspection.activeRoomId
134
- }).catch(() => {
135
- captureMatrixSendCurrentness(client)?.();
136
- });
137
- setDirectRoomCached(client, cacheKey, inspection.activeRoomId);
138
- return inspection.activeRoomId;
139
- }
140
- throw new Error(`No direct room found for ${trimmed} (m.direct missing)`);
141
- }
142
- async function resolveMatrixRoomId(client, raw, opts = {}) {
143
- const target = normalizeMatrixResolvableTarget(normalizeTarget(raw));
144
- if (normalizeLowercaseStringOrEmpty(target).startsWith("user:")) return await resolveDirectRoomId(client, target.slice(5), opts.persistDirectMapping ?? true);
145
- if (isMatrixQualifiedUserId(target)) return await resolveDirectRoomId(client, target, opts.persistDirectMapping ?? true);
146
- if (target.startsWith("#")) {
147
- const resolved = await client.resolveRoom(target);
148
- if (!resolved) throw new Error(`Matrix alias ${target} could not be resolved`);
149
- return resolved;
150
- }
151
- return target;
152
- }
153
- //#endregion
154
- //#region extensions/matrix/src/matrix/delivery-plan.ts
155
- const DELIVERY_PLAN_VERSION = 1;
156
- const DELIVERY_PLAN_NAMESPACE = "outbound-delivery-plans";
157
- const DELIVERY_PLAN_TTL_MS = 864e5;
158
- var MatrixDeliveryPlanInvariantError = class extends Error {
159
- constructor(message) {
160
- super(message);
161
- this.name = "MatrixDeliveryPlanInvariantError";
162
- }
163
- };
164
- function createDeliveryPlanStore() {
165
- return getMatrixRuntime().state.openBlobStore({
166
- namespace: DELIVERY_PLAN_NAMESPACE,
167
- maxEntries: 1e4,
168
- maxBytesPerEntry: 8388608,
169
- maxBytesPerNamespace: 268435456,
170
- overflowPolicy: "reject-new",
171
- defaultTtlMs: DELIVERY_PLAN_TTL_MS
172
- });
173
- }
174
- function requireIndex(value, label) {
175
- if (!Number.isSafeInteger(value) || value < 0) throw new Error(`Matrix durable delivery ${label} must be a non-negative integer`);
176
- return value;
177
- }
178
- function requirePartCount(value) {
179
- if (!Number.isSafeInteger(value) || (value ?? 0) < 1) throw new Error("Matrix durable delivery part count must be a positive integer");
180
- return value;
181
- }
182
- function queuePrefix(queueId) {
183
- const normalized = queueId.trim();
184
- if (!normalized) throw new Error("Matrix durable delivery requires a queue id");
185
- return `${createHash("sha256").update(normalized).digest("hex")}.`;
186
- }
187
- function planKey(identity) {
188
- return `${queuePrefix(identity.queueId)}${requireIndex(identity.partIndex, "part index")}`;
189
- }
190
- function transactionId(identity, eventIndex) {
191
- return `oc_${createHash("sha256").update(identity.queueId).update("\0").update(String(requireIndex(identity.partIndex, "part index"))).update("\0").update(String(requireIndex(eventIndex, "event index"))).digest("base64url")}`;
192
- }
193
- const RECEIPT_KINDS = /* @__PURE__ */ new Set([
194
- "text",
195
- "media",
196
- "voice",
197
- "poll",
198
- "card",
199
- "preview",
200
- "unknown"
201
- ]);
202
- function isPlan(value) {
203
- if (!value || typeof value !== "object") return false;
204
- const plan = value;
205
- return plan.version === DELIVERY_PLAN_VERSION && typeof plan.queueId === "string" && Boolean(plan.queueId.trim()) && typeof plan.accountId === "string" && typeof plan.roomId === "string" && Boolean(plan.roomId.trim()) && (plan.wireEventType === "m.room.message" || plan.wireEventType === "m.room.encrypted") && typeof plan.endpointPrefix === "string" && Boolean(plan.endpointPrefix.trim()) && typeof plan.transactionScopeId === "string" && Boolean(plan.transactionScopeId.trim()) && Number.isSafeInteger(plan.partIndex) && (plan.partIndex ?? -1) >= 0 && Number.isSafeInteger(plan.partCount) && (plan.partCount ?? 0) > 0 && (plan.partIndex ?? -1) < (plan.partCount ?? 0) && Array.isArray(plan.events) && plan.events.length > 0 && plan.events.every((event) => event && typeof event === "object" && typeof event.transactionId === "string" && Boolean(event.transactionId.trim()) && RECEIPT_KINDS.has(event.receiptKind) && Boolean(event.content) && typeof event.content === "object");
206
- }
207
- function decodePlan(bytes) {
208
- let value;
209
- try {
210
- value = JSON.parse(new TextDecoder().decode(bytes));
211
- } catch {
212
- throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan is invalid JSON");
213
- }
214
- if (!isPlan(value)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan is invalid");
215
- return value;
216
- }
217
- function assertPlanIdentity(plan, params) {
218
- if (plan.queueId !== params.identity.queueId || plan.partIndex !== params.identity.partIndex || plan.partCount !== params.identity.partCount || plan.accountId !== (params.accountId ?? "") || plan.roomId !== params.roomId || plan.transactionScopeId !== params.transactionScopeId || plan.wireEventType !== params.wireEventType) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan no longer matches the active delivery target");
219
- }
220
- function endpointPrefix(dispatch) {
221
- const encodedTransactionId = encodeURIComponent(dispatch.transactionId);
222
- if (!dispatch.requestPath.endsWith(encodedTransactionId)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery transaction does not match its request path");
223
- return dispatch.requestPath.slice(0, -encodedTransactionId.length);
224
- }
225
- function createMatrixPlannedEvents(params) {
226
- return params.events.map((event, index) => ({
227
- ...structuredClone(event),
228
- transactionId: transactionId(params.identity, index)
229
- }));
230
- }
231
- function resolveMatrixDurableDeliveryIdentity(params) {
232
- if (params.queueId === void 0) return null;
233
- if (params.partIndex === void 0 || params.partCount === void 0) throw new Error("Matrix durable delivery requires stable part topology");
234
- const partIndex = requireIndex(params.partIndex, "part index");
235
- const partCount = requirePartCount(params.partCount);
236
- if (partIndex >= partCount) throw new Error("Matrix durable delivery part index must be below the part count");
237
- return {
238
- queueId: params.queueId,
239
- partIndex,
240
- partCount
241
- };
242
- }
243
- async function loadMatrixDeliveryPlan(params) {
244
- const entry = await createDeliveryPlanStore().lookup(planKey(params.identity));
245
- if (!entry) return null;
246
- const plan = decodePlan(entry.bytes);
247
- if (planKey(plan) !== planKey(params.identity)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan key is invalid");
248
- assertPlanIdentity(plan, params);
249
- return structuredClone(plan);
250
- }
251
- async function persistMatrixDeliveryPlan(params) {
252
- if (params.events.length === 0) throw new Error("Matrix durable delivery plan must contain at least one event");
253
- if (params.dispatch.roomId !== params.roomId || params.dispatch.eventType !== params.wireEventType || !params.events.some((event) => event.transactionId === params.dispatch.transactionId)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery was dispatched to an unexpected endpoint");
254
- const partCount = requirePartCount(params.identity.partCount);
255
- const events = params.events.map((event, index) => {
256
- if (event.transactionId !== transactionId(params.identity, index)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan has an invalid transaction identifier");
257
- return structuredClone(event);
258
- });
259
- const plan = {
260
- version: DELIVERY_PLAN_VERSION,
261
- queueId: params.identity.queueId,
262
- accountId: params.accountId ?? "",
263
- roomId: params.roomId,
264
- wireEventType: params.wireEventType,
265
- endpointPrefix: endpointPrefix(params.dispatch),
266
- transactionScopeId: params.transactionScopeId,
267
- partIndex: requireIndex(params.identity.partIndex, "part index"),
268
- partCount,
269
- events
270
- };
271
- const store = createDeliveryPlanStore();
272
- await store.deleteExpired();
273
- const bytes = new TextEncoder().encode(JSON.stringify(plan));
274
- if (await store.registerIfAbsent(planKey(params.identity), bytes, {})) return plan;
275
- const existing = await loadMatrixDeliveryPlan(params);
276
- if (!existing || JSON.stringify(existing) !== JSON.stringify(plan)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan no longer matches the prepared event batch");
277
- return existing;
278
- }
279
- async function loadQueuePlans(queueId) {
280
- const store = createDeliveryPlanStore();
281
- const entries = await store.entries();
282
- const prefix = entries.length > 0 ? queuePrefix(queueId) : "";
283
- const keys = entries.filter((entry) => entry.key.startsWith(prefix)).map((entry) => entry.key);
284
- return await Promise.all(keys.map(async (key) => {
285
- const entry = await store.lookup(key);
286
- if (!entry) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan disappeared during reconciliation");
287
- const plan = decodePlan(entry.bytes);
288
- if (key !== planKey(plan)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan key is invalid");
289
- return plan;
290
- }));
291
- }
292
- function assertCompletePartTopology(plans) {
293
- const partCount = plans[0]?.partCount;
294
- if (!partCount) throw new MatrixDeliveryPlanInvariantError("Matrix ambiguous delivery has no event plan");
295
- if (plans.some((plan) => plan.partCount !== partCount)) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery plan part topology is inconsistent");
296
- const storedParts = new Set(plans.map((plan) => plan.partIndex));
297
- if (storedParts.size !== partCount || Array.from({ length: partCount }, (_, partIndex) => partIndex).some((partIndex) => !storedParts.has(partIndex))) throw new MatrixDeliveryPlanInvariantError("Matrix ambiguous delivery has an incomplete event plan");
298
- }
299
- async function requireTransactionScope(client) {
300
- const scope = (await client.getTransactionScopeId()).trim();
301
- if (!scope) throw new MatrixDeliveryPlanInvariantError("Matrix durable delivery requires a stable transaction scope");
302
- return scope;
303
- }
304
- async function reconcileMatrixUnknownSend(ctx) {
305
- try {
306
- if (ctx.payloads.length !== 1) throw new MatrixDeliveryPlanInvariantError("Matrix reconciliation requires exactly one prepared payload");
307
- const plans = await loadQueuePlans(ctx.queueId);
308
- if (plans.length === 0) throw new MatrixDeliveryPlanInvariantError("Matrix ambiguous delivery has no persisted event plan");
309
- assertCompletePartTopology(plans);
310
- return await withResolvedMatrixSendClient({
311
- cfg: ctx.cfg,
312
- accountId: ctx.accountId
313
- }, async (client) => {
314
- const transactionScopeId = await requireTransactionScope(client);
315
- const roomId = await resolveMatrixRoomId(client, ctx.to);
316
- const wireEventType = await client.getMessageWireEventType(roomId);
317
- const orderedPlans = [...plans].toSorted((left, right) => left.partIndex - right.partIndex);
318
- const results = /* @__PURE__ */ new Map();
319
- for (const plan of orderedPlans) {
320
- assertPlanIdentity(plan, {
321
- identity: plan,
322
- accountId: ctx.accountId,
323
- roomId,
324
- transactionScopeId,
325
- wireEventType
326
- });
327
- for (const event of plan.events) {
328
- const messageId = await client.sendMessage(roomId, event.content, event.transactionId, async (dispatch) => {
329
- await persistMatrixDeliveryPlan({
330
- identity: plan,
331
- accountId: ctx.accountId,
332
- roomId,
333
- transactionScopeId,
334
- wireEventType,
335
- events: plan.events,
336
- dispatch
337
- });
338
- });
339
- if (!results.has(messageId)) {
340
- const replyToId = resolveMatrixReplyToEventId(event.content);
341
- results.set(messageId, {
342
- messageId,
343
- kind: event.receiptKind,
344
- ...replyToId ? { replyToId } : {}
345
- });
346
- }
347
- }
348
- }
349
- const receipt = createMatrixSendReceipt({
350
- roomId,
351
- events: [...results.values()],
352
- threadId: resolveMatrixThreadRootId(orderedPlans[0].events[0].content)
353
- });
354
- return {
355
- status: "sent",
356
- messageId: receipt.platformMessageIds.at(-1),
357
- receipt
358
- };
359
- });
360
- } catch (error) {
361
- const retryable = !(error instanceof MatrixDeliveryPlanInvariantError);
362
- let cleanupError;
363
- if (!retryable) try {
364
- await cleanupMatrixDeliveryPlans({ queueId: ctx.queueId });
365
- } catch (cleanupFailure) {
366
- cleanupError = cleanupFailure;
367
- }
368
- const errorMessage = formatErrorMessage(error instanceof Error || typeof error === "string" ? error : "unknown error");
369
- return {
370
- status: "unresolved",
371
- error: cleanupError === void 0 ? errorMessage : `${errorMessage}; Matrix delivery-plan cleanup failed: ${formatErrorMessage(cleanupError instanceof Error || typeof cleanupError === "string" ? cleanupError : "unknown error")}`,
372
- retryable
373
- };
374
- }
375
- }
376
- async function cleanupMatrixDeliveryPlans(ctx) {
377
- const store = createDeliveryPlanStore();
378
- await store.deleteExpired();
379
- const entries = await store.entries();
380
- const prefix = entries.length > 0 ? queuePrefix(ctx.queueId) : "";
381
- const keys = entries.filter((entry) => entry.key.startsWith(prefix)).map((entry) => entry.key);
382
- await Promise.all(keys.map(async (key) => await store.delete(key)));
383
- }
384
- //#endregion
385
- //#region extensions/matrix/src/matrix/poll-types.ts
386
- /**
387
- * Matrix Poll Types (MSC3381)
388
- *
389
- * Defines types for Matrix poll events:
390
- * - m.poll.start - Creates a new poll
391
- * - m.poll.response - Records a vote
392
- * - m.poll.end - Closes a poll
393
- */
394
- const M_POLL_START = "m.poll.start";
395
- const M_POLL_RESPONSE = "m.poll.response";
396
- const M_POLL_END = "m.poll.end";
397
- const ORG_POLL_START = "org.matrix.msc3381.poll.start";
398
- const ORG_POLL_RESPONSE = "org.matrix.msc3381.poll.response";
399
- const ORG_POLL_END = "org.matrix.msc3381.poll.end";
400
- const POLL_EVENT_TYPES = [
401
- M_POLL_START,
402
- M_POLL_RESPONSE,
403
- M_POLL_END,
404
- ORG_POLL_START,
405
- ORG_POLL_RESPONSE,
406
- ORG_POLL_END
407
- ];
408
- const POLL_START_TYPES = [M_POLL_START, ORG_POLL_START];
409
- const POLL_RESPONSE_TYPES = [M_POLL_RESPONSE, ORG_POLL_RESPONSE];
410
- const POLL_END_TYPES = [M_POLL_END, ORG_POLL_END];
411
- function isPollStartType(eventType) {
412
- return POLL_START_TYPES.includes(eventType);
413
- }
414
- function isPollResponseType(eventType) {
415
- return POLL_RESPONSE_TYPES.includes(eventType);
416
- }
417
- function isPollEndType(eventType) {
418
- return POLL_END_TYPES.includes(eventType);
419
- }
420
- function isPollEventType(eventType) {
421
- return POLL_EVENT_TYPES.includes(eventType);
422
- }
423
- function getTextContent(text) {
424
- if (!isRecord(text)) return "";
425
- const value = text["m.text"] ?? text["org.matrix.msc1767.text"] ?? text.body;
426
- return normalizeOptionalString(value) ?? "";
427
- }
428
- function parsePollStart(content) {
429
- const poll = content["m.poll.start"] ?? content[ORG_POLL_START] ?? content["m.poll"];
430
- if (!poll) return null;
431
- const question = getTextContent(poll.question);
432
- if (!question) return null;
433
- const rawAnswers = poll.answers;
434
- const answers = (Array.isArray(rawAnswers) ? rawAnswers : []).map((answer) => ({
435
- id: isRecord(answer) && typeof answer.id === "string" ? answer.id : "",
436
- text: getTextContent(answer)
437
- })).filter((answer) => answer.id.trim().length > 0 && answer.text.length > 0);
438
- if (answers.length === 0) return null;
439
- const maxSelectionsRaw = poll.max_selections;
440
- const maxSelections = typeof maxSelectionsRaw === "number" && Number.isFinite(maxSelectionsRaw) ? Math.floor(maxSelectionsRaw) : 1;
441
- return {
442
- question,
443
- answers,
444
- kind: M_POLL_KIND_DISCLOSED.matches(poll.kind ?? "m.poll.disclosed") ? "m.poll.disclosed" : "m.poll.undisclosed",
445
- maxSelections: Math.min(Math.max(maxSelections, 1), answers.length)
446
- };
447
- }
448
- function parsePollStartContent(content) {
449
- const parsed = parsePollStart(content);
450
- if (!parsed) return null;
451
- return {
452
- eventId: "",
453
- roomId: "",
454
- sender: "",
455
- senderName: "",
456
- question: parsed.question,
457
- answers: parsed.answers.map((answer) => answer.text),
458
- kind: parsed.kind,
459
- maxSelections: parsed.maxSelections
460
- };
461
- }
462
- function formatPollAsText(summary) {
463
- return [
464
- "[Poll]",
465
- summary.question,
466
- "",
467
- ...summary.answers.map((answer, idx) => `${idx + 1}. ${answer}`)
468
- ].join("\n");
469
- }
470
- function resolvePollReferenceEventId(content) {
471
- if (!content || typeof content !== "object") return null;
472
- const relates = content["m.relates_to"];
473
- if (!relates || typeof relates.event_id !== "string") return null;
474
- const eventId = relates.event_id.trim();
475
- return eventId.length > 0 ? eventId : null;
476
- }
477
- function parsePollResponseAnswerIds(content) {
478
- if (!content || typeof content !== "object") return null;
479
- const response = content[M_POLL_RESPONSE] ?? content[ORG_POLL_RESPONSE];
480
- if (!response || !Array.isArray(response.answers)) return null;
481
- return response.answers.filter((answer) => typeof answer === "string");
482
- }
483
- function buildPollResultsSummary(params) {
484
- const parsed = parsePollStart(params.content);
485
- if (!parsed) return null;
486
- let pollClosedAt = Number.POSITIVE_INFINITY;
487
- for (const event of params.relationEvents) {
488
- if (event.unsigned?.redacted_because) continue;
489
- if (!isPollEndType(typeof event.type === "string" ? event.type : "")) continue;
490
- if (event.sender !== params.sender) continue;
491
- const ts = typeof event.origin_server_ts === "number" && Number.isFinite(event.origin_server_ts) ? event.origin_server_ts : Number.POSITIVE_INFINITY;
492
- if (ts < pollClosedAt) pollClosedAt = ts;
493
- }
494
- const answerIds = new Set(parsed.answers.map((answer) => answer.id));
495
- const latestVoteBySender = /* @__PURE__ */ new Map();
496
- const orderedRelationEvents = [...params.relationEvents].toSorted((left, right) => {
497
- const leftTs = typeof left.origin_server_ts === "number" && Number.isFinite(left.origin_server_ts) ? left.origin_server_ts : Number.POSITIVE_INFINITY;
498
- const rightTs = typeof right.origin_server_ts === "number" && Number.isFinite(right.origin_server_ts) ? right.origin_server_ts : Number.POSITIVE_INFINITY;
499
- if (leftTs !== rightTs) return leftTs - rightTs;
500
- return (left.event_id ?? "").localeCompare(right.event_id ?? "");
501
- });
502
- for (const event of orderedRelationEvents) {
503
- if (event.unsigned?.redacted_because) continue;
504
- if (!isPollResponseType(typeof event.type === "string" ? event.type : "")) continue;
505
- const senderId = normalizeOptionalString(event.sender) ?? "";
506
- if (!senderId) continue;
507
- const eventTs = typeof event.origin_server_ts === "number" && Number.isFinite(event.origin_server_ts) ? event.origin_server_ts : Number.POSITIVE_INFINITY;
508
- if (eventTs > pollClosedAt) continue;
509
- const rawAnswers = parsePollResponseAnswerIds(event.content) ?? [];
510
- const normalizedAnswers = Array.from(new Set(rawAnswers.map((answerId) => normalizeOptionalString(answerId) ?? "").filter((answerId) => answerIds.has(answerId)).slice(0, parsed.maxSelections)));
511
- latestVoteBySender.set(senderId, {
512
- ts: eventTs,
513
- eventId: typeof event.event_id === "string" ? event.event_id : "",
514
- answerIds: normalizedAnswers
515
- });
516
- }
517
- const voteCounts = new Map(parsed.answers.map((answer) => [answer.id, 0]));
518
- let totalVotes = 0;
519
- for (const latestVote of latestVoteBySender.values()) {
520
- if (latestVote.answerIds.length === 0) continue;
521
- totalVotes += 1;
522
- for (const answerId of latestVote.answerIds) voteCounts.set(answerId, (voteCounts.get(answerId) ?? 0) + 1);
523
- }
524
- return {
525
- eventId: params.pollEventId,
526
- roomId: params.roomId,
527
- sender: params.sender,
528
- senderName: params.senderName,
529
- question: parsed.question,
530
- answers: parsed.answers.map((answer) => answer.text),
531
- kind: parsed.kind,
532
- maxSelections: parsed.maxSelections,
533
- entries: parsed.answers.map((answer) => ({
534
- id: answer.id,
535
- text: answer.text,
536
- votes: voteCounts.get(answer.id) ?? 0
537
- })),
538
- totalVotes,
539
- closed: Number.isFinite(pollClosedAt)
540
- };
541
- }
542
- function formatPollResultsAsText(summary) {
543
- const lines = [
544
- summary.closed ? "[Poll closed]" : "[Poll]",
545
- summary.question,
546
- ""
547
- ];
548
- const revealResults = summary.kind === "m.poll.disclosed" || summary.closed;
549
- for (const [index, entry] of summary.entries.entries()) {
550
- if (!revealResults) {
551
- lines.push(`${index + 1}. ${entry.text}`);
552
- continue;
553
- }
554
- lines.push(`${index + 1}. ${entry.text} (${entry.votes} vote${entry.votes === 1 ? "" : "s"})`);
555
- }
556
- lines.push("");
557
- if (!revealResults) lines.push("Responses are hidden until the poll closes.");
558
- else lines.push(`Total voters: ${summary.totalVotes}`);
559
- return lines.join("\n");
560
- }
561
- function buildTextContent$1(body) {
562
- return {
563
- "m.text": body,
564
- "org.matrix.msc1767.text": body
565
- };
566
- }
567
- function buildPollFallbackText(question, answers) {
568
- if (answers.length === 0) return question;
569
- return `${question}\n${answers.map((answer, idx) => `${idx + 1}. ${answer}`).join("\n")}`;
570
- }
571
- function buildPollStartContent(poll) {
572
- const normalized = normalizePollInput(poll);
573
- const answers = normalized.options.map((option, idx) => ({
574
- id: `answer${idx + 1}`,
575
- ...buildTextContent$1(option)
576
- }));
577
- const isMultiple = normalized.maxSelections > 1;
578
- const fallbackText = buildPollFallbackText(normalized.question, answers.map((answer) => getTextContent(answer)));
579
- return {
580
- [M_POLL_START]: {
581
- question: buildTextContent$1(normalized.question),
582
- kind: isMultiple ? "m.poll.undisclosed" : "m.poll.disclosed",
583
- max_selections: normalized.maxSelections,
584
- answers
585
- },
586
- "m.text": fallbackText,
587
- "org.matrix.msc1767.text": fallbackText
588
- };
589
- }
590
- function buildPollResponseContent(pollEventId, answerIds) {
591
- return {
592
- [M_POLL_RESPONSE]: { answers: answerIds },
593
- [ORG_POLL_RESPONSE]: { answers: answerIds },
594
- "m.relates_to": {
595
- rel_type: "m.reference",
596
- event_id: pollEventId
597
- }
598
- };
599
- }
600
- //#endregion
601
- //#region extensions/matrix/src/matrix/format-profile.ts
602
- function createMatrixPrivateMarkers(markdown, exhaustedMessage) {
603
- const used = new Set(Array.from(markdown, (character) => character.charCodeAt(0)));
604
- for (const match of markdown.matchAll(/&#(?:x([0-9a-f]+)|(\d+));/giu)) {
605
- const radix = match[1] ? 16 : 10;
606
- const value = Number.parseInt(match[1] ?? match[2] ?? "", radix);
607
- if (Number.isFinite(value) && value <= 65535) used.add(value);
608
- }
609
- const markers = [];
610
- for (let code = 57344; code <= 63743 && markers.length < 3; code += 1) if (!used.has(code)) markers.push(String.fromCharCode(code));
611
- if (markers.length < 3) throw new Error(exhaustedMessage);
612
- return {
613
- open: markers[0] ?? "",
614
- close: markers[1] ?? "",
615
- padding: markers[2] ?? ""
616
- };
617
- }
618
- const MATRIX_FORMAT_PROFILE = FormatCapabilityProfile.define({
619
- mechanism: "html",
620
- constructs: {
621
- taskList: "fallback",
622
- image: "fallback"
623
- },
624
- chunk: {
625
- limit: 4e3,
626
- unit: "chars"
627
- }
628
- });
629
- function isMarkdownEscaped(markdown, index) {
630
- let slashCount = 0;
631
- let cursor = index - 1;
632
- while (cursor >= 0 && markdown[cursor] === "\\") {
633
- slashCount += 1;
634
- cursor -= 1;
635
- }
636
- return slashCount % 2 === 1;
637
- }
638
- function projectMatrixMarkdown(markdown) {
639
- return (markdown ?? "").replace(/\r\n?/gu, "\n");
640
- }
641
- function renderMatrixMarkdownTables(markdown, mode) {
642
- return MATRIX_FORMAT_PROFILE.constructs.table === "native" && (mode === "off" || mode === "block") ? markdown : convertMarkdownTables(markdown, mode);
643
- }
644
- //#endregion
645
- //#region extensions/matrix/src/matrix/format-table-ranges.ts
646
- const tableParser = new MarkdownIt({
647
- html: false,
648
- linkify: false,
649
- typographer: false
650
- });
651
- function findMatrixTableSourceRanges(markdown) {
652
- const lineStarts = [0];
653
- for (let index = 0; index < markdown.length; index += 1) if (markdown[index] === "\n") lineStarts.push(index + 1);
654
- lineStarts.push(markdown.length);
655
- return matrixTableSourceRangesFromTokens(tableParser.parse(markdown, {}), lineStarts, markdown.length);
656
- }
657
- function matrixTableSourceRangesFromTokens(tokens, lineStarts, sourceLength) {
658
- return tokens.flatMap((token) => {
659
- if (token.type !== "table_open" || !token.map) return [];
660
- return [{
661
- start: lineStarts[token.map[0]] ?? 0,
662
- end: lineStarts[token.map[1]] ?? sourceLength
663
- }];
664
- });
665
- }
666
- //#endregion
667
- //#region extensions/matrix/src/matrix/format-spoiler-ranges.ts
668
- const spoilerParser = new MarkdownIt({
669
- html: false,
670
- linkify: true,
671
- typographer: false
672
- });
673
- spoilerParser.linkify.set({ fuzzyLink: true });
674
- function findInlineMetadataRanges(markdown, references) {
675
- const ranges = [];
676
- const labelStack = [];
677
- const codeRegions = findCodeRegions(markdown);
678
- const underlineTags = [...tokenizeHtmlTags(markdown)].filter((tag) => tag.name === "u" || tag.name === "ins");
679
- let underlineIndex = 0;
680
- for (let index = 0; index < markdown.length - 1; index += 1) {
681
- let nextUnderlineTag = underlineTags[underlineIndex];
682
- while (nextUnderlineTag && nextUnderlineTag.start < index) {
683
- underlineIndex += 1;
684
- nextUnderlineTag = underlineTags[underlineIndex];
685
- }
686
- const underlineTag = nextUnderlineTag?.start === index ? nextUnderlineTag : void 0;
687
- if (underlineTag) {
688
- index = underlineTag.end - 1;
689
- continue;
690
- }
691
- if (isInsideCode(index, codeRegions)) continue;
692
- if (markdown[index] === "\n" && markdown[index + 1] === "\n") {
693
- labelStack.length = 0;
694
- continue;
695
- }
696
- if (markdown[index] === "[" && !isMarkdownEscaped(markdown, index)) {
697
- labelStack.push(index);
698
- continue;
699
- }
700
- if (markdown[index] === "]" && markdown[index + 1] === "(" && !isMarkdownEscaped(markdown, index) && labelStack.pop() !== void 0) {
701
- const start = index + 2;
702
- let cursor = start;
703
- while (/[\s]/u.test(markdown[cursor] ?? "")) cursor += 1;
704
- const destination = spoilerParser.helpers.parseLinkDestination(markdown, cursor, markdown.length);
705
- if (destination.ok) {
706
- cursor = destination.pos;
707
- while (/[\s]/u.test(markdown[cursor] ?? "")) cursor += 1;
708
- const title = spoilerParser.helpers.parseLinkTitle(markdown, cursor, markdown.length);
709
- if (title.ok) {
710
- cursor = title.pos;
711
- while (/[\s]/u.test(markdown[cursor] ?? "")) cursor += 1;
712
- }
713
- }
714
- if (destination.ok && markdown[cursor] === ")") {
715
- ranges.push({
716
- start,
717
- end: cursor + 1
718
- });
719
- index = cursor;
720
- }
721
- continue;
722
- }
723
- if (markdown[index] === "]" && markdown[index + 1] === "[" && !isMarkdownEscaped(markdown, index) && labelStack.pop() !== void 0) {
724
- let end = index + 2;
725
- while (end < markdown.length && (markdown[end] !== "]" || isMarkdownEscaped(markdown, end))) end += 1;
726
- const reference = spoilerParser.utils.normalizeReference(markdown.slice(index + 2, end));
727
- if (end < markdown.length && references.has(reference)) {
728
- ranges.push({
729
- start: index + 2,
730
- end
731
- });
732
- index = end;
733
- }
734
- continue;
735
- }
736
- if (markdown[index] === "]" && !isMarkdownEscaped(markdown, index)) labelStack.pop();
737
- if (markdown[index] === "<") {
738
- const autolink = /^<[A-Za-z][A-Za-z0-9+.-]{1,31}:[^<>\s]*>/u.exec(markdown.slice(index));
739
- if (autolink && !isMarkdownEscaped(markdown, index)) {
740
- ranges.push({
741
- start: index,
742
- end: index + autolink[0].length
743
- });
744
- index += autolink[0].length - 1;
745
- continue;
746
- }
747
- const emailAutolink = /^<[^<>\s@]+@[^<>\s@]+>/u.exec(markdown.slice(index));
748
- if (emailAutolink && !isMarkdownEscaped(markdown, index)) {
749
- ranges.push({
750
- start: index,
751
- end: index + emailAutolink[0].length
752
- });
753
- index += emailAutolink[0].length - 1;
754
- }
755
- }
756
- }
757
- return ranges;
758
- }
759
- function prepareMatrixMarkdownSource(markdown) {
760
- const env = {};
761
- const tokens = spoilerParser.parse(markdown, env);
762
- const references = new Set(Object.keys(env.references ?? {}));
763
- const lineStarts = [0];
764
- for (let index = 0; index < markdown.length; index += 1) if (markdown[index] === "\n") lineStarts.push(index + 1);
765
- lineStarts.push(markdown.length);
766
- const inlineRanges = tokens.flatMap((token) => {
767
- if (token.type !== "inline" || !token.map) return [];
768
- return [{
769
- start: lineStarts[token.map[0]] ?? 0,
770
- end: lineStarts[token.map[1]] ?? markdown.length
771
- }];
772
- });
773
- const ranges = inlineRanges.flatMap(({ start, end }) => findInlineMetadataRanges(markdown.slice(start, end), references).map((range) => ({
774
- start: start + range.start,
775
- end: start + range.end
776
- })));
777
- for (const match of markdown.matchAll(/^\s*\[[^\]\n]+\]:\s*.+$/gmu)) {
778
- const start = match.index ?? 0;
779
- const labelEnd = match[0].indexOf("]:");
780
- const reference = spoilerParser.utils.normalizeReference(match[0].slice(1, labelEnd));
781
- if (references.has(reference)) {
782
- let end = start + match[0].length;
783
- const continuation = /^\n[ \t]+(?:"[^"\n]*"|'[^'\n]*'|\([^\n)]*\))[ \t]*/u.exec(markdown.slice(end));
784
- end += continuation?.[0].length ?? 0;
785
- ranges.push({
786
- start,
787
- end
788
- });
789
- }
790
- }
791
- const codeRegions = findCodeRegions(markdown);
792
- for (const match of spoilerParser.linkify.match(markdown) ?? []) if (!isInsideCode(match.index, codeRegions)) ranges.push({
793
- start: match.index,
794
- end: match.lastIndex
795
- });
796
- return {
797
- markdown,
798
- inlineRanges,
799
- tableRanges: matrixTableSourceRangesFromTokens(tokens, lineStarts, markdown.length),
800
- metadataRanges: ranges,
801
- codeRegions,
802
- underlineTags: [...tokenizeHtmlTags(markdown)].filter((tag) => tag.name === "u" || tag.name === "ins")
803
- };
804
- }
805
- function findMatrixSpoilerDelimiterOffsets(source) {
806
- const { markdown, inlineRanges, codeRegions, metadataRanges, underlineTags } = source;
807
- const excludedRanges = [
808
- ...codeRegions,
809
- ...metadataRanges,
810
- ...underlineTags
811
- ];
812
- const offsets = [];
813
- for (const { start, end } of inlineRanges) {
814
- const candidates = [];
815
- for (let index = start; index < end - 1; index += 1) {
816
- if (markdown[index] !== "|" || markdown[index + 1] !== "|") continue;
817
- const excluded = excludedRanges.some((range) => index >= range.start && index < range.end);
818
- if (isMarkdownEscaped(markdown, index) || excluded) continue;
819
- candidates.push(index);
820
- index += 1;
821
- }
822
- candidates.length -= candidates.length % 2;
823
- offsets.push(...candidates);
824
- }
825
- return [...new Set(offsets)].toSorted((left, right) => left - right);
826
- }
827
- function hasMatrixSpoilerMetadataCollision(source, offsets) {
828
- const { markdown, codeRegions } = source;
829
- const ordinary = new Set(offsets);
830
- const underlineTags = source.underlineTags.filter((tag) => !isMarkdownEscaped(markdown, tag.start));
831
- const literalRanges = [...source.tableRanges, ...codeRegions.filter((code) => !underlineTags.some((tag) => code.start > tag.start && code.start < tag.end))];
832
- for (let index = 0; index < markdown.length - 1; index += 1) {
833
- if (markdown[index] !== "|" || markdown[index + 1] !== "|") continue;
834
- if (ordinary.has(index) || isMarkdownEscaped(markdown, index)) continue;
835
- if (literalRanges.some((range) => index >= range.start && index < range.end)) continue;
836
- return true;
837
- }
838
- return false;
839
- }
840
- function analyzeMatrixSpoilers(markdown) {
841
- const projected = projectMatrixMarkdown(markdown);
842
- if (!projected.includes("||")) return {
843
- markdown: projected,
844
- delimiterOffsets: [],
845
- metadataCollision: false
846
- };
847
- const source = prepareMatrixMarkdownSource(projected);
848
- const delimiterOffsets = findMatrixSpoilerDelimiterOffsets(source);
849
- return {
850
- markdown: projected,
851
- delimiterOffsets,
852
- metadataCollision: hasMatrixSpoilerMetadataCollision(source, delimiterOffsets)
853
- };
854
- }
855
- //#endregion
856
- //#region extensions/matrix/src/matrix/format.ts
857
- const MATRIX_STYLE_MARKERS = {
858
- underline: {
859
- open: "<u>",
860
- close: "</u>"
861
- },
862
- spoiler: {
863
- open: "<span data-mx-spoiler>",
864
- close: "</span>"
865
- }
866
- };
867
- const md = new MarkdownIt({
868
- html: false,
869
- linkify: true,
870
- breaks: true,
871
- typographer: false
872
- });
873
- md.linkify.set({ fuzzyLink: true });
874
- md.enable("strikethrough");
875
- const { escapeHtml } = md.utils;
876
- const MENTION_PATTERN = /@[A-Za-z0-9._=+\-/:[\]]+/g;
877
- const MATRIX_MENTION_USER_ID_PATTERN = new RegExp(`^@[A-Za-z0-9._=+\\-/]+:(?:${/(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?)(?:\.(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?))*(?::\d+)?/.source}|\\[[0-9A-Fa-f:.]+\\](?::\\d+)?)$`);
878
- const TRIMMABLE_MENTION_SUFFIX = /[),.!?:;\]]/;
879
- const parseMatrixUnderline = (state, silent) => {
880
- if (state.src.charCodeAt(state.pos) !== 60) return false;
881
- const tag = tokenizeHtmlTags(state.src.slice(state.pos)).next().value;
882
- if (!tag || tag.start !== 0 || tag.name !== "u" && tag.name !== "ins") return false;
883
- if (!silent) {
884
- const token = state.push(tag.selfClosing ? "text" : tag.closing ? "matrix_underline_close" : "matrix_underline_open", tag.selfClosing ? "" : "u", tag.selfClosing ? 0 : tag.closing ? -1 : 1);
885
- if (tag.selfClosing) token.content = tag.raw;
886
- }
887
- state.pos += tag.end;
888
- return true;
889
- };
890
- md.inline.ruler.before("html_inline", "matrix_underline", parseMatrixUnderline);
891
- md.renderer.rules.matrix_underline_open = () => MATRIX_STYLE_MARKERS.underline.open;
892
- md.renderer.rules.matrix_underline_close = () => MATRIX_STYLE_MARKERS.underline.close;
893
- md.renderer.rules.matrix_spoiler_open = () => MATRIX_STYLE_MARKERS.spoiler.open;
894
- md.renderer.rules.matrix_spoiler_close = () => MATRIX_STYLE_MARKERS.spoiler.close;
895
- md.core.ruler.after("inline", "matrix_spoilers", (state) => {
896
- const markers = state.env.matrixSpoilerMarkers;
897
- if (!markers) return;
898
- for (const token of state.tokens) if (token.children?.length) token.children = normalizeMatrixSpoilerNesting(injectProtectedMatrixSpoilers(token.children, markers));
899
- });
900
- function shouldSuppressAutoLink(tokens, idx) {
901
- const token = tokens[idx];
902
- if (token?.type !== "link_open" || token.info !== "auto") return false;
903
- const href = String(token.attrGet("href") ?? "");
904
- const label = tokens[idx + 1]?.type === "text" ? tokens[idx + 1]?.content ?? "" : "";
905
- return Boolean(href && label && isAutoLinkedFileRef(href, label));
906
- }
907
- md.renderer.rules.image = (tokens, idx, options, env, self) => {
908
- const token = tokens[idx];
909
- return token?.children?.length ? self.renderInline(token.children, options, env) : escapeHtml(token?.content ?? "");
910
- };
911
- md.renderer.rules.html_block = (tokens, idx) => escapeHtml(tokens[idx]?.content ?? "");
912
- md.renderer.rules.html_inline = (tokens, idx) => escapeHtml(tokens[idx]?.content ?? "");
913
- md.renderer.rules.text_special = (tokens, idx) => escapeHtml(tokens[idx]?.content ?? "");
914
- md.renderer.rules.matrix_escaped_mention = () => "@";
915
- md.core.ruler.before("text_join", "matrix_escaped_mentions", (state) => {
916
- preserveEscapedMentionTokens(state.tokens);
917
- });
918
- md.renderer.rules.link_open = (tokens, idx, _options, _env, self) => shouldSuppressAutoLink(tokens, idx) ? "" : self.renderToken(tokens, idx, _options);
919
- md.renderer.rules.link_close = (tokens, idx, _options, _env, self) => {
920
- const openIdx = idx - 2;
921
- if (openIdx >= 0 && shouldSuppressAutoLink(tokens, openIdx)) return "";
922
- return self.renderToken(tokens, idx, _options);
923
- };
924
- function preserveEscapedMentionTokens(tokens) {
925
- for (const token of tokens) {
926
- if (token.type === "text_special" && token.info === "escape" && token.content === "@") token.type = "matrix_escaped_mention";
927
- if (token.children) preserveEscapedMentionTokens(token.children);
928
- }
929
- }
930
- function isMentionStartBoundary(charBefore) {
931
- return !charBefore || !/[A-Za-z0-9_]/.test(charBefore);
932
- }
933
- function trimMentionSuffix(rawInput, endInput) {
934
- let raw = rawInput;
935
- let end = endInput;
936
- while (raw.length > 1 && TRIMMABLE_MENTION_SUFFIX.test(raw.at(-1) ?? "")) {
937
- if (raw.at(-1) === "]" && /\[[0-9A-Fa-f:.]+\](?::\d+)?$/i.test(raw)) break;
938
- raw = raw.slice(0, -1);
939
- end -= 1;
940
- }
941
- if (!raw.startsWith("@") || raw === "@") return null;
942
- return {
943
- raw,
944
- end
945
- };
946
- }
947
- function isMatrixMentionUserId(raw) {
948
- return isMatrixQualifiedUserId(raw) && MATRIX_MENTION_USER_ID_PATTERN.test(raw);
949
- }
950
- function buildMentionCandidate(raw, start) {
951
- const normalized = trimMentionSuffix(raw, start + raw.length);
952
- if (!normalized) return null;
953
- const kind = normalizeLowercaseStringOrEmpty(normalized.raw) === "@room" ? "room" : "user";
954
- const base = {
955
- raw: normalized.raw,
956
- start,
957
- end: normalized.end,
958
- kind
959
- };
960
- if (kind === "room") return base;
961
- const userCandidate = isMatrixMentionUserId(normalized.raw) ? {
962
- ...base,
963
- userId: normalized.raw
964
- } : null;
965
- if (!userCandidate) return null;
966
- return userCandidate;
967
- }
968
- function collectMentionCandidates(text) {
969
- const mentions = [];
970
- for (const match of text.matchAll(MENTION_PATTERN)) {
971
- const raw = match[0];
972
- const start = match.index ?? -1;
973
- if (start < 0 || !raw) continue;
974
- if (!isMentionStartBoundary(text[start - 1])) continue;
975
- const candidate = buildMentionCandidate(raw, start);
976
- if (!candidate) continue;
977
- mentions.push(candidate);
978
- }
979
- return mentions;
980
- }
981
- function createToken(sample, type, tag, nesting) {
982
- const TokenCtor = sample.constructor;
983
- return new TokenCtor(type, tag, nesting);
984
- }
985
- function createTextToken(sample, content) {
986
- const token = createToken(sample, "text", "", 0);
987
- token.content = content;
988
- return token;
989
- }
990
- function injectProtectedMatrixSpoilers(tokens, markers) {
991
- const result = [];
992
- for (const token of tokens) {
993
- if (token.type !== "text") {
994
- if (token.children?.length) token.children = normalizeMatrixSpoilerNesting(injectProtectedMatrixSpoilers(token.children, markers));
995
- result.push(token);
996
- continue;
997
- }
998
- let cursor = 0;
999
- for (let index = 0; index < token.content.length; index += 1) {
1000
- const marker = token.content[index];
1001
- if (marker !== markers.open && marker !== markers.close || token.content[index + 1] !== markers.padding) continue;
1002
- if (index > cursor) result.push(createTextToken(token, token.content.slice(cursor, index)));
1003
- result.push(createToken(token, marker === markers.open ? "matrix_spoiler_open" : "matrix_spoiler_close", "span", marker === markers.open ? 1 : -1));
1004
- index += 1;
1005
- cursor = index + 1;
1006
- }
1007
- if (cursor < token.content.length) result.push(createTextToken(token, token.content.slice(cursor)));
1008
- }
1009
- return result;
1010
- }
1011
- function copyInlineToken(sample, type, tag, nesting) {
1012
- const token = createToken(sample, type, tag, nesting);
1013
- token.markup = sample.markup;
1014
- token.attrs = sample.attrs ? [...sample.attrs] : null;
1015
- return token;
1016
- }
1017
- function normalizeMatrixSpoilerNesting(tokens) {
1018
- const result = [];
1019
- const stack = [];
1020
- for (const token of tokens) {
1021
- if (token.nesting === 1) {
1022
- stack.push(token);
1023
- result.push(token);
1024
- continue;
1025
- }
1026
- if (token.nesting !== -1) {
1027
- result.push(token);
1028
- continue;
1029
- }
1030
- const openIndex = stack.findLastIndex((open) => open.tag === token.tag);
1031
- if (openIndex < 0) {
1032
- result.push(token);
1033
- continue;
1034
- }
1035
- if (openIndex === stack.length - 1) {
1036
- stack.pop();
1037
- result.push(token);
1038
- continue;
1039
- }
1040
- const crossing = stack.splice(openIndex + 1);
1041
- for (const open of crossing.toReversed()) result.push(copyInlineToken(open, open.type.replace(/_open$/u, "_close"), open.tag, -1));
1042
- stack.pop();
1043
- result.push(token);
1044
- for (const open of crossing) {
1045
- result.push(copyInlineToken(open, open.type, open.tag, 1));
1046
- stack.push(open);
1047
- }
1048
- }
1049
- return result;
1050
- }
1051
- function createMentionLinkTokens(params) {
1052
- const open = createToken(params.sample, "link_open", "a", 1);
1053
- open.attrSet("href", params.href);
1054
- return [
1055
- open,
1056
- createTextToken(params.sample, params.label),
1057
- createToken(params.sample, "link_close", "a", -1)
1058
- ];
1059
- }
1060
- function resolveMentionUserId(match) {
1061
- if (match.kind !== "user") return null;
1062
- return match.userId ?? null;
1063
- }
1064
- async function resolveMatrixSelfUserId(client) {
1065
- const getUserId = client.getUserId;
1066
- if (typeof getUserId !== "function") return null;
1067
- return await Promise.resolve(getUserId.call(client)).catch(() => null);
1068
- }
1069
- function mutateInlineTokensWithMentions(params) {
1070
- const nextChildren = [];
1071
- let roomMentioned = false;
1072
- let insideLinkDepth = 0;
1073
- for (const child of params.children) {
1074
- if (child.type === "link_open") {
1075
- insideLinkDepth += 1;
1076
- nextChildren.push(child);
1077
- continue;
1078
- }
1079
- if (child.type === "link_close") {
1080
- insideLinkDepth = Math.max(0, insideLinkDepth - 1);
1081
- nextChildren.push(child);
1082
- continue;
1083
- }
1084
- if (child.type !== "text" || !child.content) {
1085
- nextChildren.push(child);
1086
- continue;
1087
- }
1088
- if (insideLinkDepth > 0) {
1089
- nextChildren.push(child);
1090
- continue;
1091
- }
1092
- const matches = collectMentionCandidates(child.content);
1093
- if (matches.length === 0) {
1094
- nextChildren.push(child);
1095
- continue;
1096
- }
1097
- let cursor = 0;
1098
- for (const match of matches) {
1099
- if (match.start > cursor) nextChildren.push(createTextToken(child, child.content.slice(cursor, match.start)));
1100
- cursor = match.end;
1101
- if (match.kind === "room") {
1102
- roomMentioned = true;
1103
- nextChildren.push(createTextToken(child, match.raw));
1104
- continue;
1105
- }
1106
- const resolvedUserId = resolveMentionUserId(match);
1107
- if (!resolvedUserId || resolvedUserId === params.selfUserId) {
1108
- nextChildren.push(createTextToken(child, match.raw));
1109
- continue;
1110
- }
1111
- if (!params.seenUserIds.has(resolvedUserId)) {
1112
- params.seenUserIds.add(resolvedUserId);
1113
- params.userIds.push(resolvedUserId);
1114
- }
1115
- nextChildren.push(...createMentionLinkTokens({
1116
- sample: child,
1117
- href: `https://matrix.to/#/${encodeURIComponent(resolvedUserId)}`,
1118
- label: match.raw
1119
- }));
1120
- }
1121
- if (cursor < child.content.length) nextChildren.push(createTextToken(child, child.content.slice(cursor)));
1122
- }
1123
- return {
1124
- children: nextChildren,
1125
- roomMentioned
1126
- };
1127
- }
1128
- function compactLooseListTokens(tokens) {
1129
- const listItemStack = [];
1130
- for (const [index, token] of tokens.entries()) {
1131
- if (token.type === "list_item_open") {
1132
- listItemStack.push({
1133
- level: token.level,
1134
- paragraphIndex: void 0
1135
- });
1136
- continue;
1137
- }
1138
- if (token.type === "list_item_close") {
1139
- const item = listItemStack.pop();
1140
- if (typeof item?.paragraphIndex === "number") {
1141
- const openToken = tokens[item.paragraphIndex];
1142
- const closeToken = tokens[item.paragraphIndex + 2];
1143
- if (openToken && closeToken) {
1144
- openToken.hidden = true;
1145
- closeToken.hidden = true;
1146
- }
1147
- }
1148
- continue;
1149
- }
1150
- const currentItem = listItemStack.at(-1);
1151
- if (!currentItem || token.level !== currentItem.level + 1) continue;
1152
- if (token.type === "paragraph_open") currentItem.paragraphIndex = currentItem.paragraphIndex === void 0 ? index : null;
1153
- }
1154
- }
1155
- function markdownToMatrixHtml(markdown, options = {}) {
1156
- const analysis = analyzeMatrixSpoilers(markdown);
1157
- if (analysis.metadataCollision) return renderMatrixFallbackHtml(analysis);
1158
- const tokens = parseMatrixMarkdown(analysis, options.tableMode);
1159
- compactLooseListTokens(tokens);
1160
- return md.renderer.render(tokens, md.options, {}).trimEnd();
1161
- }
1162
- function protectMatrixSpoilerDelimiters(analysis) {
1163
- const { markdown, delimiterOffsets: offsets } = analysis;
1164
- if (offsets.length === 0) return { markdown };
1165
- const markers = createMatrixPrivateMarkers(markdown, "Matrix spoiler formatting exhausted its private marker pool");
1166
- let protectedMarkdown = "";
1167
- let cursor = 0;
1168
- for (const [index, offset] of offsets.entries()) {
1169
- const marker = index % 2 === 0 ? markers.open : markers.close;
1170
- protectedMarkdown += `${markdown.slice(cursor, offset)}${marker}${markers.padding}`;
1171
- cursor = offset + 2;
1172
- }
1173
- protectedMarkdown += markdown.slice(cursor);
1174
- return {
1175
- markdown: protectedMarkdown,
1176
- markers
1177
- };
1178
- }
1179
- function parseMatrixMarkdown(analysis, tableMode) {
1180
- const protectedSpoilers = protectMatrixSpoilerDelimiters(analysis);
1181
- if (tableMode === "off") md.disable("table");
1182
- try {
1183
- return md.parse(protectedSpoilers.markdown, { matrixSpoilerMarkers: protectedSpoilers.markers });
1184
- } finally {
1185
- if (tableMode === "off") md.enable("table");
1186
- }
1187
- }
1188
- function markdownToMatrixBody(markdown) {
1189
- return renderMatrixBody(analyzeMatrixSpoilers(markdown));
1190
- }
1191
- function renderMatrixBody(analysis) {
1192
- const { markdown: projected, delimiterOffsets: offsets, metadataCollision } = analysis;
1193
- if (offsets.length === 0 && !metadataCollision) return projected;
1194
- let body = projected;
1195
- if (metadataCollision) body = "[Spoiler]";
1196
- else for (let index = offsets.length - 2; index >= 0; index -= 2) {
1197
- const open = offsets[index];
1198
- const close = offsets[index + 1];
1199
- if (open !== void 0 && close !== void 0) body = `${body.slice(0, open)}[Spoiler]${body.slice(close + 2)}`;
1200
- }
1201
- const ir = markdownToIR(body, {
1202
- enableHtmlUnderline: true,
1203
- headingStyle: "rich",
1204
- linkify: true
1205
- });
1206
- return renderMarkdownWithMarkers(ir, {
1207
- styleMarkers: {},
1208
- escapeText: (text) => text
1209
- }, MATRIX_FORMAT_PROFILE);
1210
- }
1211
- function renderMatrixFallbackHtml(analysis) {
1212
- return `<p>${escapeHtml(renderMatrixBody(analysis)).replaceAll("\n", "<br>\n")}</p>`;
1213
- }
1214
- async function resolveMarkdownMentionState(params) {
1215
- const tokens = parseMatrixMarkdown(params.analysis, params.tableMode);
1216
- const selfUserId = await resolveMatrixSelfUserId(params.client);
1217
- const userIds = [];
1218
- const seenUserIds = /* @__PURE__ */ new Set();
1219
- let roomMentioned = false;
1220
- for (const token of tokens) {
1221
- if (!token.children?.length) continue;
1222
- const mutated = mutateInlineTokensWithMentions({
1223
- children: token.children,
1224
- userIds,
1225
- seenUserIds,
1226
- selfUserId
1227
- });
1228
- token.children = mutated.children;
1229
- roomMentioned ||= mutated.roomMentioned;
1230
- }
1231
- const mentions = {};
1232
- if (userIds.length > 0) mentions.user_ids = userIds;
1233
- if (roomMentioned) mentions.room = true;
1234
- return {
1235
- tokens,
1236
- mentions
1237
- };
1238
- }
1239
- async function resolveMatrixMentionsInMarkdown(params) {
1240
- return (await resolveMarkdownMentionState({
1241
- analysis: analyzeMatrixSpoilers(params.markdown),
1242
- client: params.client
1243
- })).mentions;
1244
- }
1245
- async function renderMarkdownToMatrixHtmlWithMentions(params) {
1246
- const analysis = analyzeMatrixSpoilers(params.markdown);
1247
- const state = await resolveMarkdownMentionState({
1248
- ...params,
1249
- analysis
1250
- });
1251
- if (analysis.metadataCollision) {
1252
- const redacted = renderMatrixBody(analysis);
1253
- const redactedState = await resolveMarkdownMentionState({
1254
- ...params,
1255
- analysis: analyzeMatrixSpoilers(redacted)
1256
- });
1257
- return {
1258
- html: renderMatrixFallbackHtml(analysis),
1259
- mentions: redactedState.mentions
1260
- };
1261
- }
1262
- compactLooseListTokens(state.tokens);
1263
- return {
1264
- html: md.renderer.render(state.tokens, md.options, {}).trimEnd() || void 0,
1265
- mentions: state.mentions
1266
- };
1267
- }
1268
- //#endregion
1269
- //#region extensions/matrix/src/matrix/send/chunking.ts
1270
- function normalizeMatrixEventLimit(limit) {
1271
- if (!Number.isFinite(limit) || limit <= 0) return limit;
1272
- return Math.max(1, Math.floor(limit));
1273
- }
1274
- function resolveMatrixChunkOverflow(chunk, limit) {
1275
- const body = markdownToMatrixBody(chunk);
1276
- const renderedLength = Math.max(chunk.length, body.length);
1277
- if (limit === 1 && Array.from(chunk).length === 1 && Array.from(body).length === 1) return 0;
1278
- return Math.max(0, renderedLength - limit);
1279
- }
1280
- function protectMatrixUnderlineTags(markdown) {
1281
- const { codeRegions, metadataRanges, underlineTags } = prepareMatrixMarkdownSource(markdown);
1282
- const tags = underlineTags.filter((tag) => !tag.selfClosing && !isInsideCode(tag.start, codeRegions) && !isMarkdownEscaped(markdown, tag.start) && !metadataRanges.some((range) => tag.start >= range.start && tag.start < range.end));
1283
- if (tags.length === 0) return { markdown };
1284
- const markers = createMatrixPrivateMarkers(markdown, "Matrix underline chunking exhausted its private marker pool");
1285
- let depth = 0;
1286
- const replacements = tags.flatMap((tag) => {
1287
- if (!tag.closing) {
1288
- depth += 1;
1289
- return [{
1290
- tag,
1291
- marker: depth === 1 ? markers.open : ""
1292
- }];
1293
- }
1294
- if (depth === 0) return [];
1295
- depth -= 1;
1296
- return [{
1297
- tag,
1298
- marker: depth === 0 ? markers.close : ""
1299
- }];
1300
- });
1301
- let protectedMarkdown = markdown;
1302
- for (const { tag, marker } of replacements.toReversed()) protectedMarkdown = `${protectedMarkdown.slice(0, tag.start)}${marker}${markers.padding.repeat(tag.raw.length - marker.length)}${protectedMarkdown.slice(tag.end)}`;
1303
- return {
1304
- markdown: protectedMarkdown,
1305
- markers
1306
- };
1307
- }
1308
- function restoreMatrixStyleChunks(chunks, spoiler, underline) {
1309
- if (!spoiler && !underline) return chunks;
1310
- const stack = [];
1311
- const syntax = {
1312
- spoiler: {
1313
- open: "||",
1314
- close: "||"
1315
- },
1316
- underline: {
1317
- open: "<u>",
1318
- close: "</u>"
1319
- }
1320
- };
1321
- return chunks.map((chunk) => {
1322
- let restored = stack.map((style) => syntax[style].open).join("");
1323
- for (const character of chunk) {
1324
- const opening = character === spoiler?.open ? "spoiler" : character === underline?.open ? "underline" : void 0;
1325
- const closing = character === spoiler?.close ? "spoiler" : character === underline?.close ? "underline" : void 0;
1326
- if (opening) {
1327
- stack.push(opening);
1328
- restored += syntax[opening].open;
1329
- } else if (closing) {
1330
- const stackIndex = stack.lastIndexOf(closing);
1331
- if (stackIndex >= 0) {
1332
- const above = stack.slice(stackIndex + 1);
1333
- restored += above.toReversed().map((style) => syntax[style].close).join("");
1334
- restored += syntax[closing].close;
1335
- stack.splice(stackIndex, 1);
1336
- restored += above.map((style) => syntax[style].open).join("");
1337
- }
1338
- } else if (character !== spoiler?.padding && character !== underline?.padding) restored += character;
1339
- }
1340
- return restored + stack.toReversed().map((style) => syntax[style].close).join("");
1341
- });
1342
- }
1343
- function splitMatrixTableSegments(markdown) {
1344
- const segments = [];
1345
- let cursor = 0;
1346
- for (const range of findMatrixTableSourceRanges(markdown)) {
1347
- const plain = markdown.slice(cursor, range.start).replace(/(?:[ \t]*\n)+$/u, "");
1348
- if (plain.trim()) segments.push({
1349
- table: false,
1350
- text: plain
1351
- });
1352
- const rawTable = markdown.slice(range.start, range.end).trimEnd();
1353
- const indent = /^ +/u.exec(rawTable)?.[0] ?? "";
1354
- const table = indent ? rawTable.split("\n").map((line) => line.startsWith(indent) ? line.slice(indent.length) : line).join("\n") : rawTable;
1355
- segments.push({
1356
- table: true,
1357
- text: table
1358
- });
1359
- cursor = range.end;
1360
- }
1361
- const tail = markdown.slice(cursor).replace(/^(?:[ \t]*\n)+/u, "");
1362
- if (tail.trim()) segments.push({
1363
- table: false,
1364
- text: tail
1365
- });
1366
- return segments;
1367
- }
1368
- function prepareMatrixSingleText(text, opts) {
1369
- const normalizedText = text.replace(/\r\n?/gu, "\n");
1370
- const trimmedText = opts.preserveWhitespace ? normalizedText : normalizedText.trim();
1371
- const cfg = requireRuntimeConfig(opts.cfg, "Matrix text preparation");
1372
- const tableMode = opts.tableMode ?? getMatrixRuntime().channel.text.resolveMarkdownTableMode({
1373
- cfg,
1374
- channel: "matrix",
1375
- accountId: opts.accountId,
1376
- supportsBlockTables: MATRIX_FORMAT_PROFILE.constructs.table === "native"
1377
- });
1378
- const convertedText = renderMatrixMarkdownTables(trimmedText, tableMode);
1379
- const singleEventLimit = normalizeMatrixEventLimit(Math.min(getMatrixRuntime().channel.text.resolveTextChunkLimit(cfg, "matrix", opts.accountId), MATRIX_FORMAT_PROFILE.chunk.limit));
1380
- const preparedBody = markdownToMatrixBody(convertedText);
1381
- const eventTextLength = Math.max(convertedText.length, preparedBody.length);
1382
- return {
1383
- trimmedText,
1384
- convertedText,
1385
- preparedBody,
1386
- singleEventLimit,
1387
- eventTextLength,
1388
- fitsInSingleEvent: eventTextLength <= singleEventLimit,
1389
- tableMode
1390
- };
1391
- }
1392
- function chunkMatrixText(text, opts) {
1393
- const preparedText = prepareMatrixSingleText(text, opts);
1394
- if (preparedText.fitsInSingleEvent) return {
1395
- ...preparedText,
1396
- chunks: preparedText.convertedText ? [preparedText.convertedText] : []
1397
- };
1398
- const cfg = requireRuntimeConfig(opts.cfg, "Matrix text chunking");
1399
- const chunkMode = getMatrixRuntime().channel.text.resolveChunkMode(cfg, "matrix", opts.accountId);
1400
- const analysis = analyzeMatrixSpoilers(preparedText.convertedText);
1401
- const collisionRedacted = analysis.metadataCollision ? renderMatrixBody(analysis) : void 0;
1402
- const chunkSegment = (segmentText) => {
1403
- const segmentAnalysis = analyzeMatrixSpoilers(segmentText);
1404
- const protectedUnderline = protectMatrixUnderlineTags(segmentAnalysis.metadataCollision ? renderMatrixBody(segmentAnalysis) : segmentText);
1405
- const protectedSpoilers = protectMatrixSpoilerDelimiters(analyzeMatrixSpoilers(protectedUnderline.markdown));
1406
- const wrapperReserve = (protectedSpoilers.markers ? 4 : 0) + (protectedUnderline.markers ? 7 : 0);
1407
- const privateMarkers = [protectedSpoilers.markers, protectedUnderline.markers].flatMap((markers) => markers ? [
1408
- markers.open,
1409
- markers.close,
1410
- markers.padding
1411
- ] : []);
1412
- let reserve = wrapperReserve;
1413
- while (reserve < preparedText.singleEventLimit) {
1414
- const protectedChunks = getMatrixRuntime().channel.text.chunkMarkdownTextWithMode(protectedSpoilers.markdown, preparedText.singleEventLimit - reserve, chunkMode);
1415
- const restored = restoreMatrixStyleChunks(protectedChunks, protectedSpoilers.markers, protectedUnderline.markers).filter((_, index) => {
1416
- return privateMarkers.reduce((value, marker) => value.replaceAll(marker, ""), protectedChunks[index] ?? "").length > 0;
1417
- });
1418
- const overflow = Math.max(0, ...restored.map((chunk) => resolveMatrixChunkOverflow(chunk, preparedText.singleEventLimit)));
1419
- if (overflow === 0) return restored;
1420
- reserve += overflow;
1421
- }
1422
- throw new Error("Matrix text chunk limit is too small for formatted content");
1423
- };
1424
- const chunks = collisionRedacted !== void 0 ? chunkSegment(collisionRedacted) : preparedText.tableMode === "block" ? splitMatrixTableSegments(preparedText.convertedText).flatMap((segment) => {
1425
- if (!segment.table) return chunkSegment(segment.text);
1426
- return segment.text.length <= preparedText.singleEventLimit ? [segment.text] : chunkSegment(renderMatrixMarkdownTables(segment.text, "bullets"));
1427
- }) : chunkSegment(preparedText.convertedText);
1428
- return {
1429
- ...preparedText,
1430
- chunks
1431
- };
1432
- }
1433
- //#endregion
1434
- //#region extensions/matrix/src/matrix/media-text.ts
1435
- const MATRIX_MEDIA_KINDS = {
1436
- "m.audio": "audio",
1437
- "m.file": "file",
1438
- "m.image": "image",
1439
- "m.sticker": "sticker",
1440
- "m.video": "video"
1441
- };
1442
- function resolveMatrixMediaKind(msgtype) {
1443
- const key = msgtype ?? "";
1444
- return Object.hasOwn(MATRIX_MEDIA_KINDS, key) ? MATRIX_MEDIA_KINDS[key] : void 0;
1445
- }
1446
- function resolveMatrixMediaLabel(kind, fallback = "media") {
1447
- return `${kind ?? fallback} attachment`;
1448
- }
1449
- function formatMatrixAttachmentMarker(params) {
1450
- const label = resolveMatrixMediaLabel(params.kind);
1451
- if (params.tooLarge) return `[matrix ${label} too large]`;
1452
- return params.unavailable ? `[matrix ${label} unavailable]` : `[matrix ${label}]`;
1453
- }
1454
- function isLikelyBareFilename(text) {
1455
- const trimmed = text.trim();
1456
- if (!trimmed || trimmed.includes("\n") || /\s/.test(trimmed)) return false;
1457
- if (path.basename(trimmed) !== trimmed) return false;
1458
- return path.extname(trimmed).length > 1;
1459
- }
1460
- function resolveCaptionOrFilename(params) {
1461
- const body = params.body?.trim() ?? "";
1462
- const filename = params.filename?.trim() ?? "";
1463
- if (filename) {
1464
- if (!body || body === filename) return { filename };
1465
- return {
1466
- caption: body,
1467
- filename
1468
- };
1469
- }
1470
- if (!body) return {};
1471
- if (isLikelyBareFilename(body)) return { filename: body };
1472
- return { caption: body };
1473
- }
1474
- function resolveMatrixReplacementContent(event, replacementEvent = event.unsigned?.["m.relations"]?.["m.replace"]) {
1475
- return resolveMatrixReplacement(event, replacementEvent)?.content;
1476
- }
1477
- function resolveMatrixReplacement(event, replacementEvent = event.unsigned?.["m.relations"]?.["m.replace"]) {
1478
- const replacement = asNullableObjectRecord(replacementEvent);
1479
- if (!replacement || event.state_key !== void 0 || event.unsigned?.redacted_because) return;
1480
- const content = asNullableObjectRecord(replacement.content);
1481
- const relation = asNullableObjectRecord(content?.["m.relates_to"]);
1482
- const unreadable = getMatrixEventProjection(replacement)?.decryptionFailure === true || replacement.type === "m.room.encrypted";
1483
- if (replacement.sender !== event.sender || !unreadable && replacement.type !== event.type || replacement.state_key !== void 0 || asNullableObjectRecord(replacement.unsigned)?.redacted_because || !relation || relation.rel_type !== "m.replace" || relation.event_id !== event.event_id) return;
1484
- if (unreadable) return { kind: "unreadable" };
1485
- const newContent = asNullableRecord(content?.["m.new_content"]);
1486
- return newContent ? {
1487
- kind: "content",
1488
- content: newContent
1489
- } : void 0;
1490
- }
1491
- function resolveMatrixMessageAttachment(params) {
1492
- const kind = resolveMatrixMediaKind(params.msgtype);
1493
- if (!kind) return;
1494
- const resolved = resolveCaptionOrFilename(params);
1495
- return {
1496
- kind,
1497
- caption: resolved.caption,
1498
- filename: resolved.filename
1499
- };
1500
- }
1501
- function formatMatrixAttachmentText(params) {
1502
- if (!params.attachment) return;
1503
- return formatMatrixAttachmentMarker({
1504
- kind: params.attachment.kind,
1505
- tooLarge: params.tooLarge,
1506
- unavailable: params.unavailable
1507
- });
1508
- }
1509
- function formatMatrixMessageText(params) {
1510
- const attachment = resolveMatrixMessageAttachment(params);
1511
- const body = attachment ? attachment.caption ?? "" : params.body?.trim() ?? "";
1512
- const marker = formatMatrixAttachmentText({
1513
- attachment,
1514
- tooLarge: params.tooLarge,
1515
- unavailable: params.unavailable
1516
- });
1517
- if (!marker) return body || void 0;
1518
- if (!body) return marker;
1519
- return `${body}\n\n${marker}`;
1520
- }
1521
- function formatMatrixMediaUnavailableText(params) {
1522
- return formatMatrixMessageText({
1523
- ...params,
1524
- unavailable: true
1525
- }) ?? "";
1526
- }
1527
- function formatMatrixMediaTooLargeText(params) {
1528
- return formatMatrixMessageText({
1529
- ...params,
1530
- tooLarge: true
1531
- }) ?? "";
1532
- }
1533
- //#endregion
1534
- //#region extensions/matrix/src/matrix/send/edit-content.ts
1535
- const MAX_EDIT_RELATION_PAGES = 100;
1536
- const EDIT_RELATION_PAGE_SIZE = 100;
1537
- const EDIT_DECRYPTION_ERROR = "Matrix edit history is not fully decrypted; restore encryption keys before editing.";
1538
- async function resolveMatrixEditContent(params) {
1539
- const { client, roomId, event } = params;
1540
- if (!event || event.unsigned?.redacted_because || event.state_key !== void 0) return event?.content;
1541
- const projection = getMatrixEventProjection(event);
1542
- if (projection?.decryptionFailure || event.type === "m.room.encrypted") throw new Error(EDIT_DECRYPTION_ERROR);
1543
- const originalContent = projection?.originalContent ?? event.content;
1544
- const embedded = resolveMatrixReplacementContent(event) ?? asNullableObjectRecord(originalContent?.["m.new_content"]);
1545
- if (embedded) return embedded;
1546
- let latest;
1547
- let latestReplacement;
1548
- let from;
1549
- const seenCursors = /* @__PURE__ */ new Set();
1550
- for (let pageIndex = 0; pageIndex < MAX_EDIT_RELATION_PAGES; pageIndex++) {
1551
- const page = await client.getRelations(roomId, event.event_id, "m.replace", void 0, {
1552
- from,
1553
- limit: EDIT_RELATION_PAGE_SIZE
1554
- });
1555
- for (const replacement of page.events) {
1556
- const replacementContent = resolveMatrixReplacement(event, replacement);
1557
- if (replacementContent && (!latest || replacement.origin_server_ts > latest.origin_server_ts || replacement.origin_server_ts === latest.origin_server_ts && replacement.event_id > latest.event_id)) {
1558
- latest = replacement;
1559
- latestReplacement = replacementContent;
1560
- }
1561
- }
1562
- from = page.nextBatch ?? void 0;
1563
- if (!from) {
1564
- if (latestReplacement?.kind === "unreadable") throw new Error(EDIT_DECRYPTION_ERROR);
1565
- return latestReplacement?.content ?? originalContent;
1566
- }
1567
- if (seenCursors.has(from)) break;
1568
- seenCursors.add(from);
1569
- }
1570
- throw new Error("Matrix edit history could not be fully read; send a new message instead.");
1571
- }
1572
- //#endregion
1573
- //#region extensions/matrix/src/matrix/send/formatting.ts
1574
- async function renderMatrixFormattedContent(params) {
1575
- const markdown = params.markdown ?? "";
1576
- const body = params.preparedBody ?? markdownToMatrixBody(markdown);
1577
- if (params.includeMentions === false) return {
1578
- body,
1579
- html: markdownToMatrixHtml(markdown, { tableMode: params.tableMode }).trimEnd() || void 0
1580
- };
1581
- const { html, mentions } = await renderMarkdownToMatrixHtmlWithMentions({
1582
- markdown,
1583
- client: params.client,
1584
- tableMode: params.tableMode
1585
- });
1586
- return {
1587
- body,
1588
- html,
1589
- mentions
1590
- };
1591
- }
1592
- function buildTextContent(body, relation, opts = {}) {
1593
- const msgtype = opts.msgtype ?? MsgType.Text;
1594
- return relation ? {
1595
- msgtype,
1596
- body,
1597
- "m.relates_to": relation
1598
- } : {
1599
- msgtype,
1600
- body
1601
- };
1602
- }
1603
- async function enrichMatrixFormattedContent(params) {
1604
- const { body, html, mentions } = await renderMatrixFormattedContent({
1605
- client: params.client,
1606
- markdown: params.markdown,
1607
- preparedBody: params.preparedBody,
1608
- includeMentions: params.includeMentions,
1609
- tableMode: params.tableMode
1610
- });
1611
- params.content.body = body || params.content.body;
1612
- if (mentions) params.content["m.mentions"] = mentions;
1613
- else delete params.content["m.mentions"];
1614
- if (!html) {
1615
- delete params.content.format;
1616
- delete params.content.formatted_body;
1617
- return;
1618
- }
1619
- params.content.format = "org.matrix.custom.html";
1620
- params.content.formatted_body = html;
1621
- }
1622
- async function resolveMatrixMentionsForBody(params) {
1623
- return await resolveMatrixMentionsInMarkdown({
1624
- markdown: params.body ?? "",
1625
- client: params.client
1626
- });
1627
- }
1628
- function normalizeMentionUserIds(value) {
1629
- return Array.isArray(value) ? value.filter((entry) => typeof entry === "string" && entry.trim().length > 0) : [];
1630
- }
1631
- function extractMatrixMentions(content) {
1632
- const rawMentions = content?.["m.mentions"];
1633
- if (!rawMentions || typeof rawMentions !== "object") return {};
1634
- const mentions = rawMentions;
1635
- const normalized = {};
1636
- const userIds = normalizeMentionUserIds(mentions.user_ids);
1637
- if (userIds.length > 0) normalized.user_ids = userIds;
1638
- if (mentions.room === true) normalized.room = true;
1639
- return normalized;
1640
- }
1641
- function diffMatrixMentions(current, previous) {
1642
- const previousUserIds = new Set(previous.user_ids ?? []);
1643
- const newUserIds = (current.user_ids ?? []).filter((userId) => !previousUserIds.has(userId));
1644
- const delta = {};
1645
- if (newUserIds.length > 0) delta.user_ids = newUserIds;
1646
- if (current.room && !previous.room) delta.room = true;
1647
- return delta;
1648
- }
1649
- function resolveMatrixMsgType(contentType, _fileName) {
1650
- switch (getMatrixRuntime().media.mediaKindFromMime(contentType ?? "")) {
1651
- case "image": return MsgType.Image;
1652
- case "audio": return MsgType.Audio;
1653
- case "video": return MsgType.Video;
1654
- default: return MsgType.File;
1655
- }
1656
- }
1657
- function resolveMatrixVoiceDecision(opts) {
1658
- if (!opts.wantsVoice) return { useVoice: false };
1659
- if (isMatrixVoiceCompatibleAudio(opts)) return { useVoice: true };
1660
- return { useVoice: false };
1661
- }
1662
- function isMatrixVoiceCompatibleAudio(opts) {
1663
- return isVoiceMessageCompatibleAudio({
1664
- contentType: opts.contentType,
1665
- fileName: opts.fileName
1666
- });
1667
- }
1668
- //#endregion
1669
- //#region extensions/matrix/src/matrix/send/media.ts
1670
- function buildMatrixMediaInfo(params) {
1671
- const base = {};
1672
- if (Number.isFinite(params.size)) base.size = params.size;
1673
- if (params.mimetype) base.mimetype = params.mimetype;
1674
- if (params.imageInfo) {
1675
- const dimensional = {
1676
- ...base,
1677
- ...params.imageInfo
1678
- };
1679
- if (typeof params.durationMs === "number") return {
1680
- ...dimensional,
1681
- duration: params.durationMs
1682
- };
1683
- return dimensional;
1684
- }
1685
- if (typeof params.durationMs === "number") return {
1686
- ...base,
1687
- duration: params.durationMs
1688
- };
1689
- if (Object.keys(base).length === 0) return;
1690
- return base;
1691
- }
1692
- function buildMediaContent(params) {
1693
- const info = buildMatrixMediaInfo({
1694
- size: params.size,
1695
- mimetype: params.mimetype,
1696
- durationMs: params.durationMs,
1697
- imageInfo: params.imageInfo
1698
- });
1699
- const base = {
1700
- msgtype: params.msgtype,
1701
- body: params.body,
1702
- filename: params.filename,
1703
- info: info ?? void 0
1704
- };
1705
- if (!params.file && params.url) base.url = params.url;
1706
- if (params.file) base.file = params.file;
1707
- if (params.isVoice) {
1708
- base["org.matrix.msc3245.voice"] = {};
1709
- if (typeof params.durationMs === "number") base["org.matrix.msc1767.audio"] = { duration: params.durationMs };
1710
- }
1711
- if (params.relation) base["m.relates_to"] = params.relation;
1712
- return base;
1713
- }
1714
- const THUMBNAIL_MAX_SIDE = 800;
1715
- const THUMBNAIL_QUALITY = 80;
1716
- const AIFC_IMA4_BYTES_PER_CHANNEL_PACKET = 34;
1717
- const AIFC_IMA4_FRAMES_PER_PACKET = 64;
1718
- function resolveAifcIma4DurationSeconds(buffer, sampleRate) {
1719
- if (!sampleRate || !Number.isFinite(sampleRate) || buffer.length < 12 || buffer.toString("ascii", 0, 4) !== "FORM" || buffer.toString("ascii", 8, 12) !== "AIFC") return;
1720
- let channels;
1721
- let declaredFrameCount;
1722
- let soundDataBytes;
1723
- for (let offset = 12; offset + 8 <= buffer.length;) {
1724
- const chunkType = buffer.toString("ascii", offset, offset + 4);
1725
- const chunkSize = buffer.readUInt32BE(offset + 4);
1726
- const chunkStart = offset + 8;
1727
- if (chunkSize > buffer.length - chunkStart) return;
1728
- if (chunkType === "COMM") {
1729
- if (chunkSize < 22 || buffer.toString("ascii", chunkStart + 18, chunkStart + 22) !== "ima4") return;
1730
- channels = buffer.readUInt16BE(chunkStart);
1731
- declaredFrameCount = buffer.readUInt32BE(chunkStart + 2);
1732
- } else if (chunkType === "SSND") {
1733
- if (chunkSize < 8) return;
1734
- const soundDataOffset = buffer.readUInt32BE(chunkStart);
1735
- if (soundDataOffset > chunkSize - 8) return;
1736
- soundDataBytes = chunkSize - 8 - soundDataOffset;
1737
- }
1738
- offset = chunkStart + chunkSize + (chunkSize & 1);
1739
- }
1740
- if (!channels || !declaredFrameCount || !soundDataBytes) return;
1741
- const packetSize = channels * AIFC_IMA4_BYTES_PER_CHANNEL_PACKET;
1742
- if (soundDataBytes % packetSize !== 0) return;
1743
- const packetCount = soundDataBytes / packetSize;
1744
- if (packetCount !== declaredFrameCount) return;
1745
- return packetCount * AIFC_IMA4_FRAMES_PER_PACKET / sampleRate;
1746
- }
1747
- async function prepareImageInfo(params) {
1748
- const meta = await getMatrixRuntime().media.getImageMetadata(params.buffer).catch(() => null);
1749
- if (!meta) return;
1750
- const imageInfo = {
1751
- w: meta.width,
1752
- h: meta.height
1753
- };
1754
- if (Math.max(meta.width, meta.height) > THUMBNAIL_MAX_SIDE) try {
1755
- const thumbBuffer = await getMatrixRuntime().media.resizeToJpeg({
1756
- buffer: params.buffer,
1757
- maxSide: THUMBNAIL_MAX_SIDE,
1758
- quality: THUMBNAIL_QUALITY,
1759
- withoutEnlargement: true
1760
- });
1761
- const thumbMeta = await getMatrixRuntime().media.getImageMetadata(thumbBuffer).catch(() => null);
1762
- const result = await uploadMediaWithEncryption(params.client, params.roomId, thumbBuffer, {
1763
- contentType: "image/jpeg",
1764
- filename: "thumbnail.jpg"
1765
- });
1766
- if (result.file) imageInfo.thumbnail_file = result.file;
1767
- else imageInfo.thumbnail_url = result.url;
1768
- if (thumbMeta) imageInfo.thumbnail_info = {
1769
- w: thumbMeta.width,
1770
- h: thumbMeta.height,
1771
- mimetype: "image/jpeg",
1772
- size: thumbBuffer.byteLength
1773
- };
1774
- } catch {}
1775
- return imageInfo;
1776
- }
1777
- async function resolveMediaDurationMs(params) {
1778
- if (params.kind !== "audio" && params.kind !== "video") return;
1779
- try {
1780
- const fileInfo = params.contentType || params.fileName ? {
1781
- mimeType: params.contentType,
1782
- size: params.buffer.byteLength,
1783
- path: params.fileName
1784
- } : void 0;
1785
- const metadata = await parseBuffer(params.buffer, fileInfo, {
1786
- duration: true,
1787
- skipCovers: true
1788
- });
1789
- const durationSeconds = resolveAifcIma4DurationSeconds(params.buffer, metadata.format.sampleRate) ?? metadata.format.duration;
1790
- if (typeof durationSeconds === "number" && Number.isFinite(durationSeconds)) return Math.max(0, Math.round(durationSeconds * 1e3));
1791
- } catch {}
1792
- }
1793
- async function uploadMediaWithEncryption(client, roomId, buffer, params) {
1794
- if (await client.prepareRoomForMessageSend(roomId) === "m.room.encrypted") {
1795
- if (!client.crypto) throw new Error("Encrypted Matrix room: enable encryption before uploading media");
1796
- const encrypted = await client.crypto.encryptMedia(buffer);
1797
- const mxc = await client.uploadContent(encrypted.buffer, "application/octet-stream");
1798
- return {
1799
- url: mxc,
1800
- file: {
1801
- url: mxc,
1802
- ...encrypted.file
1803
- }
1804
- };
1805
- }
1806
- return { url: await client.uploadContent(buffer, params.contentType, params.filename) };
1807
- }
1808
- //#endregion
1809
- //#region extensions/matrix/src/matrix/send.ts
1810
- var send_exports = /* @__PURE__ */ __exportAll({
1811
- chunkMatrixText: () => chunkMatrixText,
1812
- editMessageMatrix: () => editMessageMatrix,
1813
- prepareMatrixSingleText: () => prepareMatrixSingleText,
1814
- reactMatrixMessage: () => reactMatrixMessage,
1815
- resolveMatrixMentionsForBody: () => resolveMatrixMentionsForBody,
1816
- resolveMatrixRoomId: () => resolveMatrixRoomId,
1817
- sendMessageMatrix: () => sendMessageMatrix,
1818
- sendPollMatrix: () => sendPollMatrix,
1819
- sendReadReceiptMatrix: () => sendReadReceiptMatrix,
1820
- sendSingleTextMessageMatrix: () => sendSingleTextMessageMatrix,
1821
- sendTypingMatrix: () => sendTypingMatrix
1822
- });
1823
- function isMatrixClient(value) {
1824
- return typeof value.sendEvent === "function";
1825
- }
1826
- function normalizeMatrixClientResolveOpts(opts) {
1827
- if (!opts) return {};
1828
- if (isMatrixClient(opts)) return { client: opts };
1829
- return {
1830
- client: opts.client,
1831
- cfg: opts.cfg,
1832
- timeoutMs: opts.timeoutMs,
1833
- accountId: opts.accountId
1834
- };
1835
- }
1836
- function resolvePreviousThreadId(previousEvent) {
1837
- if (!previousEvent || typeof previousEvent !== "object") return;
1838
- const content = previousEvent.content;
1839
- if (!content || typeof content !== "object") return;
1840
- const relation = content["m.relates_to"];
1841
- if (!relation || typeof relation !== "object") return;
1842
- const relationRecord = relation;
1843
- if (relationRecord.rel_type !== RelationType.Thread || typeof relationRecord.event_id !== "string") return;
1844
- return normalizeThreadId(relationRecord.event_id) ?? void 0;
1845
- }
1846
- function withMatrixExtraContentFields(content, extraContent) {
1847
- if (!extraContent) return content;
1848
- return {
1849
- ...content,
1850
- ...extraContent
1851
- };
1852
- }
1853
- async function resolvePreviousEditMentions(params) {
1854
- const content = await resolveMatrixEditContent(params);
1855
- if (content && Object.hasOwn(content, "m.mentions")) return extractMatrixMentions(content);
1856
- const body = typeof content?.body === "string" ? content.body : "";
1857
- if (!body) return {};
1858
- return await resolveMatrixMentionsForBody({
1859
- client: params.client,
1860
- body
1861
- });
1862
- }
1863
- async function sendMessageMatrix(to, message, opts) {
1864
- const messageText = message?.trimEnd() ?? "";
1865
- if (!messageText.trim() && !opts.mediaUrl) throw new Error("Matrix send requires text or media");
1866
- const durableIdentity = resolveMatrixDurableDeliveryIdentity({
1867
- queueId: opts.deliveryQueueId,
1868
- partIndex: opts.deliveryPartIndex,
1869
- partCount: opts.deliveryPartCount
1870
- });
1871
- return await withResolvedMatrixSendClient({
1872
- client: opts.client,
1873
- cfg: opts.cfg,
1874
- timeoutMs: opts.timeoutMs,
1875
- accountId: opts.accountId,
1876
- signal: opts.signal,
1877
- assertDirectAdapterHandoff: opts.assertDirectAdapterHandoff
1878
- }, async (client) => {
1879
- const roomId = await resolveMatrixRoomId(client, to);
1880
- const wireEventType = await client.prepareRoomForMessageSend(roomId);
1881
- const cfg = requireRuntimeConfig(opts.cfg, "Matrix send");
1882
- const threadId = normalizeThreadId(opts.threadId);
1883
- const transactionScopeId = durableIdentity ? await client.getTransactionScopeId() : void 0;
1884
- let plannedEvents = (durableIdentity ? await loadMatrixDeliveryPlan({
1885
- identity: durableIdentity,
1886
- accountId: opts.accountId,
1887
- roomId,
1888
- transactionScopeId,
1889
- wireEventType
1890
- }) : null)?.events;
1891
- if (!plannedEvents) {
1892
- const { chunks, convertedText, preparedBody, fitsInSingleEvent, tableMode } = chunkMatrixText(messageText, {
1893
- cfg,
1894
- accountId: opts.accountId,
1895
- preserveWhitespace: true
1896
- });
1897
- const singleEventBody = fitsInSingleEvent ? preparedBody : void 0;
1898
- const relation = buildMatrixMessageRelation({
1899
- ...opts,
1900
- threadId
1901
- });
1902
- let pendingExtraContent = opts.extraContent;
1903
- const events = [];
1904
- const prepareContent = (content, receiptKind) => {
1905
- events.push({
1906
- content: withMatrixExtraContentFields(content, pendingExtraContent),
1907
- receiptKind
1908
- });
1909
- pendingExtraContent = void 0;
1910
- };
1911
- if (opts.mediaUrl) {
1912
- const maxBytes = resolveMediaMaxBytes(opts.accountId, cfg);
1913
- const media = await loadOutboundMediaFromUrl(opts.mediaUrl, {
1914
- maxBytes,
1915
- mediaAccess: opts.mediaAccess,
1916
- mediaLocalRoots: opts.mediaLocalRoots,
1917
- mediaReadFile: opts.mediaReadFile
1918
- });
1919
- const uploaded = await uploadMediaWithEncryption(client, roomId, media.buffer, {
1920
- contentType: media.contentType,
1921
- filename: media.fileName
1922
- });
1923
- const durationMs = await resolveMediaDurationMs({
1924
- buffer: media.buffer,
1925
- contentType: media.contentType,
1926
- fileName: media.fileName,
1927
- kind: media.kind === "sticker" ? "unknown" : media.kind ?? "unknown"
1928
- });
1929
- const baseMsgType = resolveMatrixMsgType(media.contentType, media.fileName);
1930
- const { useVoice } = resolveMatrixVoiceDecision({
1931
- wantsVoice: opts.audioAsVoice === true,
1932
- contentType: media.contentType,
1933
- fileName: media.fileName
1934
- });
1935
- const msgtype = useVoice ? MsgType.Audio : baseMsgType;
1936
- const receiptKind = useVoice ? "voice" : "media";
1937
- const imageInfo = msgtype === MsgType.Image ? await prepareImageInfo({
1938
- buffer: media.buffer,
1939
- client,
1940
- roomId
1941
- }) : void 0;
1942
- const [firstChunk, ...rest] = chunks;
1943
- const captionMarkdown = useVoice ? "" : firstChunk ?? "";
1944
- const content = buildMediaContent({
1945
- msgtype,
1946
- body: useVoice ? "Voice message" : captionMarkdown || media.fileName || "(file)",
1947
- url: uploaded.url,
1948
- file: uploaded.file,
1949
- filename: media.fileName,
1950
- mimetype: media.contentType,
1951
- size: media.buffer.byteLength,
1952
- durationMs,
1953
- relation,
1954
- isVoice: useVoice,
1955
- imageInfo
1956
- });
1957
- await enrichMatrixFormattedContent({
1958
- client,
1959
- content,
1960
- markdown: captionMarkdown,
1961
- preparedBody: captionMarkdown === convertedText ? singleEventBody : void 0,
1962
- tableMode
1963
- });
1964
- prepareContent(content, receiptKind);
1965
- const textChunks = useVoice ? chunks : rest;
1966
- const followupRelation = useVoice || threadId ? relation : void 0;
1967
- for (const chunk of textChunks) {
1968
- if (!chunk.trim()) continue;
1969
- const followup = buildTextContent(chunk, followupRelation);
1970
- await enrichMatrixFormattedContent({
1971
- client,
1972
- content: followup,
1973
- markdown: chunk,
1974
- preparedBody: chunk === convertedText ? singleEventBody : void 0,
1975
- tableMode
1976
- });
1977
- prepareContent(followup, "text");
1978
- }
1979
- } else for (const chunk of chunks.length ? chunks : [""]) {
1980
- if (!chunk.trim()) continue;
1981
- const content = buildTextContent(chunk, relation);
1982
- await enrichMatrixFormattedContent({
1983
- client,
1984
- content,
1985
- markdown: chunk,
1986
- preparedBody: chunk === convertedText ? singleEventBody : void 0,
1987
- tableMode
1988
- });
1989
- prepareContent(content, "text");
1990
- }
1991
- plannedEvents = durableIdentity ? createMatrixPlannedEvents({
1992
- identity: durableIdentity,
1993
- events
1994
- }) : events.map((event) => ({
1995
- content: event.content,
1996
- receiptKind: event.receiptKind,
1997
- transactionId: ""
1998
- }));
1999
- }
2000
- if (opts.mediaUrl) await client.prepareRoomForMessageSend(roomId, plannedEvents[0]?.content);
2001
- const acceptedEvents = [];
2002
- const acceptedContents = [];
2003
- let lastMessageId = "";
2004
- for (const planned of plannedEvents) {
2005
- const eventId = await client.sendMessage(roomId, planned.content, planned.transactionId || void 0, durableIdentity ? async (dispatch) => {
2006
- await persistMatrixDeliveryPlan({
2007
- identity: durableIdentity,
2008
- accountId: opts.accountId,
2009
- roomId,
2010
- transactionScopeId,
2011
- wireEventType: dispatch.eventType,
2012
- events: plannedEvents,
2013
- dispatch
2014
- });
2015
- await opts.onPlatformSendDispatch?.();
2016
- } : opts.onPlatformSendDispatch);
2017
- lastMessageId = eventId || lastMessageId;
2018
- if (!eventId) continue;
2019
- const eventReplyToId = resolveMatrixReplyToEventId(planned.content);
2020
- const acceptedEvent = {
2021
- messageId: eventId,
2022
- kind: planned.receiptKind,
2023
- ...eventReplyToId ? { replyToId: eventReplyToId } : {}
2024
- };
2025
- acceptedEvents.push(acceptedEvent);
2026
- const visibleContent = planned.content.body ?? "";
2027
- acceptedContents.push(visibleContent);
2028
- await opts.onDeliveryResult?.({
2029
- messageId: eventId,
2030
- roomId,
2031
- primaryMessageId: eventId,
2032
- receipt: createMatrixSendReceipt({
2033
- roomId,
2034
- events: [acceptedEvent],
2035
- threadId
2036
- }),
2037
- content: visibleContent
2038
- });
2039
- }
2040
- return {
2041
- messageId: lastMessageId || "unknown",
2042
- roomId,
2043
- primaryMessageId: acceptedEvents[0]?.messageId ?? (lastMessageId || "unknown"),
2044
- receipt: createMatrixSendReceipt({
2045
- roomId,
2046
- events: acceptedEvents,
2047
- threadId
2048
- }),
2049
- content: acceptedContents.join("\n")
2050
- };
2051
- });
2052
- }
2053
- async function sendPollMatrix(to, poll, opts) {
2054
- if (!poll.question?.trim()) throw new Error("Matrix poll requires a question");
2055
- if (!poll.options?.length) throw new Error("Matrix poll requires options");
2056
- return await withResolvedMatrixSendClient({
2057
- client: opts.client,
2058
- cfg: opts.cfg,
2059
- timeoutMs: opts.timeoutMs,
2060
- accountId: opts.accountId
2061
- }, async (client) => {
2062
- const roomId = await resolveMatrixRoomId(client, to);
2063
- const pollContent = buildPollStartContent(poll);
2064
- const mentions = await resolveMatrixMentionsForBody({
2065
- client,
2066
- body: pollContent["m.text"] ?? pollContent["org.matrix.msc1767.text"] ?? poll.question ?? ""
2067
- });
2068
- const threadId = normalizeThreadId(opts.threadId);
2069
- const pollPayload = threadId ? {
2070
- ...pollContent,
2071
- "m.relates_to": buildMatrixMessageRelation({ threadId })
2072
- } : { ...pollContent };
2073
- pollPayload["m.mentions"] = mentions;
2074
- return {
2075
- eventId: await client.sendEvent(roomId, "m.poll.start", pollPayload) ?? "unknown",
2076
- roomId
2077
- };
2078
- });
2079
- }
2080
- async function sendTypingMatrix(roomId, typing, optsOrTimeoutMs, client) {
2081
- const opts = typeof optsOrTimeoutMs === "number" ? {
2082
- timeoutMs: optsOrTimeoutMs,
2083
- ...client ? { client } : {}
2084
- } : {
2085
- ...normalizeMatrixClientResolveOpts(optsOrTimeoutMs),
2086
- ...client ? { client } : {}
2087
- };
2088
- await withResolvedMatrixControlClient({
2089
- client: opts.client,
2090
- cfg: opts.cfg,
2091
- timeoutMs: opts.timeoutMs,
2092
- accountId: opts.accountId
2093
- }, async (resolved) => {
2094
- const resolvedRoom = await resolveMatrixRoomId(resolved, roomId);
2095
- const resolvedTimeoutMs = typeof opts.timeoutMs === "number" ? opts.timeoutMs : 3e4;
2096
- await resolved.setTyping(resolvedRoom, typing, resolvedTimeoutMs);
2097
- });
2098
- }
2099
- async function sendReadReceiptMatrix(roomId, eventId, client) {
2100
- if (!eventId?.trim()) return;
2101
- await withResolvedMatrixControlClient({ client }, async (resolved) => {
2102
- const resolvedRoom = await resolveMatrixRoomId(resolved, roomId);
2103
- await resolved.sendReadReceipt(resolvedRoom, eventId.trim());
2104
- });
2105
- }
2106
- async function sendSingleTextMessageMatrix(roomId, text, opts) {
2107
- const { trimmedText, convertedText, preparedBody, singleEventLimit, eventTextLength, fitsInSingleEvent, tableMode } = prepareMatrixSingleText(text.trimEnd(), {
2108
- cfg: opts.cfg,
2109
- accountId: opts.accountId,
2110
- preserveWhitespace: true
2111
- });
2112
- if (!trimmedText.trim()) throw new Error("Matrix single-message send requires text");
2113
- if (!fitsInSingleEvent) throw new Error(`Matrix single-message text exceeds limit (${eventTextLength} > ${singleEventLimit})`);
2114
- return await withResolvedMatrixSendClient({
2115
- client: opts.client,
2116
- cfg: opts.cfg,
2117
- accountId: opts.accountId
2118
- }, async (client) => {
2119
- const resolvedRoom = await resolveMatrixRoomId(client, roomId);
2120
- const normalizedThreadId = normalizeThreadId(opts.threadId);
2121
- const relation = buildMatrixMessageRelation({
2122
- ...opts,
2123
- threadId: normalizedThreadId
2124
- });
2125
- const content = withMatrixExtraContentFields(buildTextContent(convertedText, relation, { msgtype: opts.msgtype }), opts.extraContent);
2126
- await enrichMatrixFormattedContent({
2127
- client,
2128
- content,
2129
- markdown: convertedText,
2130
- preparedBody,
2131
- includeMentions: opts.includeMentions,
2132
- tableMode
2133
- });
2134
- if (opts.live) content[MSC4357_LIVE_KEY] = {};
2135
- const eventId = await client.sendMessage(resolvedRoom, content);
2136
- const replyToId = resolveMatrixReplyToEventId(content);
2137
- return {
2138
- messageId: eventId ?? "unknown",
2139
- roomId: resolvedRoom,
2140
- primaryMessageId: eventId ?? "unknown",
2141
- receipt: createMatrixSendReceipt({
2142
- roomId: resolvedRoom,
2143
- events: eventId ? [{
2144
- messageId: eventId,
2145
- kind: "text",
2146
- ...replyToId ? { replyToId } : {}
2147
- }] : [],
2148
- threadId: normalizedThreadId
2149
- }),
2150
- content: content.body
2151
- };
2152
- });
2153
- }
2154
- async function editMessageMatrix(roomId, originalEventId, newText, opts) {
2155
- return await withResolvedMatrixSendClient({
2156
- client: opts.client,
2157
- cfg: opts.cfg,
2158
- accountId: opts.accountId,
2159
- timeoutMs: opts.timeoutMs
2160
- }, async (client) => {
2161
- const resolvedRoom = await resolveMatrixRoomId(client, roomId);
2162
- const { convertedText, preparedBody, tableMode } = prepareMatrixSingleText(newText, {
2163
- cfg: requireRuntimeConfig(opts.cfg, "Matrix message edit"),
2164
- accountId: opts.accountId,
2165
- preserveWhitespace: true
2166
- });
2167
- const newContent = withMatrixExtraContentFields(buildTextContent(convertedText, void 0, { msgtype: opts.msgtype }), opts.extraContent);
2168
- await enrichMatrixFormattedContent({
2169
- client,
2170
- content: newContent,
2171
- markdown: convertedText,
2172
- preparedBody,
2173
- includeMentions: opts.includeMentions,
2174
- tableMode
2175
- });
2176
- const threadId = normalizeThreadId(opts.threadId);
2177
- const previousEvent = opts.includeMentions !== false || threadId ? await client.getEvent(resolvedRoom, originalEventId) : null;
2178
- const replaceMentions = opts.includeMentions === false ? void 0 : diffMatrixMentions(extractMatrixMentions(newContent), await resolvePreviousEditMentions({
2179
- client,
2180
- roomId: resolvedRoom,
2181
- event: previousEvent
2182
- }));
2183
- const replaceRelation = {
2184
- rel_type: RelationType.Replace,
2185
- event_id: originalEventId
2186
- };
2187
- if (threadId) {
2188
- if (resolvePreviousThreadId(previousEvent) !== threadId) throw new Error("Matrix edit cannot add or change the original event thread relation.");
2189
- }
2190
- const content = {
2191
- ...newContent,
2192
- body: `* ${newContent.body}`,
2193
- ...typeof newContent.formatted_body === "string" ? { formatted_body: `* ${newContent.formatted_body}` } : {},
2194
- "m.new_content": newContent,
2195
- "m.relates_to": replaceRelation
2196
- };
2197
- if (replaceMentions !== void 0) content["m.mentions"] = replaceMentions;
2198
- if (opts.live) {
2199
- content[MSC4357_LIVE_KEY] = {};
2200
- content["m.new_content"][MSC4357_LIVE_KEY] = {};
2201
- }
2202
- return await client.sendMessage(resolvedRoom, content) ?? "";
2203
- });
2204
- }
2205
- async function reactMatrixMessage(roomId, messageId, emoji, opts) {
2206
- const clientOpts = normalizeMatrixClientResolveOpts(opts);
2207
- await withResolvedMatrixSendClient({
2208
- client: clientOpts.client,
2209
- cfg: clientOpts.cfg,
2210
- timeoutMs: clientOpts.timeoutMs,
2211
- accountId: clientOpts.accountId ?? void 0
2212
- }, async (resolved) => {
2213
- const resolvedRoom = await resolveMatrixRoomId(resolved, roomId);
2214
- const reaction = buildMatrixReactionContent(messageId, emoji);
2215
- await resolved.sendEvent(resolvedRoom, EventType.Reaction, reaction);
2216
- });
2217
- }
2218
- //#endregion
2219
- export { resolvePollReferenceEventId as C, resolveMatrixRoomId as E, parsePollStartContent as S, reconcileMatrixUnknownSend as T, formatPollAsText as _, sendSingleTextMessageMatrix as a, isPollStartType as b, formatMatrixMediaTooLargeText as c, isLikelyBareFilename as d, resolveMatrixMessageAttachment as f, buildPollResultsSummary as g, buildPollResponseContent as h, sendPollMatrix as i, formatMatrixMediaUnavailableText as l, prepareMatrixSingleText as m, reactMatrixMessage as n, sendTypingMatrix as o, resolveMatrixReplacementContent as p, sendMessageMatrix as r, send_exports as s, editMessageMatrix as t, formatMatrixMessageText as u, formatPollResultsAsText as v, cleanupMatrixDeliveryPlans as w, parsePollStart as x, isPollEventType as y };