@openclaw/matrix 2026.10.10 → 2026.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.setup/{account-selection-Co94mKNj.mjs → account-selection-BPFpdMIw.mjs} +1 -1
- package/dist/.setup/{approval-handler.runtime-DtNvJpfB.mjs → approval-handler.runtime-BvuXpzus.mjs} +4 -4
- package/dist/.setup/{channel-CNjJyBS_.mjs → channel-DYRabwmj.mjs} +11 -10
- package/dist/.setup/{channel.runtime-DaGbm27q.mjs → channel.runtime-C0VWk0Ch.mjs} +6 -6
- package/dist/.setup/{channel.setup-IjRB0ymg.mjs → channel.setup-Dp7V9AgV.mjs} +2 -2
- package/dist/.setup/{cli-metadata-rWmD_rzx.mjs → cli-metadata-DemZndyG.mjs} +1 -1
- package/dist/.setup/{cli-CuEJNM3c.mjs → cli-umlumhB6.mjs} +11 -11
- package/dist/.setup/{client-7eyTX0cu.mjs → client-BIsYqIzM.mjs} +8 -8
- package/dist/.setup/{client-CV0MkCZG.mjs → client-DL_aELCJ.mjs} +3 -3
- package/dist/.setup/{client-bootstrap-BjcmTmyR.mjs → client-bootstrap-kdsygurH.mjs} +1 -1
- package/dist/.setup/{create-client-C4Lnqs2C.mjs → create-client-BFkMM7SP.mjs} +5 -5
- package/dist/.setup/{credentials-B0vpXvcB.mjs → credentials-B3MlOOom.mjs} +1 -1
- package/dist/.setup/{credentials-read-WCQSEvI8.mjs → credentials-read-BOuCoy-p.mjs} +1 -1
- package/dist/.setup/{crypto-runtime-Crp1is7m.mjs → crypto-runtime-s3ogwLRO.mjs} +1 -1
- package/dist/.setup/{crypto-unsafe-state-doctor-Brv4bIyx.mjs → crypto-unsafe-state-doctor-ClzRgr8z.mjs} +1 -1
- package/dist/.setup/{device-health-DnKAXW1v.mjs → device-health-CmvwmCHB.mjs} +1 -1
- package/dist/.setup/{direct-management-DDaWVbQI.mjs → direct-management-BOYMqZJQ.mjs} +1 -1
- package/dist/.setup/{directory-live-B-csizuK.mjs → directory-live-tItssg9q.mjs} +2 -2
- package/dist/.setup/doctor-contract-GiXgCj7k.mjs +37 -0
- package/dist/.setup/{draft-stream-dmhBHufd.mjs → draft-stream-Buru5huX.mjs} +2 -2
- package/dist/.setup/{encryption-guidance-Cn6-Tlx0.mjs → encryption-guidance-CLloQ6H7.mjs} +1 -1
- package/dist/.setup/{exec-approvals-D7vv3AZS.mjs → exec-approvals-CWeSpE6V.mjs} +2 -2
- package/dist/.setup/{file-sync-store-q5KCV2Lp.mjs → file-sync-store-D1sEtAap.mjs} +2 -2
- package/dist/.setup/{logging-BLcaOSRD.mjs → logging-BWPjyW9s.mjs} +1 -1
- package/dist/.setup/{messages-BiHM0DM3.mjs → messages-Dt51OgyD.mjs} +2 -2
- package/dist/.setup/{monitor-CPwDgRFY.mjs → monitor-BrBbFO8h.mjs} +20 -20
- package/dist/.setup/{onboarding-DiVtpjNu.mjs → onboarding-QfFvgZ85.mjs} +5 -5
- package/dist/.setup/{outbound-DwP97VpQ.mjs → outbound-B8h2BwR2.mjs} +2 -2
- package/dist/.setup/{profile-update-DnNA9mEa.mjs → profile-update-DiXtw0NM.mjs} +2 -2
- package/dist/.setup/{reaction-events-ClY9h_FC.mjs → reaction-events-xTg2_wZJ.mjs} +4 -4
- package/dist/.setup/{resolve-targets-B8PAwHVS.mjs → resolve-targets-vlr765on.mjs} +2 -2
- package/dist/.setup/{room-info-T_PR_liR.mjs → room-info-BSvDbUmt.mjs} +3 -3
- package/dist/.setup/{doctor-contract-DybEjJcd.mjs → runtime-doctor-migrations-CSvRANPN.mjs} +12 -47
- package/dist/.setup/{sdk-Cj3ggJHG.mjs → sdk-BYR5_wri.mjs} +4 -4
- package/dist/.setup/{send-C1qeMQAy.mjs → send-BMe_VcxP.mjs} +3 -3
- package/dist/.setup/{setup-bootstrap-DDhwWvDs.mjs → setup-bootstrap-Ch6r7Szn.mjs} +2 -2
- package/dist/.setup/{setup-core-D2r4BivQ.mjs → setup-core-CRUekZa3.mjs} +4 -4
- package/dist/.setup/setup-plugin-api-BZPY4Dt2.mjs +2 -0
- package/dist/.setup/{startup-verification-B3LEbW33.mjs → startup-verification-Cv_NoW_O.mjs} +1 -1
- package/dist/.setup/{storage-CxN4jqKI.mjs → storage-B94yQdJy.mjs} +11 -4
- package/dist/.setup/{sync-cache-state-qYrd2EEh.mjs → sync-cache-state-B-FayxeA.mjs} +5 -3
- package/dist/.setup/{thread-bindings-D2ZR6mEZ.mjs → thread-bindings-CB-jqrf4.mjs} +2 -2
- package/dist/.setup/{tool-actions-CdKa0DC4.mjs → tool-actions-DjPJ6tpr.mjs} +9 -9
- package/dist/.setup/{verification-jP3tm-xD.mjs → verification-BqjyjLoq.mjs} +3 -3
- package/dist/.source-module-urls/1cd4d4ff8d44e1c8b830932b44d7cf8a7f3350e09e169910e1d7a85e131b7bea.json +1 -1
- package/dist/api.js +5 -5
- 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 +43 -12
- package/dist/helper-api.js +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin-entry.handlers.runtime.js +2 -2
- package/dist/runtime-api.js +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/setup-entry.js +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/package.json +4 -4
- package/dist/.setup/setup-plugin-api-SO1hdrsT.mjs +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { n as listMatrixEnvAccountIds, t as getMatrixScopedEnvVarNames } from "./env-vars-Bh1iOXJ1.mjs";
|
|
3
3
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId, normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
|
|
4
4
|
import { isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
package/dist/.setup/{approval-handler.runtime-DtNvJpfB.mjs → approval-handler.runtime-BvuXpzus.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
2
|
-
import { r as isMatrixAnyApprovalClientEnabled, s as shouldHandleMatrixApprovalRequest } from "./exec-approvals-
|
|
2
|
+
import { r as isMatrixAnyApprovalClientEnabled, s as shouldHandleMatrixApprovalRequest } from "./exec-approvals-CWeSpE6V.mjs";
|
|
3
3
|
import { s as resolveMatrixTargetIdentity } from "./target-ids-DltG_ZHJ.mjs";
|
|
4
|
-
import { a as repairMatrixDirectRooms } from "./direct-management-
|
|
5
|
-
import { a as sendSingleTextMessageMatrix, n as reactMatrixMessage, r as sendMessageMatrix } from "./send-
|
|
4
|
+
import { a as repairMatrixDirectRooms } from "./direct-management-BOYMqZJQ.mjs";
|
|
5
|
+
import { a as sendSingleTextMessageMatrix, n as reactMatrixMessage, r as sendMessageMatrix } from "./send-BMe_VcxP.mjs";
|
|
6
6
|
import { a as unregisterMatrixApprovalReactionTarget, n as listMatrixApprovalReactionBindings, r as registerMatrixApprovalReactionTarget, t as buildMatrixApprovalReactionHint } from "./approval-reactions-DMDBJos0.mjs";
|
|
7
|
-
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-
|
|
7
|
+
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-Dt51OgyD.mjs";
|
|
8
8
|
import { listMessageReceiptPlatformIds, resolveMessageReceiptPrimaryId } from "openclaw/plugin-sdk/channel-outbound";
|
|
9
9
|
import { normalizeStringifiedOptionalString, normalizeUniqueStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
10
|
import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, r as hasImplicitMatrixAccountConfig } from "./account-selection-
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
+
import { i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, r as hasImplicitMatrixAccountConfig } from "./account-selection-BPFpdMIw.mjs";
|
|
3
3
|
import { a as resolveMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
4
|
-
import { _ as resolveMatrixAccount, g as resolveDefaultMatrixAccountId, m as listMatrixAccountIds, v as resolveMatrixAccountAsync } from "./setup-core-
|
|
5
|
-
import { i as normalizeMatrixUserId, t as matrixPluginBase } from "./channel.setup-
|
|
6
|
-
import { a as isMatrixExecApprovalAuthorizedSender, c as shouldSuppressLocalMatrixExecApprovalPrompt, d as normalizeMatrixApproverId, i as isMatrixApprovalClientEnabled, l as getMatrixApprovalAuthApprovers, n as getMatrixExecApprovalApprovers, o as resolveMatrixExecApprovalTarget, r as isMatrixAnyApprovalClientEnabled, s as shouldHandleMatrixApprovalRequest, t as getMatrixApprovalApprovers, u as matrixApprovalAuth } from "./exec-approvals-
|
|
4
|
+
import { _ as resolveMatrixAccount, g as resolveDefaultMatrixAccountId, m as listMatrixAccountIds, v as resolveMatrixAccountAsync } from "./setup-core-CRUekZa3.mjs";
|
|
5
|
+
import { i as normalizeMatrixUserId, t as matrixPluginBase } from "./channel.setup-Dp7V9AgV.mjs";
|
|
6
|
+
import { a as isMatrixExecApprovalAuthorizedSender, c as shouldSuppressLocalMatrixExecApprovalPrompt, d as normalizeMatrixApproverId, i as isMatrixApprovalClientEnabled, l as getMatrixApprovalAuthApprovers, n as getMatrixExecApprovalApprovers, o as resolveMatrixExecApprovalTarget, r as isMatrixAnyApprovalClientEnabled, s as shouldHandleMatrixApprovalRequest, t as getMatrixApprovalApprovers, u as matrixApprovalAuth } from "./exec-approvals-CWeSpE6V.mjs";
|
|
7
7
|
import { a as normalizeMatrixResolvableTarget, i as normalizeMatrixMessagingTarget, n as isMatrixQualifiedUserId, o as resolveMatrixDirectUserId, r as isMatrixRoomId, s as resolveMatrixTargetIdentity } from "./target-ids-DltG_ZHJ.mjs";
|
|
8
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-GiXgCj7k.mjs";
|
|
8
9
|
import { f as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync } from "./thread-bindings-shared-FMu_szTm.mjs";
|
|
9
10
|
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-AKnr45nw.mjs";
|
|
10
11
|
import { n as resolveMatrixInboundConversation, t as defaultTopLevelPlacement } from "./thread-binding-api-OtSciHmZ.mjs";
|
|
@@ -154,7 +155,7 @@ const matrixMessageActions = {
|
|
|
154
155
|
return account.enabled && account.configured && createActionGate(account.config.actions)("messages") ? payload : null;
|
|
155
156
|
},
|
|
156
157
|
handleAction: async (ctx) => {
|
|
157
|
-
const { handleMatrixAction } = await import("./tool-actions-
|
|
158
|
+
const { handleMatrixAction } = await import("./tool-actions-DjPJ6tpr.mjs");
|
|
158
159
|
return await handleMatrixAction(ctx);
|
|
159
160
|
}
|
|
160
161
|
};
|
|
@@ -285,7 +286,7 @@ const matrixNativeApprovalCapability = createApproverRestrictedNativeApprovalCap
|
|
|
285
286
|
],
|
|
286
287
|
isConfigured: isMatrixAnyApprovalClientEnabled,
|
|
287
288
|
shouldHandle: shouldHandleMatrixApprovalRequest,
|
|
288
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
289
|
+
load: async () => (await import("./approval-handler.runtime-BvuXpzus.mjs")).matrixApprovalNativeRuntime
|
|
289
290
|
})
|
|
290
291
|
});
|
|
291
292
|
const splitMatrixApprovalCapability = splitChannelApprovalCapability(matrixNativeApprovalCapability);
|
|
@@ -624,7 +625,7 @@ const matrixPresentationCapabilities = {
|
|
|
624
625
|
} }
|
|
625
626
|
};
|
|
626
627
|
// extensions/matrix/src/resolver.ts
|
|
627
|
-
const loadMatrixResolver = createLazyRuntimeNamedExport(() => import("./resolve-targets-
|
|
628
|
+
const loadMatrixResolver = createLazyRuntimeNamedExport(() => import("./resolve-targets-vlr765on.mjs").then((n) => n.n), "resolveMatrixTargets");
|
|
628
629
|
const matrixResolverAdapter = { resolveTargets: async (params) => (await loadMatrixResolver())(params) };
|
|
629
630
|
// extensions/matrix/src/matrix/session-store-metadata.ts
|
|
630
631
|
function resolveMatrixRoomTargetId(value) {
|
|
@@ -733,8 +734,8 @@ async function resolveMatrixOutboundSessionRoute(params) {
|
|
|
733
734
|
});
|
|
734
735
|
}
|
|
735
736
|
// extensions/matrix/src/channel.ts
|
|
736
|
-
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
737
|
-
const loadMatrixMonitorModule = createLazyRuntimeModule(() => import("./monitor-
|
|
737
|
+
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-C0VWk0Ch.mjs"), "matrixChannelRuntime");
|
|
738
|
+
const loadMatrixMonitorModule = createLazyRuntimeModule(() => import("./monitor-BrBbFO8h.mjs").catch((error) => {
|
|
738
739
|
loadMatrixMonitorModule.clear();
|
|
739
740
|
throw error;
|
|
740
741
|
}));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { S as reconcileMatrixUnknownSend, o as sendTypingMatrix, r as sendMessageMatrix, x as cleanupMatrixDeliveryPlans } from "./send-
|
|
2
|
-
import { u as resolveMatrixAuth } from "./client-
|
|
3
|
-
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-
|
|
4
|
-
import { t as matrixOutbound } from "./outbound-
|
|
5
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
1
|
+
import { S as reconcileMatrixUnknownSend, o as sendTypingMatrix, r as sendMessageMatrix, x as cleanupMatrixDeliveryPlans } from "./send-BMe_VcxP.mjs";
|
|
2
|
+
import { u as resolveMatrixAuth } from "./client-BIsYqIzM.mjs";
|
|
3
|
+
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-tItssg9q.mjs";
|
|
4
|
+
import { t as matrixOutbound } from "./outbound-B8h2BwR2.mjs";
|
|
5
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-vlr765on.mjs";
|
|
6
6
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
7
7
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
8
8
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { runChannelProbe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
10
10
|
// extensions/matrix/src/matrix/probe.ts
|
|
11
|
-
const loadMatrixProbeRuntimeDeps = createLazyRuntimeModule(() => import("./client-
|
|
11
|
+
const loadMatrixProbeRuntimeDeps = createLazyRuntimeModule(() => import("./client-BIsYqIzM.mjs").then((n) => n.t));
|
|
12
12
|
async function probeMatrix(params) {
|
|
13
13
|
return await runChannelProbe(void 0, async () => {
|
|
14
14
|
const result = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
2
|
-
import { _ as resolveMatrixAccount, g as resolveDefaultMatrixAccountId, i as matrixSetupContract, m as listMatrixAccountIds, t as createMatrixSetupWizardProxy, v as resolveMatrixAccountAsync } from "./setup-core-
|
|
2
|
+
import { _ as resolveMatrixAccount, g as resolveDefaultMatrixAccountId, i as matrixSetupContract, m as listMatrixAccountIds, t as createMatrixSetupWizardProxy, v as resolveMatrixAccountAsync } from "./setup-core-CRUekZa3.mjs";
|
|
3
3
|
import { adaptScopedAccountAccessor, createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
4
4
|
import { createChannelConfigUiHints } from "openclaw/plugin-sdk/channel-core";
|
|
5
5
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -312,7 +312,7 @@ const matrixPluginBase = {
|
|
|
312
312
|
order: 70,
|
|
313
313
|
quickstartAllowFrom: true
|
|
314
314
|
},
|
|
315
|
-
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./onboarding-
|
|
315
|
+
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./onboarding-QfFvgZ85.mjs").then((n) => n.n)).matrixOnboardingAdapter })),
|
|
316
316
|
setupContract: matrixSetupContract,
|
|
317
317
|
capabilities: {
|
|
318
318
|
chatTypes: [
|
|
@@ -2,7 +2,7 @@ import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
|
2
2
|
// 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-umlumhB6.mjs");
|
|
6
6
|
registerMatrixCli({ program });
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "matrix",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
2
2
|
import { a as resolveMatrixAccountConfig, n as hasExplicitMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
3
3
|
import { l as sanitizeMatrixPathSegment } from "./storage-paths-e_Vq6cvw.mjs";
|
|
4
|
-
import { p as updateMatrixAccountConfig, r as matrixSetupAdapter, v as resolveMatrixAccountAsync } from "./setup-core-
|
|
4
|
+
import { p as updateMatrixAccountConfig, r as matrixSetupAdapter, v as resolveMatrixAccountAsync } from "./setup-core-CRUekZa3.mjs";
|
|
5
5
|
import { n as resolveMatrixConfigPath } from "./config-paths-DBpHxDyc.mjs";
|
|
6
|
-
import { d as resolveMatrixAuthContext } from "./client-
|
|
7
|
-
import { n as withResolvedActionClient } from "./client-
|
|
6
|
+
import { d as resolveMatrixAuthContext } from "./client-BIsYqIzM.mjs";
|
|
7
|
+
import { n as withResolvedActionClient } from "./client-DL_aELCJ.mjs";
|
|
8
8
|
import { t as resolveMatrixRoomKeyBackupIssue } from "./backup-health-BxH69np2.mjs";
|
|
9
9
|
import { i as setMatrixConsoleLogging } from "./logger-BX5kXvh1.mjs";
|
|
10
|
-
import { r as setMatrixSdkLogMode } from "./logging-
|
|
11
|
-
import { n as isOpenClawManagedMatrixDevice, r as summarizeMatrixDeviceHealth } from "./device-health-
|
|
12
|
-
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-
|
|
13
|
-
import { n as listMatrixCryptoUnsafeState, r as recoverMatrixCryptoUnsafeState } from "./crypto-unsafe-state-doctor-
|
|
14
|
-
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-
|
|
10
|
+
import { r as setMatrixSdkLogMode } from "./logging-BWPjyW9s.mjs";
|
|
11
|
+
import { n as isOpenClawManagedMatrixDevice, r as summarizeMatrixDeviceHealth } from "./device-health-CmvwmCHB.mjs";
|
|
12
|
+
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-DiXtw0NM.mjs";
|
|
13
|
+
import { n as listMatrixCryptoUnsafeState, r as recoverMatrixCryptoUnsafeState } from "./crypto-unsafe-state-doctor-ClzRgr8z.mjs";
|
|
14
|
+
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-BqjyjLoq.mjs";
|
|
15
15
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
16
16
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
17
17
|
import path from "node:path";
|
|
@@ -403,7 +403,7 @@ async function addMatrixAccount(params) {
|
|
|
403
403
|
backupVersion: null
|
|
404
404
|
};
|
|
405
405
|
if (accountConfig.encryption === true) {
|
|
406
|
-
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-
|
|
406
|
+
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-Ch6r7Szn.mjs");
|
|
407
407
|
verificationBootstrap = await maybeBootstrapNewEncryptedMatrixAccount({
|
|
408
408
|
previousCfg: cfg,
|
|
409
409
|
cfg: updated,
|
|
@@ -591,7 +591,7 @@ function printDirectRoomInspection(result) {
|
|
|
591
591
|
}
|
|
592
592
|
async function inspectMatrixDirectRoom(params) {
|
|
593
593
|
const cfg = getMatrixRuntime().config.current();
|
|
594
|
-
const [{ withResolvedActionClient }, { inspectMatrixDirectRooms }] = await Promise.all([import("./client-
|
|
594
|
+
const [{ withResolvedActionClient }, { inspectMatrixDirectRooms }] = await Promise.all([import("./client-DL_aELCJ.mjs").then((n) => n.t), import("./direct-management-BOYMqZJQ.mjs").then((n) => n.t)]);
|
|
595
595
|
return await withResolvedActionClient({
|
|
596
596
|
accountId: params.accountId,
|
|
597
597
|
cfg
|
|
@@ -609,7 +609,7 @@ async function repairMatrixDirectRoom(params) {
|
|
|
609
609
|
cfg,
|
|
610
610
|
accountId: params.accountId
|
|
611
611
|
});
|
|
612
|
-
const [{ withStartedActionClient }, { repairMatrixDirectRooms }] = await Promise.all([import("./client-
|
|
612
|
+
const [{ withStartedActionClient }, { repairMatrixDirectRooms }] = await Promise.all([import("./client-DL_aELCJ.mjs").then((n) => n.t), import("./direct-management-BOYMqZJQ.mjs").then((n) => n.t)]);
|
|
613
613
|
return await withStartedActionClient({
|
|
614
614
|
accountId: params.accountId,
|
|
615
615
|
cfg
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { n as getMatrixRuntimeLifecycle } from "./runtime-Ck8TjD7L.mjs";
|
|
3
|
-
import { c as hasReadyMatrixEnvAuth, d as resolveScopedMatrixEnvConfig, f as resolveMatrixAccountStringValues, i as requiresExplicitMatrixDefaultAccount, l as resolveGlobalMatrixEnvConfig, s as resolveMatrixDefaultOrOnlyAccountId, u as resolveMatrixEnvAuthReadiness } from "./account-selection-
|
|
3
|
+
import { c as hasReadyMatrixEnvAuth, d as resolveScopedMatrixEnvConfig, f as resolveMatrixAccountStringValues, i as requiresExplicitMatrixDefaultAccount, l as resolveGlobalMatrixEnvConfig, s as resolveMatrixDefaultOrOnlyAccountId, u as resolveMatrixEnvAuthReadiness } from "./account-selection-BPFpdMIw.mjs";
|
|
4
4
|
import { t as getMatrixScopedEnvVarNames } from "./env-vars-Bh1iOXJ1.mjs";
|
|
5
5
|
import { o as resolveMatrixBaseConfig, r as listNormalizedMatrixAccountIds, t as findMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
6
6
|
import { t as resolveMatrixConfigFieldPath } from "./config-paths-DBpHxDyc.mjs";
|
|
7
7
|
import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-C77p4qT9.mjs";
|
|
8
|
-
import { i as repairCurrentTokenStorageMetaDeviceId } from "./storage-
|
|
8
|
+
import { i as repairCurrentTokenStorageMetaDeviceId } from "./storage-B94yQdJy.mjs";
|
|
9
9
|
import { createLazyRuntimeMethod, createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
10
10
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId, normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
|
|
11
11
|
import { formatErrorMessage, toErrorObject, toStringifiedError } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -21,7 +21,7 @@ import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
|
|
21
21
|
import { resolveGlobalSingleton } from "openclaw/plugin-sdk/global-singleton";
|
|
22
22
|
import { racePromiseWithAbortSignal, raceWithTimeout } from "openclaw/plugin-sdk/time-runtime";
|
|
23
23
|
// extensions/matrix/src/matrix/client/auth-request.ts
|
|
24
|
-
const loadMatrixAuthClientDeps = createLazyRuntimeModule(() => Promise.all([import("./sdk-
|
|
24
|
+
const loadMatrixAuthClientDeps = createLazyRuntimeModule(() => Promise.all([import("./sdk-BYR5_wri.mjs").then((n) => n.t), import("./logging-BWPjyW9s.mjs").then((n) => n.n)]).then(([sdkModule, loggingModule]) => ({
|
|
25
25
|
MatrixClient: sdkModule.MatrixClient,
|
|
26
26
|
ensureMatrixSdkLoggingConfigured: loggingModule.ensureMatrixSdkLoggingConfigured
|
|
27
27
|
})));
|
|
@@ -89,8 +89,8 @@ async function fetchMatrixWhoamiIdentity(params) {
|
|
|
89
89
|
return outcome.value;
|
|
90
90
|
}
|
|
91
91
|
// extensions/matrix/src/matrix/client/config.ts
|
|
92
|
-
const loadMatrixCredentialsReadDeps = createLazyRuntimeModule(() => import("./credentials-read-
|
|
93
|
-
const loadMatrixCredentialsWriteRuntime = createLazyRuntimeModule(() => import("./credentials-
|
|
92
|
+
const loadMatrixCredentialsReadDeps = createLazyRuntimeModule(() => import("./credentials-read-BOuCoy-p.mjs").then((n) => n.i));
|
|
93
|
+
const loadMatrixCredentialsWriteRuntime = createLazyRuntimeModule(() => import("./credentials-B3MlOOom.mjs"));
|
|
94
94
|
const loadMatrixSecretInputDeps = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/secret-input-runtime"));
|
|
95
95
|
function credentialsMatchBackfillAuthLineage(params) {
|
|
96
96
|
if (!params.stored) return true;
|
|
@@ -519,7 +519,7 @@ async function awaitMatrixStartupWithAbort(promise, abortSignal) {
|
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
// extensions/matrix/src/matrix/client/shared.ts
|
|
522
|
-
const loadMatrixCreateClientDeps = createLazyRuntimeModule(() => import("./create-client-
|
|
522
|
+
const loadMatrixCreateClientDeps = createLazyRuntimeModule(() => import("./create-client-BFkMM7SP.mjs"));
|
|
523
523
|
const MATRIX_RETIREMENT_DRAIN_TIMEOUT_MS = 5e3;
|
|
524
524
|
const sharedClientRegistry = resolveGlobalSingleton(Symbol.for("openclaw.matrix.shared-client-registry"), () => ({
|
|
525
525
|
states: /* @__PURE__ */ new Map(),
|
|
@@ -850,6 +850,6 @@ var client_exports = /* @__PURE__ */ __exportAll({
|
|
|
850
850
|
stopSharedClientForAccount: () => stopSharedClientForAccount,
|
|
851
851
|
validateMatrixHomeserverUrl: () => validateMatrixHomeserverUrl
|
|
852
852
|
});
|
|
853
|
-
const loadMatrixClientRuntime = createLazyRuntimeModule(() => import("./create-client-
|
|
853
|
+
const loadMatrixClientRuntime = createLazyRuntimeModule(() => import("./create-client-BFkMM7SP.mjs"));
|
|
854
854
|
const createMatrixClient = createLazyRuntimeMethod(loadMatrixClientRuntime, (runtime) => runtime.createMatrixClient);
|
|
855
855
|
export { isMatrixStartupAbortError as a, getMatrixMonitorTaskSignal as c, resolveMatrixAuthContext as d, createMatrixStartupAbortError as i, backfillMatrixAuthDeviceIdAfterStartup as l, acquireSharedMatrixClient as n, throwIfMatrixStartupAborted as o, awaitMatrixStartupWithAbort as r, createMatrixMonitorTaskRunner as s, client_exports as t, resolveMatrixAuth as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as resolveMatrixRoomId } from "./send-
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
+
import { C as resolveMatrixRoomId } from "./send-BMe_VcxP.mjs";
|
|
3
3
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
4
4
|
// extensions/matrix/src/matrix/actions/client.ts
|
|
5
5
|
var client_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -7,7 +7,7 @@ var client_exports = /* @__PURE__ */ __exportAll({
|
|
|
7
7
|
withResolvedRoomAction: () => withResolvedRoomAction,
|
|
8
8
|
withStartedActionClient: () => withStartedActionClient
|
|
9
9
|
});
|
|
10
|
-
const loadMatrixActionClientRuntime = createLazyRuntimeModule(() => import("./client-bootstrap-
|
|
10
|
+
const loadMatrixActionClientRuntime = createLazyRuntimeModule(() => import("./client-bootstrap-kdsygurH.mjs"));
|
|
11
11
|
async function withResolvedActionClient(opts, run, mode = "persist") {
|
|
12
12
|
const { withResolvedRuntimeMatrixClient } = await loadMatrixActionClientRuntime();
|
|
13
13
|
return await withResolvedRuntimeMatrixClient(opts, run, mode);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
2
2
|
import { captureChannelReadAuthority } from "openclaw/plugin-sdk/fetch-runtime";
|
|
3
3
|
// extensions/matrix/src/matrix/client-bootstrap.ts
|
|
4
|
-
const loadMatrixSharedClientRuntimeDeps = createLazyRuntimeModule(() => import("./client-
|
|
4
|
+
const loadMatrixSharedClientRuntimeDeps = createLazyRuntimeModule(() => import("./client-BIsYqIzM.mjs").then((n) => n.t));
|
|
5
5
|
async function ensureResolvedClientReadiness(params) {
|
|
6
6
|
if (params.readiness === "started") {
|
|
7
7
|
if (params.lease) await params.lease.start();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
2
2
|
import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-C77p4qT9.mjs";
|
|
3
|
-
import { n as maybeMigrateLegacyStorage, o as resolveMatrixStoragePaths, s as writeStorageMeta } from "./storage-
|
|
4
|
-
import "./client-
|
|
3
|
+
import { n as maybeMigrateLegacyStorage, o as resolveMatrixStoragePaths, s as writeStorageMeta } from "./storage-B94yQdJy.mjs";
|
|
4
|
+
import "./client-BIsYqIzM.mjs";
|
|
5
5
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
6
6
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
// extensions/matrix/src/matrix/client/create-client.ts
|
|
10
10
|
const loadMatrixCreateClientRuntimeDeps = createLazyRuntimeModule(() => Promise.all([
|
|
11
|
-
import("./sdk-
|
|
12
|
-
import("./logging-
|
|
13
|
-
import("./file-sync-store-
|
|
11
|
+
import("./sdk-BYR5_wri.mjs").then((n) => n.t),
|
|
12
|
+
import("./logging-BWPjyW9s.mjs").then((n) => n.n),
|
|
13
|
+
import("./file-sync-store-D1sEtAap.mjs")
|
|
14
14
|
]).then(([sdkModule, loggingModule, syncStoreModule]) => ({
|
|
15
15
|
MatrixClient: sdkModule.MatrixClient,
|
|
16
16
|
SqliteBackedMatrixSyncStore: syncStoreModule.SqliteBackedMatrixSyncStore,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as normalizeMatrixStoredCredentials, n as isMatrixCredentialRevocation, r as matrixCredentialsStoreKey } from "./credentials-state-jxq29yQw.mjs";
|
|
2
2
|
import { i as resolveMatrixCredentialsDir, o as resolveMatrixCredentialsPath } from "./storage-paths-e_Vq6cvw.mjs";
|
|
3
|
-
import { a as loadMatrixCredentials, n as clearMatrixCredentials, r as credentialsMatchConfig, s as openMatrixCredentialsAsyncStore } from "./credentials-read-
|
|
3
|
+
import { a as loadMatrixCredentials, n as clearMatrixCredentials, r as credentialsMatchConfig, s as openMatrixCredentialsAsyncStore } from "./credentials-read-BOuCoy-p.mjs";
|
|
4
4
|
import { c as updateMatrixKeyedState } from "./retired-state-vIr2IB90.mjs";
|
|
5
5
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
6
6
|
// extensions/matrix/src/matrix/credentials.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { r as getOptionalMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
3
3
|
import { i as normalizeMatrixStoredCredentials, r as matrixCredentialsStoreKey, t as MATRIX_CREDENTIALS_NAMESPACE } from "./credentials-state-jxq29yQw.mjs";
|
|
4
4
|
import { i as resolveMatrixCredentialsDir, o as resolveMatrixCredentialsPath } from "./storage-paths-e_Vq6cvw.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ensureMatrixCryptoRuntime } from "./deps-O7rEnklr.mjs";
|
|
2
2
|
import { r as noop, t as LogService } from "./logger-BX5kXvh1.mjs";
|
|
3
|
-
import { a as isRepairableSecretStorageAccessError, i as trustMatrixOwnIdentity, n as isMatrixDeviceOwnerVerified, r as isMatrixDeviceVerifiedInCurrentClient } from "./sdk-
|
|
3
|
+
import { a as isRepairableSecretStorageAccessError, i as trustMatrixOwnIdentity, n as isMatrixDeviceOwnerVerified, r as isMatrixDeviceVerifiedInCurrentClient } from "./sdk-BYR5_wri.mjs";
|
|
4
4
|
import { persistIdbToDisk, resolveDefaultIdbSnapshotPath, restoreIdbFromDisk } from "./idb-persistence-BF0MZglD.mjs";
|
|
5
5
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
6
6
|
import { formatErrorMessage, toStringifiedError } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
3
3
|
import { r as readMatrixIdbSnapshotJson, t as MATRIX_IDB_SNAPSHOT_FILENAME } from "./crypto-state-store-CM57gchf.mjs";
|
|
4
4
|
import { t as walkMatrixStateFiles } from "./state-layout-walk-BqCZTHpp.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
// extensions/matrix/src/matrix/device-health.ts
|
|
3
3
|
var device_health_exports = /* @__PURE__ */ __exportAll({
|
|
4
4
|
isOpenClawManagedMatrixDevice: () => isOpenClawManagedMatrixDevice,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { n as isMatrixQualifiedUserId } from "./target-ids-DltG_ZHJ.mjs";
|
|
3
3
|
import { a as MATRIX_REACTION_EVENT_TYPE, i as MATRIX_ANNOTATION_RELATION_TYPE } from "./send-currentness-CAUVR-f3.mjs";
|
|
4
4
|
import { asOptionalRecord, normalizeNullableString, normalizeOptionalString, normalizeTrimmedStringList, normalizeUniqueTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { i as normalizeMatrixMessagingTarget, n as isMatrixQualifiedUserId } from "./target-ids-DltG_ZHJ.mjs";
|
|
3
|
-
import { u as resolveMatrixAuth } from "./client-
|
|
3
|
+
import { u as resolveMatrixAuth } from "./client-BIsYqIzM.mjs";
|
|
4
4
|
import { t as MatrixAuthedHttpClient } from "./http-client-CxTmU1kT.mjs";
|
|
5
5
|
import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
// extensions/matrix/src/directory-live.ts
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t as runtime_doctor_migrations_exports } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
+
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
|
+
// extensions/matrix/src/doctor-contract.ts
|
|
4
|
+
function parseMatrixStreamingMode(value) {
|
|
5
|
+
if (typeof value !== "string") return null;
|
|
6
|
+
const normalized = value.trim().toLowerCase();
|
|
7
|
+
return normalized === "partial" || normalized === "quiet" || normalized === "progress" || normalized === "off" ? normalized : null;
|
|
8
|
+
}
|
|
9
|
+
const streamingAliasMigration = (0, runtime_doctor_migrations_exports.defineChannelAliasMigration)({
|
|
10
|
+
channelId: "matrix",
|
|
11
|
+
streaming: {
|
|
12
|
+
defaultMode: "off",
|
|
13
|
+
resolveMode: (entry) => {
|
|
14
|
+
const streaming = isRecord(entry.streaming) ? entry.streaming : null;
|
|
15
|
+
const parsed = parseMatrixStreamingMode(streaming ? streaming.mode : entry.streaming);
|
|
16
|
+
if (parsed) return parsed;
|
|
17
|
+
return entry.streaming === true ? "partial" : "off";
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
accountStreamingReplacesRoot: true
|
|
21
|
+
});
|
|
22
|
+
const legacyConfigRules = streamingAliasMigration.legacyConfigRules;
|
|
23
|
+
function normalizeCompatibilityConfig({ cfg }) {
|
|
24
|
+
const changes = [];
|
|
25
|
+
const withoutJunkStreamMode = (0, runtime_doctor_migrations_exports.stripRetiredChannelKeys)({
|
|
26
|
+
cfg,
|
|
27
|
+
channelId: "matrix",
|
|
28
|
+
keys: /* @__PURE__ */ new Set(["streamMode"]),
|
|
29
|
+
scope: "root-and-accounts",
|
|
30
|
+
onRemove: ({ key, pathPrefix }) => changes.push(`Removed ${pathPrefix}.${key} (never read by the Matrix runtime).`)
|
|
31
|
+
}).config;
|
|
32
|
+
return streamingAliasMigration.normalizeChannelConfig({
|
|
33
|
+
cfg: withoutJunkStreamMode,
|
|
34
|
+
changes
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as MsgType } from "./direct-management-
|
|
2
|
-
import { a as sendSingleTextMessageMatrix, f as prepareMatrixSingleText, t as editMessageMatrix } from "./send-
|
|
1
|
+
import { _ as MsgType } from "./direct-management-BOYMqZJQ.mjs";
|
|
2
|
+
import { a as sendSingleTextMessageMatrix, f as prepareMatrixSingleText, t as editMessageMatrix } from "./send-BMe_VcxP.mjs";
|
|
3
3
|
import { createFinalizableDraftLifecycle } from "openclaw/plugin-sdk/channel-outbound";
|
|
4
4
|
// extensions/matrix/src/matrix/draft-stream.ts
|
|
5
5
|
const DEFAULT_THROTTLE_MS = 1e3;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as resolveMatrixDefaultOrOnlyAccountId } from "./account-selection-
|
|
1
|
+
import { s as resolveMatrixDefaultOrOnlyAccountId } from "./account-selection-BPFpdMIw.mjs";
|
|
2
2
|
import { t as resolveMatrixConfigFieldPath } from "./config-paths-DBpHxDyc.mjs";
|
|
3
3
|
import { normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
|
|
4
4
|
// extensions/matrix/src/matrix/encryption-guidance.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
2
|
-
import { g as resolveDefaultMatrixAccountId, v as resolveMatrixAccountAsync } from "./setup-core-
|
|
3
|
-
import { i as normalizeMatrixUserId } from "./channel.setup-
|
|
2
|
+
import { g as resolveDefaultMatrixAccountId, v as resolveMatrixAccountAsync } from "./setup-core-CRUekZa3.mjs";
|
|
3
|
+
import { i as normalizeMatrixUserId } from "./channel.setup-Dp7V9AgV.mjs";
|
|
4
4
|
import { doesApprovalRequestSelectChannelAccountAsync } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
5
5
|
import { createChannelApprovalAuth, resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
6
6
|
import { createChannelExecApprovalProfileAsync, getExecApprovalReplyMetadata, isChannelExecApprovalClientEnabledFromConfig, isChannelExecApprovalTargetRecipient, matchesApprovalRequestFilters } from "openclaw/plugin-sdk/approval-client-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
2
|
-
import { t as claimCurrentTokenStorageState } from "./storage-
|
|
3
|
-
import { a as readPersistedStoreFromStore, r as openMatrixSyncCacheStoreOptions, s as writeMatrixSyncCacheStateToStore, t as deleteMatrixSyncCacheStateFromStore } from "./sync-cache-state-
|
|
2
|
+
import { t as claimCurrentTokenStorageState } from "./storage-B94yQdJy.mjs";
|
|
3
|
+
import { a as readPersistedStoreFromStore, r as openMatrixSyncCacheStoreOptions, s as writeMatrixSyncCacheStateToStore, t as deleteMatrixSyncCacheStateFromStore } from "./sync-cache-state-B-FayxeA.mjs";
|
|
4
4
|
import { t as LogService } from "./logger-BX5kXvh1.mjs";
|
|
5
5
|
import { MemoryStore, SyncAccumulator } from "matrix-js-sdk/lib/matrix.js";
|
|
6
6
|
import { createAsyncLock } from "openclaw/plugin-sdk/async-lock-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { a as setMatrixLogServiceQuiet, n as emitMatrixLog } from "./logger-BX5kXvh1.mjs";
|
|
3
3
|
import { logger } from "matrix-js-sdk/lib/logger.js";
|
|
4
4
|
// extensions/matrix/src/matrix/client/logging.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as MATRIX_REACTION_EVENT_TYPE } from "./send-currentness-CAUVR-f3.mjs";
|
|
2
|
-
import { _ as isPollEventType, b as resolvePollReferenceEventId, d as resolveMatrixReplacementContent, g as formatPollResultsAsText, m as buildPollResultsSummary, t as editMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollStartType, y as parsePollStart } from "./send-
|
|
3
|
-
import { r as withResolvedRoomAction } from "./client-
|
|
2
|
+
import { _ as isPollEventType, b as resolvePollReferenceEventId, d as resolveMatrixReplacementContent, g as formatPollResultsAsText, m as buildPollResultsSummary, t as editMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollStartType, y as parsePollStart } from "./send-BMe_VcxP.mjs";
|
|
3
|
+
import { r as withResolvedRoomAction } from "./client-DL_aELCJ.mjs";
|
|
4
4
|
import { n as isMatrixNotFoundError } from "./errors-CL3YJV8U.mjs";
|
|
5
5
|
import { asNullableObjectRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
// extensions/matrix/src/matrix/poll-summary.ts
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
2
2
|
import { a as resolveMatrixAccountConfig, i as resolveMatrixAccountAllowlistConfig } from "./account-config-CVM2a28p.mjs";
|
|
3
|
-
import { h as resolveConfiguredMatrixBotUserIds } from "./setup-core-
|
|
4
|
-
import { a as resolveMatrixThreadRouting, i as resolveMatrixInboundRouteAsync, n as resolveMatrixStoredSessionMeta, o as resolveMatrixRoomConfig } from "./channel-
|
|
5
|
-
import { a as resolveMatrixAllowListMatch, i as normalizeMatrixUserId, r as normalizeMatrixAllowList } from "./channel.setup-
|
|
3
|
+
import { h as resolveConfiguredMatrixBotUserIds } from "./setup-core-CRUekZa3.mjs";
|
|
4
|
+
import { a as resolveMatrixThreadRouting, i as resolveMatrixInboundRouteAsync, n as resolveMatrixStoredSessionMeta, o as resolveMatrixRoomConfig } from "./channel-DYRabwmj.mjs";
|
|
5
|
+
import { a as resolveMatrixAllowListMatch, i as normalizeMatrixUserId, r as normalizeMatrixAllowList } from "./channel.setup-Dp7V9AgV.mjs";
|
|
6
6
|
import { n as isMatrixQualifiedUserId, r as isMatrixRoomId, t as isMatrixInviteAutoJoinTarget } from "./target-ids-DltG_ZHJ.mjs";
|
|
7
7
|
import { a as MATRIX_REACTION_EVENT_TYPE } from "./send-currentness-CAUVR-f3.mjs";
|
|
8
|
-
import { c as isStrictDirectMembership, f as resolveMatrixReplyToEventId, h as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY, i as promoteMatrixDirectRoomCandidate, p as resolveMatrixThreadRootId, s as hasDirectMatrixMemberFlag, u as readJoinedMatrixMembers, v as RelationType } from "./direct-management-
|
|
9
|
-
import { _ as isPollEventType, c as formatMatrixMessageText, d as resolveMatrixReplacementContent, h as formatPollAsText, l as isLikelyBareFilename, r as sendMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollStartType, w as setBoundedMap, y as parsePollStart } from "./send-
|
|
10
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
11
|
-
import { a as isMatrixStartupAbortError, c as getMatrixMonitorTaskSignal, d as resolveMatrixAuthContext, l as backfillMatrixAuthDeviceIdAfterStartup, n as acquireSharedMatrixClient, o as throwIfMatrixStartupAborted, s as createMatrixMonitorTaskRunner, u as resolveMatrixAuth } from "./client-
|
|
12
|
-
import { i as readMatrixMessages, l as fetchMatrixPollSnapshot } from "./messages-
|
|
8
|
+
import { c as isStrictDirectMembership, f as resolveMatrixReplyToEventId, h as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY, i as promoteMatrixDirectRoomCandidate, p as resolveMatrixThreadRootId, s as hasDirectMatrixMemberFlag, u as readJoinedMatrixMembers, v as RelationType } from "./direct-management-BOYMqZJQ.mjs";
|
|
9
|
+
import { _ as isPollEventType, c as formatMatrixMessageText, d as resolveMatrixReplacementContent, h as formatPollAsText, l as isLikelyBareFilename, r as sendMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollStartType, w as setBoundedMap, y as parsePollStart } from "./send-BMe_VcxP.mjs";
|
|
10
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-CB-jqrf4.mjs";
|
|
11
|
+
import { a as isMatrixStartupAbortError, c as getMatrixMonitorTaskSignal, d as resolveMatrixAuthContext, l as backfillMatrixAuthDeviceIdAfterStartup, n as acquireSharedMatrixClient, o as throwIfMatrixStartupAborted, s as createMatrixMonitorTaskRunner, u as resolveMatrixAuth } from "./client-BIsYqIzM.mjs";
|
|
12
|
+
import { i as readMatrixMessages, l as fetchMatrixPollSnapshot } from "./messages-Dt51OgyD.mjs";
|
|
13
13
|
import { i as isMatrixMediaSizeLimitError, r as MatrixMediaSizeLimitError } from "./http-client-CxTmU1kT.mjs";
|
|
14
|
-
import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-
|
|
15
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
16
|
-
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-
|
|
14
|
+
import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-B8h2BwR2.mjs";
|
|
15
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-vlr765on.mjs";
|
|
16
|
+
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-CLloQ6H7.mjs";
|
|
17
17
|
import { createMatrixInboundEventDeduper } from "./inbound-dedupe-CZnOq0ja.mjs";
|
|
18
18
|
import { a as isMatrixAccessTokenInvalidatedError, d as isMatrixDisconnectedSyncState, f as isMatrixReadySyncState, p as isMatrixTerminalSyncState } from "./client-support-CFofPPPm.mjs";
|
|
19
|
-
import { r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-
|
|
19
|
+
import { r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-BSvDbUmt.mjs";
|
|
20
20
|
import { channelBlockedPatch, channelReadyPatch, channelStoppedPatch, createTransportActivityStatusPatch } from "openclaw/plugin-sdk/gateway-runtime";
|
|
21
21
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
22
22
|
import { createChannelDeliveryAccumulator, createChannelProgressDraftCompositor, createLivePreviewLifecycle, createPreviewMessageReceipt, createReplyPrefixOptions, createTypingCallbacks, logTypingFailure, resolveChannelStreamingBlockEnabled, waitUntilAbort } from "openclaw/plugin-sdk/channel-outbound";
|
|
@@ -741,7 +741,7 @@ const matrixVerificationConstants = {
|
|
|
741
741
|
const MAX_TRACKED_VERIFICATION_EVENTS = 1024;
|
|
742
742
|
const SAS_NOTICE_RETRY_DELAY_MS = 750;
|
|
743
743
|
const VERIFICATION_EVENT_STARTUP_GRACE_MS = 3e4;
|
|
744
|
-
const loadMatrixDirectRoomDeps = createLazyRuntimeModule(() => Promise.all([import("./direct-management-
|
|
744
|
+
const loadMatrixDirectRoomDeps = createLazyRuntimeModule(() => Promise.all([import("./direct-management-BOYMqZJQ.mjs").then((n) => n.t), import("./direct-management-BOYMqZJQ.mjs").then((n) => n.o)]).then(([directManagementModule, directRoomModule]) => ({
|
|
745
745
|
inspectMatrixDirectRooms: directManagementModule.inspectMatrixDirectRooms,
|
|
746
746
|
isStrictDirectRoom: directRoomModule.isStrictDirectRoom
|
|
747
747
|
})));
|
|
@@ -1561,11 +1561,11 @@ function formatMatrixToolProgressMarkdownCode(text) {
|
|
|
1561
1561
|
return `\`${(text.length <= MATRIX_TOOL_PROGRESS_MAX_CHARS ? text : `${truncateUtf16Safe(text, 299).trimEnd()}...`).replaceAll("`", "'")}\``;
|
|
1562
1562
|
}
|
|
1563
1563
|
// extensions/matrix/src/matrix/monitor/handler-runtime.ts
|
|
1564
|
-
const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-
|
|
1564
|
+
const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-BMe_VcxP.mjs").then((n) => n.s));
|
|
1565
1565
|
const loadAcpBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/acp-binding-runtime"));
|
|
1566
1566
|
const loadSessionBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/session-binding-runtime"));
|
|
1567
|
-
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-
|
|
1568
|
-
const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-
|
|
1567
|
+
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-xTg2_wZJ.mjs"));
|
|
1568
|
+
const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-Buru5huX.mjs"));
|
|
1569
1569
|
async function matrixTextWouldActivateMentions(client, text) {
|
|
1570
1570
|
const { resolveMatrixMentionsForBody } = await loadMatrixSendModule();
|
|
1571
1571
|
const mentions = await resolveMatrixMentionsForBody({
|
|
@@ -3568,10 +3568,10 @@ function shouldPromoteRecentInviteRoom(params) {
|
|
|
3568
3568
|
}
|
|
3569
3569
|
// extensions/matrix/src/matrix/monitor/startup.ts
|
|
3570
3570
|
const loadMatrixStartupMaintenanceDeps = createLazyRuntimeModule(() => Promise.all([
|
|
3571
|
-
import("./setup-core-
|
|
3572
|
-
import("./device-health-
|
|
3573
|
-
import("./setup-core-
|
|
3574
|
-
import("./startup-verification-
|
|
3571
|
+
import("./setup-core-CRUekZa3.mjs").then((n) => n.f),
|
|
3572
|
+
import("./device-health-CmvwmCHB.mjs").then((n) => n.t),
|
|
3573
|
+
import("./setup-core-CRUekZa3.mjs").then((n) => n.u),
|
|
3574
|
+
import("./startup-verification-Cv_NoW_O.mjs")
|
|
3575
3575
|
]).then(([configUpdateModule, deviceHealthModule, profileModule, startupVerificationModule]) => ({
|
|
3576
3576
|
updateMatrixAccountConfig: configUpdateModule.updateMatrixAccountConfig,
|
|
3577
3577
|
summarizeMatrixDeviceHealth: deviceHealthModule.summarizeMatrixDeviceHealth,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as requiresExplicitMatrixDefaultAccount, u as resolveMatrixEnvAuthReadiness } from "./account-selection-
|
|
1
|
+
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
+
import { i as requiresExplicitMatrixDefaultAccount, u as resolveMatrixEnvAuthReadiness } from "./account-selection-BPFpdMIw.mjs";
|
|
3
3
|
import { a as resolveMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
4
|
-
import { a as createMatrixSetupDmPolicy, g as resolveDefaultMatrixAccountId, m as listMatrixAccountIds, n as finishMatrixSetupAfterConfigWrite, o as moveSingleMatrixAccountConfigToNamedAccount, p as updateMatrixAccountConfig, v as resolveMatrixAccountAsync } from "./setup-core-
|
|
4
|
+
import { a as createMatrixSetupDmPolicy, g as resolveDefaultMatrixAccountId, m as listMatrixAccountIds, n as finishMatrixSetupAfterConfigWrite, o as moveSingleMatrixAccountConfigToNamedAccount, p as updateMatrixAccountConfig, v as resolveMatrixAccountAsync } from "./setup-core-CRUekZa3.mjs";
|
|
5
5
|
import { r as isMatrixRoomId, t as isMatrixInviteAutoJoinTarget } from "./target-ids-DltG_ZHJ.mjs";
|
|
6
6
|
import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-C77p4qT9.mjs";
|
|
7
7
|
import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./deps-O7rEnklr.mjs";
|
|
@@ -87,7 +87,7 @@ async function promptMatrixAllowFrom(params) {
|
|
|
87
87
|
pending.push(part);
|
|
88
88
|
}
|
|
89
89
|
if (pending.length > 0) {
|
|
90
|
-
const { resolveMatrixTargets } = await import("./resolve-targets-
|
|
90
|
+
const { resolveMatrixTargets } = await import("./resolve-targets-vlr765on.mjs").then((n) => n.n);
|
|
91
91
|
const results = await resolveMatrixTargets({
|
|
92
92
|
cfg,
|
|
93
93
|
accountId,
|
|
@@ -204,7 +204,7 @@ async function configureMatrixAccessPrompts(params) {
|
|
|
204
204
|
resolvedIds.push(cleaned);
|
|
205
205
|
continue;
|
|
206
206
|
}
|
|
207
|
-
const { listMatrixDirectoryGroupsLive } = await import("./directory-live-
|
|
207
|
+
const { listMatrixDirectoryGroupsLive } = await import("./directory-live-tItssg9q.mjs").then((n) => n.t);
|
|
208
208
|
const matches = await listMatrixDirectoryGroupsLive({
|
|
209
209
|
cfg: next,
|
|
210
210
|
accountId: params.accountId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as matrixPresentationCapabilities } from "./channel-
|
|
2
|
-
import { i as sendPollMatrix, r as sendMessageMatrix } from "./send-
|
|
1
|
+
import { r as matrixPresentationCapabilities } from "./channel-DYRabwmj.mjs";
|
|
2
|
+
import { i as sendPollMatrix, r as sendMessageMatrix } from "./send-BMe_VcxP.mjs";
|
|
3
3
|
import { createMessageReceiptFromOutboundResults, createReplyToFanout, resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-outbound";
|
|
4
4
|
import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
2
|
-
import { d as syncMatrixOwnProfile, p as updateMatrixAccountConfig } from "./setup-core-
|
|
2
|
+
import { d as syncMatrixOwnProfile, p as updateMatrixAccountConfig } from "./setup-core-CRUekZa3.mjs";
|
|
3
3
|
import { n as resolveMatrixConfigPath } from "./config-paths-DBpHxDyc.mjs";
|
|
4
|
-
import { n as withResolvedActionClient } from "./client-
|
|
4
|
+
import { n as withResolvedActionClient } from "./client-DL_aELCJ.mjs";
|
|
5
5
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
6
6
|
// extensions/matrix/src/matrix/actions/profile.ts
|
|
7
7
|
async function updateMatrixOwnProfile(opts = {}) {
|