@openclaw/matrix 2026.11.7 → 2026.11.10-beta.2
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/dist/.setup/{account-config-CRsKoMqJ.mjs → account-config-CVM2a28p.mjs} +1 -2
- package/dist/.setup/{account-selection-UUPhMBmu.mjs → account-selection-Cow3TMFO.mjs} +5 -8
- package/dist/.setup/{approval-handler.runtime-LBvkygUK.mjs → approval-handler.runtime-KhjfA3Qm.mjs} +8 -9
- package/dist/.setup/{approval-reactions-BazmsDbe.mjs → approval-reactions-Bz_8XB01.mjs} +2 -3
- package/dist/.setup/{backup-health-Dm_YMVFT.mjs → backup-health-BxH69np2.mjs} +1 -2
- package/dist/.setup/{channel-CHryi9FS.mjs → channel-DkjJIQBk.mjs} +30 -40
- package/dist/.setup/{channel.runtime-DluXWaGb.mjs → channel.runtime-DOjRmnx0.mjs} +10 -12
- package/dist/.setup/{channel.setup-BDbs0FLq.mjs → channel.setup-tIeMccfh.mjs} +9 -7
- package/dist/.setup/{cli-C7Jmy2x4.mjs → cli-CChA7Tf5.mjs} +23 -31
- package/dist/.setup/{cli-doctor-BVstkgJE.mjs → cli-doctor-CoRX0erj.mjs} +3 -4
- package/dist/.setup/{cli-metadata-B0GHIn05.mjs → cli-metadata-FwlOHfdX.mjs} +3 -5
- package/dist/.setup/{client-Bk_tBqNp.mjs → client-BVgnwwz0.mjs} +21 -26
- package/dist/.setup/{client-mFRVrUt3.mjs → client-BgOKS4W7.mjs} +4 -5
- package/dist/.setup/{client-bootstrap-Bhhri97J.mjs → client-bootstrap-CHs5OQ1Z.mjs} +2 -3
- package/dist/.setup/{client-support-B_Mp4Qk9.mjs → client-support-CqXAOZp3.mjs} +2 -3
- package/dist/.setup/{config-paths-CnREYb1Y.mjs → config-paths-DBpHxDyc.mjs} +1 -2
- package/dist/.setup/{create-client-CzUtZgYF.mjs → create-client-mnjEWdZV.mjs} +8 -9
- package/dist/.setup/{credentials-kT20jk_u.mjs → credentials-CGgWuhFV.mjs} +5 -6
- package/dist/.setup/{credentials-read-CM6wXUjL.mjs → credentials-read-rPqEpuxv.mjs} +5 -6
- package/dist/.setup/{credentials-state-B3cuUFwZ.mjs → credentials-state-jxq29yQw.mjs} +1 -2
- package/dist/.setup/{crypto-node.runtime-6Aj_ltHQ.mjs → crypto-node.runtime-E_hqXGxm.mjs} +1 -2
- package/dist/.setup/{crypto-runtime-BI9Pc344.mjs → crypto-runtime-tZ95jwNO.mjs} +10 -15
- package/dist/.setup/{crypto-state-store-BZLlwkv_.mjs → crypto-state-store-CzAmeC_Z.mjs} +4 -4
- package/dist/.setup/{crypto-store-ownership-CiQ1l_O7.mjs → crypto-store-ownership-DPO9WcVz.mjs} +3 -4
- package/dist/.setup/{crypto-unsafe-state-doctor-CmF1X1dZ.mjs → crypto-unsafe-state-doctor-D3WLE-t4.mjs} +6 -7
- package/dist/.setup/{deps-D-W_QQjz.mjs → deps-CVPT2Ros.mjs} +1 -2
- package/dist/.setup/{device-health-Ck2YpEVN.mjs → device-health-D7n-lPeb.mjs} +2 -3
- package/dist/.setup/{direct-management-Dp1giZ34.mjs → direct-management-D59C1WO-.mjs} +7 -11
- package/dist/.setup/{directory-live-DmkH9hcp.mjs → directory-live-CQNKUJJx.mjs} +5 -6
- package/dist/.setup/{doctor-contract-BANpMUbP.mjs → doctor-contract-GiXgCj7k.mjs} +2 -3
- package/dist/.setup/{draft-stream-bVedfEB3.mjs → draft-stream-B1hQ9Mgx.mjs} +3 -4
- package/dist/.setup/{encryption-guidance-Br3Lv9Hm.mjs → encryption-guidance-DfbEaKct.mjs} +3 -4
- package/dist/.setup/{env-vars-aEBngJPa.mjs → env-vars-Bh1iOXJ1.mjs} +1 -2
- package/dist/.setup/{errors-Bw4EHwKX.mjs → errors-CL3YJV8U.mjs} +1 -2
- package/dist/.setup/{event-helpers-CxNgMQqH.mjs → event-helpers-DDUjVVf7.mjs} +1 -2
- package/dist/.setup/{exec-approvals-BeYF9-3o.mjs → exec-approvals-C692_FeS.mjs} +6 -9
- package/dist/.setup/{file-sync-store-BpS12yaK.mjs → file-sync-store-CAhnwOPA.mjs} +6 -36
- package/dist/.setup/{http-client-B_ohXrBm.mjs → http-client-CqnKFKUH.mjs} +5 -8
- package/dist/.setup/{idb-persistence-BTOsltD9.mjs → idb-persistence-DeGUs--C.mjs} +6 -7
- package/dist/.setup/{idb-persistence-lock-Bh3ZLIsE.mjs → idb-persistence-lock-CH2K6d_3.mjs} +1 -2
- package/dist/.setup/{joined-room-encryption-C0gHa2DG.mjs → joined-room-encryption-9sJK1kM-.mjs} +2 -3
- package/dist/.setup/{logger-CuAzdD8Q.mjs → logger-B9TwnY6C.mjs} +2 -3
- package/dist/.setup/{logging-CoaEyRtA.mjs → logging-Bnsn7s4r.mjs} +3 -4
- package/dist/.setup/{messages-BqVczVlt.mjs → messages-DSS3EtqP.mjs} +9 -14
- package/dist/.setup/{monitor-BsSo3tCv.mjs → monitor-Ci1BOpAp.mjs} +94 -136
- package/dist/.setup/{onboarding-CoMpgTiK.mjs → onboarding-DA5lN0I1.mjs} +10 -11
- package/dist/.setup/{outbound-ntm0KOfK.mjs → outbound-CFFxi_uJ.mjs} +5 -6
- package/dist/.setup/{profile-update-gC436enW.mjs → profile-update-DP-a-BxL.mjs} +7 -9
- package/dist/.setup/{reaction-events-DTThoaJQ.mjs → reaction-events-B8JhmXYM.mjs} +8 -9
- package/dist/.setup/{resolve-targets-CWW9zTYp.mjs → resolve-targets-B3NLls5a.mjs} +4 -5
- package/dist/.setup/{retired-state-JGUEBE72.mjs → retired-state-BsxdpJNk.mjs} +3 -41
- package/dist/.setup/{room-info-CM3MKoh4.mjs → room-info-gld8p2j7.mjs} +6 -8
- package/dist/.setup/{runtime-1kn1P6io.mjs → runtime-Ck8TjD7L.mjs} +1 -2
- package/dist/.setup/{runtime-doctor-migrations-hxP-CXX7.mjs → runtime-doctor-migrations-CSvRANPN.mjs} +5 -10
- package/dist/.setup/{runtime-setter-api-i2MOXoT3.mjs → runtime-setter-api-CpwhcBQK.mjs} +1 -1
- package/dist/.setup/{sdk-ByFgA6Il.mjs → sdk-Bzp2OIxv.mjs} +33 -48
- package/dist/.setup/{secret-contract-DxyzKSzf.mjs → secret-contract-AKnr45nw.mjs} +2 -3
- package/dist/.setup/{secret-contract-api-Dukgvike.mjs → secret-contract-api-DMSwMIxd.mjs} +1 -1
- package/dist/.setup/{send-DFB7JGg2.mjs → send-COg4UAcR.mjs} +58 -44
- package/dist/.setup/{send-currentness-DGxiiBn9.mjs → send-currentness-D1x6YP9O.mjs} +2 -4
- package/dist/.setup/{setup-bootstrap-razh2kSp.mjs → setup-bootstrap-DCCxNvFW.mjs} +4 -5
- package/dist/.setup/{setup-core-BVbxltMM.mjs → setup-core-BRD4PRVa.mjs} +13 -20
- package/dist/.setup/setup-plugin-api-YtkxNQTz.mjs +2 -0
- package/dist/.setup/sqlite-state-D6Zpz1q1.mjs +36 -0
- package/dist/.setup/{startup-verification-UkaoSldm.mjs → startup-verification-DfOuAruK.mjs} +5 -5
- package/dist/.setup/{state-layout-walk-BQMgMykU.mjs → state-layout-walk-BqCZTHpp.mjs} +2 -3
- package/dist/.setup/{storage-C3N6YZIn.mjs → storage-CCarF_gm.mjs} +9 -10
- package/dist/.setup/{storage-paths-B51JM-pC.mjs → storage-paths-e_Vq6cvw.mjs} +1 -2
- package/dist/.setup/{subagent-hooks-CfGAysJi.mjs → subagent-hooks-BdbuojSv.mjs} +2 -3
- package/dist/.setup/{sync-cache-state-BKVaKRzQ.mjs → sync-cache-state-BMvqW4Ii.mjs} +5 -5
- package/dist/.setup/{sync-state-CWbp0QSY.mjs → sync-state-Cu1nagBV.mjs} +1 -2
- package/dist/.setup/{target-ids-HhcaKX1n.mjs → target-ids-DltG_ZHJ.mjs} +1 -2
- package/dist/.setup/{task-runner-DY3aKiQa.mjs → task-runner-CYyGHdNW.mjs} +1 -2
- package/dist/.setup/{thread-binding-api-BvuaKpd0.mjs → thread-binding-api-OtSciHmZ.mjs} +2 -3
- package/dist/.setup/{thread-bindings-D5VJEDZV.mjs → thread-bindings-DrYooQd3.mjs} +54 -23
- package/dist/.setup/{thread-bindings-shared-QmZOfX9Q.mjs → thread-bindings-shared-DEAGGuDA.mjs} +6 -3
- package/dist/.setup/{tool-actions-DexlmVDf.mjs → tool-actions-4dKbrHJ5.mjs} +25 -25
- package/dist/.setup/{url-validation-By_2hsXr.mjs → url-validation-DesoKUns.mjs} +1 -2
- package/dist/.setup/{verification-B122bsH2.mjs → verification-DIxfxgMv.mjs} +4 -5
- package/dist/.source-module-urls/1cd4d4ff8d44e1c8b830932b44d7cf8a7f3350e09e169910e1d7a85e131b7bea.json +1 -1
- package/dist/api.js +8 -8
- package/dist/auth-presence.js +2 -3
- 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 +15 -17
- package/dist/helper-api.js +3 -3
- package/dist/index.js +3 -4
- package/dist/plugin-entry.handlers.runtime.js +3 -4
- package/dist/runtime-api.js +7 -8
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/session-binding-contract-api.js +2 -2
- package/dist/setup-entry.js +4 -5
- package/dist/setup-plugin-api.js +1 -1
- package/dist/subagent-hooks-api.js +2 -3
- package/dist/thread-binding-api.js +1 -1
- package/dist/thread-bindings-runtime.js +1 -1
- package/node_modules/@tokenizer/inflate/README.md +57 -17
- package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +12 -1
- package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +127 -57
- package/node_modules/@tokenizer/inflate/lib/ZipLimitError.d.ts +18 -4
- package/node_modules/@tokenizer/inflate/lib/ZipLimitError.js +1 -1
- package/node_modules/@tokenizer/inflate/lib/index.d.ts +1 -1
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/LICENSE.txt +21 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/README.md +736 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbortSignal.d.ts +2 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbortSignal.js +7 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbstractTokenizer.d.ts +117 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/AbstractTokenizer.js +204 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BlobTokenizer.d.ts +29 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BlobTokenizer.js +57 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferSizeError.d.ts +19 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferSizeError.js +27 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferTokenizer.d.ts +29 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/BufferTokenizer.js +51 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/FileTokenizer.d.ts +47 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/FileTokenizer.js +83 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/NotRegularFileError.d.ts +5 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/NotRegularFileError.js +8 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +34 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/ReadStreamTokenizer.js +140 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerBoundaryError.d.ts +7 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerBoundaryError.js +10 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerView.d.ts +9 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/TokenizerView.js +184 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/core.d.ts +44 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/core.js +56 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/index.d.ts +17 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/index.js +46 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/isRandomAccessTokenizer.d.ts +6 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/isRandomAccessTokenizer.js +10 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +54 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/AbstractStreamReader.js +73 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Deferred.d.ts +6 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Deferred.js +10 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Errors.d.ts +10 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/Errors.js +16 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/StreamReader.d.ts +34 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/StreamReader.js +125 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +14 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamByobReader.js +29 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +19 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +67 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +24 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReader.js +13 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +5 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +19 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/index.d.ts +6 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/stream/index.js +5 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/types.d.ts +163 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/lib/types.js +1 -0
- package/node_modules/@tokenizer/inflate/node_modules/strtok3/package.json +97 -0
- package/node_modules/@tokenizer/inflate/package.json +5 -5
- package/node_modules/fake-indexeddb/README.md +7 -7
- package/node_modules/fake-indexeddb/build/cjs/lib/Index.js +47 -22
- package/node_modules/fake-indexeddb/build/cjs/lib/ObjectStore.js +4 -2
- package/node_modules/fake-indexeddb/build/cjs/lib/RecordStore.js +14 -9
- package/node_modules/fake-indexeddb/build/esm/lib/Index.js +47 -22
- package/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js +4 -2
- package/node_modules/fake-indexeddb/build/esm/lib/RecordStore.js +14 -9
- package/node_modules/fake-indexeddb/package.json +1 -1
- package/node_modules/file-type/node_modules/strtok3/README.md +154 -9
- package/node_modules/file-type/node_modules/strtok3/lib/AbstractTokenizer.d.ts +3 -0
- package/node_modules/file-type/node_modules/strtok3/lib/AbstractTokenizer.js +12 -4
- package/node_modules/file-type/node_modules/strtok3/lib/BlobTokenizer.js +1 -0
- package/node_modules/file-type/node_modules/strtok3/lib/BufferTokenizer.js +2 -1
- package/node_modules/file-type/node_modules/strtok3/lib/FileTokenizer.d.ts +1 -1
- package/node_modules/file-type/node_modules/strtok3/lib/FileTokenizer.js +3 -3
- package/node_modules/file-type/node_modules/strtok3/lib/ReadStreamTokenizer.js +17 -2
- package/node_modules/file-type/node_modules/strtok3/lib/TokenizerBoundaryError.d.ts +7 -0
- package/node_modules/file-type/node_modules/strtok3/lib/TokenizerBoundaryError.js +10 -0
- package/node_modules/file-type/node_modules/strtok3/lib/TokenizerView.d.ts +9 -0
- package/node_modules/file-type/node_modules/strtok3/lib/TokenizerView.js +184 -0
- package/node_modules/file-type/node_modules/strtok3/lib/core.d.ts +4 -1
- package/node_modules/file-type/node_modules/strtok3/lib/core.js +5 -18
- package/node_modules/file-type/node_modules/strtok3/lib/index.js +28 -5
- package/node_modules/file-type/node_modules/strtok3/lib/isRandomAccessTokenizer.d.ts +6 -0
- package/node_modules/file-type/node_modules/strtok3/lib/isRandomAccessTokenizer.js +10 -0
- package/node_modules/file-type/node_modules/strtok3/lib/stream/StreamReader.d.ts +4 -0
- package/node_modules/file-type/node_modules/strtok3/lib/stream/StreamReader.js +29 -8
- package/node_modules/file-type/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +12 -2
- package/node_modules/file-type/node_modules/strtok3/lib/types.d.ts +19 -2
- package/node_modules/file-type/node_modules/strtok3/package.json +10 -8
- package/node_modules/file-type/package.json +3 -3
- package/node_modules/file-type/source/detectors/ebml.js +31 -16
- package/node_modules/file-type/source/detectors/zip.js +21 -203
- package/node_modules/matrix-js-sdk/CHANGELOG.md +28 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts +30 -25
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js +91 -100
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +6 -4
- 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/IMembershipManager.d.ts +2 -15
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +36 -7
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +29 -2
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +12 -51
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +10 -66
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts +5 -10
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +25 -44
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +8 -8
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +30 -22
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js +7 -8
- package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts +8 -13
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js +2 -11
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts +6 -2
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js +3 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts +5 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js +5 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts +9 -2
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js +8 -5
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts +17 -2
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js +88 -47
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/room.d.ts +1 -1
- package/node_modules/matrix-js-sdk/lib/models/room.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/room.js +8 -2
- package/node_modules/matrix-js-sdk/lib/models/room.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/thread.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/models/thread.js +23 -2
- package/node_modules/matrix-js-sdk/lib/models/thread.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts +3 -3
- package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.d.ts +95 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.js +3 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/SignInWithQRFlow.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rendezvous/index.js.map +1 -1
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +5 -1
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -1
- package/node_modules/matrix-js-sdk/package.json +3 -3
- package/node_modules/matrix-js-sdk/src/matrixrtc/CallMembership.ts +85 -95
- package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +6 -4
- package/node_modules/matrix-js-sdk/src/matrixrtc/IMembershipManager.ts +2 -15
- package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +58 -9
- package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +21 -80
- package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +23 -40
- package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +51 -39
- package/node_modules/matrix-js-sdk/src/matrixrtc/ToDeviceKeyTransport.ts +7 -7
- package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/rtc.ts +9 -23
- package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/session.ts +14 -2
- package/node_modules/matrix-js-sdk/src/matrixrtc/types.ts +6 -0
- package/node_modules/matrix-js-sdk/src/models/event-timeline-set.ts +19 -4
- package/node_modules/matrix-js-sdk/src/models/room-sticky-events.ts +92 -58
- package/node_modules/matrix-js-sdk/src/models/room.ts +8 -2
- package/node_modules/matrix-js-sdk/src/models/thread.ts +25 -3
- package/node_modules/matrix-js-sdk/src/rendezvous/MSC4108SignInWithQR.ts +3 -3
- package/node_modules/matrix-js-sdk/src/rendezvous/SignInWithQRFlow.ts +117 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/index.ts +1 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +5 -1
- package/node_modules/music-metadata/README.md +62 -67
- package/node_modules/music-metadata/lib/ParserFactory.js +3 -1
- package/node_modules/music-metadata/lib/aiff/AiffParser.d.ts +2 -0
- package/node_modules/music-metadata/lib/aiff/AiffParser.js +42 -3
- package/node_modules/music-metadata/lib/aiff/AiffToken.d.ts +1 -0
- package/node_modules/music-metadata/lib/aiff/AiffToken.js +1 -0
- package/node_modules/music-metadata/lib/apev2/APEv2Parser.js +11 -1
- package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +2 -2
- package/node_modules/music-metadata/lib/asf/AsfObject.js +81 -111
- package/node_modules/music-metadata/lib/asf/AsfParser.js +5 -3
- package/node_modules/music-metadata/lib/asf/AsfTagMapper.js +27 -3
- package/node_modules/music-metadata/lib/asf/AsfUtil.d.ts +1 -1
- package/node_modules/music-metadata/lib/caf/CafParser.js +13 -2
- package/node_modules/music-metadata/lib/caf/CafToken.d.ts +2 -2
- package/node_modules/music-metadata/lib/caf/CafToken.js +9 -2
- package/node_modules/music-metadata/lib/common/Allocation.d.ts +6 -0
- package/node_modules/music-metadata/lib/common/Allocation.js +18 -0
- package/node_modules/music-metadata/lib/common/GenericTagMapper.js +1 -1
- package/node_modules/music-metadata/lib/common/MetadataCollector.d.ts +2 -0
- package/node_modules/music-metadata/lib/common/MetadataCollector.js +21 -4
- package/node_modules/music-metadata/lib/common/Util.d.ts +4 -0
- package/node_modules/music-metadata/lib/common/Util.js +34 -1
- package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.d.ts +4 -1
- package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.js +32 -36
- package/node_modules/music-metadata/lib/ebml/EbmlIterator.js +6 -2
- package/node_modules/music-metadata/lib/flac/FlacParser.js +2 -1
- package/node_modules/music-metadata/lib/id3v2/FrameParser.d.ts +7 -3
- package/node_modules/music-metadata/lib/id3v2/FrameParser.js +91 -46
- package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.js +6 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.d.ts +5 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.js +6 -4
- package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.d.ts +2 -1
- package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.js +57 -15
- package/node_modules/music-metadata/lib/lrc/LyricsParser.d.ts +18 -2
- package/node_modules/music-metadata/lib/lrc/LyricsParser.js +14 -3
- package/node_modules/music-metadata/lib/mp4/Atom.d.ts +3 -3
- package/node_modules/music-metadata/lib/mp4/Atom.js +14 -7
- package/node_modules/music-metadata/lib/mp4/AtomToken.d.ts +25 -25
- package/node_modules/music-metadata/lib/mp4/AtomToken.js +136 -119
- package/node_modules/music-metadata/lib/mp4/MP4Parser.d.ts +16 -2
- package/node_modules/music-metadata/lib/mp4/MP4Parser.js +370 -132
- package/node_modules/music-metadata/lib/mp4/MP4TagMapper.js +30 -0
- package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.js +19 -8
- package/node_modules/music-metadata/lib/ogg/OggParser.js +6 -2
- package/node_modules/music-metadata/lib/ogg/OggToken.d.ts +2 -2
- package/node_modules/music-metadata/lib/ogg/OggToken.js +3 -9
- package/node_modules/music-metadata/lib/ogg/flac/FlacStream.d.ts +9 -11
- package/node_modules/music-metadata/lib/ogg/flac/FlacStream.js +111 -27
- package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +6 -0
- package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.js +6 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.d.ts +2 -2
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.js +8 -4
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.d.ts +1 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.js +23 -3
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.d.ts +4 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.js +15 -2
- package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.js +1 -0
- package/node_modules/music-metadata/lib/type.d.ts +23 -6
- package/node_modules/music-metadata/lib/wav/BwfChunk.d.ts +12 -2
- package/node_modules/music-metadata/lib/wav/BwfChunk.js +39 -11
- package/node_modules/music-metadata/lib/wav/WaveParser.js +13 -2
- package/node_modules/music-metadata/package.json +2 -1
- package/node_modules/typebox/build/format/date_time.d.mts +2 -1
- package/node_modules/typebox/build/format/date_time.mjs +12 -3
- package/node_modules/typebox/package.json +1 -1
- package/package.json +8 -8
- package/dist/.setup/setup-plugin-api-CQKySg7F.mjs +0 -2
- package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/auto.js +0 -54
- package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/binarySearchTree.js +0 -413
- package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/fakeIndexedDB.js +0 -1018
- package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/forceCloseDatabase.js +0 -99
- package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/getAll.js +0 -707
- package/node_modules/fake-indexeddb/build/cjs/test/fakeIndexedDB/memoryLeaks.js +0 -42
- package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/auto.js +0 -52
- package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/binarySearchTree.js +0 -409
- package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/fakeIndexedDB.js +0 -1014
- package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/forceCloseDatabase.js +0 -95
- package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/getAll.js +0 -703
- package/node_modules/fake-indexeddb/build/esm/test/fakeIndexedDB/memoryLeaks.js +0 -38
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { t as runtime_doctor_migrations_exports } from "./.setup/runtime-doctor-migrations-
|
|
2
|
-
import { i as normalizeMatrixStoredCredentials, n as isMatrixCredentialRevocation, r as matrixCredentialsStoreKey, t as MATRIX_CREDENTIALS_NAMESPACE } from "./.setup/credentials-state-
|
|
3
|
-
import { i as resolveMatrixCredentialsDir } from "./.setup/storage-paths-
|
|
4
|
-
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-
|
|
5
|
-
import { a as describeRetiredMatrixState,
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
1
|
+
import { t as runtime_doctor_migrations_exports } from "./.setup/runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
+
import { i as normalizeMatrixStoredCredentials, n as isMatrixCredentialRevocation, r as matrixCredentialsStoreKey, t as MATRIX_CREDENTIALS_NAMESPACE } from "./.setup/credentials-state-jxq29yQw.mjs";
|
|
3
|
+
import { i as resolveMatrixCredentialsDir } from "./.setup/storage-paths-e_Vq6cvw.mjs";
|
|
4
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-GiXgCj7k.mjs";
|
|
5
|
+
import { a as describeRetiredMatrixState, t as RETIRED_MATRIX_STATE_FILENAMES } from "./.setup/retired-state-BsxdpJNk.mjs";
|
|
6
|
+
import { t as resolveMatrixSqliteStateEnv } from "./.setup/sqlite-state-D6Zpz1q1.mjs";
|
|
7
|
+
import { t as walkMatrixStateFiles } from "./.setup/state-layout-walk-BqCZTHpp.mjs";
|
|
8
|
+
import { i as readLegacyMatrixSyncCacheState, n as hasMatrixSyncCacheStateInStore, r as openMatrixSyncCacheStoreOptions, s as writeMatrixSyncCacheStateToStore } from "./.setup/sync-cache-state-BMvqW4Ii.mjs";
|
|
8
9
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
9
10
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
11
|
import { createHash } from "node:crypto";
|
|
11
12
|
import path from "node:path";
|
|
12
13
|
import fs from "node:fs/promises";
|
|
13
|
-
|
|
14
|
+
// extensions/matrix/src/matrix/account-state-schema-doctor.ts
|
|
14
15
|
const STATE_DATABASE_FILENAME = "openclaw.sqlite";
|
|
15
16
|
async function collectMatrixAccountStateRoots(stateDir) {
|
|
16
17
|
const { entries, failedDirs } = await walkMatrixStateFiles(stateDir, (name, depth) => depth === 5 && name === STATE_DATABASE_FILENAME || (depth === 0 || depth === 2 || depth === 4) && RETIRED_MATRIX_STATE_FILENAMES.has(name), [2, 4]);
|
|
@@ -57,8 +58,7 @@ const matrixAccountStateSchemaMigration = {
|
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
};
|
|
60
|
-
|
|
61
|
-
//#region extensions/matrix/src/matrix/monitor/inbound-dedupe-migration.ts
|
|
61
|
+
// extensions/matrix/src/matrix/monitor/inbound-dedupe-migration.ts
|
|
62
62
|
const LEGACY_SQLITE_NAMESPACE = "inbound-dedupe";
|
|
63
63
|
const LEGACY_MARKERS_NAMESPACE = "inbound-dedupe-migrations";
|
|
64
64
|
const MATRIX_PLUGIN_ID = "matrix";
|
|
@@ -288,10 +288,9 @@ const matrixReplayGuardIngressMigration = {
|
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
};
|
|
291
|
-
|
|
292
|
-
//#region extensions/matrix/doctor-contract-api.ts
|
|
291
|
+
// extensions/matrix/doctor-contract-api.ts
|
|
293
292
|
const registerRecoveryCli = async (params) => {
|
|
294
|
-
const { registerMatrixDoctorCommands } = await import("./.setup/cli-doctor-
|
|
293
|
+
const { registerMatrixDoctorCommands } = await import("./.setup/cli-doctor-CoRX0erj.mjs");
|
|
295
294
|
registerMatrixDoctorCommands(params);
|
|
296
295
|
};
|
|
297
296
|
const MATRIX_SYNC_CACHE_FILENAME = "bot-storage.json";
|
|
@@ -309,7 +308,7 @@ async function collectLegacyMatrixCredentialSources(params) {
|
|
|
309
308
|
return left.name.localeCompare(right.name);
|
|
310
309
|
});
|
|
311
310
|
if (files.length === 0) return [];
|
|
312
|
-
const { requiresExplicitMatrixDefaultAccount, resolveMatrixDefaultOrOnlyAccountId } = await import("./.setup/account-selection-
|
|
311
|
+
const { requiresExplicitMatrixDefaultAccount, resolveMatrixDefaultOrOnlyAccountId } = await import("./.setup/account-selection-Cow3TMFO.mjs").then((n) => n.t);
|
|
313
312
|
return files.map((entry) => {
|
|
314
313
|
const namedAccount = /^credentials(?:-([a-z0-9._-]+))?\.json$/iu.exec(entry.name)?.[1];
|
|
315
314
|
return {
|
|
@@ -359,12 +358,12 @@ const stateMigrations = [
|
|
|
359
358
|
id: "matrix-crypto-unsafe-state",
|
|
360
359
|
label: "Matrix crypto unsafe final state",
|
|
361
360
|
async detectLegacyState(params) {
|
|
362
|
-
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-
|
|
361
|
+
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-D3WLE-t4.mjs").then((n) => n.t);
|
|
363
362
|
const roots = await listMatrixCryptoUnsafeState(params.stateDir, { openKeyedStoreV2: params.context.openPluginStateKeyedStore });
|
|
364
363
|
return roots.length > 0 ? { preview: roots.map((root) => `Matrix crypto store is blocked after unsafe final save: ${root}. Run openclaw matrix doctor inspect; recovery is never automatic.`) } : null;
|
|
365
364
|
},
|
|
366
365
|
async migrateLegacyState(params) {
|
|
367
|
-
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-
|
|
366
|
+
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-D3WLE-t4.mjs").then((n) => n.t);
|
|
368
367
|
return {
|
|
369
368
|
changes: [],
|
|
370
369
|
warnings: (await listMatrixCryptoUnsafeState(params.stateDir, { openKeyedStoreV2: params.context.openPluginStateKeyedStore })).map((root) => `Matrix crypto store remains blocked: ${root}. Inspect with openclaw matrix doctor inspect; explicit recovery may roll back keys.`)
|
|
@@ -566,5 +565,4 @@ const stateMigrations = [
|
|
|
566
565
|
}
|
|
567
566
|
}
|
|
568
567
|
];
|
|
569
|
-
//#endregion
|
|
570
568
|
export { legacyConfigRules, normalizeCompatibilityConfig, registerRecoveryCli, stateMigrations };
|
package/dist/helper-api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, r as hasImplicitMatrixAccountConfig, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-
|
|
2
|
-
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-
|
|
3
|
-
import { a as resolveMatrixCredentialsFilename, c as resolveMatrixStateLayoutChildDepth, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, n as isMatrixActiveTokenRootDirectory, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-
|
|
1
|
+
import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, r as hasImplicitMatrixAccountConfig, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-Cow3TMFO.mjs";
|
|
2
|
+
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-Bh1iOXJ1.mjs";
|
|
3
|
+
import { a as resolveMatrixCredentialsFilename, c as resolveMatrixStateLayoutChildDepth, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, n as isMatrixActiveTokenRootDirectory, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-e_Vq6cvw.mjs";
|
|
4
4
|
export { findMatrixAccountEntry, getMatrixScopedEnvVarNames, hasImplicitMatrixAccountConfig, hashMatrixAccessToken, isMatrixActiveTokenRootDirectory, listMatrixEnvAccountIds, requiresExplicitMatrixDefaultAccount, resolveConfiguredMatrixAccountIds, resolveMatrixAccountStorageRoot, resolveMatrixChannelConfig, resolveMatrixCredentialsDir, resolveMatrixCredentialsFilename, resolveMatrixCredentialsPath, resolveMatrixDefaultOrOnlyAccountId, resolveMatrixEnvAccountToken, resolveMatrixHomeserverKey, resolveMatrixStateLayoutChildDepth, sanitizeMatrixPathSegment };
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as registerMatrixCliMetadata } from "./.setup/cli-metadata-
|
|
2
|
-
import { a as setMatrixRuntimeLifecycle } from "./.setup/runtime-
|
|
1
|
+
import { n as registerMatrixCliMetadata } from "./.setup/cli-metadata-FwlOHfdX.mjs";
|
|
2
|
+
import { a as setMatrixRuntimeLifecycle } from "./.setup/runtime-Ck8TjD7L.mjs";
|
|
3
3
|
import "./runtime-setter-api.js";
|
|
4
4
|
import { registerMatrixSubagentHooks } from "./subagent-hooks-api.js";
|
|
5
5
|
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
6
6
|
import { runWithLocalStateMutationOwner } from "openclaw/plugin-sdk/gateway-runtime";
|
|
7
7
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
8
|
-
|
|
8
|
+
// extensions/matrix/index.ts
|
|
9
9
|
const loadMatrixHandlersRuntimeModule = createLazyRuntimeModule(() => import("./plugin-entry.handlers.runtime.js"));
|
|
10
10
|
function registerMatrixFullRuntime(api) {
|
|
11
11
|
setMatrixRuntimeLifecycle(api.runtime, api.lifecycle);
|
|
@@ -68,5 +68,4 @@ var matrix_default = defineBundledChannelEntry({
|
|
|
68
68
|
registerCliMetadata: registerMatrixCliMetadata,
|
|
69
69
|
registerFull: registerMatrixFullRuntime
|
|
70
70
|
});
|
|
71
|
-
//#endregion
|
|
72
71
|
export { matrix_default as default, registerMatrixFullRuntime };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as resolveMatrixAuthContext } from "./.setup/client-
|
|
1
|
+
import { l as resolveMatrixAuthContext } from "./.setup/client-BVgnwwz0.mjs";
|
|
2
2
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
3
3
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
|
-
|
|
6
|
-
const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-
|
|
5
|
+
// extensions/matrix/src/plugin-entry.runtime.ts
|
|
6
|
+
const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-DIxfxgMv.mjs").then((n) => n.y));
|
|
7
7
|
function sendError(respond, err) {
|
|
8
8
|
respond(false, { error: formatErrorMessage(err) });
|
|
9
9
|
}
|
|
@@ -79,5 +79,4 @@ async function handleVerificationStatus({ params, respond, context }) {
|
|
|
79
79
|
sendError(respond, err);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
//#endregion
|
|
83
82
|
export { handleVerificationBootstrap, handleVerificationStatus, handleVerifyRecoveryKey };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { i as setMatrixRuntime } from "./.setup/runtime-
|
|
2
|
-
import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, p as resolveMatrixAccountStringValues, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-
|
|
3
|
-
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-
|
|
4
|
-
import { a as resolveMatrixCredentialsFilename, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-
|
|
5
|
-
import { f as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync } from "./.setup/thread-bindings-shared-
|
|
6
|
-
import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./.setup/deps-
|
|
1
|
+
import { i as setMatrixRuntime } from "./.setup/runtime-Ck8TjD7L.mjs";
|
|
2
|
+
import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, p as resolveMatrixAccountStringValues, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-Cow3TMFO.mjs";
|
|
3
|
+
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-Bh1iOXJ1.mjs";
|
|
4
|
+
import { a as resolveMatrixCredentialsFilename, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-e_Vq6cvw.mjs";
|
|
5
|
+
import { f as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync } from "./.setup/thread-bindings-shared-DEAGGuDA.mjs";
|
|
6
|
+
import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./.setup/deps-CVPT2Ros.mjs";
|
|
7
7
|
import { chunkTextForOutbound as chunkTextForOutbound$1 } from "openclaw/plugin-sdk/text-chunking";
|
|
8
8
|
import { assertHttpUrlTargetsPrivateNetwork, closeDispatcher, createPinnedDispatcher, resolvePinnedHostnameWithPolicy, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
9
9
|
import { formatZonedTimestamp } from "openclaw/plugin-sdk/time-runtime";
|
|
10
10
|
import { writeJsonFileAtomically } from "openclaw/plugin-sdk/json-store";
|
|
11
|
-
|
|
11
|
+
// extensions/matrix/runtime-api.ts
|
|
12
12
|
function chunkTextForOutbound(text, limit) {
|
|
13
13
|
if (text.length === 0 || limit <= 0) return [text];
|
|
14
14
|
if (Number.isFinite(limit) && limit > 0 && !Number.isInteger(limit)) return chunkTextForOutbound$1(text, limit);
|
|
@@ -24,5 +24,4 @@ function chunkTextForOutbound(text, limit) {
|
|
|
24
24
|
if (remaining.length > 0) chunks.push(remaining);
|
|
25
25
|
return chunks;
|
|
26
26
|
}
|
|
27
|
-
//#endregion
|
|
28
27
|
export { assertHttpUrlTargetsPrivateNetwork, chunkTextForOutbound, closeDispatcher, createPinnedDispatcher, ensureMatrixSdkInstalled, findMatrixAccountEntry, formatZonedTimestamp, getMatrixScopedEnvVarNames, hashMatrixAccessToken, isMatrixSdkAvailable, listMatrixEnvAccountIds, requiresExplicitMatrixDefaultAccount, resolveConfiguredMatrixAccountIds, resolveMatrixAccountStorageRoot, resolveMatrixAccountStringValues, resolveMatrixChannelConfig, resolveMatrixCredentialsDir, resolveMatrixCredentialsFilename, resolveMatrixCredentialsPath, resolveMatrixDefaultOrOnlyAccountId, resolveMatrixEnvAccountToken, resolveMatrixHomeserverKey, resolvePinnedHostnameWithPolicy, sanitizeMatrixPathSegment, setMatrixRuntime, setMatrixThreadBindingIdleTimeoutBySessionKey, setMatrixThreadBindingIdleTimeoutBySessionKeyAsync, setMatrixThreadBindingMaxAgeBySessionKey, setMatrixThreadBindingMaxAgeBySessionKeyAsync, ssrfPolicyFromDangerouslyAllowPrivateNetwork, writeJsonFileAtomically };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as setMatrixRuntime, a as setMatrixRuntimeLifecycle } from "./.setup/runtime-
|
|
1
|
+
export { i as setMatrixRuntime, a as setMatrixRuntimeLifecycle } from "./.setup/runtime-Ck8TjD7L.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-
|
|
1
|
+
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-AKnr45nw.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as setMatrixRuntime } from "./.setup/runtime-
|
|
2
|
-
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-
|
|
1
|
+
import { i as setMatrixRuntime } from "./.setup/runtime-Ck8TjD7L.mjs";
|
|
2
|
+
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-DrYooQd3.mjs";
|
|
3
3
|
export { createMatrixThreadBindingManager, setMatrixRuntime };
|
package/dist/setup-entry.js
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
|
|
3
|
+
// extensions/matrix/setup-entry.ts
|
|
4
4
|
var setup_entry_default = defineBundledChannelSetupEntry({
|
|
5
5
|
importMetaUrl: import.meta.url,
|
|
6
6
|
plugin: {
|
|
7
|
-
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-YtkxNQTz.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "matrixSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
|
11
|
-
specifier: fileURLToPath(new URL(".setup/secret-contract-api-
|
|
11
|
+
specifier: fileURLToPath(new URL(".setup/secret-contract-api-DMSwMIxd.mjs", import.meta.url).href),
|
|
12
12
|
exportName: "channelSecrets"
|
|
13
13
|
},
|
|
14
14
|
runtime: {
|
|
15
|
-
specifier: fileURLToPath(new URL(".setup/runtime-setter-api-
|
|
15
|
+
specifier: fileURLToPath(new URL(".setup/runtime-setter-api-CpwhcBQK.mjs", import.meta.url).href),
|
|
16
16
|
exportName: "setMatrixRuntime"
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
//#endregion
|
|
20
19
|
export { setup_entry_default as default };
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as matrixSetupPlugin } from "./.setup/channel.setup-
|
|
1
|
+
export { n as matrixSetupPlugin } from "./.setup/channel.setup-tIeMccfh.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
2
|
-
|
|
3
|
-
const loadMatrixSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-
|
|
2
|
+
// extensions/matrix/subagent-hooks-api.ts
|
|
3
|
+
const loadMatrixSubagentHooksModule = createLazyRuntimeModule(() => import("./.setup/subagent-hooks-BdbuojSv.mjs"));
|
|
4
4
|
function registerMatrixSubagentHooks(api) {
|
|
5
5
|
api.on("subagent_ended", async (event) => {
|
|
6
6
|
const { handleMatrixSubagentEnded } = await loadMatrixSubagentHooksModule();
|
|
@@ -11,5 +11,4 @@ function registerMatrixSubagentHooks(api) {
|
|
|
11
11
|
return handleMatrixSubagentDeliveryTarget(event);
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { registerMatrixSubagentHooks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as defaultTopLevelPlacement, n as resolveInboundConversation } from "./.setup/thread-binding-api-
|
|
1
|
+
export { t as defaultTopLevelPlacement, n as resolveInboundConversation } from "./.setup/thread-binding-api-OtSciHmZ.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { l as setMatrixThreadBindingIdleTimeoutBySessionKey, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync, f as setMatrixThreadBindingMaxAgeBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync } from "./.setup/thread-bindings-shared-
|
|
1
|
+
export { l as setMatrixThreadBindingIdleTimeoutBySessionKey, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync, f as setMatrixThreadBindingMaxAgeBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync } from "./.setup/thread-bindings-shared-DEAGGuDA.mjs";
|
|
@@ -52,8 +52,12 @@ const fileFilter = (file) => {
|
|
|
52
52
|
|
|
53
53
|
async function extractFiles(zipFilePath) {
|
|
54
54
|
const tokenizer = await fromFile(zipFilePath);
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
try {
|
|
56
|
+
const zipHandler = new ZipHandler(tokenizer);
|
|
57
|
+
await zipHandler.unzip(fileFilter);
|
|
58
|
+
} finally {
|
|
59
|
+
await tokenizer.close();
|
|
60
|
+
}
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
extractFiles('example.zip').catch(console.error);
|
|
@@ -68,11 +72,15 @@ A class for handling ZIP file parsing and extraction.
|
|
|
68
72
|
new ZipHandler(tokenizer: ITokenizer, options?: ZipHandlerOptions)
|
|
69
73
|
```
|
|
70
74
|
- **tokenizer**: An instance of ITokenizer to read the ZIP archive.
|
|
71
|
-
- **options**: Optional
|
|
75
|
+
- **options**: Optional processing limits and traversal settings. Each numeric limit accepts a positive safe integer or `Infinity`.
|
|
72
76
|
Omitted limits default to `Infinity`, preserving unlimited processing.
|
|
73
77
|
|
|
74
78
|
```ts
|
|
75
79
|
const zipHandler = new ZipHandler(tokenizer, {
|
|
80
|
+
maxEntryCount: 1024,
|
|
81
|
+
maxTotalScanBytes: 16 * 1024 * 1024,
|
|
82
|
+
maxTotalDataDescriptorScanBytes: 1024 * 1024,
|
|
83
|
+
maxSkippedEntrySize: 1024 * 1024,
|
|
76
84
|
maxDataDescriptorScanBytes: 1024 * 1024,
|
|
77
85
|
maxCompressedSize: 1024 * 1024,
|
|
78
86
|
maxUncompressedSize: 4 * 1024 * 1024
|
|
@@ -80,18 +88,47 @@ const zipHandler = new ZipHandler(tokenizer, {
|
|
|
80
88
|
```
|
|
81
89
|
|
|
82
90
|
`maxDataDescriptorScanBytes` bounds bytes before the descriptor signature when the compressed
|
|
83
|
-
size is unknown, even for ignored entries.
|
|
91
|
+
size is unknown, even for ignored entries. Descriptor candidates are checked against their
|
|
92
|
+
compressed-size field so an embedded signature with a different size does not end the scan.
|
|
93
|
+
Lookahead uses up to 16 additional bytes to validate a candidate descriptor.
|
|
84
94
|
`maxCompressedSize` bounds compressed data buffered for selected entries, and
|
|
85
95
|
`maxUncompressedSize` bounds their decompressed output, including stored entries.
|
|
86
96
|
Limits apply to local-header and central-directory sizes before allocation, and to actual
|
|
87
97
|
output before retaining chunks or combining buffers. Decompression is canceled on overflow.
|
|
88
|
-
|
|
98
|
+
`maxEntryCount` bounds entries visited, including ignored entries. `maxTotalScanBytes` bounds
|
|
99
|
+
metadata and compressed data consumed across one traversal, including ignored local-header
|
|
100
|
+
payloads. Random-access seek distances are excluded; the end-of-directory search and record
|
|
101
|
+
are included, and bytes read again during extraction count again. Ignored central-directory
|
|
102
|
+
payloads are not read or counted. `maxTotalDataDescriptorScanBytes` bounds cumulative payload
|
|
103
|
+
bytes scanned for unknown-size entries, excluding their descriptors. `maxSkippedEntrySize`
|
|
104
|
+
bounds a single ignored payload when local-header traversal must pass over it.
|
|
105
|
+
Counters reset for each `unzip()` or `readCentralDirectory()` call.
|
|
106
|
+
|
|
107
|
+
These limits are not a total process memory budget; tokenizer lookahead and native
|
|
89
108
|
decompression have their own buffers. Configure tokenizer limits separately where available.
|
|
90
109
|
|
|
91
110
|
A limit violation throws the exported `ZipLimitError` (a `RangeError`), with `limit`,
|
|
92
|
-
`requestedSize`, and `maxSize` properties.
|
|
93
|
-
|
|
94
|
-
|
|
111
|
+
`requestedSize`, and `maxSize` properties. Sizes are byte counts except for `maxEntryCount`.
|
|
112
|
+
No data handler is called for an entry rejected by a limit; earlier handlers may already have run.
|
|
113
|
+
Invalid numeric limit options throw `RangeError` when constructing the handler. Invalid
|
|
114
|
+
non-boolean values for `useCentralDirectory` or `allowTruncatedDataDescriptor` throw `TypeError`
|
|
115
|
+
during construction. After a processing failure, close the tokenizer; extraction is not resumable.
|
|
116
|
+
|
|
117
|
+
For random-access sources, central-directory entries are parsed within the directory's declared
|
|
118
|
+
byte range using a borrowed tokenizer view. An entry crossing that range throws
|
|
119
|
+
`strtok3.TokenizerBoundaryError`. Reading the directory restores the source position on both
|
|
120
|
+
success and failure, and leaves the source open. `unzip()` processes directory entries one at a
|
|
121
|
+
time and stops parsing when the callback returns `stop: true`, restoring the original source
|
|
122
|
+
position on completion or failure. `readCentralDirectory()` still explicitly collects an array.
|
|
123
|
+
|
|
124
|
+
Set `useCentralDirectory: false` to scan local headers even on random-access sources. This is
|
|
125
|
+
useful for detectors that need consistent local-header ordering and support partial archives.
|
|
126
|
+
It does not disable entry or byte limits.
|
|
127
|
+
|
|
128
|
+
`allowTruncatedDataDescriptor: true` lets a detector receive the available entry data when a
|
|
129
|
+
descriptor is missing or truncated at EOF. Extraction still rejects the incomplete descriptor
|
|
130
|
+
after the handler returns; the caller can retain a detection result. All configured limits
|
|
131
|
+
still apply. The default is `false`, which rejects incomplete descriptors before delivering data.
|
|
95
132
|
|
|
96
133
|
#### Methods
|
|
97
134
|
|
|
@@ -101,17 +138,17 @@ close the tokenizer; extraction is not resumable.
|
|
|
101
138
|
|
|
102
139
|
- `unzip(fileCb: InflateFileFilter): Promise<void>`
|
|
103
140
|
|
|
104
|
-
Extracts files from the ZIP archive, applying the provided
|
|
105
|
-
|
|
106
|
-
|
|
141
|
+
Extracts files from the ZIP archive, applying the provided [InflateFileFilter](#inflatefilefilter) callback to each file.
|
|
142
|
+
To extract a file, return an object whose `handler` is an [InflatedDataHandler](#inflateddatahandler).
|
|
143
|
+
Return `{ handler: false }` to skip the file.
|
|
107
144
|
|
|
108
145
|
## Types
|
|
109
146
|
|
|
110
147
|
### `InflateFileFilter`
|
|
111
148
|
```ts
|
|
112
|
-
type InflateFileFilter = (file:
|
|
149
|
+
type InflateFileFilter = (file: ILocalFileHeader) => InflateFileFilterResult;
|
|
113
150
|
```
|
|
114
|
-
Callback function
|
|
151
|
+
Callback function that receives the ZIP entry header and returns an [InflateFileFilterResult](#inflatefilefilterresult) to select or skip the entry.
|
|
115
152
|
|
|
116
153
|
### `InflateFileFilterResult`
|
|
117
154
|
```ts
|
|
@@ -119,15 +156,18 @@ type InflateFileFilterResult = {
|
|
|
119
156
|
handler: InflatedDataHandler | false; // Handle file data or ignore
|
|
120
157
|
stop?: boolean; // Stop processing further files
|
|
121
158
|
};
|
|
122
|
-
|
|
123
159
|
```
|
|
124
|
-
Returned from
|
|
160
|
+
Returned from [InflateFileFilter](#inflatefilefilter) to control file handling and extraction flow.
|
|
161
|
+
Set `handler` to an [InflatedDataHandler](#inflateddatahandler) to receive the entry data, or `false` to skip it.
|
|
162
|
+
Set `stop: true` to stop after the current entry has been handled or skipped.
|
|
125
163
|
|
|
126
164
|
### `InflatedDataHandler`
|
|
127
165
|
```ts
|
|
128
166
|
type InflatedDataHandler = (fileData: Uint8Array) => Promise<void>;
|
|
129
167
|
```
|
|
130
|
-
|
|
168
|
+
Asynchronous callback assigned to `InflateFileFilterResult.handler` for a selected entry.
|
|
169
|
+
It receives the complete uncompressed entry data as a `Uint8Array`, including for stored (uncompressed) entries.
|
|
170
|
+
Extraction awaits the returned promise before processing the next entry.
|
|
131
171
|
|
|
132
172
|
## Compatibility
|
|
133
173
|
|
|
@@ -140,4 +180,4 @@ If used with Node.js, it requires version ≥ 18.
|
|
|
140
180
|
See the [contribution guide](CONTRIBUTING.md) for code style and development checks.
|
|
141
181
|
|
|
142
182
|
## License
|
|
143
|
-
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
183
|
+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ITokenizer } from 'strtok3/core';
|
|
2
2
|
import { type ZipHandlerOptions } from './ZipLimitError.js';
|
|
3
3
|
import { type IFileHeader, type ILocalFileHeader } from './ZipToken.js';
|
|
4
4
|
export type InflateFileFilterResult = {
|
|
@@ -15,14 +15,25 @@ export declare class ZipHandler {
|
|
|
15
15
|
private tokenizer;
|
|
16
16
|
private syncBuffer;
|
|
17
17
|
private readonly limits;
|
|
18
|
+
private readonly useCentralDirectory;
|
|
19
|
+
private readonly allowTruncatedDataDescriptor;
|
|
20
|
+
private scannedBytes;
|
|
21
|
+
private descriptorScannedBytes;
|
|
18
22
|
constructor(tokenizer: ITokenizer, options?: ZipHandlerOptions);
|
|
19
23
|
/** Reject oversized entries before retaining data or allocating a combined buffer. */
|
|
20
24
|
private checkLimit;
|
|
25
|
+
private resetTraversal;
|
|
26
|
+
private consumeBytes;
|
|
27
|
+
private readToken;
|
|
28
|
+
private ignore;
|
|
29
|
+
private readData;
|
|
21
30
|
private checkEntrySize;
|
|
22
31
|
isZip(): Promise<boolean>;
|
|
23
32
|
private peekSignature;
|
|
24
33
|
findEndOfCentralDirectoryLocator(): Promise<number>;
|
|
25
34
|
readCentralDirectory(): Promise<IFileHeader[] | undefined>;
|
|
35
|
+
private centralDirectoryEntries;
|
|
36
|
+
private iterateDirectory;
|
|
26
37
|
unzip(fileCb: InflateFileFilter): Promise<void>;
|
|
27
38
|
private iterateOverCentralDirectory;
|
|
28
39
|
private inflate;
|