@openclaw/matrix 2026.9.6 → 2026.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/icon.png +0 -0
- package/dist/.setup/account-selection-B7axQ80R.mjs +196 -0
- package/dist/.setup/accounts-WkgrIxMt.mjs +138 -0
- package/dist/.setup/approval-handler.runtime-C-pw3NvY.mjs +408 -0
- package/dist/.setup/approval-reactions-BrS5ECU0.mjs +196 -0
- package/dist/.setup/channel-DXenXmj0.mjs +1198 -0
- package/dist/.setup/channel.runtime-BXUawOno.mjs +71 -0
- package/dist/.setup/channel.setup-DWfLaXqT.mjs +372 -0
- package/dist/.setup/cli-IhZO2OEj.mjs +1300 -0
- package/dist/.setup/cli-metadata-nowEgdY0.mjs +22 -0
- package/dist/.setup/client-BXATebyo.mjs +27 -0
- package/dist/.setup/client-Ccv77kwh.mjs +916 -0
- package/dist/.setup/client-bootstrap-BiHX55is.mjs +75 -0
- package/dist/.setup/config-update-5m1Un5gJ.mjs +145 -0
- package/dist/.setup/create-client-DRZ580E3.mjs +64 -0
- package/dist/.setup/credentials-C9qDO5-2.mjs +74 -0
- package/dist/.setup/credentials-read-KD4o5biZ.mjs +77 -0
- package/dist/.setup/crypto-runtime-DPjIDF8H.mjs +1077 -0
- package/dist/.setup/crypto-snapshot-doctor.runtime-44FrCPR7.mjs +91 -0
- package/dist/.setup/deps-CLQ4EOq7.mjs +162 -0
- package/dist/.setup/device-health-U-yoVjPw.mjs +21 -0
- package/dist/.setup/direct-management-Cn2t8n1V.mjs +300 -0
- package/dist/.setup/directory-live-_sw-Q7KO.mjs +118 -0
- package/dist/.setup/doctor-DMvEBx6o.mjs +49 -0
- package/dist/.setup/doctor-contract-De6geW0h.mjs +350 -0
- package/dist/.setup/draft-stream-CdVMstpR.mjs +157 -0
- package/dist/.setup/encryption-guidance-B6797jNA.mjs +16 -0
- package/dist/.setup/exec-approvals-fsiMQ1ce.mjs +186 -0
- package/dist/.setup/file-sync-store-B-9bMb_O.mjs +187 -0
- package/dist/.setup/http-client-C1XvVD3K.mjs +362 -0
- package/dist/.setup/idb-persistence-DBvfre1X.mjs +227 -0
- package/dist/.setup/idb-persistence-lock-D_mDu4Cf.mjs +27 -0
- package/dist/.setup/inbound-dedupe-BGrMrTTu.mjs +48 -0
- package/dist/.setup/joined-room-encryption-TZoOKXgh.mjs +67 -0
- package/dist/.setup/logger-CVv56jzH.mjs +74 -0
- package/dist/.setup/logging-mhnFQGzB.mjs +96 -0
- package/dist/.setup/messages-Buz27pi5.mjs +324 -0
- package/dist/.setup/monitor-BBg5qgov.mjs +4352 -0
- package/dist/.setup/onboarding-hJaieQj5.mjs +482 -0
- package/dist/.setup/outbound-C9vBijaH.mjs +199 -0
- package/dist/.setup/profile-B3DD2jYa.mjs +100 -0
- package/dist/.setup/profile-update-CmxIAd4c.mjs +66 -0
- package/dist/.setup/reaction-events-mnzc_JvP.mjs +168 -0
- package/dist/.setup/resolve-targets-BFq3q4c9.mjs +87 -0
- package/dist/.setup/room-info-BbTGRJcR.mjs +134 -0
- package/dist/.setup/sdk-DmRVM0VA.mjs +1907 -0
- package/dist/.setup/send-GOF64QRc.mjs +2117 -0
- package/dist/.setup/send-currentness-C2rMVVIQ.mjs +87 -0
- package/dist/.setup/setup-bootstrap-AzalcuCW.mjs +62 -0
- package/dist/.setup/setup-core-BeifoeL4.mjs +377 -0
- package/dist/.setup/setup-plugin-api-Bsbdw41x.mjs +3 -0
- package/dist/.setup/startup-verification-Aiy_xVdI.mjs +204 -0
- package/dist/.setup/storage-BXS2cB2i.mjs +288 -0
- package/dist/.setup/storage-metadata-BDRZ7vpX.mjs +371 -0
- package/dist/.setup/storage-paths-B51JM-pC.mjs +53 -0
- package/dist/.setup/subagent-hooks-D5kd_kzN.mjs +52 -0
- package/dist/.setup/sync-cache-state-C6sEmvJK.mjs +192 -0
- package/dist/.setup/thread-bindings-jXu_9cHE.mjs +443 -0
- package/dist/.setup/thread-bindings-shared-hxKkYC1W.mjs +89 -0
- package/dist/.setup/tool-actions-Ce7Okg6m.mjs +746 -0
- package/dist/.setup/url-validation-CF6pG6eE.mjs +36 -0
- package/dist/.setup/verification-C45rOZkM.mjs +329 -0
- package/dist/api.js +7 -7
- package/dist/channel-plugin-api.js +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/contract-api.js +2 -2
- package/dist/doctor-contract-api.js +142 -288
- package/dist/helper-api.js +2 -2
- package/dist/index.js +1 -1
- package/dist/plugin-entry.handlers.runtime.js +17 -9
- package/dist/runtime-api.js +4 -4
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/setup-entry.js +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/thread-bindings-runtime.js +1 -1
- package/node_modules/@openclaw/fs-safe/CHANGELOG.md +1289 -0
- package/node_modules/@openclaw/fs-safe/LICENSE +22 -0
- package/node_modules/@openclaw/fs-safe/README.md +672 -0
- package/node_modules/@openclaw/fs-safe/SECURITY.md +45 -0
- package/node_modules/@openclaw/fs-safe/dist/absolute-path.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +323 -0
- package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +41 -0
- package/node_modules/@openclaw/fs-safe/dist/advanced.js +40 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-crc32.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-crc32.js +19 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-deadline.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-deadline.js +101 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-durability.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +180 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-entry.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-entry.js +85 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-errors.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-errors.js +23 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.js +99 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-input.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-input.js +98 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-kind.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-kind.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-limits.d.ts +56 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-limits.js +131 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-merge.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +282 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.js +12 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-plan.d.ts +85 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-plan.js +119 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-read.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-read.js +234 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +308 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.d.ts +27 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.js +127 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.js +203 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.js +96 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.js +160 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.d.ts +21 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.js +267 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.js +10 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.js +150 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.js +24 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.js +149 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.js +21 -0
- package/node_modules/@openclaw/fs-safe/dist/archive.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/archive.js +332 -0
- package/node_modules/@openclaw/fs-safe/dist/async-lock.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/async-lock.js +17 -0
- package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/atomic.js +4 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.js +15 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/bounded-read.js +143 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-budget.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-budget.js +9 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-view.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/byte-view.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/clone-metadata.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/clone-metadata.js +36 -0
- package/node_modules/@openclaw/fs-safe/dist/config.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/config.js +2 -0
- package/node_modules/@openclaw/fs-safe/dist/containment.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-file-input.d.ts +21 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-file-input.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-policy.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-policy.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-publication.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-publication.js +29 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.js +245 -0
- package/node_modules/@openclaw/fs-safe/dist/copy.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/copy.js +143 -0
- package/node_modules/@openclaw/fs-safe/dist/create-owned-file.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/create-owned-file.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/create.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/create.js +388 -0
- package/node_modules/@openclaw/fs-safe/dist/creation-boundary.d.ts +60 -0
- package/node_modules/@openclaw/fs-safe/dist/creation-boundary.js +371 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutations.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/deny-mutations.js +96 -0
- package/node_modules/@openclaw/fs-safe/dist/device-path.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/device-path.js +139 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-durability.d.ts +43 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-durability.js +286 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.js +21 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-guard.d.ts +54 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-guard.js +176 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +285 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-receipt.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/directory-receipt.js +121 -0
- package/node_modules/@openclaw/fs-safe/dist/durability.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/durability.js +3 -0
- package/node_modules/@openclaw/fs-safe/dist/effective-uid.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/effective-uid.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/error-detail.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/error-detail.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/errors.js +27 -0
- package/node_modules/@openclaw/fs-safe/dist/file-cleanup.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/file-cleanup.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/file-contents.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/file-contents.js +40 -0
- package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.js +190 -0
- package/node_modules/@openclaw/fs-safe/dist/file-hash.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/file-hash.js +296 -0
- package/node_modules/@openclaw/fs-safe/dist/file-identity.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/file-identity.js +56 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.js +98 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +58 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +303 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +66 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.js +392 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.d.ts +40 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.js +209 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.js +275 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.js +58 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.js +90 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.js +288 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +199 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.js +341 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock.js +66 -0
- package/node_modules/@openclaw/fs-safe/dist/file-observation.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/file-observation.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +174 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +110 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +319 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +128 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +62 -0
- package/node_modules/@openclaw/fs-safe/dist/file-store.js +360 -0
- package/node_modules/@openclaw/fs-safe/dist/file-sync.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/file-sync.js +19 -0
- package/node_modules/@openclaw/fs-safe/dist/filename.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/filename.js +138 -0
- package/node_modules/@openclaw/fs-safe/dist/fs.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/fs.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +281 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.js +68 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-native-python.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +127 -0
- package/node_modules/@openclaw/fs-safe/dist/guest.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/guest.js +433 -0
- package/node_modules/@openclaw/fs-safe/dist/home-dir.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/home-dir.js +149 -0
- package/node_modules/@openclaw/fs-safe/dist/index.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/index.js +5 -0
- package/node_modules/@openclaw/fs-safe/dist/install-path.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/install-path.js +136 -0
- package/node_modules/@openclaw/fs-safe/dist/json-document-store.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/json-document-store.js +105 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.js +154 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.js +355 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.js +65 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.d.ts +44 -0
- package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.js +210 -0
- package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/json-store.js +15 -0
- package/node_modules/@openclaw/fs-safe/dist/json-stringify.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/json-stringify.js +7 -0
- package/node_modules/@openclaw/fs-safe/dist/json.d.ts +49 -0
- package/node_modules/@openclaw/fs-safe/dist/json.js +323 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-access.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-access.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.js +84 -0
- package/node_modules/@openclaw/fs-safe/dist/local-roots.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/local-roots.js +160 -0
- package/node_modules/@openclaw/fs-safe/dist/lock-config.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/lock-config.js +12 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.d.ts +30 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.js +224 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-stage.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path-stage.js +56 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/move-path.js +390 -0
- package/node_modules/@openclaw/fs-safe/dist/mutation-authority.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/mutation-authority.js +41 -0
- package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +199 -0
- package/node_modules/@openclaw/fs-safe/dist/native-binding.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/native-config.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/native-config.js +71 -0
- package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.js +37 -0
- package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.js +11 -0
- package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/native-operations.js +111 -0
- package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.js +147 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +252 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +478 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.js +61 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.js +209 -0
- package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +45 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +442 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.js +303 -0
- package/node_modules/@openclaw/fs-safe/dist/native.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/native.js +209 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.js +46 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-realpath.d.ts +15 -0
- package/node_modules/@openclaw/fs-safe/dist/opened-realpath.js +102 -0
- package/node_modules/@openclaw/fs-safe/dist/output.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/output.js +139 -0
- package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +46 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.js +54 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.js +64 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/owner-dacl.js +39 -0
- package/node_modules/@openclaw/fs-safe/dist/path-case.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/path-case.js +136 -0
- package/node_modules/@openclaw/fs-safe/dist/path-policy.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/path-policy.js +49 -0
- package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +104 -0
- package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.js +37 -0
- package/node_modules/@openclaw/fs-safe/dist/path-segment-route.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/path-segment-route.js +24 -0
- package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.js +394 -0
- package/node_modules/@openclaw/fs-safe/dist/path.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/path.js +185 -0
- package/node_modules/@openclaw/fs-safe/dist/permission-exec.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +194 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-public.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-public.js +4 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-windows.d.ts +48 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions-windows.js +319 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions.d.ts +52 -0
- package/node_modules/@openclaw/fs-safe/dist/permissions.js +131 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.js +421 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.d.ts +38 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.js +205 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.js +70 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-open.d.ts +30 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-open.js +98 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-operation.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-operation.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +35 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.js +31 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.js +185 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +68 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/pinned-write.js +300 -0
- package/node_modules/@openclaw/fs-safe/dist/positional-read.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/positional-read.js +36 -0
- package/node_modules/@openclaw/fs-safe/dist/private-directory.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/private-directory.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.js +72 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.d.ts +53 -0
- package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.js +358 -0
- package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +341 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.js +60 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.d.ts +27 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file.d.ts +19 -0
- package/node_modules/@openclaw/fs-safe/dist/publish-file.js +332 -0
- package/node_modules/@openclaw/fs-safe/dist/read-open-flags.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/read-open-flags.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/read-opened-file.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/read-opened-file.js +18 -0
- package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/realpath.js +43 -0
- package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.js +8 -0
- package/node_modules/@openclaw/fs-safe/dist/regular-file.d.ts +37 -0
- package/node_modules/@openclaw/fs-safe/dist/regular-file.js +317 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-directory.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-directory.js +275 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.js +36 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.d.ts +32 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +369 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.js +101 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +46 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +168 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.d.ts +21 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.js +123 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.js +10 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.d.ts +26 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.js +47 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.js +30 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.d.ts +49 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.js +368 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +55 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/replace-file.js +356 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.d.ts +26 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.js +193 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file-types.d.ts +50 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/retained-file.js +121 -0
- package/node_modules/@openclaw/fs-safe/dist/root-boundary.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/root-boundary.js +186 -0
- package/node_modules/@openclaw/fs-safe/dist/root-context.d.ts +43 -0
- package/node_modules/@openclaw/fs-safe/dist/root-context.js +233 -0
- package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +93 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.js +225 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +28 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +46 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +433 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory.js +141 -0
- package/node_modules/@openclaw/fs-safe/dist/root-entries.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/root-entries.js +61 -0
- package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-errors.js +92 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.js +81 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file.d.ts +46 -0
- package/node_modules/@openclaw/fs-safe/dist/root-file.js +205 -0
- package/node_modules/@openclaw/fs-safe/dist/root-handle-context.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/root-handle-context.js +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-impl.d.ts +117 -0
- package/node_modules/@openclaw/fs-safe/dist/root-impl.js +1446 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.js +205 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-observed-path.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/root-observed-path.js +90 -0
- package/node_modules/@openclaw/fs-safe/dist/root-options.d.ts +84 -0
- package/node_modules/@openclaw/fs-safe/dist/root-options.js +18 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-errors.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-errors.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +160 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-observation.d.ts +55 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-observation.js +180 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-stat.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path-stat.js +151 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path.d.ts +53 -0
- package/node_modules/@openclaw/fs-safe/dist/root-path.js +440 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.js +22 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths.d.ts +58 -0
- package/node_modules/@openclaw/fs-safe/dist/root-paths.js +296 -0
- package/node_modules/@openclaw/fs-safe/dist/root-public-types.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/root-public-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/root-read-admission.d.ts +25 -0
- package/node_modules/@openclaw/fs-safe/dist/root-read-admission.js +86 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.js +87 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.js +37 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/root-remove.js +464 -0
- package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.js +34 -0
- package/node_modules/@openclaw/fs-safe/dist/root-walk.d.ts +48 -0
- package/node_modules/@openclaw/fs-safe/dist/root-walk.js +234 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-admission.d.ts +65 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +299 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.js +23 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.d.ts +43 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.js +180 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.js +162 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-mode.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-mode.js +72 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-publication.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-publication.js +85 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +95 -0
- package/node_modules/@openclaw/fs-safe/dist/root.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/root.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.d.ts +12 -0
- package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.js +80 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-file.js +333 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-async.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-async.js +58 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.js +68 -0
- package/node_modules/@openclaw/fs-safe/dist/secret.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/secret.js +3 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.js +79 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file.d.ts +31 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-file.js +298 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.d.ts +29 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +176 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.js +110 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +301 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +28 -0
- package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +132 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +442 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.d.ts +18 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.js +60 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.d.ts +41 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.js +113 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +31 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.d.ts +20 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.js +48 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +113 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.d.ts +67 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.js +374 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.js +47 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.js +79 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.d.ts +34 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +228 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.js +55 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.d.ts +68 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +282 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-directory.d.ts +27 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-directory.js +148 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.d.ts +16 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.js +57 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-types.d.ts +55 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-file-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/stat-observation.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/stat-observation.js +57 -0
- package/node_modules/@openclaw/fs-safe/dist/store.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/store.js +3 -0
- package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.d.ts +7 -0
- package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.js +88 -0
- package/node_modules/@openclaw/fs-safe/dist/string-coerce.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/string-coerce.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/suppressed-error.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/suppressed-error.js +15 -0
- package/node_modules/@openclaw/fs-safe/dist/symlink-parents.d.ts +11 -0
- package/node_modules/@openclaw/fs-safe/dist/symlink-parents.js +109 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.js +88 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-target.d.ts +31 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-target.js +236 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +387 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +23 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +150 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.d.ts +42 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +341 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.js +398 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.js +52 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/temp.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/temp.js +2 -0
- package/node_modules/@openclaw/fs-safe/dist/test-hooks.d.ts +35 -0
- package/node_modules/@openclaw/fs-safe/dist/test-hooks.js +13 -0
- package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/text-atomic.js +18 -0
- package/node_modules/@openclaw/fs-safe/dist/timing.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/timing.js +59 -0
- package/node_modules/@openclaw/fs-safe/dist/trash.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/trash.js +245 -0
- package/node_modules/@openclaw/fs-safe/dist/types.d.ts +22 -0
- package/node_modules/@openclaw/fs-safe/dist/types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/unicode-path.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/unicode-path.js +16 -0
- package/node_modules/@openclaw/fs-safe/dist/walk.d.ts +37 -0
- package/node_modules/@openclaw/fs-safe/dist/walk.js +207 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-alias.d.ts +6 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-alias.js +88 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-hints.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +93 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +36 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-native.js +73 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-scan.d.ts +28 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-scan.js +300 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-stream.d.ts +8 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-stream.js +32 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-types.d.ts +60 -0
- package/node_modules/@openclaw/fs-safe/dist/watch-types.js +1 -0
- package/node_modules/@openclaw/fs-safe/dist/watch.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/watch.js +530 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-command.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-command.js +34 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-owner.d.ts +24 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-owner.js +100 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.d.ts +39 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.js +122 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.d.ts +5 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.js +21 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.cs +336 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.ps1 +90 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-command.d.ts +33 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-command.js +414 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.d.ts +9 -0
- package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.js +112 -0
- package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +13 -0
- package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +49 -0
- package/node_modules/@openclaw/fs-safe/dist/write-open-flags.d.ts +4 -0
- package/node_modules/@openclaw/fs-safe/dist/write-open-flags.js +27 -0
- package/node_modules/@openclaw/fs-safe/dist/write-queue.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/write-queue.js +15 -0
- package/node_modules/@openclaw/fs-safe/docs/advanced.md +271 -0
- package/node_modules/@openclaw/fs-safe/docs/archive.md +859 -0
- package/node_modules/@openclaw/fs-safe/docs/assets/readme-banner.jpg +0 -0
- package/node_modules/@openclaw/fs-safe/docs/atomic.md +611 -0
- package/node_modules/@openclaw/fs-safe/docs/config.md +136 -0
- package/node_modules/@openclaw/fs-safe/docs/contributing.md +360 -0
- package/node_modules/@openclaw/fs-safe/docs/copy.md +199 -0
- package/node_modules/@openclaw/fs-safe/docs/creation.md +132 -0
- package/node_modules/@openclaw/fs-safe/docs/directory-identity.md +85 -0
- package/node_modules/@openclaw/fs-safe/docs/durability.md +445 -0
- package/node_modules/@openclaw/fs-safe/docs/entries.md +109 -0
- package/node_modules/@openclaw/fs-safe/docs/errors.md +240 -0
- package/node_modules/@openclaw/fs-safe/docs/file-contents.md +68 -0
- package/node_modules/@openclaw/fs-safe/docs/file-store.md +369 -0
- package/node_modules/@openclaw/fs-safe/docs/filename.md +110 -0
- package/node_modules/@openclaw/fs-safe/docs/guest.md +152 -0
- package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +81 -0
- package/node_modules/@openclaw/fs-safe/docs/index.md +87 -0
- package/node_modules/@openclaw/fs-safe/docs/install-path.md +216 -0
- package/node_modules/@openclaw/fs-safe/docs/install.md +252 -0
- package/node_modules/@openclaw/fs-safe/docs/json-store.md +240 -0
- package/node_modules/@openclaw/fs-safe/docs/json.md +225 -0
- package/node_modules/@openclaw/fs-safe/docs/local-roots.md +150 -0
- package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +205 -0
- package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.6.md +48 -0
- package/node_modules/@openclaw/fs-safe/docs/mutation-policy-proof.md +69 -0
- package/node_modules/@openclaw/fs-safe/docs/native-helper.md +193 -0
- package/node_modules/@openclaw/fs-safe/docs/native.md +351 -0
- package/node_modules/@openclaw/fs-safe/docs/output.md +193 -0
- package/node_modules/@openclaw/fs-safe/docs/path-case.md +64 -0
- package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +74 -0
- package/node_modules/@openclaw/fs-safe/docs/path-scope.md +159 -0
- package/node_modules/@openclaw/fs-safe/docs/path-suffix-aliases.md +204 -0
- package/node_modules/@openclaw/fs-safe/docs/path.md +219 -0
- package/node_modules/@openclaw/fs-safe/docs/permissions.md +352 -0
- package/node_modules/@openclaw/fs-safe/docs/positional-read.md +63 -0
- package/node_modules/@openclaw/fs-safe/docs/private-file-store.md +68 -0
- package/node_modules/@openclaw/fs-safe/docs/public-api.md +188 -0
- package/node_modules/@openclaw/fs-safe/docs/quickstart.md +154 -0
- package/node_modules/@openclaw/fs-safe/docs/reading.md +196 -0
- package/node_modules/@openclaw/fs-safe/docs/regular-file.md +193 -0
- package/node_modules/@openclaw/fs-safe/docs/retained-file.md +115 -0
- package/node_modules/@openclaw/fs-safe/docs/root.md +571 -0
- package/node_modules/@openclaw/fs-safe/docs/secret-file.md +318 -0
- package/node_modules/@openclaw/fs-safe/docs/secure-file.md +112 -0
- package/node_modules/@openclaw/fs-safe/docs/security-model.md +272 -0
- package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +599 -0
- package/node_modules/@openclaw/fs-safe/docs/staged-file.md +192 -0
- package/node_modules/@openclaw/fs-safe/docs/staged-symlink.md +124 -0
- package/node_modules/@openclaw/fs-safe/docs/store.md +129 -0
- package/node_modules/@openclaw/fs-safe/docs/temp.md +780 -0
- package/node_modules/@openclaw/fs-safe/docs/test-hooks.md +110 -0
- package/node_modules/@openclaw/fs-safe/docs/testing.md +399 -0
- package/node_modules/@openclaw/fs-safe/docs/timing.md +123 -0
- package/node_modules/@openclaw/fs-safe/docs/types.md +217 -0
- package/node_modules/@openclaw/fs-safe/docs/walk.md +283 -0
- package/node_modules/@openclaw/fs-safe/docs/watch.md +251 -0
- package/node_modules/@openclaw/fs-safe/docs/writing.md +662 -0
- package/node_modules/@openclaw/fs-safe/package.json +204 -0
- package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +29 -0
- package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +29 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +32 -0
- package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +29 -0
- package/node_modules/content-type/README.md +81 -0
- package/node_modules/content-type/dist/index.d.ts +54 -0
- package/node_modules/content-type/dist/index.js +291 -0
- package/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/content-type/package.json +61 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/file-type/package.json +275 -0
- package/node_modules/file-type/readme.md +605 -0
- package/node_modules/file-type/source/detectors/zip.js +653 -0
- package/node_modules/immediate/LICENSE.txt +20 -0
- package/node_modules/immediate/README.md +93 -0
- package/node_modules/immediate/dist/immediate.js +75 -0
- package/node_modules/immediate/dist/immediate.min.js +1 -0
- package/node_modules/immediate/lib/browser.js +69 -0
- package/node_modules/immediate/lib/index.js +73 -0
- package/node_modules/immediate/package.json +42 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jszip/.codeclimate.yml +16 -0
- package/node_modules/jszip/.editorconfig +8 -0
- package/node_modules/jszip/.eslintrc.js +43 -0
- package/node_modules/jszip/.github/FUNDING.yml +1 -0
- package/node_modules/jszip/.github/actions/setup/action.yml +23 -0
- package/node_modules/jszip/.github/workflows/benchmark.yml +38 -0
- package/node_modules/jszip/.github/workflows/main.yml +55 -0
- package/node_modules/jszip/CHANGES.md +210 -0
- package/node_modules/jszip/LICENSE.markdown +651 -0
- package/node_modules/jszip/README.markdown +33 -0
- package/node_modules/jszip/dist/jszip.js +11586 -0
- package/node_modules/jszip/dist/jszip.min.js +13 -0
- package/node_modules/jszip/index.d.ts +344 -0
- package/node_modules/jszip/lib/base64.js +106 -0
- package/node_modules/jszip/lib/compressedObject.js +74 -0
- package/node_modules/jszip/lib/compressions.js +14 -0
- package/node_modules/jszip/lib/crc32.js +77 -0
- package/node_modules/jszip/lib/defaults.js +11 -0
- package/node_modules/jszip/lib/external.js +18 -0
- package/node_modules/jszip/lib/flate.js +85 -0
- package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
- package/node_modules/jszip/lib/generate/index.js +57 -0
- package/node_modules/jszip/lib/index.js +55 -0
- package/node_modules/jszip/lib/license_header.js +11 -0
- package/node_modules/jszip/lib/load.js +88 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/node_modules/jszip/lib/object.js +384 -0
- package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
- package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/node_modules/jszip/lib/signature.js +7 -0
- package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
- package/node_modules/jszip/lib/support.js +38 -0
- package/node_modules/jszip/lib/utf8.js +275 -0
- package/node_modules/jszip/lib/utils.js +510 -0
- package/node_modules/jszip/lib/zipEntries.js +261 -0
- package/node_modules/jszip/lib/zipEntry.js +293 -0
- package/node_modules/jszip/lib/zipObject.js +133 -0
- package/node_modules/jszip/package.json +67 -0
- package/node_modules/jszip/sponsors.md +21 -0
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/node_modules/lie/README.md +62 -0
- package/node_modules/lie/dist/lie.js +350 -0
- package/node_modules/lie/dist/lie.min.js +1 -0
- package/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/node_modules/lie/lib/browser.js +273 -0
- package/node_modules/lie/lib/index.js +298 -0
- package/node_modules/lie/license.md +7 -0
- package/node_modules/lie/lie.d.ts +244 -0
- package/node_modules/lie/package.json +69 -0
- package/node_modules/lie/polyfill.js +4 -0
- package/node_modules/matrix-js-sdk/CHANGELOG.md +20 -0
- package/node_modules/matrix-js-sdk/lib/@types/json.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/@types/json.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/client.d.ts +74 -5
- package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/client.js +83 -7
- package/node_modules/matrix-js-sdk/lib/client.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts +42 -23
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js +7 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/embedded.d.ts +35 -1
- package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/embedded.js +49 -1
- package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +0 -1
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.js +3 -22
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/logging.js +46 -0
- package/node_modules/matrix-js-sdk/lib/http-api/logging.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +5 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +82 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +25 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +41 -2
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +59 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +7 -4
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +17 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +68 -29
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts +9 -3
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.js +51 -11
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts +7 -2
- package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/oauth/authorize.js +10 -4
- package/node_modules/matrix-js-sdk/lib/oauth/authorize.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts +17 -0
- package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oauth/fetch.js +47 -0
- package/node_modules/matrix-js-sdk/lib/oauth/fetch.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts +15 -2
- package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/oauth/index.js +33 -12
- package/node_modules/matrix-js-sdk/lib/oauth/index.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +17 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +4 -2
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts +6 -26
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +19 -54
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +65 -27
- package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts +17 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/sliding-sync.js +21 -9
- package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/sync.d.ts +9 -1
- package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/sync.js +54 -29
- package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -1
- package/node_modules/matrix-js-sdk/package.json +5 -5
- package/node_modules/matrix-js-sdk/src/@types/json.ts +11 -2
- package/node_modules/matrix-js-sdk/src/client.ts +126 -11
- package/node_modules/matrix-js-sdk/src/common-crypto/CryptoBackend.ts +45 -23
- package/node_modules/matrix-js-sdk/src/embedded.ts +67 -4
- package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +2 -23
- package/node_modules/matrix-js-sdk/src/http-api/logging.ts +46 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +6 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +86 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +81 -1
- package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +7 -7
- package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +80 -31
- package/node_modules/matrix-js-sdk/src/models/room-receipts.ts +54 -10
- package/node_modules/matrix-js-sdk/src/oauth/authorize.ts +10 -2
- package/node_modules/matrix-js-sdk/src/oauth/fetch.ts +54 -0
- package/node_modules/matrix-js-sdk/src/oauth/index.ts +29 -10
- package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +23 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +25 -67
- package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +73 -33
- package/node_modules/matrix-js-sdk/src/sliding-sync.ts +31 -14
- package/node_modules/matrix-js-sdk/src/sync.ts +58 -35
- package/node_modules/pako/CHANGELOG.md +164 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +191 -0
- package/node_modules/pako/dist/pako.js +6818 -0
- package/node_modules/pako/dist/pako.min.js +1 -0
- package/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +423 -0
- package/node_modules/pako/lib/utils/common.js +105 -0
- package/node_modules/pako/lib/utils/strings.js +187 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +44 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +52 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/setimmediate/LICENSE.txt +20 -0
- package/node_modules/setimmediate/package.json +30 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +31 -0
- package/node_modules/strtok3/lib/types.js +1 -0
- package/node_modules/typebox/build/compile/code.mjs +1 -2
- package/node_modules/typebox/build/compile/validator.mjs +5 -1
- package/node_modules/typebox/build/format/iri.mjs +16 -9
- package/node_modules/typebox/build/guard/emit.mjs +2 -2
- package/node_modules/typebox/build/guard/guard.d.mts +7 -5
- package/node_modules/typebox/build/guard/guard.mjs +14 -9
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
- package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +165 -0
- package/node_modules/typebox/build/schema/build.mjs +2 -3
- package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
- package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
- package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
- package/node_modules/typebox/build/schema/parse.mjs +3 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
- package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
- package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
- package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
- package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
- package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
- package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +3 -1
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/openclaw.plugin.json +24 -0
- package/package.json +8 -6
- package/dist/.setup/account-selection-BHkfU1eC.mjs +0 -212
- package/dist/.setup/accounts-iThMol10.mjs +0 -130
- package/dist/.setup/approval-handler.runtime-9W7R2ZMq.mjs +0 -415
- package/dist/.setup/approval-ids-j08q8LEG.mjs +0 -7
- package/dist/.setup/approval-reaction-auth-DMVE7VSp.mjs +0 -31
- package/dist/.setup/approval-reactions-B0hfA6qz.mjs +0 -196
- package/dist/.setup/channel-ConuJfxT.mjs +0 -1427
- package/dist/.setup/channel.runtime-CnxR2JUK.mjs +0 -71
- package/dist/.setup/channel.setup-C6KvBV8l.mjs +0 -357
- package/dist/.setup/cli-O196sg8g.mjs +0 -1410
- package/dist/.setup/cli-metadata-DFHQj5XR.mjs +0 -22
- package/dist/.setup/client-C2yVkVdw.mjs +0 -27
- package/dist/.setup/client-ChrXpxos.mjs +0 -922
- package/dist/.setup/client-bootstrap-BSnUAoz1.mjs +0 -78
- package/dist/.setup/config-secret-input.runtime-CwsP3--c.mjs +0 -2
- package/dist/.setup/config-update-B_4qZ5bV.mjs +0 -167
- package/dist/.setup/create-client-CHxcron_.mjs +0 -67
- package/dist/.setup/credentials-BGKfiaJW.mjs +0 -85
- package/dist/.setup/credentials-read-Q5sHkkHv.mjs +0 -74
- package/dist/.setup/credentials-write.runtime-DxbXh-pK.mjs +0 -14
- package/dist/.setup/crypto-runtime-D9qn_Pbj.mjs +0 -1138
- package/dist/.setup/crypto-snapshot-doctor.runtime-CMWa1d9Y.mjs +0 -91
- package/dist/.setup/deps-mtxF2mHI.mjs +0 -169
- package/dist/.setup/device-health-CWOuIirq.mjs +0 -21
- package/dist/.setup/direct-management-B2Bno2xL.mjs +0 -346
- package/dist/.setup/directory-live-CxqkcYbT.mjs +0 -153
- package/dist/.setup/doctor-BLCvdOFo.mjs +0 -64
- package/dist/.setup/doctor-contract-HyWFZQVG.mjs +0 -167
- package/dist/.setup/draft-stream-y0Vq5f38.mjs +0 -175
- package/dist/.setup/encryption-guidance-CMWXiBzJ.mjs +0 -16
- package/dist/.setup/file-sync-store-CsalA4yI.mjs +0 -213
- package/dist/.setup/http-client-Bi6uKmzh.mjs +0 -410
- package/dist/.setup/idb-persistence-c8uxcofH.mjs +0 -237
- package/dist/.setup/idb-persistence-lock-B3fZXyF_.mjs +0 -32
- package/dist/.setup/inbound-dedupe-BSlv35xl.mjs +0 -48
- package/dist/.setup/joined-room-encryption-BCtxQ3hR.mjs +0 -67
- package/dist/.setup/logger-xBjiRIp1.mjs +0 -78
- package/dist/.setup/logging-rgm8ep9H.mjs +0 -99
- package/dist/.setup/messages-COuAcrz-.mjs +0 -324
- package/dist/.setup/monitor-CzE3myC_.mjs +0 -4544
- package/dist/.setup/outbound-B508VPBM.mjs +0 -228
- package/dist/.setup/probe.runtime-C-NMeYk2.mjs +0 -2
- package/dist/.setup/profile-ClrB3IgR.mjs +0 -108
- package/dist/.setup/profile-update-DrblJttE.mjs +0 -70
- package/dist/.setup/reaction-events-BvZmhjLC.mjs +0 -168
- package/dist/.setup/resolve-targets-BLz748lX.mjs +0 -140
- package/dist/.setup/resolver.runtime-CuLQ2uHe.mjs +0 -5
- package/dist/.setup/rolldown-runtime-8H4AJuhK.mjs +0 -14
- package/dist/.setup/room-info-DTyP1k5g.mjs +0 -153
- package/dist/.setup/sdk-rqFjgltR.mjs +0 -1949
- package/dist/.setup/send-aVdC5NJO.mjs +0 -2216
- package/dist/.setup/send-currentness-BrGXL7b8.mjs +0 -90
- package/dist/.setup/setup-bootstrap-A_WGFq1Y.mjs +0 -62
- package/dist/.setup/setup-core-D2hMbIi3.mjs +0 -386
- package/dist/.setup/setup-plugin-api-JiRgm8s6.mjs +0 -3
- package/dist/.setup/setup-surface-BL3ha1l-.mjs +0 -482
- package/dist/.setup/startup-verification-Cp1Gf7pM.mjs +0 -233
- package/dist/.setup/storage-BXaFc0S4.mjs +0 -324
- package/dist/.setup/storage-metadata-fHN6Df2m.mjs +0 -372
- package/dist/.setup/storage-paths-DVCANXTc.mjs +0 -53
- package/dist/.setup/subagent-hooks-jFgft_Mr.mjs +0 -52
- package/dist/.setup/sync-cache-state-BMtGMxU1.mjs +0 -227
- package/dist/.setup/thread-bindings-JlnLDfPM.mjs +0 -444
- package/dist/.setup/thread-bindings-shared-oNPiyMWY.mjs +0 -92
- package/dist/.setup/tool-actions.runtime-REzYTNxm.mjs +0 -862
- package/dist/.setup/url-validation-GRHde6lq.mjs +0 -36
- package/dist/.setup/verification-0o8MOW9T.mjs +0 -346
- package/node_modules/matrix-js-sdk/node_modules/content-type/README.md +0 -71
- package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js +0 -176
- package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/matrix-js-sdk/node_modules/content-type/package.json +0 -52
- package/node_modules/music-metadata/node_modules/debug/LICENSE +0 -20
- package/node_modules/music-metadata/node_modules/debug/README.md +0 -481
- package/node_modules/music-metadata/node_modules/debug/package.json +0 -64
- package/node_modules/music-metadata/node_modules/debug/src/browser.js +0 -272
- package/node_modules/music-metadata/node_modules/debug/src/common.js +0 -292
- package/node_modules/music-metadata/node_modules/debug/src/index.js +0 -10
- package/node_modules/music-metadata/node_modules/debug/src/node.js +0 -263
- package/node_modules/music-metadata/node_modules/file-type/package.json +0 -275
- package/node_modules/music-metadata/node_modules/file-type/readme.md +0 -603
- package/node_modules/music-metadata/node_modules/file-type/source/detectors/zip.js +0 -648
- package/node_modules/music-metadata/node_modules/ms/index.js +0 -162
- package/node_modules/music-metadata/node_modules/ms/license.md +0 -21
- package/node_modules/music-metadata/node_modules/ms/package.json +0 -38
- package/node_modules/music-metadata/node_modules/ms/readme.md +0 -59
- package/node_modules/typebox/build/guard/string.mjs +0 -168
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/OverloadYield.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecoratedDescriptor.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecs2311.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayLikeToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithHoles.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithoutHoles.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertClassBrand.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertThisInitialized.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncGeneratorDelegate.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncIterator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncToGenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/awaitAsyncGenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/callSuper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkInRHS.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkPrivateRedeclaration.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classCallCheck.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classNameTDZError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldGet2.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldInitSpec.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseBase.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseKey.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldSet2.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateGetter.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateMethodInitSpec.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateSetter.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classStaticPrivateMethodGet.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/construct.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createClass.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelperLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createSuper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defaults.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineAccessor.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineProperty.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/OverloadYield.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecs2311.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayLikeToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithHoles.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithoutHoles.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertClassBrand.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertThisInitialized.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncIterator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncToGenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/awaitAsyncGenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/callSuper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkInRHS.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classCallCheck.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classNameTDZError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldGet2.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldSet2.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateGetter.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateSetter.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/construct.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createClass.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createSuper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defaults.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineAccessor.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineProperty.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/extends.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/get.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/getPrototypeOf.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/identity.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/importDeferProxy.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inherits.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inheritsLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerDefineProperty.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerWarningHelper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/instanceof.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireDefault.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireWildcard.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeFunction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeReflectConstruct.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArrayLimit.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/jsx.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/maybeArrayLike.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/newArrowCheck.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableRest.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableSpread.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nullishReceiverError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectDestructuringEmpty.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectSpread2.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutProperties.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/possibleConstructorReturn.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/readOnlyError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsync.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncGen.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorDefine.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorKeys.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorValues.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/set.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setFunctionName.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setPrototypeOf.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/slicedToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropBase.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropGet.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropSet.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteral.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tdz.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalRef.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalUndefined.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toConsumableArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPrimitive.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPropertyKey.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toSetter.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/typeof.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/unsupportedIterableToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/usingCtx.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapAsyncGenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapNativeSuper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapRegExp.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/writeOnlyError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/extends.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/get.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/getPrototypeOf.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/identity.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/importDeferProxy.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inherits.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inheritsLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerDefineProperty.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerWarningHelper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/instanceof.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireDefault.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireWildcard.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeFunction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeReflectConstruct.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArrayLimit.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/jsx.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/maybeArrayLike.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/newArrowCheck.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableRest.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableSpread.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nullishReceiverError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectDestructuringEmpty.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectSpread2.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutProperties.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutPropertiesLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/possibleConstructorReturn.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/readOnlyError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsync.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncGen.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncIterator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorDefine.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorKeys.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorValues.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/set.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setFunctionName.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setPrototypeOf.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/skipFirstGeneratorNext.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/slicedToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropBase.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropGet.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropSet.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteral.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteralLoose.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tdz.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalRef.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalUndefined.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toConsumableArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPrimitive.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPropertyKey.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toSetter.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/typeof.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/unsupportedIterableToArray.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/usingCtx.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapAsyncGenerator.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapNativeSuper.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapRegExp.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/writeOnlyError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/LICENSE.txt +0 -0
- /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3/lib/types.js → @openclaw/fs-safe/dist/containment.js} +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/LICENSE +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.js +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.js +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.js +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/package.json +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/LICENSE +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/README.md +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.jshint +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.npmignore +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.travis.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/another-json.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/spec/another-json-spec.js +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/LICENSE +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/README.md +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/_colorize.js +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/argparse.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/argparse.js +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/difflib.js +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/sub.js +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/textwrap.js +0 -0
- /package/node_modules/{markdown-it/node_modules/argparse → argparse}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/LICENSE.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.cjs +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/esm/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.cjs +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/esm/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/content-type → content-type}/LICENSE +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/LICENSE +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/README.md +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/package.json +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/browser.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/common.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/index.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/node.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/LICENSE +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/package.json +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/readme.md +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode-codepoint.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/encode.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/escape.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-html.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-xml.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/encode-html.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/index.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/bin-trie-flags.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/decode-shared.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.airtap.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.github/FUNDING.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.travis.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/History.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/Readme.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/events.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/security.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/add-listeners.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/check-listener-leaks.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/common.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/errors.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-list.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-once.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/legacy-compat.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listener-count.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners-side-effects.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/max-listeners.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/method-names.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/modify-in-emit.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/num-args.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/once.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/prepend.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-all-listeners.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-listeners.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/set-max-listeners-side-effects.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/special-event-names.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/subclass.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/symbols.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → file-type}/license +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/asf.js +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/ebml.js +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/png.js +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.test-d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/parser.js +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/supported.js +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/tokens.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/LICENSE +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/README.md +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/LICENSE +0 -0
- /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/p-retry → is-network-error}/license +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/readme.md +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/LICENSE +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/README.md +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js.map +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs.map +0 -0
- /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/.editorconfig +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/CONTRIBUTING.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/Gruntfile.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/LICENSE-MIT +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/_config.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/bower.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/index.html +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/script.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/styles.css +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.min.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/lib/loglevel.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.min.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js.map +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/ClientWidgetApi.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/Symbols.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/WidgetApi.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/driver/WidgetDriver.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/index.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ApiVersion.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/Capabilities.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/CapabilitiesAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ContentLoadedAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/DownloadFileAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetMediaConfigAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetOpenIDAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ICustomWidgetData.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IJitsiWidgetData.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomAccountData.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomEvent.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IStickerpickerWidgetData.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IToDeviceMessage.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidget.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiErrorResponse.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiRequest.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiResponse.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/LanguageChangeAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalButtonKind.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalWidgetActions.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/NavigateAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/OpenIDCredentialsAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadEventAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRelationsAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRoomAccountDataAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcLivekitActions.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcTransportsAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ScreenshotAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendEventAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendToDeviceAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SetModalButtonEnabledAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickerAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickyAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SupportedVersionsAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ThemeChangeAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/TurnServerActions.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateDelayedEventAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateStateAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UploadFileAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UserDirectorySearchAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/VisibilityAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiDirection.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetConfigAction.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetKind.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetType.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/Widget.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetEventCapability.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetParser.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/url.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/utils.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/templating/url-template.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/ITransport.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/PostmessageTransport.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/util/SimpleObservable.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/LICENSE +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/README.md +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/build/index.cjs.js +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/index.mjs +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/decode.mjs +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/encode.mjs +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/format.mjs +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/index.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/parse.mjs +0 -0
- /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/LICENSE +0 -0
- /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js.map +0 -0
- /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/package.json +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/index.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/license.md +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/package.json +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/readme.md +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/LICENSE +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/README.md +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/helpers.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/ndh +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/dist/index.js +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/package.json +0 -0
- /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/types/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/file-type → p-retry}/license +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/package.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/readme.md +0 -0
- /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/LICENSE-MIT.txt +0 -0
- /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/README.md +0 -0
- /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/package.json +0 -0
- /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.es6.js +0 -0
- /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.eslintrc.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/FUNDING.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/codecov.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/dependabot.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/workflows/ci.yml +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/CHANGELOG.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/checker.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/grammar.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/parser.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/writer.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/LICENSE.txt +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/types.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/token-types → token-types}/LICENSE.txt +0 -0
- /package/node_modules/{music-metadata/node_modules/token-types → token-types}/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/token-types → token-types}/package.json +0 -0
- /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
- /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/LICENSE.txt +0 -0
- /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/README.md +0 -0
- /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.cjs.js +0 -0
- /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.d.ts +0 -0
- /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.mjs +0 -0
- /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.js +0 -0
- /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/license +0 -0
- /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/readme.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/CHANGELOG.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/LICENSE +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/README.md +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/data.json +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.d.ts +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.js +0 -0
- /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/package.json +0 -0
- /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/LICENSE.txt +0 -0
- /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/README.md +0 -0
- /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.d.ts +0 -0
- /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.js +0 -0
- /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/package.json +0 -0
|
@@ -0,0 +1,1446 @@
|
|
|
1
|
+
var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {
|
|
2
|
+
if (value !== null && value !== void 0) {
|
|
3
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
4
|
+
var dispose, inner;
|
|
5
|
+
if (async) {
|
|
6
|
+
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
7
|
+
dispose = value[Symbol.asyncDispose];
|
|
8
|
+
}
|
|
9
|
+
if (dispose === void 0) {
|
|
10
|
+
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
|
11
|
+
dispose = value[Symbol.dispose];
|
|
12
|
+
if (async) inner = dispose;
|
|
13
|
+
}
|
|
14
|
+
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
|
15
|
+
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
|
16
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
17
|
+
}
|
|
18
|
+
else if (async) {
|
|
19
|
+
env.stack.push({ async: true });
|
|
20
|
+
}
|
|
21
|
+
return value;
|
|
22
|
+
};
|
|
23
|
+
var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {
|
|
24
|
+
return function (env) {
|
|
25
|
+
function fail(e) {
|
|
26
|
+
env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
27
|
+
env.hasError = true;
|
|
28
|
+
}
|
|
29
|
+
var r, s = 0;
|
|
30
|
+
function next() {
|
|
31
|
+
while (r = env.stack.pop()) {
|
|
32
|
+
try {
|
|
33
|
+
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
|
34
|
+
if (r.dispose) {
|
|
35
|
+
var result = r.dispose.call(r.value);
|
|
36
|
+
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
|
37
|
+
}
|
|
38
|
+
else s |= 1;
|
|
39
|
+
}
|
|
40
|
+
catch (e) {
|
|
41
|
+
fail(e);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
|
45
|
+
if (env.hasError) throw env.error;
|
|
46
|
+
}
|
|
47
|
+
return next();
|
|
48
|
+
};
|
|
49
|
+
})(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
50
|
+
var e = new Error(message);
|
|
51
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
52
|
+
});
|
|
53
|
+
import { randomUUID } from "node:crypto";
|
|
54
|
+
import { registerRootHandleContext } from "./root-handle-context.js";
|
|
55
|
+
import fsSync, { constants as fsConstants } from "node:fs";
|
|
56
|
+
import fs from "node:fs/promises";
|
|
57
|
+
import path from "node:path";
|
|
58
|
+
import { normalizeMaxBytes } from "./byte-budget.js";
|
|
59
|
+
import { assertCopySourceCurrent, resolveFileCopyCloneMode } from "./copy-file-input.js";
|
|
60
|
+
import { assertPrivateFileCreationAvailable, resolveCreationPermissions } from "./creation-boundary.js";
|
|
61
|
+
import { assertAsyncDirectoryGuard, assertSyncDirectoryGuard, createAsyncDirectoryGuard, createNearestExistingDirectoryGuard } from "./directory-guard.js";
|
|
62
|
+
import { FsSafeError } from "./errors.js";
|
|
63
|
+
import { syncDirectoryBestEffort } from "./directory-durability.js";
|
|
64
|
+
import { withAsyncDirectoryGuards } from "./guarded-mutation.js";
|
|
65
|
+
import { openLocalFileDescriptor } from "./local-file-descriptor.js";
|
|
66
|
+
import { assertMutationNotDenied, mergeDenyMutationPolicies } from "./deny-mutations.js";
|
|
67
|
+
import { resolveOpenedFileRealPathForFd } from "./opened-realpath.js";
|
|
68
|
+
import { openedPathResolutionError, recordExclusiveCreateFailure, recordOpenedFileFailure } from "./opened-file-failure.js";
|
|
69
|
+
import { runPinnedWriteHelper, runPinnedWriteWithRenamePolicy } from "./pinned-write.js";
|
|
70
|
+
import { preparePinnedWriteMutationAdmission, snapshotPinnedMutationPolicy } from "./pinned-mutation-admission.js";
|
|
71
|
+
import { getNativeBinding } from "./native.js";
|
|
72
|
+
import { validatePinnedRelativePath } from "./pinned-operation.js";
|
|
73
|
+
import { PATH_ALIAS_POLICIES } from "./path-policy.js";
|
|
74
|
+
import { assertNoNulPathInput, hasNodeErrorCode, isNotFoundPathError, isSymlinkOpenError, } from "./path.js";
|
|
75
|
+
import { readOpenedFileSafely } from "./read-opened-file.js";
|
|
76
|
+
import { cleanupPinnedFilePath } from "./file-cleanup.js";
|
|
77
|
+
import { sameFileIdentity } from "./file-identity.js";
|
|
78
|
+
import { removePathIfIdentityUnchanged } from "./replace-file-temp-owner.js";
|
|
79
|
+
import { realpathSync } from "./realpath.js";
|
|
80
|
+
import { mkdirPathFallback, prepareRootWriteTarget, tryMkdirAtExactParent } from "./root-directory-creation.js";
|
|
81
|
+
import { isNonRegularWriteOpenError, resolveNonblockingWriteFlag } from "./write-open-flags.js";
|
|
82
|
+
import { resolveRootPath, resolveRootPathSync, resolveRootPathForRemoval } from "./root-path.js";
|
|
83
|
+
import { RemovalPathReceipts } from "./root-remove-receipt.js";
|
|
84
|
+
import { admitPathInsideRoot } from "./root-boundary.js";
|
|
85
|
+
import { listDirectoryPath, openRootDirectoryListing } from "./root-directory-list.js";
|
|
86
|
+
import { statResolvedPathInRoot } from "./root-path-stat.js";
|
|
87
|
+
import { entriesInRoot } from "./root-entries.js";
|
|
88
|
+
import { assertMoveMutationAllowed } from "./root-move-preflight.js";
|
|
89
|
+
import { assertRootIdentityCurrent, assertRootIdentityCurrentSync, assertValidRootDestinationPath, assertValidRootRelativePath, createRootObservationGuard, ensureTrailingSep, expandRelativePathWithHome, resolvePathInRoot, resolveRootContext, rootRelativeReadPath, } from "./root-context.js";
|
|
90
|
+
import { errorCauseOptions, fileNotFoundError, hardlinkedPathNotAllowedError, isAlreadyExistsError, normalizePinnedPathError, normalizePinnedWriteError, outsideWorkspaceError, } from "./root-errors.js";
|
|
91
|
+
import { getFsSafeTestHooks } from "./test-hooks.js";
|
|
92
|
+
import { stringifyJsonDocument } from "./json-stringify.js";
|
|
93
|
+
import { walkRoot } from "./root-walk.js";
|
|
94
|
+
import { registerTempPathForExit } from "./temp-cleanup.js";
|
|
95
|
+
import { removePathInRootFallback, validateRemoveOptions } from "./root-remove.js";
|
|
96
|
+
import { serializePathWrite } from "./write-queue.js";
|
|
97
|
+
import { verifyAtomicWriteResult } from "./root-write-verification.js";
|
|
98
|
+
import { assertRootWritePathSelectionSync, assertRootWriteSelectionSync, createRootWriteSelectionForFd, prepareGuardedRootWritePathSelection, resolveGuardedWritePathInRoot, resolveGuardedWriteTargetInRoot, resolvePinnedWriteTargetInRoot, refreshRetainedRootWriteAdmission, refreshRootWritePathSelection, } from "./root-write-admission.js";
|
|
99
|
+
import { prepareSharedRootWriteTarget } from "./root-write-complete-parent.js";
|
|
100
|
+
import { finishRootFallbackWrite } from "./root-write-publication.js";
|
|
101
|
+
import { withRootFallbackCompatibilityLock } from "./root-write-compatibility.js";
|
|
102
|
+
import { assertRootFallbackWritePath } from "./root-write-lock-binding.js";
|
|
103
|
+
import { inspectFileIdentity, inspectFileIdentitySync } from "./strict-file-identity.js";
|
|
104
|
+
import { admitMoveSourceStat, movePathNoReplaceNative } from "./root-move-noreplace.js";
|
|
105
|
+
import { admitRootReadHandle, inspectOpenedPathIdentitySync } from "./root-read-admission.js";
|
|
106
|
+
import { createCopyPublicationObserver, onCopyPublication, onCopySourceAdmission } from "./copy-publication.js";
|
|
107
|
+
import { writeAllToFile } from "./write-file-handle.js";
|
|
108
|
+
import { createInputOptions, rethrowCreateInputError, rootWriteInput } from "./root-create-input.js";
|
|
109
|
+
import { assertFinalSymlinkRejected, mutationSymlinkResolution, readSymlinkResolution } from "./root-symlink-policy.js";
|
|
110
|
+
import { assertNoWindowsPathAlias, resolvePathPreservingWindowsRoot } from "./windows-path-alias.js";
|
|
111
|
+
import { resolvePinnedObservedPathInRoot } from "./root-observed-path.js";
|
|
112
|
+
import { registerFileLockSyncRootAdapter } from "./file-lock-sync-root.js";
|
|
113
|
+
import { mergeReadOptions, readDefaults, } from "./root-options.js";
|
|
114
|
+
import { composeMutationAssertions, MutationAuthorityError, rethrowMutationAuthorityError } from "./mutation-authority.js";
|
|
115
|
+
export { DEFAULT_ROOT_MAX_BYTES } from "./root-options.js";
|
|
116
|
+
export { resolveOpenedFileRealPathForHandle } from "./opened-realpath.js";
|
|
117
|
+
function logWarn(message) {
|
|
118
|
+
if (process.env.FS_SAFE_DEBUG_WARNINGS === "1") {
|
|
119
|
+
console.warn(message);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
const SUPPORTS_NOFOLLOW = process.platform !== "win32" && "O_NOFOLLOW" in fsConstants;
|
|
123
|
+
const OPEN_WRITE_EXISTING_FLAGS = fsConstants.O_WRONLY | (SUPPORTS_NOFOLLOW ? fsConstants.O_NOFOLLOW : 0) |
|
|
124
|
+
resolveNonblockingWriteFlag();
|
|
125
|
+
const OPEN_WRITE_CREATE_FLAGS = fsConstants.O_WRONLY |
|
|
126
|
+
fsConstants.O_CREAT |
|
|
127
|
+
fsConstants.O_EXCL |
|
|
128
|
+
(SUPPORTS_NOFOLLOW ? fsConstants.O_NOFOLLOW : 0);
|
|
129
|
+
const OPEN_APPEND_EXISTING_FLAGS = fsConstants.O_RDWR | fsConstants.O_APPEND | (SUPPORTS_NOFOLLOW ? fsConstants.O_NOFOLLOW : 0) |
|
|
130
|
+
resolveNonblockingWriteFlag();
|
|
131
|
+
const OPEN_APPEND_CREATE_FLAGS = fsConstants.O_RDWR |
|
|
132
|
+
fsConstants.O_APPEND |
|
|
133
|
+
fsConstants.O_CREAT |
|
|
134
|
+
fsConstants.O_EXCL |
|
|
135
|
+
(SUPPORTS_NOFOLLOW ? fsConstants.O_NOFOLLOW : 0);
|
|
136
|
+
function openResult(params) {
|
|
137
|
+
return {
|
|
138
|
+
handle: params.handle,
|
|
139
|
+
containment: "best-effort",
|
|
140
|
+
realPath: params.realPath,
|
|
141
|
+
stat: params.stat,
|
|
142
|
+
[Symbol.asyncDispose]: () => params.handle.close().catch(() => undefined),
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
async function openVerifiedLocalFile(filePath, options) {
|
|
146
|
+
const fsSafeTestHooks = getFsSafeTestHooks();
|
|
147
|
+
const { handle, stat, identity, preOpenStat } = await openLocalFileDescriptor(filePath, options);
|
|
148
|
+
try {
|
|
149
|
+
const inspectPathIdentity = async (inspect) => {
|
|
150
|
+
try {
|
|
151
|
+
return await inspectFileIdentity(inspect, identity);
|
|
152
|
+
}
|
|
153
|
+
catch (error) {
|
|
154
|
+
const failure = isNotFoundPathError(error) ? openedPathResolutionError(fileNotFoundError()) : error;
|
|
155
|
+
if (stat.nlink <= 1 && (!preOpenStat || preOpenStat.nlink <= 1n)) {
|
|
156
|
+
await recordOpenedFileFailure(failure, handle, filePath, identity);
|
|
157
|
+
}
|
|
158
|
+
throw failure;
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
await inspectPathIdentity(async () => inspectOpenedPathIdentitySync(filePath, options?.symlinks));
|
|
162
|
+
await fsSafeTestHooks?.afterOpenedPathIdentityCheck?.(filePath, handle);
|
|
163
|
+
const resolved = await resolveOpenedFileRealPathForFd(handle.fd, identity, filePath)
|
|
164
|
+
.catch(async (error) => {
|
|
165
|
+
if (stat.nlink <= 1 && (!preOpenStat || preOpenStat.nlink <= 1n)) {
|
|
166
|
+
await recordOpenedFileFailure(error, handle, filePath, identity);
|
|
167
|
+
}
|
|
168
|
+
throw error;
|
|
169
|
+
});
|
|
170
|
+
const { realPath } = resolved;
|
|
171
|
+
assertNoWindowsPathAlias(realPath, "filesystem", "resolved file path uses a Windows filesystem namespace alias");
|
|
172
|
+
let resolvedStat = resolved.stat;
|
|
173
|
+
await inspectPathIdentity(async () => {
|
|
174
|
+
// Reuse the post-realpath observation; unknown Windows identities still
|
|
175
|
+
// get a fresh observation on inspectFileIdentity's retry.
|
|
176
|
+
const realStat = resolvedStat ?? fsSync.statSync(realPath, { bigint: true });
|
|
177
|
+
resolvedStat = undefined;
|
|
178
|
+
if (options?.hardlinks === "reject" && realStat.nlink > 1n) {
|
|
179
|
+
throw hardlinkedPathNotAllowedError();
|
|
180
|
+
}
|
|
181
|
+
return realStat;
|
|
182
|
+
});
|
|
183
|
+
return { opened: openResult({ handle, realPath, stat }), identity };
|
|
184
|
+
}
|
|
185
|
+
catch (err) {
|
|
186
|
+
await handle.close().catch(() => { });
|
|
187
|
+
throw err;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
export class RootHandle {
|
|
191
|
+
context;
|
|
192
|
+
rootDir;
|
|
193
|
+
rootReal;
|
|
194
|
+
rootWithSep;
|
|
195
|
+
defaults;
|
|
196
|
+
constructor(context, defaults = {}) {
|
|
197
|
+
this.context = context;
|
|
198
|
+
this.rootDir = context.rootDir;
|
|
199
|
+
this.rootReal = context.rootReal;
|
|
200
|
+
this.rootWithSep = context.rootWithSep;
|
|
201
|
+
this.defaults = defaults;
|
|
202
|
+
registerFileLockSyncRootAdapter(this, context, defaults);
|
|
203
|
+
registerRootHandleContext(this, context);
|
|
204
|
+
}
|
|
205
|
+
mutationOptions(options) {
|
|
206
|
+
return {
|
|
207
|
+
...options,
|
|
208
|
+
assertBeforeMutation: composeMutationAssertions(this.defaults.assertBeforeMutation, options.assertBeforeMutation),
|
|
209
|
+
mutationSymlinks: options.mutationSymlinks ?? this.defaults.mutationSymlinks,
|
|
210
|
+
denyMutations: mergeDenyMutationPolicies(this.defaults.denyMutations, options.denyMutations),
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
async resolve(relativePath) {
|
|
214
|
+
assertValidRootDestinationPath(relativePath);
|
|
215
|
+
return (await resolvePathInRoot(this.context, relativePath, { allowFinalSymlink: true, resolveCanonical: true })).resolved;
|
|
216
|
+
}
|
|
217
|
+
async open(relativePath, options = {}) {
|
|
218
|
+
return await openFileInRoot(this.context, {
|
|
219
|
+
...readDefaults(this.defaults),
|
|
220
|
+
...options,
|
|
221
|
+
relativePath,
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
async read(relativePath, options = {}) {
|
|
225
|
+
return await readFileInRoot(this.context, {
|
|
226
|
+
relativePath,
|
|
227
|
+
...mergeReadOptions(this.defaults, options),
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
async readBytes(relativePath, options = {}) {
|
|
231
|
+
return (await this.read(relativePath, options)).buffer;
|
|
232
|
+
}
|
|
233
|
+
async readText(relativePath, options = {}) {
|
|
234
|
+
const { encoding = "utf8", ...readOptions } = options;
|
|
235
|
+
return (await this.read(relativePath, readOptions)).buffer.toString(encoding);
|
|
236
|
+
}
|
|
237
|
+
async readJson(relativePath, options = {}) {
|
|
238
|
+
return JSON.parse(await this.readText(relativePath, options));
|
|
239
|
+
}
|
|
240
|
+
async readAbsolute(filePath, options = {}) {
|
|
241
|
+
const context = this.context;
|
|
242
|
+
const readOptions = mergeReadOptions(this.defaults, options);
|
|
243
|
+
return await readFileInRoot(context, {
|
|
244
|
+
relativePath: rootRelativeReadPath(context, filePath),
|
|
245
|
+
...readOptions,
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
reader(options = {}) {
|
|
249
|
+
return async (filePath) => {
|
|
250
|
+
return (await this.readAbsolute(filePath, options)).buffer;
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
async openWritable(relativePath, options = {}) {
|
|
254
|
+
assertValidRootDestinationPath(relativePath);
|
|
255
|
+
const writeMode = options.writeMode ?? "replace";
|
|
256
|
+
const target = await openWritableFileInRoot(this.context, {
|
|
257
|
+
mkdir: this.defaults.mkdir,
|
|
258
|
+
mode: this.defaults.mode,
|
|
259
|
+
...this.mutationOptions(options),
|
|
260
|
+
relativePath,
|
|
261
|
+
expectedWritePath: undefined,
|
|
262
|
+
append: writeMode === "append",
|
|
263
|
+
truncateExisting: writeMode === "replace",
|
|
264
|
+
}).catch(rethrowMutationAuthorityError);
|
|
265
|
+
return target.opened;
|
|
266
|
+
}
|
|
267
|
+
async append(relativePath, data, options = {}) {
|
|
268
|
+
assertValidRootDestinationPath(relativePath);
|
|
269
|
+
await appendFileInRoot(this.context, {
|
|
270
|
+
mkdir: this.defaults.mkdir,
|
|
271
|
+
mode: this.defaults.mode,
|
|
272
|
+
...this.mutationOptions(options),
|
|
273
|
+
relativePath,
|
|
274
|
+
data,
|
|
275
|
+
durable: options.durable ?? this.defaults.durable ?? true,
|
|
276
|
+
}).catch(rethrowMutationAuthorityError);
|
|
277
|
+
}
|
|
278
|
+
async remove(relativePath, options = {}) {
|
|
279
|
+
assertValidRootRelativePath(relativePath);
|
|
280
|
+
validateRemoveOptions(options);
|
|
281
|
+
options.signal?.throwIfAborted();
|
|
282
|
+
await removePathInRoot(this.context, {
|
|
283
|
+
...this.mutationOptions(options),
|
|
284
|
+
relativePath,
|
|
285
|
+
}).catch(rethrowMutationAuthorityError);
|
|
286
|
+
}
|
|
287
|
+
async mkdir(relativePath, options = {}) {
|
|
288
|
+
assertValidRootDestinationPath(relativePath);
|
|
289
|
+
await mkdirPathInRoot(this.context, {
|
|
290
|
+
...this.mutationOptions(options),
|
|
291
|
+
relativePath,
|
|
292
|
+
allowRoot: false,
|
|
293
|
+
}).catch(rethrowMutationAuthorityError);
|
|
294
|
+
}
|
|
295
|
+
async ensureRoot(options = {}) {
|
|
296
|
+
await mkdirPathInRoot(this.context, {
|
|
297
|
+
...this.mutationOptions(options),
|
|
298
|
+
relativePath: "",
|
|
299
|
+
allowRoot: true,
|
|
300
|
+
}).catch(rethrowMutationAuthorityError);
|
|
301
|
+
}
|
|
302
|
+
async write(relativePath, data, options = {}) {
|
|
303
|
+
assertValidRootDestinationPath(relativePath);
|
|
304
|
+
await writeFileInRoot(this.context, {
|
|
305
|
+
mkdir: this.defaults.mkdir,
|
|
306
|
+
mode: this.defaults.mode,
|
|
307
|
+
renameIdentity: this.defaults.renameIdentity,
|
|
308
|
+
...this.mutationOptions(options),
|
|
309
|
+
atomic: undefined,
|
|
310
|
+
private: undefined,
|
|
311
|
+
strictFileSync: undefined,
|
|
312
|
+
relativePath,
|
|
313
|
+
data,
|
|
314
|
+
durable: options.durable ?? this.defaults.durable ?? true,
|
|
315
|
+
}).catch(rethrowMutationAuthorityError);
|
|
316
|
+
}
|
|
317
|
+
async create(relativePath, data, options = {}) {
|
|
318
|
+
assertValidRootDestinationPath(relativePath);
|
|
319
|
+
const durable = options.durable ?? this.defaults.durable ?? true;
|
|
320
|
+
await writeFileInRoot(this.context, {
|
|
321
|
+
mkdir: this.defaults.mkdir,
|
|
322
|
+
mode: this.defaults.mode,
|
|
323
|
+
...this.mutationOptions(createInputOptions(data, options, this.defaults.maxBytes)),
|
|
324
|
+
relativePath,
|
|
325
|
+
data,
|
|
326
|
+
durable: durable !== false,
|
|
327
|
+
strictFileSync: durable === "file",
|
|
328
|
+
overwrite: false,
|
|
329
|
+
}).catch(rethrowMutationAuthorityError).catch(rethrowCreateInputError);
|
|
330
|
+
}
|
|
331
|
+
async writeJson(relativePath, data, options = {}) {
|
|
332
|
+
const { replacer, space, trailingNewline = true, ...writeOptions } = options;
|
|
333
|
+
const json = stringifyJsonDocument(data, replacer, space);
|
|
334
|
+
await this.write(relativePath, trailingNewline ? `${json}\n` : json, writeOptions);
|
|
335
|
+
}
|
|
336
|
+
async createJson(relativePath, data, options = {}) {
|
|
337
|
+
const { replacer, space, trailingNewline = true, ...writeOptions } = options;
|
|
338
|
+
const json = stringifyJsonDocument(data, replacer, space);
|
|
339
|
+
await this.create(relativePath, trailingNewline ? `${json}\n` : json, writeOptions);
|
|
340
|
+
}
|
|
341
|
+
async copyIn(relativePath, source, options = {}) {
|
|
342
|
+
options.signal?.throwIfAborted();
|
|
343
|
+
assertValidRootDestinationPath(relativePath);
|
|
344
|
+
const { maxBytes, ...copyOptions } = this.mutationOptions(options);
|
|
345
|
+
const copySource = typeof source === "string" ? source : { root: source.root, relativePath: source.relativePath };
|
|
346
|
+
await copyFileInRoot(this.context, {
|
|
347
|
+
maxBytes: normalizeMaxBytes(maxBytes, { defaultValue: this.defaults.maxBytes }),
|
|
348
|
+
mkdir: this.defaults.mkdir,
|
|
349
|
+
...copyOptions,
|
|
350
|
+
source: copySource,
|
|
351
|
+
relativePath,
|
|
352
|
+
mode: options.mode ?? this.defaults.mode,
|
|
353
|
+
durable: options.durable ?? this.defaults.durable ?? true,
|
|
354
|
+
verifyPublished: options[onCopyPublication],
|
|
355
|
+
admitSource: options[onCopySourceAdmission],
|
|
356
|
+
}).catch(rethrowMutationAuthorityError);
|
|
357
|
+
}
|
|
358
|
+
async exists(relativePath) {
|
|
359
|
+
try {
|
|
360
|
+
await this.stat(relativePath);
|
|
361
|
+
return true;
|
|
362
|
+
}
|
|
363
|
+
catch (err) {
|
|
364
|
+
if (err instanceof FsSafeError && err.code === "not-found") {
|
|
365
|
+
return false;
|
|
366
|
+
}
|
|
367
|
+
throw err;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
async stat(relativePath) {
|
|
371
|
+
assertValidRootRelativePath(relativePath);
|
|
372
|
+
validatePinnedRelativePath(relativePath);
|
|
373
|
+
return await statPathFallback(this.context, relativePath);
|
|
374
|
+
}
|
|
375
|
+
async list(relativePath, options = {}) {
|
|
376
|
+
assertValidRootRelativePath(relativePath);
|
|
377
|
+
validatePinnedRelativePath(relativePath);
|
|
378
|
+
return await listPathFallback(this.context, relativePath, options.withFileTypes === true);
|
|
379
|
+
}
|
|
380
|
+
async move(fromRelative, toRelative, options = {}) {
|
|
381
|
+
assertValidRootRelativePath(fromRelative);
|
|
382
|
+
assertValidRootDestinationPath(toRelative);
|
|
383
|
+
validatePinnedRelativePath(fromRelative);
|
|
384
|
+
validatePinnedRelativePath(toRelative);
|
|
385
|
+
const mutationOptions = this.mutationOptions(options);
|
|
386
|
+
const { assertBeforeMutation } = mutationOptions;
|
|
387
|
+
const { denyMutations, mutationSymlinks } = snapshotPinnedMutationPolicy(mutationOptions.denyMutations, mutationOptions.mutationSymlinks) ?? {};
|
|
388
|
+
const overwrite = options.overwrite ?? false;
|
|
389
|
+
await assertMoveMutationAllowed(this.context, {
|
|
390
|
+
fromRelative,
|
|
391
|
+
toRelative,
|
|
392
|
+
denyMutations,
|
|
393
|
+
});
|
|
394
|
+
await movePathFallback(this.context, {
|
|
395
|
+
fromRelative,
|
|
396
|
+
denyMutations,
|
|
397
|
+
assertBeforeMutation,
|
|
398
|
+
mutationSymlinks,
|
|
399
|
+
overwrite,
|
|
400
|
+
toRelative,
|
|
401
|
+
}).catch(rethrowMutationAuthorityError);
|
|
402
|
+
}
|
|
403
|
+
entries(relativePath, options = {}) {
|
|
404
|
+
assertValidRootRelativePath(relativePath);
|
|
405
|
+
return entriesInRoot(this.context, relativePath, {
|
|
406
|
+
...options,
|
|
407
|
+
symlinks: options.symlinks ?? this.defaults.symlinks,
|
|
408
|
+
});
|
|
409
|
+
}
|
|
410
|
+
walk(relativePath, options) {
|
|
411
|
+
assertValidRootRelativePath(relativePath);
|
|
412
|
+
return walkRoot({
|
|
413
|
+
rootReal: this.context.rootReal,
|
|
414
|
+
observeRoot: () => createRootObservationGuard(this.context),
|
|
415
|
+
stat: relative => this.stat(relative),
|
|
416
|
+
list: async (relative, listingOptions, receipt) => {
|
|
417
|
+
validatePinnedRelativePath(relative);
|
|
418
|
+
if (receipt) {
|
|
419
|
+
return await openRootDirectoryListing(this.context, receipt.targetPath, listingOptions, receipt);
|
|
420
|
+
}
|
|
421
|
+
const resolved = await resolvePinnedPathInRoot(this.context, { relativePath: relative, allowRoot: true });
|
|
422
|
+
return await openRootDirectoryListing(this.context, resolved.resolved, listingOptions);
|
|
423
|
+
},
|
|
424
|
+
}, relativePath, options);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
export async function root(rootDir, defaults = {}) {
|
|
428
|
+
normalizeMaxBytes(defaults.maxBytes);
|
|
429
|
+
return new RootHandle(await resolveRootContext(rootDir), defaults);
|
|
430
|
+
}
|
|
431
|
+
// Internal callers that already hold an exact admitted directory capability must
|
|
432
|
+
// not recapture a different filesystem object while constructing the Root.
|
|
433
|
+
export function rootFromDirectoryGuard(guard, defaults = {}) {
|
|
434
|
+
normalizeMaxBytes(defaults.maxBytes);
|
|
435
|
+
return new RootHandle({
|
|
436
|
+
rootDir: resolvePathPreservingWindowsRoot(guard.dir),
|
|
437
|
+
rootGuard: { dir: guard.realPath, realPath: guard.realPath, stat: guard.stat },
|
|
438
|
+
rootIdentity: { dev: guard.stat.dev, ino: guard.stat.ino },
|
|
439
|
+
rootReal: guard.realPath,
|
|
440
|
+
rootWithSep: ensureTrailingSep(guard.realPath),
|
|
441
|
+
}, defaults);
|
|
442
|
+
}
|
|
443
|
+
async function openFileInRoot(root, params) {
|
|
444
|
+
const { resolved } = await resolvePathInRoot(root, params.relativePath, {
|
|
445
|
+
allowFinalSymlink: true,
|
|
446
|
+
rejectUnsafeDeviceReads: true,
|
|
447
|
+
...readSymlinkResolution(params.symlinks),
|
|
448
|
+
resolveCanonical: true,
|
|
449
|
+
});
|
|
450
|
+
const fsSafeTestHooks = getFsSafeTestHooks();
|
|
451
|
+
if (fsSafeTestHooks?.afterRootReadPathResolution) {
|
|
452
|
+
await fsSafeTestHooks.afterRootReadPathResolution(resolved);
|
|
453
|
+
}
|
|
454
|
+
const { handle, stat, identity } = await openLocalFileDescriptor(resolved, {
|
|
455
|
+
symlinks: params.symlinks,
|
|
456
|
+
});
|
|
457
|
+
// The admission helper owns the descriptor until the complete root/file/root
|
|
458
|
+
// fence succeeds, then transfers that still-open handle to the caller.
|
|
459
|
+
const admitted = await admitRootReadHandle({
|
|
460
|
+
root, filePath: resolved, opened: { handle, stat }, identity,
|
|
461
|
+
hardlinks: params.hardlinks, symlinks: params.symlinks,
|
|
462
|
+
beforeFinalFence: fsSafeTestHooks?.beforeRootReadFinalFence,
|
|
463
|
+
afterPathIdentityCheck: fsSafeTestHooks?.afterRootReadFinalPathIdentityCheck,
|
|
464
|
+
});
|
|
465
|
+
return openResult(admitted);
|
|
466
|
+
}
|
|
467
|
+
async function readFileInRoot(root, params) {
|
|
468
|
+
const opened = await openFileInRoot(root, params);
|
|
469
|
+
try {
|
|
470
|
+
return await readOpenedFileSafely({ opened, maxBytes: params.maxBytes });
|
|
471
|
+
}
|
|
472
|
+
finally {
|
|
473
|
+
await opened.handle.close().catch(() => { });
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
export async function readLocalFileSafely(params) {
|
|
477
|
+
const maxBytes = normalizeMaxBytes(params.maxBytes);
|
|
478
|
+
const opened = await openLocalFileSafely({ filePath: params.filePath });
|
|
479
|
+
try {
|
|
480
|
+
return await readOpenedFileSafely({ opened, maxBytes });
|
|
481
|
+
}
|
|
482
|
+
finally {
|
|
483
|
+
await opened.handle.close().catch(() => { });
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
export async function openLocalFileSafely(params) {
|
|
487
|
+
const filePath = params.filePath;
|
|
488
|
+
assertNoNulPathInput(filePath, "file path contains a NUL byte");
|
|
489
|
+
assertNoWindowsPathAlias(filePath, "filesystem", "file path uses a Windows filesystem namespace alias");
|
|
490
|
+
return (await openVerifiedLocalFile(filePath)).opened;
|
|
491
|
+
}
|
|
492
|
+
function emitWriteBoundaryWarning(reason) {
|
|
493
|
+
logWarn(`security: fs-safe write boundary warning (${reason})`);
|
|
494
|
+
}
|
|
495
|
+
function buildAtomicWriteTempPath(targetPath) {
|
|
496
|
+
return path.join(path.dirname(targetPath), `.fs-safe-${randomUUID()}.tmp`);
|
|
497
|
+
}
|
|
498
|
+
function rootWriteQueueKey(root, relativePath) {
|
|
499
|
+
return `${root.rootReal}\0${relativePath}`;
|
|
500
|
+
}
|
|
501
|
+
async function openWritableFileInRoot(root, params, options) {
|
|
502
|
+
const guardedTarget = params.denyMutations === undefined && params.mutationSymlinks === undefined
|
|
503
|
+
? undefined
|
|
504
|
+
: await resolveGuardedWriteTargetInRoot(root, {
|
|
505
|
+
relativePath: params.relativePath,
|
|
506
|
+
denyMutations: params.denyMutations,
|
|
507
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
508
|
+
});
|
|
509
|
+
const { resolved } = guardedTarget?.resolvedPath ?? await resolveGuardedWritePathInRoot(root, {
|
|
510
|
+
relativePath: params.relativePath,
|
|
511
|
+
});
|
|
512
|
+
const prepared = guardedTarget ? await prepareSharedRootWriteTarget(root, {
|
|
513
|
+
relativePath: params.relativePath, guardedTarget, mkdir: params.mkdir,
|
|
514
|
+
assertBeforeMutation: params.assertBeforeMutation,
|
|
515
|
+
}) : undefined;
|
|
516
|
+
const preparedParent = prepared?.preparedParent;
|
|
517
|
+
let ioPath = prepared?.targetPath ?? (params.mkdir === false ? resolved :
|
|
518
|
+
await prepareRootWriteTarget(root, resolved, params.assertBeforeMutation));
|
|
519
|
+
const operationTargetPath = ioPath;
|
|
520
|
+
try {
|
|
521
|
+
assertFinalSymlinkRejected(ioPath, params.mutationSymlinks !== undefined);
|
|
522
|
+
const resolvedRealPath = params.mutationSymlinks === undefined ? realpathSync.native(ioPath) : ioPath;
|
|
523
|
+
const admittedRealPath = admitPathInsideRoot({
|
|
524
|
+
rootPath: root.rootReal,
|
|
525
|
+
candidatePath: resolvedRealPath,
|
|
526
|
+
rootIdentity: root.rootIdentity,
|
|
527
|
+
});
|
|
528
|
+
if (!admittedRealPath) {
|
|
529
|
+
throw outsideWorkspaceError();
|
|
530
|
+
}
|
|
531
|
+
ioPath = admittedRealPath.path;
|
|
532
|
+
}
|
|
533
|
+
catch (err) {
|
|
534
|
+
if (err instanceof FsSafeError) {
|
|
535
|
+
throw err;
|
|
536
|
+
}
|
|
537
|
+
if (!isNotFoundPathError(err)) {
|
|
538
|
+
throw err;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
assertRootFallbackWritePath(params.expectedWritePath, ioPath);
|
|
542
|
+
const mode = params.mode ?? 0o600;
|
|
543
|
+
let handle;
|
|
544
|
+
let createdForWrite = false;
|
|
545
|
+
let writePathSelection = undefined;
|
|
546
|
+
const existingFlags = params.append ? OPEN_APPEND_EXISTING_FLAGS : OPEN_WRITE_EXISTING_FLAGS;
|
|
547
|
+
const createFlags = params.append ? OPEN_APPEND_CREATE_FLAGS : OPEN_WRITE_CREATE_FLAGS;
|
|
548
|
+
try {
|
|
549
|
+
writePathSelection = guardedTarget
|
|
550
|
+
? await prepareGuardedRootWritePathSelection(guardedTarget, ioPath, operationTargetPath, preparedParent)
|
|
551
|
+
: undefined;
|
|
552
|
+
try {
|
|
553
|
+
if (writePathSelection)
|
|
554
|
+
assertRootWritePathSelectionSync(root, writePathSelection);
|
|
555
|
+
handle = await fs.open(ioPath, existingFlags, mode);
|
|
556
|
+
}
|
|
557
|
+
catch (err) {
|
|
558
|
+
if (await isNonRegularWriteOpenError(err, ioPath, existingFlags)) {
|
|
559
|
+
throw new FsSafeError("not-file", "path is not a regular file under root");
|
|
560
|
+
}
|
|
561
|
+
if (!isNotFoundPathError(err)) {
|
|
562
|
+
throw err;
|
|
563
|
+
}
|
|
564
|
+
if (options?.createIfMissing === false) {
|
|
565
|
+
const parentGuard = writePathSelection?.parentGuard ??
|
|
566
|
+
await createAsyncDirectoryGuard(path.dirname(ioPath), { bigint: true });
|
|
567
|
+
assertRootIdentityCurrentSync(root);
|
|
568
|
+
if (!admitPathInsideRoot({
|
|
569
|
+
rootPath: root.rootReal, candidatePath: parentGuard.realPath, rootIdentity: root.rootIdentity,
|
|
570
|
+
}))
|
|
571
|
+
throw outsideWorkspaceError();
|
|
572
|
+
assertSyncDirectoryGuard(parentGuard);
|
|
573
|
+
return { missing: true, targetPath: ioPath, parentGuard, writeSelection: writePathSelection };
|
|
574
|
+
}
|
|
575
|
+
if (writePathSelection)
|
|
576
|
+
await refreshRootWritePathSelection(writePathSelection);
|
|
577
|
+
params.assertBeforeMutation?.();
|
|
578
|
+
if (writePathSelection)
|
|
579
|
+
assertRootWritePathSelectionSync(root, writePathSelection);
|
|
580
|
+
handle = await fs.open(ioPath, createFlags, mode);
|
|
581
|
+
createdForWrite = true;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
catch (err) {
|
|
585
|
+
if (isNotFoundPathError(err)) {
|
|
586
|
+
throw fileNotFoundError();
|
|
587
|
+
}
|
|
588
|
+
if (isSymlinkOpenError(err)) {
|
|
589
|
+
throw new FsSafeError("symlink", "symlink open blocked", { cause: err });
|
|
590
|
+
}
|
|
591
|
+
if (hasNodeErrorCode(err, "EISDIR")) {
|
|
592
|
+
throw new FsSafeError("not-file", "not a file", { cause: err });
|
|
593
|
+
}
|
|
594
|
+
throw err;
|
|
595
|
+
}
|
|
596
|
+
let realPathForCleanup = null;
|
|
597
|
+
let createdIdentity = null;
|
|
598
|
+
try {
|
|
599
|
+
const stat = fsSync.fstatSync(handle.fd);
|
|
600
|
+
const identity = inspectFileIdentitySync(() => {
|
|
601
|
+
const observed = fsSync.fstatSync(handle.fd, { bigint: true });
|
|
602
|
+
if (!observed.isFile()) {
|
|
603
|
+
throw new FsSafeError("not-file", "path is not a regular file under root");
|
|
604
|
+
}
|
|
605
|
+
if (observed.nlink > 1n)
|
|
606
|
+
throw hardlinkedPathNotAllowedError();
|
|
607
|
+
return observed;
|
|
608
|
+
});
|
|
609
|
+
if (createdForWrite)
|
|
610
|
+
createdIdentity = identity;
|
|
611
|
+
let observedIoPath = false;
|
|
612
|
+
try {
|
|
613
|
+
inspectFileIdentitySync(() => {
|
|
614
|
+
const lstat = fsSync.lstatSync(ioPath, { bigint: true });
|
|
615
|
+
observedIoPath = true;
|
|
616
|
+
if (lstat.isSymbolicLink() || !lstat.isFile()) {
|
|
617
|
+
throw new FsSafeError(lstat.isSymbolicLink() ? "symlink" : "not-file", "path is not a regular file under root");
|
|
618
|
+
}
|
|
619
|
+
if (lstat.nlink > 1n)
|
|
620
|
+
throw hardlinkedPathNotAllowedError();
|
|
621
|
+
return lstat;
|
|
622
|
+
}, identity);
|
|
623
|
+
}
|
|
624
|
+
catch (err) {
|
|
625
|
+
if (isNotFoundPathError(err) && !observedIoPath) {
|
|
626
|
+
// The opened file may have been renamed before its first pathname
|
|
627
|
+
// observation. The descriptor-bound resolver below must still find it.
|
|
628
|
+
}
|
|
629
|
+
else if (err instanceof FsSafeError && err.code === "path-mismatch") {
|
|
630
|
+
throw new FsSafeError("path-mismatch", "path changed during write", { cause: err });
|
|
631
|
+
}
|
|
632
|
+
else {
|
|
633
|
+
throw err;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
let realPath = (await resolveOpenedFileRealPathForFd(handle.fd, identity, ioPath)).realPath;
|
|
637
|
+
assertNoWindowsPathAlias(realPath, "filesystem", "resolved file path uses a Windows filesystem namespace alias");
|
|
638
|
+
try {
|
|
639
|
+
inspectFileIdentitySync(() => {
|
|
640
|
+
const realStat = fsSync.statSync(realPath, { bigint: true });
|
|
641
|
+
if (!realStat.isFile()) {
|
|
642
|
+
throw new FsSafeError("not-file", "path is not a regular file under root");
|
|
643
|
+
}
|
|
644
|
+
if (realStat.nlink > 1n)
|
|
645
|
+
throw hardlinkedPathNotAllowedError();
|
|
646
|
+
return realStat;
|
|
647
|
+
}, identity);
|
|
648
|
+
}
|
|
649
|
+
catch (err) {
|
|
650
|
+
if (err instanceof FsSafeError && err.code === "path-mismatch") {
|
|
651
|
+
throw new FsSafeError("path-mismatch", "path mismatch", { cause: err });
|
|
652
|
+
}
|
|
653
|
+
throw err;
|
|
654
|
+
}
|
|
655
|
+
const admittedRealPath = admitPathInsideRoot({
|
|
656
|
+
rootPath: root.rootReal,
|
|
657
|
+
candidatePath: realPath,
|
|
658
|
+
rootIdentity: root.rootIdentity,
|
|
659
|
+
});
|
|
660
|
+
if (!admittedRealPath) {
|
|
661
|
+
throw outsideWorkspaceError();
|
|
662
|
+
}
|
|
663
|
+
realPath = admittedRealPath.path;
|
|
664
|
+
realPathForCleanup = realPath;
|
|
665
|
+
assertRootFallbackWritePath(params.expectedWritePath, realPath);
|
|
666
|
+
const writeSelection = writePathSelection
|
|
667
|
+
? createRootWriteSelectionForFd(writePathSelection, handle.fd)
|
|
668
|
+
: undefined;
|
|
669
|
+
// Truncate only after boundary and identity checks complete. This avoids
|
|
670
|
+
// irreversible side effects if a symlink target changes before validation.
|
|
671
|
+
if (params.append !== true && params.truncateExisting !== false && !createdForWrite) {
|
|
672
|
+
if (writeSelection)
|
|
673
|
+
await refreshRetainedRootWriteAdmission(root, writeSelection, true, handle.fd);
|
|
674
|
+
assertFinalSymlinkRejected(ioPath, params.mutationSymlinks !== undefined);
|
|
675
|
+
params.assertBeforeMutation?.();
|
|
676
|
+
if (writeSelection)
|
|
677
|
+
assertRootWriteSelectionSync(root, writeSelection, true, handle.fd);
|
|
678
|
+
await handle.truncate(0);
|
|
679
|
+
}
|
|
680
|
+
if (writeSelection) {
|
|
681
|
+
await refreshRetainedRootWriteAdmission(root, writeSelection, true, handle.fd);
|
|
682
|
+
assertRootWriteSelectionSync(root, writeSelection, true, handle.fd);
|
|
683
|
+
}
|
|
684
|
+
const result = {
|
|
685
|
+
handle,
|
|
686
|
+
containment: "best-effort",
|
|
687
|
+
createdForWrite,
|
|
688
|
+
realPath,
|
|
689
|
+
stat,
|
|
690
|
+
[Symbol.asyncDispose]: () => handle.close().catch(() => undefined),
|
|
691
|
+
};
|
|
692
|
+
return { opened: result, identity, writeSelection };
|
|
693
|
+
}
|
|
694
|
+
catch (err) {
|
|
695
|
+
const cleanupCreatedPath = createdForWrite && err instanceof FsSafeError;
|
|
696
|
+
const cleanupPath = realPathForCleanup ?? ioPath;
|
|
697
|
+
await handle.close().catch(() => { });
|
|
698
|
+
if (cleanupCreatedPath && createdIdentity) {
|
|
699
|
+
await removePathIfIdentityUnchanged(cleanupPath, createdIdentity).catch(() => { });
|
|
700
|
+
}
|
|
701
|
+
throw err;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
async function appendFileInRoot(root, params) {
|
|
705
|
+
const env_1 = { stack: [], error: void 0, hasError: false };
|
|
706
|
+
try {
|
|
707
|
+
const { opened: target, identity } = await openWritableFileInRoot(root, {
|
|
708
|
+
relativePath: params.relativePath,
|
|
709
|
+
mkdir: params.mkdir,
|
|
710
|
+
mode: params.mode,
|
|
711
|
+
denyMutations: params.denyMutations,
|
|
712
|
+
assertBeforeMutation: params.assertBeforeMutation,
|
|
713
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
714
|
+
truncateExisting: false,
|
|
715
|
+
append: true,
|
|
716
|
+
});
|
|
717
|
+
let dispatched = false;
|
|
718
|
+
// Reverse disposal order closes the handle before path cleanup and retains both failures.
|
|
719
|
+
const cleanup = __addDisposableResource(env_1, {
|
|
720
|
+
async [Symbol.asyncDispose]() {
|
|
721
|
+
if (!dispatched && target.createdForWrite) {
|
|
722
|
+
await removePathIfIdentityUnchanged(target.realPath, identity);
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
}, true);
|
|
726
|
+
const handle = __addDisposableResource(env_1, target.handle, true);
|
|
727
|
+
try {
|
|
728
|
+
let prefix = "";
|
|
729
|
+
if (params.prependNewlineIfNeeded === true &&
|
|
730
|
+
!target.createdForWrite &&
|
|
731
|
+
target.stat.size > 0 &&
|
|
732
|
+
params.data.length > 0 &&
|
|
733
|
+
((typeof params.data === "string" && !params.data.startsWith("\n")) ||
|
|
734
|
+
(Buffer.isBuffer(params.data) && params.data[0] !== 0x0a))) {
|
|
735
|
+
const newline = Buffer.from("\n", typeof params.data === "string" ? params.encoding : "utf8");
|
|
736
|
+
const tail = Buffer.alloc(newline.length);
|
|
737
|
+
const { bytesRead } = await target.handle.read(tail, 0, tail.length, Math.max(0, target.stat.size - tail.length));
|
|
738
|
+
if (bytesRead > 0 && (bytesRead !== newline.length || !tail.equals(newline))) {
|
|
739
|
+
prefix = "\n";
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
const payload = typeof params.data === "string" ? `${prefix}${params.data}`
|
|
743
|
+
: prefix.length > 0 ? Buffer.concat([Buffer.from(prefix, "utf8"), params.data]) : params.data;
|
|
744
|
+
await writeAllToFile(target.handle, payload, {
|
|
745
|
+
encoding: params.encoding,
|
|
746
|
+
assertBeforeMutation: () => {
|
|
747
|
+
assertFinalSymlinkRejected(target.realPath, params.mutationSymlinks !== undefined);
|
|
748
|
+
params.assertBeforeMutation?.();
|
|
749
|
+
dispatched = true;
|
|
750
|
+
},
|
|
751
|
+
});
|
|
752
|
+
// A successful empty append still creates the file, as Node's appendFile does.
|
|
753
|
+
dispatched = true;
|
|
754
|
+
if (params.durable !== false)
|
|
755
|
+
await target.handle.sync();
|
|
756
|
+
if (params.durable !== false && target.createdForWrite) {
|
|
757
|
+
await syncDirectoryBestEffort(path.dirname(target.realPath));
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
catch (error) {
|
|
761
|
+
rethrowMutationAuthorityError(error);
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
catch (e_1) {
|
|
765
|
+
env_1.error = e_1;
|
|
766
|
+
env_1.hasError = true;
|
|
767
|
+
}
|
|
768
|
+
finally {
|
|
769
|
+
const result_1 = __disposeResources(env_1);
|
|
770
|
+
if (result_1)
|
|
771
|
+
await result_1;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
async function removePathInRoot(root, params) {
|
|
775
|
+
validatePinnedRelativePath(params.relativePath);
|
|
776
|
+
const removalReceipts = params.recursive ? undefined : new RemovalPathReceipts();
|
|
777
|
+
const resolved = await resolvePinnedPathInRoot(root, {
|
|
778
|
+
relativePath: params.relativePath,
|
|
779
|
+
denyMutations: params.denyMutations,
|
|
780
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
781
|
+
remove: true,
|
|
782
|
+
removalReceipts,
|
|
783
|
+
});
|
|
784
|
+
try {
|
|
785
|
+
await removePathInRootFallback(root, resolved.resolved, params, removalReceipts);
|
|
786
|
+
}
|
|
787
|
+
catch (error) {
|
|
788
|
+
if (params.recursive)
|
|
789
|
+
throw error;
|
|
790
|
+
throw normalizePinnedPathError(error);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
async function mkdirPathInRoot(root, params) {
|
|
794
|
+
const privateMode = resolveCreationPermissions(params, true).private;
|
|
795
|
+
validatePinnedRelativePath(params.relativePath);
|
|
796
|
+
const policy = params.denyMutations === undefined && params.mutationSymlinks === undefined
|
|
797
|
+
? undefined
|
|
798
|
+
: snapshotPinnedMutationPolicy(params.denyMutations, params.mutationSymlinks);
|
|
799
|
+
const resolution = { relativePath: params.relativePath, allowRoot: params.allowRoot, ...policy };
|
|
800
|
+
const resolveCurrent = policy
|
|
801
|
+
? async () => await resolvePinnedPathInRoot(root, resolution)
|
|
802
|
+
: undefined;
|
|
803
|
+
const resolved = await resolvePinnedPathInRoot(root, resolution);
|
|
804
|
+
const prepared = policy && resolved.relativePosix !== ""
|
|
805
|
+
? await preparePinnedWriteMutationAdmission({
|
|
806
|
+
rootReal: resolved.rootReal,
|
|
807
|
+
rootIdentity: root.rootIdentity,
|
|
808
|
+
resolvedTargetPath: resolved.resolved,
|
|
809
|
+
originalPath: params.relativePath,
|
|
810
|
+
defaultRelativeParentPath: path.posix.dirname(resolved.relativePosix) === "."
|
|
811
|
+
? ""
|
|
812
|
+
: path.posix.dirname(resolved.relativePosix),
|
|
813
|
+
policy,
|
|
814
|
+
resolveCurrent: resolveCurrent,
|
|
815
|
+
})
|
|
816
|
+
: undefined;
|
|
817
|
+
if (prepared?.mutationAdmission) {
|
|
818
|
+
await getFsSafeTestHooks()?.beforePinnedWriteParentAdmission?.(resolved.resolved);
|
|
819
|
+
}
|
|
820
|
+
try {
|
|
821
|
+
if (!privateMode && prepared?.mutationAdmission && params.assertBeforeMutation === undefined &&
|
|
822
|
+
await tryMkdirAtExactParent(root, resolved.resolved, prepared.mutationAdmission))
|
|
823
|
+
return;
|
|
824
|
+
await mkdirPathFallback(root, resolved, params.assertBeforeMutation, policy?.mutationSymlinks !== undefined, prepared?.mutationAdmission, privateMode);
|
|
825
|
+
}
|
|
826
|
+
catch (error) {
|
|
827
|
+
throw normalizePinnedPathError(error);
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
async function writeFileInRoot(root, params) {
|
|
831
|
+
if (params.private !== undefined) {
|
|
832
|
+
const permissions = resolveCreationPermissions(params, false);
|
|
833
|
+
params = { ...params, private: permissions.private, mode: permissions.mode };
|
|
834
|
+
}
|
|
835
|
+
const input = rootWriteInput(params);
|
|
836
|
+
await serializePathWrite(rootWriteQueueKey(root, params.relativePath), async () => {
|
|
837
|
+
if (!params.private && input.kind === "buffer" && !input.stageBeforePublish && process.platform === "win32" &&
|
|
838
|
+
(params.renameIdentity === "verify-content-with-lock" || !getNativeBinding())) {
|
|
839
|
+
await writeFileFallback(root, { ...params, data: input.data });
|
|
840
|
+
return;
|
|
841
|
+
}
|
|
842
|
+
const pinned = await resolvePinnedWriteTargetInRoot(root, params.relativePath, params.mode, params.denyMutations, params.overwrite, params.mutationSymlinks);
|
|
843
|
+
await serializePathWrite(pinned.targetPath, async () => {
|
|
844
|
+
await commitPinnedWriteInRoot(root, pinned, params, input);
|
|
845
|
+
});
|
|
846
|
+
});
|
|
847
|
+
}
|
|
848
|
+
async function commitPinnedWriteInRoot(root, pinned, params, input) {
|
|
849
|
+
let verifyingPublication = false;
|
|
850
|
+
try {
|
|
851
|
+
if (params.private)
|
|
852
|
+
assertPrivateFileCreationAvailable();
|
|
853
|
+
if (params.private && params.mkdir !== false) {
|
|
854
|
+
const target = await prepareRootWriteTarget(root, pinned.targetPath, params.assertBeforeMutation, pinned.mutationAdmission, true);
|
|
855
|
+
if (target !== pinned.targetPath) {
|
|
856
|
+
throw new FsSafeError("path-mismatch", "private creation parent changed during admission");
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
await runPinnedWriteWithRenamePolicy({
|
|
860
|
+
rootPath: pinned.rootReal,
|
|
861
|
+
relativeParentPath: pinned.relativeParentPath,
|
|
862
|
+
basename: pinned.basename,
|
|
863
|
+
targetPath: pinned.targetPath,
|
|
864
|
+
renameIdentity: params.renameIdentity,
|
|
865
|
+
mkdir: !params.private && params.mkdir !== false,
|
|
866
|
+
private: params.private,
|
|
867
|
+
mode: params.mode ?? pinned.mode,
|
|
868
|
+
sync: params.durable !== false,
|
|
869
|
+
strictFileSync: params.strictFileSync,
|
|
870
|
+
overwrite: params.overwrite,
|
|
871
|
+
rejectFinalSymlink: params.mutationSymlinks !== undefined,
|
|
872
|
+
input,
|
|
873
|
+
maxBytes: input.kind === "buffer" ? undefined : params.maxBytes,
|
|
874
|
+
rootIdentity: root.rootIdentity,
|
|
875
|
+
mutationAdmission: pinned.mutationAdmission,
|
|
876
|
+
assertBeforeMutation: params.assertBeforeMutation,
|
|
877
|
+
verifyPublished: async (fd, expectedIdentity, parentGuard) => {
|
|
878
|
+
verifyingPublication = true;
|
|
879
|
+
try {
|
|
880
|
+
await verifyAtomicWriteResult({
|
|
881
|
+
root,
|
|
882
|
+
targetPath: pinned.targetPath,
|
|
883
|
+
fd,
|
|
884
|
+
expectedIdentity,
|
|
885
|
+
parentGuard,
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
catch (error) {
|
|
889
|
+
emitWriteBoundaryWarning(`post-write verification failed: ${String(error)}`);
|
|
890
|
+
throw error;
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
catch (error) {
|
|
896
|
+
if (verifyingPublication)
|
|
897
|
+
throw error;
|
|
898
|
+
const errorCode = error?.code;
|
|
899
|
+
if (errorCode === "file_lock_stale" || errorCode === "file_lock_timeout") {
|
|
900
|
+
throw error;
|
|
901
|
+
}
|
|
902
|
+
if (params.overwrite === false && isAlreadyExistsError(error)) {
|
|
903
|
+
throw new FsSafeError("already-exists", "file already exists", errorCauseOptions(error));
|
|
904
|
+
}
|
|
905
|
+
throw normalizePinnedWriteError(error);
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
async function copyFileInRoot(root, params) {
|
|
909
|
+
params.signal?.throwIfAborted();
|
|
910
|
+
const clone = resolveFileCopyCloneMode(params.clone);
|
|
911
|
+
let source;
|
|
912
|
+
let sourceIdentity;
|
|
913
|
+
if (typeof params.source === "string") {
|
|
914
|
+
assertNoNulPathInput(params.source, "source path contains a NUL byte");
|
|
915
|
+
assertNoWindowsPathAlias(params.source, "filesystem", "source path uses a Windows filesystem namespace alias");
|
|
916
|
+
({ opened: source, identity: sourceIdentity } = await openVerifiedLocalFile(params.source, {
|
|
917
|
+
hardlinks: params.sourceHardlinks,
|
|
918
|
+
}));
|
|
919
|
+
}
|
|
920
|
+
else {
|
|
921
|
+
source = await params.source.root.open(params.source.relativePath, params.sourceHardlinks === undefined ? undefined : { hardlinks: params.sourceHardlinks });
|
|
922
|
+
try {
|
|
923
|
+
sourceIdentity = await inspectFileIdentity(() => fsSync.fstatSync(source.handle.fd, { bigint: true }));
|
|
924
|
+
}
|
|
925
|
+
catch (error) {
|
|
926
|
+
await source.handle.close().catch(() => undefined);
|
|
927
|
+
throw error;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
if (params.maxBytes !== undefined && source.stat.size > params.maxBytes) {
|
|
931
|
+
await source.handle.close().catch(() => { });
|
|
932
|
+
throw new FsSafeError("too-large", `file exceeds limit of ${params.maxBytes} bytes (got ${source.stat.size})`);
|
|
933
|
+
}
|
|
934
|
+
try {
|
|
935
|
+
const sourceAdmission = params.admitSource?.(sourceIdentity, source.realPath);
|
|
936
|
+
const mode = sourceAdmission?.mode ?? params.mode;
|
|
937
|
+
await serializePathWrite(rootWriteQueueKey(root, params.relativePath), async () => {
|
|
938
|
+
const pinned = await resolvePinnedWriteTargetInRoot(root, params.relativePath, mode ?? (params.preserveSourceMode ? Number(sourceIdentity.mode & 4095n) : undefined), params.denyMutations, params.overwrite !== false, params.mutationSymlinks);
|
|
939
|
+
await serializePathWrite(pinned.targetPath, async () => {
|
|
940
|
+
await assertCopySourceCurrent(source, sourceIdentity);
|
|
941
|
+
const verifySource = async () => {
|
|
942
|
+
params.signal?.throwIfAborted();
|
|
943
|
+
try {
|
|
944
|
+
sourceAdmission?.verify();
|
|
945
|
+
}
|
|
946
|
+
catch (error) {
|
|
947
|
+
throw new MutationAuthorityError(error);
|
|
948
|
+
}
|
|
949
|
+
if (typeof params.source !== "string") {
|
|
950
|
+
await params.source.root.stat(".");
|
|
951
|
+
}
|
|
952
|
+
await assertCopySourceCurrent(source, sourceIdentity);
|
|
953
|
+
};
|
|
954
|
+
const observer = createCopyPublicationObserver(pinned.targetPath, params.onDestinationPublished);
|
|
955
|
+
try {
|
|
956
|
+
await runPinnedWriteHelper({
|
|
957
|
+
rootPath: pinned.rootReal,
|
|
958
|
+
relativeParentPath: pinned.relativeParentPath,
|
|
959
|
+
basename: pinned.basename,
|
|
960
|
+
mkdir: params.mkdir !== false,
|
|
961
|
+
mode: pinned.mode,
|
|
962
|
+
overwrite: params.overwrite !== false,
|
|
963
|
+
rejectFinalSymlink: params.mutationSymlinks !== undefined,
|
|
964
|
+
maxBytes: params.maxBytes,
|
|
965
|
+
sync: params.durable !== false,
|
|
966
|
+
assertBeforeMutation: params.signal || params.assertBeforeMutation ? () => {
|
|
967
|
+
if (params.signal?.aborted)
|
|
968
|
+
throw new MutationAuthorityError(params.signal.reason);
|
|
969
|
+
params.assertBeforeMutation?.();
|
|
970
|
+
} : undefined,
|
|
971
|
+
verifyPublished: params.verifyPublished,
|
|
972
|
+
onPublished: observer.onPublished,
|
|
973
|
+
input: { kind: "file", handle: source.handle, size: source.stat.size, clone, signal: params.signal, verifySource },
|
|
974
|
+
rootIdentity: root.rootIdentity,
|
|
975
|
+
mutationAdmission: pinned.mutationAdmission,
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
catch (error) {
|
|
979
|
+
observer.rethrowObserverFailure(error);
|
|
980
|
+
if (params.signal?.aborted && error === params.signal.reason)
|
|
981
|
+
throw error;
|
|
982
|
+
if (isAlreadyExistsError(error)) {
|
|
983
|
+
throw new FsSafeError("already-exists", "copy destination already exists", { cause: error });
|
|
984
|
+
}
|
|
985
|
+
throw normalizePinnedWriteError(error);
|
|
986
|
+
}
|
|
987
|
+
await verifySource();
|
|
988
|
+
});
|
|
989
|
+
});
|
|
990
|
+
}
|
|
991
|
+
finally {
|
|
992
|
+
await source.handle.close().catch(() => { });
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
async function resolvePinnedPathInRoot(root, params) {
|
|
996
|
+
const resolved = await resolvePinnedRootPathInRoot(root, {
|
|
997
|
+
relativePath: params.relativePath,
|
|
998
|
+
policy: params.remove ? PATH_ALIAS_POLICIES.unlinkTarget : PATH_ALIAS_POLICIES.strict,
|
|
999
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
1000
|
+
removalReceipts: params.removalReceipts,
|
|
1001
|
+
});
|
|
1002
|
+
const relativeResolved = path.relative(resolved.rootReal, resolved.canonicalPath);
|
|
1003
|
+
if ((relativeResolved === "" || relativeResolved === ".") && params.allowRoot === true) {
|
|
1004
|
+
await assertMutationNotDenied(resolved.canonicalPath, params.denyMutations);
|
|
1005
|
+
return { rootReal: resolved.rootReal, resolved: resolved.canonicalPath, relativePosix: "" };
|
|
1006
|
+
}
|
|
1007
|
+
const firstSegment = relativeResolved.split(path.sep)[0];
|
|
1008
|
+
if (relativeResolved === "" ||
|
|
1009
|
+
relativeResolved === "." ||
|
|
1010
|
+
firstSegment === ".." ||
|
|
1011
|
+
path.isAbsolute(relativeResolved)) {
|
|
1012
|
+
throw outsideWorkspaceError();
|
|
1013
|
+
}
|
|
1014
|
+
const relativePosix = relativeResolved.split(path.sep).join(path.posix.sep);
|
|
1015
|
+
const admittedCanonicalPath = admitPathInsideRoot({
|
|
1016
|
+
rootPath: resolved.rootReal,
|
|
1017
|
+
candidatePath: resolved.canonicalPath,
|
|
1018
|
+
rootIdentity: root.rootIdentity,
|
|
1019
|
+
});
|
|
1020
|
+
if (!admittedCanonicalPath) {
|
|
1021
|
+
throw outsideWorkspaceError();
|
|
1022
|
+
}
|
|
1023
|
+
resolved.canonicalPath = admittedCanonicalPath.path;
|
|
1024
|
+
await assertMutationNotDenied(resolved.canonicalPath, params.denyMutations, {
|
|
1025
|
+
protectAncestors: params.remove === true,
|
|
1026
|
+
});
|
|
1027
|
+
return { rootReal: resolved.rootReal, resolved: resolved.canonicalPath, relativePosix };
|
|
1028
|
+
}
|
|
1029
|
+
async function resolvePinnedRootPathInRoot(root, params) {
|
|
1030
|
+
await assertRootIdentityCurrent(root, params.removalReceipts?.observeRoot);
|
|
1031
|
+
const rootReal = root.rootReal;
|
|
1032
|
+
let resolved;
|
|
1033
|
+
try {
|
|
1034
|
+
const expandedPath = await expandRelativePathWithHome(params.relativePath);
|
|
1035
|
+
const resolution = {
|
|
1036
|
+
absolutePath: path.isAbsolute(expandedPath)
|
|
1037
|
+
? expandedPath
|
|
1038
|
+
: `${ensureTrailingSep(rootReal)}${expandedPath}`,
|
|
1039
|
+
rootPath: rootReal,
|
|
1040
|
+
rootCanonicalPath: rootReal,
|
|
1041
|
+
rootIdentity: root.rootIdentity,
|
|
1042
|
+
boundaryLabel: "root",
|
|
1043
|
+
policy: params.policy,
|
|
1044
|
+
...mutationSymlinkResolution(params.mutationSymlinks),
|
|
1045
|
+
};
|
|
1046
|
+
resolved = await (params.removalReceipts ? resolveRootPathForRemoval(resolution, params.removalReceipts) : resolveRootPath(resolution));
|
|
1047
|
+
}
|
|
1048
|
+
catch (err) {
|
|
1049
|
+
if (err instanceof FsSafeError && err.code === "symlink")
|
|
1050
|
+
throw err;
|
|
1051
|
+
throw new FsSafeError("path-alias", "path alias escape blocked", { cause: err });
|
|
1052
|
+
}
|
|
1053
|
+
return {
|
|
1054
|
+
rootReal: resolved.rootCanonicalPath,
|
|
1055
|
+
canonicalPath: resolved.canonicalPath,
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
async function statPathFallback(root, relativePath) {
|
|
1059
|
+
const initialObservationHook = getFsSafeTestHooks()?.beforeRootStatInitialObservation;
|
|
1060
|
+
const observed = initialObservationHook
|
|
1061
|
+
? undefined
|
|
1062
|
+
: await resolvePinnedObservedPathInRoot(root, relativePath, "stat");
|
|
1063
|
+
const resolved = observed ??
|
|
1064
|
+
await resolvePinnedPathInRoot(root, { relativePath, allowRoot: true });
|
|
1065
|
+
return await statResolvedPathInRoot(root, resolved.resolved, resolved.receipt);
|
|
1066
|
+
}
|
|
1067
|
+
async function listPathFallback(root, relativePath, withFileTypes) {
|
|
1068
|
+
const observed = await resolvePinnedObservedPathInRoot(root, relativePath, "directory");
|
|
1069
|
+
const resolved = observed ??
|
|
1070
|
+
await resolvePinnedPathInRoot(root, { relativePath, allowRoot: true });
|
|
1071
|
+
return await listDirectoryPath(root, resolved.resolved, withFileTypes, resolved.receipt);
|
|
1072
|
+
}
|
|
1073
|
+
async function movePathFallback(root, params) {
|
|
1074
|
+
const originalRoutes = params.overwrite && params.assertBeforeMutation
|
|
1075
|
+
? await Promise.all([params.fromRelative, params.toRelative].map(expandRelativePathWithHome)) : undefined;
|
|
1076
|
+
const source = await resolvePathInRoot(root, params.fromRelative, {
|
|
1077
|
+
aliasErrorCode: "path-alias",
|
|
1078
|
+
allowFinalSymlink: true,
|
|
1079
|
+
...mutationSymlinkResolution(params.mutationSymlinks),
|
|
1080
|
+
});
|
|
1081
|
+
await assertMutationNotDenied(source.resolved, params.denyMutations, { protectAncestors: true });
|
|
1082
|
+
const pinnedSource = await resolvePinnedRootPathInRoot(root, {
|
|
1083
|
+
relativePath: params.fromRelative,
|
|
1084
|
+
policy: PATH_ALIAS_POLICIES.strict,
|
|
1085
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
1086
|
+
});
|
|
1087
|
+
let pinnedTarget;
|
|
1088
|
+
const target = await resolveGuardedWritePathInRoot(root, {
|
|
1089
|
+
relativePath: params.toRelative,
|
|
1090
|
+
denyMutations: params.denyMutations,
|
|
1091
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
1092
|
+
allowFinalSymlink: true,
|
|
1093
|
+
protectDeniedAncestors: true,
|
|
1094
|
+
shouldAssertNoPathAlias: async (resolvedTarget) => {
|
|
1095
|
+
pinnedTarget = await resolvePinnedRootPathInRoot(root, {
|
|
1096
|
+
relativePath: params.toRelative,
|
|
1097
|
+
policy: PATH_ALIAS_POLICIES.unlinkTarget,
|
|
1098
|
+
});
|
|
1099
|
+
if (!params.overwrite)
|
|
1100
|
+
return true;
|
|
1101
|
+
let targetStat;
|
|
1102
|
+
try {
|
|
1103
|
+
targetStat = fsSync.lstatSync(resolvedTarget.resolved);
|
|
1104
|
+
}
|
|
1105
|
+
catch { /* Advisory lookup. */ }
|
|
1106
|
+
return !(process.platform !== "win32" &&
|
|
1107
|
+
params.overwrite &&
|
|
1108
|
+
targetStat?.isSymbolicLink() === true);
|
|
1109
|
+
},
|
|
1110
|
+
});
|
|
1111
|
+
let sourceIdentity;
|
|
1112
|
+
try {
|
|
1113
|
+
if (params.overwrite && params.assertBeforeMutation) {
|
|
1114
|
+
sourceIdentity = inspectFileIdentitySync(() => admitMoveSourceStat(fsSync.lstatSync(source.resolved, { bigint: true }), true));
|
|
1115
|
+
}
|
|
1116
|
+
else {
|
|
1117
|
+
admitMoveSourceStat(fsSync.lstatSync(source.resolved), params.overwrite);
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
catch (error) {
|
|
1121
|
+
if (isNotFoundPathError(error)) {
|
|
1122
|
+
throw fileNotFoundError(error instanceof Error ? error : undefined);
|
|
1123
|
+
}
|
|
1124
|
+
throw error;
|
|
1125
|
+
}
|
|
1126
|
+
if (!pinnedTarget) {
|
|
1127
|
+
throw new FsSafeError("path-mismatch", "destination admission was not completed");
|
|
1128
|
+
}
|
|
1129
|
+
if (!params.overwrite) {
|
|
1130
|
+
await movePathNoReplaceNative(root, params, {
|
|
1131
|
+
sourcePath: source.resolved,
|
|
1132
|
+
sourceParentPath: path.dirname(pinnedSource.canonicalPath),
|
|
1133
|
+
targetPath: target.resolved,
|
|
1134
|
+
targetParentPath: path.dirname(pinnedTarget.canonicalPath),
|
|
1135
|
+
});
|
|
1136
|
+
return;
|
|
1137
|
+
}
|
|
1138
|
+
const guardOptions = { bigint: sourceIdentity !== undefined };
|
|
1139
|
+
const sourceParentGuard = await createAsyncDirectoryGuard(path.dirname(source.resolved), guardOptions);
|
|
1140
|
+
const targetParentGuard = await createNearestExistingDirectoryGuard(target.rootReal, path.dirname(target.resolved), guardOptions);
|
|
1141
|
+
await getFsSafeTestHooks()?.beforeRootFallbackMutation?.("move", target.resolved);
|
|
1142
|
+
await assertAsyncDirectoryGuard(sourceParentGuard);
|
|
1143
|
+
await assertAsyncDirectoryGuard(targetParentGuard);
|
|
1144
|
+
try {
|
|
1145
|
+
assertFinalSymlinkRejected(source.resolved, params.mutationSymlinks !== undefined);
|
|
1146
|
+
assertFinalSymlinkRejected(target.resolved, params.mutationSymlinks !== undefined);
|
|
1147
|
+
params.assertBeforeMutation?.();
|
|
1148
|
+
if (sourceIdentity) {
|
|
1149
|
+
assertRootIdentityCurrentSync(root);
|
|
1150
|
+
assertSyncDirectoryGuard(sourceParentGuard);
|
|
1151
|
+
assertSyncDirectoryGuard(targetParentGuard);
|
|
1152
|
+
for (const [route, selected, expected, policy] of [
|
|
1153
|
+
[originalRoutes[0], source.resolved, pinnedSource.canonicalPath, PATH_ALIAS_POLICIES.strict],
|
|
1154
|
+
[originalRoutes[1], target.resolved, pinnedTarget.canonicalPath, PATH_ALIAS_POLICIES.unlinkTarget],
|
|
1155
|
+
]) {
|
|
1156
|
+
for (const absolutePath of new Set([path.isAbsolute(route) ? route : `${root.rootWithSep}${route}`, selected])) {
|
|
1157
|
+
try {
|
|
1158
|
+
const current = resolveRootPathSync({
|
|
1159
|
+
absolutePath, rootPath: root.rootReal, rootCanonicalPath: root.rootReal,
|
|
1160
|
+
rootIdentity: root.rootIdentity, boundaryLabel: "root", policy,
|
|
1161
|
+
...mutationSymlinkResolution(params.mutationSymlinks),
|
|
1162
|
+
});
|
|
1163
|
+
if (current.canonicalPath !== expected)
|
|
1164
|
+
throw new FsSafeError("path-mismatch", "move route changed during authorization");
|
|
1165
|
+
}
|
|
1166
|
+
catch (error) {
|
|
1167
|
+
throw normalizePinnedPathError(error);
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
inspectFileIdentitySync(() => admitMoveSourceStat(fsSync.lstatSync(source.resolved, { bigint: true }), true), sourceIdentity);
|
|
1172
|
+
}
|
|
1173
|
+
await fs.rename(source.resolved, target.resolved);
|
|
1174
|
+
}
|
|
1175
|
+
catch (error) {
|
|
1176
|
+
if (isNotFoundPathError(error)) {
|
|
1177
|
+
throw fileNotFoundError(error instanceof Error ? error : undefined);
|
|
1178
|
+
}
|
|
1179
|
+
if (hasNodeErrorCode(error, "EEXIST")) {
|
|
1180
|
+
throw new FsSafeError("already-exists", "destination exists", errorCauseOptions(error));
|
|
1181
|
+
}
|
|
1182
|
+
throw error;
|
|
1183
|
+
}
|
|
1184
|
+
try {
|
|
1185
|
+
await assertAsyncDirectoryGuard(sourceParentGuard);
|
|
1186
|
+
await assertAsyncDirectoryGuard(targetParentGuard);
|
|
1187
|
+
}
|
|
1188
|
+
catch (error) {
|
|
1189
|
+
throw normalizePinnedPathError(error);
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
async function writeFileFallback(root, params) {
|
|
1193
|
+
if (params.renameIdentity !== "verify-content-with-lock")
|
|
1194
|
+
return await writeFileFallbackUnlocked(root, params);
|
|
1195
|
+
const policy = snapshotPinnedMutationPolicy(params.denyMutations, params.mutationSymlinks);
|
|
1196
|
+
if (policy)
|
|
1197
|
+
params = { ...params, ...policy };
|
|
1198
|
+
const { rootReal, resolved } = await resolveGuardedWritePathInRoot(root, {
|
|
1199
|
+
relativePath: params.relativePath,
|
|
1200
|
+
denyMutations: params.denyMutations,
|
|
1201
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
1202
|
+
});
|
|
1203
|
+
await withRootFallbackCompatibilityLock({
|
|
1204
|
+
rootPath: rootReal, rootIdentity: root.rootIdentity, targetPath: resolved, assertBeforeMutation: params.assertBeforeMutation,
|
|
1205
|
+
}, async ({ targetPath, ...binding }) => await writeFileFallbackUnlocked(root, { ...params, ...binding }, targetPath));
|
|
1206
|
+
}
|
|
1207
|
+
async function writeFileFallbackUnlocked(root, params, expectedWritePath) {
|
|
1208
|
+
if (params.overwrite === false) {
|
|
1209
|
+
await writeMissingFileFallback(root, params, expectedWritePath);
|
|
1210
|
+
return;
|
|
1211
|
+
}
|
|
1212
|
+
const admissionParams = {
|
|
1213
|
+
relativePath: params.relativePath,
|
|
1214
|
+
mkdir: params.mkdir,
|
|
1215
|
+
denyMutations: params.denyMutations,
|
|
1216
|
+
assertBeforeMutation: params.assertBeforeMutation,
|
|
1217
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
1218
|
+
truncateExisting: false,
|
|
1219
|
+
expectedWritePath,
|
|
1220
|
+
};
|
|
1221
|
+
const admission = await openWritableFileInRoot(root, admissionParams, { createIfMissing: false });
|
|
1222
|
+
const existing = "missing" in admission ? undefined : admission;
|
|
1223
|
+
const target = existing?.opened;
|
|
1224
|
+
const retainedSelection = existing?.writeSelection;
|
|
1225
|
+
const missingSelection = "missing" in admission ? admission.writeSelection : undefined;
|
|
1226
|
+
const policyEnabled = params.denyMutations !== undefined || params.mutationSymlinks !== undefined;
|
|
1227
|
+
const destinationPath = "missing" in admission ? admission.targetPath
|
|
1228
|
+
: retainedSelection?.selectedPath ?? admission.opened.realPath;
|
|
1229
|
+
let mode = params.mode ?? (target ? target.stat.mode & 0o777 : undefined);
|
|
1230
|
+
if (policyEnabled && !retainedSelection && !missingSelection) {
|
|
1231
|
+
await target?.handle.close().catch(() => undefined);
|
|
1232
|
+
throw new FsSafeError("path-mismatch", "write admission state was not retained");
|
|
1233
|
+
}
|
|
1234
|
+
const destinationGuard = "missing" in admission ? admission.parentGuard : retainedSelection?.parentGuard ??
|
|
1235
|
+
await createAsyncDirectoryGuard(path.dirname(destinationPath), { bigint: true }).catch(async (error) => {
|
|
1236
|
+
await target?.handle.close().catch(() => undefined);
|
|
1237
|
+
throw error;
|
|
1238
|
+
});
|
|
1239
|
+
let tempPath = null;
|
|
1240
|
+
let unregisterTempPath = null;
|
|
1241
|
+
let writtenHandle;
|
|
1242
|
+
let writtenIdentity;
|
|
1243
|
+
let lateTargetHandle;
|
|
1244
|
+
try {
|
|
1245
|
+
tempPath = buildAtomicWriteTempPath(destinationPath);
|
|
1246
|
+
if (retainedSelection) {
|
|
1247
|
+
await refreshRetainedRootWriteAdmission(root, retainedSelection, true, target?.handle.fd);
|
|
1248
|
+
}
|
|
1249
|
+
else if (missingSelection) {
|
|
1250
|
+
await refreshRootWritePathSelection(missingSelection);
|
|
1251
|
+
}
|
|
1252
|
+
params.assertBeforeMutation?.();
|
|
1253
|
+
if (retainedSelection) {
|
|
1254
|
+
assertRootWriteSelectionSync(root, retainedSelection, true, target?.handle.fd);
|
|
1255
|
+
}
|
|
1256
|
+
else if (missingSelection) {
|
|
1257
|
+
assertRootWritePathSelectionSync(root, missingSelection);
|
|
1258
|
+
}
|
|
1259
|
+
assertRootIdentityCurrentSync(root);
|
|
1260
|
+
assertSyncDirectoryGuard(destinationGuard);
|
|
1261
|
+
writtenHandle = await fs.open(tempPath, OPEN_WRITE_CREATE_FLAGS, 0o600);
|
|
1262
|
+
writtenIdentity = fsSync.fstatSync(writtenHandle.fd, { bigint: true });
|
|
1263
|
+
// Preserve the creation mask when no existing destination supplies a mode.
|
|
1264
|
+
mode ??= Number(writtenIdentity.mode & 511n);
|
|
1265
|
+
unregisterTempPath = registerTempPathForExit(tempPath, { identity: writtenIdentity, singleLinkFile: true });
|
|
1266
|
+
await writeAllToFile(writtenHandle, params.data, {
|
|
1267
|
+
encoding: params.encoding, assertBeforeMutation: params.assertBeforeMutation,
|
|
1268
|
+
});
|
|
1269
|
+
if (params.durable !== false)
|
|
1270
|
+
await writtenHandle.sync();
|
|
1271
|
+
const commitTempPath = tempPath;
|
|
1272
|
+
const commitHandle = writtenHandle;
|
|
1273
|
+
const commitIdentity = writtenIdentity;
|
|
1274
|
+
await withAsyncDirectoryGuards([destinationGuard], async () => {
|
|
1275
|
+
await verifyAtomicWriteResult({
|
|
1276
|
+
root, targetPath: commitTempPath, fd: commitHandle.fd,
|
|
1277
|
+
expectedIdentity: commitIdentity, parentGuard: destinationGuard,
|
|
1278
|
+
});
|
|
1279
|
+
assertRootIdentityCurrentSync(root);
|
|
1280
|
+
assertSyncDirectoryGuard(destinationGuard);
|
|
1281
|
+
let publicationIdentity = inspectFallbackReplacementDestination(destinationPath);
|
|
1282
|
+
// A raced file needs its own access admission, not the old handle's rights.
|
|
1283
|
+
if (publicationIdentity && (!existing || !sameFileIdentity(publicationIdentity, existing.identity))) {
|
|
1284
|
+
const admitted = await openWritableFileInRoot(root, {
|
|
1285
|
+
...admissionParams, mkdir: false, expectedWritePath: destinationPath,
|
|
1286
|
+
}, { createIfMissing: false });
|
|
1287
|
+
lateTargetHandle = "missing" in admitted ? undefined : admitted.opened.handle;
|
|
1288
|
+
publicationIdentity = "missing" in admitted ? undefined : admitted.identity;
|
|
1289
|
+
await lateTargetHandle?.close();
|
|
1290
|
+
}
|
|
1291
|
+
// Windows cannot replace a destination while its old handle remains open.
|
|
1292
|
+
await target?.handle.close();
|
|
1293
|
+
if (retainedSelection) {
|
|
1294
|
+
await refreshRetainedRootWriteAdmission(root, retainedSelection, true);
|
|
1295
|
+
}
|
|
1296
|
+
else if (missingSelection) {
|
|
1297
|
+
await refreshRootWritePathSelection(missingSelection);
|
|
1298
|
+
}
|
|
1299
|
+
assertFinalSymlinkRejected(destinationPath, params.mutationSymlinks !== undefined);
|
|
1300
|
+
params.assertBeforeMutation?.();
|
|
1301
|
+
if (retainedSelection) {
|
|
1302
|
+
assertRootWriteSelectionSync(root, retainedSelection, true);
|
|
1303
|
+
}
|
|
1304
|
+
else if (missingSelection) {
|
|
1305
|
+
assertRootWritePathSelectionSync(root, missingSelection);
|
|
1306
|
+
}
|
|
1307
|
+
assertRootIdentityCurrentSync(root);
|
|
1308
|
+
assertSyncDirectoryGuard(destinationGuard);
|
|
1309
|
+
const current = inspectFallbackReplacementDestination(destinationPath);
|
|
1310
|
+
if (publicationIdentity ? !current || !sameFileIdentity(current, publicationIdentity) : current) {
|
|
1311
|
+
throw new FsSafeError("path-mismatch", "write destination changed before publication");
|
|
1312
|
+
}
|
|
1313
|
+
await fs.rename(commitTempPath, destinationPath);
|
|
1314
|
+
tempPath = null;
|
|
1315
|
+
});
|
|
1316
|
+
unregisterTempPath();
|
|
1317
|
+
unregisterTempPath = null;
|
|
1318
|
+
await finishRootFallbackWrite({
|
|
1319
|
+
root, targetPath: destinationPath, handle: writtenHandle, identity: writtenIdentity,
|
|
1320
|
+
parentGuard: destinationGuard, mode, options: params,
|
|
1321
|
+
// Read/write access is needed to sync the accepted destination on Windows.
|
|
1322
|
+
openForCompatibility: () => openVerifiedLocalFile(destinationPath, { hardlinks: "reject", readWrite: true }),
|
|
1323
|
+
onVerificationFailure: err => emitWriteBoundaryWarning(`post-write verification failed: ${String(err)}`),
|
|
1324
|
+
});
|
|
1325
|
+
}
|
|
1326
|
+
finally {
|
|
1327
|
+
await target?.handle.close().catch(() => undefined);
|
|
1328
|
+
await lateTargetHandle?.close().catch(() => undefined);
|
|
1329
|
+
if (tempPath && writtenHandle) {
|
|
1330
|
+
await cleanupPinnedFilePath({
|
|
1331
|
+
pathname: tempPath, handle: writtenHandle, identity: writtenIdentity, parentGuard: destinationGuard,
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
await writtenHandle?.close().catch(() => undefined);
|
|
1335
|
+
unregisterTempPath?.();
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
function inspectFallbackReplacementDestination(targetPath) {
|
|
1339
|
+
let current;
|
|
1340
|
+
try {
|
|
1341
|
+
current = inspectFileIdentitySync(() => fsSync.lstatSync(targetPath, { bigint: true }));
|
|
1342
|
+
}
|
|
1343
|
+
catch (error) {
|
|
1344
|
+
if (isNotFoundPathError(error))
|
|
1345
|
+
return;
|
|
1346
|
+
throw error;
|
|
1347
|
+
}
|
|
1348
|
+
if (current.isSymbolicLink() || !current.isFile()) {
|
|
1349
|
+
throw new FsSafeError("path-mismatch", "write destination changed before publication");
|
|
1350
|
+
}
|
|
1351
|
+
if (current.nlink > 1n)
|
|
1352
|
+
throw hardlinkedPathNotAllowedError();
|
|
1353
|
+
return current;
|
|
1354
|
+
}
|
|
1355
|
+
async function writeMissingFileFallback(root, params, expectedWritePath) {
|
|
1356
|
+
const guardedTarget = params.denyMutations === undefined && params.mutationSymlinks === undefined
|
|
1357
|
+
? undefined
|
|
1358
|
+
: await resolveGuardedWriteTargetInRoot(root, {
|
|
1359
|
+
relativePath: params.relativePath,
|
|
1360
|
+
denyMutations: params.denyMutations,
|
|
1361
|
+
mutationSymlinks: params.mutationSymlinks,
|
|
1362
|
+
});
|
|
1363
|
+
const { resolved } = guardedTarget?.resolvedPath ?? await resolveGuardedWritePathInRoot(root, {
|
|
1364
|
+
relativePath: params.relativePath,
|
|
1365
|
+
});
|
|
1366
|
+
const prepared = guardedTarget ? await prepareSharedRootWriteTarget(root, {
|
|
1367
|
+
relativePath: params.relativePath, guardedTarget, mkdir: params.mkdir,
|
|
1368
|
+
assertBeforeMutation: params.assertBeforeMutation,
|
|
1369
|
+
}) : undefined;
|
|
1370
|
+
const mutationAdmission = prepared?.mutationAdmission;
|
|
1371
|
+
const preparedParent = prepared?.preparedParent;
|
|
1372
|
+
const targetPath = prepared?.targetPath ?? (params.mkdir === false ? resolved :
|
|
1373
|
+
await prepareRootWriteTarget(root, resolved, params.assertBeforeMutation));
|
|
1374
|
+
assertRootFallbackWritePath(expectedWritePath, targetPath);
|
|
1375
|
+
const pathSelection = guardedTarget
|
|
1376
|
+
? await prepareGuardedRootWritePathSelection(guardedTarget, targetPath, targetPath, preparedParent)
|
|
1377
|
+
: undefined;
|
|
1378
|
+
const parentGuard = pathSelection?.parentGuard ??
|
|
1379
|
+
await createAsyncDirectoryGuard(path.dirname(targetPath), { bigint: true });
|
|
1380
|
+
let created = false;
|
|
1381
|
+
let completed = false;
|
|
1382
|
+
let createdIdentity;
|
|
1383
|
+
let writtenHandle;
|
|
1384
|
+
let verifyingPublication = false;
|
|
1385
|
+
try {
|
|
1386
|
+
const { handle, writtenStat } = await withAsyncDirectoryGuards([parentGuard], async () => {
|
|
1387
|
+
assertFinalSymlinkRejected(targetPath, params.mutationSymlinks !== undefined);
|
|
1388
|
+
params.assertBeforeMutation?.();
|
|
1389
|
+
if (mutationAdmission)
|
|
1390
|
+
assertSyncDirectoryGuard(parentGuard);
|
|
1391
|
+
const handle = await fs.open(targetPath, OPEN_WRITE_CREATE_FLAGS, params.mode ?? 0o600).catch((error) => recordExclusiveCreateFailure(error, targetPath));
|
|
1392
|
+
writtenHandle = handle;
|
|
1393
|
+
created = true;
|
|
1394
|
+
const writtenStat = fsSync.fstatSync(handle.fd, { bigint: true });
|
|
1395
|
+
createdIdentity = writtenStat;
|
|
1396
|
+
await writeAllToFile(handle, params.data, {
|
|
1397
|
+
encoding: params.encoding,
|
|
1398
|
+
assertBeforeMutation: () => {
|
|
1399
|
+
assertFinalSymlinkRejected(targetPath, params.mutationSymlinks !== undefined);
|
|
1400
|
+
params.assertBeforeMutation?.();
|
|
1401
|
+
if (mutationAdmission)
|
|
1402
|
+
assertSyncDirectoryGuard(parentGuard);
|
|
1403
|
+
},
|
|
1404
|
+
});
|
|
1405
|
+
if (params.durable !== false)
|
|
1406
|
+
await handle.sync();
|
|
1407
|
+
return { handle, writtenStat };
|
|
1408
|
+
}, {
|
|
1409
|
+
onPostGuardFailure: () => {
|
|
1410
|
+
created = false; // Parent is untrusted now; skip outer path cleanup by name.
|
|
1411
|
+
},
|
|
1412
|
+
});
|
|
1413
|
+
writtenHandle = handle;
|
|
1414
|
+
created = false;
|
|
1415
|
+
verifyingPublication = true;
|
|
1416
|
+
await verifyAtomicWriteResult({
|
|
1417
|
+
root,
|
|
1418
|
+
targetPath,
|
|
1419
|
+
expectedIdentity: writtenStat,
|
|
1420
|
+
fd: handle.fd,
|
|
1421
|
+
parentGuard,
|
|
1422
|
+
});
|
|
1423
|
+
if (params.durable !== false)
|
|
1424
|
+
await syncDirectoryBestEffort(path.dirname(targetPath));
|
|
1425
|
+
completed = true;
|
|
1426
|
+
}
|
|
1427
|
+
catch (err) {
|
|
1428
|
+
if (verifyingPublication)
|
|
1429
|
+
throw err;
|
|
1430
|
+
if (hasNodeErrorCode(err, "EEXIST")) {
|
|
1431
|
+
throw new FsSafeError("already-exists", "file already exists", errorCauseOptions(err));
|
|
1432
|
+
}
|
|
1433
|
+
throw err;
|
|
1434
|
+
}
|
|
1435
|
+
finally {
|
|
1436
|
+
if (created && writtenHandle) {
|
|
1437
|
+
await cleanupPinnedFilePath({
|
|
1438
|
+
pathname: targetPath, handle: writtenHandle, identity: createdIdentity, parentGuard,
|
|
1439
|
+
});
|
|
1440
|
+
}
|
|
1441
|
+
if (completed)
|
|
1442
|
+
await writtenHandle?.close();
|
|
1443
|
+
else
|
|
1444
|
+
await writtenHandle?.close().catch(() => undefined);
|
|
1445
|
+
}
|
|
1446
|
+
}
|