@openclaw/matrix 2026.11.5 → 2026.11.10-beta.1

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 (466) hide show
  1. package/dist/.setup/{account-config-CRsKoMqJ.mjs → account-config-CVM2a28p.mjs} +1 -2
  2. package/dist/.setup/{account-selection-UUPhMBmu.mjs → account-selection-Cow3TMFO.mjs} +5 -8
  3. package/dist/.setup/{approval-handler.runtime-Ca12_7Qa.mjs → approval-handler.runtime-D7KO6ds_.mjs} +8 -9
  4. package/dist/.setup/{approval-reactions-BazmsDbe.mjs → approval-reactions-Bz_8XB01.mjs} +2 -3
  5. package/dist/.setup/{backup-health-Dm_YMVFT.mjs → backup-health-BxH69np2.mjs} +1 -2
  6. package/dist/.setup/{channel-FfaEmyIU.mjs → channel-BJGiol_v.mjs} +30 -40
  7. package/dist/.setup/{channel.runtime-CkkHG8zy.mjs → channel.runtime-BrSYy4Qm.mjs} +10 -12
  8. package/dist/.setup/{channel.setup-B00zzOOL.mjs → channel.setup-DJdvsvAL.mjs} +9 -7
  9. package/dist/.setup/{cli-dz9hd2dR.mjs → cli-CjjggD1Y.mjs} +25 -34
  10. package/dist/.setup/{cli-metadata-CwUhA9CY.mjs → cli-metadata-nnz3uf_k.mjs} +3 -5
  11. package/dist/.setup/{client-D1bsidwU.mjs → client-DIeTvz6C.mjs} +21 -26
  12. package/dist/.setup/{client-bootstrap-CTT0VF6v.mjs → client-bootstrap-CvbnV_7R.mjs} +2 -3
  13. package/dist/.setup/{client-support-B_Mp4Qk9.mjs → client-support-CqXAOZp3.mjs} +2 -3
  14. package/dist/.setup/{client-CFPYqaYK.mjs → client-uAX074II.mjs} +4 -5
  15. package/dist/.setup/{config-paths-CnREYb1Y.mjs → config-paths-DBpHxDyc.mjs} +1 -2
  16. package/dist/.setup/{create-client-Ccf5wyS3.mjs → create-client-XL9SKJ2s.mjs} +8 -9
  17. package/dist/.setup/{credentials-kT20jk_u.mjs → credentials-CGgWuhFV.mjs} +5 -6
  18. package/dist/.setup/{credentials-read-CM6wXUjL.mjs → credentials-read-rPqEpuxv.mjs} +5 -6
  19. package/dist/.setup/{credentials-state-B3cuUFwZ.mjs → credentials-state-jxq29yQw.mjs} +1 -2
  20. package/dist/.setup/{crypto-node.runtime-6Aj_ltHQ.mjs → crypto-node.runtime-E_hqXGxm.mjs} +1 -2
  21. package/dist/.setup/{crypto-runtime-DZNytKX5.mjs → crypto-runtime-D96thr_g.mjs} +10 -15
  22. package/dist/.setup/{crypto-state-store-BZLlwkv_.mjs → crypto-state-store-CzAmeC_Z.mjs} +4 -4
  23. package/dist/.setup/{crypto-store-ownership-CiQ1l_O7.mjs → crypto-store-ownership-DPO9WcVz.mjs} +3 -4
  24. package/dist/.setup/{crypto-unsafe-state-doctor-Dh1dtuSz.mjs → crypto-unsafe-state-doctor-CkhtP1mQ.mjs} +7 -8
  25. package/dist/.setup/{deps-D-W_QQjz.mjs → deps-CVPT2Ros.mjs} +1 -2
  26. package/dist/.setup/{device-health-Ck2YpEVN.mjs → device-health-D7n-lPeb.mjs} +2 -3
  27. package/dist/.setup/{direct-management-Dp1giZ34.mjs → direct-management-D59C1WO-.mjs} +7 -11
  28. package/dist/.setup/{directory-live-ufzRheWx.mjs → directory-live-5RgaKKuc.mjs} +5 -6
  29. package/dist/.setup/{doctor-contract-BANpMUbP.mjs → doctor-contract-GiXgCj7k.mjs} +2 -3
  30. package/dist/.setup/{draft-stream-BPjjKSoI.mjs → draft-stream-CjEpElZ-.mjs} +3 -4
  31. package/dist/.setup/{encryption-guidance-Br3Lv9Hm.mjs → encryption-guidance-DfbEaKct.mjs} +3 -4
  32. package/dist/.setup/{env-vars-aEBngJPa.mjs → env-vars-Bh1iOXJ1.mjs} +1 -2
  33. package/dist/.setup/{errors-Bw4EHwKX.mjs → errors-CL3YJV8U.mjs} +1 -2
  34. package/dist/.setup/{event-helpers-CxNgMQqH.mjs → event-helpers-DDUjVVf7.mjs} +1 -2
  35. package/dist/.setup/{exec-approvals-BwEOyI1-.mjs → exec-approvals-DcQS_LNp.mjs} +6 -9
  36. package/dist/.setup/{file-sync-store-BpS12yaK.mjs → file-sync-store-CAhnwOPA.mjs} +6 -36
  37. package/dist/.setup/{http-client-B_ohXrBm.mjs → http-client-CqnKFKUH.mjs} +5 -8
  38. package/dist/.setup/{idb-persistence-BTOsltD9.mjs → idb-persistence-DeGUs--C.mjs} +6 -7
  39. package/dist/.setup/{idb-persistence-lock-Bh3ZLIsE.mjs → idb-persistence-lock-CH2K6d_3.mjs} +1 -2
  40. package/dist/.setup/{joined-room-encryption-C0gHa2DG.mjs → joined-room-encryption-9sJK1kM-.mjs} +2 -3
  41. package/dist/.setup/{logger-CuAzdD8Q.mjs → logger-B9TwnY6C.mjs} +2 -3
  42. package/dist/.setup/{logging-CoaEyRtA.mjs → logging-Bnsn7s4r.mjs} +3 -4
  43. package/dist/.setup/{messages-DpJ9naJa.mjs → messages-CmlRhlPp.mjs} +9 -14
  44. package/dist/.setup/{monitor-vpzawYrB.mjs → monitor-DG8yTCh9.mjs} +98 -137
  45. package/dist/.setup/{onboarding-BK-V2ZLT.mjs → onboarding-CY_oesMI.mjs} +10 -11
  46. package/dist/.setup/{outbound-DydCDuvM.mjs → outbound-BY9kS8Kt.mjs} +5 -6
  47. package/dist/.setup/{profile-update-RLsY-gu6.mjs → profile-update-BRugBHSm.mjs} +13 -10
  48. package/dist/.setup/{reaction-events-lcgVF3M5.mjs → reaction-events-B1DQTt9d.mjs} +8 -9
  49. package/dist/.setup/{resolve-targets-DYW8ULZS.mjs → resolve-targets-CUBvJ37V.mjs} +4 -5
  50. package/dist/.setup/{retired-state-JGUEBE72.mjs → retired-state-BsxdpJNk.mjs} +3 -41
  51. package/dist/.setup/{room-info-Dhc4efkA.mjs → room-info-CJVhaCvB.mjs} +6 -8
  52. package/dist/.setup/{runtime-1kn1P6io.mjs → runtime-Ck8TjD7L.mjs} +1 -2
  53. package/dist/.setup/{runtime-doctor-migrations-hxP-CXX7.mjs → runtime-doctor-migrations-CSvRANPN.mjs} +5 -10
  54. package/dist/.setup/{runtime-setter-api-i2MOXoT3.mjs → runtime-setter-api-CpwhcBQK.mjs} +1 -1
  55. package/dist/.setup/{sdk-DPXiQ3jr.mjs → sdk-CRJQM2N0.mjs} +33 -47
  56. package/dist/.setup/{secret-contract-DxyzKSzf.mjs → secret-contract-AKnr45nw.mjs} +2 -3
  57. package/dist/.setup/{secret-contract-api-Dukgvike.mjs → secret-contract-api-DMSwMIxd.mjs} +1 -1
  58. package/dist/.setup/{send-HHAbKARg.mjs → send-QWCT3NT9.mjs} +58 -44
  59. package/dist/.setup/{send-currentness-DGxiiBn9.mjs → send-currentness-D1x6YP9O.mjs} +2 -4
  60. package/dist/.setup/{setup-bootstrap-DaT2j28V.mjs → setup-bootstrap-DrBapwjQ.mjs} +4 -5
  61. package/dist/.setup/{setup-core-DcqQbLZv.mjs → setup-core-B4sVj_9e.mjs} +13 -20
  62. package/dist/.setup/setup-plugin-api-t9yhI-Tq.mjs +2 -0
  63. package/dist/.setup/sqlite-state-D6Zpz1q1.mjs +36 -0
  64. package/dist/.setup/{startup-verification-UkaoSldm.mjs → startup-verification-DfOuAruK.mjs} +5 -5
  65. package/dist/.setup/{state-layout-walk-BQMgMykU.mjs → state-layout-walk-BqCZTHpp.mjs} +2 -3
  66. package/dist/.setup/{storage-C3N6YZIn.mjs → storage-CCarF_gm.mjs} +9 -10
  67. package/dist/.setup/{storage-paths-B51JM-pC.mjs → storage-paths-e_Vq6cvw.mjs} +1 -2
  68. package/dist/.setup/{subagent-hooks-CfGAysJi.mjs → subagent-hooks-BdbuojSv.mjs} +2 -3
  69. package/dist/.setup/{sync-cache-state-BKVaKRzQ.mjs → sync-cache-state-BMvqW4Ii.mjs} +5 -5
  70. package/dist/.setup/{sync-state-CWbp0QSY.mjs → sync-state-Cu1nagBV.mjs} +1 -2
  71. package/dist/.setup/{target-ids-HhcaKX1n.mjs → target-ids-DltG_ZHJ.mjs} +1 -2
  72. package/dist/.setup/{task-runner-DY3aKiQa.mjs → task-runner-CYyGHdNW.mjs} +1 -2
  73. package/dist/.setup/{thread-binding-api-BvuaKpd0.mjs → thread-binding-api-OtSciHmZ.mjs} +2 -3
  74. package/dist/.setup/{thread-bindings-891JsKXF.mjs → thread-bindings-jNXWItIL.mjs} +54 -23
  75. package/dist/.setup/{thread-bindings-shared-QmZOfX9Q.mjs → thread-bindings-shared-DEAGGuDA.mjs} +6 -3
  76. package/dist/.setup/{tool-actions-8mXdq9OV.mjs → tool-actions-4sdtsvN2.mjs} +25 -25
  77. package/dist/.setup/{url-validation-By_2hsXr.mjs → url-validation-DesoKUns.mjs} +1 -2
  78. package/dist/.setup/{verification-CcZIVL8P.mjs → verification-DQu-OS0V.mjs} +4 -5
  79. package/dist/.source-module-urls/1cd4d4ff8d44e1c8b830932b44d7cf8a7f3350e09e169910e1d7a85e131b7bea.json +1 -1
  80. package/dist/api.js +8 -8
  81. package/dist/auth-presence.js +2 -3
  82. package/dist/channel-plugin-api.js +1 -1
  83. package/dist/cli-metadata.js +1 -1
  84. package/dist/contract-api.js +2 -2
  85. package/dist/doctor-contract-api.js +14 -16
  86. package/dist/helper-api.js +3 -3
  87. package/dist/index.js +3 -4
  88. package/dist/plugin-entry.handlers.runtime.js +3 -4
  89. package/dist/runtime-api.js +7 -8
  90. package/dist/runtime-setter-api.js +1 -1
  91. package/dist/secret-contract-api.js +1 -1
  92. package/dist/session-binding-contract-api.js +2 -2
  93. package/dist/setup-entry.js +4 -5
  94. package/dist/setup-plugin-api.js +1 -1
  95. package/dist/subagent-hooks-api.js +2 -3
  96. package/dist/thread-binding-api.js +1 -1
  97. package/dist/thread-bindings-runtime.js +1 -1
  98. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +45 -1
  99. package/node_modules/@openclaw/fs-safe/README.md +4 -0
  100. package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +2 -2
  101. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +2 -2
  102. package/node_modules/@openclaw/fs-safe/dist/advanced.js +2 -2
  103. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  104. package/node_modules/@openclaw/fs-safe/dist/atomic-io.d.ts +1 -0
  105. package/node_modules/@openclaw/fs-safe/dist/atomic-io.js +6 -0
  106. package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +1 -0
  107. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +5 -0
  108. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +13 -0
  109. package/node_modules/@openclaw/fs-safe/dist/directory-mode-options.d.ts +3 -0
  110. package/node_modules/@openclaw/fs-safe/dist/directory-mode-options.js +6 -0
  111. package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +1 -1
  112. package/node_modules/@openclaw/fs-safe/dist/errors.js +1 -0
  113. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +0 -1
  114. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +1 -11
  115. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +3 -3
  116. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +2 -3
  117. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +3 -3
  118. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +30 -4
  119. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +1 -1
  120. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +7 -1
  121. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +1 -1
  122. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +30 -4
  123. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +1 -1
  124. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +2 -0
  125. package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +2 -1
  126. package/node_modules/@openclaw/fs-safe/dist/file-store.js +5 -0
  127. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +2 -0
  128. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +9 -0
  129. package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +2 -1
  130. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +4 -1
  131. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +1 -1
  132. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +1 -1
  133. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +19 -13
  134. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +2 -0
  135. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +27 -5
  136. package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +1 -0
  137. package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +84 -7
  138. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +0 -11
  139. package/node_modules/@openclaw/fs-safe/dist/prepare-directory-mode.d.ts +9 -0
  140. package/node_modules/@openclaw/fs-safe/dist/prepare-directory-mode.js +61 -0
  141. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +2 -1
  142. package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +2 -0
  143. package/node_modules/@openclaw/fs-safe/dist/realpath.js +16 -0
  144. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +2 -1
  145. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +8 -6
  146. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +2 -1
  147. package/node_modules/@openclaw/fs-safe/dist/replace-file.js +20 -13
  148. package/node_modules/@openclaw/fs-safe/dist/root-context.js +4 -1
  149. package/node_modules/@openclaw/fs-safe/dist/root-create-native.d.ts +1 -1
  150. package/node_modules/@openclaw/fs-safe/dist/root-create-native.js +18 -9
  151. package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +2 -0
  152. package/node_modules/@openclaw/fs-safe/dist/root-errors.js +9 -0
  153. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +4 -1
  154. package/node_modules/@openclaw/fs-safe/dist/root-mkdir-native.d.ts +1 -1
  155. package/node_modules/@openclaw/fs-safe/dist/root-mkdir-native.js +35 -16
  156. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +6 -2
  157. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +32 -20
  158. package/node_modules/@openclaw/fs-safe/dist/root-path.js +32 -26
  159. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +4 -1
  160. package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +2 -1
  161. package/node_modules/@openclaw/fs-safe/dist/secret-file.js +2 -0
  162. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +2 -1
  163. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +5 -4
  164. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +3 -2
  165. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +8 -9
  166. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +3 -1
  167. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +2 -1
  168. package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +2 -1
  169. package/node_modules/@openclaw/fs-safe/dist/types.d.ts +1 -0
  170. package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +12 -3
  171. package/node_modules/@openclaw/fs-safe/dist/windows-security-helper.exe +0 -0
  172. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +0 -1
  173. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +10 -12
  174. package/node_modules/@openclaw/fs-safe/docs/advanced.md +3 -3
  175. package/node_modules/@openclaw/fs-safe/docs/atomic.md +16 -3
  176. package/node_modules/@openclaw/fs-safe/docs/compiler-qualification.md +1 -1
  177. package/node_modules/@openclaw/fs-safe/docs/contributing.md +27 -18
  178. package/node_modules/@openclaw/fs-safe/docs/errors.md +3 -1
  179. package/node_modules/@openclaw/fs-safe/docs/file-store.md +14 -2
  180. package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +31 -0
  181. package/node_modules/@openclaw/fs-safe/docs/install.md +1 -1
  182. package/node_modules/@openclaw/fs-safe/docs/json-store.md +6 -1
  183. package/node_modules/@openclaw/fs-safe/docs/json.md +5 -1
  184. package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +14 -4
  185. package/node_modules/@openclaw/fs-safe/docs/public-api.md +4 -2
  186. package/node_modules/@openclaw/fs-safe/docs/secret-file.md +5 -1
  187. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +4 -0
  188. package/node_modules/@openclaw/fs-safe/docs/temp.md +9 -1
  189. package/node_modules/@openclaw/fs-safe/docs/types.md +5 -1
  190. package/node_modules/@openclaw/fs-safe/package.json +12 -12
  191. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  192. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +1 -1
  193. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  194. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +1 -1
  195. package/node_modules/@openclaw/fs-safe-freebsd-arm64/fs-safe-native.node +0 -0
  196. package/node_modules/@openclaw/fs-safe-freebsd-arm64/package.json +1 -1
  197. package/node_modules/@openclaw/fs-safe-freebsd-x64/fs-safe-native.node +0 -0
  198. package/node_modules/@openclaw/fs-safe-freebsd-x64/package.json +1 -1
  199. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  200. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +1 -1
  201. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  202. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +1 -1
  203. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  204. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +1 -1
  205. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  206. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +1 -1
  207. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/fs-safe-native.node +0 -0
  208. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/package.json +1 -1
  209. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  210. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +1 -1
  211. package/node_modules/@tokenizer/inflate/README.md +57 -17
  212. package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +12 -1
  213. package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +127 -57
  214. package/node_modules/@tokenizer/inflate/lib/ZipLimitError.d.ts +18 -4
  215. package/node_modules/@tokenizer/inflate/lib/ZipLimitError.js +1 -1
  216. package/node_modules/@tokenizer/inflate/lib/index.d.ts +1 -1
  217. package/node_modules/@tokenizer/inflate/node_modules/strtok3/LICENSE.txt +21 -0
  218. package/node_modules/@tokenizer/inflate/node_modules/strtok3/README.md +736 -0
  219. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbortSignal.d.ts +2 -0
  220. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbortSignal.js +7 -0
  221. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbstractTokenizer.d.ts +117 -0
  222. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbstractTokenizer.js +204 -0
  223. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BlobTokenizer.d.ts +29 -0
  224. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BlobTokenizer.js +57 -0
  225. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferSizeError.d.ts +19 -0
  226. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferSizeError.js +27 -0
  227. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferTokenizer.d.ts +29 -0
  228. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferTokenizer.js +51 -0
  229. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/FileTokenizer.d.ts +47 -0
  230. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/FileTokenizer.js +83 -0
  231. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/NotRegularFileError.d.ts +5 -0
  232. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/NotRegularFileError.js +8 -0
  233. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +34 -0
  234. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/ReadStreamTokenizer.js +140 -0
  235. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerBoundaryError.d.ts +7 -0
  236. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerBoundaryError.js +10 -0
  237. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerView.d.ts +9 -0
  238. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerView.js +184 -0
  239. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/core.d.ts +44 -0
  240. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/core.js +56 -0
  241. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/index.d.ts +17 -0
  242. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/index.js +46 -0
  243. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/isRandomAccessTokenizer.d.ts +6 -0
  244. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/isRandomAccessTokenizer.js +10 -0
  245. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +54 -0
  246. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/AbstractStreamReader.js +73 -0
  247. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Deferred.d.ts +6 -0
  248. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Deferred.js +10 -0
  249. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Errors.d.ts +10 -0
  250. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Errors.js +16 -0
  251. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/StreamReader.d.ts +34 -0
  252. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/StreamReader.js +125 -0
  253. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +14 -0
  254. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamByobReader.js +29 -0
  255. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +19 -0
  256. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +67 -0
  257. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +24 -0
  258. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReader.js +13 -0
  259. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +5 -0
  260. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +19 -0
  261. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/index.d.ts +6 -0
  262. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/index.js +5 -0
  263. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/types.d.ts +163 -0
  264. package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/types.js +1 -0
  265. package/node_modules/@tokenizer/inflate/node_modules/strtok3/package.json +97 -0
  266. package/node_modules/@tokenizer/inflate/package.json +5 -5
  267. package/node_modules/fake-indexeddb/README.md +7 -7
  268. package/node_modules/fake-indexeddb/build/cjs/lib/Index.js +47 -22
  269. package/node_modules/fake-indexeddb/build/cjs/lib/ObjectStore.js +4 -2
  270. package/node_modules/fake-indexeddb/build/cjs/lib/RecordStore.js +14 -9
  271. package/node_modules/fake-indexeddb/build/esm/lib/Index.js +47 -22
  272. package/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js +4 -2
  273. package/node_modules/fake-indexeddb/build/esm/lib/RecordStore.js +14 -9
  274. package/node_modules/fake-indexeddb/package.json +1 -1
  275. package/node_modules/file-type/node_modules/strtok3/README.md +154 -9
  276. package/node_modules/file-type/node_modules/strtok3/lib/AbstractTokenizer.d.ts +3 -0
  277. package/node_modules/file-type/node_modules/strtok3/lib/AbstractTokenizer.js +12 -4
  278. package/node_modules/file-type/node_modules/strtok3/lib/BlobTokenizer.js +1 -0
  279. package/node_modules/file-type/node_modules/strtok3/lib/BufferTokenizer.js +2 -1
  280. package/node_modules/file-type/node_modules/strtok3/lib/FileTokenizer.d.ts +1 -1
  281. package/node_modules/file-type/node_modules/strtok3/lib/FileTokenizer.js +3 -3
  282. package/node_modules/file-type/node_modules/strtok3/lib/ReadStreamTokenizer.js +17 -2
  283. package/node_modules/file-type/node_modules/strtok3/lib/TokenizerBoundaryError.d.ts +7 -0
  284. package/node_modules/file-type/node_modules/strtok3/lib/TokenizerBoundaryError.js +10 -0
  285. package/node_modules/file-type/node_modules/strtok3/lib/TokenizerView.d.ts +9 -0
  286. package/node_modules/file-type/node_modules/strtok3/lib/TokenizerView.js +184 -0
  287. package/node_modules/file-type/node_modules/strtok3/lib/core.d.ts +4 -1
  288. package/node_modules/file-type/node_modules/strtok3/lib/core.js +5 -18
  289. package/node_modules/file-type/node_modules/strtok3/lib/index.js +28 -5
  290. package/node_modules/file-type/node_modules/strtok3/lib/isRandomAccessTokenizer.d.ts +6 -0
  291. package/node_modules/file-type/node_modules/strtok3/lib/isRandomAccessTokenizer.js +10 -0
  292. package/node_modules/file-type/node_modules/strtok3/lib/stream/StreamReader.d.ts +4 -0
  293. package/node_modules/file-type/node_modules/strtok3/lib/stream/StreamReader.js +29 -8
  294. package/node_modules/file-type/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +12 -2
  295. package/node_modules/file-type/node_modules/strtok3/lib/types.d.ts +19 -2
  296. package/node_modules/file-type/node_modules/strtok3/package.json +10 -8
  297. package/node_modules/file-type/package.json +3 -3
  298. package/node_modules/file-type/source/detectors/ebml.js +31 -16
  299. package/node_modules/file-type/source/detectors/zip.js +21 -203
  300. package/node_modules/matrix-js-sdk/CHANGELOG.md +28 -0
  301. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts +30 -25
  302. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts.map +1 -1
  303. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js +91 -100
  304. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js.map +1 -1
  305. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +6 -4
  306. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -1
  307. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -1
  308. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts +2 -15
  309. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts.map +1 -1
  310. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js.map +1 -1
  311. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +36 -7
  312. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -1
  313. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +29 -2
  314. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -1
  315. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +12 -51
  316. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -1
  317. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +10 -66
  318. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
  319. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts +5 -10
  320. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts.map +1 -1
  321. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +25 -44
  322. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -1
  323. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +8 -8
  324. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -1
  325. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +30 -22
  326. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -1
  327. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js +7 -8
  328. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js.map +1 -1
  329. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts +8 -13
  330. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts.map +1 -1
  331. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js +2 -11
  332. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js.map +1 -1
  333. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts +6 -2
  334. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts.map +1 -1
  335. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js +3 -0
  336. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js.map +1 -1
  337. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts +5 -0
  338. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts.map +1 -1
  339. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js +5 -0
  340. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js.map +1 -1
  341. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts +9 -2
  342. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts.map +1 -1
  343. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js +8 -5
  344. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js.map +1 -1
  345. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts +17 -2
  346. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts.map +1 -1
  347. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js +88 -47
  348. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js.map +1 -1
  349. package/node_modules/matrix-js-sdk/lib/models/room.d.ts +1 -1
  350. package/node_modules/matrix-js-sdk/lib/models/room.d.ts.map +1 -1
  351. package/node_modules/matrix-js-sdk/lib/models/room.js +8 -2
  352. package/node_modules/matrix-js-sdk/lib/models/room.js.map +1 -1
  353. package/node_modules/matrix-js-sdk/lib/models/thread.d.ts.map +1 -1
  354. package/node_modules/matrix-js-sdk/lib/models/thread.js +23 -2
  355. package/node_modules/matrix-js-sdk/lib/models/thread.js.map +1 -1
  356. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts +3 -3
  357. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts.map +1 -1
  358. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js.map +1 -1
  359. package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.d.ts +95 -0
  360. package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.d.ts.map +1 -0
  361. package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.js +3 -0
  362. package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.js.map +1 -0
  363. package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts +1 -0
  364. package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts.map +1 -1
  365. package/node_modules/matrix-js-sdk/lib/rendezvous/index.js.map +1 -1
  366. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +5 -1
  367. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -1
  368. package/node_modules/matrix-js-sdk/package.json +3 -3
  369. package/node_modules/matrix-js-sdk/src/matrixrtc/CallMembership.ts +85 -95
  370. package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +6 -4
  371. package/node_modules/matrix-js-sdk/src/matrixrtc/IMembershipManager.ts +2 -15
  372. package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +58 -9
  373. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +21 -80
  374. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +23 -40
  375. package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +51 -39
  376. package/node_modules/matrix-js-sdk/src/matrixrtc/ToDeviceKeyTransport.ts +7 -7
  377. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/rtc.ts +9 -23
  378. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/session.ts +14 -2
  379. package/node_modules/matrix-js-sdk/src/matrixrtc/types.ts +6 -0
  380. package/node_modules/matrix-js-sdk/src/models/event-timeline-set.ts +19 -4
  381. package/node_modules/matrix-js-sdk/src/models/room-sticky-events.ts +92 -58
  382. package/node_modules/matrix-js-sdk/src/models/room.ts +8 -2
  383. package/node_modules/matrix-js-sdk/src/models/thread.ts +25 -3
  384. package/node_modules/matrix-js-sdk/src/rendezvous/MSC4108SignInWithQR.ts +3 -3
  385. package/node_modules/matrix-js-sdk/src/rendezvous/SignInWithQRFlow.ts +117 -0
  386. package/node_modules/matrix-js-sdk/src/rendezvous/index.ts +1 -0
  387. package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +5 -1
  388. package/node_modules/music-metadata/README.md +62 -67
  389. package/node_modules/music-metadata/lib/ParserFactory.js +3 -1
  390. package/node_modules/music-metadata/lib/aiff/AiffParser.d.ts +2 -0
  391. package/node_modules/music-metadata/lib/aiff/AiffParser.js +42 -3
  392. package/node_modules/music-metadata/lib/aiff/AiffToken.d.ts +1 -0
  393. package/node_modules/music-metadata/lib/aiff/AiffToken.js +1 -0
  394. package/node_modules/music-metadata/lib/apev2/APEv2Parser.js +11 -1
  395. package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +2 -2
  396. package/node_modules/music-metadata/lib/asf/AsfObject.js +81 -111
  397. package/node_modules/music-metadata/lib/asf/AsfParser.js +5 -3
  398. package/node_modules/music-metadata/lib/asf/AsfTagMapper.js +27 -3
  399. package/node_modules/music-metadata/lib/asf/AsfUtil.d.ts +1 -1
  400. package/node_modules/music-metadata/lib/caf/CafParser.js +13 -2
  401. package/node_modules/music-metadata/lib/caf/CafToken.d.ts +2 -2
  402. package/node_modules/music-metadata/lib/caf/CafToken.js +9 -2
  403. package/node_modules/music-metadata/lib/common/Allocation.d.ts +6 -0
  404. package/node_modules/music-metadata/lib/common/Allocation.js +18 -0
  405. package/node_modules/music-metadata/lib/common/GenericTagMapper.js +1 -1
  406. package/node_modules/music-metadata/lib/common/MetadataCollector.d.ts +2 -0
  407. package/node_modules/music-metadata/lib/common/MetadataCollector.js +21 -4
  408. package/node_modules/music-metadata/lib/common/Util.d.ts +4 -0
  409. package/node_modules/music-metadata/lib/common/Util.js +34 -1
  410. package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.d.ts +4 -1
  411. package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.js +32 -36
  412. package/node_modules/music-metadata/lib/ebml/EbmlIterator.js +6 -2
  413. package/node_modules/music-metadata/lib/flac/FlacParser.js +2 -1
  414. package/node_modules/music-metadata/lib/id3v2/FrameParser.d.ts +7 -3
  415. package/node_modules/music-metadata/lib/id3v2/FrameParser.js +91 -46
  416. package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.js +6 -0
  417. package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.d.ts +5 -0
  418. package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.js +6 -4
  419. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.d.ts +2 -1
  420. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.js +57 -15
  421. package/node_modules/music-metadata/lib/lrc/LyricsParser.d.ts +18 -2
  422. package/node_modules/music-metadata/lib/lrc/LyricsParser.js +14 -3
  423. package/node_modules/music-metadata/lib/mp4/Atom.d.ts +3 -3
  424. package/node_modules/music-metadata/lib/mp4/Atom.js +14 -7
  425. package/node_modules/music-metadata/lib/mp4/AtomToken.d.ts +25 -25
  426. package/node_modules/music-metadata/lib/mp4/AtomToken.js +136 -119
  427. package/node_modules/music-metadata/lib/mp4/MP4Parser.d.ts +16 -2
  428. package/node_modules/music-metadata/lib/mp4/MP4Parser.js +370 -132
  429. package/node_modules/music-metadata/lib/mp4/MP4TagMapper.js +30 -0
  430. package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.js +19 -8
  431. package/node_modules/music-metadata/lib/ogg/OggParser.js +6 -2
  432. package/node_modules/music-metadata/lib/ogg/OggToken.d.ts +2 -2
  433. package/node_modules/music-metadata/lib/ogg/OggToken.js +3 -9
  434. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.d.ts +9 -11
  435. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.js +111 -27
  436. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +6 -0
  437. package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.js +6 -0
  438. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.d.ts +2 -2
  439. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.js +8 -4
  440. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.d.ts +1 -0
  441. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.js +23 -3
  442. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.d.ts +4 -0
  443. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.js +15 -2
  444. package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.js +1 -0
  445. package/node_modules/music-metadata/lib/type.d.ts +23 -6
  446. package/node_modules/music-metadata/lib/wav/BwfChunk.d.ts +12 -2
  447. package/node_modules/music-metadata/lib/wav/BwfChunk.js +39 -11
  448. package/node_modules/music-metadata/lib/wav/WaveParser.js +13 -2
  449. package/node_modules/music-metadata/package.json +2 -1
  450. package/node_modules/typebox/build/format/date_time.d.mts +2 -1
  451. package/node_modules/typebox/build/format/date_time.mjs +12 -3
  452. package/node_modules/typebox/package.json +1 -1
  453. package/package.json +9 -9
  454. package/dist/.setup/setup-plugin-api-Cg4TelGZ.mjs +0 -2
  455. package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/auto.js +0 -54
  456. package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/binarySearchTree.js +0 -413
  457. package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/fakeIndexedDB.js +0 -1018
  458. package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/forceCloseDatabase.js +0 -99
  459. package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/getAll.js +0 -707
  460. package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/memoryLeaks.js +0 -42
  461. package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/auto.js +0 -52
  462. package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/binarySearchTree.js +0 -409
  463. package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/fakeIndexedDB.js +0 -1014
  464. package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/forceCloseDatabase.js +0 -95
  465. package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/getAll.js +0 -703
  466. package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/memoryLeaks.js +0 -38
@@ -1,13 +1,13 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { n as getMatrixRuntimeLifecycle } from "./runtime-1kn1P6io.mjs";
3
- import { c as hasReadyMatrixEnvAuth, d as resolveScopedMatrixEnvConfig, f as MATRIX_CONFIG_STRING_FIELDS, i as requiresExplicitMatrixDefaultAccount, l as resolveGlobalMatrixEnvConfig, p as resolveMatrixAccountStringValues, s as resolveMatrixDefaultOrOnlyAccountId, u as resolveMatrixEnvAuthReadiness } from "./account-selection-UUPhMBmu.mjs";
4
- import { t as getMatrixScopedEnvVarNames } from "./env-vars-aEBngJPa.mjs";
5
- import { o as resolveMatrixBaseConfig, r as listNormalizedMatrixAccountIds, t as findMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
6
- import { t as resolveMatrixConfigFieldPath } from "./config-paths-CnREYb1Y.mjs";
7
- import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-By_2hsXr.mjs";
8
- import { i as repairCurrentTokenStorageMetaDeviceId } from "./storage-C3N6YZIn.mjs";
9
- import { n as getMatrixMonitorTaskSignal } from "./task-runner-DY3aKiQa.mjs";
10
- import { c as resolveMatrixLocalTimeoutMs } from "./client-support-B_Mp4Qk9.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { n as getMatrixRuntimeLifecycle } from "./runtime-Ck8TjD7L.mjs";
3
+ import { c as hasReadyMatrixEnvAuth, d as resolveScopedMatrixEnvConfig, f as MATRIX_CONFIG_STRING_FIELDS, i as requiresExplicitMatrixDefaultAccount, l as resolveGlobalMatrixEnvConfig, p as resolveMatrixAccountStringValues, s as resolveMatrixDefaultOrOnlyAccountId, u as resolveMatrixEnvAuthReadiness } from "./account-selection-Cow3TMFO.mjs";
4
+ import { t as getMatrixScopedEnvVarNames } from "./env-vars-Bh1iOXJ1.mjs";
5
+ import { o as resolveMatrixBaseConfig, r as listNormalizedMatrixAccountIds, t as findMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
6
+ import { t as resolveMatrixConfigFieldPath } from "./config-paths-DBpHxDyc.mjs";
7
+ import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-DesoKUns.mjs";
8
+ import { i as repairCurrentTokenStorageMetaDeviceId } from "./storage-CCarF_gm.mjs";
9
+ import { n as getMatrixMonitorTaskSignal } from "./task-runner-CYyGHdNW.mjs";
10
+ import { c as resolveMatrixLocalTimeoutMs } from "./client-support-CqXAOZp3.mjs";
11
11
  import { createLazyRuntimeMethod, createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
12
12
  import { DEFAULT_ACCOUNT_ID, normalizeAccountId, normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
13
13
  import { formatErrorMessage, materializeErrorStack, toErrorObject, toStringifiedError } from "openclaw/plugin-sdk/error-runtime";
@@ -21,7 +21,7 @@ import { retryAsync } from "openclaw/plugin-sdk/retry-runtime";
21
21
  import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
22
22
  import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
23
23
  import { resolveGlobalSingleton } from "openclaw/plugin-sdk/global-singleton";
24
- //#region extensions/matrix/src/matrix/client/auth-request.ts
24
+ // extensions/matrix/src/matrix/client/auth-request.ts
25
25
  const MATRIX_AUTH_REQUEST_RETRY_RE = /\b(fetch failed|econnreset|econnrefused|enotfound|etimedout|ehostunreach|enetunreach|eai_again|und_err_|socket hang up|network|headers timeout|body timeout|connect timeout)\b/i;
26
26
  async function retryMatrixAuthRequest(label, run, signal) {
27
27
  return await retryAsync(run, {
@@ -35,7 +35,7 @@ async function retryMatrixAuthRequest(label, run, signal) {
35
35
  });
36
36
  }
37
37
  async function fetchMatrixWhoamiIdentity(params) {
38
- const { MatrixAuthedHttpClient } = await import("./http-client-B_ohXrBm.mjs").then((n) => n.n);
38
+ const { MatrixAuthedHttpClient } = await import("./http-client-CqnKFKUH.mjs").then((n) => n.n);
39
39
  params.signal?.throwIfAborted();
40
40
  const client = new MatrixAuthedHttpClient({
41
41
  homeserver: params.homeserver,
@@ -60,10 +60,9 @@ async function fetchMatrixWhoamiIdentity(params) {
60
60
  };
61
61
  }, params.signal);
62
62
  }
63
- //#endregion
64
- //#region extensions/matrix/src/matrix/client/config.ts
65
- const loadMatrixCredentialsReadDeps = createLazyRuntimeModule(() => import("./credentials-read-CM6wXUjL.mjs").then((n) => n.i));
66
- const loadMatrixCredentialsWriteRuntime = createLazyRuntimeModule(() => import("./credentials-kT20jk_u.mjs"));
63
+ // extensions/matrix/src/matrix/client/config.ts
64
+ const loadMatrixCredentialsReadDeps = createLazyRuntimeModule(() => import("./credentials-read-rPqEpuxv.mjs").then((n) => n.i));
65
+ const loadMatrixCredentialsWriteRuntime = createLazyRuntimeModule(() => import("./credentials-CGgWuhFV.mjs"));
67
66
  const loadMatrixSecretInputDeps = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/secret-input-runtime"));
68
67
  function credentialsMatchBackfillAuthLineage(params) {
69
68
  if (!params.stored) return true;
@@ -320,7 +319,7 @@ async function resolveMatrixAuth(params) {
320
319
  configured: authInputs.password
321
320
  }) ?? resolved.password;
322
321
  if (!password) throw new Error("Matrix password is required when no access token is configured (matrix.password)");
323
- const { MatrixAuthedHttpClient } = await import("./http-client-B_ohXrBm.mjs").then((n) => n.n);
322
+ const { MatrixAuthedHttpClient } = await import("./http-client-CqnKFKUH.mjs").then((n) => n.n);
324
323
  const loginClient = new MatrixAuthedHttpClient({
325
324
  homeserver,
326
325
  accessToken: "",
@@ -410,8 +409,7 @@ async function backfillMatrixAuthDeviceIdAfterStartup(params) {
410
409
  deviceId
411
410
  }, env, params.auth.accountId) === "saved" ? deviceId : void 0;
412
411
  }
413
- //#endregion
414
- //#region extensions/matrix/src/matrix/startup-abort.ts
412
+ // extensions/matrix/src/matrix/startup-abort.ts
415
413
  function createMatrixStartupAbortError() {
416
414
  const error = /* @__PURE__ */ new Error("Matrix startup aborted");
417
415
  error.name = "AbortError";
@@ -431,9 +429,8 @@ async function awaitMatrixStartupWithAbort(promise, abortSignal) {
431
429
  throw toErrorObject(error, "Non-Error rejection");
432
430
  }
433
431
  }
434
- //#endregion
435
- //#region extensions/matrix/src/matrix/client/shared.ts
436
- const loadMatrixCreateClientDeps = createLazyRuntimeModule(() => import("./create-client-Ccf5wyS3.mjs"));
432
+ // extensions/matrix/src/matrix/client/shared.ts
433
+ const loadMatrixCreateClientDeps = createLazyRuntimeModule(() => import("./create-client-XL9SKJ2s.mjs"));
437
434
  const MATRIX_RETIREMENT_DRAIN_TIMEOUT_MS = 5e3;
438
435
  const sharedClientRegistry = resolveGlobalSingleton(Symbol.for("openclaw.matrix.shared-client-registry"), () => ({
439
436
  states: /* @__PURE__ */ new Map(),
@@ -752,8 +749,7 @@ async function stopSharedClientForAccount(auth) {
752
749
  if (!state || state.ownerSignal !== getMatrixRuntimeLifecycle()?.signal) return;
753
750
  await forceRetireState(state);
754
751
  }
755
- //#endregion
756
- //#region extensions/matrix/src/matrix/client.ts
752
+ // extensions/matrix/src/matrix/client.ts
757
753
  var client_exports = /* @__PURE__ */ __exportAll({
758
754
  acquireSharedMatrixClient: () => acquireSharedMatrixClient,
759
755
  backfillMatrixAuthDeviceIdAfterStartup: () => backfillMatrixAuthDeviceIdAfterStartup,
@@ -768,7 +764,6 @@ var client_exports = /* @__PURE__ */ __exportAll({
768
764
  stopSharedClientForAccount: () => stopSharedClientForAccount,
769
765
  validateMatrixHomeserverUrl: () => validateMatrixHomeserverUrl
770
766
  });
771
- const loadMatrixClientRuntime = createLazyRuntimeModule(() => import("./create-client-Ccf5wyS3.mjs"));
767
+ const loadMatrixClientRuntime = createLazyRuntimeModule(() => import("./create-client-XL9SKJ2s.mjs"));
772
768
  const createMatrixClient = createLazyRuntimeMethod(loadMatrixClientRuntime, (runtime) => runtime.createMatrixClient);
773
- //#endregion
774
769
  export { isMatrixStartupAbortError as a, resolveMatrixAuth as c, createMatrixStartupAbortError as i, resolveMatrixAuthContext as l, acquireSharedMatrixClient as n, throwIfMatrixStartupAborted as o, awaitMatrixStartupWithAbort as r, backfillMatrixAuthDeviceIdAfterStartup as s, client_exports as t };
@@ -1,7 +1,7 @@
1
1
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
2
2
  import { captureChannelReadAuthority } from "openclaw/plugin-sdk/fetch-runtime";
3
- //#region extensions/matrix/src/matrix/client-bootstrap.ts
4
- const loadMatrixSharedClientRuntimeDeps = createLazyRuntimeModule(() => import("./client-D1bsidwU.mjs").then((n) => n.t));
3
+ // extensions/matrix/src/matrix/client-bootstrap.ts
4
+ const loadMatrixSharedClientRuntimeDeps = createLazyRuntimeModule(() => import("./client-DIeTvz6C.mjs").then((n) => n.t));
5
5
  async function ensureResolvedClientReadiness(params) {
6
6
  if (params.readiness === "started") {
7
7
  if (params.lease) await params.lease.start();
@@ -65,5 +65,4 @@ async function withResolvedRuntimeMatrixClient(opts, run) {
65
65
  }
66
66
  }
67
67
  }
68
- //#endregion
69
68
  export { resolveRuntimeMatrixClientWithReadiness, withResolvedRuntimeMatrixClient };
@@ -1,6 +1,6 @@
1
- import { t as formatMatrixErrorReason } from "./errors-Bw4EHwKX.mjs";
1
+ import { t as formatMatrixErrorReason } from "./errors-CL3YJV8U.mjs";
2
2
  import { raceWithTimeout } from "openclaw/plugin-sdk/time-runtime";
3
- //#region extensions/matrix/src/matrix/sdk/client-support.ts
3
+ // extensions/matrix/src/matrix/sdk/client-support.ts
4
4
  const MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS = 1e4;
5
5
  const DEFAULT_MATRIX_LOCAL_TIMEOUT_MS = 6e4;
6
6
  function resolveMatrixLocalTimeoutMs(raw) {
@@ -66,5 +66,4 @@ function createMatrixExplicitBootstrapOptions(params) {
66
66
  strict: params?.strict !== false
67
67
  };
68
68
  }
69
- //#endregion
70
69
  export { isMatrixAccessTokenInvalidatedError as a, resolveMatrixLocalTimeoutMs as c, createMatrixExplicitBootstrapOptions as i, unresolvedMatrixDeviceVerificationStatus as l, MATRIX_INITIAL_CRYPTO_BOOTSTRAP_OPTIONS as n, resolveMatrixDiagnostic as o, MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS as r, resolveMatrixDiagnosticResult as s, MATRIX_AUTOMATIC_REPAIR_BOOTSTRAP_OPTIONS as t, unresolvedMatrixRoomKeyBackupStatus as u };
@@ -1,13 +1,13 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { C as resolveMatrixRoomId } from "./send-HHAbKARg.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { C as resolveMatrixRoomId } from "./send-QWCT3NT9.mjs";
3
3
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
4
- //#region extensions/matrix/src/matrix/actions/client.ts
4
+ // extensions/matrix/src/matrix/actions/client.ts
5
5
  var client_exports = /* @__PURE__ */ __exportAll({
6
6
  withResolvedActionClient: () => withResolvedActionClient,
7
7
  withResolvedRoomAction: () => withResolvedRoomAction,
8
8
  withStartedActionClient: () => withStartedActionClient
9
9
  });
10
- const loadMatrixActionClientRuntime = createLazyRuntimeModule(() => import("./client-bootstrap-CTT0VF6v.mjs"));
10
+ const loadMatrixActionClientRuntime = createLazyRuntimeModule(() => import("./client-bootstrap-CvbnV_7R.mjs"));
11
11
  async function withResolvedActionClient(opts, run) {
12
12
  const { withResolvedRuntimeMatrixClient } = await loadMatrixActionClientRuntime();
13
13
  return await withResolvedRuntimeMatrixClient(opts, run);
@@ -23,5 +23,4 @@ async function withResolvedRoomAction(roomId, opts, run) {
23
23
  return await run(client, await resolveMatrixRoomId(client, roomId), abortSignal);
24
24
  });
25
25
  }
26
- //#endregion
27
26
  export { withStartedActionClient as i, withResolvedActionClient as n, withResolvedRoomAction as r, client_exports as t };
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
2
- //#region extensions/matrix/src/matrix/config-paths.ts
2
+ // extensions/matrix/src/matrix/config-paths.ts
3
3
  function shouldStoreMatrixAccountAtTopLevel(cfg, accountId) {
4
4
  if (normalizeAccountId(accountId) !== DEFAULT_ACCOUNT_ID) return false;
5
5
  const accounts = cfg.channels?.matrix?.accounts;
@@ -15,5 +15,4 @@ function resolveMatrixConfigFieldPath(cfg, accountId, fieldPath) {
15
15
  if (!suffix) return resolveMatrixConfigPath(cfg, accountId);
16
16
  return `${resolveMatrixConfigPath(cfg, accountId)}.${suffix}`;
17
17
  }
18
- //#endregion
19
18
  export { resolveMatrixConfigPath as n, shouldStoreMatrixAccountAtTopLevel as r, resolveMatrixConfigFieldPath as t };
@@ -1,16 +1,16 @@
1
- import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
2
- import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-By_2hsXr.mjs";
3
- import { n as maybeMigrateLegacyStorage, o as resolveMatrixStoragePaths, s as writeStorageMeta } from "./storage-C3N6YZIn.mjs";
4
- import "./client-D1bsidwU.mjs";
1
+ import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
2
+ import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-DesoKUns.mjs";
3
+ import { n as maybeMigrateLegacyStorage, o as resolveMatrixStoragePaths, s as writeStorageMeta } from "./storage-CCarF_gm.mjs";
4
+ import "./client-DIeTvz6C.mjs";
5
5
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
6
6
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  import { ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
8
8
  import fs from "node:fs";
9
- //#region extensions/matrix/src/matrix/client/create-client.ts
9
+ // extensions/matrix/src/matrix/client/create-client.ts
10
10
  const loadMatrixCreateClientRuntimeDeps = createLazyRuntimeModule(() => Promise.all([
11
- import("./sdk-DPXiQ3jr.mjs").then((n) => n.t),
12
- import("./logging-CoaEyRtA.mjs").then((n) => n.n),
13
- import("./file-sync-store-BpS12yaK.mjs")
11
+ import("./sdk-CRJQM2N0.mjs").then((n) => n.t),
12
+ import("./logging-Bnsn7s4r.mjs").then((n) => n.n),
13
+ import("./file-sync-store-CAhnwOPA.mjs")
14
14
  ]).then(([sdkModule, loggingModule, syncStoreModule]) => ({
15
15
  MatrixClient: sdkModule.MatrixClient,
16
16
  SqliteBackedMatrixSyncStore: syncStoreModule.SqliteBackedMatrixSyncStore,
@@ -68,5 +68,4 @@ async function createMatrixClient(params, preparedStorage) {
68
68
  stateRuntime: getMatrixRuntime().state
69
69
  });
70
70
  }
71
- //#endregion
72
71
  export { createMatrixClient, prepareMatrixClientStorage };
@@ -1,9 +1,9 @@
1
- import { i as normalizeMatrixStoredCredentials, n as isMatrixCredentialRevocation, r as matrixCredentialsStoreKey } from "./credentials-state-B3cuUFwZ.mjs";
2
- import { i as resolveMatrixCredentialsDir, o as resolveMatrixCredentialsPath } from "./storage-paths-B51JM-pC.mjs";
3
- import { a as loadMatrixCredentials, n as clearMatrixCredentials, r as credentialsMatchConfig, s as openMatrixCredentialsAsyncStore } from "./credentials-read-CM6wXUjL.mjs";
4
- import { c as updateMatrixKeyedState } from "./retired-state-JGUEBE72.mjs";
1
+ import { i as normalizeMatrixStoredCredentials, n as isMatrixCredentialRevocation, r as matrixCredentialsStoreKey } from "./credentials-state-jxq29yQw.mjs";
2
+ import { i as resolveMatrixCredentialsDir, o as resolveMatrixCredentialsPath } from "./storage-paths-e_Vq6cvw.mjs";
3
+ import { a as loadMatrixCredentials, n as clearMatrixCredentials, r as credentialsMatchConfig, s as openMatrixCredentialsAsyncStore } from "./credentials-read-rPqEpuxv.mjs";
4
+ import { r as updateMatrixKeyedState } from "./sqlite-state-D6Zpz1q1.mjs";
5
5
  import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
6
- //#region extensions/matrix/src/matrix/credentials.ts
6
+ // extensions/matrix/src/matrix/credentials.ts
7
7
  async function saveMatrixCredentials(credentials, env = process.env, accountId) {
8
8
  await persistMatrixCredentials(credentials, env, accountId, false);
9
9
  }
@@ -40,5 +40,4 @@ async function persistMatrixCredentials(credentials, env, accountId, backfill) {
40
40
  });
41
41
  return result;
42
42
  }
43
- //#endregion
44
43
  export { clearMatrixCredentials, credentialsMatchConfig, loadMatrixCredentials, resolveMatrixCredentialsDir, resolveMatrixCredentialsPath, saveBackfilledMatrixDeviceId, saveMatrixCredentials };
@@ -1,11 +1,11 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { r as getOptionalMatrixRuntime } from "./runtime-1kn1P6io.mjs";
3
- import { i as normalizeMatrixStoredCredentials, r as matrixCredentialsStoreKey, t as MATRIX_CREDENTIALS_NAMESPACE } from "./credentials-state-B3cuUFwZ.mjs";
4
- import { i as resolveMatrixCredentialsDir, o as resolveMatrixCredentialsPath } from "./storage-paths-B51JM-pC.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { r as getOptionalMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
3
+ import { i as normalizeMatrixStoredCredentials, r as matrixCredentialsStoreKey, t as MATRIX_CREDENTIALS_NAMESPACE } from "./credentials-state-jxq29yQw.mjs";
4
+ import { i as resolveMatrixCredentialsDir, o as resolveMatrixCredentialsPath } from "./storage-paths-e_Vq6cvw.mjs";
5
5
  import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
6
6
  import { createPluginStateKeyedStore, createPluginStateSyncKeyedStore } from "openclaw/plugin-sdk/plugin-state-store-runtime";
7
7
  import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
8
- //#region extensions/matrix/src/matrix/credentials-read.ts
8
+ // extensions/matrix/src/matrix/credentials-read.ts
9
9
  var credentials_read_exports = /* @__PURE__ */ __exportAll({
10
10
  captureMatrixCredentialsEnv: () => captureMatrixCredentialsEnv,
11
11
  clearMatrixCredentials: () => clearMatrixCredentials,
@@ -81,5 +81,4 @@ function credentialsMatchConfig(stored, config) {
81
81
  }
82
82
  return stored.homeserver === config.homeserver && stored.userId === config.userId;
83
83
  }
84
- //#endregion
85
84
  export { loadMatrixCredentials as a, credentials_read_exports as i, clearMatrixCredentials as n, loadMatrixCredentialsAsync as o, credentialsMatchConfig as r, openMatrixCredentialsAsyncStore as s, captureMatrixCredentialsEnv as t };
@@ -1,5 +1,5 @@
1
1
  import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
2
- //#region extensions/matrix/src/matrix/credentials-state.ts
2
+ // extensions/matrix/src/matrix/credentials-state.ts
3
3
  const MATRIX_CREDENTIALS_NAMESPACE = "credentials";
4
4
  function matrixCredentialsStoreKey(accountId) {
5
5
  return `account:${normalizeAccountId(accountId)}`;
@@ -23,5 +23,4 @@ function isMatrixCredentialRevocation(value, accountId) {
23
23
  const parsed = value;
24
24
  return parsed.kind === "revoked" && typeof parsed.revokedAt === "string" && parsed.revokedAt.length > 0 && normalizeAccountId(parsed.accountId) === normalizeAccountId(accountId ?? parsed.accountId);
25
25
  }
26
- //#endregion
27
26
  export { normalizeMatrixStoredCredentials as i, isMatrixCredentialRevocation as n, matrixCredentialsStoreKey as r, MATRIX_CREDENTIALS_NAMESPACE as t };
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from "node:module";
2
- //#region extensions/matrix/src/matrix/sdk/crypto-node.runtime.ts
2
+ // extensions/matrix/src/matrix/sdk/crypto-node.runtime.ts
3
3
  const require = createRequire(import.meta.url);
4
4
  function loadMatrixCryptoNodeBindings() {
5
5
  const { Attachment, EncryptedAttachment } = require("@matrix-org/matrix-sdk-crypto-nodejs");
@@ -8,5 +8,4 @@ function loadMatrixCryptoNodeBindings() {
8
8
  EncryptedAttachment
9
9
  };
10
10
  }
11
- //#endregion
12
11
  export { loadMatrixCryptoNodeBindings };
@@ -1,7 +1,7 @@
1
- import { t as ensureMatrixCryptoRuntime } from "./deps-D-W_QQjz.mjs";
2
- import { r as noop, t as LogService } from "./logger-CuAzdD8Q.mjs";
3
- import { a as isRepairableSecretStorageAccessError, i as trustMatrixOwnIdentity, n as isMatrixDeviceOwnerVerified, r as isMatrixDeviceVerifiedInCurrentClient } from "./sdk-DPXiQ3jr.mjs";
4
- import { persistIdbToDisk, resolveDefaultIdbSnapshotPath, restoreIdbFromDisk } from "./idb-persistence-BTOsltD9.mjs";
1
+ import { t as ensureMatrixCryptoRuntime } from "./deps-CVPT2Ros.mjs";
2
+ import { r as noop, t as LogService } from "./logger-B9TwnY6C.mjs";
3
+ import { a as isRepairableSecretStorageAccessError, i as trustMatrixOwnIdentity, n as isMatrixDeviceOwnerVerified, r as isMatrixDeviceVerifiedInCurrentClient } from "./sdk-CRJQM2N0.mjs";
4
+ import { persistIdbToDisk, resolveDefaultIdbSnapshotPath, restoreIdbFromDisk } from "./idb-persistence-DeGUs--C.mjs";
5
5
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
6
6
  import { formatErrorMessage, materializeErrorStack, toStringifiedError } from "openclaw/plugin-sdk/error-runtime";
7
7
  import { raceWithTimeout } from "openclaw/plugin-sdk/time-runtime";
@@ -16,7 +16,7 @@ import { CryptoEvent } from "matrix-js-sdk/lib/crypto-api/CryptoEvent.js";
16
16
  import { DecryptionFailureCode } from "matrix-js-sdk/lib/crypto-api/index.js";
17
17
  import { VerificationPhase, VerificationRequestEvent, VerifierEvent } from "matrix-js-sdk/lib/crypto-api/verification.js";
18
18
  import { expectDefined } from "openclaw/plugin-sdk/expect-runtime";
19
- //#region extensions/matrix/src/matrix/sdk/crypto-bootstrap.ts
19
+ // extensions/matrix/src/matrix/sdk/crypto-bootstrap.ts
20
20
  const CROSS_SIGNING_PUBLICATION_WAIT_MS = 5e3;
21
21
  var MatrixCryptoBootstrapper = class {
22
22
  constructor(deps) {
@@ -224,9 +224,8 @@ var MatrixCryptoBootstrapper = class {
224
224
  return verified;
225
225
  }
226
226
  };
227
- //#endregion
228
- //#region extensions/matrix/src/matrix/sdk/crypto-facade.ts
229
- const loadMatrixCryptoNodeRuntime = createLazyRuntimeModule(() => import("./crypto-node.runtime-6Aj_ltHQ.mjs"));
227
+ // extensions/matrix/src/matrix/sdk/crypto-facade.ts
228
+ const loadMatrixCryptoNodeRuntime = createLazyRuntimeModule(() => import("./crypto-node.runtime-E_hqXGxm.mjs"));
230
229
  async function loadMatrixCryptoNodeBindings() {
231
230
  await ensureMatrixCryptoRuntime();
232
231
  return (await loadMatrixCryptoNodeRuntime()).loadMatrixCryptoNodeBindings();
@@ -295,8 +294,7 @@ function createMatrixCryptoFacade(deps) {
295
294
  getVerificationSas: withTrackedVerifications(manager.getVerificationSas.bind(manager))
296
295
  };
297
296
  }
298
- //#endregion
299
- //#region extensions/matrix/src/matrix/sdk/decrypt-bridge.ts
297
+ // extensions/matrix/src/matrix/sdk/decrypt-bridge.ts
300
298
  const MATRIX_DECRYPT_RETRY_BASE_DELAY_MS = 1500;
301
299
  const MATRIX_DECRYPT_RETRY_MAX_DELAY_MS = 3e4;
302
300
  const MATRIX_DECRYPT_RETRY_MAX_ATTEMPTS = 8;
@@ -534,8 +532,7 @@ var MatrixDecryptBridge = class {
534
532
  this.decryptedMessageDedupe.set(`${roomId}|${eventId}`, now);
535
533
  }
536
534
  };
537
- //#endregion
538
- //#region extensions/matrix/src/matrix/sdk/verification-manager.ts
535
+ // extensions/matrix/src/matrix/sdk/verification-manager.ts
539
536
  const MAX_TRACKED_VERIFICATION_SESSIONS = 256;
540
537
  const TERMINAL_SESSION_RETENTION_MS = 864e5;
541
538
  const SAS_AUTO_CONFIRM_DELAY_MS = 3e4;
@@ -860,8 +857,7 @@ var MatrixVerificationManager = class {
860
857
  return callbacks;
861
858
  }
862
859
  };
863
- //#endregion
864
- //#region extensions/matrix/src/matrix/sdk/indexeddb-session.ts
860
+ // extensions/matrix/src/matrix/sdk/indexeddb-session.ts
865
861
  const registry = resolveGlobalSingleton(Symbol.for("openclaw.matrix.sdkIndexedDbSessions"), () => ({ sessions: /* @__PURE__ */ new Map() }));
866
862
  const sessions = registry.sessions;
867
863
  function retiredError() {
@@ -966,5 +962,4 @@ function beginMatrixSdkIndexedDbSession(databasePrefix = "matrix-js-sdk") {
966
962
  return retirement;
967
963
  } };
968
964
  }
969
- //#endregion
970
965
  export { MatrixCryptoBootstrapper, MatrixDecryptBridge, MatrixVerificationManager, beginMatrixSdkIndexedDbSession, createMatrixCryptoFacade, isMatrixDeviceOwnerVerified, isMatrixDeviceVerifiedInCurrentClient, persistIdbToDisk, resolveDefaultIdbSnapshotPath, restoreIdbFromDisk };
@@ -1,12 +1,13 @@
1
- import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
2
- import { c as updateMatrixKeyedState, d as readMatrixStateChunks, f as writeMatrixStateChunks, l as chunkMatrixStateJson, o as resolveMatrixSqliteStateEnv, u as pruneMatrixStateChunks } from "./retired-state-JGUEBE72.mjs";
1
+ import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
2
+ import { c as readMatrixStateChunks, l as writeMatrixStateChunks, o as chunkMatrixStateJson, s as pruneMatrixStateChunks } from "./retired-state-BsxdpJNk.mjs";
3
+ import { r as updateMatrixKeyedState, t as resolveMatrixSqliteStateEnv } from "./sqlite-state-D6Zpz1q1.mjs";
3
4
  import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
4
5
  import { randomUUID } from "node:crypto";
5
6
  import path from "node:path";
6
7
  import { asSafeIntegerInRange } from "openclaw/plugin-sdk/number-runtime";
7
8
  import fs from "node:fs";
8
9
  import { sha256Hex } from "openclaw/plugin-sdk/node-crypto-runtime";
9
- //#region extensions/matrix/src/matrix/crypto-state-store.ts
10
+ // extensions/matrix/src/matrix/crypto-state-store.ts
10
11
  const STATE_KEY = "current";
11
12
  const RECOVERY_KEY_NAMESPACE = "recovery-key";
12
13
  const LEGACY_CRYPTO_MIGRATION_NAMESPACE = "legacy-crypto-migration";
@@ -186,5 +187,4 @@ function isIdbSnapshotMeta(value) {
186
187
  max: IDB_SNAPSHOT_MAX_CHUNKS
187
188
  }) !== void 0 && typeof value.digest === "string" && asSafeIntegerInRange(value.databaseCount, { min: 0 }) !== void 0 && typeof value.persistedAt === "string" && (value.cleanOwnerGeneration === void 0 || typeof value.cleanOwnerGeneration === "string" && /^[a-f0-9]{32}$/.test(value.cleanOwnerGeneration));
188
189
  }
189
- //#endregion
190
190
  export { readMatrixIdbSnapshotOwnerGeneration as a, sealMatrixIdbSnapshotOwnerGeneration as c, readMatrixIdbSnapshotJson as i, writeMatrixIdbSnapshotJson as l, MATRIX_RECOVERY_KEY_FILENAME as n, readMatrixRecoveryKeyStateForPathAsync as o, pruneMatrixIdbSnapshotChunks as r, scoreMatrixCryptoStateInStore as s, MATRIX_IDB_SNAPSHOT_FILENAME as t, writeMatrixRecoveryKeyStateForPathAsync as u };
@@ -1,12 +1,12 @@
1
- import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
2
- import { a as readMatrixIdbSnapshotOwnerGeneration, c as sealMatrixIdbSnapshotOwnerGeneration } from "./crypto-state-store-BZLlwkv_.mjs";
1
+ import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
2
+ import { a as readMatrixIdbSnapshotOwnerGeneration, c as sealMatrixIdbSnapshotOwnerGeneration } from "./crypto-state-store-CzAmeC_Z.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import path from "node:path";
5
5
  import { constants } from "node:fs";
6
6
  import fs$1 from "node:fs/promises";
7
7
  import { FILE_LOCK_STALE_ERROR_CODE, FILE_LOCK_TIMEOUT_ERROR_CODE, acquireFileLock } from "openclaw/plugin-sdk/file-lock";
8
8
  import { syncDirectory } from "@openclaw/fs-safe/durability";
9
- //#region extensions/matrix/src/matrix/sdk/crypto-store-ownership.ts
9
+ // extensions/matrix/src/matrix/sdk/crypto-store-ownership.ts
10
10
  const MATRIX_CRYPTO_STORE_OWNER_ACTIVE_ERROR_CODE = "matrix_crypto_store_owner_active";
11
11
  const GUARD_BYTES = 33;
12
12
  var MatrixCryptoStoreOwnerActiveError = class extends Error {
@@ -170,5 +170,4 @@ async function acquireMatrixCryptoStoreOwnership(snapshotPath, options = {}) {
170
170
  release: () => lock.release()
171
171
  };
172
172
  }
173
- //#endregion
174
173
  export { withMatrixCryptoStoreRecoveryLock as i, isMatrixCryptoStoreUnsafe as n, sealMatrixCryptoStoreRecovery as r, acquireMatrixCryptoStoreOwnership as t };
@@ -1,13 +1,13 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
3
- import { i as readMatrixIdbSnapshotJson, t as MATRIX_IDB_SNAPSHOT_FILENAME } from "./crypto-state-store-BZLlwkv_.mjs";
4
- import { t as walkMatrixStateFiles } from "./state-layout-walk-BQMgMykU.mjs";
5
- import { i as withMatrixCryptoStoreRecoveryLock, n as isMatrixCryptoStoreUnsafe, r as sealMatrixCryptoStoreRecovery } from "./crypto-store-ownership-CiQ1l_O7.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
3
+ import { i as readMatrixIdbSnapshotJson, t as MATRIX_IDB_SNAPSHOT_FILENAME } from "./crypto-state-store-CzAmeC_Z.mjs";
4
+ import { t as walkMatrixStateFiles } from "./state-layout-walk-BqCZTHpp.mjs";
5
+ import { i as withMatrixCryptoStoreRecoveryLock, n as isMatrixCryptoStoreUnsafe, r as sealMatrixCryptoStoreRecovery } from "./crypto-store-ownership-DPO9WcVz.mjs";
6
6
  import { extractErrorCode } from "openclaw/plugin-sdk/error-runtime";
7
7
  import path from "node:path";
8
8
  import fs from "node:fs/promises";
9
9
  import { FILE_LOCK_TIMEOUT_ERROR_CODE } from "openclaw/plugin-sdk/file-lock";
10
- //#region extensions/matrix/src/matrix/crypto-unsafe-state-doctor.ts
10
+ // extensions/matrix/src/matrix/crypto-unsafe-state-doctor.ts
11
11
  var crypto_unsafe_state_doctor_exports = /* @__PURE__ */ __exportAll({
12
12
  listMatrixCryptoUnsafeState: () => listMatrixCryptoUnsafeState,
13
13
  recoverMatrixCryptoUnsafeState: () => recoverMatrixCryptoUnsafeState
@@ -42,7 +42,7 @@ async function recoverMatrixCryptoUnsafeState(params) {
42
42
  }
43
43
  const snapshot = await readMatrixIdbSnapshotJson(params.storageRootDir, getMatrixRuntime().state);
44
44
  if (!snapshot) throw new Error("Matrix crypto SQLite snapshot is absent or invalid; refusal remains in place.");
45
- const { validateMatrixIdbSnapshotJson } = await import("./idb-persistence-BTOsltD9.mjs");
45
+ const { validateMatrixIdbSnapshotJson } = await import("./idb-persistence-DeGUs--C.mjs");
46
46
  try {
47
47
  await validateMatrixIdbSnapshotJson(snapshot);
48
48
  } catch (error) {
@@ -51,5 +51,4 @@ async function recoverMatrixCryptoUnsafeState(params) {
51
51
  await sealMatrixCryptoStoreRecovery(snapshotPath, getMatrixRuntime().state);
52
52
  });
53
53
  }
54
- //#endregion
55
54
  export { listMatrixCryptoUnsafeState as n, recoverMatrixCryptoUnsafeState as r, crypto_unsafe_state_doctor_exports as t };
@@ -4,7 +4,7 @@ import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
4
4
  import path from "node:path";
5
5
  import fs from "node:fs";
6
6
  import { resolveRuntimeDependencyEntrypointUrl, runCommandWithTimeout } from "openclaw/plugin-sdk/process-runtime";
7
- //#region extensions/matrix/src/matrix/deps.ts
7
+ // extensions/matrix/src/matrix/deps.ts
8
8
  const REQUIRED_MATRIX_PACKAGES = [
9
9
  "matrix-js-sdk",
10
10
  "@matrix-org/matrix-sdk-crypto-nodejs",
@@ -117,5 +117,4 @@ async function ensureMatrixSdkInstalled(params) {
117
117
  if (missing.length === 0) return;
118
118
  throw new Error(`Matrix plugin dependencies are missing: ${missing.join(", ")}. Repair this plugin with \`openclaw plugins update matrix\` or run \`openclaw doctor --fix\`.`);
119
119
  }
120
- //#endregion
121
120
  export { ensureMatrixSdkInstalled as n, isMatrixSdkAvailable as r, ensureMatrixCryptoRuntime as t };
@@ -1,8 +1,7 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- //#region extensions/matrix/src/matrix/device-health.ts
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ // extensions/matrix/src/matrix/device-health.ts
3
3
  var device_health_exports = /* @__PURE__ */ __exportAll({ listStaleOpenClawMatrixDevices: () => listStaleOpenClawMatrixDevices });
4
4
  function listStaleOpenClawMatrixDevices(devices) {
5
5
  return devices.filter((device) => !device.current && device.displayName?.startsWith("OpenClaw ") === true);
6
6
  }
7
- //#endregion
8
7
  export { listStaleOpenClawMatrixDevices as n, device_health_exports as t };
@@ -1,9 +1,9 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { n as isMatrixQualifiedUserId } from "./target-ids-HhcaKX1n.mjs";
3
- import { a as MATRIX_REACTION_EVENT_TYPE, i as MATRIX_ANNOTATION_RELATION_TYPE } from "./send-currentness-DGxiiBn9.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { n as isMatrixQualifiedUserId } from "./target-ids-DltG_ZHJ.mjs";
3
+ import { a as MATRIX_REACTION_EVENT_TYPE, i as MATRIX_ANNOTATION_RELATION_TYPE } from "./send-currentness-D1x6YP9O.mjs";
4
4
  import { asOptionalRecord, normalizeNullableString, normalizeOptionalString, normalizeTrimmedStringList, normalizeUniqueTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
5
5
  import { enqueueKeyedTask } from "openclaw/plugin-sdk/keyed-async-queue";
6
- //#region extensions/matrix/src/matrix/send/types.ts
6
+ // extensions/matrix/src/matrix/send/types.ts
7
7
  const MsgType = {
8
8
  Text: "m.text",
9
9
  Image: "m.image",
@@ -32,8 +32,7 @@ const MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY = "com.openclaw.finalized_preview";
32
32
  * @see https://github.com/matrix-org/matrix-spec-proposals/pull/4357
33
33
  */
34
34
  const MSC4357_LIVE_KEY = "org.matrix.msc4357.live";
35
- //#endregion
36
- //#region extensions/matrix/src/matrix/relations.ts
35
+ // extensions/matrix/src/matrix/relations.ts
37
36
  function relatedReplyEventId(relation) {
38
37
  const reply = asOptionalRecord(relation?.["m.in_reply_to"]);
39
38
  return typeof reply?.event_id === "string" ? reply.event_id : void 0;
@@ -60,8 +59,7 @@ function resolveMatrixThreadRootId(content) {
60
59
  if (relation?.rel_type !== RelationType.Thread) return;
61
60
  return typeof relation.event_id === "string" ? relation.event_id : relatedReplyEventId(relation);
62
61
  }
63
- //#endregion
64
- //#region extensions/matrix/src/matrix/direct-room.ts
62
+ // extensions/matrix/src/matrix/direct-room.ts
65
63
  var direct_room_exports = /* @__PURE__ */ __exportAll({
66
64
  hasDirectMatrixMemberFlag: () => hasDirectMatrixMemberFlag,
67
65
  inspectMatrixDirectRoomEvidence: () => inspectMatrixDirectRoomEvidence,
@@ -117,8 +115,7 @@ async function inspectMatrixDirectRoomEvidence(params) {
117
115
  async function isStrictDirectRoom(params) {
118
116
  return (await inspectMatrixDirectRoomEvidence(params)).strict;
119
117
  }
120
- //#endregion
121
- //#region extensions/matrix/src/matrix/direct-management.ts
118
+ // extensions/matrix/src/matrix/direct-management.ts
122
119
  var direct_management_exports = /* @__PURE__ */ __exportAll({
123
120
  inspectMatrixDirectRooms: () => inspectMatrixDirectRooms,
124
121
  persistMatrixDirectRoomMapping: () => persistMatrixDirectRoomMapping,
@@ -260,5 +257,4 @@ async function repairMatrixDirectRooms(params) {
260
257
  directContentAfter: mappingWrite.directContentAfter
261
258
  };
262
259
  }
263
- //#endregion
264
260
  export { MsgType as _, repairMatrixDirectRooms as a, isStrictDirectMembership as c, buildMatrixMessageRelation as d, resolveMatrixReplyToEventId as f, MSC4357_LIVE_KEY as g, MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY as h, promoteMatrixDirectRoomCandidate as i, isStrictDirectRoom as l, EventType as m, inspectMatrixDirectRooms as n, direct_room_exports as o, resolveMatrixThreadRootId as p, persistMatrixDirectRoomMapping as r, hasDirectMatrixMemberFlag as s, direct_management_exports as t, readJoinedMatrixMembers as u, RelationType as v };
@@ -1,9 +1,9 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { i as normalizeMatrixMessagingTarget, n as isMatrixQualifiedUserId } from "./target-ids-HhcaKX1n.mjs";
3
- import { c as resolveMatrixAuth } from "./client-D1bsidwU.mjs";
4
- import { t as MatrixAuthedHttpClient } from "./http-client-B_ohXrBm.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { i as normalizeMatrixMessagingTarget, n as isMatrixQualifiedUserId } from "./target-ids-DltG_ZHJ.mjs";
3
+ import { c as resolveMatrixAuth } from "./client-DIeTvz6C.mjs";
4
+ import { t as MatrixAuthedHttpClient } from "./http-client-CqnKFKUH.mjs";
5
5
  import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
6
- //#region extensions/matrix/src/directory-live.ts
6
+ // extensions/matrix/src/directory-live.ts
7
7
  var directory_live_exports = /* @__PURE__ */ __exportAll({
8
8
  listMatrixDirectoryGroupsLive: () => listMatrixDirectoryGroupsLive,
9
9
  listMatrixDirectoryPeersLive: () => listMatrixDirectoryPeersLive
@@ -114,5 +114,4 @@ async function listMatrixDirectoryGroupsLive(params) {
114
114
  }
115
115
  return results;
116
116
  }
117
- //#endregion
118
117
  export { listMatrixDirectoryGroupsLive as n, listMatrixDirectoryPeersLive as r, directory_live_exports as t };
@@ -1,6 +1,6 @@
1
- import { t as runtime_doctor_migrations_exports } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
1
+ import { t as runtime_doctor_migrations_exports } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
2
  import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
3
- //#region extensions/matrix/src/doctor-contract.ts
3
+ // extensions/matrix/src/doctor-contract.ts
4
4
  function parseMatrixStreamingMode(value) {
5
5
  if (typeof value !== "string") return null;
6
6
  const normalized = value.trim().toLowerCase();
@@ -34,5 +34,4 @@ function normalizeCompatibilityConfig({ cfg }) {
34
34
  changes
35
35
  });
36
36
  }
37
- //#endregion
38
37
  export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
@@ -1,7 +1,7 @@
1
- import { _ as MsgType } from "./direct-management-Dp1giZ34.mjs";
2
- import { a as sendSingleTextMessageMatrix, f as prepareMatrixSingleText, t as editMessageMatrix } from "./send-HHAbKARg.mjs";
1
+ import { _ as MsgType } from "./direct-management-D59C1WO-.mjs";
2
+ import { a as sendSingleTextMessageMatrix, f as prepareMatrixSingleText, t as editMessageMatrix } from "./send-QWCT3NT9.mjs";
3
3
  import { createFinalizableDraftLifecycle } from "openclaw/plugin-sdk/channel-outbound";
4
- //#region extensions/matrix/src/matrix/draft-stream.ts
4
+ // extensions/matrix/src/matrix/draft-stream.ts
5
5
  const DEFAULT_THROTTLE_MS = 1e3;
6
6
  function createMatrixDraftStream(params) {
7
7
  const { roomId, client, cfg, threadId, accountId, log } = params;
@@ -143,5 +143,4 @@ function createMatrixDraftStream(params) {
143
143
  mustDeliverFinalNormally: () => sendFailed || finalizeInPlaceBlocked
144
144
  };
145
145
  }
146
- //#endregion
147
146
  export { createMatrixDraftStream };
@@ -1,7 +1,7 @@
1
- import { s as resolveMatrixDefaultOrOnlyAccountId } from "./account-selection-UUPhMBmu.mjs";
2
- import { t as resolveMatrixConfigFieldPath } from "./config-paths-CnREYb1Y.mjs";
1
+ import { s as resolveMatrixDefaultOrOnlyAccountId } from "./account-selection-Cow3TMFO.mjs";
2
+ import { t as resolveMatrixConfigFieldPath } from "./config-paths-DBpHxDyc.mjs";
3
3
  import { normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
4
- //#region extensions/matrix/src/matrix/encryption-guidance.ts
4
+ // extensions/matrix/src/matrix/encryption-guidance.ts
5
5
  function resolveMatrixEncryptionConfigPath(cfg, accountId) {
6
6
  const effectiveAccountId = normalizeOptionalAccountId(accountId) ?? resolveMatrixDefaultOrOnlyAccountId(cfg);
7
7
  return resolveMatrixConfigFieldPath(cfg, effectiveAccountId, "encryption");
@@ -12,5 +12,4 @@ function formatMatrixEncryptionUnavailableError(cfg, accountId) {
12
12
  function formatMatrixEncryptedEventDisabledWarning(cfg, accountId) {
13
13
  return `matrix: encrypted event received without encryption enabled; set ${resolveMatrixEncryptionConfigPath(cfg, accountId)}=true and verify the device to decrypt`;
14
14
  }
15
- //#endregion
16
15
  export { formatMatrixEncryptionUnavailableError as n, formatMatrixEncryptedEventDisabledWarning as t };
@@ -1,5 +1,5 @@
1
1
  import { normalizeAccountId, normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
2
- //#region extensions/matrix/src/env-vars.ts
2
+ // extensions/matrix/src/env-vars.ts
3
3
  const MATRIX_SCOPED_ENV_SUFFIXES = [
4
4
  "HOMESERVER",
5
5
  "USER_ID",
@@ -46,5 +46,4 @@ function listMatrixEnvAccountIds(env = process.env) {
46
46
  }
47
47
  return Array.from(ids).toSorted((a, b) => a.localeCompare(b));
48
48
  }
49
- //#endregion
50
49
  export { listMatrixEnvAccountIds as n, resolveMatrixEnvAccountToken as r, getMatrixScopedEnvVarNames as t };
@@ -1,6 +1,6 @@
1
1
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
2
2
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
3
- //#region extensions/matrix/src/matrix/errors.ts
3
+ // extensions/matrix/src/matrix/errors.ts
4
4
  function formatMatrixErrorReason(err) {
5
5
  return normalizeLowercaseStringOrEmpty(formatErrorMessage(err));
6
6
  }
@@ -10,5 +10,4 @@ function isMatrixNotFoundError(err) {
10
10
  const message = formatMatrixErrorReason(err);
11
11
  return message.includes("m_not_found") || message.includes("[404]") || message.includes("not found");
12
12
  }
13
- //#endregion
14
13
  export { isMatrixNotFoundError as n, formatMatrixErrorReason as t };