@openclaw/matrix 2026.7.2-beta.5 → 2026.7.33
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/README.md +1 -1
- package/dist/.setup/account-selection-BOQeTqax.mjs +159 -0
- package/dist/.setup/approval-handler.runtime-CEXm9_-p.mjs +378 -0
- package/dist/.setup/approval-ids-DdFnDB3h.mjs +7 -0
- package/dist/.setup/approval-reaction-auth-CREvd7S7.mjs +27 -0
- package/dist/.setup/approval-reactions-Cltyp8nL.mjs +113 -0
- package/dist/.setup/async-lock-BcLS4KOc.mjs +19 -0
- package/dist/.setup/channel-an4umty1.mjs +1387 -0
- package/dist/.setup/channel.runtime-GHcIBJ7H.mjs +258 -0
- package/dist/.setup/cli-B3WYmv5U.mjs +1347 -0
- package/dist/.setup/cli-metadata-RUKCn0wJ.mjs +22 -0
- package/dist/.setup/client-Ct0bUHCo.mjs +25 -0
- package/dist/.setup/client-DFBQtzCe.mjs +916 -0
- package/dist/.setup/client-bootstrap-Be8jvNle.mjs +74 -0
- package/dist/.setup/config-schema-D9J_vUF6.mjs +321 -0
- package/dist/.setup/credentials-BhZlA0kL.mjs +56 -0
- package/dist/.setup/credentials-read-CRHg6XPm.mjs +114 -0
- package/dist/.setup/credentials-write.runtime-dWuLafsk.mjs +14 -0
- package/dist/.setup/crypto-runtime-D-cZa8P0.mjs +1184 -0
- package/dist/.setup/crypto-state-store-B43k3z3W.mjs +352 -0
- package/dist/.setup/deps-Dy6yreL4.mjs +236 -0
- package/dist/.setup/device-health-D4LBxuPq.mjs +16 -0
- package/dist/.setup/directory-live-BTEYxMwy.mjs +151 -0
- package/dist/.setup/doctor-BGnvMzOR.mjs +169 -0
- package/dist/.setup/doctor-contract-DNJw0fdq.mjs +246 -0
- package/dist/.setup/draft-stream-C-_OhpE8.mjs +146 -0
- package/dist/.setup/encryption-guidance-CpuuwmjL.mjs +16 -0
- package/dist/.setup/env-auth-CYJL1jNl.mjs +63 -0
- package/dist/.setup/env-vars-KzaYveuy.mjs +63 -0
- package/dist/.setup/exec-approval-resolver-f9j6staN.mjs +15 -0
- package/dist/.setup/file-sync-store-DU0cnYAz.mjs +420 -0
- package/dist/.setup/http-client-C954In2D.mjs +390 -0
- package/dist/.setup/idb-persistence-_HKTXkVC.mjs +230 -0
- package/dist/.setup/idb-persistence-lock-B3fZXyF_.mjs +32 -0
- package/dist/.setup/legacy-crypto-inspector-Byp8LCys.mjs +42 -0
- package/dist/.setup/legacy-crypto-restore-YQVoK1B2.mjs +93 -0
- package/dist/.setup/logger-DpoogOgz.mjs +78 -0
- package/dist/.setup/logging-CgxQOJJP.mjs +92 -0
- package/dist/.setup/matrix-migration.runtime-BDH5c3fN.mjs +530 -0
- package/dist/.setup/media-text-Cib-dxkn.mjs +146 -0
- package/dist/.setup/messages-D4DYGHYX.mjs +202 -0
- package/dist/.setup/migration-snapshot-backup-CpgYhiUp.mjs +70 -0
- package/dist/.setup/migration-snapshot.runtime-O8qkMVaC.mjs +2 -0
- package/dist/.setup/monitor-DNcW_oAN.mjs +4945 -0
- package/dist/.setup/probe.runtime-CMPh0mFk.mjs +2 -0
- package/dist/.setup/profile-update-DzOL3Wiw.mjs +69 -0
- package/dist/.setup/reaction-events-BcvgXxHb.mjs +114 -0
- package/dist/.setup/resolve-targets-Bq80X9Sn.mjs +140 -0
- package/dist/.setup/resolver.runtime-CeBHR9-T.mjs +5 -0
- package/dist/.setup/runtime-api-CEsWNdil.mjs +21 -0
- package/dist/.setup/runtime-setter-api-DGMubGUq.mjs +3 -0
- package/dist/.setup/sdk-He1quVAq.mjs +1604 -0
- package/dist/.setup/secret-contract-api-CiTJ7pd5.mjs +3 -0
- package/dist/.setup/secret-contract-phPvlNfV.mjs +120 -0
- package/dist/.setup/send-CGgl0uTn.mjs +1550 -0
- package/dist/.setup/setup-bootstrap-DUXBC8X2.mjs +62 -0
- package/dist/.setup/setup-core-bhdcEo7v.mjs +699 -0
- package/dist/.setup/setup-plugin-api-CAwZ_Bi7.mjs +43 -0
- package/dist/.setup/setup-plugin-api-DIFVsOs3.mjs +2 -0
- package/dist/.setup/setup-surface-05_G-MnT.mjs +544 -0
- package/dist/.setup/startup-verification-BTwIGu1J.mjs +233 -0
- package/dist/.setup/storage-NGZq5zet.mjs +432 -0
- package/dist/.setup/storage-paths-BWo_ZEMC.mjs +52 -0
- package/dist/.setup/subagent-hooks-BSWPJEmo.mjs +143 -0
- package/dist/.setup/thread-binding-api-B7UaOoKv.mjs +17 -0
- package/dist/.setup/thread-bindings-DqmjG2on.mjs +436 -0
- package/dist/.setup/tool-actions.runtime-CXDLk2jg.mjs +601 -0
- package/dist/.setup/verification-DeWOtZJr.mjs +346 -0
- package/dist/api.js +9 -9
- package/dist/auth-presence.js +21 -13
- 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 +99 -524
- package/dist/helper-api.js +4 -4
- package/dist/index.js +1 -1
- package/dist/plugin-entry.handlers.runtime.js +2 -2
- package/dist/runtime-api.js +8 -8
- package/dist/runtime-heavy-api.js +3 -0
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/session-binding-contract-api.js +3 -3
- package/dist/setup-entry.js +4 -3
- package/dist/setup-plugin-api.js +1 -43
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/thread-binding-api.js +1 -1
- package/dist/thread-bindings-runtime.js +1 -1
- package/node_modules/markdown-it/README.md +18 -294
- package/node_modules/markdown-it/bin/markdown-it.mjs +2 -2
- package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs +3013 -0
- package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs.map +1 -0
- package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js +14 -0
- package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js.map +1 -0
- package/node_modules/markdown-it/dist/markdown-it.cjs.js +4420 -0
- package/node_modules/markdown-it/dist/markdown-it.cjs.js.map +1 -0
- package/node_modules/markdown-it/dist/markdown-it.d.cts +19 -0
- package/node_modules/markdown-it/dist/markdown-it.d.mts +950 -0
- package/node_modules/markdown-it/dist/markdown-it.mjs +3880 -0
- package/node_modules/markdown-it/dist/markdown-it.mjs.map +1 -0
- package/node_modules/markdown-it/node_modules/argparse/LICENSE +47 -0
- package/node_modules/markdown-it/node_modules/argparse/README.md +89 -0
- package/node_modules/markdown-it/node_modules/argparse/lib/_colorize.js +72 -0
- package/node_modules/markdown-it/node_modules/argparse/lib/argparse.d.ts +292 -0
- package/node_modules/markdown-it/node_modules/argparse/lib/argparse.js +3820 -0
- package/node_modules/markdown-it/node_modules/argparse/lib/difflib.js +190 -0
- package/node_modules/markdown-it/node_modules/argparse/lib/sub.js +67 -0
- package/node_modules/markdown-it/node_modules/argparse/lib/textwrap.js +440 -0
- package/node_modules/markdown-it/node_modules/argparse/package.json +38 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts +8 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js +46 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode.d.ts +194 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode.js +544 -0
- package/node_modules/markdown-it/node_modules/entities/dist/decode.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/encode.d.ts +24 -0
- package/node_modules/markdown-it/node_modules/entities/dist/encode.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/encode.js +90 -0
- package/node_modules/markdown-it/node_modules/entities/dist/encode.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/escape.d.ts +48 -0
- package/node_modules/markdown-it/node_modules/entities/dist/escape.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/escape.js +132 -0
- package/node_modules/markdown-it/node_modules/entities/dist/escape.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js +5 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js +5 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts +5 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js +12 -0
- package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/index.d.ts +89 -0
- package/node_modules/markdown-it/node_modules/entities/dist/index.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/index.js +91 -0
- package/node_modules/markdown-it/node_modules/entities/dist/index.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts +17 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js +18 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts +7 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js +17 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts +33 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js +93 -0
- package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js.map +1 -0
- package/node_modules/markdown-it/node_modules/entities/package.json +83 -0
- package/node_modules/markdown-it/node_modules/entities/readme.md +131 -0
- package/node_modules/markdown-it/node_modules/entities/src/decode-codepoint.ts +50 -0
- package/node_modules/markdown-it/node_modules/entities/src/decode.ts +671 -0
- package/node_modules/markdown-it/node_modules/entities/src/encode.ts +95 -0
- package/node_modules/markdown-it/node_modules/entities/src/escape.ts +160 -0
- package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-html.ts +7 -0
- package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
- package/node_modules/markdown-it/node_modules/entities/src/generated/encode-html.ts +18 -0
- package/node_modules/markdown-it/node_modules/entities/src/index.ts +162 -0
- package/node_modules/markdown-it/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
- package/node_modules/markdown-it/node_modules/entities/src/internal/decode-shared.ts +18 -0
- package/node_modules/markdown-it/node_modules/entities/src/internal/encode-shared.ts +123 -0
- package/node_modules/markdown-it/node_modules/linkify-it/README.md +158 -0
- package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js +651 -0
- package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js.map +1 -0
- package/node_modules/markdown-it/node_modules/linkify-it/build/index.d.ts +236 -0
- package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs +538 -0
- package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs.map +1 -0
- package/node_modules/markdown-it/node_modules/linkify-it/package.json +66 -0
- package/node_modules/markdown-it/node_modules/mdurl/lib/index.d.ts +28 -0
- package/node_modules/markdown-it/node_modules/mdurl/package.json +43 -0
- package/node_modules/markdown-it/node_modules/uc.micro/README.md +31 -0
- package/node_modules/markdown-it/node_modules/uc.micro/build/index.cjs.js +15 -0
- package/node_modules/markdown-it/node_modules/uc.micro/build/index.d.ts +6 -0
- package/node_modules/markdown-it/node_modules/uc.micro/build/index.mjs +8 -0
- package/node_modules/markdown-it/node_modules/uc.micro/package.json +32 -0
- package/node_modules/markdown-it/package.json +47 -30
- package/node_modules/music-metadata/lib/common/Util.d.ts +1 -1
- package/node_modules/music-metadata/lib/common/Util.js +1 -7
- package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +3 -23
- package/node_modules/music-metadata/lib/id3v2/FrameParser.js +2 -2
- package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +1 -1
- package/node_modules/music-metadata/lib/mp4/AtomToken.js +13 -38
- package/node_modules/music-metadata/lib/mpeg/MpegParser.js +1 -1
- package/node_modules/music-metadata/node_modules/content-type/LICENSE +22 -0
- package/node_modules/music-metadata/node_modules/content-type/README.md +69 -0
- package/node_modules/music-metadata/node_modules/content-type/dist/index.d.ts +26 -0
- package/node_modules/music-metadata/node_modules/content-type/dist/index.js +170 -0
- package/node_modules/music-metadata/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/music-metadata/node_modules/content-type/package.json +52 -0
- package/node_modules/music-metadata/node_modules/debug/LICENSE +20 -0
- package/node_modules/music-metadata/node_modules/debug/README.md +481 -0
- package/node_modules/music-metadata/node_modules/debug/package.json +64 -0
- package/node_modules/music-metadata/node_modules/debug/src/browser.js +272 -0
- package/node_modules/music-metadata/node_modules/debug/src/common.js +292 -0
- package/node_modules/music-metadata/node_modules/debug/src/index.js +10 -0
- package/node_modules/music-metadata/node_modules/debug/src/node.js +263 -0
- package/node_modules/music-metadata/node_modules/ms/index.js +162 -0
- package/node_modules/music-metadata/node_modules/ms/license.md +21 -0
- package/node_modules/music-metadata/node_modules/ms/package.json +38 -0
- package/node_modules/music-metadata/node_modules/ms/readme.md +59 -0
- package/node_modules/music-metadata/package.json +6 -6
- package/node_modules/typebox/build/compile/validator.d.mts +4 -1
- package/node_modules/typebox/build/guard/guard.d.mts +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +2 -5
- package/node_modules/typebox/build/guard/string.mjs +4 -16
- package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
- package/node_modules/typebox/build/typebox.d.mts +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +32 -29
- package/openclaw.plugin.json +145 -143
- package/package.json +30 -113
- package/dist/account-selection-kqquRzCf.js +0 -158
- package/dist/active-client-DXvz2gCo.js +0 -20
- package/dist/approval-handler.runtime-D1ibJgSk.js +0 -388
- package/dist/approval-ids-2OQj32-K.js +0 -7
- package/dist/approval-reaction-auth-CCAWWkbu.js +0 -27
- package/dist/approval-reactions-D-BxBK_L.js +0 -202
- package/dist/channel-Cmi248PA.js +0 -1344
- package/dist/channel.runtime-BaPXFRgT.js +0 -252
- package/dist/cli-0CNHkps5.js +0 -1365
- package/dist/cli-metadata-DnXxNCoj.js +0 -22
- package/dist/client-BFRg0kd4.js +0 -30
- package/dist/client-CitERujx.js +0 -25
- package/dist/client-bootstrap-CkAnkzB6.js +0 -110
- package/dist/config-schema-BShrVROw.js +0 -302
- package/dist/create-client-f-CkRllE.js +0 -61
- package/dist/credentials-W2EmwRhu.js +0 -65
- package/dist/credentials-read-DVmFCm7X.js +0 -77
- package/dist/credentials-write.runtime-Be9zNSUw.js +0 -14
- package/dist/crypto-runtime-D9_6J5tZ.js +0 -1138
- package/dist/deps-CcVJfvRM.js +0 -169
- package/dist/device-health-B4-YXtJR.js +0 -21
- package/dist/directory-live-YRgYDx2w.js +0 -150
- package/dist/doctor-CM8ijNpW.js +0 -64
- package/dist/doctor-contract-BMSJkkAE.js +0 -167
- package/dist/draft-stream-CIjafRr0.js +0 -146
- package/dist/encryption-guidance-CbEFe38F.js +0 -15
- package/dist/env-auth-CQsYbz-p.js +0 -63
- package/dist/env-vars-B0NxQnPk.js +0 -65
- package/dist/exec-approval-resolver-BCgqRtZS.js +0 -16
- package/dist/file-sync-store-DiiFsayX.js +0 -415
- package/dist/http-client-CycYxU9-.js +0 -370
- package/dist/idb-persistence-B6x7dMsF.js +0 -232
- package/dist/idb-persistence-lock-DAJ49nZX.js +0 -32
- package/dist/inbound-dedupe-CaBLblef.js +0 -48
- package/dist/logger-D0GCSDQq.js +0 -78
- package/dist/logging-DV-p52N0.js +0 -99
- package/dist/media-text-DlQC_k_K.js +0 -146
- package/dist/messages-Bf_s--M9.js +0 -202
- package/dist/monitor-s--XqoxF.js +0 -4653
- package/dist/probe.runtime-BJOvCHnZ.js +0 -3
- package/dist/profile-update-z3aM46KS.js +0 -68
- package/dist/reaction-events-DrK9Zua7.js +0 -164
- package/dist/record-shared-CWWx6fvI.js +0 -2
- package/dist/recovery-key-store-BNnHvXdk.js +0 -275
- package/dist/resolve-targets-nNMcrV3W.js +0 -140
- package/dist/resolver.runtime-BvaFlVLg.js +0 -5
- package/dist/room-info-CAFZ3Z9J.js +0 -87
- package/dist/route-DY6at4qJ.js +0 -161
- package/dist/runtime-api-D1xI_cvh.js +0 -21
- package/dist/sdk-UzPd8tst.js +0 -1273
- package/dist/secret-contract-M3hRmGO-.js +0 -95
- package/dist/send-C9Ssx-iV.js +0 -2069
- package/dist/setup-bootstrap-BBGpPKgy.js +0 -62
- package/dist/setup-core-a542Ernq.js +0 -772
- package/dist/setup-surface-BJrCI6KT.js +0 -542
- package/dist/shared-CUH5otj8.js +0 -663
- package/dist/startup-verification-wm3_i88s.js +0 -232
- package/dist/storage-BvAkgzvT.js +0 -685
- package/dist/storage-paths-gUmSydsW.js +0 -41
- package/dist/subagent-hooks-dkPAF6Et.js +0 -143
- package/dist/thread-binding-api-DRbBZlhS.js +0 -17
- package/dist/thread-bindings-D3RfVgAF.js +0 -436
- package/dist/tool-actions.runtime-Dh5ow2EK.js +0 -725
- package/dist/verification-ZdAXdmuh.js +0 -345
- package/node_modules/argparse/CHANGELOG.md +0 -216
- package/node_modules/argparse/LICENSE +0 -254
- package/node_modules/argparse/README.md +0 -84
- package/node_modules/argparse/argparse.js +0 -3707
- package/node_modules/argparse/lib/sub.js +0 -67
- package/node_modules/argparse/lib/textwrap.js +0 -440
- package/node_modules/argparse/package.json +0 -31
- package/node_modules/entities/lib/decode.d.ts +0 -211
- package/node_modules/entities/lib/decode.d.ts.map +0 -1
- package/node_modules/entities/lib/decode.js +0 -536
- package/node_modules/entities/lib/decode.js.map +0 -1
- package/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
- package/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
- package/node_modules/entities/lib/decode_codepoint.js +0 -76
- package/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/node_modules/entities/lib/encode.d.ts +0 -22
- package/node_modules/entities/lib/encode.d.ts.map +0 -1
- package/node_modules/entities/lib/encode.js +0 -77
- package/node_modules/entities/lib/encode.js.map +0 -1
- package/node_modules/entities/lib/escape.d.ts +0 -43
- package/node_modules/entities/lib/escape.d.ts.map +0 -1
- package/node_modules/entities/lib/escape.js +0 -122
- package/node_modules/entities/lib/escape.js.map +0 -1
- package/node_modules/entities/lib/esm/decode.d.ts +0 -211
- package/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/decode.js +0 -496
- package/node_modules/entities/lib/esm/decode.js.map +0 -1
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
- package/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
- package/node_modules/entities/lib/esm/encode.d.ts +0 -22
- package/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/encode.js +0 -69
- package/node_modules/entities/lib/esm/encode.js.map +0 -1
- package/node_modules/entities/lib/esm/escape.d.ts +0 -43
- package/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/escape.js +0 -116
- package/node_modules/entities/lib/esm/escape.js.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
- package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
- package/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
- package/node_modules/entities/lib/esm/index.d.ts +0 -96
- package/node_modules/entities/lib/esm/index.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/index.js +0 -99
- package/node_modules/entities/lib/esm/index.js.map +0 -1
- package/node_modules/entities/lib/esm/package.json +0 -1
- package/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
- package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
- package/node_modules/entities/lib/generated/decode-data-html.js +0 -9
- package/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
- package/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
- package/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
- package/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
- package/node_modules/entities/lib/generated/encode-html.js +0 -12
- package/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/node_modules/entities/lib/index.d.ts +0 -96
- package/node_modules/entities/lib/index.d.ts.map +0 -1
- package/node_modules/entities/lib/index.js +0 -126
- package/node_modules/entities/lib/index.js.map +0 -1
- package/node_modules/entities/package.json +0 -90
- package/node_modules/entities/readme.md +0 -122
- package/node_modules/linkify-it/README.md +0 -195
- package/node_modules/linkify-it/build/index.cjs.js +0 -840
- package/node_modules/linkify-it/index.mjs +0 -646
- package/node_modules/linkify-it/lib/re.mjs +0 -193
- package/node_modules/linkify-it/package.json +0 -63
- package/node_modules/markdown-it/dist/index.cjs.js +0 -3901
- package/node_modules/markdown-it/dist/index.cjs.js.map +0 -1
- package/node_modules/markdown-it/dist/markdown-it.js +0 -3975
- package/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
- package/node_modules/markdown-it/dist/markdown-it.min.js +0 -3
- package/node_modules/markdown-it/dist/markdown-it.min.js.map +0 -1
- package/node_modules/markdown-it/index.mjs +0 -1
- package/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
- package/node_modules/markdown-it/lib/common/html_re.mjs +0 -25
- package/node_modules/markdown-it/lib/common/utils.mjs +0 -324
- package/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
- package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -77
- package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -49
- package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -66
- package/node_modules/markdown-it/lib/index.mjs +0 -565
- package/node_modules/markdown-it/lib/parser_block.mjs +0 -134
- package/node_modules/markdown-it/lib/parser_core.mjs +0 -62
- package/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
- package/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -88
- package/node_modules/markdown-it/lib/presets/default.mjs +0 -47
- package/node_modules/markdown-it/lib/presets/zero.mjs +0 -70
- package/node_modules/markdown-it/lib/renderer.mjs +0 -322
- package/node_modules/markdown-it/lib/ruler.mjs +0 -340
- package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -209
- package/node_modules/markdown-it/lib/rules_block/code.mjs +0 -30
- package/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -94
- package/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -51
- package/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -40
- package/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -80
- package/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -85
- package/node_modules/markdown-it/lib/rules_block/list.mjs +0 -331
- package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -48
- package/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -212
- package/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -220
- package/node_modules/markdown-it/lib/rules_block/table.mjs +0 -228
- package/node_modules/markdown-it/lib/rules_core/block.mjs +0 -13
- package/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -11
- package/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -134
- package/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -17
- package/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -101
- package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -209
- package/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -17
- package/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -43
- package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -72
- package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -60
- package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -124
- package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -123
- package/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
- package/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -83
- package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -38
- package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -50
- package/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -138
- package/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -139
- package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -63
- package/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -42
- package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -154
- package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -127
- package/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -86
- package/node_modules/markdown-it/lib/token.mjs +0 -191
- package/node_modules/mdurl/package.json +0 -37
- package/node_modules/uc.micro/README.md +0 -14
- package/node_modules/uc.micro/build/index.cjs.js +0 -20
- package/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/P/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/S/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
- package/node_modules/uc.micro/index.mjs +0 -8
- package/node_modules/uc.micro/package.json +0 -37
- package/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
- /package/dist/{account-config-BZWN9tGS.js → .setup/account-config-BZWN9tGS.mjs} +0 -0
- /package/dist/{backup-health-Dm_YMVFT.js → .setup/backup-health-Dm_YMVFT.mjs} +0 -0
- /package/dist/{config-paths-CnREYb1Y.js → .setup/config-paths-CnREYb1Y.mjs} +0 -0
- /package/dist/{config-secret-input.runtime-CwsP3--c.js → .setup/config-secret-input.runtime-CwsP3--c.mjs} +0 -0
- /package/dist/{crypto-node.runtime-6Aj_ltHQ.js → .setup/crypto-node.runtime-6Aj_ltHQ.mjs} +0 -0
- /package/dist/{errors-C47hvAF8.js → .setup/errors-C47hvAF8.mjs} +0 -0
- /package/dist/{preflight-audio.runtime-BZxxQsxY.js → .setup/preflight-audio.runtime-BZxxQsxY.mjs} +0 -0
- /package/dist/{reaction-common-DkrQdBSZ.js → .setup/reaction-common-DkrQdBSZ.mjs} +0 -0
- /package/dist/{rolldown-runtime-8H4AJuhK.js → .setup/rolldown-runtime-8H4AJuhK.mjs} +0 -0
- /package/dist/{runtime-6S3DNFNv.js → .setup/runtime-6S3DNFNv.mjs} +0 -0
- /package/dist/{runtime-BefyhPWv.js → .setup/runtime-BefyhPWv.mjs} +0 -0
- /package/dist/{sync-state-CWbp0QSY.js → .setup/sync-state-CWbp0QSY.mjs} +0 -0
- /package/dist/{target-ids-B-5aQxwn.js → .setup/target-ids-B-5aQxwn.mjs} +0 -0
- /package/dist/{thread-bindings-shared-CKnY4LSd.js → .setup/thread-bindings-shared-CKnY4LSd.mjs} +0 -0
- /package/dist/{timeout-abort-signal-DMrgRFIy.js → .setup/timeout-abort-signal-DMrgRFIy.mjs} +0 -0
- /package/dist/{url-validation-GRHde6lq.js → .setup/url-validation-GRHde6lq.mjs} +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/LICENSE +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/README.md +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/helpers.d.ts +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/helpers.d.ts.map +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/helpers.js +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/helpers.js.map +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/index.d.ts +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/index.d.ts.map +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/index.js +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/dist/index.js.map +0 -0
- /package/node_modules/{agent-base → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base}/package.json +0 -0
- /package/node_modules/{debug → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug}/LICENSE +0 -0
- /package/node_modules/{debug → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug}/README.md +0 -0
- /package/node_modules/{debug → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug}/package.json +0 -0
- /package/node_modules/{debug → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug}/src/browser.js +0 -0
- /package/node_modules/{debug → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug}/src/common.js +0 -0
- /package/node_modules/{debug → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug}/src/index.js +0 -0
- /package/node_modules/{debug → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug}/src/node.js +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/LICENSE +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/README.md +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/index.d.ts +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/index.d.ts.map +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/index.js +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/index.js.map +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/parse-proxy-response.d.ts.map +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/parse-proxy-response.js +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
- /package/node_modules/{https-proxy-agent → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent}/package.json +0 -0
- /package/node_modules/{ms → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms}/index.js +0 -0
- /package/node_modules/{ms → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms}/license.md +0 -0
- /package/node_modules/{ms → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms}/package.json +0 -0
- /package/node_modules/{ms → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms}/readme.md +0 -0
- /package/node_modules/{node-downloader-helper → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper}/LICENSE +0 -0
- /package/node_modules/{node-downloader-helper → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper}/README.md +0 -0
- /package/node_modules/{node-downloader-helper → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper}/bin/helpers.js +0 -0
- /package/node_modules/{node-downloader-helper → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper}/bin/ndh +0 -0
- /package/node_modules/{node-downloader-helper → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper}/dist/index.js +0 -0
- /package/node_modules/{node-downloader-helper → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper}/package.json +0 -0
- /package/node_modules/{node-downloader-helper → @matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper}/types/index.d.ts +0 -0
- /package/node_modules/{entities → markdown-it/node_modules/entities}/LICENSE +0 -0
- /package/node_modules/{linkify-it → markdown-it/node_modules/linkify-it}/LICENSE +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/LICENSE +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/README.md +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/build/index.cjs.js +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/index.mjs +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/lib/decode.mjs +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/lib/encode.mjs +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/lib/format.mjs +0 -0
- /package/node_modules/{mdurl → markdown-it/node_modules/mdurl}/lib/parse.mjs +0 -0
- /package/node_modules/{punycode.js → markdown-it/node_modules/punycode.js}/LICENSE-MIT.txt +0 -0
- /package/node_modules/{punycode.js → markdown-it/node_modules/punycode.js}/README.md +0 -0
- /package/node_modules/{punycode.js → markdown-it/node_modules/punycode.js}/package.json +0 -0
- /package/node_modules/{punycode.js → markdown-it/node_modules/punycode.js}/punycode.es6.js +0 -0
- /package/node_modules/{punycode.js → markdown-it/node_modules/punycode.js}/punycode.js +0 -0
- /package/node_modules/{uc.micro → markdown-it/node_modules/uc.micro}/LICENSE.txt +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/LICENSE +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/README.md +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/OverloadYield.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/applyDecoratedDescriptor.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/applyDecs2311.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/arrayLikeToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/arrayWithHoles.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/arrayWithoutHoles.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/assertClassBrand.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/assertThisInitialized.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/asyncGeneratorDelegate.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/asyncIterator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/asyncToGenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/awaitAsyncGenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/callSuper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/checkInRHS.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/checkPrivateRedeclaration.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classCallCheck.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classNameTDZError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateFieldGet2.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateFieldInitSpec.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateFieldLooseBase.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateFieldLooseKey.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateFieldSet2.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateGetter.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateMethodInitSpec.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classPrivateSetter.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/classStaticPrivateMethodGet.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/construct.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/createClass.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/createForOfIteratorHelper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/createForOfIteratorHelperLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/createSuper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/defaults.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/defineAccessor.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/defineProperty.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/OverloadYield.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/applyDecs2311.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/arrayLikeToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/arrayWithHoles.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/arrayWithoutHoles.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/assertClassBrand.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/assertThisInitialized.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/asyncIterator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/asyncToGenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/awaitAsyncGenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/callSuper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/checkInRHS.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classCallCheck.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classNameTDZError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateFieldGet2.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateFieldSet2.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateGetter.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classPrivateSetter.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/construct.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/createClass.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/createForOfIteratorHelper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/createSuper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/defaults.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/defineAccessor.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/defineProperty.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/extends.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/get.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/getPrototypeOf.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/identity.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/importDeferProxy.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/inherits.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/inheritsLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/initializerDefineProperty.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/initializerWarningHelper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/instanceof.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/interopRequireDefault.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/interopRequireWildcard.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/isNativeFunction.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/isNativeReflectConstruct.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/iterableToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/iterableToArrayLimit.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/jsx.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/maybeArrayLike.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/newArrowCheck.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/nonIterableRest.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/nonIterableSpread.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/nullishReceiverError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/objectDestructuringEmpty.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/objectSpread2.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/objectWithoutProperties.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/package.json +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/possibleConstructorReturn.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/readOnlyError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/regenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/regeneratorAsync.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/regeneratorAsyncGen.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/regeneratorDefine.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/regeneratorKeys.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/regeneratorValues.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/set.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/setFunctionName.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/setPrototypeOf.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/slicedToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/superPropBase.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/superPropGet.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/superPropSet.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/taggedTemplateLiteral.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/tdz.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/temporalRef.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/temporalUndefined.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/toArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/toConsumableArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/toPrimitive.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/toPropertyKey.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/toSetter.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/typeof.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/unsupportedIterableToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/usingCtx.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/wrapAsyncGenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/wrapNativeSuper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/wrapRegExp.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/esm/writeOnlyError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/extends.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/get.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/getPrototypeOf.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/identity.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/importDeferProxy.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/inherits.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/inheritsLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/initializerDefineProperty.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/initializerWarningHelper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/instanceof.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/interopRequireDefault.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/interopRequireWildcard.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/isNativeFunction.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/isNativeReflectConstruct.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/iterableToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/iterableToArrayLimit.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/jsx.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/maybeArrayLike.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/newArrowCheck.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/nonIterableRest.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/nonIterableSpread.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/nullishReceiverError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/objectDestructuringEmpty.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/objectSpread2.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/objectWithoutProperties.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/objectWithoutPropertiesLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/possibleConstructorReturn.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/readOnlyError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/regenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/regeneratorAsync.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/regeneratorAsyncGen.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/regeneratorAsyncIterator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/regeneratorDefine.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/regeneratorKeys.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/regeneratorValues.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/set.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/setFunctionName.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/setPrototypeOf.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/skipFirstGeneratorNext.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/slicedToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/superPropBase.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/superPropGet.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/superPropSet.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/taggedTemplateLiteral.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/taggedTemplateLiteralLoose.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/tdz.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/temporalRef.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/temporalUndefined.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/toArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/toConsumableArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/toPrimitive.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/toPropertyKey.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/toSetter.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/typeof.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/unsupportedIterableToArray.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/usingCtx.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/wrapAsyncGenerator.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/wrapNativeSuper.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/wrapRegExp.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/helpers/writeOnlyError.js +0 -0
- /package/node_modules/{@babel → matrix-js-sdk/node_modules/@babel}/runtime/package.json +0 -0
- /package/node_modules/{@types → matrix-js-sdk/node_modules/@types}/events/LICENSE +0 -0
- /package/node_modules/{@types → matrix-js-sdk/node_modules/@types}/events/README.md +0 -0
- /package/node_modules/{@types → matrix-js-sdk/node_modules/@types}/events/index.d.ts +0 -0
- /package/node_modules/{@types → matrix-js-sdk/node_modules/@types}/events/package.json +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/.jshint +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/.npmignore +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/.travis.yml +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/LICENSE +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/README.md +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/another-json.js +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/package.json +0 -0
- /package/node_modules/{another-json → matrix-js-sdk/node_modules/another-json}/spec/another-json-spec.js +0 -0
- /package/node_modules/{base-x → matrix-js-sdk/node_modules/base-x}/LICENSE.md +0 -0
- /package/node_modules/{base-x → matrix-js-sdk/node_modules/base-x}/README.md +0 -0
- /package/node_modules/{base-x → matrix-js-sdk/node_modules/base-x}/package.json +0 -0
- /package/node_modules/{base-x → matrix-js-sdk/node_modules/base-x}/src/cjs/index.cjs +0 -0
- /package/node_modules/{base-x → matrix-js-sdk/node_modules/base-x}/src/cjs/index.d.ts +0 -0
- /package/node_modules/{base-x → matrix-js-sdk/node_modules/base-x}/src/esm/index.js +0 -0
- /package/node_modules/{bs58 → matrix-js-sdk/node_modules/bs58}/LICENSE +0 -0
- /package/node_modules/{bs58 → matrix-js-sdk/node_modules/bs58}/README.md +0 -0
- /package/node_modules/{bs58 → matrix-js-sdk/node_modules/bs58}/package.json +0 -0
- /package/node_modules/{bs58 → matrix-js-sdk/node_modules/bs58}/src/cjs/index.cjs +0 -0
- /package/node_modules/{bs58 → matrix-js-sdk/node_modules/bs58}/src/cjs/index.d.ts +0 -0
- /package/node_modules/{bs58 → matrix-js-sdk/node_modules/bs58}/src/esm/index.js +0 -0
- /package/node_modules/{content-type → matrix-js-sdk/node_modules/content-type}/LICENSE +0 -0
- /package/node_modules/{content-type → matrix-js-sdk/node_modules/content-type}/README.md +0 -0
- /package/node_modules/{content-type → matrix-js-sdk/node_modules/content-type}/dist/index.d.ts +0 -0
- /package/node_modules/{content-type → matrix-js-sdk/node_modules/content-type}/dist/index.js +0 -0
- /package/node_modules/{content-type → matrix-js-sdk/node_modules/content-type}/dist/index.js.map +0 -0
- /package/node_modules/{content-type → matrix-js-sdk/node_modules/content-type}/package.json +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/.airtap.yml +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/.github/FUNDING.yml +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/.travis.yml +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/History.md +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/LICENSE +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/Readme.md +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/events.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/package.json +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/security.md +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/add-listeners.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/check-listener-leaks.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/common.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/errors.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/events-list.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/events-once.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/index.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/legacy-compat.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/listener-count.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/listeners-side-effects.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/listeners.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/max-listeners.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/method-names.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/modify-in-emit.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/num-args.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/once.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/prepend.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/remove-all-listeners.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/remove-listeners.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/set-max-listeners-side-effects.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/special-event-names.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/subclass.js +0 -0
- /package/node_modules/{events → matrix-js-sdk/node_modules/events}/tests/symbols.js +0 -0
- /package/node_modules/{is-network-error → matrix-js-sdk/node_modules/is-network-error}/index.d.ts +0 -0
- /package/node_modules/{is-network-error → matrix-js-sdk/node_modules/is-network-error}/index.js +0 -0
- /package/node_modules/{file-type → matrix-js-sdk/node_modules/is-network-error}/license +0 -0
- /package/node_modules/{is-network-error → matrix-js-sdk/node_modules/is-network-error}/package.json +0 -0
- /package/node_modules/{is-network-error → matrix-js-sdk/node_modules/is-network-error}/readme.md +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/LICENSE +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/README.md +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/build/cjs/index.d.ts +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/build/cjs/index.js +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/build/cjs/package.json +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/build/esm/index.d.ts +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/build/esm/index.js +0 -0
- /package/node_modules/{jwt-decode → matrix-js-sdk/node_modules/jwt-decode}/package.json +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/.editorconfig +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/CONTRIBUTING.md +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/Gruntfile.js +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/LICENSE-MIT +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/README.md +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/_config.yml +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/bower.json +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/demo/index.html +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/demo/script.js +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/demo/styles.css +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/dist/loglevel.js +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/dist/loglevel.min.js +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/index.d.ts +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/lib/loglevel.js +0 -0
- /package/node_modules/{loglevel → matrix-js-sdk/node_modules/loglevel}/package.json +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/LICENSE +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/README.md +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/ExtensibleEvents.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/ExtensibleEvents.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/IPartialEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/IPartialEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/InvalidEventError.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/InvalidEventError.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/NamespacedMap.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/NamespacedMap.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/NamespacedValue.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/NamespacedValue.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/EmoteEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/EmoteEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/ExtensibleEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/ExtensibleEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/MessageEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/MessageEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/NoticeEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/NoticeEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/PollEndEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/PollEndEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/PollResponseEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/PollResponseEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/PollStartEvent.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/PollStartEvent.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/message_types.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/message_types.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/poll_types.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/poll_types.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/relationship_types.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/events/relationship_types.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/index.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/index.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/interpreters/modern/MMessage.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/interpreters/modern/MMessage.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/interpreters/modern/MPoll.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/interpreters/modern/MPoll.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/types.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/types.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/utility/MessageMatchers.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/utility/MessageMatchers.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/utility/events.d.ts +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/lib/utility/events.js +0 -0
- /package/node_modules/{matrix-events-sdk → matrix-js-sdk/node_modules/matrix-events-sdk}/package.json +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/LICENSE +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/README.md +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/dist/api.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/dist/api.min.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/ClientWidgetApi.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/ClientWidgetApi.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/ClientWidgetApi.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/Symbols.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/Symbols.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/Symbols.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/WidgetApi.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/WidgetApi.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/WidgetApi.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/driver/WidgetDriver.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/driver/WidgetDriver.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/driver/WidgetDriver.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/index.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/index.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/index.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ApiVersion.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ApiVersion.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ApiVersion.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/Capabilities.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/Capabilities.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/Capabilities.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/CapabilitiesAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/CapabilitiesAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/CapabilitiesAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ContentLoadedAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ContentLoadedAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ContentLoadedAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/DownloadFileAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/DownloadFileAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/DownloadFileAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/GetMediaConfigAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/GetOpenIDAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/GetOpenIDAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/GetOpenIDAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ICustomWidgetData.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ICustomWidgetData.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ICustomWidgetData.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IJitsiWidgetData.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IRoomAccountData.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IRoomAccountData.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IRoomAccountData.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IRoomEvent.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IRoomEvent.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IRoomEvent.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IToDeviceMessage.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IToDeviceMessage.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IToDeviceMessage.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidget.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidget.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidget.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiRequest.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiResponse.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/LanguageChangeAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/LanguageChangeAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/LanguageChangeAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ModalButtonKind.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ModalButtonKind.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ModalButtonKind.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ModalWidgetActions.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ModalWidgetActions.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ModalWidgetActions.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/NavigateAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/NavigateAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/NavigateAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadEventAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadEventAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadEventAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadRelationsAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadRelationsAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadRelationsAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ScreenshotAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ScreenshotAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ScreenshotAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SendEventAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SendEventAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SendEventAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SendToDeviceAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SendToDeviceAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SendToDeviceAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/StickerAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/StickerAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/StickerAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/StickyAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/StickyAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/StickyAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SupportedVersionsAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ThemeChangeAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ThemeChangeAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/ThemeChangeAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/TurnServerActions.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/TurnServerActions.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/TurnServerActions.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UpdateStateAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UpdateStateAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UpdateStateAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UploadFileAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UploadFileAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UploadFileAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/VisibilityAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/VisibilityAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/VisibilityAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetApiAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetApiAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetApiAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetApiDirection.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetApiDirection.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetApiDirection.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetConfigAction.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetConfigAction.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetConfigAction.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetKind.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetKind.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetKind.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetType.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetType.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/interfaces/WidgetType.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/Widget.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/Widget.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/Widget.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/WidgetEventCapability.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/WidgetEventCapability.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/WidgetEventCapability.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/WidgetParser.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/WidgetParser.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/WidgetParser.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/validation/url.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/validation/url.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/validation/url.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/validation/utils.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/validation/utils.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/models/validation/utils.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/templating/url-template.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/templating/url-template.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/templating/url-template.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/transport/ITransport.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/transport/ITransport.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/transport/ITransport.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/transport/PostmessageTransport.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/transport/PostmessageTransport.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/transport/PostmessageTransport.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/util/SimpleObservable.d.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/util/SimpleObservable.js +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/lib/util/SimpleObservable.js.map +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/package.json +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/ClientWidgetApi.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/Symbols.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/WidgetApi.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/driver/WidgetDriver.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/index.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ApiVersion.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/Capabilities.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/CapabilitiesAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ContentLoadedAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/DownloadFileAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/GetMediaConfigAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/GetOpenIDAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ICustomWidgetData.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IJitsiWidgetData.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IRoomAccountData.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IRoomEvent.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IStickerpickerWidgetData.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IToDeviceMessage.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IWidget.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IWidgetApiErrorResponse.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IWidgetApiRequest.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/IWidgetApiResponse.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/LanguageChangeAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ModalButtonKind.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ModalWidgetActions.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/NavigateAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/OpenIDCredentialsAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ReadEventAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ReadRelationsAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ReadRoomAccountDataAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ScreenshotAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/SendEventAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/SendToDeviceAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/SetModalButtonEnabledAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/StickerAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/StickyAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/SupportedVersionsAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/ThemeChangeAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/TurnServerActions.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/UpdateDelayedEventAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/UpdateStateAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/UploadFileAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/UserDirectorySearchAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/VisibilityAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/WidgetApiAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/WidgetApiDirection.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/WidgetConfigAction.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/WidgetKind.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/interfaces/WidgetType.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/models/Widget.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/models/WidgetEventCapability.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/models/WidgetParser.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/models/validation/url.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/models/validation/utils.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/templating/url-template.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/transport/ITransport.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/transport/PostmessageTransport.ts +0 -0
- /package/node_modules/{matrix-widget-api → matrix-js-sdk/node_modules/matrix-widget-api}/src/util/SimpleObservable.ts +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/LICENSE +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/README.md +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/browser/oidc-client-ts.js +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/browser/oidc-client-ts.js.map +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/browser/oidc-client-ts.min.js +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/browser/oidc-client-ts.min.js.map +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/esm/oidc-client-ts.js +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/esm/oidc-client-ts.js.map +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/esm/package.json +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/types/oidc-client-ts.d.ts +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/types/tsdoc-metadata.json +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/umd/oidc-client-ts.js +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/dist/umd/oidc-client-ts.js.map +0 -0
- /package/node_modules/{oidc-client-ts → matrix-js-sdk/node_modules/oidc-client-ts}/package.json +0 -0
- /package/node_modules/{p-retry → matrix-js-sdk/node_modules/p-retry}/index.d.ts +0 -0
- /package/node_modules/{p-retry → matrix-js-sdk/node_modules/p-retry}/index.js +0 -0
- /package/node_modules/{is-network-error → matrix-js-sdk/node_modules/p-retry}/license +0 -0
- /package/node_modules/{p-retry → matrix-js-sdk/node_modules/p-retry}/package.json +0 -0
- /package/node_modules/{p-retry → matrix-js-sdk/node_modules/p-retry}/readme.md +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/.eslintrc.js +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/.github/FUNDING.yml +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/.github/codecov.yml +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/.github/dependabot.yml +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/.github/workflows/ci.yml +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/CHANGELOG.md +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/LICENSE +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/README.md +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/checker.js +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/lib/grammar.js +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/lib/index.js +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/lib/parser.js +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/lib/writer.js +0 -0
- /package/node_modules/{sdp-transform → matrix-js-sdk/node_modules/sdp-transform}/package.json +0 -0
- /package/node_modules/{unhomoglyph → matrix-js-sdk/node_modules/unhomoglyph}/CHANGELOG.md +0 -0
- /package/node_modules/{unhomoglyph → matrix-js-sdk/node_modules/unhomoglyph}/LICENSE +0 -0
- /package/node_modules/{unhomoglyph → matrix-js-sdk/node_modules/unhomoglyph}/README.md +0 -0
- /package/node_modules/{unhomoglyph → matrix-js-sdk/node_modules/unhomoglyph}/data.json +0 -0
- /package/node_modules/{unhomoglyph → matrix-js-sdk/node_modules/unhomoglyph}/index.d.ts +0 -0
- /package/node_modules/{unhomoglyph → matrix-js-sdk/node_modules/unhomoglyph}/index.js +0 -0
- /package/node_modules/{unhomoglyph → matrix-js-sdk/node_modules/unhomoglyph}/package.json +0 -0
- /package/node_modules/{@borewit → music-metadata/node_modules/@borewit}/text-codec/LICENSE.txt +0 -0
- /package/node_modules/{@borewit → music-metadata/node_modules/@borewit}/text-codec/README.md +0 -0
- /package/node_modules/{@borewit → music-metadata/node_modules/@borewit}/text-codec/lib/index.d.ts +0 -0
- /package/node_modules/{@borewit → music-metadata/node_modules/@borewit}/text-codec/lib/index.js +0 -0
- /package/node_modules/{@borewit → music-metadata/node_modules/@borewit}/text-codec/package.json +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/LICENSE +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/README.md +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/GzipHandler.d.ts +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/GzipHandler.js +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/ZipHandler.d.ts +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/ZipHandler.js +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/ZipToken.d.ts +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/ZipToken.js +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/index.d.ts +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/lib/index.js +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/inflate/package.json +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/token/README.md +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/token/index.d.ts +0 -0
- /package/node_modules/{@tokenizer → music-metadata/node_modules/@tokenizer}/token/package.json +0 -0
- /package/node_modules/{p-retry → music-metadata/node_modules/file-type}/license +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/package.json +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/readme.md +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/detectors/asf.js +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/detectors/ebml.js +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/detectors/png.js +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/detectors/zip.js +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/index.d.ts +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/index.js +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/index.test-d.ts +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/parser.js +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/supported.js +0 -0
- /package/node_modules/{file-type → music-metadata/node_modules/file-type}/source/tokens.js +0 -0
- /package/node_modules/{ieee754 → music-metadata/node_modules/ieee754}/LICENSE +0 -0
- /package/node_modules/{ieee754 → music-metadata/node_modules/ieee754}/README.md +0 -0
- /package/node_modules/{ieee754 → music-metadata/node_modules/ieee754}/index.d.ts +0 -0
- /package/node_modules/{ieee754 → music-metadata/node_modules/ieee754}/index.js +0 -0
- /package/node_modules/{ieee754 → music-metadata/node_modules/ieee754}/package.json +0 -0
- /package/node_modules/{media-typer → music-metadata/node_modules/media-typer}/LICENSE +0 -0
- /package/node_modules/{media-typer → music-metadata/node_modules/media-typer}/README.md +0 -0
- /package/node_modules/{media-typer → music-metadata/node_modules/media-typer}/dist/index.d.ts +0 -0
- /package/node_modules/{media-typer → music-metadata/node_modules/media-typer}/dist/index.js +0 -0
- /package/node_modules/{media-typer → music-metadata/node_modules/media-typer}/dist/index.js.map +0 -0
- /package/node_modules/{media-typer → music-metadata/node_modules/media-typer}/package.json +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/LICENSE.txt +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/README.md +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/AbstractTokenizer.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/AbstractTokenizer.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/BlobTokenizer.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/BlobTokenizer.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/BufferTokenizer.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/BufferTokenizer.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/FileTokenizer.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/FileTokenizer.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/ReadStreamTokenizer.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/ReadStreamTokenizer.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/core.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/core.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/index.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/index.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/AbstractStreamReader.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/AbstractStreamReader.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/Deferred.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/Deferred.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/Errors.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/Errors.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/StreamReader.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/StreamReader.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamByobReader.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamByobReader.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamDefaultReader.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamDefaultReader.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamReader.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamReader.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamReaderFactory.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/WebStreamReaderFactory.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/index.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/stream/index.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/types.d.ts +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/lib/types.js +0 -0
- /package/node_modules/{strtok3 → music-metadata/node_modules/strtok3}/package.json +0 -0
- /package/node_modules/{token-types → music-metadata/node_modules/token-types}/LICENSE.txt +0 -0
- /package/node_modules/{token-types → music-metadata/node_modules/token-types}/README.md +0 -0
- /package/node_modules/{token-types → music-metadata/node_modules/token-types}/lib/index.d.ts +0 -0
- /package/node_modules/{token-types → music-metadata/node_modules/token-types}/lib/index.js +0 -0
- /package/node_modules/{token-types → music-metadata/node_modules/token-types}/package.json +0 -0
- /package/node_modules/{uint8array-extras → music-metadata/node_modules/uint8array-extras}/index.d.ts +0 -0
- /package/node_modules/{uint8array-extras → music-metadata/node_modules/uint8array-extras}/index.js +0 -0
- /package/node_modules/{uint8array-extras → music-metadata/node_modules/uint8array-extras}/license +0 -0
- /package/node_modules/{uint8array-extras → music-metadata/node_modules/uint8array-extras}/package.json +0 -0
- /package/node_modules/{uint8array-extras → music-metadata/node_modules/uint8array-extras}/readme.md +0 -0
- /package/node_modules/{win-guid → music-metadata/node_modules/win-guid}/LICENSE.txt +0 -0
- /package/node_modules/{win-guid → music-metadata/node_modules/win-guid}/README.md +0 -0
- /package/node_modules/{win-guid → music-metadata/node_modules/win-guid}/lib/guid.d.ts +0 -0
- /package/node_modules/{win-guid → music-metadata/node_modules/win-guid}/lib/guid.js +0 -0
- /package/node_modules/{win-guid → music-metadata/node_modules/win-guid}/package.json +0 -0
|
@@ -0,0 +1,1347 @@
|
|
|
1
|
+
import { a as resolveMatrixAccountConfig } from "./account-config-BZWN9tGS.mjs";
|
|
2
|
+
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.mjs";
|
|
3
|
+
import { c as resolveMatrixConfigPath, g as resolveMatrixAccount, l as updateMatrixAccountConfig, n as matrixSetupAdapter } from "./setup-core-bhdcEo7v.mjs";
|
|
4
|
+
import { t as formatMatrixErrorMessage } from "./errors-C47hvAF8.mjs";
|
|
5
|
+
import { n as withResolvedActionClient } from "./client-Ct0bUHCo.mjs";
|
|
6
|
+
import { u as resolveMatrixAuthContext } from "./client-DFBQtzCe.mjs";
|
|
7
|
+
import { i as formatZonedTimestamp } from "./runtime-api-CEsWNdil.mjs";
|
|
8
|
+
import { isOpenClawManagedMatrixDevice, summarizeMatrixDeviceHealth } from "./device-health-D4LBxuPq.mjs";
|
|
9
|
+
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-DzOL3Wiw.mjs";
|
|
10
|
+
import { a as confirmMatrixVerificationSas, b as verifyMatrixRecoveryKey, c as getMatrixRoomKeyBackupStatus, d as listMatrixVerifications, f as mismatchMatrixVerificationSas, g as runMatrixSelfVerification, h as restoreMatrixRoomKeyBackup, l as getMatrixVerificationSas, m as resetMatrixRoomKeyBackup, n as bootstrapMatrixVerification, p as requestMatrixVerification, r as cancelMatrixVerification, t as acceptMatrixVerification, u as getMatrixVerificationStatus, v as startMatrixVerification } from "./verification-DeWOtZJr.mjs";
|
|
11
|
+
import { t as resolveMatrixRoomKeyBackupIssue } from "./backup-health-Dm_YMVFT.mjs";
|
|
12
|
+
import { setMatrixSdkConsoleLogging, setMatrixSdkLogMode } from "./logging-CgxQOJJP.mjs";
|
|
13
|
+
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
14
|
+
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
15
|
+
import { parseStrictInteger, timestampMsToIsoString } from "openclaw/plugin-sdk/number-runtime";
|
|
16
|
+
//#region extensions/matrix/src/matrix/actions/devices.ts
|
|
17
|
+
async function listMatrixOwnDevices(opts = {}) {
|
|
18
|
+
return await withResolvedActionClient(opts, async (client) => await client.listOwnDevices());
|
|
19
|
+
}
|
|
20
|
+
async function pruneMatrixStaleGatewayDevices(opts = {}) {
|
|
21
|
+
return await withResolvedActionClient(opts, async (client) => {
|
|
22
|
+
const devices = await client.listOwnDevices();
|
|
23
|
+
const staleGatewayDeviceIds = summarizeMatrixDeviceHealth(devices).staleOpenClawDevices.map((device) => device.deviceId);
|
|
24
|
+
return {
|
|
25
|
+
before: devices,
|
|
26
|
+
staleGatewayDeviceIds,
|
|
27
|
+
...staleGatewayDeviceIds.length > 0 ? await client.deleteOwnDevices(staleGatewayDeviceIds) : {
|
|
28
|
+
currentDeviceId: devices.find((device) => device.current)?.deviceId ?? null,
|
|
29
|
+
deletedDeviceIds: [],
|
|
30
|
+
remainingDevices: devices
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region extensions/matrix/src/cli.ts
|
|
37
|
+
let matrixCliExitScheduled = false;
|
|
38
|
+
const loadMatrixActionClientModule = createLazyRuntimeModule(() => import("./client-Ct0bUHCo.mjs").then((n) => n.t));
|
|
39
|
+
const loadMatrixDirectManagementModule = createLazyRuntimeModule(() => import("./send-CGgl0uTn.mjs").then((n) => n.d));
|
|
40
|
+
function scheduleMatrixCliExit() {
|
|
41
|
+
if (matrixCliExitScheduled || process.env.VITEST) return;
|
|
42
|
+
matrixCliExitScheduled = true;
|
|
43
|
+
setTimeout(() => {
|
|
44
|
+
process.stdout.write("", () => {
|
|
45
|
+
process.stderr.write("", () => {
|
|
46
|
+
process.exit(process.exitCode ?? 0);
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
}, 0);
|
|
50
|
+
}
|
|
51
|
+
function markCliFailure() {
|
|
52
|
+
process.exitCode = 1;
|
|
53
|
+
}
|
|
54
|
+
async function readMatrixCliRecoveryKeyFromStdin() {
|
|
55
|
+
const chunks = [];
|
|
56
|
+
for await (const chunk of process.stdin) chunks.push(Buffer.isBuffer(chunk) ? chunk : Buffer.from(String(chunk)));
|
|
57
|
+
const recoveryKey = Buffer.concat(chunks).toString("utf8").trim();
|
|
58
|
+
if (!recoveryKey) throw new Error("Matrix recovery key was requested from stdin, but stdin was empty.");
|
|
59
|
+
return recoveryKey;
|
|
60
|
+
}
|
|
61
|
+
async function resolveMatrixCliRecoveryKeyInput(options) {
|
|
62
|
+
if (options.recoveryKey && options.recoveryKeyStdin === true) throw new Error("Use either --recovery-key or --recovery-key-stdin, not both.");
|
|
63
|
+
if (options.recoveryKeyStdin === true) return await readMatrixCliRecoveryKeyFromStdin();
|
|
64
|
+
return options.recoveryKey;
|
|
65
|
+
}
|
|
66
|
+
async function requireMatrixCliRecoveryKeyInput(options) {
|
|
67
|
+
const recoveryKey = await resolveMatrixCliRecoveryKeyInput(options);
|
|
68
|
+
if (!recoveryKey) throw new Error("Matrix recovery key is required. Pass --recovery-key-stdin to read it from stdin.");
|
|
69
|
+
return recoveryKey;
|
|
70
|
+
}
|
|
71
|
+
function toErrorMessage(err) {
|
|
72
|
+
return formatMatrixErrorMessage(err);
|
|
73
|
+
}
|
|
74
|
+
function printJson(payload) {
|
|
75
|
+
process.stdout.write(`${JSON.stringify(payload, null, 2)}\n`);
|
|
76
|
+
}
|
|
77
|
+
function formatLocalTimestamp(value) {
|
|
78
|
+
if (!value) return null;
|
|
79
|
+
const parsed = new Date(value);
|
|
80
|
+
if (!Number.isFinite(parsed.getTime())) return value;
|
|
81
|
+
return formatZonedTimestamp(parsed, { displaySeconds: true }) ?? value;
|
|
82
|
+
}
|
|
83
|
+
function printTimestamp(label, value) {
|
|
84
|
+
const formatted = formatLocalTimestamp(value);
|
|
85
|
+
if (formatted) console.log(`${label}: ${formatMatrixCliText(formatted)}`);
|
|
86
|
+
}
|
|
87
|
+
function printAccountLabel(accountId) {
|
|
88
|
+
console.log(`Account: ${formatMatrixCliText(normalizeAccountId(accountId))}`);
|
|
89
|
+
}
|
|
90
|
+
function resolveMatrixCliAccountId(accountId) {
|
|
91
|
+
return resolveMatrixCliAccountContext(accountId).accountId;
|
|
92
|
+
}
|
|
93
|
+
function resolveMatrixCliAccountContext(accountId) {
|
|
94
|
+
const cfg = getMatrixRuntime().config.current();
|
|
95
|
+
return {
|
|
96
|
+
accountId: resolveMatrixAuthContext({
|
|
97
|
+
cfg,
|
|
98
|
+
accountId
|
|
99
|
+
}).accountId,
|
|
100
|
+
cfg
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function formatMatrixCliCommand(command, accountId) {
|
|
104
|
+
return formatMatrixCliCommandParts(command.split(" "), accountId);
|
|
105
|
+
}
|
|
106
|
+
function formatMatrixCliRecoveryKeyStdinCommand(command, accountId) {
|
|
107
|
+
const normalizedAccountId = normalizeAccountId(accountId);
|
|
108
|
+
return `printf '%s\\n' "$${normalizedAccountId === "default" ? "MATRIX_RECOVERY_KEY" : `MATRIX_RECOVERY_KEY_${normalizedAccountId.replace(/[^A-Za-z0-9]/g, "_").toUpperCase()}`}" | ${formatMatrixCliCommand(command, accountId)}`;
|
|
109
|
+
}
|
|
110
|
+
function formatMatrixCliCommandParts(parts, accountId) {
|
|
111
|
+
const normalizedAccountId = normalizeAccountId(accountId);
|
|
112
|
+
const command = [
|
|
113
|
+
"openclaw",
|
|
114
|
+
"matrix",
|
|
115
|
+
...parts
|
|
116
|
+
];
|
|
117
|
+
if (normalizedAccountId !== "default") {
|
|
118
|
+
const optionTerminatorIndex = command.indexOf("--");
|
|
119
|
+
if (optionTerminatorIndex >= 0) command.splice(optionTerminatorIndex, 0, "--account", normalizedAccountId);
|
|
120
|
+
else command.push("--account", normalizedAccountId);
|
|
121
|
+
}
|
|
122
|
+
return command.map(formatMatrixCliShellArg).join(" ");
|
|
123
|
+
}
|
|
124
|
+
function formatMatrixCliShellArg(value) {
|
|
125
|
+
if (/^[A-Za-z0-9_./:=@%+-]+$/.test(value)) return value;
|
|
126
|
+
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
127
|
+
}
|
|
128
|
+
function formatMatrixCliText(value, fallback = "unknown") {
|
|
129
|
+
return sanitizeMatrixCliText(value ?? fallback);
|
|
130
|
+
}
|
|
131
|
+
function printMatrixOwnDevices(devices) {
|
|
132
|
+
if (devices.length === 0) {
|
|
133
|
+
console.log("Devices: none");
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
for (const device of devices) {
|
|
137
|
+
const labels = [device.current ? "current" : null, device.displayName].filter((label) => Boolean(label)).map((label) => formatMatrixCliText(label));
|
|
138
|
+
console.log(`- ${formatMatrixCliText(device.deviceId)}${labels.length ? ` (${labels.join(", ")})` : ""}`);
|
|
139
|
+
const lastSeenAt = timestampMsToIsoString(device.lastSeenTs);
|
|
140
|
+
if (lastSeenAt) printTimestamp(" Last seen", lastSeenAt);
|
|
141
|
+
if (device.lastSeenIp) console.log(` Last IP: ${formatMatrixCliText(device.lastSeenIp)}`);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function configureCliLogMode(verbose) {
|
|
145
|
+
setMatrixSdkLogMode(verbose ? "default" : "quiet");
|
|
146
|
+
setMatrixSdkConsoleLogging(verbose);
|
|
147
|
+
}
|
|
148
|
+
function parseOptionalInt(value, fieldName, opts = {}) {
|
|
149
|
+
const trimmed = value?.trim();
|
|
150
|
+
if (!trimmed) return;
|
|
151
|
+
if (!/^-?\d+$/.test(trimmed)) throw new Error(`${fieldName} must be an integer`);
|
|
152
|
+
const parsed = parseStrictInteger(trimmed);
|
|
153
|
+
if (parsed === void 0) throw new Error(`${fieldName} must be an integer`);
|
|
154
|
+
if (opts.min !== void 0 && parsed < opts.min) throw new Error(opts.min === 1 ? `${fieldName} must be a positive integer` : `${fieldName} must be a non-negative integer`);
|
|
155
|
+
return parsed;
|
|
156
|
+
}
|
|
157
|
+
async function addMatrixAccount(params) {
|
|
158
|
+
const initialSyncLimit = parseOptionalInt(params.initialSyncLimit, "--initial-sync-limit", { min: 0 });
|
|
159
|
+
const runtime = getMatrixRuntime();
|
|
160
|
+
const cfg = runtime.config.current();
|
|
161
|
+
if (!matrixSetupAdapter.applyAccountConfig) throw new Error("Matrix account setup is unavailable.");
|
|
162
|
+
const input = {
|
|
163
|
+
name: params.name,
|
|
164
|
+
avatarUrl: params.avatarUrl,
|
|
165
|
+
homeserver: params.homeserver,
|
|
166
|
+
dangerouslyAllowPrivateNetwork: params.allowPrivateNetwork,
|
|
167
|
+
proxy: params.proxy,
|
|
168
|
+
userId: params.userId,
|
|
169
|
+
accessToken: params.accessToken,
|
|
170
|
+
password: params.password,
|
|
171
|
+
deviceName: params.deviceName,
|
|
172
|
+
initialSyncLimit,
|
|
173
|
+
useEnv: params.useEnv === true
|
|
174
|
+
};
|
|
175
|
+
const accountId = matrixSetupAdapter.resolveAccountId?.({
|
|
176
|
+
cfg,
|
|
177
|
+
accountId: params.account,
|
|
178
|
+
input
|
|
179
|
+
}) ?? normalizeAccountId(params.account?.trim() || params.name?.trim());
|
|
180
|
+
const validationError = matrixSetupAdapter.validateInput?.({
|
|
181
|
+
cfg,
|
|
182
|
+
accountId,
|
|
183
|
+
input
|
|
184
|
+
});
|
|
185
|
+
if (validationError) throw new Error(validationError);
|
|
186
|
+
let updated = matrixSetupAdapter.applyAccountConfig({
|
|
187
|
+
cfg,
|
|
188
|
+
accountId,
|
|
189
|
+
input
|
|
190
|
+
});
|
|
191
|
+
if (params.enableEncryption === true) updated = updateMatrixAccountConfig(updated, accountId, { encryption: true });
|
|
192
|
+
await runtime.config.replaceConfigFile({
|
|
193
|
+
nextConfig: updated,
|
|
194
|
+
afterWrite: { mode: "auto" }
|
|
195
|
+
});
|
|
196
|
+
const accountConfig = resolveMatrixAccountConfig({
|
|
197
|
+
cfg: updated,
|
|
198
|
+
accountId
|
|
199
|
+
});
|
|
200
|
+
let verificationBootstrap = {
|
|
201
|
+
attempted: false,
|
|
202
|
+
success: false,
|
|
203
|
+
recoveryKeyCreatedAt: null,
|
|
204
|
+
backupVersion: null
|
|
205
|
+
};
|
|
206
|
+
if (accountConfig.encryption === true) {
|
|
207
|
+
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-DUXBC8X2.mjs");
|
|
208
|
+
verificationBootstrap = await maybeBootstrapNewEncryptedMatrixAccount({
|
|
209
|
+
previousCfg: cfg,
|
|
210
|
+
cfg: updated,
|
|
211
|
+
accountId
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
const desiredDisplayName = input.name?.trim();
|
|
215
|
+
const desiredAvatarUrl = input.avatarUrl?.trim();
|
|
216
|
+
let profile = {
|
|
217
|
+
attempted: false,
|
|
218
|
+
displayNameUpdated: false,
|
|
219
|
+
avatarUpdated: false,
|
|
220
|
+
resolvedAvatarUrl: null,
|
|
221
|
+
convertedAvatarFromHttp: false
|
|
222
|
+
};
|
|
223
|
+
if (desiredDisplayName || desiredAvatarUrl) try {
|
|
224
|
+
const synced = await updateMatrixOwnProfile({
|
|
225
|
+
cfg: updated,
|
|
226
|
+
accountId,
|
|
227
|
+
displayName: desiredDisplayName,
|
|
228
|
+
avatarUrl: desiredAvatarUrl
|
|
229
|
+
});
|
|
230
|
+
let resolvedAvatarUrl = synced.resolvedAvatarUrl;
|
|
231
|
+
if (synced.convertedAvatarFromHttp && synced.resolvedAvatarUrl) {
|
|
232
|
+
const latestCfg = runtime.config.current();
|
|
233
|
+
const withAvatar = updateMatrixAccountConfig(latestCfg, accountId, { avatarUrl: synced.resolvedAvatarUrl });
|
|
234
|
+
await runtime.config.replaceConfigFile({
|
|
235
|
+
nextConfig: withAvatar,
|
|
236
|
+
afterWrite: { mode: "auto" }
|
|
237
|
+
});
|
|
238
|
+
resolvedAvatarUrl = synced.resolvedAvatarUrl;
|
|
239
|
+
}
|
|
240
|
+
profile = {
|
|
241
|
+
attempted: true,
|
|
242
|
+
displayNameUpdated: synced.displayNameUpdated,
|
|
243
|
+
avatarUpdated: synced.avatarUpdated,
|
|
244
|
+
resolvedAvatarUrl,
|
|
245
|
+
convertedAvatarFromHttp: synced.convertedAvatarFromHttp
|
|
246
|
+
};
|
|
247
|
+
} catch (err) {
|
|
248
|
+
profile = {
|
|
249
|
+
attempted: true,
|
|
250
|
+
displayNameUpdated: false,
|
|
251
|
+
avatarUpdated: false,
|
|
252
|
+
resolvedAvatarUrl: null,
|
|
253
|
+
convertedAvatarFromHttp: false,
|
|
254
|
+
error: toErrorMessage(err)
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
let deviceHealth;
|
|
258
|
+
try {
|
|
259
|
+
const addedDevices = await listMatrixOwnDevices({
|
|
260
|
+
accountId,
|
|
261
|
+
cfg: updated
|
|
262
|
+
});
|
|
263
|
+
deviceHealth = {
|
|
264
|
+
currentDeviceId: addedDevices.find((device) => device.current)?.deviceId ?? null,
|
|
265
|
+
staleOpenClawDeviceIds: addedDevices.filter((device) => !device.current && isOpenClawManagedMatrixDevice(device.displayName)).map((device) => device.deviceId)
|
|
266
|
+
};
|
|
267
|
+
} catch (err) {
|
|
268
|
+
deviceHealth = {
|
|
269
|
+
currentDeviceId: null,
|
|
270
|
+
staleOpenClawDeviceIds: [],
|
|
271
|
+
error: toErrorMessage(err)
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
return {
|
|
275
|
+
accountId,
|
|
276
|
+
configPath: resolveMatrixConfigPath(updated, accountId),
|
|
277
|
+
useEnv: input.useEnv === true,
|
|
278
|
+
encryptionEnabled: accountConfig.encryption === true,
|
|
279
|
+
deviceHealth,
|
|
280
|
+
verificationBootstrap,
|
|
281
|
+
profile
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
function printDirectRoomCandidate(room) {
|
|
285
|
+
const members = room.joinedMembers === null ? "unavailable" : room.joinedMembers.map((member) => formatMatrixCliText(member)).join(", ") || "none";
|
|
286
|
+
console.log(`- ${formatMatrixCliText(room.roomId)} [${room.source}] strict=${room.strict ? "yes" : "no"} joined=${members}`);
|
|
287
|
+
}
|
|
288
|
+
function printDirectRoomInspection(result) {
|
|
289
|
+
printAccountLabel(result.accountId);
|
|
290
|
+
console.log(`Peer: ${formatMatrixCliText(result.remoteUserId)}`);
|
|
291
|
+
console.log(`Self: ${formatMatrixCliText(result.selfUserId)}`);
|
|
292
|
+
console.log(`Active direct room: ${formatMatrixCliText(result.activeRoomId, "none")}`);
|
|
293
|
+
console.log(`Mapped rooms: ${result.mappedRoomIds.length ? result.mappedRoomIds.map((roomId) => formatMatrixCliText(roomId)).join(", ") : "none"}`);
|
|
294
|
+
console.log(`Discovered strict rooms: ${result.discoveredStrictRoomIds.length ? result.discoveredStrictRoomIds.map((roomId) => formatMatrixCliText(roomId)).join(", ") : "none"}`);
|
|
295
|
+
if (result.mappedRooms.length > 0) {
|
|
296
|
+
console.log("Mapped room details:");
|
|
297
|
+
for (const room of result.mappedRooms) printDirectRoomCandidate(room);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
async function inspectMatrixDirectRoom(params) {
|
|
301
|
+
const cfg = getMatrixRuntime().config.current();
|
|
302
|
+
const [{ withResolvedActionClient }, { inspectMatrixDirectRooms }] = await Promise.all([loadMatrixActionClientModule(), loadMatrixDirectManagementModule()]);
|
|
303
|
+
return await withResolvedActionClient({
|
|
304
|
+
accountId: params.accountId,
|
|
305
|
+
cfg
|
|
306
|
+
}, async (client) => {
|
|
307
|
+
const inspection = await inspectMatrixDirectRooms({
|
|
308
|
+
client,
|
|
309
|
+
remoteUserId: params.userId
|
|
310
|
+
});
|
|
311
|
+
return {
|
|
312
|
+
accountId: params.accountId,
|
|
313
|
+
remoteUserId: inspection.remoteUserId,
|
|
314
|
+
selfUserId: inspection.selfUserId,
|
|
315
|
+
mappedRoomIds: inspection.mappedRoomIds,
|
|
316
|
+
mappedRooms: inspection.mappedRooms.map(toCliDirectRoomCandidate),
|
|
317
|
+
discoveredStrictRoomIds: inspection.discoveredStrictRoomIds,
|
|
318
|
+
activeRoomId: inspection.activeRoomId
|
|
319
|
+
};
|
|
320
|
+
}, "persist");
|
|
321
|
+
}
|
|
322
|
+
async function repairMatrixDirectRoom(params) {
|
|
323
|
+
const cfg = getMatrixRuntime().config.current();
|
|
324
|
+
const account = resolveMatrixAccount({
|
|
325
|
+
cfg,
|
|
326
|
+
accountId: params.accountId
|
|
327
|
+
});
|
|
328
|
+
const [{ withStartedActionClient }, { repairMatrixDirectRooms }] = await Promise.all([loadMatrixActionClientModule(), loadMatrixDirectManagementModule()]);
|
|
329
|
+
return await withStartedActionClient({
|
|
330
|
+
accountId: params.accountId,
|
|
331
|
+
cfg
|
|
332
|
+
}, async (client) => {
|
|
333
|
+
const repaired = await repairMatrixDirectRooms({
|
|
334
|
+
client,
|
|
335
|
+
remoteUserId: params.userId,
|
|
336
|
+
encrypted: account.config.encryption === true
|
|
337
|
+
});
|
|
338
|
+
return {
|
|
339
|
+
accountId: params.accountId,
|
|
340
|
+
remoteUserId: repaired.remoteUserId,
|
|
341
|
+
selfUserId: repaired.selfUserId,
|
|
342
|
+
mappedRoomIds: repaired.mappedRoomIds,
|
|
343
|
+
mappedRooms: repaired.mappedRooms.map(toCliDirectRoomCandidate),
|
|
344
|
+
discoveredStrictRoomIds: repaired.discoveredStrictRoomIds,
|
|
345
|
+
activeRoomId: repaired.activeRoomId,
|
|
346
|
+
encrypted: account.config.encryption === true,
|
|
347
|
+
createdRoomId: repaired.createdRoomId,
|
|
348
|
+
changed: repaired.changed,
|
|
349
|
+
directContentBefore: repaired.directContentBefore,
|
|
350
|
+
directContentAfter: repaired.directContentAfter
|
|
351
|
+
};
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
async function setMatrixProfile(params) {
|
|
355
|
+
return await applyMatrixProfileUpdate({
|
|
356
|
+
account: params.account,
|
|
357
|
+
displayName: params.name,
|
|
358
|
+
avatarUrl: params.avatarUrl
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
async function runMatrixCliCommand(config) {
|
|
362
|
+
configureCliLogMode(config.verbose);
|
|
363
|
+
try {
|
|
364
|
+
const result = await config.run();
|
|
365
|
+
if (config.json) printJson(config.onJson ? config.onJson(result) : result);
|
|
366
|
+
else config.onText(result, config.verbose);
|
|
367
|
+
if (config.shouldFail?.(result)) markCliFailure();
|
|
368
|
+
} catch (err) {
|
|
369
|
+
const message = toErrorMessage(err);
|
|
370
|
+
if (config.json) printJson(config.onJsonError ? config.onJsonError(message) : { error: message });
|
|
371
|
+
else {
|
|
372
|
+
console.error(`${config.errorPrefix}: ${formatMatrixCliText(message)}`);
|
|
373
|
+
config.onTextError?.(message);
|
|
374
|
+
}
|
|
375
|
+
markCliFailure();
|
|
376
|
+
} finally {
|
|
377
|
+
scheduleMatrixCliExit();
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
function isMatrixVerificationSetupComplete(status) {
|
|
381
|
+
return status.encryptionEnabled && status.verified && status.crossSigningVerified && status.signedByOwner && status.serverDeviceKnown === true && resolveMatrixRoomKeyBackupIssue(resolveBackupStatus(status)).code === "ok";
|
|
382
|
+
}
|
|
383
|
+
function buildNoopMatrixVerificationBootstrap(status) {
|
|
384
|
+
return {
|
|
385
|
+
success: true,
|
|
386
|
+
verification: {
|
|
387
|
+
...status,
|
|
388
|
+
backup: resolveBackupStatus(status),
|
|
389
|
+
serverDeviceKnown: status.serverDeviceKnown ?? null
|
|
390
|
+
},
|
|
391
|
+
crossSigning: {
|
|
392
|
+
userId: status.userId,
|
|
393
|
+
masterKeyPublished: status.crossSigningVerified,
|
|
394
|
+
selfSigningKeyPublished: status.signedByOwner,
|
|
395
|
+
userSigningKeyPublished: status.signedByOwner,
|
|
396
|
+
published: status.crossSigningVerified && status.signedByOwner
|
|
397
|
+
},
|
|
398
|
+
pendingVerifications: status.pendingVerifications,
|
|
399
|
+
cryptoBootstrap: null
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
async function setupMatrixEncryption(params) {
|
|
403
|
+
const runtime = getMatrixRuntime();
|
|
404
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(params.account);
|
|
405
|
+
if (!resolveMatrixAccount({
|
|
406
|
+
cfg,
|
|
407
|
+
accountId
|
|
408
|
+
}).configured) throw new Error(`Matrix account "${accountId}" is not configured; run ${formatMatrixCliCommand("account add", accountId)} first.`);
|
|
409
|
+
const encryptionChanged = resolveMatrixAccountConfig({
|
|
410
|
+
cfg,
|
|
411
|
+
accountId
|
|
412
|
+
}).encryption !== true;
|
|
413
|
+
const updated = encryptionChanged ? updateMatrixAccountConfig(cfg, accountId, { encryption: true }) : cfg;
|
|
414
|
+
if (encryptionChanged) await runtime.config.replaceConfigFile({
|
|
415
|
+
nextConfig: updated,
|
|
416
|
+
afterWrite: { mode: "auto" }
|
|
417
|
+
});
|
|
418
|
+
const existingStatus = !encryptionChanged && !params.recoveryKey && params.forceResetCrossSigning !== true ? await getMatrixVerificationStatus({
|
|
419
|
+
accountId,
|
|
420
|
+
cfg: updated,
|
|
421
|
+
readiness: "none"
|
|
422
|
+
}) : null;
|
|
423
|
+
if (existingStatus && isMatrixVerificationSetupComplete(existingStatus)) return {
|
|
424
|
+
accountId,
|
|
425
|
+
configPath: resolveMatrixConfigPath(updated, accountId),
|
|
426
|
+
encryptionChanged,
|
|
427
|
+
bootstrap: buildNoopMatrixVerificationBootstrap(existingStatus),
|
|
428
|
+
status: existingStatus
|
|
429
|
+
};
|
|
430
|
+
const bootstrap = await bootstrapMatrixVerification({
|
|
431
|
+
accountId,
|
|
432
|
+
cfg: updated,
|
|
433
|
+
recoveryKey: params.recoveryKey,
|
|
434
|
+
forceResetCrossSigning: params.forceResetCrossSigning === true
|
|
435
|
+
});
|
|
436
|
+
const status = await getMatrixVerificationStatus({
|
|
437
|
+
accountId,
|
|
438
|
+
cfg: updated
|
|
439
|
+
});
|
|
440
|
+
return {
|
|
441
|
+
accountId,
|
|
442
|
+
configPath: resolveMatrixConfigPath(updated, accountId),
|
|
443
|
+
encryptionChanged,
|
|
444
|
+
bootstrap,
|
|
445
|
+
status
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
function toCliDirectRoomCandidate(room) {
|
|
449
|
+
return {
|
|
450
|
+
roomId: room.roomId,
|
|
451
|
+
source: room.source,
|
|
452
|
+
strict: room.strict,
|
|
453
|
+
joinedMembers: room.joinedMembers
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
function resolveBackupStatus(status) {
|
|
457
|
+
return {
|
|
458
|
+
serverVersion: status.backup?.serverVersion ?? status.backupVersion ?? null,
|
|
459
|
+
activeVersion: status.backup?.activeVersion ?? null,
|
|
460
|
+
trusted: status.backup?.trusted ?? null,
|
|
461
|
+
matchesDecryptionKey: status.backup?.matchesDecryptionKey ?? null,
|
|
462
|
+
decryptionKeyCached: status.backup?.decryptionKeyCached ?? null,
|
|
463
|
+
keyLoadAttempted: status.backup?.keyLoadAttempted ?? false,
|
|
464
|
+
keyLoadError: status.backup?.keyLoadError ?? null
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
function yesNoUnknown(value) {
|
|
468
|
+
if (value === true) return "yes";
|
|
469
|
+
if (value === false) return "no";
|
|
470
|
+
return "unknown";
|
|
471
|
+
}
|
|
472
|
+
function printBackupStatus(backup) {
|
|
473
|
+
console.log(`Backup server version: ${formatMatrixCliText(backup.serverVersion, "none")}`);
|
|
474
|
+
console.log(`Backup active on this device: ${formatMatrixCliText(backup.activeVersion, "no")}`);
|
|
475
|
+
console.log(`Backup trusted by this device: ${yesNoUnknown(backup.trusted)}`);
|
|
476
|
+
console.log(`Backup matches local decryption key: ${yesNoUnknown(backup.matchesDecryptionKey)}`);
|
|
477
|
+
console.log(`Backup key cached locally: ${yesNoUnknown(backup.decryptionKeyCached)}`);
|
|
478
|
+
console.log(`Backup key load attempted: ${yesNoUnknown(backup.keyLoadAttempted)}`);
|
|
479
|
+
if (backup.keyLoadError) console.log(`Backup key load error: ${formatMatrixCliText(backup.keyLoadError)}`);
|
|
480
|
+
}
|
|
481
|
+
function printVerificationIdentity(status) {
|
|
482
|
+
console.log(`User: ${formatMatrixCliText(status.userId)}`);
|
|
483
|
+
console.log(`Device: ${formatMatrixCliText(status.deviceId)}`);
|
|
484
|
+
}
|
|
485
|
+
function printVerificationBackupSummary(status) {
|
|
486
|
+
printBackupSummary(resolveBackupStatus(status));
|
|
487
|
+
}
|
|
488
|
+
function printVerificationBackupStatus(status) {
|
|
489
|
+
printBackupStatus(resolveBackupStatus(status));
|
|
490
|
+
}
|
|
491
|
+
function printVerificationTrustDiagnostics(status) {
|
|
492
|
+
console.log(`Locally trusted: ${status.localVerified ? "yes" : "no"}`);
|
|
493
|
+
console.log(`Cross-signing verified: ${status.crossSigningVerified ? "yes" : "no"}`);
|
|
494
|
+
console.log(`Signed by owner: ${status.signedByOwner ? "yes" : "no"}`);
|
|
495
|
+
}
|
|
496
|
+
function sanitizeMatrixCliText(value) {
|
|
497
|
+
let withoutAnsi = "";
|
|
498
|
+
for (let index = 0; index < value.length; index++) {
|
|
499
|
+
const code = value.charCodeAt(index);
|
|
500
|
+
if (code === 155) {
|
|
501
|
+
index++;
|
|
502
|
+
while (index < value.length && !isAnsiFinalByte(value.charCodeAt(index))) index++;
|
|
503
|
+
continue;
|
|
504
|
+
}
|
|
505
|
+
if (code === 157) {
|
|
506
|
+
index++;
|
|
507
|
+
while (index < value.length) {
|
|
508
|
+
const current = value.charCodeAt(index);
|
|
509
|
+
if (current === 7 || current === 156) break;
|
|
510
|
+
if (current === 27 && value[index + 1] === "\\") {
|
|
511
|
+
index++;
|
|
512
|
+
break;
|
|
513
|
+
}
|
|
514
|
+
index++;
|
|
515
|
+
}
|
|
516
|
+
continue;
|
|
517
|
+
}
|
|
518
|
+
if (code === 144 || code === 158 || code === 159) {
|
|
519
|
+
index++;
|
|
520
|
+
while (index < value.length) {
|
|
521
|
+
const current = value.charCodeAt(index);
|
|
522
|
+
if (current === 7 || current === 156) break;
|
|
523
|
+
if (current === 27 && value[index + 1] === "\\") {
|
|
524
|
+
index++;
|
|
525
|
+
break;
|
|
526
|
+
}
|
|
527
|
+
index++;
|
|
528
|
+
}
|
|
529
|
+
continue;
|
|
530
|
+
}
|
|
531
|
+
if (code !== 27) {
|
|
532
|
+
withoutAnsi += value[index];
|
|
533
|
+
continue;
|
|
534
|
+
}
|
|
535
|
+
const marker = value[index + 1];
|
|
536
|
+
if (marker === "[") {
|
|
537
|
+
index += 2;
|
|
538
|
+
while (index < value.length && !isAnsiFinalByte(value.charCodeAt(index))) index++;
|
|
539
|
+
continue;
|
|
540
|
+
}
|
|
541
|
+
if (marker === "]") {
|
|
542
|
+
index += 2;
|
|
543
|
+
while (index < value.length) {
|
|
544
|
+
const current = value.charCodeAt(index);
|
|
545
|
+
if (current === 7) break;
|
|
546
|
+
if (current === 27 && value[index + 1] === "\\") {
|
|
547
|
+
index++;
|
|
548
|
+
break;
|
|
549
|
+
}
|
|
550
|
+
index++;
|
|
551
|
+
}
|
|
552
|
+
continue;
|
|
553
|
+
}
|
|
554
|
+
index++;
|
|
555
|
+
}
|
|
556
|
+
let sanitized = "";
|
|
557
|
+
for (const character of withoutAnsi) if (!isUnsafeMatrixCliTerminalCode(character.charCodeAt(0))) sanitized += character;
|
|
558
|
+
return sanitized;
|
|
559
|
+
}
|
|
560
|
+
function isUnsafeMatrixCliTerminalCode(code) {
|
|
561
|
+
return code < 32 || code === 127 || code >= 128 && code <= 159 || code >= 8234 && code <= 8238 || code >= 8294 && code <= 8297;
|
|
562
|
+
}
|
|
563
|
+
function isAnsiFinalByte(code) {
|
|
564
|
+
return code >= 64 && code <= 126;
|
|
565
|
+
}
|
|
566
|
+
function formatMatrixCliSasEmoji(emoji) {
|
|
567
|
+
return emoji.map(([emojiValue, label]) => `${sanitizeMatrixCliText(emojiValue)} ${sanitizeMatrixCliText(label)}`).join(" | ");
|
|
568
|
+
}
|
|
569
|
+
function printMatrixVerificationSummary(summary) {
|
|
570
|
+
console.log(`Verification id: ${sanitizeMatrixCliText(summary.id)}`);
|
|
571
|
+
if (summary.transactionId) console.log(`Transaction id: ${sanitizeMatrixCliText(summary.transactionId)}`);
|
|
572
|
+
if (summary.roomId) console.log(`Room id: ${sanitizeMatrixCliText(summary.roomId)}`);
|
|
573
|
+
console.log(`Other user: ${sanitizeMatrixCliText(summary.otherUserId)}`);
|
|
574
|
+
console.log(`Other device: ${sanitizeMatrixCliText(summary.otherDeviceId ?? "unknown")}`);
|
|
575
|
+
console.log(`Self-verification: ${summary.isSelfVerification ? "yes" : "no"}`);
|
|
576
|
+
console.log(`Initiated by OpenClaw: ${summary.initiatedByMe ? "yes" : "no"}`);
|
|
577
|
+
console.log(`Phase: ${sanitizeMatrixCliText(summary.phaseName)}`);
|
|
578
|
+
console.log(`Pending: ${summary.pending ? "yes" : "no"}`);
|
|
579
|
+
console.log(`Completed: ${summary.completed ? "yes" : "no"}`);
|
|
580
|
+
console.log(`Methods: ${summary.methods.length ? summary.methods.map(sanitizeMatrixCliText).join(", ") : "none"}`);
|
|
581
|
+
if (summary.chosenMethod) console.log(`Chosen method: ${sanitizeMatrixCliText(summary.chosenMethod)}`);
|
|
582
|
+
if (summary.hasSas && summary.sas?.emoji?.length) console.log(`SAS emoji: ${formatMatrixCliSasEmoji(summary.sas.emoji)}`);
|
|
583
|
+
else if (summary.hasSas && summary.sas?.decimal) console.log(`SAS decimals: ${summary.sas.decimal.join(" ")}`);
|
|
584
|
+
if (summary.error) console.log(`Verification error: ${sanitizeMatrixCliText(summary.error)}`);
|
|
585
|
+
}
|
|
586
|
+
function printMatrixVerificationSummaries(summaries) {
|
|
587
|
+
if (summaries.length === 0) {
|
|
588
|
+
console.log("Verifications: none");
|
|
589
|
+
return;
|
|
590
|
+
}
|
|
591
|
+
summaries.forEach((summary, index) => {
|
|
592
|
+
if (index > 0) console.log("");
|
|
593
|
+
printMatrixVerificationSummary(summary);
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
function printMatrixVerificationSas(sas) {
|
|
597
|
+
if (sas.emoji?.length) console.log(`SAS emoji: ${formatMatrixCliSasEmoji(sas.emoji)}`);
|
|
598
|
+
else if (sas.decimal) console.log(`SAS decimals: ${sas.decimal.join(" ")}`);
|
|
599
|
+
else console.log("SAS: unavailable");
|
|
600
|
+
}
|
|
601
|
+
function matrixCliVerificationDmLookupOptions(options) {
|
|
602
|
+
const lookup = {};
|
|
603
|
+
if (options.roomId !== void 0) lookup.verificationDmRoomId = options.roomId;
|
|
604
|
+
if (options.userId !== void 0) lookup.verificationDmUserId = options.userId;
|
|
605
|
+
return lookup;
|
|
606
|
+
}
|
|
607
|
+
function formatMatrixVerificationDmFollowupParts(params) {
|
|
608
|
+
if (!params.roomId || !params.userId) return [];
|
|
609
|
+
return [
|
|
610
|
+
"--user-id",
|
|
611
|
+
sanitizeMatrixCliText(params.userId),
|
|
612
|
+
"--room-id",
|
|
613
|
+
sanitizeMatrixCliText(params.roomId)
|
|
614
|
+
];
|
|
615
|
+
}
|
|
616
|
+
function formatMatrixVerificationSummaryDmFollowupParts(summary) {
|
|
617
|
+
return formatMatrixVerificationDmFollowupParts({
|
|
618
|
+
roomId: summary.roomId,
|
|
619
|
+
userId: summary.otherUserId
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
function formatMatrixVerificationOptionsDmFollowupParts(options) {
|
|
623
|
+
return formatMatrixVerificationDmFollowupParts({
|
|
624
|
+
roomId: options.roomId,
|
|
625
|
+
userId: options.userId
|
|
626
|
+
});
|
|
627
|
+
}
|
|
628
|
+
function formatMatrixVerificationPreferredDmFollowupParts(summary, options) {
|
|
629
|
+
const summaryParts = formatMatrixVerificationSummaryDmFollowupParts(summary);
|
|
630
|
+
return summaryParts.length ? summaryParts : formatMatrixVerificationOptionsDmFollowupParts(options);
|
|
631
|
+
}
|
|
632
|
+
function formatMatrixVerificationFollowupCommand(params) {
|
|
633
|
+
return formatMatrixCliCommandParts([
|
|
634
|
+
"verify",
|
|
635
|
+
params.action,
|
|
636
|
+
...params.dmParts ?? [],
|
|
637
|
+
"--",
|
|
638
|
+
params.requestId
|
|
639
|
+
], params.accountId);
|
|
640
|
+
}
|
|
641
|
+
function printMatrixVerificationSasGuidance(requestId, accountId, dmParts = []) {
|
|
642
|
+
printGuidance([
|
|
643
|
+
`Compare the emoji or decimals with the other Matrix client.`,
|
|
644
|
+
`If they match, run ${formatMatrixVerificationFollowupCommand({
|
|
645
|
+
action: "confirm-sas",
|
|
646
|
+
requestId,
|
|
647
|
+
accountId,
|
|
648
|
+
dmParts
|
|
649
|
+
})}.`,
|
|
650
|
+
`If they do not match, run ${formatMatrixVerificationFollowupCommand({
|
|
651
|
+
action: "mismatch-sas",
|
|
652
|
+
requestId,
|
|
653
|
+
accountId,
|
|
654
|
+
dmParts
|
|
655
|
+
})}.`
|
|
656
|
+
]);
|
|
657
|
+
}
|
|
658
|
+
function formatMatrixVerificationCommandId(summary) {
|
|
659
|
+
return sanitizeMatrixCliText(summary.transactionId ?? summary.id);
|
|
660
|
+
}
|
|
661
|
+
async function promptMatrixVerificationSasMatch() {
|
|
662
|
+
const { createInterface } = await import("node:readline/promises");
|
|
663
|
+
const prompt = createInterface({
|
|
664
|
+
input: process.stdin,
|
|
665
|
+
output: process.stdout
|
|
666
|
+
});
|
|
667
|
+
try {
|
|
668
|
+
const answer = await prompt.question("Do the emoji or decimals match? Type yes to confirm: ");
|
|
669
|
+
return /^(?:y|yes)$/i.test(answer.trim());
|
|
670
|
+
} finally {
|
|
671
|
+
prompt.close();
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
function printMatrixVerificationRequestGuidance(summary, accountId) {
|
|
675
|
+
const requestId = formatMatrixVerificationCommandId(summary);
|
|
676
|
+
const dmParts = formatMatrixVerificationSummaryDmFollowupParts(summary);
|
|
677
|
+
printGuidance([
|
|
678
|
+
`Accept the verification request in another Matrix client for this account.`,
|
|
679
|
+
`Then run ${formatMatrixVerificationFollowupCommand({
|
|
680
|
+
action: "start",
|
|
681
|
+
requestId,
|
|
682
|
+
accountId,
|
|
683
|
+
dmParts
|
|
684
|
+
})} to start SAS verification.`,
|
|
685
|
+
`Run ${formatMatrixVerificationFollowupCommand({
|
|
686
|
+
action: "sas",
|
|
687
|
+
requestId,
|
|
688
|
+
accountId,
|
|
689
|
+
dmParts
|
|
690
|
+
})} to display the SAS emoji or decimals.`,
|
|
691
|
+
`When the SAS matches, run ${formatMatrixVerificationFollowupCommand({
|
|
692
|
+
action: "confirm-sas",
|
|
693
|
+
requestId,
|
|
694
|
+
accountId,
|
|
695
|
+
dmParts
|
|
696
|
+
})}.`
|
|
697
|
+
]);
|
|
698
|
+
}
|
|
699
|
+
async function runMatrixCliVerificationSummaryCommand(params) {
|
|
700
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(params.options.account);
|
|
701
|
+
await runMatrixCliCommand({
|
|
702
|
+
verbose: params.options.verbose === true,
|
|
703
|
+
json: params.options.json === true,
|
|
704
|
+
run: async () => await params.run(accountId, cfg),
|
|
705
|
+
onText: (summary) => {
|
|
706
|
+
printAccountLabel(accountId);
|
|
707
|
+
printMatrixVerificationSummary(summary);
|
|
708
|
+
params.afterText?.(summary, accountId);
|
|
709
|
+
},
|
|
710
|
+
errorPrefix: params.errorPrefix
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
async function runMatrixCliSelfVerificationCommand(options) {
|
|
714
|
+
let resolvedAccountId;
|
|
715
|
+
await runMatrixCliCommand({
|
|
716
|
+
verbose: options.verbose === true,
|
|
717
|
+
json: false,
|
|
718
|
+
run: async () => {
|
|
719
|
+
const timeoutMs = parseOptionalInt(options.timeoutMs, "--timeout-ms", { min: 1 });
|
|
720
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
721
|
+
resolvedAccountId = accountId;
|
|
722
|
+
return await runMatrixSelfVerification({
|
|
723
|
+
accountId,
|
|
724
|
+
cfg,
|
|
725
|
+
timeoutMs,
|
|
726
|
+
onRequested: (summary) => {
|
|
727
|
+
printAccountLabel(accountId);
|
|
728
|
+
printMatrixVerificationSummary(summary);
|
|
729
|
+
console.log("Accept this verification request in another Matrix client.");
|
|
730
|
+
},
|
|
731
|
+
onReady: (summary) => {
|
|
732
|
+
console.log("Verification request accepted.");
|
|
733
|
+
if (!summary.hasSas) console.log("Starting SAS verification...");
|
|
734
|
+
},
|
|
735
|
+
onSas: (summary) => {
|
|
736
|
+
printMatrixVerificationSas(summary.sas ?? {});
|
|
737
|
+
console.log("Compare this SAS with the other Matrix client.");
|
|
738
|
+
},
|
|
739
|
+
confirmSas: async () => await promptMatrixVerificationSasMatch()
|
|
740
|
+
});
|
|
741
|
+
},
|
|
742
|
+
onText: (summary, verbose) => {
|
|
743
|
+
printMatrixVerificationSummary(summary);
|
|
744
|
+
console.log(`Device verified by owner: ${summary.deviceOwnerVerified ? "yes" : "no"}`);
|
|
745
|
+
printVerificationTrustDiagnostics(summary.ownerVerification);
|
|
746
|
+
printVerificationBackupSummary(summary.ownerVerification);
|
|
747
|
+
if (verbose) printVerificationBackupStatus(summary.ownerVerification);
|
|
748
|
+
console.log("Self-verification complete.");
|
|
749
|
+
},
|
|
750
|
+
onTextError: () => {
|
|
751
|
+
const accountId = resolvedAccountId ?? options.account;
|
|
752
|
+
printGuidance([`Run ${formatMatrixCliCommand("verify self", accountId)} again and accept the request in another verified Matrix client for this account.`, `Then run ${formatMatrixCliCommand("verify status --verbose", accountId)} to confirm Cross-signing verified: yes and Signed by owner: yes.`]);
|
|
753
|
+
},
|
|
754
|
+
errorPrefix: "Self-verification failed"
|
|
755
|
+
});
|
|
756
|
+
}
|
|
757
|
+
function printVerificationGuidance(status, accountId) {
|
|
758
|
+
printGuidance(buildVerificationGuidance(status, accountId));
|
|
759
|
+
}
|
|
760
|
+
function printBackupGuidance(backup, accountId, options = {}) {
|
|
761
|
+
printGuidance(buildBackupGuidance(backup, accountId, options));
|
|
762
|
+
}
|
|
763
|
+
function printBackupSummary(backup) {
|
|
764
|
+
const issue = resolveMatrixRoomKeyBackupIssue(backup);
|
|
765
|
+
console.log(`Backup: ${issue.summary}`);
|
|
766
|
+
if (backup.serverVersion) console.log(`Backup version: ${formatMatrixCliText(backup.serverVersion)}`);
|
|
767
|
+
}
|
|
768
|
+
function buildVerificationGuidance(status, accountId) {
|
|
769
|
+
const backup = resolveBackupStatus(status);
|
|
770
|
+
const nextSteps = /* @__PURE__ */ new Set();
|
|
771
|
+
if (!status.verified) {
|
|
772
|
+
if (status.recoveryKeyAccepted === true && status.backupUsable === true) {
|
|
773
|
+
nextSteps.add(`Recovery key can unlock the room-key backup, but full Matrix identity trust is still incomplete. Run ${formatMatrixCliCommand("verify self", accountId)}, accept the request in another verified Matrix client, and confirm the SAS only if it matches.`);
|
|
774
|
+
nextSteps.add(`If you intend to replace the current cross-signing identity, run the shown printf pipeline with the Matrix recovery key env var for this account: ${formatMatrixCliRecoveryKeyStdinCommand("verify bootstrap --recovery-key-stdin --force-reset-cross-signing", accountId)}.`);
|
|
775
|
+
} else nextSteps.add(`Run the shown printf pipeline with the Matrix recovery key env var for this account: ${formatMatrixCliRecoveryKeyStdinCommand("verify device --recovery-key-stdin", accountId)}. If you do not have the recovery key but still have another verified Matrix client, run ${formatMatrixCliCommand("verify self", accountId)} instead.`);
|
|
776
|
+
}
|
|
777
|
+
if (status.serverDeviceKnown === false) nextSteps.add(`This Matrix device is no longer listed on the homeserver. Create a new OpenClaw Matrix device with ${formatMatrixCliCommand("account add --homeserver <url> --user-id <@user:server> --password <password> --device-name OpenClaw-Gateway", accountId)}. If you use token auth, create a fresh Matrix access token in your Matrix client or admin UI, then run ${formatMatrixCliCommand("account add --homeserver <url> --access-token <token>", accountId)}.`);
|
|
778
|
+
for (const step of buildBackupGuidance(backup, accountId, { recoveryKeyStored: status.recoveryKeyStored })) nextSteps.add(step);
|
|
779
|
+
if (status.pendingVerifications > 0) nextSteps.add(`Review pending verification requests with ${formatMatrixCliCommand("verify list", accountId)}. Complete each active request with ${formatMatrixCliCommand("verify sas <id>", accountId)} and ${formatMatrixCliCommand("verify confirm-sas <id>", accountId)}, or cancel stale requests with ${formatMatrixCliCommand("verify cancel <id>", accountId)}.`);
|
|
780
|
+
return Array.from(nextSteps);
|
|
781
|
+
}
|
|
782
|
+
function buildBackupGuidance(backup, accountId, options = {}) {
|
|
783
|
+
const backupIssue = resolveMatrixRoomKeyBackupIssue(backup);
|
|
784
|
+
const nextSteps = /* @__PURE__ */ new Set();
|
|
785
|
+
if (backupIssue.code === "missing-server-backup") nextSteps.add(`Run ${formatMatrixCliCommand("verify bootstrap", accountId)} to create a room key backup.`);
|
|
786
|
+
else if (backupIssue.code === "key-load-failed" || backupIssue.code === "key-not-loaded" || backupIssue.code === "inactive") {
|
|
787
|
+
if (options.recoveryKeyStored) nextSteps.add(`Backup key is not loaded on this device. Run ${formatMatrixCliCommand("verify backup restore", accountId)} to load it and restore old room keys. If restore still cannot load the key, run the shown printf pipeline with the Matrix recovery key env var for this account: ${formatMatrixCliRecoveryKeyStdinCommand("verify backup restore --recovery-key-stdin", accountId)}.`);
|
|
788
|
+
else nextSteps.add(`Run the shown printf pipeline with the Matrix recovery key env var for this account: ${formatMatrixCliRecoveryKeyStdinCommand("verify backup restore --recovery-key-stdin", accountId)} to load the server backup and store the key for future restores.`);
|
|
789
|
+
} else if (backupIssue.code === "key-mismatch") {
|
|
790
|
+
nextSteps.add(`Backup key mismatch on this device. Run the shown printf pipeline with the active server backup recovery key env var for this account: ${formatMatrixCliRecoveryKeyStdinCommand("verify backup restore --recovery-key-stdin", accountId)}.`);
|
|
791
|
+
nextSteps.add(`If you want a fresh backup baseline and accept losing unrecoverable history, run ${formatMatrixCliCommand("verify backup reset --yes", accountId)}. Add --rotate-recovery-key only when the old recovery key should stop unlocking the fresh backup.`);
|
|
792
|
+
} else if (backupIssue.code === "untrusted-signature") {
|
|
793
|
+
nextSteps.add(`Backup trust chain is not verified on this device. Run the shown printf pipeline with the correct recovery key env var for this account: ${formatMatrixCliRecoveryKeyStdinCommand("verify device --recovery-key-stdin", accountId)}.`);
|
|
794
|
+
nextSteps.add(`If device identity trust remains incomplete after that, run ${formatMatrixCliCommand("verify self", accountId)} from another verified Matrix client.`);
|
|
795
|
+
nextSteps.add(`If you want a fresh backup baseline and accept losing unrecoverable history, run ${formatMatrixCliCommand("verify backup reset --yes", accountId)}. Add --rotate-recovery-key only when the old recovery key should stop unlocking the fresh backup.`);
|
|
796
|
+
} else if (backupIssue.code === "indeterminate") nextSteps.add(`Run ${formatMatrixCliCommand("verify status --verbose", accountId)} to inspect backup trust diagnostics.`);
|
|
797
|
+
return Array.from(nextSteps);
|
|
798
|
+
}
|
|
799
|
+
function printGuidance(lines) {
|
|
800
|
+
if (lines.length === 0) return;
|
|
801
|
+
console.log("Next steps:");
|
|
802
|
+
for (const line of lines) console.log(`- ${line}`);
|
|
803
|
+
}
|
|
804
|
+
function printVerificationStatus(status, verbose = false, accountId) {
|
|
805
|
+
console.log(`Verified by owner: ${status.verified ? "yes" : "no"}`);
|
|
806
|
+
if (status.serverDeviceKnown === false) console.log("Device issue: current Matrix device is missing from the homeserver device list");
|
|
807
|
+
const backup = resolveBackupStatus(status);
|
|
808
|
+
const backupIssue = resolveMatrixRoomKeyBackupIssue(backup);
|
|
809
|
+
printVerificationBackupSummary(status);
|
|
810
|
+
if (backupIssue.message) console.log(`Backup issue: ${backupIssue.message}`);
|
|
811
|
+
if (verbose) {
|
|
812
|
+
console.log("Diagnostics:");
|
|
813
|
+
printVerificationIdentity(status);
|
|
814
|
+
if (status.serverDeviceKnown !== void 0) console.log(`Device present on server: ${yesNoUnknown(status.serverDeviceKnown ?? null)}`);
|
|
815
|
+
printVerificationTrustDiagnostics(status);
|
|
816
|
+
printVerificationBackupStatus(status);
|
|
817
|
+
console.log(`Recovery key stored: ${status.recoveryKeyStored ? "yes" : "no"}`);
|
|
818
|
+
printTimestamp("Recovery key created at", status.recoveryKeyCreatedAt);
|
|
819
|
+
console.log(`Pending verifications: ${status.pendingVerifications}`);
|
|
820
|
+
} else console.log(`Recovery key stored: ${status.recoveryKeyStored ? "yes" : "no"}`);
|
|
821
|
+
printVerificationGuidance(status, accountId);
|
|
822
|
+
}
|
|
823
|
+
function printMatrixEncryptionSetupResult(result, verbose = false) {
|
|
824
|
+
printAccountLabel(result.accountId);
|
|
825
|
+
console.log(`Encryption config: ${result.encryptionChanged ? "enabled" : "already enabled"} at ${formatMatrixCliText(result.configPath)}`);
|
|
826
|
+
console.log(`Bootstrap success: ${result.bootstrap.success ? "yes" : "no"}`);
|
|
827
|
+
if (result.bootstrap.error) console.log(`Bootstrap error: ${formatMatrixCliText(result.bootstrap.error)}`);
|
|
828
|
+
console.log(`Verified by owner: ${result.status.verified ? "yes" : "no"}`);
|
|
829
|
+
printVerificationBackupSummary(result.status);
|
|
830
|
+
if (verbose) {
|
|
831
|
+
printVerificationIdentity(result.status);
|
|
832
|
+
printVerificationTrustDiagnostics(result.status);
|
|
833
|
+
printVerificationBackupStatus(result.status);
|
|
834
|
+
console.log(`Recovery key stored: ${result.status.recoveryKeyStored ? "yes" : "no"}`);
|
|
835
|
+
printTimestamp("Recovery key created at", result.status.recoveryKeyCreatedAt);
|
|
836
|
+
console.log(`Pending verifications: ${result.status.pendingVerifications}`);
|
|
837
|
+
}
|
|
838
|
+
printVerificationGuidance(result.status, result.accountId);
|
|
839
|
+
}
|
|
840
|
+
function registerMatrixCli(params) {
|
|
841
|
+
const root = params.program.command("matrix").description("Matrix channel utilities").addHelpText("after", () => "\nDocs: https://docs.openclaw.ai/channels/matrix\n");
|
|
842
|
+
root.command("account").description("Manage matrix channel accounts").command("add").description("Add or update a matrix account (wrapper around channel setup)").option("--account <id>", "Account ID (default: normalized --name, else default)").option("--name <name>", "Optional display name for this account").option("--avatar-url <url>", "Optional Matrix avatar URL (mxc:// or http(s) URL)").option("--homeserver <url>", "Matrix homeserver URL").option("--proxy <url>", "Optional HTTP(S) proxy URL for Matrix requests").option("--allow-private-network", "Allow Matrix homeserver traffic to private/internal hosts for this account").option("--user-id <id>", "Matrix user ID").option("--access-token <token>", "Matrix access token").option("--password <password>", "Matrix password").option("--device-name <name>", "Matrix device display name").option("--initial-sync-limit <n>", "Matrix initial sync limit").option("--enable-e2ee", "Enable Matrix end-to-end encryption and bootstrap verification").option("--encryption", "Alias for --enable-e2ee").option("--use-env", "Use MATRIX_* env vars (or MATRIX_<ACCOUNT_ID>_* for non-default accounts)").option("--verbose", "Show setup details").option("--json", "Output as JSON").action(async (options) => {
|
|
843
|
+
await runMatrixCliCommand({
|
|
844
|
+
verbose: options.verbose === true,
|
|
845
|
+
json: options.json === true,
|
|
846
|
+
run: async () => await addMatrixAccount({
|
|
847
|
+
account: options.account,
|
|
848
|
+
name: options.name,
|
|
849
|
+
avatarUrl: options.avatarUrl,
|
|
850
|
+
homeserver: options.homeserver,
|
|
851
|
+
proxy: options.proxy,
|
|
852
|
+
allowPrivateNetwork: options.allowPrivateNetwork === true,
|
|
853
|
+
userId: options.userId,
|
|
854
|
+
accessToken: options.accessToken,
|
|
855
|
+
password: options.password,
|
|
856
|
+
deviceName: options.deviceName,
|
|
857
|
+
initialSyncLimit: options.initialSyncLimit,
|
|
858
|
+
enableEncryption: options.enableE2ee === true || options.encryption === true,
|
|
859
|
+
useEnv: options.useEnv === true
|
|
860
|
+
}),
|
|
861
|
+
onText: (result) => {
|
|
862
|
+
console.log(`Saved matrix account: ${formatMatrixCliText(result.accountId)}`);
|
|
863
|
+
console.log(`Config path: ${formatMatrixCliText(result.configPath)}`);
|
|
864
|
+
console.log(`Credentials source: ${result.useEnv ? "MATRIX_* / MATRIX_<ACCOUNT_ID>_* env vars" : "inline config"}`);
|
|
865
|
+
console.log(`Encryption: ${result.encryptionEnabled ? "enabled" : "disabled"}`);
|
|
866
|
+
if (result.verificationBootstrap.attempted) {
|
|
867
|
+
if (result.verificationBootstrap.success) {
|
|
868
|
+
console.log("Matrix verification bootstrap: complete");
|
|
869
|
+
printTimestamp("Recovery key created at", result.verificationBootstrap.recoveryKeyCreatedAt);
|
|
870
|
+
if (result.verificationBootstrap.backupVersion) console.log(`Backup version: ${formatMatrixCliText(result.verificationBootstrap.backupVersion)}`);
|
|
871
|
+
} else console.error(`Matrix verification bootstrap warning: ${formatMatrixCliText(result.verificationBootstrap.error)}`);
|
|
872
|
+
}
|
|
873
|
+
if (result.deviceHealth.error) console.error(`Matrix device health warning: ${formatMatrixCliText(result.deviceHealth.error)}`);
|
|
874
|
+
else if (result.deviceHealth.staleOpenClawDeviceIds.length > 0) {
|
|
875
|
+
const staleDeviceIds = result.deviceHealth.staleOpenClawDeviceIds.map((deviceId) => formatMatrixCliText(deviceId)).join(", ");
|
|
876
|
+
console.log(`Matrix device hygiene warning: stale OpenClaw devices detected (${staleDeviceIds}). Run ${formatMatrixCliCommand("devices prune-stale", result.accountId)}.`);
|
|
877
|
+
}
|
|
878
|
+
if (result.profile.attempted) {
|
|
879
|
+
if (result.profile.error) console.error(`Profile sync warning: ${formatMatrixCliText(result.profile.error)}`);
|
|
880
|
+
else {
|
|
881
|
+
console.log(`Profile sync: name ${result.profile.displayNameUpdated ? "updated" : "unchanged"}, avatar ${result.profile.avatarUpdated ? "updated" : "unchanged"}`);
|
|
882
|
+
if (result.profile.convertedAvatarFromHttp && result.profile.resolvedAvatarUrl) console.log(`Avatar converted and saved as: ${formatMatrixCliText(result.profile.resolvedAvatarUrl)}`);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
const bindHint = `openclaw agents bind --agent <id> --bind matrix:${result.accountId}`;
|
|
886
|
+
console.log(`Bind this account to an agent: ${bindHint}`);
|
|
887
|
+
},
|
|
888
|
+
errorPrefix: "Account setup failed"
|
|
889
|
+
});
|
|
890
|
+
});
|
|
891
|
+
root.command("profile").description("Manage Matrix bot profile").command("set").description("Update Matrix profile display name and/or avatar").option("--account <id>", "Account ID (for multi-account setups)").option("--name <name>", "Profile display name").option("--avatar-url <url>", "Profile avatar URL (mxc:// or http(s) URL)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
892
|
+
await runMatrixCliCommand({
|
|
893
|
+
verbose: options.verbose === true,
|
|
894
|
+
json: options.json === true,
|
|
895
|
+
run: async () => await setMatrixProfile({
|
|
896
|
+
account: options.account,
|
|
897
|
+
name: options.name,
|
|
898
|
+
avatarUrl: options.avatarUrl
|
|
899
|
+
}),
|
|
900
|
+
onText: (result) => {
|
|
901
|
+
printAccountLabel(result.accountId);
|
|
902
|
+
console.log(`Config path: ${result.configPath}`);
|
|
903
|
+
console.log(`Profile update: name ${result.profile.displayNameUpdated ? "updated" : "unchanged"}, avatar ${result.profile.avatarUpdated ? "updated" : "unchanged"}`);
|
|
904
|
+
if (result.profile.convertedAvatarFromHttp && result.avatarUrl) console.log(`Avatar converted and saved as: ${formatMatrixCliText(result.avatarUrl)}`);
|
|
905
|
+
},
|
|
906
|
+
errorPrefix: "Profile update failed"
|
|
907
|
+
});
|
|
908
|
+
});
|
|
909
|
+
const direct = root.command("direct").description("Inspect and repair Matrix direct-room state");
|
|
910
|
+
direct.command("inspect").description("Inspect direct-room mappings for a Matrix user").requiredOption("--user-id <id>", "Peer Matrix user ID").option("--account <id>", "Account ID (for multi-account setups)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
911
|
+
const accountId = resolveMatrixCliAccountId(options.account);
|
|
912
|
+
await runMatrixCliCommand({
|
|
913
|
+
verbose: options.verbose === true,
|
|
914
|
+
json: options.json === true,
|
|
915
|
+
run: async () => await inspectMatrixDirectRoom({
|
|
916
|
+
accountId,
|
|
917
|
+
userId: options.userId
|
|
918
|
+
}),
|
|
919
|
+
onText: (result) => {
|
|
920
|
+
printDirectRoomInspection(result);
|
|
921
|
+
},
|
|
922
|
+
errorPrefix: "Direct room inspection failed"
|
|
923
|
+
});
|
|
924
|
+
});
|
|
925
|
+
direct.command("repair").description("Repair Matrix direct-room mappings for a Matrix user").requiredOption("--user-id <id>", "Peer Matrix user ID").option("--account <id>", "Account ID (for multi-account setups)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
926
|
+
const accountId = resolveMatrixCliAccountId(options.account);
|
|
927
|
+
await runMatrixCliCommand({
|
|
928
|
+
verbose: options.verbose === true,
|
|
929
|
+
json: options.json === true,
|
|
930
|
+
run: async () => await repairMatrixDirectRoom({
|
|
931
|
+
accountId,
|
|
932
|
+
userId: options.userId
|
|
933
|
+
}),
|
|
934
|
+
onText: (result, verbose) => {
|
|
935
|
+
printDirectRoomInspection(result);
|
|
936
|
+
console.log(`Encrypted room creation: ${result.encrypted ? "enabled" : "disabled"}`);
|
|
937
|
+
console.log(`Created room: ${formatMatrixCliText(result.createdRoomId, "none")}`);
|
|
938
|
+
console.log(`m.direct updated: ${result.changed ? "yes" : "no"}`);
|
|
939
|
+
if (verbose) {
|
|
940
|
+
console.log(`m.direct before: ${formatMatrixCliText(JSON.stringify(result.directContentBefore[result.remoteUserId] ?? []))}`);
|
|
941
|
+
console.log(`m.direct after: ${formatMatrixCliText(JSON.stringify(result.directContentAfter[result.remoteUserId] ?? []))}`);
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
errorPrefix: "Direct room repair failed"
|
|
945
|
+
});
|
|
946
|
+
});
|
|
947
|
+
root.command("encryption").description("Set up Matrix end-to-end encryption").command("setup").description("Enable Matrix E2EE, bootstrap verification, and print next steps").option("--account <id>", "Account ID (for multi-account setups)").option("--recovery-key <key>", "Recovery key to apply before bootstrap").option("--force-reset-cross-signing", "Force reset cross-signing identity before bootstrap (requires active recovery key)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
948
|
+
await runMatrixCliCommand({
|
|
949
|
+
verbose: options.verbose === true,
|
|
950
|
+
json: options.json === true,
|
|
951
|
+
run: async () => await setupMatrixEncryption({
|
|
952
|
+
account: options.account,
|
|
953
|
+
recoveryKey: options.recoveryKey,
|
|
954
|
+
forceResetCrossSigning: options.forceResetCrossSigning === true
|
|
955
|
+
}),
|
|
956
|
+
onText: (result, verbose) => {
|
|
957
|
+
printMatrixEncryptionSetupResult(result, verbose);
|
|
958
|
+
},
|
|
959
|
+
onJson: (result) => ({
|
|
960
|
+
success: result.bootstrap.success,
|
|
961
|
+
...result
|
|
962
|
+
}),
|
|
963
|
+
shouldFail: (result) => !result.bootstrap.success,
|
|
964
|
+
errorPrefix: "Encryption setup failed",
|
|
965
|
+
onJsonError: (message) => ({
|
|
966
|
+
success: false,
|
|
967
|
+
error: message
|
|
968
|
+
})
|
|
969
|
+
});
|
|
970
|
+
});
|
|
971
|
+
const verify = root.command("verify").description("Device verification for Matrix E2EE");
|
|
972
|
+
verify.command("list").description("List pending Matrix verification requests").option("--account <id>", "Account ID (for multi-account setups)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
973
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
974
|
+
await runMatrixCliCommand({
|
|
975
|
+
verbose: options.verbose === true,
|
|
976
|
+
json: options.json === true,
|
|
977
|
+
run: async () => await listMatrixVerifications({
|
|
978
|
+
accountId,
|
|
979
|
+
cfg
|
|
980
|
+
}),
|
|
981
|
+
onText: (summaries) => {
|
|
982
|
+
printAccountLabel(accountId);
|
|
983
|
+
printMatrixVerificationSummaries(summaries);
|
|
984
|
+
},
|
|
985
|
+
errorPrefix: "Verification listing failed"
|
|
986
|
+
});
|
|
987
|
+
});
|
|
988
|
+
verify.command("self").description("Interactively self-verify this Matrix device").option("--account <id>", "Account ID (for multi-account setups)").option("--timeout-ms <ms>", "How long to wait for the other Matrix client").option("--verbose", "Show detailed diagnostics").action(async (options) => {
|
|
989
|
+
await runMatrixCliSelfVerificationCommand(options);
|
|
990
|
+
});
|
|
991
|
+
verify.command("request").description("Request Matrix device verification from another Matrix client").option("--account <id>", "Account ID (for multi-account setups)").option("--own-user", "Request self-verification for this Matrix account").option("--user-id <id>", "Matrix user ID to verify").option("--device-id <id>", "Matrix device ID to verify").option("--room-id <id>", "Matrix direct-message room ID for verification").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
992
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
993
|
+
await runMatrixCliCommand({
|
|
994
|
+
verbose: options.verbose === true,
|
|
995
|
+
json: options.json === true,
|
|
996
|
+
run: async () => {
|
|
997
|
+
if (options.ownUser === true && (options.userId || options.deviceId || options.roomId)) throw new Error("--own-user cannot be combined with --user-id, --device-id, or --room-id");
|
|
998
|
+
return await requestMatrixVerification({
|
|
999
|
+
accountId,
|
|
1000
|
+
cfg,
|
|
1001
|
+
ownUser: options.ownUser === true ? true : void 0,
|
|
1002
|
+
userId: options.userId,
|
|
1003
|
+
deviceId: options.deviceId,
|
|
1004
|
+
roomId: options.roomId
|
|
1005
|
+
});
|
|
1006
|
+
},
|
|
1007
|
+
onText: (summary) => {
|
|
1008
|
+
printAccountLabel(accountId);
|
|
1009
|
+
printMatrixVerificationSummary(summary);
|
|
1010
|
+
printMatrixVerificationRequestGuidance(summary, accountId);
|
|
1011
|
+
},
|
|
1012
|
+
errorPrefix: "Verification request failed"
|
|
1013
|
+
});
|
|
1014
|
+
});
|
|
1015
|
+
verify.command("accept <id>").description("Accept an inbound Matrix verification request").option("--account <id>", "Account ID (for multi-account setups)").option("--user-id <id>", "Matrix user ID for DM verification follow-up").option("--room-id <id>", "Matrix direct-message room ID for verification follow-up").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (id, options) => {
|
|
1016
|
+
await runMatrixCliVerificationSummaryCommand({
|
|
1017
|
+
options,
|
|
1018
|
+
run: async (accountId, cfg) => await acceptMatrixVerification(id, {
|
|
1019
|
+
accountId,
|
|
1020
|
+
cfg,
|
|
1021
|
+
...matrixCliVerificationDmLookupOptions(options)
|
|
1022
|
+
}),
|
|
1023
|
+
afterText: (summary, accountId) => {
|
|
1024
|
+
printGuidance([`Run ${formatMatrixVerificationFollowupCommand({
|
|
1025
|
+
action: "start",
|
|
1026
|
+
requestId: formatMatrixVerificationCommandId(summary),
|
|
1027
|
+
accountId,
|
|
1028
|
+
dmParts: formatMatrixVerificationPreferredDmFollowupParts(summary, options)
|
|
1029
|
+
})} to start SAS verification.`]);
|
|
1030
|
+
},
|
|
1031
|
+
errorPrefix: "Verification accept failed"
|
|
1032
|
+
});
|
|
1033
|
+
});
|
|
1034
|
+
verify.command("start <id>").description("Start SAS verification for a Matrix verification request").option("--account <id>", "Account ID (for multi-account setups)").option("--user-id <id>", "Matrix user ID for DM verification follow-up").option("--room-id <id>", "Matrix direct-message room ID for verification follow-up").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (id, options) => {
|
|
1035
|
+
await runMatrixCliVerificationSummaryCommand({
|
|
1036
|
+
options,
|
|
1037
|
+
run: async (accountId, cfg) => await startMatrixVerification(id, {
|
|
1038
|
+
accountId,
|
|
1039
|
+
cfg,
|
|
1040
|
+
method: "sas",
|
|
1041
|
+
...matrixCliVerificationDmLookupOptions(options)
|
|
1042
|
+
}),
|
|
1043
|
+
afterText: (summary, accountId) => printMatrixVerificationSasGuidance(formatMatrixVerificationCommandId(summary), accountId, formatMatrixVerificationPreferredDmFollowupParts(summary, options)),
|
|
1044
|
+
errorPrefix: "Verification start failed"
|
|
1045
|
+
});
|
|
1046
|
+
});
|
|
1047
|
+
verify.command("sas <id>").description("Show SAS emoji or decimals for a Matrix verification request").option("--account <id>", "Account ID (for multi-account setups)").option("--user-id <id>", "Matrix user ID for DM verification follow-up").option("--room-id <id>", "Matrix direct-message room ID for verification follow-up").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (id, options) => {
|
|
1048
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1049
|
+
await runMatrixCliCommand({
|
|
1050
|
+
verbose: options.verbose === true,
|
|
1051
|
+
json: options.json === true,
|
|
1052
|
+
run: async () => await getMatrixVerificationSas(id, {
|
|
1053
|
+
accountId,
|
|
1054
|
+
cfg,
|
|
1055
|
+
...matrixCliVerificationDmLookupOptions(options)
|
|
1056
|
+
}),
|
|
1057
|
+
onText: (sas) => {
|
|
1058
|
+
const requestId = formatMatrixCliText(id);
|
|
1059
|
+
printAccountLabel(accountId);
|
|
1060
|
+
console.log(`Verification id: ${requestId}`);
|
|
1061
|
+
printMatrixVerificationSas(sas);
|
|
1062
|
+
printMatrixVerificationSasGuidance(requestId, accountId, formatMatrixVerificationOptionsDmFollowupParts(options));
|
|
1063
|
+
},
|
|
1064
|
+
errorPrefix: "Verification SAS lookup failed"
|
|
1065
|
+
});
|
|
1066
|
+
});
|
|
1067
|
+
verify.command("confirm-sas <id>").description("Confirm matching SAS emoji or decimals for a Matrix verification request").option("--account <id>", "Account ID (for multi-account setups)").option("--user-id <id>", "Matrix user ID for DM verification follow-up").option("--room-id <id>", "Matrix direct-message room ID for verification follow-up").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (id, options) => {
|
|
1068
|
+
await runMatrixCliVerificationSummaryCommand({
|
|
1069
|
+
options,
|
|
1070
|
+
run: async (accountId, cfg) => await confirmMatrixVerificationSas(id, {
|
|
1071
|
+
accountId,
|
|
1072
|
+
cfg,
|
|
1073
|
+
...matrixCliVerificationDmLookupOptions(options)
|
|
1074
|
+
}),
|
|
1075
|
+
errorPrefix: "Verification SAS confirm failed"
|
|
1076
|
+
});
|
|
1077
|
+
});
|
|
1078
|
+
verify.command("mismatch-sas <id>").description("Reject a Matrix SAS verification when the emoji or decimals do not match").option("--account <id>", "Account ID (for multi-account setups)").option("--user-id <id>", "Matrix user ID for DM verification follow-up").option("--room-id <id>", "Matrix direct-message room ID for verification follow-up").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (id, options) => {
|
|
1079
|
+
await runMatrixCliVerificationSummaryCommand({
|
|
1080
|
+
options,
|
|
1081
|
+
run: async (accountId, cfg) => await mismatchMatrixVerificationSas(id, {
|
|
1082
|
+
accountId,
|
|
1083
|
+
cfg,
|
|
1084
|
+
...matrixCliVerificationDmLookupOptions(options)
|
|
1085
|
+
}),
|
|
1086
|
+
errorPrefix: "Verification SAS mismatch failed"
|
|
1087
|
+
});
|
|
1088
|
+
});
|
|
1089
|
+
verify.command("cancel <id>").description("Cancel a Matrix verification request").option("--account <id>", "Account ID (for multi-account setups)").option("--user-id <id>", "Matrix user ID for DM verification follow-up").option("--room-id <id>", "Matrix direct-message room ID for verification follow-up").option("--reason <text>", "Cancellation reason").option("--code <code>", "Matrix cancellation code").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (id, options) => {
|
|
1090
|
+
await runMatrixCliVerificationSummaryCommand({
|
|
1091
|
+
options,
|
|
1092
|
+
run: async (accountId, cfg) => await cancelMatrixVerification(id, {
|
|
1093
|
+
accountId,
|
|
1094
|
+
cfg,
|
|
1095
|
+
reason: options.reason,
|
|
1096
|
+
code: options.code,
|
|
1097
|
+
...matrixCliVerificationDmLookupOptions(options)
|
|
1098
|
+
}),
|
|
1099
|
+
errorPrefix: "Verification cancel failed"
|
|
1100
|
+
});
|
|
1101
|
+
});
|
|
1102
|
+
verify.command("status").description("Check Matrix device verification status").option("--account <id>", "Account ID (for multi-account setups)").option("--verbose", "Show detailed diagnostics").option("--include-recovery-key", "Include stored recovery key in output").option("--allow-degraded-local-state", "Return best-effort diagnostics without preparing the Matrix account").option("--json", "Output as JSON").action(async (options) => {
|
|
1103
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1104
|
+
await runMatrixCliCommand({
|
|
1105
|
+
verbose: options.verbose === true,
|
|
1106
|
+
json: options.json === true,
|
|
1107
|
+
run: async () => await getMatrixVerificationStatus({
|
|
1108
|
+
accountId,
|
|
1109
|
+
cfg,
|
|
1110
|
+
includeRecoveryKey: options.includeRecoveryKey === true,
|
|
1111
|
+
...options.allowDegradedLocalState === true ? { readiness: "none" } : {}
|
|
1112
|
+
}),
|
|
1113
|
+
onText: (status, verbose) => {
|
|
1114
|
+
printAccountLabel(accountId);
|
|
1115
|
+
printVerificationStatus(status, verbose, accountId);
|
|
1116
|
+
},
|
|
1117
|
+
shouldFail: (status) => status.serverDeviceKnown === false,
|
|
1118
|
+
errorPrefix: "Error"
|
|
1119
|
+
});
|
|
1120
|
+
});
|
|
1121
|
+
const backup = verify.command("backup").description("Matrix room-key backup health and restore");
|
|
1122
|
+
backup.command("status").description("Show Matrix room-key backup status for this device").option("--account <id>", "Account ID (for multi-account setups)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
1123
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1124
|
+
await runMatrixCliCommand({
|
|
1125
|
+
verbose: options.verbose === true,
|
|
1126
|
+
json: options.json === true,
|
|
1127
|
+
run: async () => await getMatrixRoomKeyBackupStatus({
|
|
1128
|
+
accountId,
|
|
1129
|
+
cfg
|
|
1130
|
+
}),
|
|
1131
|
+
onText: (status, verbose) => {
|
|
1132
|
+
printAccountLabel(accountId);
|
|
1133
|
+
printBackupSummary(status);
|
|
1134
|
+
if (verbose) printBackupStatus(status);
|
|
1135
|
+
printBackupGuidance(status, accountId);
|
|
1136
|
+
},
|
|
1137
|
+
errorPrefix: "Backup status failed"
|
|
1138
|
+
});
|
|
1139
|
+
});
|
|
1140
|
+
backup.command("reset").description("Delete the current server backup and create a fresh room-key backup baseline, repairing secret storage if needed for a durable reset").option("--account <id>", "Account ID (for multi-account setups)").option("--yes", "Confirm destructive backup reset", false).option("--rotate-recovery-key", "Create a new Matrix recovery key for the fresh backup").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
1141
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1142
|
+
await runMatrixCliCommand({
|
|
1143
|
+
verbose: options.verbose === true,
|
|
1144
|
+
json: options.json === true,
|
|
1145
|
+
run: async () => {
|
|
1146
|
+
if (options.yes !== true) throw new Error(`Refusing to reset Matrix room-key backup without --yes. If you accept losing unrecoverable history, re-run ${formatMatrixCliCommand("verify backup reset --yes", accountId)}.`);
|
|
1147
|
+
return await resetMatrixRoomKeyBackup({
|
|
1148
|
+
accountId,
|
|
1149
|
+
cfg,
|
|
1150
|
+
rotateRecoveryKey: options.rotateRecoveryKey === true
|
|
1151
|
+
});
|
|
1152
|
+
},
|
|
1153
|
+
onText: (result, verbose) => {
|
|
1154
|
+
printAccountLabel(accountId);
|
|
1155
|
+
console.log(`Reset success: ${result.success ? "yes" : "no"}`);
|
|
1156
|
+
if (result.error) console.log(`Error: ${formatMatrixCliText(result.error)}`);
|
|
1157
|
+
console.log(`Previous backup version: ${formatMatrixCliText(result.previousVersion, "none")}`);
|
|
1158
|
+
console.log(`Deleted backup version: ${formatMatrixCliText(result.deletedVersion, "none")}`);
|
|
1159
|
+
console.log(`Current backup version: ${formatMatrixCliText(result.createdVersion, "none")}`);
|
|
1160
|
+
printBackupSummary(result.backup);
|
|
1161
|
+
if (verbose) {
|
|
1162
|
+
printTimestamp("Reset at", result.resetAt);
|
|
1163
|
+
printBackupStatus(result.backup);
|
|
1164
|
+
}
|
|
1165
|
+
printBackupGuidance(result.backup, accountId);
|
|
1166
|
+
},
|
|
1167
|
+
shouldFail: (result) => !result.success,
|
|
1168
|
+
errorPrefix: "Backup reset failed",
|
|
1169
|
+
onJsonError: (message) => ({
|
|
1170
|
+
success: false,
|
|
1171
|
+
error: message
|
|
1172
|
+
})
|
|
1173
|
+
});
|
|
1174
|
+
});
|
|
1175
|
+
backup.command("restore").description("Restore encrypted room keys from server backup").option("--account <id>", "Account ID (for multi-account setups)").option("--recovery-key <key>", "Optional recovery key to load before restoring (prefer --recovery-key-stdin)").option("--recovery-key-stdin", "Read the Matrix recovery key from stdin").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
1176
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1177
|
+
await runMatrixCliCommand({
|
|
1178
|
+
verbose: options.verbose === true,
|
|
1179
|
+
json: options.json === true,
|
|
1180
|
+
run: async () => await restoreMatrixRoomKeyBackup({
|
|
1181
|
+
accountId,
|
|
1182
|
+
cfg,
|
|
1183
|
+
recoveryKey: await resolveMatrixCliRecoveryKeyInput(options)
|
|
1184
|
+
}),
|
|
1185
|
+
onText: (result, verbose) => {
|
|
1186
|
+
printAccountLabel(accountId);
|
|
1187
|
+
console.log(`Restore success: ${result.success ? "yes" : "no"}`);
|
|
1188
|
+
if (result.error) console.log(`Error: ${formatMatrixCliText(result.error)}`);
|
|
1189
|
+
console.log(`Backup version: ${formatMatrixCliText(result.backupVersion, "none")}`);
|
|
1190
|
+
console.log(`Imported keys: ${result.imported}/${result.total}`);
|
|
1191
|
+
printBackupSummary(result.backup);
|
|
1192
|
+
if (verbose) {
|
|
1193
|
+
console.log(`Loaded key from secret storage: ${result.loadedFromSecretStorage ? "yes" : "no"}`);
|
|
1194
|
+
printTimestamp("Restored at", result.restoredAt);
|
|
1195
|
+
printBackupStatus(result.backup);
|
|
1196
|
+
}
|
|
1197
|
+
printBackupGuidance(result.backup, accountId, { recoveryKeyStored: result.loadedFromSecretStorage });
|
|
1198
|
+
},
|
|
1199
|
+
shouldFail: (result) => !result.success,
|
|
1200
|
+
errorPrefix: "Backup restore failed",
|
|
1201
|
+
onJsonError: (message) => ({
|
|
1202
|
+
success: false,
|
|
1203
|
+
error: message
|
|
1204
|
+
})
|
|
1205
|
+
});
|
|
1206
|
+
});
|
|
1207
|
+
verify.command("bootstrap").description("Bootstrap Matrix cross-signing and device verification state").option("--account <id>", "Account ID (for multi-account setups)").option("--recovery-key <key>", "Recovery key to apply before bootstrap (prefer --recovery-key-stdin)").option("--recovery-key-stdin", "Read the Matrix recovery key from stdin").option("--force-reset-cross-signing", "Force reset cross-signing identity before bootstrap (requires active recovery key)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
1208
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1209
|
+
await runMatrixCliCommand({
|
|
1210
|
+
verbose: options.verbose === true,
|
|
1211
|
+
json: options.json === true,
|
|
1212
|
+
run: async () => await bootstrapMatrixVerification({
|
|
1213
|
+
accountId,
|
|
1214
|
+
cfg,
|
|
1215
|
+
recoveryKey: await resolveMatrixCliRecoveryKeyInput(options),
|
|
1216
|
+
forceResetCrossSigning: options.forceResetCrossSigning === true
|
|
1217
|
+
}),
|
|
1218
|
+
onText: (result, verbose) => {
|
|
1219
|
+
printAccountLabel(accountId);
|
|
1220
|
+
console.log(`Bootstrap success: ${result.success ? "yes" : "no"}`);
|
|
1221
|
+
if (result.error) console.log(`Error: ${formatMatrixCliText(result.error)}`);
|
|
1222
|
+
console.log(`Verified by owner: ${result.verification.verified ? "yes" : "no"}`);
|
|
1223
|
+
printVerificationIdentity(result.verification);
|
|
1224
|
+
if (verbose) {
|
|
1225
|
+
printVerificationTrustDiagnostics(result.verification);
|
|
1226
|
+
console.log(`Cross-signing published: ${result.crossSigning.published ? "yes" : "no"} (master=${result.crossSigning.masterKeyPublished ? "yes" : "no"}, self=${result.crossSigning.selfSigningKeyPublished ? "yes" : "no"}, user=${result.crossSigning.userSigningKeyPublished ? "yes" : "no"})`);
|
|
1227
|
+
printVerificationBackupStatus(result.verification);
|
|
1228
|
+
printTimestamp("Recovery key created at", result.verification.recoveryKeyCreatedAt);
|
|
1229
|
+
console.log(`Pending verifications: ${result.pendingVerifications}`);
|
|
1230
|
+
} else {
|
|
1231
|
+
console.log(`Cross-signing published: ${result.crossSigning.published ? "yes" : "no"}`);
|
|
1232
|
+
printVerificationBackupSummary(result.verification);
|
|
1233
|
+
}
|
|
1234
|
+
printVerificationGuidance({
|
|
1235
|
+
...result.verification,
|
|
1236
|
+
pendingVerifications: result.pendingVerifications
|
|
1237
|
+
}, accountId);
|
|
1238
|
+
},
|
|
1239
|
+
shouldFail: (result) => !result.success,
|
|
1240
|
+
errorPrefix: "Verification bootstrap failed",
|
|
1241
|
+
onJsonError: (message) => ({
|
|
1242
|
+
success: false,
|
|
1243
|
+
error: message
|
|
1244
|
+
})
|
|
1245
|
+
});
|
|
1246
|
+
});
|
|
1247
|
+
verify.command("device [key]").description("Verify device using a Matrix recovery key").option("--account <id>", "Account ID (for multi-account setups)").option("--recovery-key-stdin", "Read the Matrix recovery key from stdin").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (key, options) => {
|
|
1248
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1249
|
+
await runMatrixCliCommand({
|
|
1250
|
+
verbose: options.verbose === true,
|
|
1251
|
+
json: options.json === true,
|
|
1252
|
+
run: async () => await verifyMatrixRecoveryKey(await requireMatrixCliRecoveryKeyInput({
|
|
1253
|
+
recoveryKey: key,
|
|
1254
|
+
recoveryKeyStdin: options.recoveryKeyStdin
|
|
1255
|
+
}), {
|
|
1256
|
+
accountId,
|
|
1257
|
+
cfg
|
|
1258
|
+
}),
|
|
1259
|
+
onText: (result, verbose) => {
|
|
1260
|
+
printAccountLabel(accountId);
|
|
1261
|
+
if (!result.success) {
|
|
1262
|
+
console.error(`Verification failed: ${formatMatrixCliText(result.error)}`);
|
|
1263
|
+
printVerificationIdentity(result);
|
|
1264
|
+
console.log(`Recovery key accepted: ${result.recoveryKeyAccepted ? "yes" : "no"}`);
|
|
1265
|
+
console.log(`Backup usable: ${result.backupUsable ? "yes" : "no"}`);
|
|
1266
|
+
console.log(`Device verified by owner: ${result.deviceOwnerVerified ? "yes" : "no"}`);
|
|
1267
|
+
printVerificationBackupSummary(result);
|
|
1268
|
+
if (verbose) {
|
|
1269
|
+
printVerificationTrustDiagnostics(result);
|
|
1270
|
+
printVerificationBackupStatus(result);
|
|
1271
|
+
printTimestamp("Recovery key created at", result.recoveryKeyCreatedAt);
|
|
1272
|
+
}
|
|
1273
|
+
printVerificationGuidance({
|
|
1274
|
+
...result,
|
|
1275
|
+
pendingVerifications: 0
|
|
1276
|
+
}, accountId);
|
|
1277
|
+
return;
|
|
1278
|
+
}
|
|
1279
|
+
console.log("Device verification completed successfully.");
|
|
1280
|
+
printVerificationIdentity(result);
|
|
1281
|
+
console.log(`Recovery key accepted: ${result.recoveryKeyAccepted ? "yes" : "no"}`);
|
|
1282
|
+
console.log(`Backup usable: ${result.backupUsable ? "yes" : "no"}`);
|
|
1283
|
+
console.log(`Device verified by owner: ${result.deviceOwnerVerified ? "yes" : "no"}`);
|
|
1284
|
+
printVerificationBackupSummary(result);
|
|
1285
|
+
if (verbose) {
|
|
1286
|
+
printVerificationTrustDiagnostics(result);
|
|
1287
|
+
printVerificationBackupStatus(result);
|
|
1288
|
+
printTimestamp("Recovery key created at", result.recoveryKeyCreatedAt);
|
|
1289
|
+
printTimestamp("Verified at", result.verifiedAt);
|
|
1290
|
+
}
|
|
1291
|
+
printVerificationGuidance({
|
|
1292
|
+
...result,
|
|
1293
|
+
pendingVerifications: 0
|
|
1294
|
+
}, accountId);
|
|
1295
|
+
},
|
|
1296
|
+
shouldFail: (result) => !result.success,
|
|
1297
|
+
errorPrefix: "Verification failed",
|
|
1298
|
+
onJsonError: (message) => ({
|
|
1299
|
+
success: false,
|
|
1300
|
+
error: message
|
|
1301
|
+
})
|
|
1302
|
+
});
|
|
1303
|
+
});
|
|
1304
|
+
const devices = root.command("devices").description("Inspect and clean up Matrix devices");
|
|
1305
|
+
devices.command("list").description("List server-side Matrix devices for this account").option("--account <id>", "Account ID (for multi-account setups)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
1306
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1307
|
+
await runMatrixCliCommand({
|
|
1308
|
+
verbose: options.verbose === true,
|
|
1309
|
+
json: options.json === true,
|
|
1310
|
+
run: async () => await listMatrixOwnDevices({
|
|
1311
|
+
accountId,
|
|
1312
|
+
cfg
|
|
1313
|
+
}),
|
|
1314
|
+
onText: (result) => {
|
|
1315
|
+
printAccountLabel(accountId);
|
|
1316
|
+
printMatrixOwnDevices(result);
|
|
1317
|
+
},
|
|
1318
|
+
errorPrefix: "Device listing failed"
|
|
1319
|
+
});
|
|
1320
|
+
});
|
|
1321
|
+
devices.command("prune-stale").description("Delete stale OpenClaw-managed devices for this account").option("--account <id>", "Account ID (for multi-account setups)").option("--verbose", "Show detailed diagnostics").option("--json", "Output as JSON").action(async (options) => {
|
|
1322
|
+
const { accountId, cfg } = resolveMatrixCliAccountContext(options.account);
|
|
1323
|
+
await runMatrixCliCommand({
|
|
1324
|
+
verbose: options.verbose === true,
|
|
1325
|
+
json: options.json === true,
|
|
1326
|
+
run: async () => await pruneMatrixStaleGatewayDevices({
|
|
1327
|
+
accountId,
|
|
1328
|
+
cfg
|
|
1329
|
+
}),
|
|
1330
|
+
onText: (result, verbose) => {
|
|
1331
|
+
printAccountLabel(accountId);
|
|
1332
|
+
console.log(`Deleted stale OpenClaw devices: ${result.deletedDeviceIds.length ? result.deletedDeviceIds.map((deviceId) => formatMatrixCliText(deviceId)).join(", ") : "none"}`);
|
|
1333
|
+
console.log(`Current device: ${formatMatrixCliText(result.currentDeviceId)}`);
|
|
1334
|
+
console.log(`Remaining devices: ${result.remainingDevices.length}`);
|
|
1335
|
+
if (verbose) {
|
|
1336
|
+
console.log("Devices before cleanup:");
|
|
1337
|
+
printMatrixOwnDevices(result.before);
|
|
1338
|
+
console.log("Devices after cleanup:");
|
|
1339
|
+
printMatrixOwnDevices(result.remainingDevices);
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
errorPrefix: "Device cleanup failed"
|
|
1343
|
+
});
|
|
1344
|
+
});
|
|
1345
|
+
}
|
|
1346
|
+
//#endregion
|
|
1347
|
+
export { registerMatrixCli };
|