@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,16 +1,17 @@
1
- import { t as runtime_doctor_migrations_exports } from "./.setup/runtime-doctor-migrations-hxP-CXX7.mjs";
2
- import { i as normalizeMatrixStoredCredentials, n as isMatrixCredentialRevocation, r as matrixCredentialsStoreKey, t as MATRIX_CREDENTIALS_NAMESPACE } from "./.setup/credentials-state-B3cuUFwZ.mjs";
3
- import { i as resolveMatrixCredentialsDir } from "./.setup/storage-paths-B51JM-pC.mjs";
4
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-BANpMUbP.mjs";
5
- import { a as describeRetiredMatrixState, o as resolveMatrixSqliteStateEnv, t as RETIRED_MATRIX_STATE_FILENAMES } from "./.setup/retired-state-JGUEBE72.mjs";
6
- import { t as walkMatrixStateFiles } from "./.setup/state-layout-walk-BQMgMykU.mjs";
7
- import { i as readLegacyMatrixSyncCacheState, n as hasMatrixSyncCacheStateInStore, r as openMatrixSyncCacheStoreOptions, s as writeMatrixSyncCacheStateToStore } from "./.setup/sync-cache-state-BKVaKRzQ.mjs";
1
+ import { t as runtime_doctor_migrations_exports } from "./.setup/runtime-doctor-migrations-CSvRANPN.mjs";
2
+ import { i as normalizeMatrixStoredCredentials, n as isMatrixCredentialRevocation, r as matrixCredentialsStoreKey, t as MATRIX_CREDENTIALS_NAMESPACE } from "./.setup/credentials-state-jxq29yQw.mjs";
3
+ import { i as resolveMatrixCredentialsDir } from "./.setup/storage-paths-e_Vq6cvw.mjs";
4
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-GiXgCj7k.mjs";
5
+ import { a as describeRetiredMatrixState, t as RETIRED_MATRIX_STATE_FILENAMES } from "./.setup/retired-state-BsxdpJNk.mjs";
6
+ import { t as resolveMatrixSqliteStateEnv } from "./.setup/sqlite-state-D6Zpz1q1.mjs";
7
+ import { t as walkMatrixStateFiles } from "./.setup/state-layout-walk-BqCZTHpp.mjs";
8
+ import { i as readLegacyMatrixSyncCacheState, n as hasMatrixSyncCacheStateInStore, r as openMatrixSyncCacheStoreOptions, s as writeMatrixSyncCacheStateToStore } from "./.setup/sync-cache-state-BMvqW4Ii.mjs";
8
9
  import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
9
10
  import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
10
11
  import { createHash } from "node:crypto";
11
12
  import path from "node:path";
12
13
  import fs from "node:fs/promises";
13
- //#region extensions/matrix/src/matrix/account-state-schema-doctor.ts
14
+ // extensions/matrix/src/matrix/account-state-schema-doctor.ts
14
15
  const STATE_DATABASE_FILENAME = "openclaw.sqlite";
15
16
  async function collectMatrixAccountStateRoots(stateDir) {
16
17
  const { entries, failedDirs } = await walkMatrixStateFiles(stateDir, (name, depth) => depth === 5 && name === STATE_DATABASE_FILENAME || (depth === 0 || depth === 2 || depth === 4) && RETIRED_MATRIX_STATE_FILENAMES.has(name), [2, 4]);
@@ -57,8 +58,7 @@ const matrixAccountStateSchemaMigration = {
57
58
  };
58
59
  }
59
60
  };
60
- //#endregion
61
- //#region extensions/matrix/src/matrix/monitor/inbound-dedupe-migration.ts
61
+ // extensions/matrix/src/matrix/monitor/inbound-dedupe-migration.ts
62
62
  const LEGACY_SQLITE_NAMESPACE = "inbound-dedupe";
63
63
  const LEGACY_MARKERS_NAMESPACE = "inbound-dedupe-migrations";
64
64
  const MATRIX_PLUGIN_ID = "matrix";
@@ -288,8 +288,7 @@ const matrixReplayGuardIngressMigration = {
288
288
  };
289
289
  }
290
290
  };
291
- //#endregion
292
- //#region extensions/matrix/doctor-contract-api.ts
291
+ // extensions/matrix/doctor-contract-api.ts
293
292
  const MATRIX_SYNC_CACHE_FILENAME = "bot-storage.json";
294
293
  async function collectLegacyMatrixCredentialSources(params) {
295
294
  const credentialsDir = resolveMatrixCredentialsDir(params.stateDir);
@@ -305,7 +304,7 @@ async function collectLegacyMatrixCredentialSources(params) {
305
304
  return left.name.localeCompare(right.name);
306
305
  });
307
306
  if (files.length === 0) return [];
308
- const { requiresExplicitMatrixDefaultAccount, resolveMatrixDefaultOrOnlyAccountId } = await import("./.setup/account-selection-UUPhMBmu.mjs").then((n) => n.t);
307
+ const { requiresExplicitMatrixDefaultAccount, resolveMatrixDefaultOrOnlyAccountId } = await import("./.setup/account-selection-Cow3TMFO.mjs").then((n) => n.t);
309
308
  return files.map((entry) => {
310
309
  const namedAccount = /^credentials(?:-([a-z0-9._-]+))?\.json$/iu.exec(entry.name)?.[1];
311
310
  return {
@@ -355,12 +354,12 @@ const stateMigrations = [
355
354
  id: "matrix-crypto-unsafe-state",
356
355
  label: "Matrix crypto unsafe final state",
357
356
  async detectLegacyState(params) {
358
- const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-Dh1dtuSz.mjs").then((n) => n.t);
357
+ const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-CkhtP1mQ.mjs").then((n) => n.t);
359
358
  const roots = await listMatrixCryptoUnsafeState(params.stateDir, { openKeyedStoreV2: params.context.openPluginStateKeyedStore });
360
359
  return roots.length > 0 ? { preview: roots.map((root) => `Matrix crypto store is blocked after unsafe final save: ${root}. Run openclaw matrix doctor inspect; recovery is never automatic.`) } : null;
361
360
  },
362
361
  async migrateLegacyState(params) {
363
- const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-Dh1dtuSz.mjs").then((n) => n.t);
362
+ const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-CkhtP1mQ.mjs").then((n) => n.t);
364
363
  return {
365
364
  changes: [],
366
365
  warnings: (await listMatrixCryptoUnsafeState(params.stateDir, { openKeyedStoreV2: params.context.openPluginStateKeyedStore })).map((root) => `Matrix crypto store remains blocked: ${root}. Inspect with openclaw matrix doctor inspect; explicit recovery may roll back keys.`)
@@ -562,5 +561,4 @@ const stateMigrations = [
562
561
  }
563
562
  }
564
563
  ];
565
- //#endregion
566
564
  export { legacyConfigRules, normalizeCompatibilityConfig, stateMigrations };
@@ -1,4 +1,4 @@
1
- import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, r as hasImplicitMatrixAccountConfig, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-UUPhMBmu.mjs";
2
- import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-aEBngJPa.mjs";
3
- import { a as resolveMatrixCredentialsFilename, c as resolveMatrixStateLayoutChildDepth, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, n as isMatrixActiveTokenRootDirectory, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-B51JM-pC.mjs";
1
+ import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, r as hasImplicitMatrixAccountConfig, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-Cow3TMFO.mjs";
2
+ import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-Bh1iOXJ1.mjs";
3
+ import { a as resolveMatrixCredentialsFilename, c as resolveMatrixStateLayoutChildDepth, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, n as isMatrixActiveTokenRootDirectory, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-e_Vq6cvw.mjs";
4
4
  export { findMatrixAccountEntry, getMatrixScopedEnvVarNames, hasImplicitMatrixAccountConfig, hashMatrixAccessToken, isMatrixActiveTokenRootDirectory, listMatrixEnvAccountIds, requiresExplicitMatrixDefaultAccount, resolveConfiguredMatrixAccountIds, resolveMatrixAccountStorageRoot, resolveMatrixChannelConfig, resolveMatrixCredentialsDir, resolveMatrixCredentialsFilename, resolveMatrixCredentialsPath, resolveMatrixDefaultOrOnlyAccountId, resolveMatrixEnvAccountToken, resolveMatrixHomeserverKey, resolveMatrixStateLayoutChildDepth, sanitizeMatrixPathSegment };
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { n as registerMatrixCliMetadata } from "./.setup/cli-metadata-CwUhA9CY.mjs";
2
- import { a as setMatrixRuntimeLifecycle } from "./.setup/runtime-1kn1P6io.mjs";
1
+ import { n as registerMatrixCliMetadata } from "./.setup/cli-metadata-nnz3uf_k.mjs";
2
+ import { a as setMatrixRuntimeLifecycle } from "./.setup/runtime-Ck8TjD7L.mjs";
3
3
  import "./runtime-setter-api.js";
4
4
  import { registerMatrixSubagentHooks } from "./subagent-hooks-api.js";
5
5
  import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
6
6
  import { runWithLocalStateMutationOwner } from "openclaw/plugin-sdk/gateway-runtime";
7
7
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
8
- //#region extensions/matrix/index.ts
8
+ // extensions/matrix/index.ts
9
9
  const loadMatrixHandlersRuntimeModule = createLazyRuntimeModule(() => import("./plugin-entry.handlers.runtime.js"));
10
10
  function registerMatrixFullRuntime(api) {
11
11
  setMatrixRuntimeLifecycle(api.runtime, api.lifecycle);
@@ -68,5 +68,4 @@ var matrix_default = defineBundledChannelEntry({
68
68
  registerCliMetadata: registerMatrixCliMetadata,
69
69
  registerFull: registerMatrixFullRuntime
70
70
  });
71
- //#endregion
72
71
  export { matrix_default as default, registerMatrixFullRuntime };
@@ -1,9 +1,9 @@
1
- import { l as resolveMatrixAuthContext } from "./.setup/client-D1bsidwU.mjs";
1
+ import { l as resolveMatrixAuthContext } from "./.setup/client-DIeTvz6C.mjs";
2
2
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
3
3
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
4
4
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
5
- //#region extensions/matrix/src/plugin-entry.runtime.ts
6
- const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-CcZIVL8P.mjs").then((n) => n.y));
5
+ // extensions/matrix/src/plugin-entry.runtime.ts
6
+ const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-DQu-OS0V.mjs").then((n) => n.y));
7
7
  function sendError(respond, err) {
8
8
  respond(false, { error: formatErrorMessage(err) });
9
9
  }
@@ -79,5 +79,4 @@ async function handleVerificationStatus({ params, respond, context }) {
79
79
  sendError(respond, err);
80
80
  }
81
81
  }
82
- //#endregion
83
82
  export { handleVerificationBootstrap, handleVerificationStatus, handleVerifyRecoveryKey };
@@ -1,14 +1,14 @@
1
- import { i as setMatrixRuntime } from "./.setup/runtime-1kn1P6io.mjs";
2
- import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, p as resolveMatrixAccountStringValues, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-UUPhMBmu.mjs";
3
- import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-aEBngJPa.mjs";
4
- import { a as resolveMatrixCredentialsFilename, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-B51JM-pC.mjs";
5
- import { f as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync } from "./.setup/thread-bindings-shared-QmZOfX9Q.mjs";
6
- import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./.setup/deps-D-W_QQjz.mjs";
1
+ import { i as setMatrixRuntime } from "./.setup/runtime-Ck8TjD7L.mjs";
2
+ import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, p as resolveMatrixAccountStringValues, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-Cow3TMFO.mjs";
3
+ import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-Bh1iOXJ1.mjs";
4
+ import { a as resolveMatrixCredentialsFilename, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-e_Vq6cvw.mjs";
5
+ import { f as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync } from "./.setup/thread-bindings-shared-DEAGGuDA.mjs";
6
+ import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./.setup/deps-CVPT2Ros.mjs";
7
7
  import { chunkTextForOutbound as chunkTextForOutbound$1 } from "openclaw/plugin-sdk/text-chunking";
8
8
  import { assertHttpUrlTargetsPrivateNetwork, closeDispatcher, createPinnedDispatcher, resolvePinnedHostnameWithPolicy, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
9
9
  import { formatZonedTimestamp } from "openclaw/plugin-sdk/time-runtime";
10
10
  import { writeJsonFileAtomically } from "openclaw/plugin-sdk/json-store";
11
- //#region extensions/matrix/runtime-api.ts
11
+ // extensions/matrix/runtime-api.ts
12
12
  function chunkTextForOutbound(text, limit) {
13
13
  if (text.length === 0 || limit <= 0) return [text];
14
14
  if (Number.isFinite(limit) && limit > 0 && !Number.isInteger(limit)) return chunkTextForOutbound$1(text, limit);
@@ -24,5 +24,4 @@ function chunkTextForOutbound(text, limit) {
24
24
  if (remaining.length > 0) chunks.push(remaining);
25
25
  return chunks;
26
26
  }
27
- //#endregion
28
27
  export { assertHttpUrlTargetsPrivateNetwork, chunkTextForOutbound, closeDispatcher, createPinnedDispatcher, ensureMatrixSdkInstalled, findMatrixAccountEntry, formatZonedTimestamp, getMatrixScopedEnvVarNames, hashMatrixAccessToken, isMatrixSdkAvailable, listMatrixEnvAccountIds, requiresExplicitMatrixDefaultAccount, resolveConfiguredMatrixAccountIds, resolveMatrixAccountStorageRoot, resolveMatrixAccountStringValues, resolveMatrixChannelConfig, resolveMatrixCredentialsDir, resolveMatrixCredentialsFilename, resolveMatrixCredentialsPath, resolveMatrixDefaultOrOnlyAccountId, resolveMatrixEnvAccountToken, resolveMatrixHomeserverKey, resolvePinnedHostnameWithPolicy, sanitizeMatrixPathSegment, setMatrixRuntime, setMatrixThreadBindingIdleTimeoutBySessionKey, setMatrixThreadBindingIdleTimeoutBySessionKeyAsync, setMatrixThreadBindingMaxAgeBySessionKey, setMatrixThreadBindingMaxAgeBySessionKeyAsync, ssrfPolicyFromDangerouslyAllowPrivateNetwork, writeJsonFileAtomically };
@@ -1 +1 @@
1
- export { i as setMatrixRuntime, a as setMatrixRuntimeLifecycle } from "./.setup/runtime-1kn1P6io.mjs";
1
+ export { i as setMatrixRuntime, a as setMatrixRuntimeLifecycle } from "./.setup/runtime-Ck8TjD7L.mjs";
@@ -1 +1 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-DxyzKSzf.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-AKnr45nw.mjs";
@@ -1,3 +1,3 @@
1
- import { i as setMatrixRuntime } from "./.setup/runtime-1kn1P6io.mjs";
2
- import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-891JsKXF.mjs";
1
+ import { i as setMatrixRuntime } from "./.setup/runtime-Ck8TjD7L.mjs";
2
+ import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-jNXWItIL.mjs";
3
3
  export { createMatrixThreadBindingManager, setMatrixRuntime };
@@ -1,20 +1,19 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region extensions/matrix/setup-entry.ts
3
+ // extensions/matrix/setup-entry.ts
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/setup-plugin-api-Cg4TelGZ.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/setup-plugin-api-t9yhI-Tq.mjs", import.meta.url).href),
8
8
  exportName: "matrixSetupPlugin"
9
9
  },
10
10
  secrets: {
11
- specifier: fileURLToPath(new URL(".setup/secret-contract-api-Dukgvike.mjs", import.meta.url).href),
11
+ specifier: fileURLToPath(new URL(".setup/secret-contract-api-DMSwMIxd.mjs", import.meta.url).href),
12
12
  exportName: "channelSecrets"
13
13
  },
14
14
  runtime: {
15
- specifier: fileURLToPath(new URL(".setup/runtime-setter-api-i2MOXoT3.mjs", import.meta.url).href),
15
+ specifier: fileURLToPath(new URL(".setup/runtime-setter-api-CpwhcBQK.mjs", import.meta.url).href),
16
16
  exportName: "setMatrixRuntime"
17
17
  }
18
18
  });
19
- //#endregion
20
19
  export { setup_entry_default as default };
@@ -1 +1 @@
1
- export { n as matrixSetupPlugin } from "./.setup/channel.setup-B00zzOOL.mjs";
1
+ export { n as matrixSetupPlugin } from "./.setup/channel.setup-DJdvsvAL.mjs";
@@ -1,6 +1,6 @@
1
1
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
2
- //#region extensions/matrix/subagent-hooks-api.ts
3
- const loadMatrixSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-CfGAysJi.mjs"));
2
+ // extensions/matrix/subagent-hooks-api.ts
3
+ const loadMatrixSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-BdbuojSv.mjs"));
4
4
  function registerMatrixSubagentHooks(api) {
5
5
  api.on("subagent_ended", async (event) => {
6
6
  const { handleMatrixSubagentEnded } = await loadMatrixSubagentHooksModule();
@@ -11,5 +11,4 @@ function registerMatrixSubagentHooks(api) {
11
11
  return handleMatrixSubagentDeliveryTarget(event);
12
12
  });
13
13
  }
14
- //#endregion
15
14
  export { registerMatrixSubagentHooks };
@@ -1 +1 @@
1
- export { t as defaultTopLevelPlacement, n as resolveInboundConversation } from "./.setup/thread-binding-api-BvuaKpd0.mjs";
1
+ export { t as defaultTopLevelPlacement, n as resolveInboundConversation } from "./.setup/thread-binding-api-OtSciHmZ.mjs";
@@ -1 +1 @@
1
- export { l as setMatrixThreadBindingIdleTimeoutBySessionKey, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync, f as setMatrixThreadBindingMaxAgeBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync } from "./.setup/thread-bindings-shared-QmZOfX9Q.mjs";
1
+ export { l as setMatrixThreadBindingIdleTimeoutBySessionKey, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync, f as setMatrixThreadBindingMaxAgeBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync } from "./.setup/thread-bindings-shared-DEAGGuDA.mjs";
@@ -1,6 +1,50 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## 0.27.1 - 2026-10-31
4
+
5
+ **Highlights:** Native POSIX staged file creation, atomic publication, small-buffer writes, path-prefix canonicalization, and awaited root-path traversal no longer block the JavaScript thread, so slow storage cannot stall the event loop. ([#1052](https://github.com/openclaw/fs-safe/pull/1052), [#1053](https://github.com/openclaw/fs-safe/pull/1053), [#1054](https://github.com/openclaw/fs-safe/pull/1054))
6
+
7
+ ### Features
8
+
9
+ - **Path prefixes:** add `resolvePathPrefix` for asynchronous component traversal and make `resolveAbsolutePathForRead` use asynchronous Node canonicalization, keeping filesystem waits off the JavaScript thread while preserving physical symlink and missing-suffix semantics. ([#1053](https://github.com/openclaw/fs-safe/pull/1053))
10
+
11
+ ### Fixes
12
+
13
+ - **Root traversal:** keep awaited POSIX root-path metadata and canonicalization off the JavaScript thread so slow component lookups do not stall the event loop; preserve synchronous APIs, identity fences, and Windows publication behavior. ([#1054](https://github.com/openclaw/fs-safe/pull/1054))
14
+ - **Async writes:** keep native POSIX staged creation, atomic publication, and small-buffer writes off the JavaScript thread so slow storage does not stall the event loop. ([#1052](https://github.com/openclaw/fs-safe/pull/1052))
15
+
16
+ ## 0.27.0 - 2026-10-30
17
+
18
+ **Highlights:** Use `dirMode: "preserve"` for shared workspaces to keep verified existing write parents unchanged while creating new directories at `0700`. ([#1050](https://github.com/openclaw/fs-safe/pull/1050))
19
+
20
+ ### Features
21
+
22
+ - **Directory modes:** add `dirMode: "preserve"` to keep verified existing write parents unchanged while creating new directories at `0700`. Thanks @rbartoli for the OpenClaw PR motivated by [openclaw/openclaw#184867](https://github.com/openclaw/openclaw/issues/184867). ([#1050](https://github.com/openclaw/fs-safe/pull/1050))
23
+
24
+ ## 0.26.15 - 2026-10-30
25
+
26
+ **Highlights:** Awaited authority checks for borrowed-handle overwrites, so callers can move currentness checks off the main thread. ([#1049](https://github.com/openclaw/fs-safe/pull/1049))
27
+
28
+ ### Features
29
+
30
+ - **In-place writes:** add `overwriteFileHandleWithAuthority` for awaited authority preparation followed by a synchronous final assertion before writing a borrowed handle. Existing `overwriteFileHandle` behavior is unchanged. ([#1049](https://github.com/openclaw/fs-safe/pull/1049))
31
+
32
+ ### Performance
33
+
34
+ - **Watch hint admission:** reduce repeated admission of unrelated canonical parents within a batch while retaining per-hint identity checks and conservative alias reconciliation. Thanks @wr-web for reporting [openclaw#186752](https://github.com/openclaw/openclaw/issues/186752) and @DonnieFi for [#1046](https://github.com/openclaw/fs-safe/pull/1046).
35
+
36
+ ## 0.26.14 - 2026-10-30
37
+
38
+ **Highlights:** Clearer errors for denied Root traversal and reliable async file-lock contention. ([#1044](https://github.com/openclaw/fs-safe/pull/1044), [#1045](https://github.com/openclaw/fs-safe/pull/1045))
39
+
40
+ ### Fixes
41
+
42
+ - **Root errors:** report denied path traversal as operational `permission-denied`, preserving the original errno and path instead of implying a path-alias violation. Thanks @LiuwqGit for [openclaw/openclaw#184115](https://github.com/openclaw/openclaw/issues/184115). ([#1044](https://github.com/openclaw/fs-safe/pull/1044))
43
+ - **File lock contention:** use the admitted record's timestamp for async stale detection so ordinary owner release and re-creation do not trigger spurious `path-mismatch` failures. ([#1045](https://github.com/openclaw/fs-safe/pull/1045))
44
+
45
+ ### Security
46
+
47
+ - **Archive dependencies:** update zstd to 0.14.3, zstd-safe to 8.2.0, and zstd-sys to 2.1.2 for native and WASM archive builds, retaining the custom WASM allocator and allocation-failure checks. ([#1039](https://github.com/openclaw/fs-safe/pull/1039))
4
48
 
5
49
  ## 0.26.13 - 2026-10-24
6
50
 
@@ -221,6 +221,10 @@ mutation authority, and publication receipts. Retained lifecycles have separate
221
221
  contracts: [staged files](docs/staged-file.md), [entry publication](docs/entry-publication.md),
222
222
  and [staged symlinks](docs/staged-symlink.md).
223
223
 
224
+ For a shared parent, pass `dirMode: "preserve"`: verified existing directories
225
+ keep their permissions without chmod, while directories created by the write
226
+ finish at `0o700`. Omission retains the existing parent-tightening default.
227
+
224
228
  ## External outputs
225
229
 
226
230
  Use `writeExternalFileWithinRoot()` when a browser download, renderer, media
@@ -4,7 +4,7 @@ import path from "node:path";
4
4
  import { assertDirectoryGuard, captureDirectoryGuard, } from "./directory-guard.js";
5
5
  import { FsSafeError } from "./errors.js";
6
6
  import { pathExists } from "./fs.js";
7
- import { realpathSync } from "./realpath.js";
7
+ import { realpathNative, realpathSync } from "./realpath.js";
8
8
  import { resolveRootPath } from "./root-path.js";
9
9
  import { assertNoWindowsPathAlias, pathForWindowsFilesystem, resolvePathPreservingWindowsRoot, } from "./windows-path-alias.js";
10
10
  function resolveSymlinkPolicy(policy) {
@@ -263,7 +263,7 @@ export async function resolveAbsolutePathForRead(filePath, options = {}) {
263
263
  const normalized = assertAbsolutePathInput(filePath);
264
264
  let canonicalPath;
265
265
  try {
266
- canonicalPath = realpathSync.native(pathForWindowsFilesystem(normalized));
266
+ canonicalPath = await realpathNative(pathForWindowsFilesystem(normalized));
267
267
  assertNoWindowsPathAlias(canonicalPath);
268
268
  }
269
269
  catch (err) {
@@ -3,9 +3,9 @@ export { createAsyncLock } from "./async-lock.js";
3
3
  export { createDirectory, createDirectorySync, createFileSync, type CreateDirectoryOptions, type CreateFileOptions, type OwnedFileDescriptorSync, } from "./create.js";
4
4
  export { copyFileHandle, copyFileDescriptorSync, type CopyFileHandleOptions } from "./file-handle-transfer.js";
5
5
  export { sameFileContentsSync, type SameFileContentsOptions } from "./file-contents.js";
6
- export { overwriteFileHandle, type OverwriteFileHandleOptions } from "./overwrite-file-handle.js";
6
+ export { overwriteFileHandle, overwriteFileHandleWithAuthority, type OverwriteFileHandleOptions } from "./overwrite-file-handle.js";
7
7
  export { probePathCaseInsensitiveSync, type ProbePathCaseOptions } from "./path-case.js";
8
- export { resolvePathPrefixSync, type ResolvedPathPrefix } from "./path-prefix.js";
8
+ export { resolvePathPrefix, resolvePathPrefixSync, type ResolvedPathPrefix } from "./path-prefix.js";
9
9
  export { probePathSuffixAliasesSync, type ProbePathSuffixAliasesOptions } from "./path-suffix-aliases.js";
10
10
  export { readDirectoryIdentity, assertDirectoryIdentitySync, type DirectoryIdentity, } from "./directory-guard.js";
11
11
  export { stageFileInDirectory, } from "./native-staged-file.js";
@@ -6,9 +6,9 @@ export { createAsyncLock } from "./async-lock.js";
6
6
  export { createDirectory, createDirectorySync, createFileSync, } from "./create.js";
7
7
  export { copyFileHandle, copyFileDescriptorSync } from "./file-handle-transfer.js";
8
8
  export { sameFileContentsSync } from "./file-contents.js";
9
- export { overwriteFileHandle } from "./overwrite-file-handle.js";
9
+ export { overwriteFileHandle, overwriteFileHandleWithAuthority } from "./overwrite-file-handle.js";
10
10
  export { probePathCaseInsensitiveSync } from "./path-case.js";
11
- export { resolvePathPrefixSync } from "./path-prefix.js";
11
+ export { resolvePathPrefix, resolvePathPrefixSync } from "./path-prefix.js";
12
12
  export { probePathSuffixAliasesSync } from "./path-suffix-aliases.js";
13
13
  export { readDirectoryIdentity, assertDirectoryIdentitySync, } from "./directory-guard.js";
14
14
  export { stageFileInDirectory, } from "./native-staged-file.js";
@@ -22,6 +22,7 @@ export declare class AtomicIo {
22
22
  lstat(pathname: string): Procedure<Stats>;
23
23
  lstatExact(pathname: string, synchronousBuiltin?: boolean): BigIntStats | Promise<BigIntStats>;
24
24
  mkdir(directory: string, mode: number): Procedure<void>;
25
+ mkdirExclusive(directory: string, mode: number): Procedure<void>;
25
26
  rename(source: string, destination: string): Procedure<void>;
26
27
  remove(pathname: string): Procedure<void>;
27
28
  unlink(pathname: string): Procedure<void>;
@@ -115,6 +115,12 @@ export class AtomicIo {
115
115
  this.syncFs.mkdirSync(pathname, { recursive: true, mode });
116
116
  }
117
117
  }
118
+ *mkdirExclusive(directory, mode) {
119
+ if (this.asyncFs)
120
+ yield* wait(this.asyncFs.mkdir(directory, { recursive: false, mode }));
121
+ else
122
+ this.syncFs.mkdirSync(directory, { recursive: false, mode });
123
+ }
118
124
  *rename(source, destination) {
119
125
  if (this.asyncFs)
120
126
  yield* wait(this.asyncFs.rename(source, destination));
@@ -1,5 +1,6 @@
1
1
  export { replaceFileAtomic, replaceFileAtomicSync, type ReplaceFileAtomicFileSystem, type ReplaceFileAtomicOptions, type ReplaceFileAtomicResult, type ReplaceFileAtomicDestinationState, type ReplaceFileAtomicSyncFileSystem, type ReplaceFileAtomicSyncOptions, } from "./replace-file.js";
2
2
  export type { RenameIdentityPolicy } from "./pinned-write-types.js";
3
+ export type { DirectoryMode } from "./directory-mode-options.js";
3
4
  export type { ReplaceFileAtomicRestoreCleanup, ReplaceFileAtomicRestoreFailureDetails, ReplaceFileCopyFallbackRestorePolicy, ReplaceFileDestinationHardlinkPolicy, } from "./replace-file-copy-fallback.js";
4
5
  export { writeTextAtomic, type WriteTextAtomicOptions } from "./text-atomic.js";
5
6
  export { replaceDirectoryAtomic, type ReplaceDirectoryAtomicOptions } from "./replace-directory.js";
@@ -10,6 +10,11 @@ export type DirectoryModeOwner = {
10
10
  close(): Promise<void>;
11
11
  };
12
12
  export declare function assertOwnedDirectory(expected: Stats | BigIntStats, actual: Stats | BigIntStats): void;
13
+ /** The caller retains a verified native mkdir receipt and owns the descriptor lifetime. */
14
+ export declare function finalizeCreatedDirectoryModeSync(child: {
15
+ fd: number;
16
+ created: boolean;
17
+ }, mode: number | undefined): void;
13
18
  /** Serializes use and close: even a queued path-based fd operation retains its descriptor. */
14
19
  export declare function ownDirectoryMode(params: {
15
20
  inspect: () => Promise<number>;
@@ -14,6 +14,19 @@ export function assertOwnedDirectory(expected, actual) {
14
14
  throw new FsSafeError("path-mismatch", "directory changed before its mode could be applied");
15
15
  }
16
16
  }
17
+ /** The caller retains a verified native mkdir receipt and owns the descriptor lifetime. */
18
+ export function finalizeCreatedDirectoryModeSync(child, mode) {
19
+ if (mode === undefined || !child.created || process.platform === "win32")
20
+ return;
21
+ const expected = inspectFileIdentitySync(() => fsSync.fstatSync(child.fd, { bigint: true }));
22
+ assertOwnedDirectory(expected, expected);
23
+ fsSync.fchmodSync(child.fd, mode & 0o7777);
24
+ const finalized = inspectFileIdentitySync(() => fsSync.fstatSync(child.fd, { bigint: true }), expected);
25
+ assertOwnedDirectory(expected, finalized);
26
+ if ((finalized.mode & 4095n) !== BigInt(mode & 0o7777)) {
27
+ throw new FsSafeError("path-mismatch", "created directory mode could not be finalized");
28
+ }
29
+ }
17
30
  /** Serializes use and close: even a queued path-based fd operation retains its descriptor. */
18
31
  export function ownDirectoryMode(params) {
19
32
  let pending = Promise.resolve();
@@ -0,0 +1,3 @@
1
+ /** Preserve verified existing directories; finalize exclusively created directories at 0700. */
2
+ export type DirectoryMode = number | "preserve";
3
+ export declare function rejectPrivateDirectoryPreservation(mode: DirectoryMode | undefined): asserts mode is number | undefined;
@@ -0,0 +1,6 @@
1
+ import { FsSafeError } from "./errors.js";
2
+ export function rejectPrivateDirectoryPreservation(mode) {
3
+ if (mode === "preserve") {
4
+ throw new FsSafeError("invalid-path", "Private directories require an explicit numeric dirMode; preservation is not supported.");
5
+ }
6
+ }
@@ -1,7 +1,7 @@
1
1
  export type FsSafeErrorCode = (typeof OPERATIONAL_CODE_VALUES)[number] | "already-exists" | "denied-path" | "device-path" | "hardlink" | "invalid-path" | "insecure-permissions" | "not-file" | "not-owned" | "outside-workspace" | "path-alias" | "path-mismatch" | "secret-exists" | "store-reentrant-update" | "symlink" | "too-large";
2
2
  export type FsSafeErrorCategory = "policy" | "operational";
3
3
  export type FsSafeErrorDetails = Readonly<Record<string, unknown>>;
4
- declare const OPERATIONAL_CODE_VALUES: readonly ["helper-failed", "helper-unavailable", "not-empty", "not-found", "not-removable", "permission-unverified", "read-failed", "timeout", "unsupported-platform"];
4
+ declare const OPERATIONAL_CODE_VALUES: readonly ["helper-failed", "helper-unavailable", "not-empty", "not-found", "not-removable", "permission-denied", "permission-unverified", "read-failed", "timeout", "unsupported-platform"];
5
5
  export declare function categorizeFsSafeError(code: FsSafeErrorCode): FsSafeErrorCategory;
6
6
  export declare class FsSafeError extends Error {
7
7
  readonly code: FsSafeErrorCode;
@@ -4,6 +4,7 @@ const OPERATIONAL_CODE_VALUES = [
4
4
  "not-empty",
5
5
  "not-found",
6
6
  "not-removable",
7
+ "permission-denied",
7
8
  "permission-unverified",
8
9
  "read-failed",
9
10
  "timeout",
@@ -12,6 +12,5 @@ export type SyncHeldLock = {
12
12
  export declare function foreignSyncHeldLock(route: "raw" | "root", target: string): object | undefined;
13
13
  export declare function getSyncHeldLocks(): Map<string, SyncHeldLock>;
14
14
  export declare function getSyncLockAdmissions(): Map<string, object>;
15
- export declare function defaultSyncShouldReclaim(snapshot: SidecarLockSnapshot, staleMs: number, nowMs: number): boolean;
16
15
  export declare function syncReclaimGuardExists(reclaimGuardPath: string): boolean;
17
16
  export declare function ensureSyncLockExitCleanupRegistered(cleanup: () => void, lockPath: string, normalizedTargetPath: string): void;
@@ -1,5 +1,5 @@
1
1
  import fs from "node:fs";
2
- import { sidecarLockPayloadCreatedAtMs, sidecarLockTimeout } from "./sidecar-lock-policy.js";
2
+ import { sidecarLockTimeout } from "./sidecar-lock-policy.js";
3
3
  import { ensureSidecarLockCleanupRegistered } from "./sidecar-lock-registration.js";
4
4
  const SYNC_HELD_LOCKS_KEY = Symbol.for("fsSafe.syncSidecarLocks");
5
5
  const SYNC_ADMISSIONS_KEY = Symbol.for("fsSafe.syncSidecarLockAdmissions");
@@ -26,16 +26,6 @@ export function getSyncLockAdmissions() {
26
26
  }
27
27
  return globalWithState[SYNC_ADMISSIONS_KEY];
28
28
  }
29
- export function defaultSyncShouldReclaim(snapshot, staleMs, nowMs) {
30
- const createdAtMs = sidecarLockPayloadCreatedAtMs(snapshot.payload);
31
- if (createdAtMs !== null)
32
- return nowMs - createdAtMs > staleMs;
33
- if (!snapshot.stat)
34
- return true;
35
- const mtimeMs = "mtimeNs" in snapshot.stat
36
- ? Number(snapshot.stat.mtimeNs) / 1e6 : snapshot.stat.mtimeMs;
37
- return nowMs - mtimeMs > staleMs;
38
- }
39
29
  export function syncReclaimGuardExists(reclaimGuardPath) {
40
30
  try {
41
31
  return fs.lstatSync(reclaimGuardPath, { throwIfNoEntry: false }) !== undefined;
@@ -2,8 +2,8 @@ import fs from "node:fs";
2
2
  import path from "node:path";
3
3
  import { FsSafeError } from "./errors.js";
4
4
  import { captureRootSyncAcquireOptions } from "./file-lock-sync-root-options.js";
5
- import { defaultSyncShouldReclaim, foreignSyncHeldLock } from "./file-lock-sync-admission.js";
6
- import { isTransientLockFileDenial, sidecarLockStale } from "./sidecar-lock-policy.js";
5
+ import { foreignSyncHeldLock } from "./file-lock-sync-admission.js";
6
+ import { defaultSidecarLockShouldReclaim, isTransientLockFileDenial, sidecarLockStale } from "./sidecar-lock-policy.js";
7
7
  import { serializeSidecarLockPayload, } from "./sidecar-lock-reclaim.js";
8
8
  import { createSuppressedError } from "./suppressed-error.js";
9
9
  import { SyncLockAcquisition } from "./file-lock-sync-acquisition.js";
@@ -287,7 +287,7 @@ export function acquireFileLockSyncWithRoot(targetPath, inputOptions, lockRoot)
287
287
  }
288
288
  }
289
289
  else {
290
- reclaim = defaultSyncShouldReclaim(snapshot, options.staleMs, nowMs);
290
+ reclaim = defaultSidecarLockShouldReclaim(snapshot, options.staleMs, nowMs);
291
291
  }
292
292
  if (reclaim) {
293
293
  if (options.staleRecovery === "remove-if-unchanged" &&
@@ -1,8 +1,7 @@
1
1
  import fs from "node:fs";
2
- import { defaultSyncShouldReclaim } from "./file-lock-sync-admission.js";
3
2
  import { parseSidecarLockSnapshot, readSidecarLockRawSnapshotSync, removeSidecarLockIfUnchangedSync, } from "./sidecar-lock-reclaim.js";
4
3
  import { assertSynchronousCallbackResult } from "./mutation-authority.js";
5
- import { sidecarLockStale } from "./sidecar-lock-policy.js";
4
+ import { defaultSidecarLockShouldReclaim, sidecarLockStale } from "./sidecar-lock-policy.js";
6
5
  /** Handle one exclusive-create conflict without surrendering canonical admission. */
7
6
  export function handleSyncStaleAdmission(acquisition, params) {
8
7
  const holderChanged = {};
@@ -109,7 +108,7 @@ export function handleSyncStaleAdmission(acquisition, params) {
109
108
  nowMs,
110
109
  heldByThisProcess: false,
111
110
  }])
112
- : defaultSyncShouldReclaim(snapshot, params.staleMs, nowMs);
111
+ : defaultSidecarLockShouldReclaim(snapshot, params.staleMs, nowMs);
113
112
  assertSynchronousCallbackResult(reclaim, "shouldReclaim");
114
113
  }
115
114
  finally {
@@ -3,10 +3,10 @@ import { ensureSyncStoreDirectory, type SyncStoreDirectoryReceipt } from "./file
3
3
  import { type Root } from "./root.js";
4
4
  import { prepareSecretFileWrite } from "./secret-file.js";
5
5
  export type SyncParentGuard = SyncStoreDirectoryReceipt;
6
- export declare function ensureParentInRoot(scopedRoot: Root, relativePath: string, mode: number): Promise<void>;
6
+ export declare function ensureParentInRoot(scopedRoot: Root, relativePath: string, mode: number | "preserve"): Promise<void>;
7
7
  export declare function openWritableStoreRoot(params: {
8
8
  rootDir: string;
9
- dirMode: number;
9
+ dirMode: number | "preserve";
10
10
  maxBytes?: number;
11
11
  }): Promise<Root>;
12
12
  export declare function openPrivateStoreLockRoot(params: Parameters<typeof prepareSecretFileWrite>[0]): Promise<Root>;
@@ -21,7 +21,7 @@ export declare function writeStreamToTempSource(params: {
21
21
  export declare function ensureParentSync(params: {
22
22
  rootDir: string;
23
23
  filePath: string;
24
- mode: number;
24
+ mode: number | "preserve";
25
25
  }): SyncParentGuard;
26
26
  export declare function ensureStoreDirectorySync(params: Parameters<typeof ensureSyncStoreDirectory>[0]): SyncParentGuard;
27
27
  export declare function literalStoreRootPath(relativePath: string): string;
@@ -11,6 +11,13 @@ import { rootFromDirectoryGuard } from "./root-impl.js";
11
11
  import { prepareSecretFileWrite } from "./secret-file.js";
12
12
  import { resolveSecureTempRoot } from "./secure-temp-dir.js";
13
13
  import { recursiveMkdirPath } from "./recursive-mkdir-path.js";
14
+ import { AtomicIo, runAsync } from "./atomic-io.js";
15
+ import { prepareDirectoryMode } from "./prepare-directory-mode.js";
16
+ import { mkdirPathComponentsWithGuards } from "./guarded-mkdir.js";
17
+ import { rootHandleContext } from "./root-handle-context.js";
18
+ import { isFsSafeNativeRequired } from "./native-config.js";
19
+ import { tryMkdirNativeDirectChild } from "./root-create-native.js";
20
+ import { tryMkdirNativeParents } from "./root-mkdir-native.js";
14
21
  import { readRegularFile } from "./regular-file.js";
15
22
  import { assertExclusiveCreateLeaf } from "./exclusive-create.js";
16
23
  import { errorCauseOptions } from "./root-errors.js";
@@ -20,13 +27,32 @@ export async function ensureParentInRoot(scopedRoot, relativePath, mode) {
20
27
  if (parent === ".") {
21
28
  return;
22
29
  }
23
- await scopedRoot.mkdir(parent);
24
- await chmodDirectoryInRootBestEffort(scopedRoot, parent, mode).catch(() => undefined);
30
+ if (mode === "preserve") {
31
+ const context = rootHandleContext(scopedRoot);
32
+ const relativeParent = path.posix.dirname(relativePath);
33
+ if (isFsSafeNativeRequired() && (tryMkdirNativeDirectChild(context, relativeParent, 0o700) ||
34
+ tryMkdirNativeParents(context, relativeParent, 0o700)))
35
+ return;
36
+ await mkdirPathComponentsWithGuards({
37
+ rootReal: context.rootReal, rootIdentity: context.rootIdentity,
38
+ targetPath: path.join(context.rootReal, parent),
39
+ mode: 0o700, finalizeCreatedMode: true, rejectSymlinks: true,
40
+ });
41
+ }
42
+ else {
43
+ await scopedRoot.mkdir(parent);
44
+ await chmodDirectoryInRootBestEffort(scopedRoot, parent, mode).catch(() => undefined);
45
+ }
25
46
  }
26
47
  export async function openWritableStoreRoot(params) {
27
48
  assertNoWindowsPathAlias(params.rootDir, "filesystem", "store root uses a Windows filesystem namespace alias");
28
- await fs.mkdir(recursiveMkdirPath(params.rootDir), { recursive: true, mode: params.dirMode });
29
- await fs.chmod(params.rootDir, params.dirMode).catch(() => undefined);
49
+ if (params.dirMode === "preserve") {
50
+ await runAsync(prepareDirectoryMode(AtomicIo.async(fs), { dirPath: params.rootDir, mode: "preserve" }));
51
+ }
52
+ else {
53
+ await fs.mkdir(recursiveMkdirPath(params.rootDir), { recursive: true, mode: params.dirMode });
54
+ await fs.chmod(params.rootDir, params.dirMode).catch(() => undefined);
55
+ }
30
56
  return await root(params.rootDir, { hardlinks: "reject", maxBytes: params.maxBytes });
31
57
  }
32
58
  export async function openPrivateStoreLockRoot(params) {
@@ -6,6 +6,6 @@ export type FileStorePruneOptions = {
6
6
  };
7
7
  export declare function pruneExpiredStoreEntries(params: {
8
8
  rootDir: string;
9
- dirMode: number;
9
+ dirMode: number | "preserve";
10
10
  options: FileStorePruneOptions;
11
11
  }): Promise<void>;