@openclaw/matrix 2026.11.5-beta.4 → 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,38 +1,37 @@
1
- import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
2
- import { a as resolveMatrixAccountConfig, i as resolveMatrixAccountAllowlistConfig } from "./account-config-CRsKoMqJ.mjs";
3
- import { h as resolveConfiguredMatrixBotUserIds } from "./setup-core-DcqQbLZv.mjs";
4
- import { a as resolveMatrixInboundRouteAsync, i as resolveMatrixRoomConfig, n as resolveMatrixStoredSessionMeta, o as resolveMatrixThreadRouting } from "./channel-FfaEmyIU.mjs";
5
- import { a as resolveMatrixAllowListMatch, i as normalizeMatrixUserId, r as normalizeMatrixAllowList } from "./channel.setup-B00zzOOL.mjs";
6
- import { n as isMatrixQualifiedUserId, r as isMatrixRoomId, t as isMatrixInviteAutoJoinTarget } from "./target-ids-HhcaKX1n.mjs";
7
- import { a as MATRIX_REACTION_EVENT_TYPE, n as withMatrixSendCurrentness } from "./send-currentness-DGxiiBn9.mjs";
8
- import { c as isStrictDirectMembership, f as resolveMatrixReplyToEventId, h as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY, i as promoteMatrixDirectRoomCandidate, p as resolveMatrixThreadRootId, s as hasDirectMatrixMemberFlag, u as readJoinedMatrixMembers, v as RelationType } from "./direct-management-Dp1giZ34.mjs";
9
- import { n as getMatrixMonitorTaskSignal, t as createMatrixMonitorTaskRunner } from "./task-runner-DY3aKiQa.mjs";
10
- import { _ as isPollEventType, c as formatMatrixMessageText, d as resolveMatrixReplacementContent, h as formatPollAsText, l as isLikelyBareFilename, r as sendMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollStartType, w as setBoundedMap, y as parsePollStart } from "./send-HHAbKARg.mjs";
11
- import { n as getMatrixEventProjection } from "./event-helpers-CxNgMQqH.mjs";
12
- import { t as createMatrixThreadBindingManager } from "./thread-bindings-891JsKXF.mjs";
13
- import { a as isMatrixAccessTokenInvalidatedError } from "./client-support-B_Mp4Qk9.mjs";
14
- import { a as isMatrixStartupAbortError, c as resolveMatrixAuth, l as resolveMatrixAuthContext, n as acquireSharedMatrixClient, o as throwIfMatrixStartupAborted, s as backfillMatrixAuthDeviceIdAfterStartup } from "./client-D1bsidwU.mjs";
15
- import { i as readMatrixMessages, l as fetchMatrixPollSnapshot } from "./messages-DpJ9naJa.mjs";
16
- import { a as isMatrixMediaSizeLimitError, i as MatrixMediaSizeLimitError } from "./http-client-B_ohXrBm.mjs";
17
- import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-DydCDuvM.mjs";
18
- import { t as resolveMatrixTargets } from "./resolve-targets-DYW8ULZS.mjs";
19
- import { n as emitMatrixLog } from "./logger-CuAzdD8Q.mjs";
20
- import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-Br3Lv9Hm.mjs";
21
- import { n as isMatrixReadySyncState, r as isMatrixTerminalSyncState, t as isMatrixDisconnectedSyncState } from "./sync-state-CWbp0QSY.mjs";
22
- import { r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-Dhc4efkA.mjs";
1
+ import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
2
+ import { a as resolveMatrixAccountConfig, i as resolveMatrixAccountAllowlistConfig } from "./account-config-CVM2a28p.mjs";
3
+ import { h as resolveConfiguredMatrixBotUserIds } from "./setup-core-B4sVj_9e.mjs";
4
+ import { a as resolveMatrixInboundRouteAsync, i as resolveMatrixRoomConfig, n as resolveMatrixStoredSessionMeta, o as resolveMatrixThreadRouting } from "./channel-BJGiol_v.mjs";
5
+ import { a as resolveMatrixAllowListMatch, i as normalizeMatrixUserId, r as normalizeMatrixAllowList } from "./channel.setup-DJdvsvAL.mjs";
6
+ import { n as isMatrixQualifiedUserId, r as isMatrixRoomId, t as isMatrixInviteAutoJoinTarget } from "./target-ids-DltG_ZHJ.mjs";
7
+ import { a as MATRIX_REACTION_EVENT_TYPE, n as withMatrixSendCurrentness } from "./send-currentness-D1x6YP9O.mjs";
8
+ import { c as isStrictDirectMembership, f as resolveMatrixReplyToEventId, h as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY, i as promoteMatrixDirectRoomCandidate, p as resolveMatrixThreadRootId, s as hasDirectMatrixMemberFlag, u as readJoinedMatrixMembers, v as RelationType } from "./direct-management-D59C1WO-.mjs";
9
+ import { n as getMatrixMonitorTaskSignal, t as createMatrixMonitorTaskRunner } from "./task-runner-CYyGHdNW.mjs";
10
+ import { _ as isPollEventType, c as formatMatrixMessageText, d as resolveMatrixReplacementContent, h as formatPollAsText, l as isLikelyBareFilename, r as sendMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollStartType, w as setBoundedMap, y as parsePollStart } from "./send-QWCT3NT9.mjs";
11
+ import { n as getMatrixEventProjection } from "./event-helpers-DDUjVVf7.mjs";
12
+ import { t as createMatrixThreadBindingManager } from "./thread-bindings-jNXWItIL.mjs";
13
+ import { a as isMatrixAccessTokenInvalidatedError } from "./client-support-CqXAOZp3.mjs";
14
+ import { a as isMatrixStartupAbortError, c as resolveMatrixAuth, l as resolveMatrixAuthContext, n as acquireSharedMatrixClient, o as throwIfMatrixStartupAborted, s as backfillMatrixAuthDeviceIdAfterStartup } from "./client-DIeTvz6C.mjs";
15
+ import { i as readMatrixMessages, l as fetchMatrixPollSnapshot } from "./messages-CmlRhlPp.mjs";
16
+ import { a as isMatrixMediaSizeLimitError, i as MatrixMediaSizeLimitError } from "./http-client-CqnKFKUH.mjs";
17
+ import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-BY9kS8Kt.mjs";
18
+ import { t as resolveMatrixTargets } from "./resolve-targets-CUBvJ37V.mjs";
19
+ import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-DfbEaKct.mjs";
20
+ import { n as isMatrixReadySyncState, r as isMatrixTerminalSyncState, t as isMatrixDisconnectedSyncState } from "./sync-state-Cu1nagBV.mjs";
21
+ import { r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-CJVhaCvB.mjs";
23
22
  import { channelBlockedPatch, channelReadyPatch, channelStoppedPatch, createTransportActivityStatusPatch } from "openclaw/plugin-sdk/gateway-runtime";
24
23
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
25
24
  import { createChannelDeliveryAccumulator, createChannelIngressError, createChannelIngressMonitor, createChannelProgressDraftCompositor, createLivePreviewLifecycle, createPreviewMessageReceipt, createReplyPrefixOptions, createTypingCallbacks, logTypingFailure, resolveChannelStreamingBlockEnabled, waitUntilAbort } from "openclaw/plugin-sdk/channel-outbound";
26
25
  import { extractErrorCode, formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
27
26
  import { normalizeLowercaseStringOrEmpty, normalizeNullableString, normalizeOptionalString, normalizeStringifiedEntries, normalizeUniqueTrimmedStringList, readStringValue, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
28
27
  import { stripReasoningTagsFromText } from "openclaw/plugin-sdk/text-chunking";
29
- import { randomUUID } from "node:crypto";
30
28
  import { CHANNEL_APPROVAL_NATIVE_RUNTIME_CONTEXT_CAPABILITY } from "openclaw/plugin-sdk/approval-handler-adapter-runtime";
31
29
  import { addAllowlistUserEntriesFromConfigEntry, buildAllowlistResolutionSummary, canonicalizeAllowlistWithResolvedIds, patchAllowlistUsersInConfigEntries, summarizeMapping } from "openclaw/plugin-sdk/allow-from";
32
30
  import { normalizeStringEntries as normalizeStringEntries$1, truncateWithMarker } from "openclaw/plugin-sdk/string-normalization-runtime";
33
31
  import { parseStrictFiniteNumber, resolveOptionalIntegerOption, resolvePromptHistoryLimit } from "openclaw/plugin-sdk/number-runtime";
34
32
  import { resolveAgentRoute, resolveInboundLastRouteSessionKey } from "openclaw/plugin-sdk/routing";
35
33
  import { getSessionEntryAsync, resolveStorePath } from "openclaw/plugin-sdk/session-store-runtime";
34
+ import { resolveOutboundMediaAccessForConfig } from "openclaw/plugin-sdk/outbound-media";
36
35
  import { KeyedAsyncQueue } from "openclaw/plugin-sdk/keyed-async-queue";
37
36
  import { escapeRegExp, truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
38
37
  import { buildTtsSupplementMediaPayload, getReplyPayloadTtsSupplement, resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
@@ -54,7 +53,7 @@ import { createChannelPreflightAudio, formatAudioTranscriptForAgent } from "open
54
53
  import { mergePairLoopGuardConfig } from "openclaw/plugin-sdk/pair-loop-guard-runtime";
55
54
  import { buildInboundHistoryFromEntries } from "openclaw/plugin-sdk/reply-history";
56
55
  import { decodeHtmlEntities } from "openclaw/plugin-sdk/html-entity-runtime";
57
- //#region extensions/matrix/src/matrix/monitor/auto-join.ts
56
+ // extensions/matrix/src/matrix/monitor/auto-join.ts
58
57
  function registerMatrixAutoJoin(params) {
59
58
  const { client, accountConfig, runtime } = params;
60
59
  const core = getMatrixRuntime();
@@ -118,8 +117,7 @@ function registerMatrixAutoJoin(params) {
118
117
  client.off("room.invite", onInvite);
119
118
  };
120
119
  }
121
- //#endregion
122
- //#region extensions/matrix/src/matrix/monitor/config.ts
120
+ // extensions/matrix/src/matrix/monitor/config.ts
123
121
  function normalizeMatrixUserLookupEntry(raw) {
124
122
  return raw.replace(/^matrix:/i, "").replace(/^user:/i, "").trim();
125
123
  }
@@ -397,8 +395,7 @@ async function resolveMatrixMonitorConfig(params) {
397
395
  roomsConfig
398
396
  };
399
397
  }
400
- //#endregion
401
- //#region extensions/matrix/src/matrix/monitor/direct.ts
398
+ // extensions/matrix/src/matrix/monitor/direct.ts
402
399
  const DM_CACHE_TTL_MS = 3e4;
403
400
  const RECENT_INVITE_TTL_MS = 3e4;
404
401
  const MAX_DM_ROOMS = 1024;
@@ -583,8 +580,7 @@ function createDirectRoomTracker(client, opts = {}) {
583
580
  }
584
581
  };
585
582
  }
586
- //#endregion
587
- //#region extensions/matrix/src/matrix/monitor/types.ts
583
+ // extensions/matrix/src/matrix/monitor/types.ts
588
584
  const EventType = {
589
585
  RoomMessage: "m.room.message",
590
586
  RoomMessageEncrypted: "m.room.encrypted",
@@ -593,8 +589,7 @@ const EventType = {
593
589
  Location: "m.location",
594
590
  Reaction: MATRIX_REACTION_EVENT_TYPE
595
591
  };
596
- //#endregion
597
- //#region extensions/matrix/src/matrix/monitor/access-state.ts
592
+ // extensions/matrix/src/matrix/monitor/access-state.ts
598
593
  function normalizeMatrixEntry(raw) {
599
594
  return normalizeMatrixAllowList([raw ?? ""])[0] ?? null;
600
595
  }
@@ -700,8 +695,7 @@ async function resolveMatrixMonitorCommandAccess(state, params) {
700
695
  }
701
696
  })).commandAccess;
702
697
  }
703
- //#endregion
704
- //#region extensions/matrix/src/matrix/monitor/verification-utils.ts
698
+ // extensions/matrix/src/matrix/monitor/verification-utils.ts
705
699
  const VERIFICATION_EVENT_PREFIX = "m.key.verification.";
706
700
  const VERIFICATION_REQUEST_MSGTYPE = "m.key.verification.request";
707
701
  const VERIFICATION_NOTICE_PREFIXES = [
@@ -729,12 +723,11 @@ const matrixVerificationConstants = {
729
723
  eventPrefix: VERIFICATION_EVENT_PREFIX,
730
724
  requestMsgtype: VERIFICATION_REQUEST_MSGTYPE
731
725
  };
732
- //#endregion
733
- //#region extensions/matrix/src/matrix/monitor/verification-events.ts
726
+ // extensions/matrix/src/matrix/monitor/verification-events.ts
734
727
  const MAX_TRACKED_VERIFICATION_EVENTS = 1024;
735
728
  const SAS_NOTICE_RETRY_DELAY_MS = 750;
736
729
  const VERIFICATION_EVENT_STARTUP_GRACE_MS = 3e4;
737
- const loadMatrixDirectRoomDeps = createLazyRuntimeModule(() => Promise.all([import("./direct-management-Dp1giZ34.mjs").then((n) => n.t), import("./direct-management-Dp1giZ34.mjs").then((n) => n.o)]).then(([directManagementModule, directRoomModule]) => ({
730
+ const loadMatrixDirectRoomDeps = createLazyRuntimeModule(() => Promise.all([import("./direct-management-D59C1WO-.mjs").then((n) => n.t), import("./direct-management-D59C1WO-.mjs").then((n) => n.o)]).then(([directManagementModule, directRoomModule]) => ({
738
731
  inspectMatrixDirectRooms: directManagementModule.inspectMatrixDirectRooms,
739
732
  isStrictDirectRoom: directRoomModule.isStrictDirectRoom
740
733
  })));
@@ -1019,8 +1012,7 @@ function createMatrixVerificationEventRouter(params) {
1019
1012
  routeVerificationSummary
1020
1013
  };
1021
1014
  }
1022
- //#endregion
1023
- //#region extensions/matrix/src/matrix/monitor/events.ts
1015
+ // extensions/matrix/src/matrix/monitor/events.ts
1024
1016
  const MATRIX_POST_HEALTHY_SYNC_DECRYPT_FAILURE_WINDOW_MS = 12e4;
1025
1017
  const MATRIX_POST_HEALTHY_SYNC_DECRYPT_FAILURE_THRESHOLD = 3;
1026
1018
  const MATRIX_POST_HEALTHY_SYNC_DECRYPT_FAILURE_SAMPLE_LIMIT = 3;
@@ -1294,8 +1286,7 @@ function registerMatrixMonitorEvents(params) {
1294
1286
  client.off("room.event", onRoomEvent);
1295
1287
  };
1296
1288
  }
1297
- //#endregion
1298
- //#region extensions/matrix/src/matrix/monitor/event-context.ts
1289
+ // extensions/matrix/src/matrix/monitor/event-context.ts
1299
1290
  function summarizeMatrixMessageContextEvent(event) {
1300
1291
  if (isPollStartType(event.type)) {
1301
1292
  const pollSummary = parsePollStart(event.content);
@@ -1359,8 +1350,7 @@ function createMatrixEventContextResolver(params) {
1359
1350
  return context;
1360
1351
  };
1361
1352
  }
1362
- //#endregion
1363
- //#region extensions/matrix/src/matrix/monitor/ack-config.ts
1353
+ // extensions/matrix/src/matrix/monitor/ack-config.ts
1364
1354
  function resolveMatrixAckReactionConfig(params) {
1365
1355
  const matrixConfig = params.cfg.channels?.matrix;
1366
1356
  const accountConfig = resolveMatrixAccountConfig({
@@ -1375,8 +1365,7 @@ function resolveMatrixAckReactionConfig(params) {
1375
1365
  ackReactionScope: accountConfig.ackReactionScope ?? matrixConfig?.ackReactionScope ?? params.cfg.messages?.ackReactionScope ?? "group-mentions"
1376
1366
  };
1377
1367
  }
1378
- //#endregion
1379
- //#region extensions/matrix/src/matrix/monitor/preflight-audio.ts
1368
+ // extensions/matrix/src/matrix/monitor/preflight-audio.ts
1380
1369
  function isMatrixAudioContent(params) {
1381
1370
  if (params.msgtype === "m.audio") return true;
1382
1371
  if (params.msgtype === "m.file" && typeof params.mimetype === "string") return params.mimetype.toLowerCase().startsWith("audio/");
@@ -1386,8 +1375,7 @@ const matrixPreflightAudio = createChannelPreflightAudio({
1386
1375
  channel: "matrix",
1387
1376
  isAudio: isMatrixAudioContent
1388
1377
  });
1389
- //#endregion
1390
- //#region extensions/matrix/src/matrix/monitor/handler-helpers.ts
1378
+ // extensions/matrix/src/matrix/monitor/handler-helpers.ts
1391
1379
  const MATRIX_TOOL_PROGRESS_MAX_CHARS = 300;
1392
1380
  const MAX_TRACKED_SHARED_DM_CONTEXT_NOTICES = 512;
1393
1381
  function resolveMatrixMentionPrecheckText(params) {
@@ -1475,13 +1463,12 @@ function resolveMatrixAllowBotsMode(value) {
1475
1463
  function formatMatrixToolProgressMarkdownCode(text) {
1476
1464
  return `\`${(text.length <= MATRIX_TOOL_PROGRESS_MAX_CHARS ? text : `${truncateUtf16Safe(text, 299).trimEnd()}...`).replaceAll("`", "'")}\``;
1477
1465
  }
1478
- //#endregion
1479
- //#region extensions/matrix/src/matrix/monitor/handler-runtime.ts
1480
- const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-HHAbKARg.mjs").then((n) => n.s));
1466
+ // extensions/matrix/src/matrix/monitor/handler-runtime.ts
1467
+ const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-QWCT3NT9.mjs").then((n) => n.s));
1481
1468
  const loadAcpBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/acp-binding-runtime"));
1482
1469
  const loadSessionBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/session-binding-runtime"));
1483
- const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-lcgVF3M5.mjs"));
1484
- const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-BPjjKSoI.mjs"));
1470
+ const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-B1DQTt9d.mjs"));
1471
+ const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-CjEpElZ-.mjs"));
1485
1472
  async function matrixTextWouldActivateMentions(client, text) {
1486
1473
  const { resolveMatrixMentionsForBody } = await loadMatrixSendModule();
1487
1474
  const mentions = await resolveMatrixMentionsForBody({
@@ -1490,8 +1477,7 @@ async function matrixTextWouldActivateMentions(client, text) {
1490
1477
  });
1491
1478
  return mentions.room === true || (mentions.user_ids?.length ?? 0) > 0;
1492
1479
  }
1493
- //#endregion
1494
- //#region extensions/matrix/src/matrix/monitor/handler-context.ts
1480
+ // extensions/matrix/src/matrix/monitor/handler-context.ts
1495
1481
  async function resolveMatrixInboundContext(config) {
1496
1482
  const { handler, ingress, roomId, event, eventTs, resolveThreadContext, resolveReplyContext, senderId, sharedDmContextNoticeRooms } = config;
1497
1483
  const { client, core, accountId, runtime, logVerboseMessage, groupPolicy, getRoomInfo, historyLimit, dmSessionScope } = handler;
@@ -1691,8 +1677,7 @@ async function resolveMatrixInboundContext(config) {
1691
1677
  sharedDmContextNotice
1692
1678
  };
1693
1679
  }
1694
- //#endregion
1695
- //#region extensions/matrix/src/matrix/monitor/handler-draft-controller.ts
1680
+ // extensions/matrix/src/matrix/monitor/handler-draft-controller.ts
1696
1681
  async function createMatrixDraftController(params) {
1697
1682
  const { streaming, previewToolProgressEnabled, replyToMode, messageId, threadTarget, accountConfig, cfg, accountId, roomId, client, logVerboseMessage } = params;
1698
1683
  const draftStreamingEnabled = streaming !== "off";
@@ -1820,8 +1805,7 @@ async function createMatrixDraftController(params) {
1820
1805
  }
1821
1806
  };
1822
1807
  }
1823
- //#endregion
1824
- //#region extensions/matrix/src/matrix/monitor/room-history.ts
1808
+ // extensions/matrix/src/matrix/monitor/room-history.ts
1825
1809
  /** Maximum entries retained per room (hard cap to bound memory). */
1826
1810
  const DEFAULT_MAX_QUEUE_SIZE = 200;
1827
1811
  /** Maximum number of rooms to retain queues for (FIFO eviction beyond this). */
@@ -2013,8 +1997,7 @@ function createRoomHistoryTracker(maxQueueSize = DEFAULT_MAX_QUEUE_SIZE, maxRoom
2013
1997
  }
2014
1998
  };
2015
1999
  }
2016
- //#endregion
2017
- //#region extensions/matrix/src/matrix/monitor/handler-ingress-access.ts
2000
+ // extensions/matrix/src/matrix/monitor/handler-ingress-access.ts
2018
2001
  async function resolveMatrixIngressAccess(config) {
2019
2002
  const { handler, params: paramsLocal, roomId, event, eventTs, senderId, isReactionEvent, readStoreAllowFrom, shouldSendPairingReply, resolveLiveAccountAllowlists, roomHistoryTracker } = config;
2020
2003
  const { core, cfg, accountId, accountConfig, client, logVerboseMessage, groupPolicy, dmEnabled, dmPolicy, dmThreadReplies, threadReplies, roomsConfig, accountAllowBots, configuredBotUserIds, needsRoomAliasesForConfig, getRoomInfo, getMemberDisplayName } = handler;
@@ -2215,8 +2198,7 @@ async function resolveMatrixIngressAccess(config) {
2215
2198
  effectiveRoomUsers
2216
2199
  };
2217
2200
  }
2218
- //#endregion
2219
- //#region src/channels/mention-gating.ts
2201
+ // src/channels/mention-gating.ts
2220
2202
  function resolveBotThreadMentionPolicy(params) {
2221
2203
  if (!params.isBotOwnedThread || params.requireMentionInBotThreads === void 0) return {
2222
2204
  requireMention: params.requireMention,
@@ -2227,8 +2209,7 @@ function resolveBotThreadMentionPolicy(params) {
2227
2209
  implicitMentionKinds: params.requireMentionInBotThreads ? params.implicitMentionKinds?.filter((kind) => kind === "native") : params.implicitMentionKinds
2228
2210
  };
2229
2211
  }
2230
- //#endregion
2231
- //#region extensions/matrix/src/matrix/monitor/media.ts
2212
+ // extensions/matrix/src/matrix/monitor/media.ts
2232
2213
  const MATRIX_MEDIA_DOWNLOAD_IDLE_TIMEOUT_MS = 3e4;
2233
2214
  async function downloadMatrixMedia(params) {
2234
2215
  if (typeof params.sizeBytes === "number" && params.sizeBytes > params.maxBytes) throw new MatrixMediaSizeLimitError();
@@ -2254,8 +2235,7 @@ async function downloadMatrixMedia(params) {
2254
2235
  placeholder: "[matrix media]"
2255
2236
  };
2256
2237
  }
2257
- //#endregion
2258
- //#region extensions/matrix/src/matrix/monitor/mentions.ts
2238
+ // extensions/matrix/src/matrix/monitor/mentions.ts
2259
2239
  const MATRIX_HTML_ENTITY_RE = /&(?:#x?[0-9a-f]+|amp|apos|gt|lt|nbsp|quot);/gi;
2260
2240
  function decodeVisibleHtmlEntities(value) {
2261
2241
  return value.replace(MATRIX_HTML_ENTITY_RE, (entity) => {
@@ -2422,8 +2402,7 @@ function resolveMentions(params) {
2422
2402
  hasExplicitMention: explicitMention
2423
2403
  };
2424
2404
  }
2425
- //#endregion
2426
- //#region extensions/matrix/src/matrix/monitor/handler-ingress-content.ts
2405
+ // extensions/matrix/src/matrix/monitor/handler-ingress-content.ts
2427
2406
  async function resolveMatrixIngressContent(config) {
2428
2407
  const { handler, params: paramsLocal, access, roomId, event, eventType, isPollEvent, eventTs, senderId, roomHistoryTracker, resolveThreadContext } = config;
2429
2408
  const { client, core, accountId, accountConfig, logger, logVerboseMessage, historyLimit, mediaMaxBytes, dmSessionScope, getMemberDisplayName } = handler;
@@ -2732,8 +2711,7 @@ async function resolveMatrixIngressContent(config) {
2732
2711
  threadContext
2733
2712
  };
2734
2713
  }
2735
- //#endregion
2736
- //#region extensions/matrix/src/matrix/monitor/handler-reply-dispatcher.ts
2714
+ // extensions/matrix/src/matrix/monitor/handler-reply-dispatcher.ts
2737
2715
  function mergeMatrixReplyDeliveryResults(results) {
2738
2716
  const single = results.length === 1 ? results[0] : void 0;
2739
2717
  if (single?.visibleReplySent) return single;
@@ -2774,7 +2752,37 @@ function resolveVisibleMatrixReplyText(text) {
2774
2752
  function createMatrixReplyDispatcher(config) {
2775
2753
  const { cfg, prefixOptions, humanDelay, typingCallbacks, streaming, draftStream, draftController, client, roomId, runtime, replyToMode, threadTarget, replyToEventId, accountId, mediaLocalRoots, logVerboseMessage } = config;
2776
2754
  const quietDraftStreaming = streaming === "quiet" || streaming === "progress";
2755
+ const progressDraftStreaming = streaming === "progress";
2777
2756
  let hasReplied = false;
2757
+ const resolveReplyTargets = (reply) => {
2758
+ const explicitReplyToId = reply.replyToTag || reply.replyToCurrent ? reply.replyToId?.trim() : void 0;
2759
+ const ambientReplyToId = threadTarget ?? replyToEventId;
2760
+ return {
2761
+ replyToId: explicitReplyToId || (!threadTarget && replyToMode !== "off" && (replyToMode === "all" || !hasReplied) ? (reply.replyToId ?? ambientReplyToId)?.trim() : void 0),
2762
+ fallbackReplyToId: threadTarget ? (reply.replyToId ?? ambientReplyToId)?.trim() : void 0
2763
+ };
2764
+ };
2765
+ const durable = (payload, info) => {
2766
+ if (info.kind !== "final" || draftStream || payload.isReasoning || payload.text && resolveVisibleMatrixReplyText(payload.text) === void 0) return false;
2767
+ const { replyToId, fallbackReplyToId } = resolveReplyTargets(payload);
2768
+ const send = async (to, text, options) => await sendMessageMatrix(to, text, {
2769
+ ...options,
2770
+ client,
2771
+ mediaLocalRoots: options.mediaLocalRoots ?? mediaLocalRoots,
2772
+ replyToId,
2773
+ fallbackReplyToId,
2774
+ onDeliveryResult: async (result) => {
2775
+ if (replyToId) hasReplied = true;
2776
+ await options.onDeliveryResult?.(result);
2777
+ }
2778
+ });
2779
+ return {
2780
+ deps: { matrix: send },
2781
+ replyToId: replyToId ?? null,
2782
+ replyToMode,
2783
+ threadId: threadTarget
2784
+ };
2785
+ };
2778
2786
  const deliverPayload = async (reply) => {
2779
2787
  const core = getMatrixRuntime();
2780
2788
  const logVerbose = (message) => {
@@ -2792,10 +2800,7 @@ function createMatrixReplyDispatcher(config) {
2792
2800
  else runtime.error?.("matrix reply missing text/media");
2793
2801
  return accepted.result();
2794
2802
  }
2795
- const explicitReplyToId = reply.replyToTag || reply.replyToCurrent ? reply.replyToId?.trim() : void 0;
2796
- const ambientReplyToId = threadTarget ?? replyToEventId;
2797
- const replyToIdForReply = explicitReplyToId || (!threadTarget && replyToMode !== "off" && (replyToMode === "all" || !hasReplied) ? (reply.replyToId ?? ambientReplyToId)?.trim() : void 0);
2798
- const fallbackReplyToId = threadTarget ? (reply.replyToId ?? ambientReplyToId)?.trim() : void 0;
2803
+ const { replyToId: replyToIdForReply, fallbackReplyToId } = resolveReplyTargets(reply);
2799
2804
  const onDeliveryResult = (result) => {
2800
2805
  accepted.add({ receipt: result.receipt }, result.content);
2801
2806
  if (replyToIdForReply) hasReplied = true;
@@ -2809,6 +2814,7 @@ function createMatrixReplyDispatcher(config) {
2809
2814
  ...mediaUrl !== void 0 ? {
2810
2815
  mediaUrl,
2811
2816
  mediaLocalRoots,
2817
+ mediaAccess: resolveOutboundMediaAccessForConfig(cfg),
2812
2818
  audioAsVoice: reply.audioAsVoice
2813
2819
  } : {},
2814
2820
  replyToId: replyToIdForReply,
@@ -2833,6 +2839,7 @@ function createMatrixReplyDispatcher(config) {
2833
2839
  draftController.updateDraftFromLatestFullText();
2834
2840
  };
2835
2841
  return {
2842
+ durable,
2836
2843
  turnDispatcherOptions: {
2837
2844
  ...prefixOptions,
2838
2845
  humanDelay,
@@ -2872,7 +2879,7 @@ function createMatrixReplyDispatcher(config) {
2872
2879
  payload,
2873
2880
  isError: payload.isError,
2874
2881
  adapter: draftStream ? {
2875
- buildFinalEdit: () => payloadText?.trim() && !payload.isError && !payloadReplyMismatch && !draftStream.mustDeliverFinalNormally() ? { text: payloadText } : void 0,
2882
+ buildFinalEdit: () => payloadText?.trim() && !payload.isError && !payloadReplyMismatch && !draftStream.mustDeliverFinalNormally() && !(hasMedia && !ttsSupplement && progressDraftStreaming) ? { text: payloadText } : void 0,
2876
2883
  editFinal: async (draftEventId, edit) => {
2877
2884
  if (draftStream.mustDeliverFinalNormally() || await matrixTextWouldActivateMentions(client, edit.text)) return { visibleReplySent: false };
2878
2885
  const { editMessageMatrix, prepareMatrixSingleText } = await loadMatrixSendModule();
@@ -2939,8 +2946,7 @@ function createMatrixReplyDispatcher(config) {
2939
2946
  nonFinalReplyDeliveryFailed: () => nonFinalReplyDeliveryFailed
2940
2947
  };
2941
2948
  }
2942
- //#endregion
2943
- //#region extensions/matrix/src/matrix/monitor/handler-state.ts
2949
+ // extensions/matrix/src/matrix/monitor/handler-state.ts
2944
2950
  const ALLOW_FROM_STORE_CACHE_TTL_MS = 3e4;
2945
2951
  const PAIRING_REPLY_COOLDOWN_MS = 3e5;
2946
2952
  const MAX_TRACKED_PAIRING_REPLY_SENDERS = 512;
@@ -3026,8 +3032,7 @@ function createMatrixHandlerState(config) {
3026
3032
  shouldSendPairingReply
3027
3033
  };
3028
3034
  }
3029
- //#endregion
3030
- //#region extensions/matrix/src/matrix/monitor/location.ts
3035
+ // extensions/matrix/src/matrix/monitor/location.ts
3031
3036
  function decodeGeoUriParamValue(value) {
3032
3037
  try {
3033
3038
  return decodeURIComponent(value);
@@ -3074,8 +3079,7 @@ function resolveMatrixLocation(params) {
3074
3079
  context: toLocationContext(location)
3075
3080
  };
3076
3081
  }
3077
- //#endregion
3078
- //#region extensions/matrix/src/matrix/monitor/handler.ts
3082
+ // extensions/matrix/src/matrix/monitor/handler.ts
3079
3083
  const SESSION_RESTART_RECOVERY_TOMBSTONE_ERROR_CODE = "SESSION_RESTART_RECOVERY_TOMBSTONE";
3080
3084
  const RESTART_RECOVERY_TOMBSTONE_NOTICE = "This session ended during gateway restart recovery and cannot accept more messages. Send /new or /reset to start a replacement session.";
3081
3085
  function createMatrixRoomMessageHandler(params) {
@@ -3339,6 +3343,7 @@ function createMatrixRoomMessageHandler(params) {
3339
3343
  delivery: {
3340
3344
  observeMessageSent: true,
3341
3345
  preparePayload: prepareMatrixReplyPayload,
3346
+ durable: replyDispatcher.durable,
3342
3347
  deliver: deliverReply,
3343
3348
  onError: (err, info) => onReplyError(err, info)
3344
3349
  },
@@ -3415,8 +3420,7 @@ function createMatrixRoomMessageHandler(params) {
3415
3420
  }
3416
3421
  };
3417
3422
  }
3418
- //#endregion
3419
- //#region extensions/matrix/src/matrix/monitor/ingress.ts
3423
+ // extensions/matrix/src/matrix/monitor/ingress.ts
3420
3424
  const MatrixIngressPayloadError = createChannelIngressError("MatrixIngressPayloadError");
3421
3425
  function inspectMatrixIngressEvent(raw) {
3422
3426
  if (!raw || typeof raw.roomId !== "string" || !raw.roomId.trim() || !raw.event || typeof raw.event.event_id !== "string" || !raw.event.event_id.trim()) throw new MatrixIngressPayloadError("Matrix ingress event is missing its room or event ID");
@@ -3426,21 +3430,6 @@ function inspectMatrixIngressEvent(raw) {
3426
3430
  };
3427
3431
  }
3428
3432
  function createMatrixIngressMonitor(params) {
3429
- const diagnosticId = randomUUID();
3430
- let diagnosticCount = 0;
3431
- const observe = (phase, facts = {}) => {
3432
- if (diagnosticCount >= 64) return;
3433
- diagnosticCount += 1;
3434
- try {
3435
- emitMatrixLog("debug", "MatrixIngress", [JSON.stringify({
3436
- monitor: diagnosticId,
3437
- sequence: diagnosticCount,
3438
- phase,
3439
- ...facts,
3440
- exhausted: diagnosticCount === 64
3441
- })]);
3442
- } catch {}
3443
- };
3444
3433
  let queue = params.queue;
3445
3434
  const getQueue = () => queue ??= getMatrixRuntime().state.openChannelIngressQueue({ accountId: params.accountId });
3446
3435
  let lastReceivedAt = 0;
@@ -3466,23 +3455,11 @@ function createMatrixIngressMonitor(params) {
3466
3455
  createClaimError: (kind) => new MatrixIngressPayloadError(kind === "invalid-version" ? "Matrix ingress payload version is unsupported" : "Matrix event identity changed after durable admission")
3467
3456
  },
3468
3457
  deliver: async ({ roomId, event, historical }, lifecycle) => {
3469
- observe("deliver-entered", { historical: historical === true });
3470
- if (historical) {
3471
- observe("historical-skipped");
3472
- return;
3473
- }
3474
- if (event.type === EventType.RoomMessageEncrypted && !params.client.crypto) {
3475
- observe("crypto-unavailable");
3476
- return;
3477
- }
3478
- observe("hydrate-entered");
3458
+ if (historical) return;
3459
+ if (event.type === EventType.RoomMessageEncrypted && !params.client.crypto) return;
3479
3460
  const [hydrated] = await params.client.hydrateEvents(roomId, [event]);
3480
- observe("hydrate-returned", { hydrated: Boolean(hydrated) });
3481
3461
  if (!hydrated || hydrated.type === EventType.RoomMessageEncrypted || getMatrixEventProjection(hydrated)?.decryptionFailure) throw new Error("Matrix ingress event is waiting for decryption");
3482
- observe("dispatch-entered");
3483
- const result = await params.dispatch(roomId, hydrated, lifecycle);
3484
- observe("dispatch-returned", { outcome: result?.kind ?? "void" });
3485
- return result;
3462
+ return await params.dispatch(roomId, hydrated, lifecycle);
3486
3463
  },
3487
3464
  pollIntervalMs: 1e3,
3488
3465
  retention: "standard",
@@ -3513,27 +3490,16 @@ function createMatrixIngressMonitor(params) {
3513
3490
  });
3514
3491
  }
3515
3492
  if (events.length === 0) return;
3516
- observe("sync-selected", {
3517
- count: events.length,
3518
- hasSavedSync
3519
- });
3520
3493
  await (initializeOrder ??= (async () => {
3521
- observe("order-load-entered");
3522
3494
  const ingressQueue = getQueue();
3523
3495
  const { pending, claims } = ingressQueue.listUnsettled ? await ingressQueue.listUnsettled() : {
3524
3496
  pending: await ingressQueue.listPending({ limit: "all" }),
3525
3497
  claims: await ingressQueue.listClaims()
3526
3498
  };
3527
- observe("order-load-returned", {
3528
- pending: pending.length,
3529
- claims: claims.length
3530
- });
3531
3499
  for (const row of [...pending, ...claims]) lastReceivedAt = Math.max(lastReceivedAt, row.receivedAt);
3532
3500
  })());
3533
3501
  for (const event of events) {
3534
- observe("admit-entered", { historical: event.historical === true });
3535
3502
  const result = await monitor.admit(event, { receivedAt: Math.max(Date.now(), lastReceivedAt + 1) });
3536
- observe("admit-returned", { outcome: result.kind === "durable" ? result.queueResult.kind : result.kind });
3537
3503
  if (result.kind === "durable") {
3538
3504
  const admitted = result.queueResult;
3539
3505
  if (admitted.kind === "accepted" || admitted.kind === "pending" || admitted.kind === "claimed") lastReceivedAt = Math.max(lastReceivedAt, admitted.record.receivedAt);
@@ -3547,8 +3513,7 @@ function createMatrixIngressMonitor(params) {
3547
3513
  waitForIdle: monitor.waitForIdle
3548
3514
  };
3549
3515
  }
3550
- //#endregion
3551
- //#region extensions/matrix/src/matrix/monitor/recent-invite.ts
3516
+ // extensions/matrix/src/matrix/monitor/recent-invite.ts
3552
3517
  function shouldPromoteRecentInviteRoom(params) {
3553
3518
  if (!params.roomInfo.nameResolved || !params.roomInfo.aliasesResolved) return false;
3554
3519
  const roomAliases = [params.roomInfo.canonicalAlias ?? "", ...params.roomInfo.altAliases].filter(Boolean);
@@ -3559,13 +3524,12 @@ function shouldPromoteRecentInviteRoom(params) {
3559
3524
  aliases: roomAliases
3560
3525
  }).matchSource === void 0;
3561
3526
  }
3562
- //#endregion
3563
- //#region extensions/matrix/src/matrix/monitor/startup.ts
3527
+ // extensions/matrix/src/matrix/monitor/startup.ts
3564
3528
  const loadMatrixStartupMaintenanceDeps = createLazyRuntimeModule(() => Promise.all([
3565
- import("./setup-core-DcqQbLZv.mjs").then((n) => n.f),
3566
- import("./device-health-Ck2YpEVN.mjs").then((n) => n.t),
3567
- import("./setup-core-DcqQbLZv.mjs").then((n) => n.u),
3568
- import("./startup-verification-UkaoSldm.mjs")
3529
+ import("./setup-core-B4sVj_9e.mjs").then((n) => n.f),
3530
+ import("./device-health-D7n-lPeb.mjs").then((n) => n.t),
3531
+ import("./setup-core-B4sVj_9e.mjs").then((n) => n.u),
3532
+ import("./startup-verification-DfOuAruK.mjs")
3569
3533
  ]).then(([configUpdateModule, deviceHealthModule, profileModule, startupVerificationModule]) => ({
3570
3534
  updateMatrixAccountConfig: configUpdateModule.updateMatrixAccountConfig,
3571
3535
  listStaleOpenClawMatrixDevices: deviceHealthModule.listStaleOpenClawMatrixDevices,
@@ -3627,8 +3591,7 @@ async function runMatrixStartupMaintenance(params) {
3627
3591
  params.logger.debug?.("Failed to resolve matrix verification status (non-fatal)", { error: String(err) });
3628
3592
  }
3629
3593
  }
3630
- //#endregion
3631
- //#region extensions/matrix/src/matrix/monitor/status.ts
3594
+ // extensions/matrix/src/matrix/monitor/status.ts
3632
3595
  function formatSyncError(error) {
3633
3596
  if (!error) return null;
3634
3597
  if (error instanceof Error) return error.message || error.name || "unknown";
@@ -3745,8 +3708,7 @@ function createMatrixMonitorStatusController(params) {
3745
3708
  }
3746
3709
  };
3747
3710
  }
3748
- //#endregion
3749
- //#region extensions/matrix/src/matrix/monitor/index.ts
3711
+ // extensions/matrix/src/matrix/monitor/index.ts
3750
3712
  function resolveMatrixStreamingMode(streaming) {
3751
3713
  const mode = streaming?.mode;
3752
3714
  if (mode === "partial" || mode === "quiet" || mode === "progress") return mode;
@@ -4186,5 +4148,4 @@ async function monitorMatrixProvider(opts = {}) {
4186
4148
  throw err;
4187
4149
  }
4188
4150
  }
4189
- //#endregion
4190
4151
  export { monitorMatrixProvider };
@@ -1,15 +1,15 @@
1
- import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { i as requiresExplicitMatrixDefaultAccount, u as resolveMatrixEnvAuthReadiness } from "./account-selection-UUPhMBmu.mjs";
3
- import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
4
- import { a as createMatrixSetupDmPolicy, g as resolveDefaultMatrixAccountId, m as listMatrixAccountIds, n as finishMatrixSetupAfterConfigWrite, o as moveSingleMatrixAccountConfigToNamedAccount, p as updateMatrixAccountConfig, v as resolveMatrixAccountAsync } from "./setup-core-DcqQbLZv.mjs";
5
- import { r as isMatrixRoomId, t as isMatrixInviteAutoJoinTarget } from "./target-ids-HhcaKX1n.mjs";
6
- import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-By_2hsXr.mjs";
7
- import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./deps-D-W_QQjz.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { i as requiresExplicitMatrixDefaultAccount, u as resolveMatrixEnvAuthReadiness } from "./account-selection-Cow3TMFO.mjs";
3
+ import { a as resolveMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
4
+ import { a as createMatrixSetupDmPolicy, g as resolveDefaultMatrixAccountId, m as listMatrixAccountIds, n as finishMatrixSetupAfterConfigWrite, o as moveSingleMatrixAccountConfigToNamedAccount, p as updateMatrixAccountConfig, v as resolveMatrixAccountAsync } from "./setup-core-B4sVj_9e.mjs";
5
+ import { r as isMatrixRoomId, t as isMatrixInviteAutoJoinTarget } from "./target-ids-DltG_ZHJ.mjs";
6
+ import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-DesoKUns.mjs";
7
+ import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./deps-CVPT2Ros.mjs";
8
8
  import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
9
9
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringifiedOptionalString, normalizeUniqueStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
10
10
  import { formatDocsLink, hasConfiguredSecretInput, mergeAllowFromEntries, normalizeAccountId as normalizeAccountId$1, promptAccountId, promptChannelAccessConfig, setSetupChannelEnabled, splitSetupEntries } from "openclaw/plugin-sdk/setup";
11
11
  import { isPrivateOrLoopbackHost } from "openclaw/plugin-sdk/ssrf-runtime";
12
- //#region extensions/matrix/src/onboarding.ts
12
+ // extensions/matrix/src/onboarding.ts
13
13
  var onboarding_exports = /* @__PURE__ */ __exportAll({ matrixOnboardingAdapter: () => matrixOnboardingAdapter });
14
14
  const channel = "matrix";
15
15
  const matrixInviteAutoJoinOptions = [
@@ -87,7 +87,7 @@ async function promptMatrixAllowFrom(params) {
87
87
  pending.push(part);
88
88
  }
89
89
  if (pending.length > 0) {
90
- const { resolveMatrixTargets } = await import("./resolve-targets-DYW8ULZS.mjs").then((n) => n.n);
90
+ const { resolveMatrixTargets } = await import("./resolve-targets-CUBvJ37V.mjs").then((n) => n.n);
91
91
  const results = await resolveMatrixTargets({
92
92
  cfg,
93
93
  accountId,
@@ -192,7 +192,7 @@ async function runMatrixConfigure(params) {
192
192
  resolvedIds.push(cleaned);
193
193
  continue;
194
194
  }
195
- const { listMatrixDirectoryGroupsLive } = await import("./directory-live-ufzRheWx.mjs").then((n) => n.t);
195
+ const { listMatrixDirectoryGroupsLive } = await import("./directory-live-5RgaKKuc.mjs").then((n) => n.t);
196
196
  const matches = await listMatrixDirectoryGroupsLive({
197
197
  cfg: accessCfg,
198
198
  accountId: selectedAccountId,
@@ -442,5 +442,4 @@ const matrixOnboardingAdapter = {
442
442
  dmPolicy,
443
443
  disable: (cfg) => setSetupChannelEnabled(cfg, channel, false)
444
444
  };
445
- //#endregion
446
445
  export { onboarding_exports as n, matrixOnboardingAdapter as t };
@@ -1,12 +1,12 @@
1
- import { r as matrixPresentationCapabilities } from "./channel-FfaEmyIU.mjs";
2
- import { i as sendPollMatrix, r as sendMessageMatrix } from "./send-HHAbKARg.mjs";
1
+ import { r as matrixPresentationCapabilities } from "./channel-BJGiol_v.mjs";
2
+ import { i as sendPollMatrix, r as sendMessageMatrix } from "./send-QWCT3NT9.mjs";
3
3
  import { createMessageReceiptFromOutboundResults, createReplyToFanout, resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-outbound";
4
+ import { chunkMarkdownTextWithMode } from "openclaw/plugin-sdk/reply-chunking";
4
5
  import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
5
- import { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
6
6
  import { attachChannelToResult } from "openclaw/plugin-sdk/channel-send-result";
7
7
  import { renderMessagePresentationFallbackText, renderPresentationForDelivery } from "openclaw/plugin-sdk/interactive-runtime";
8
8
  import { resolveSendableOutboundReplyParts, sendPayloadMediaSequence } from "openclaw/plugin-sdk/reply-payload";
9
- //#region extensions/matrix/src/outbound.ts
9
+ // extensions/matrix/src/outbound.ts
10
10
  const MATRIX_OPENCLAW_PRESENTATION_KEY = "com.openclaw.presentation";
11
11
  const MATRIX_OPENCLAW_PRESENTATION_TYPE = "message.presentation";
12
12
  const MATRIX_EMPTY_PRESENTATION_FALLBACK_TEXT = "---";
@@ -97,7 +97,7 @@ async function sendMatrixOutbound(ctx, media) {
97
97
  }
98
98
  const matrixOutbound = {
99
99
  deliveryMode: "direct",
100
- chunker: chunkTextForOutbound,
100
+ chunker: (text, limit) => chunkMarkdownTextWithMode(text, limit, "length"),
101
101
  chunkerMode: "markdown",
102
102
  textChunkLimit: 4e3,
103
103
  presentationCapabilities: matrixPresentationCapabilities,
@@ -181,5 +181,4 @@ const matrixOutbound = {
181
181
  };
182
182
  }
183
183
  };
184
- //#endregion
185
184
  export { prepareMatrixReplyPayload as n, resolveMatrixExtraContent as r, matrixOutbound as t };