@openclaw/matrix 2026.5.19 → 2026.5.20-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-selection-BWwIruri.js → account-selection-C3arLOhC.js} +2 -2
- package/dist/api.js +8 -8
- package/dist/{approval-handler.runtime-BsELVBtu.js → approval-handler.runtime-Dd07_8Bl.js} +6 -6
- package/dist/{approval-ids-BG6ZMpPU.js → approval-ids-BxkgpCbC.js} +1 -1
- package/dist/{approval-reaction-auth-BTy3BiII.js → approval-reaction-auth-CEVNfsxP.js} +2 -2
- package/dist/{approval-reactions-Cwd1PMCC.js → approval-reactions-BRGQgOu2.js} +1 -1
- package/dist/auth-presence.js +1 -1
- package/dist/{channel-ClUVS-7H.js → channel-D_CwbxZT.js} +21 -21
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-B1QurRaj.js → channel.runtime-CdvR9rPM.js} +8 -8
- package/dist/{cli-MXYE-QK9.js → cli-9WDb7vD3.js} +16 -16
- package/dist/{cli-metadata-BLapN6MO.js → cli-metadata-DkG8K_HZ.js} +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/{client-BgeA9XSX.js → client-BUC2jCAX.js} +3 -3
- package/dist/{client-YaBjqbMW.js → client-BbuTUaZb.js} +7 -7
- package/dist/{client-bootstrap-DcvAtu6x.js → client-bootstrap-bDVMLctr.js} +4 -4
- package/dist/{config-schema-B1OTtJSg.js → config-schema-B29Tb4I2.js} +2 -2
- package/dist/contract-api.js +7 -7
- package/dist/{create-client-B5b-7vQX.js → create-client-Bt3o4spU.js} +5 -5
- package/dist/{credentials-DK0lK9cZ.js → credentials-CDjQjIds.js} +2 -2
- package/dist/{credentials-read-cmHgousK.js → credentials-read-DySnJlLx.js} +4 -4
- package/dist/{credentials-write.runtime-DhPvBU-C.js → credentials-write.runtime-Ca2MN99y.js} +1 -1
- package/dist/{crypto-runtime-Dt4XDOFO.js → crypto-runtime-yojbuOD8.js} +5 -5
- package/dist/{directory-live-Bwk5Ij-k.js → directory-live-CF8-oMy9.js} +5 -5
- package/dist/{doctor-KuNYX5N3.js → doctor-Ct_9WGLY.js} +4 -4
- package/dist/{doctor-contract-s4gUPmRN.js → doctor-contract-D9oKDvsJ.js} +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/{draft-stream-CI_W386P.js → draft-stream-BBwgRoUh.js} +1 -1
- package/dist/{encryption-guidance-1QoIvd-g.js → encryption-guidance-CU-OAPMg.js} +2 -2
- package/dist/{env-auth-BJqGI8M6.js → env-auth-DIzOApj0.js} +1 -1
- package/dist/helper-api.js +3 -3
- package/dist/{http-client-r8CROzot.js → http-client-DJNugFzO.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/{legacy-crypto-inspector-_gWJGVQ_.js → legacy-crypto-inspector-FOIK8zmf.js} +1 -1
- package/dist/{legacy-crypto-restore-B9eF1gob.js → legacy-crypto-restore-BgW3I87R.js} +2 -2
- package/dist/{logging-bJ8EEe1G.js → logging-BR-gcAjp.js} +2 -2
- package/dist/{matrix-migration.runtime-Cf_wX9mk.js → matrix-migration.runtime-BeJ2i3_e.js} +6 -6
- package/dist/{media-text-C6UAn_TD.js → media-text-BJv2N4wk.js} +1 -1
- package/dist/{messages-mMLZ7DIz.js → messages-C3mtEl6W.js} +5 -5
- package/dist/{migration-snapshot.runtime-C7yiKWS7.js → migration-snapshot.runtime-VGD4QfeS.js} +1 -1
- package/dist/{monitor-4YYdKe_C.js → monitor-BbxdWm4v.js} +33 -33
- package/dist/plugin-entry.handlers.runtime.js +2 -2
- package/dist/probe.runtime-BzgYdO2A.js +3 -0
- package/dist/{profile-update-CWtZzuqa.js → profile-update-Rn6jH803.js} +3 -3
- package/dist/{reaction-events-1XDDYTnu.js → reaction-events-DmHbgP3C.js} +6 -6
- package/dist/{resolve-targets-DrNhr-4K.js → resolve-targets-Bsvenfrx.js} +3 -3
- package/dist/{resolver.runtime-B6QeiGj7.js → resolver.runtime-CINI2ek_.js} +1 -1
- package/dist/{route-R-ajT21_.js → route-DY6at4qJ.js} +1 -1
- package/dist/{runtime-api-C-QeChQj.js → runtime-api-CtNLoJ_E.js} +1 -1
- package/dist/runtime-api.js +6 -6
- package/dist/runtime-heavy-api.js +2 -2
- package/dist/runtime-setter-api.js +1 -1
- package/dist/{sdk-DDUAi9uh.js → sdk-DYgMrfU0.js} +11 -11
- package/dist/{secret-contract-e4SdhUtT.js → secret-contract-DTgQyQxc.js} +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/{send-EorDXlGl.js → send-DxmZAhzk.js} +6 -6
- package/dist/{setup-bootstrap-CfQFd5vJ.js → setup-bootstrap-DrbtSj86.js} +4 -4
- package/dist/{setup-core-CnUlkNmz.js → setup-core-3cj9Xl8X.js} +6 -6
- package/dist/setup-plugin-api.js +3 -3
- package/dist/{setup-surface-BdT1ex7Z.js → setup-surface-BQpdB86d.js} +10 -10
- package/dist/{shared-BA9WrDZY.js → shared-CiCENm9L.js} +14 -15
- package/dist/{startup-abort-br7BZHJQ.js → startup-abort-Bs0Up_Qx.js} +1 -1
- package/dist/{startup-verification-CTfhD7V_.js → startup-verification-BmTEngvU.js} +2 -2
- package/dist/{storage-HI1nL3im.js → storage-onzulLbU.js} +4 -4
- package/dist/{subagent-hooks-api-BgQgDwAS.js → subagent-hooks-api-bedE4GYl.js} +4 -4
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/test-api.js +3 -3
- package/dist/{thread-binding-api-Bx55B6hm.js → thread-binding-api-DRbBZlhS.js} +1 -1
- package/dist/thread-binding-api.js +1 -1
- package/dist/{thread-bindings-CK8lw9qa.js → thread-bindings-J5zieZly.js} +3 -3
- package/dist/thread-bindings-runtime.js +1 -1
- package/dist/{tool-actions.runtime-mwuaf5-A.js → tool-actions.runtime-Degh72hC.js} +9 -9
- package/dist/{verification-B5Iszq8W.js → verification-0rKbLW-L.js} +3 -3
- package/package.json +6 -6
- package/dist/probe.runtime-DIVHJw2r.js +0 -3
- /package/dist/{active-client-DUi-lumi.js → active-client-DXvz2gCo.js} +0 -0
- /package/dist/{async-lock-SsmtFXtt.js → async-lock-BcLS4KOc.js} +0 -0
- /package/dist/{backup-health-3BHbHxyd.js → backup-health-Dm_YMVFT.js} +0 -0
- /package/dist/{config-paths-msaDGRh6.js → config-paths-ZBCMwSos.js} +0 -0
- /package/dist/{config-secret-input.runtime-nbLCnJq7.js → config-secret-input.runtime-CwsP3--c.js} +0 -0
- /package/dist/{crypto-node.runtime-D9qxgRPa.js → crypto-node.runtime-6Aj_ltHQ.js} +0 -0
- /package/dist/{deps-LqqGWPWt.js → deps-CAdiytPJ.js} +0 -0
- /package/dist/{device-health-Di9MUzFj.js → device-health-D4LBxuPq.js} +0 -0
- /package/dist/{env-vars-C7uQCTKn.js → env-vars-KzaYveuy.js} +0 -0
- /package/dist/{errors-BpHgvm2o.js → errors-C47hvAF8.js} +0 -0
- /package/dist/{exec-approval-resolver-C8faS0XB.js → exec-approval-resolver-f9j6staN.js} +0 -0
- /package/dist/{migration-snapshot-backup-BWTIFXgQ.js → migration-snapshot-backup-YcCrSjbE.js} +0 -0
- /package/dist/{reaction-common-B-QgNfEs.js → reaction-common-DkrQdBSZ.js} +0 -0
- /package/dist/{record-shared-CHWJCTWf.js → record-shared-CvzjvHRn.js} +0 -0
- /package/dist/{rolldown-runtime-DUslC3ob.js → rolldown-runtime-8H4AJuhK.js} +0 -0
- /package/dist/{runtime-Dog86njy.js → runtime-6S3DNFNv.js} +0 -0
- /package/dist/{runtime-lwTSy9Yt.js → runtime-BefyhPWv.js} +0 -0
- /package/dist/{storage-paths-BJLdnCjV.js → storage-paths-BV2Z7bns.js} +0 -0
- /package/dist/{sync-state-Bx0gPaGA.js → sync-state-CWbp0QSY.js} +0 -0
- /package/dist/{target-ids-80nQ2gql.js → target-ids-B-5aQxwn.js} +0 -0
- /package/dist/{thread-bindings-shared-DK-d-oYX.js → thread-bindings-shared-CKnY4LSd.js} +0 -0
- /package/dist/{timeout-abort-signal-sT0wAxVn.js → timeout-abort-signal-DMrgRFIy.js} +0 -0
- /package/dist/{url-validation-CBZBxN3F.js → url-validation-GRHde6lq.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as listMatrixEnvAccountIds, t as getMatrixScopedEnvVarNames } from "./env-vars-
|
|
2
|
-
import { t as isRecord } from "./record-shared-
|
|
1
|
+
import { n as listMatrixEnvAccountIds, t as getMatrixScopedEnvVarNames } from "./env-vars-KzaYveuy.js";
|
|
2
|
+
import { t as isRecord } from "./record-shared-CvzjvHRn.js";
|
|
3
3
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId, normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { listCombinedAccountIds, listConfiguredAccountIds, resolveListedDefaultAccountId, resolveNormalizedAccountEntry } from "openclaw/plugin-sdk/account-core";
|
package/dist/api.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as setMatrixThreadBindingIdleTimeoutBySessionKey, n as getMatrixThreadBindingManager, p as setMatrixThreadBindingMaxAgeBySessionKey, s as resetMatrixThreadBindingsForTests } from "./thread-bindings-shared-
|
|
2
|
-
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./account-selection-
|
|
3
|
-
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./env-vars-
|
|
4
|
-
import { a as resolveMatrixCredentialsPath, c as resolveMatrixLegacyFlatStoreRoot, i as resolveMatrixCredentialsFilename, l as sanitizeMatrixPathSegment, n as resolveMatrixAccountStorageRoot, o as resolveMatrixHomeserverKey, r as resolveMatrixCredentialsDir, s as resolveMatrixLegacyFlatStoragePaths, t as hashMatrixAccessToken } from "./storage-paths-
|
|
5
|
-
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./setup-core-
|
|
6
|
-
import { t as matrixPlugin } from "./channel-
|
|
7
|
-
import { n as matrixOnboardingAdapter } from "./setup-surface-
|
|
8
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
1
|
+
import { d as setMatrixThreadBindingIdleTimeoutBySessionKey, n as getMatrixThreadBindingManager, p as setMatrixThreadBindingMaxAgeBySessionKey, s as resetMatrixThreadBindingsForTests } from "./thread-bindings-shared-CKnY4LSd.js";
|
|
2
|
+
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./account-selection-C3arLOhC.js";
|
|
3
|
+
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./env-vars-KzaYveuy.js";
|
|
4
|
+
import { a as resolveMatrixCredentialsPath, c as resolveMatrixLegacyFlatStoreRoot, i as resolveMatrixCredentialsFilename, l as sanitizeMatrixPathSegment, n as resolveMatrixAccountStorageRoot, o as resolveMatrixHomeserverKey, r as resolveMatrixCredentialsDir, s as resolveMatrixLegacyFlatStoragePaths, t as hashMatrixAccessToken } from "./storage-paths-BV2Z7bns.js";
|
|
5
|
+
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./setup-core-3cj9Xl8X.js";
|
|
6
|
+
import { t as matrixPlugin } from "./channel-D_CwbxZT.js";
|
|
7
|
+
import { n as matrixOnboardingAdapter } from "./setup-surface-BQpdB86d.js";
|
|
8
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-J5zieZly.js";
|
|
9
9
|
//#region extensions/matrix/api.ts
|
|
10
10
|
const matrixSessionBindingAdapterChannels = ["matrix"];
|
|
11
11
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as resolveMatrixTargetIdentity } from "./target-ids-
|
|
2
|
-
import { g as resolveMatrixAccount } from "./setup-core-
|
|
3
|
-
import { _ as shouldHandleMatrixApprovalRequest, g as isMatrixAnyApprovalClientEnabled } from "./channel-
|
|
4
|
-
import { a as sendMessageMatrix, i as reactMatrixMessage, p as repairMatrixDirectRooms, s as sendSingleTextMessageMatrix } from "./send-
|
|
5
|
-
import { a as unregisterMatrixApprovalReactionTarget, n as listMatrixApprovalReactionBindings, r as registerMatrixApprovalReactionTarget, t as buildMatrixApprovalReactionHint } from "./approval-reactions-
|
|
6
|
-
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-
|
|
1
|
+
import { a as resolveMatrixTargetIdentity } from "./target-ids-B-5aQxwn.js";
|
|
2
|
+
import { g as resolveMatrixAccount } from "./setup-core-3cj9Xl8X.js";
|
|
3
|
+
import { _ as shouldHandleMatrixApprovalRequest, g as isMatrixAnyApprovalClientEnabled } from "./channel-D_CwbxZT.js";
|
|
4
|
+
import { a as sendMessageMatrix, i as reactMatrixMessage, p as repairMatrixDirectRooms, s as sendSingleTextMessageMatrix } from "./send-DxmZAhzk.js";
|
|
5
|
+
import { a as unregisterMatrixApprovalReactionTarget, n as listMatrixApprovalReactionBindings, r as registerMatrixApprovalReactionTarget, t as buildMatrixApprovalReactionHint } from "./approval-reactions-BRGQgOu2.js";
|
|
6
|
+
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-C3mtEl6W.js";
|
|
7
7
|
import { listMessageReceiptPlatformIds, resolveMessageReceiptPrimaryId } from "openclaw/plugin-sdk/channel-message";
|
|
8
8
|
import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
9
9
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as normalizeMatrixUserId } from "./config-schema-
|
|
1
|
+
import { a as normalizeMatrixUserId } from "./config-schema-B29Tb4I2.js";
|
|
2
2
|
//#region extensions/matrix/src/approval-ids.ts
|
|
3
3
|
function normalizeMatrixApproverId(value) {
|
|
4
4
|
return normalizeMatrixUserId(String(value)) || void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as resolveMatrixAccount } from "./setup-core-
|
|
2
|
-
import { t as normalizeMatrixApproverId } from "./approval-ids-
|
|
1
|
+
import { g as resolveMatrixAccount } from "./setup-core-3cj9Xl8X.js";
|
|
2
|
+
import { t as normalizeMatrixApproverId } from "./approval-ids-BxkgpCbC.js";
|
|
3
3
|
import { resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
4
4
|
//#region extensions/matrix/src/approval-reaction-auth.ts
|
|
5
5
|
function normalizeMatrixExecApproverId(value) {
|
package/dist/auth-presence.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as resolveMatrixCredentialsFilename, r as resolveMatrixCredentialsDir } from "./storage-paths-
|
|
1
|
+
import { i as resolveMatrixCredentialsFilename, r as resolveMatrixCredentialsDir } from "./storage-paths-BV2Z7bns.js";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as resolveMatrixTargetIdentity, i as resolveMatrixDirectUserId, n as normalizeMatrixMessagingTarget, r as normalizeMatrixResolvableTarget } from "./target-ids-
|
|
2
|
-
import { d as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKey } from "./thread-bindings-shared-
|
|
3
|
-
import { n as requiresExplicitMatrixDefaultAccount } from "./account-selection-
|
|
4
|
-
import { c as resolveMatrixAccountConfig } from "./config-paths-
|
|
5
|
-
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, n as matrixSetupAdapter, p as listMatrixAccountIds, t as createMatrixSetupWizardProxy, u as namedAccountPromotionKeys } from "./setup-core-
|
|
6
|
-
import { a as normalizeMatrixUserId, n as DEFAULT_ACCOUNT_ID$2, r as matrixConfigAdapter, t as MatrixChannelConfigSchema } from "./config-schema-
|
|
7
|
-
import { t as normalizeMatrixApproverId } from "./approval-ids-
|
|
8
|
-
import { t as formatMatrixErrorMessage } from "./errors-
|
|
9
|
-
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-
|
|
10
|
-
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-
|
|
11
|
-
import { i as autoPrepareLegacyMatrixCrypto, o as autoMigrateLegacyMatrixState, r as resolveMatrixMigrationStatus } from "./matrix-migration.runtime-
|
|
12
|
-
import { t as maybeCreateMatrixMigrationSnapshot } from "./migration-snapshot-backup-
|
|
13
|
-
import { n as resolveMatrixInboundConversation } from "./thread-binding-api-
|
|
1
|
+
import { a as resolveMatrixTargetIdentity, i as resolveMatrixDirectUserId, n as normalizeMatrixMessagingTarget, r as normalizeMatrixResolvableTarget } from "./target-ids-B-5aQxwn.js";
|
|
2
|
+
import { d as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKey } from "./thread-bindings-shared-CKnY4LSd.js";
|
|
3
|
+
import { n as requiresExplicitMatrixDefaultAccount } from "./account-selection-C3arLOhC.js";
|
|
4
|
+
import { c as resolveMatrixAccountConfig } from "./config-paths-ZBCMwSos.js";
|
|
5
|
+
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, n as matrixSetupAdapter, p as listMatrixAccountIds, t as createMatrixSetupWizardProxy, u as namedAccountPromotionKeys } from "./setup-core-3cj9Xl8X.js";
|
|
6
|
+
import { a as normalizeMatrixUserId, n as DEFAULT_ACCOUNT_ID$2, r as matrixConfigAdapter, t as MatrixChannelConfigSchema } from "./config-schema-B29Tb4I2.js";
|
|
7
|
+
import { t as normalizeMatrixApproverId } from "./approval-ids-BxkgpCbC.js";
|
|
8
|
+
import { t as formatMatrixErrorMessage } from "./errors-C47hvAF8.js";
|
|
9
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-D9oKDvsJ.js";
|
|
10
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-DTgQyQxc.js";
|
|
11
|
+
import { i as autoPrepareLegacyMatrixCrypto, o as autoMigrateLegacyMatrixState, r as resolveMatrixMigrationStatus } from "./matrix-migration.runtime-BeJ2i3_e.js";
|
|
12
|
+
import { t as maybeCreateMatrixMigrationSnapshot } from "./migration-snapshot-backup-YcCrSjbE.js";
|
|
13
|
+
import { n as resolveMatrixInboundConversation } from "./thread-binding-api-DRbBZlhS.js";
|
|
14
14
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
15
15
|
import { createScopedAccountReplyToModeResolver } from "openclaw/plugin-sdk/conversation-runtime";
|
|
16
16
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeOptionalStringifiedId } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -132,7 +132,7 @@ const matrixMessageActions = {
|
|
|
132
132
|
return extractToolSend(args, "sendMessage");
|
|
133
133
|
},
|
|
134
134
|
handleAction: async (ctx) => {
|
|
135
|
-
const { handleMatrixAction } = await import("./tool-actions.runtime-
|
|
135
|
+
const { handleMatrixAction } = await import("./tool-actions.runtime-Degh72hC.js");
|
|
136
136
|
const { action, params, cfg, accountId, mediaLocalRoots } = ctx;
|
|
137
137
|
const dispatch = async (actionParams) => await handleMatrixAction({
|
|
138
138
|
...actionParams,
|
|
@@ -596,7 +596,7 @@ const matrixNativeApprovalCapability = createApproverRestrictedNativeApprovalCap
|
|
|
596
596
|
accountId,
|
|
597
597
|
request
|
|
598
598
|
}),
|
|
599
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
599
|
+
load: async () => (await import("./approval-handler.runtime-Dd07_8Bl.js")).matrixApprovalNativeRuntime
|
|
600
600
|
})
|
|
601
601
|
});
|
|
602
602
|
const splitMatrixApprovalCapability = splitChannelApprovalCapability(matrixNativeApprovalCapability);
|
|
@@ -758,7 +758,7 @@ function resolveMatrixGroupToolPolicy(params) {
|
|
|
758
758
|
}
|
|
759
759
|
//#endregion
|
|
760
760
|
//#region extensions/matrix/src/resolver.ts
|
|
761
|
-
const loadMatrixChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./resolver.runtime-
|
|
761
|
+
const loadMatrixChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./resolver.runtime-CINI2ek_.js"), "matrixResolverRuntime");
|
|
762
762
|
const matrixResolverAdapter = { resolveTargets: async ({ cfg, accountId, inputs, kind, runtime }) => (await loadMatrixChannelRuntime$1()).resolveMatrixTargets({
|
|
763
763
|
cfg,
|
|
764
764
|
accountId,
|
|
@@ -947,8 +947,8 @@ async function runMatrixStartupMaintenance(params) {
|
|
|
947
947
|
//#endregion
|
|
948
948
|
//#region extensions/matrix/src/channel.ts
|
|
949
949
|
let matrixStartupLock = Promise.resolve();
|
|
950
|
-
const loadMatrixSetupWizard = createLazyRuntimeNamedExport(() => import("./setup-surface-
|
|
951
|
-
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
950
|
+
const loadMatrixSetupWizard = createLazyRuntimeNamedExport(() => import("./setup-surface-BQpdB86d.js").then((n) => n.t), "matrixSetupWizard");
|
|
951
|
+
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-CdvR9rPM.js"), "matrixChannelRuntime");
|
|
952
952
|
const meta = {
|
|
953
953
|
id: "matrix",
|
|
954
954
|
label: "Matrix",
|
|
@@ -972,12 +972,12 @@ const matrixDoctor = {
|
|
|
972
972
|
warnOnEmptyGroupSenderAllowlist: true,
|
|
973
973
|
legacyConfigRules,
|
|
974
974
|
normalizeCompatibilityConfig,
|
|
975
|
-
runConfigSequence: async ({ cfg, env, shouldRepair }) => await (await import("./doctor-
|
|
975
|
+
runConfigSequence: async ({ cfg, env, shouldRepair }) => await (await import("./doctor-Ct_9WGLY.js")).runMatrixDoctorSequence({
|
|
976
976
|
cfg,
|
|
977
977
|
env,
|
|
978
978
|
shouldRepair
|
|
979
979
|
}),
|
|
980
|
-
cleanStaleConfig: async ({ cfg }) => await (await import("./doctor-
|
|
980
|
+
cleanStaleConfig: async ({ cfg }) => await (await import("./doctor-Ct_9WGLY.js")).cleanStaleMatrixPluginConfig(cfg)
|
|
981
981
|
};
|
|
982
982
|
const listMatrixDirectoryPeersFromConfig = createResolvedDirectoryEntriesLister({
|
|
983
983
|
kind: "user",
|
|
@@ -1318,7 +1318,7 @@ const matrixPlugin = createChatChannelPlugin({
|
|
|
1318
1318
|
await previousLock;
|
|
1319
1319
|
let monitorMatrixProvider;
|
|
1320
1320
|
try {
|
|
1321
|
-
monitorMatrixProvider = (await import("./monitor-
|
|
1321
|
+
monitorMatrixProvider = (await import("./monitor-BbxdWm4v.js")).monitorMatrixProvider;
|
|
1322
1322
|
} finally {
|
|
1323
1323
|
releaseLock();
|
|
1324
1324
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as matrixPlugin } from "./channel-
|
|
1
|
+
import { t as matrixPlugin } from "./channel-D_CwbxZT.js";
|
|
2
2
|
export { matrixPlugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as sendMessageMatrix, c as sendTypingMatrix, o as sendPollMatrix } from "./send-
|
|
2
|
-
import { t as isBunRuntime } from "./runtime-
|
|
3
|
-
import { l as resolveMatrixAuth } from "./shared-
|
|
4
|
-
import "./client-
|
|
5
|
-
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-
|
|
6
|
-
import { f as resolveOutboundSendDep, n as chunkTextForOutbound } from "./runtime-api-
|
|
7
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
1
|
+
import { a as sendMessageMatrix, c as sendTypingMatrix, o as sendPollMatrix } from "./send-DxmZAhzk.js";
|
|
2
|
+
import { t as isBunRuntime } from "./runtime-BefyhPWv.js";
|
|
3
|
+
import { l as resolveMatrixAuth } from "./shared-CiCENm9L.js";
|
|
4
|
+
import "./client-BbuTUaZb.js";
|
|
5
|
+
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-CF8-oMy9.js";
|
|
6
|
+
import { f as resolveOutboundSendDep, n as chunkTextForOutbound } from "./runtime-api-CtNLoJ_E.js";
|
|
7
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-Bsvenfrx.js";
|
|
8
8
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { createReplyToFanout } from "openclaw/plugin-sdk/outbound-runtime";
|
|
10
10
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -13,7 +13,7 @@ import { resolvePayloadMediaUrls } from "openclaw/plugin-sdk/reply-payload";
|
|
|
13
13
|
//#region extensions/matrix/src/matrix/probe.ts
|
|
14
14
|
let matrixProbeRuntimeDepsPromise;
|
|
15
15
|
async function loadMatrixProbeRuntimeDeps() {
|
|
16
|
-
matrixProbeRuntimeDepsPromise ??= import("./probe.runtime-
|
|
16
|
+
matrixProbeRuntimeDepsPromise ??= import("./probe.runtime-BzgYdO2A.js").then((runtimeModule) => ({ createMatrixClient: runtimeModule.createMatrixClient }));
|
|
17
17
|
return await matrixProbeRuntimeDepsPromise;
|
|
18
18
|
}
|
|
19
19
|
async function probeMatrix(params) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as resolveMatrixAccountConfig } from "./config-paths-
|
|
2
|
-
import { t as getMatrixRuntime } from "./runtime-
|
|
3
|
-
import { c as resolveMatrixConfigPath, g as resolveMatrixAccount, l as updateMatrixAccountConfig, n as matrixSetupAdapter } from "./setup-core-
|
|
4
|
-
import { t as formatMatrixErrorMessage } from "./errors-
|
|
5
|
-
import { t as resolveMatrixRoomKeyBackupIssue } from "./backup-health-
|
|
6
|
-
import { i as setMatrixSdkLogMode, r as setMatrixSdkConsoleLogging } from "./logging-
|
|
7
|
-
import { n as withResolvedActionClient } from "./client-
|
|
8
|
-
import { u as resolveMatrixAuthContext } from "./shared-
|
|
9
|
-
import "./client-
|
|
10
|
-
import { i as formatZonedTimestamp } from "./runtime-api-
|
|
11
|
-
import { isOpenClawManagedMatrixDevice, summarizeMatrixDeviceHealth } from "./device-health-
|
|
12
|
-
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-
|
|
13
|
-
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-
|
|
1
|
+
import { c as resolveMatrixAccountConfig } from "./config-paths-ZBCMwSos.js";
|
|
2
|
+
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.js";
|
|
3
|
+
import { c as resolveMatrixConfigPath, g as resolveMatrixAccount, l as updateMatrixAccountConfig, n as matrixSetupAdapter } from "./setup-core-3cj9Xl8X.js";
|
|
4
|
+
import { t as formatMatrixErrorMessage } from "./errors-C47hvAF8.js";
|
|
5
|
+
import { t as resolveMatrixRoomKeyBackupIssue } from "./backup-health-Dm_YMVFT.js";
|
|
6
|
+
import { i as setMatrixSdkLogMode, r as setMatrixSdkConsoleLogging } from "./logging-BR-gcAjp.js";
|
|
7
|
+
import { n as withResolvedActionClient } from "./client-BUC2jCAX.js";
|
|
8
|
+
import { u as resolveMatrixAuthContext } from "./shared-CiCENm9L.js";
|
|
9
|
+
import "./client-BbuTUaZb.js";
|
|
10
|
+
import { i as formatZonedTimestamp } from "./runtime-api-CtNLoJ_E.js";
|
|
11
|
+
import { isOpenClawManagedMatrixDevice, summarizeMatrixDeviceHealth } from "./device-health-D4LBxuPq.js";
|
|
12
|
+
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-Rn6jH803.js";
|
|
13
|
+
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-0rKbLW-L.js";
|
|
14
14
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
15
15
|
//#region extensions/matrix/src/matrix/actions/devices.ts
|
|
16
16
|
async function listMatrixOwnDevices(opts = {}) {
|
|
@@ -37,11 +37,11 @@ let matrixCliExitScheduled = false;
|
|
|
37
37
|
let matrixActionClientModulePromise;
|
|
38
38
|
let matrixDirectManagementModulePromise;
|
|
39
39
|
function loadMatrixActionClientModule() {
|
|
40
|
-
matrixActionClientModulePromise ??= import("./client-
|
|
40
|
+
matrixActionClientModulePromise ??= import("./client-BUC2jCAX.js").then((n) => n.t);
|
|
41
41
|
return matrixActionClientModulePromise;
|
|
42
42
|
}
|
|
43
43
|
function loadMatrixDirectManagementModule() {
|
|
44
|
-
matrixDirectManagementModulePromise ??= import("./send-
|
|
44
|
+
matrixDirectManagementModulePromise ??= import("./send-DxmZAhzk.js").then((n) => n.d);
|
|
45
45
|
return matrixDirectManagementModulePromise;
|
|
46
46
|
}
|
|
47
47
|
function scheduleMatrixCliExit() {
|
|
@@ -207,7 +207,7 @@ async function addMatrixAccount(params) {
|
|
|
207
207
|
backupVersion: null
|
|
208
208
|
};
|
|
209
209
|
if (accountConfig.encryption === true) {
|
|
210
|
-
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-
|
|
210
|
+
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-DrbtSj86.js");
|
|
211
211
|
verificationBootstrap = await maybeBootstrapNewEncryptedMatrixAccount({
|
|
212
212
|
previousCfg: cfg,
|
|
213
213
|
cfg: updated,
|
|
@@ -2,7 +2,7 @@ import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
|
2
2
|
//#region extensions/matrix/src/cli-metadata.ts
|
|
3
3
|
function registerMatrixCliMetadata(api) {
|
|
4
4
|
api.registerCli(async ({ program }) => {
|
|
5
|
-
const { registerMatrixCli } = await import("./cli-
|
|
5
|
+
const { registerMatrixCli } = await import("./cli-9WDb7vD3.js");
|
|
6
6
|
registerMatrixCli({ program });
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "matrix",
|
package/dist/cli-metadata.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as registerMatrixCliMetadata, t as cli_metadata_default } from "./cli-metadata-
|
|
1
|
+
import { n as registerMatrixCliMetadata, t as cli_metadata_default } from "./cli-metadata-DkG8K_HZ.js";
|
|
2
2
|
export { cli_metadata_default as default, registerMatrixCliMetadata };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { u as resolveMatrixRoomId } from "./send-
|
|
3
|
-
import { n as withResolvedRuntimeMatrixClient } from "./client-bootstrap-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
+
import { u as resolveMatrixRoomId } from "./send-DxmZAhzk.js";
|
|
3
|
+
import { n as withResolvedRuntimeMatrixClient } from "./client-bootstrap-bDVMLctr.js";
|
|
4
4
|
//#region extensions/matrix/src/matrix/actions/client.ts
|
|
5
5
|
var client_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
withResolvedActionClient: () => withResolvedActionClient,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { t as getMatrixScopedEnvVarNames } from "./env-vars-
|
|
3
|
-
import { i as resolveScopedMatrixEnvConfig, r as resolveMatrixEnvAuthReadiness, t as hasReadyMatrixEnvAuth } from "./env-auth-
|
|
4
|
-
import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-
|
|
5
|
-
import { t as isBunRuntime } from "./runtime-
|
|
6
|
-
import { c as backfillMatrixAuthDeviceIdAfterStartup, d as resolveMatrixConfigForAccount, i as resolveSharedMatrixClient, l as resolveMatrixAuth, n as releaseSharedClientInstance, o as stopSharedClientForAccount, r as removeSharedClientInstance, s as stopSharedClientInstance, t as acquireSharedMatrixClient, u as resolveMatrixAuthContext } from "./shared-
|
|
7
|
-
import { t as createMatrixClient } from "./create-client-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
+
import { t as getMatrixScopedEnvVarNames } from "./env-vars-KzaYveuy.js";
|
|
3
|
+
import { i as resolveScopedMatrixEnvConfig, r as resolveMatrixEnvAuthReadiness, t as hasReadyMatrixEnvAuth } from "./env-auth-DIzOApj0.js";
|
|
4
|
+
import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-GRHde6lq.js";
|
|
5
|
+
import { t as isBunRuntime } from "./runtime-BefyhPWv.js";
|
|
6
|
+
import { c as backfillMatrixAuthDeviceIdAfterStartup, d as resolveMatrixConfigForAccount, i as resolveSharedMatrixClient, l as resolveMatrixAuth, n as releaseSharedClientInstance, o as stopSharedClientForAccount, r as removeSharedClientInstance, s as stopSharedClientInstance, t as acquireSharedMatrixClient, u as resolveMatrixAuthContext } from "./shared-CiCENm9L.js";
|
|
7
|
+
import { t as createMatrixClient } from "./create-client-Bt3o4spU.js";
|
|
8
8
|
//#region extensions/matrix/src/matrix/client.ts
|
|
9
9
|
var client_exports = /* @__PURE__ */ __exportAll({
|
|
10
10
|
acquireSharedMatrixClient: () => acquireSharedMatrixClient,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { t as getActiveMatrixClient } from "./active-client-
|
|
3
|
-
import { t as isBunRuntime } from "./runtime-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
+
import { t as getActiveMatrixClient } from "./active-client-DXvz2gCo.js";
|
|
3
|
+
import { t as isBunRuntime } from "./runtime-BefyhPWv.js";
|
|
4
4
|
import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
5
5
|
//#region extensions/matrix/src/matrix/client-bootstrap.ts
|
|
6
6
|
var client_bootstrap_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -10,7 +10,7 @@ var client_bootstrap_exports = /* @__PURE__ */ __exportAll({
|
|
|
10
10
|
});
|
|
11
11
|
let matrixSharedClientRuntimeDepsPromise;
|
|
12
12
|
async function loadMatrixSharedClientRuntimeDeps() {
|
|
13
|
-
matrixSharedClientRuntimeDepsPromise ??= Promise.all([import("./client-
|
|
13
|
+
matrixSharedClientRuntimeDepsPromise ??= Promise.all([import("./client-BbuTUaZb.js").then((n) => n.t), import("./shared-CiCENm9L.js").then((n) => n.a)]).then(([clientModule, sharedModule]) => ({
|
|
14
14
|
acquireSharedMatrixClient: clientModule.acquireSharedMatrixClient,
|
|
15
15
|
resolveMatrixAuthContext: clientModule.resolveMatrixAuthContext,
|
|
16
16
|
releaseSharedClientInstance: sharedModule.releaseSharedClientInstance
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveMatrixAccountConfig } from "./config-paths-
|
|
2
|
-
import { g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, p as listMatrixAccountIds } from "./setup-core-
|
|
1
|
+
import { c as resolveMatrixAccountConfig } from "./config-paths-ZBCMwSos.js";
|
|
2
|
+
import { g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, p as listMatrixAccountIds } from "./setup-core-3cj9Xl8X.js";
|
|
3
3
|
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1 } from "openclaw/plugin-sdk/account-id";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { adaptScopedAccountAccessor, createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
package/dist/contract-api.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as resetMatrixThreadBindingsForTests } from "./thread-bindings-shared-
|
|
2
|
-
import { r as setMatrixRuntime } from "./runtime-
|
|
3
|
-
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, n as matrixSetupAdapter, u as namedAccountPromotionKeys } from "./setup-core-
|
|
4
|
-
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-
|
|
5
|
-
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-
|
|
6
|
-
import { n as matrixOnboardingAdapter } from "./setup-surface-
|
|
7
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
1
|
+
import { s as resetMatrixThreadBindingsForTests } from "./thread-bindings-shared-CKnY4LSd.js";
|
|
2
|
+
import { r as setMatrixRuntime } from "./runtime-6S3DNFNv.js";
|
|
3
|
+
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, n as matrixSetupAdapter, u as namedAccountPromotionKeys } from "./setup-core-3cj9Xl8X.js";
|
|
4
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-D9oKDvsJ.js";
|
|
5
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-DTgQyQxc.js";
|
|
6
|
+
import { n as matrixOnboardingAdapter } from "./setup-surface-BQpdB86d.js";
|
|
7
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-J5zieZly.js";
|
|
8
8
|
export { collectRuntimeConfigAssignments, createMatrixThreadBindingManager, legacyConfigRules, matrixSetupAdapter, matrixOnboardingAdapter as matrixSetupWizard, namedAccountPromotionKeys, normalizeCompatibilityConfig, resetMatrixThreadBindingsForTests, resolveSingleAccountPromotionTarget, secretTargetRegistryEntries, setMatrixRuntime, singleAccountKeysToMove };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-
|
|
3
|
-
import { a as resolveMatrixStoragePaths, n as maybeMigrateLegacyStorage, o as writeStorageMeta } from "./storage-
|
|
4
|
-
import "./shared-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
+
import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-GRHde6lq.js";
|
|
3
|
+
import { a as resolveMatrixStoragePaths, n as maybeMigrateLegacyStorage, o as writeStorageMeta } from "./storage-onzulLbU.js";
|
|
4
|
+
import "./shared-CiCENm9L.js";
|
|
5
5
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
@@ -9,7 +9,7 @@ import { ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sd
|
|
|
9
9
|
var create_client_exports = /* @__PURE__ */ __exportAll({ createMatrixClient: () => createMatrixClient });
|
|
10
10
|
let matrixCreateClientRuntimeDepsPromise;
|
|
11
11
|
async function loadMatrixCreateClientRuntimeDeps() {
|
|
12
|
-
matrixCreateClientRuntimeDepsPromise ??= Promise.all([import("./sdk-
|
|
12
|
+
matrixCreateClientRuntimeDepsPromise ??= Promise.all([import("./sdk-DYgMrfU0.js").then((n) => n.n), import("./logging-BR-gcAjp.js").then((n) => n.n)]).then(([sdkModule, loggingModule]) => ({
|
|
13
13
|
MatrixClient: sdkModule.MatrixClient,
|
|
14
14
|
ensureMatrixSdkLoggingConfigured: loggingModule.ensureMatrixSdkLoggingConfigured
|
|
15
15
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as resolveMatrixCredentialsDir, i as loadMatrixCredentials, n as credentialsMatchConfig, o as resolveMatrixCredentialsPath, t as clearMatrixCredentials } from "./credentials-read-
|
|
2
|
-
import { t as createAsyncLock } from "./async-lock-
|
|
1
|
+
import { a as resolveMatrixCredentialsDir, i as loadMatrixCredentials, n as credentialsMatchConfig, o as resolveMatrixCredentialsPath, t as clearMatrixCredentials } from "./credentials-read-DySnJlLx.js";
|
|
2
|
+
import { t as createAsyncLock } from "./async-lock-BcLS4KOc.js";
|
|
3
3
|
import { writeJsonFileAtomically } from "openclaw/plugin-sdk/json-store";
|
|
4
4
|
//#region extensions/matrix/src/matrix/credentials.ts
|
|
5
5
|
const credentialWriteLocks = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { a as resolveMatrixDefaultOrOnlyAccountId, n as requiresExplicitMatrixDefaultAccount } from "./account-selection-
|
|
3
|
-
import { t as getMatrixRuntime } from "./runtime-
|
|
4
|
-
import { a as resolveMatrixCredentialsPath$1, r as resolveMatrixCredentialsDir$1 } from "./storage-paths-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
+
import { a as resolveMatrixDefaultOrOnlyAccountId, n as requiresExplicitMatrixDefaultAccount } from "./account-selection-C3arLOhC.js";
|
|
3
|
+
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.js";
|
|
4
|
+
import { a as resolveMatrixCredentialsPath$1, r as resolveMatrixCredentialsDir$1 } from "./storage-paths-BV2Z7bns.js";
|
|
5
5
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
package/dist/{credentials-write.runtime-DhPvBU-C.js → credentials-write.runtime-Ca2MN99y.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region extensions/matrix/src/matrix/credentials-write.runtime.ts
|
|
2
2
|
let matrixCredentialsRuntimePromise;
|
|
3
3
|
function loadMatrixCredentialsRuntime() {
|
|
4
|
-
matrixCredentialsRuntimePromise ??= import("./credentials-
|
|
4
|
+
matrixCredentialsRuntimePromise ??= import("./credentials-CDjQjIds.js");
|
|
5
5
|
return matrixCredentialsRuntimePromise;
|
|
6
6
|
}
|
|
7
7
|
async function saveMatrixCredentials(...args) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as formatMatrixErrorMessage } from "./errors-
|
|
2
|
-
import { t as ensureMatrixCryptoRuntime } from "./deps-
|
|
3
|
-
import { o as LogService, s as noop } from "./startup-abort-
|
|
4
|
-
import { i as MATRIX_IDB_SNAPSHOT_LOCK_OPTIONS, r as isRepairableSecretStorageAccessError } from "./sdk-
|
|
1
|
+
import { t as formatMatrixErrorMessage } from "./errors-C47hvAF8.js";
|
|
2
|
+
import { t as ensureMatrixCryptoRuntime } from "./deps-CAdiytPJ.js";
|
|
3
|
+
import { o as LogService, s as noop } from "./startup-abort-Bs0Up_Qx.js";
|
|
4
|
+
import { i as MATRIX_IDB_SNAPSHOT_LOCK_OPTIONS, r as isRepairableSecretStorageAccessError } from "./sdk-DYgMrfU0.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { MatrixEventEvent } from "matrix-js-sdk/lib/matrix.js";
|
|
@@ -290,7 +290,7 @@ var MatrixCryptoBootstrapper = class {
|
|
|
290
290
|
//#region extensions/matrix/src/matrix/sdk/crypto-facade.ts
|
|
291
291
|
let matrixCryptoNodeRuntimePromise = null;
|
|
292
292
|
async function loadMatrixCryptoNodeRuntime() {
|
|
293
|
-
matrixCryptoNodeRuntimePromise ??= import("./crypto-node.runtime-
|
|
293
|
+
matrixCryptoNodeRuntimePromise ??= import("./crypto-node.runtime-6Aj_ltHQ.js").catch((error) => {
|
|
294
294
|
matrixCryptoNodeRuntimePromise = null;
|
|
295
295
|
throw error;
|
|
296
296
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { n as normalizeMatrixMessagingTarget, t as isMatrixQualifiedUserId } from "./target-ids-
|
|
3
|
-
import { t as MatrixAuthedHttpClient } from "./http-client-
|
|
4
|
-
import { l as resolveMatrixAuth } from "./shared-
|
|
5
|
-
import "./client-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
+
import { n as normalizeMatrixMessagingTarget, t as isMatrixQualifiedUserId } from "./target-ids-B-5aQxwn.js";
|
|
3
|
+
import { t as MatrixAuthedHttpClient } from "./http-client-DJNugFzO.js";
|
|
4
|
+
import { l as resolveMatrixAuth } from "./shared-CiCENm9L.js";
|
|
5
|
+
import "./client-BbuTUaZb.js";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
//#region extensions/matrix/src/directory-live.ts
|
|
8
8
|
var directory_live_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as isRecord } from "./record-shared-
|
|
2
|
-
import "./doctor-contract-
|
|
3
|
-
import { i as autoPrepareLegacyMatrixCrypto, o as autoMigrateLegacyMatrixState, r as resolveMatrixMigrationStatus } from "./matrix-migration.runtime-
|
|
4
|
-
import { t as maybeCreateMatrixMigrationSnapshot } from "./migration-snapshot-backup-
|
|
1
|
+
import { t as isRecord } from "./record-shared-CvzjvHRn.js";
|
|
2
|
+
import "./doctor-contract-D9oKDvsJ.js";
|
|
3
|
+
import { i as autoPrepareLegacyMatrixCrypto, o as autoMigrateLegacyMatrixState, r as resolveMatrixMigrationStatus } from "./matrix-migration.runtime-BeJ2i3_e.js";
|
|
4
|
+
import { t as maybeCreateMatrixMigrationSnapshot } from "./migration-snapshot-backup-YcCrSjbE.js";
|
|
5
5
|
import { detectPluginInstallPathIssue, formatPluginInstallPathIssue, removePluginFromConfig } from "openclaw/plugin-sdk/runtime-doctor";
|
|
6
6
|
//#region extensions/matrix/src/doctor.ts
|
|
7
7
|
function hasConfiguredMatrixChannel(cfg) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as isRecord } from "./record-shared-
|
|
1
|
+
import { t as isRecord } from "./record-shared-CvzjvHRn.js";
|
|
2
2
|
import { hasLegacyFlatAllowPrivateNetworkAlias, migrateLegacyFlatAllowPrivateNetworkAlias } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
3
3
|
//#region extensions/matrix/src/doctor-contract.ts
|
|
4
4
|
function hasLegacyMatrixRoomAllowAlias(value) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-
|
|
1
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-D9oKDvsJ.js";
|
|
2
2
|
export { legacyConfigRules, normalizeCompatibilityConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as editMessageMatrix, r as prepareMatrixSingleText, s as sendSingleTextMessageMatrix, y as MsgType } from "./send-
|
|
1
|
+
import { n as editMessageMatrix, r as prepareMatrixSingleText, s as sendSingleTextMessageMatrix, y as MsgType } from "./send-DxmZAhzk.js";
|
|
2
2
|
import { createDraftStreamLoop } from "openclaw/plugin-sdk/channel-lifecycle";
|
|
3
3
|
//#region extensions/matrix/src/matrix/draft-stream.ts
|
|
4
4
|
const DEFAULT_THROTTLE_MS = 1e3;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as resolveMatrixDefaultOrOnlyAccountId } from "./account-selection-
|
|
2
|
-
import { t as resolveMatrixConfigFieldPath } from "./config-paths-
|
|
1
|
+
import { a as resolveMatrixDefaultOrOnlyAccountId } from "./account-selection-C3arLOhC.js";
|
|
2
|
+
import { t as resolveMatrixConfigFieldPath } from "./config-paths-ZBCMwSos.js";
|
|
3
3
|
import { normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
|
|
4
4
|
//#region extensions/matrix/src/matrix/encryption-guidance.ts
|
|
5
5
|
function resolveMatrixEncryptionConfigPath(cfg, accountId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as getMatrixScopedEnvVarNames } from "./env-vars-
|
|
1
|
+
import { t as getMatrixScopedEnvVarNames } from "./env-vars-KzaYveuy.js";
|
|
2
2
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
3
3
|
//#region extensions/matrix/src/matrix/client/env-auth.ts
|
|
4
4
|
function cleanEnv(value) {
|
package/dist/helper-api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./account-selection-
|
|
2
|
-
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./env-vars-
|
|
3
|
-
import { a as resolveMatrixCredentialsPath, c as resolveMatrixLegacyFlatStoreRoot, i as resolveMatrixCredentialsFilename, l as sanitizeMatrixPathSegment, n as resolveMatrixAccountStorageRoot, o as resolveMatrixHomeserverKey, r as resolveMatrixCredentialsDir, s as resolveMatrixLegacyFlatStoragePaths, t as hashMatrixAccessToken } from "./storage-paths-
|
|
1
|
+
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./account-selection-C3arLOhC.js";
|
|
2
|
+
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./env-vars-KzaYveuy.js";
|
|
3
|
+
import { a as resolveMatrixCredentialsPath, c as resolveMatrixLegacyFlatStoreRoot, i as resolveMatrixCredentialsFilename, l as sanitizeMatrixPathSegment, n as resolveMatrixAccountStorageRoot, o as resolveMatrixHomeserverKey, r as resolveMatrixCredentialsDir, s as resolveMatrixLegacyFlatStoragePaths, t as hashMatrixAccessToken } from "./storage-paths-BV2Z7bns.js";
|
|
4
4
|
export { findMatrixAccountEntry, getMatrixScopedEnvVarNames, hashMatrixAccessToken, listMatrixEnvAccountIds, requiresExplicitMatrixDefaultAccount, resolveConfiguredMatrixAccountIds, resolveMatrixAccountStorageRoot, resolveMatrixChannelConfig, resolveMatrixCredentialsDir, resolveMatrixCredentialsFilename, resolveMatrixCredentialsPath, resolveMatrixDefaultOrOnlyAccountId, resolveMatrixEnvAccountToken, resolveMatrixHomeserverKey, resolveMatrixLegacyFlatStoragePaths, resolveMatrixLegacyFlatStoreRoot, sanitizeMatrixPathSegment };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as buildTimeoutAbortSignal } from "./timeout-abort-signal-
|
|
1
|
+
import { t as buildTimeoutAbortSignal } from "./timeout-abort-signal-DMrgRFIy.js";
|
|
2
2
|
import { readResponseWithLimit } from "openclaw/plugin-sdk/response-limit-runtime";
|
|
3
3
|
import { fetchWithRuntimeDispatcherOrMockedGlobal } from "openclaw/plugin-sdk/runtime-fetch";
|
|
4
4
|
import { closeDispatcher, createPinnedDispatcher, resolvePinnedHostnameWithPolicy } from "openclaw/plugin-sdk/ssrf-dispatcher";
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as registerMatrixCliMetadata } from "./cli-metadata-
|
|
2
|
-
import { t as registerMatrixSubagentHooks } from "./subagent-hooks-api-
|
|
1
|
+
import { n as registerMatrixCliMetadata } from "./cli-metadata-DkG8K_HZ.js";
|
|
2
|
+
import { t as registerMatrixSubagentHooks } from "./subagent-hooks-api-bedE4GYl.js";
|
|
3
3
|
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
4
4
|
//#region extensions/matrix/index.ts
|
|
5
5
|
let matrixHandlersRuntimePromise = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getMatrixRuntime } from "./runtime-
|
|
2
|
-
import { a as resolveMatrixStoragePaths } from "./storage-
|
|
1
|
+
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.js";
|
|
2
|
+
import { a as resolveMatrixStoragePaths } from "./storage-onzulLbU.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { readJsonFileWithFallback, writeJsonFileAtomically } from "openclaw/plugin-sdk/json-store";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { a as ConsoleLogger, c as setMatrixConsoleLogging, o as LogService } from "./startup-abort-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
+
import { a as ConsoleLogger, c as setMatrixConsoleLogging, o as LogService } from "./startup-abort-Bs0Up_Qx.js";
|
|
3
3
|
import { logger } from "matrix-js-sdk/lib/logger.js";
|
|
4
4
|
//#region extensions/matrix/src/matrix/client/logging.ts
|
|
5
5
|
var logging_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, o as resolveMatrixAccountStringValues, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./account-selection-
|
|
2
|
-
import { i as resolveScopedMatrixEnvConfig, n as resolveGlobalMatrixEnvConfig } from "./env-auth-
|
|
3
|
-
import { a as resolveMatrixCredentialsPath, n as resolveMatrixAccountStorageRoot, s as resolveMatrixLegacyFlatStoragePaths } from "./storage-paths-
|
|
4
|
-
import { t as formatMatrixErrorMessage } from "./errors-
|
|
5
|
-
import "./migration-snapshot-backup-
|
|
1
|
+
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, o as resolveMatrixAccountStringValues, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./account-selection-C3arLOhC.js";
|
|
2
|
+
import { i as resolveScopedMatrixEnvConfig, n as resolveGlobalMatrixEnvConfig } from "./env-auth-DIzOApj0.js";
|
|
3
|
+
import { a as resolveMatrixCredentialsPath, n as resolveMatrixAccountStorageRoot, s as resolveMatrixLegacyFlatStoragePaths } from "./storage-paths-BV2Z7bns.js";
|
|
4
|
+
import { t as formatMatrixErrorMessage } from "./errors-C47hvAF8.js";
|
|
5
|
+
import "./migration-snapshot-backup-YcCrSjbE.js";
|
|
6
6
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
7
7
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -249,7 +249,7 @@ function isMatrixLegacyCryptoInspectorAvailable() {
|
|
|
249
249
|
//#region extensions/matrix/src/legacy-crypto.ts
|
|
250
250
|
const MATRIX_LEGACY_CRYPTO_INSPECTOR_UNAVAILABLE_MESSAGE = "Legacy Matrix encrypted state was detected, but the Matrix crypto inspector is unavailable.";
|
|
251
251
|
async function loadMatrixLegacyCryptoInspector() {
|
|
252
|
-
return (await import("./legacy-crypto-inspector-
|
|
252
|
+
return (await import("./legacy-crypto-inspector-FOIK8zmf.js")).inspectLegacyMatrixCryptoStore;
|
|
253
253
|
}
|
|
254
254
|
function detectLegacyBotSdkCryptoStore(cryptoRootDir) {
|
|
255
255
|
try {
|