@openclaw/matrix 2026.11.10-beta.1 → 2026.11.10-beta.3
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/{approval-handler.runtime-D7KO6ds_.mjs → approval-handler.runtime-KhjfA3Qm.mjs} +3 -3
- package/dist/.setup/{channel-BJGiol_v.mjs → channel-DkjJIQBk.mjs} +8 -8
- package/dist/.setup/{channel.runtime-BrSYy4Qm.mjs → channel.runtime-DOjRmnx0.mjs} +5 -5
- package/dist/.setup/{channel.setup-DJdvsvAL.mjs → channel.setup-tIeMccfh.mjs} +2 -2
- package/dist/.setup/{cli-CjjggD1Y.mjs → cli-CChA7Tf5.mjs} +15 -39
- package/dist/.setup/cli-doctor-CoRX0erj.mjs +35 -0
- package/dist/.setup/{cli-metadata-nnz3uf_k.mjs → cli-metadata-FwlOHfdX.mjs} +1 -1
- package/dist/.setup/{client-DIeTvz6C.mjs → client-BVgnwwz0.mjs} +2 -2
- package/dist/.setup/{client-uAX074II.mjs → client-BgOKS4W7.mjs} +2 -2
- package/dist/.setup/{client-bootstrap-CvbnV_7R.mjs → client-bootstrap-CHs5OQ1Z.mjs} +1 -1
- package/dist/.setup/{create-client-XL9SKJ2s.mjs → create-client-mnjEWdZV.mjs} +2 -2
- package/dist/.setup/{crypto-runtime-D96thr_g.mjs → crypto-runtime-tZ95jwNO.mjs} +1 -1
- package/dist/.setup/{crypto-unsafe-state-doctor-CkhtP1mQ.mjs → crypto-unsafe-state-doctor-D3WLE-t4.mjs} +3 -4
- package/dist/.setup/{directory-live-5RgaKKuc.mjs → directory-live-CQNKUJJx.mjs} +1 -1
- package/dist/.setup/{draft-stream-CjEpElZ-.mjs → draft-stream-B1hQ9Mgx.mjs} +1 -1
- package/dist/.setup/{exec-approvals-DcQS_LNp.mjs → exec-approvals-C692_FeS.mjs} +2 -2
- package/dist/.setup/{messages-CmlRhlPp.mjs → messages-DSS3EtqP.mjs} +2 -2
- package/dist/.setup/{monitor-DG8yTCh9.mjs → monitor-Ci1BOpAp.mjs} +27 -16
- package/dist/.setup/{onboarding-CY_oesMI.mjs → onboarding-DA5lN0I1.mjs} +3 -3
- package/dist/.setup/{outbound-BY9kS8Kt.mjs → outbound-CFFxi_uJ.mjs} +2 -2
- package/dist/.setup/{profile-update-BRugBHSm.mjs → profile-update-DP-a-BxL.mjs} +3 -3
- package/dist/.setup/{reaction-events-B1DQTt9d.mjs → reaction-events-B8JhmXYM.mjs} +3 -3
- package/dist/.setup/{resolve-targets-CUBvJ37V.mjs → resolve-targets-B3NLls5a.mjs} +1 -1
- package/dist/.setup/{room-info-CJVhaCvB.mjs → room-info-gld8p2j7.mjs} +3 -3
- package/dist/.setup/{sdk-CRJQM2N0.mjs → sdk-Bzp2OIxv.mjs} +3 -3
- package/dist/.setup/{send-QWCT3NT9.mjs → send-COg4UAcR.mjs} +7 -7
- package/dist/.setup/{setup-bootstrap-DrBapwjQ.mjs → setup-bootstrap-DCCxNvFW.mjs} +2 -2
- package/dist/.setup/{setup-core-B4sVj_9e.mjs → setup-core-BRD4PRVa.mjs} +1 -1
- package/dist/.setup/setup-plugin-api-YtkxNQTz.mjs +2 -0
- package/dist/.setup/{thread-bindings-jNXWItIL.mjs → thread-bindings-DrYooQd3.mjs} +1 -1
- package/dist/.setup/{tool-actions-4sdtsvN2.mjs → tool-actions-4dKbrHJ5.mjs} +10 -10
- package/dist/.setup/{verification-DQu-OS0V.mjs → verification-DIxfxgMv.mjs} +1 -1
- package/dist/.source-module-urls/1cd4d4ff8d44e1c8b830932b44d7cf8a7f3350e09e169910e1d7a85e131b7bea.json +1 -1
- package/dist/api.js +4 -4
- 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 +7 -3
- package/dist/index.js +1 -1
- package/dist/plugin-entry.handlers.runtime.js +2 -2
- 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/openclaw.plugin.json +6 -0
- package/package.json +4 -4
- package/dist/.setup/setup-plugin-api-t9yhI-Tq.mjs +0 -2
package/dist/.setup/{approval-handler.runtime-D7KO6ds_.mjs → approval-handler.runtime-KhjfA3Qm.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-C692_FeS.mjs";
|
|
3
3
|
import { s as resolveMatrixTargetIdentity } from "./target-ids-DltG_ZHJ.mjs";
|
|
4
4
|
import { a as repairMatrixDirectRooms } from "./direct-management-D59C1WO-.mjs";
|
|
5
|
-
import { a as sendSingleTextMessageMatrix, n as reactMatrixMessage, r as sendMessageMatrix } from "./send-
|
|
5
|
+
import { a as sendSingleTextMessageMatrix, n as reactMatrixMessage, r as sendMessageMatrix } from "./send-COg4UAcR.mjs";
|
|
6
6
|
import { a as unregisterMatrixApprovalReactionTarget, n as listMatrixApprovalReactionBindings, r as registerMatrixApprovalReactionTarget, t as buildMatrixApprovalReactionHint } from "./approval-reactions-Bz_8XB01.mjs";
|
|
7
|
-
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-
|
|
7
|
+
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-DSS3EtqP.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,9 +1,9 @@
|
|
|
1
1
|
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, r as hasImplicitMatrixAccountConfig } from "./account-selection-Cow3TMFO.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-BRD4PRVa.mjs";
|
|
5
|
+
import { i as normalizeMatrixUserId, t as matrixPluginBase } from "./channel.setup-tIeMccfh.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-C692_FeS.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
8
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-GiXgCj7k.mjs";
|
|
9
9
|
import { f as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync } from "./thread-bindings-shared-DEAGGuDA.mjs";
|
|
@@ -157,7 +157,7 @@ const matrixMessageActions = {
|
|
|
157
157
|
return account.enabled && account.configured && createActionGate(account.config.actions)("messages") ? payload : null;
|
|
158
158
|
},
|
|
159
159
|
handleAction: async (ctx) => {
|
|
160
|
-
const { handleMatrixAction } = await import("./tool-actions-
|
|
160
|
+
const { handleMatrixAction } = await import("./tool-actions-4dKbrHJ5.mjs");
|
|
161
161
|
return await handleMatrixAction(ctx);
|
|
162
162
|
}
|
|
163
163
|
};
|
|
@@ -271,7 +271,7 @@ const matrixNativeApprovalCapability = createApproverRestrictedNativeApprovalCap
|
|
|
271
271
|
],
|
|
272
272
|
isConfigured: isMatrixAnyApprovalClientEnabled,
|
|
273
273
|
shouldHandle: shouldHandleMatrixApprovalRequest,
|
|
274
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
274
|
+
load: async () => (await import("./approval-handler.runtime-KhjfA3Qm.mjs")).matrixApprovalNativeRuntime
|
|
275
275
|
})
|
|
276
276
|
});
|
|
277
277
|
const splitMatrixApprovalCapability = splitChannelApprovalCapability(matrixNativeApprovalCapability);
|
|
@@ -620,12 +620,12 @@ async function resolveMatrixOutboundSessionRoute(params) {
|
|
|
620
620
|
});
|
|
621
621
|
}
|
|
622
622
|
// extensions/matrix/src/channel.ts
|
|
623
|
-
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
624
|
-
const loadMatrixMonitorModule = createLazyRuntimeModule(() => import("./monitor-
|
|
623
|
+
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-DOjRmnx0.mjs"), "matrixChannelRuntime");
|
|
624
|
+
const loadMatrixMonitorModule = createLazyRuntimeModule(() => import("./monitor-Ci1BOpAp.mjs").catch((error) => {
|
|
625
625
|
loadMatrixMonitorModule.clear();
|
|
626
626
|
throw error;
|
|
627
627
|
}));
|
|
628
|
-
const loadMatrixResolver = createLazyRuntimeNamedExport(() => import("./resolve-targets-
|
|
628
|
+
const loadMatrixResolver = createLazyRuntimeNamedExport(() => import("./resolve-targets-B3NLls5a.mjs").then((n) => n.n), "resolveMatrixTargets");
|
|
629
629
|
const matrixDoctor = {
|
|
630
630
|
dmAllowFromMode: "nestedOnly",
|
|
631
631
|
groupModel: "sender",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-DesoKUns.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as reconcileMatrixUnknownSend, S as cleanupMatrixDeliveryPlans, o as sendTypingMatrix, r as sendMessageMatrix } from "./send-COg4UAcR.mjs";
|
|
3
3
|
import { c as resolveMatrixLocalTimeoutMs } from "./client-support-CqXAOZp3.mjs";
|
|
4
|
-
import { c as resolveMatrixAuth } from "./client-
|
|
5
|
-
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-
|
|
6
|
-
import { t as matrixOutbound } from "./outbound-
|
|
7
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
4
|
+
import { c as resolveMatrixAuth } from "./client-BVgnwwz0.mjs";
|
|
5
|
+
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-CQNKUJJx.mjs";
|
|
6
|
+
import { t as matrixOutbound } from "./outbound-CFFxi_uJ.mjs";
|
|
7
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-B3NLls5a.mjs";
|
|
8
8
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
9
9
|
import { isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
10
|
import { ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
@@ -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-BRD4PRVa.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";
|
|
@@ -278,7 +278,7 @@ const matrixPluginBase = {
|
|
|
278
278
|
order: 70,
|
|
279
279
|
quickstartAllowFrom: true
|
|
280
280
|
},
|
|
281
|
-
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./onboarding-
|
|
281
|
+
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./onboarding-DA5lN0I1.mjs").then((n) => n.n)).matrixOnboardingAdapter })),
|
|
282
282
|
setupContract: matrixSetupContract,
|
|
283
283
|
capabilities: {
|
|
284
284
|
chatTypes: [
|
|
@@ -1,20 +1,18 @@
|
|
|
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
|
-
import {
|
|
4
|
-
import { p as updateMatrixAccountConfig, r as matrixSetupAdapter, v as resolveMatrixAccountAsync } from "./setup-core-B4sVj_9e.mjs";
|
|
3
|
+
import { p as updateMatrixAccountConfig, r as matrixSetupAdapter, v as resolveMatrixAccountAsync } from "./setup-core-BRD4PRVa.mjs";
|
|
5
4
|
import { n as resolveMatrixConfigPath } from "./config-paths-DBpHxDyc.mjs";
|
|
6
|
-
import { l as resolveMatrixAuthContext } from "./client-
|
|
7
|
-
import { n as withResolvedActionClient } from "./client-
|
|
5
|
+
import { l as resolveMatrixAuthContext } from "./client-BVgnwwz0.mjs";
|
|
6
|
+
import { n as withResolvedActionClient } from "./client-BgOKS4W7.mjs";
|
|
7
|
+
import { registerMatrixDoctorCommands } from "./cli-doctor-CoRX0erj.mjs";
|
|
8
8
|
import { t as resolveMatrixRoomKeyBackupIssue } from "./backup-health-BxH69np2.mjs";
|
|
9
9
|
import { i as setMatrixConsoleLogging } from "./logger-B9TwnY6C.mjs";
|
|
10
10
|
import { r as setMatrixSdkLogMode } from "./logging-Bnsn7s4r.mjs";
|
|
11
11
|
import { n as listStaleOpenClawMatrixDevices } from "./device-health-D7n-lPeb.mjs";
|
|
12
|
-
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-
|
|
13
|
-
import { n as
|
|
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-DQu-OS0V.mjs";
|
|
12
|
+
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-DP-a-BxL.mjs";
|
|
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-DIxfxgMv.mjs";
|
|
15
14
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
16
15
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
17
|
-
import path from "node:path";
|
|
18
16
|
import { parseStrictInteger, timestampMsToIsoString } from "openclaw/plugin-sdk/number-runtime";
|
|
19
17
|
import os from "node:os";
|
|
20
18
|
import { formatZonedTimestamp } from "openclaw/plugin-sdk/time-runtime";
|
|
@@ -407,7 +405,7 @@ function registerMatrixAccountCommands(root) {
|
|
|
407
405
|
backupVersion: null
|
|
408
406
|
};
|
|
409
407
|
if (accountConfig.encryption === true) {
|
|
410
|
-
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-
|
|
408
|
+
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-DCCxNvFW.mjs");
|
|
411
409
|
verificationBootstrap = await maybeBootstrapNewEncryptedMatrixAccount({
|
|
412
410
|
previousCfg: cfg,
|
|
413
411
|
cfg: updated,
|
|
@@ -534,7 +532,7 @@ async function runMatrixDirectRoomCommand(params) {
|
|
|
534
532
|
cfg,
|
|
535
533
|
accountId: params.accountId
|
|
536
534
|
}) : void 0;
|
|
537
|
-
const [{ withResolvedActionClient, withStartedActionClient }, direct] = await Promise.all([import("./client-
|
|
535
|
+
const [{ withResolvedActionClient, withStartedActionClient }, direct] = await Promise.all([import("./client-BgOKS4W7.mjs").then((n) => n.t), import("./direct-management-D59C1WO-.mjs").then((n) => n.t)]);
|
|
538
536
|
return await (params.repair ? withStartedActionClient : withResolvedActionClient)({
|
|
539
537
|
accountId: params.accountId,
|
|
540
538
|
cfg
|
|
@@ -603,34 +601,6 @@ function registerMatrixDirectCommands(root) {
|
|
|
603
601
|
});
|
|
604
602
|
}
|
|
605
603
|
}
|
|
606
|
-
// extensions/matrix/src/cli-doctor.ts
|
|
607
|
-
function registerMatrixDoctorCommands(root) {
|
|
608
|
-
const accountForRoot = (rootDir, stateDir) => rootDir === path.resolve(stateDir, "matrix") ? "default" : path.basename(path.dirname(path.dirname(rootDir)));
|
|
609
|
-
const doctor = root.command("doctor").description("Inspect and recover Matrix crypto storage refusal");
|
|
610
|
-
doctor.command("inspect").description("List accounts blocked by an unsafe crypto final save (read-only)").option("--json", "Output JSON").action(async (options) => {
|
|
611
|
-
const stateDir = getMatrixRuntime().state.resolveStateDir(process.env, os.homedir);
|
|
612
|
-
const accounts = (await listMatrixCryptoUnsafeState(stateDir)).map((rootDir) => ({
|
|
613
|
-
account: accountForRoot(rootDir, stateDir),
|
|
614
|
-
rootDir
|
|
615
|
-
}));
|
|
616
|
-
if (options.json) console.log(JSON.stringify({ blocked: accounts }, null, 2));
|
|
617
|
-
else {
|
|
618
|
-
console.log(accounts.length ? `Matrix crypto refusal: ${accounts.length} account store(s) blocked` : "No blocked Matrix crypto stores found.");
|
|
619
|
-
for (const account of accounts) console.log(`- ${account.account}: ${account.rootDir}`);
|
|
620
|
-
}
|
|
621
|
-
});
|
|
622
|
-
doctor.command("recover").description("Accept rollback to a validated SQLite snapshot and clear one account's refusal").requiredOption("--account <id>", "Blocked account ID").requiredOption("--accept-snapshot-rollback", "Acknowledge that keys from the failed owner may be lost").action(async (options) => {
|
|
623
|
-
const stateDir = getMatrixRuntime().state.resolveStateDir(process.env, os.homedir);
|
|
624
|
-
const account = sanitizeMatrixPathSegment(normalizeAccountId(options.account));
|
|
625
|
-
const roots = (await listMatrixCryptoUnsafeState(stateDir)).filter((rootDir) => accountForRoot(rootDir, stateDir) === account);
|
|
626
|
-
if (roots.length !== 1) throw new Error(`Expected exactly one blocked Matrix crypto store for account ${account}; found ${roots.length}. Refusing ambiguous recovery.`);
|
|
627
|
-
await recoverMatrixCryptoUnsafeState({
|
|
628
|
-
storageRootDir: roots[0],
|
|
629
|
-
acceptSnapshotRollback: options.acceptSnapshotRollback === true
|
|
630
|
-
});
|
|
631
|
-
console.log(`Matrix crypto refusal cleared for account ${account}; restart the Gateway.`);
|
|
632
|
-
});
|
|
633
|
-
}
|
|
634
604
|
// extensions/matrix/src/cli-encryption.ts
|
|
635
605
|
function isMatrixVerificationSetupComplete(status) {
|
|
636
606
|
return status.encryptionEnabled && status.verified && status.crossSigningVerified && status.signedByOwner && status.serverDeviceKnown === true && resolveMatrixRoomKeyBackupIssue(status.backup).code === "ok";
|
|
@@ -1227,6 +1197,12 @@ function registerMatrixCli(params) {
|
|
|
1227
1197
|
errorPrefix: "Device cleanup failed"
|
|
1228
1198
|
});
|
|
1229
1199
|
});
|
|
1230
|
-
registerMatrixDoctorCommands(
|
|
1200
|
+
registerMatrixDoctorCommands({
|
|
1201
|
+
program: root.command("doctor"),
|
|
1202
|
+
get stateDir() {
|
|
1203
|
+
return getMatrixRuntime().state.resolveStateDir(process.env, os.homedir);
|
|
1204
|
+
},
|
|
1205
|
+
context: { openPluginStateKeyedStore: (options) => getMatrixRuntime().state.openKeyedStoreV2(options) }
|
|
1206
|
+
});
|
|
1231
1207
|
}
|
|
1232
1208
|
export { registerMatrixCli };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { l as sanitizeMatrixPathSegment } from "./storage-paths-e_Vq6cvw.mjs";
|
|
2
|
+
import { n as listMatrixCryptoUnsafeState, r as recoverMatrixCryptoUnsafeState } from "./crypto-unsafe-state-doctor-D3WLE-t4.mjs";
|
|
3
|
+
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
// extensions/matrix/src/cli-doctor.ts
|
|
6
|
+
function registerMatrixDoctorCommands(params) {
|
|
7
|
+
const accountForRoot = (rootDir, stateDir) => rootDir === path.resolve(stateDir, "matrix") ? "default" : path.basename(path.dirname(path.dirname(rootDir)));
|
|
8
|
+
const doctor = params.program.description("Inspect and recover Matrix crypto storage refusal");
|
|
9
|
+
doctor.command("inspect").description("List accounts blocked by an unsafe crypto final save (read-only)").option("--json", "Output JSON").action(async (options) => {
|
|
10
|
+
const stateDir = params.stateDir;
|
|
11
|
+
const accounts = (await listMatrixCryptoUnsafeState(stateDir, { openKeyedStoreV2: params.context.openPluginStateKeyedStore })).map((rootDir) => ({
|
|
12
|
+
account: accountForRoot(rootDir, stateDir),
|
|
13
|
+
rootDir
|
|
14
|
+
}));
|
|
15
|
+
if (options.json) console.log(JSON.stringify({ blocked: accounts }, null, 2));
|
|
16
|
+
else {
|
|
17
|
+
console.log(accounts.length ? `Matrix crypto refusal: ${accounts.length} account store(s) blocked` : "No blocked Matrix crypto stores found.");
|
|
18
|
+
for (const account of accounts) console.log(`- ${account.account}: ${account.rootDir}`);
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
doctor.command("recover").description("Accept rollback to a validated SQLite snapshot and clear one account's refusal").requiredOption("--account <id>", "Blocked account ID").requiredOption("--accept-snapshot-rollback", "Acknowledge that keys from the failed owner may be lost").action(async (options) => {
|
|
22
|
+
const stateDir = params.stateDir;
|
|
23
|
+
const account = sanitizeMatrixPathSegment(normalizeAccountId(options.account));
|
|
24
|
+
const stateRuntime = { openKeyedStoreV2: params.context.openPluginStateKeyedStore };
|
|
25
|
+
const roots = (await listMatrixCryptoUnsafeState(stateDir, stateRuntime)).filter((rootDir) => accountForRoot(rootDir, stateDir) === account);
|
|
26
|
+
if (roots.length !== 1) throw new Error(`Expected exactly one blocked Matrix crypto store for account ${account}; found ${roots.length}. Refusing ambiguous recovery.`);
|
|
27
|
+
await recoverMatrixCryptoUnsafeState({
|
|
28
|
+
storageRootDir: roots[0],
|
|
29
|
+
acceptSnapshotRollback: options.acceptSnapshotRollback === true,
|
|
30
|
+
stateRuntime
|
|
31
|
+
});
|
|
32
|
+
console.log(`Matrix crypto refusal cleared for account ${account}. Run openclaw update repair (or openclaw doctor --fix) to finish pending migrations, then restart the Gateway.`);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
export { registerMatrixDoctorCommands };
|
|
@@ -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-CChA7Tf5.mjs");
|
|
6
6
|
registerMatrixCli({ program });
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "matrix",
|
|
@@ -430,7 +430,7 @@ async function awaitMatrixStartupWithAbort(promise, abortSignal) {
|
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
// extensions/matrix/src/matrix/client/shared.ts
|
|
433
|
-
const loadMatrixCreateClientDeps = createLazyRuntimeModule(() => import("./create-client-
|
|
433
|
+
const loadMatrixCreateClientDeps = createLazyRuntimeModule(() => import("./create-client-mnjEWdZV.mjs"));
|
|
434
434
|
const MATRIX_RETIREMENT_DRAIN_TIMEOUT_MS = 5e3;
|
|
435
435
|
const sharedClientRegistry = resolveGlobalSingleton(Symbol.for("openclaw.matrix.shared-client-registry"), () => ({
|
|
436
436
|
states: /* @__PURE__ */ new Map(),
|
|
@@ -764,6 +764,6 @@ var client_exports = /* @__PURE__ */ __exportAll({
|
|
|
764
764
|
stopSharedClientForAccount: () => stopSharedClientForAccount,
|
|
765
765
|
validateMatrixHomeserverUrl: () => validateMatrixHomeserverUrl
|
|
766
766
|
});
|
|
767
|
-
const loadMatrixClientRuntime = createLazyRuntimeModule(() => import("./create-client-
|
|
767
|
+
const loadMatrixClientRuntime = createLazyRuntimeModule(() => import("./create-client-mnjEWdZV.mjs"));
|
|
768
768
|
const createMatrixClient = createLazyRuntimeMethod(loadMatrixClientRuntime, (runtime) => runtime.createMatrixClient);
|
|
769
769
|
export { isMatrixStartupAbortError as a, resolveMatrixAuth as c, createMatrixStartupAbortError as i, resolveMatrixAuthContext as l, acquireSharedMatrixClient as n, throwIfMatrixStartupAborted as o, awaitMatrixStartupWithAbort as r, backfillMatrixAuthDeviceIdAfterStartup as s, client_exports as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { w as resolveMatrixRoomId } from "./send-COg4UAcR.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-CHs5OQ1Z.mjs"));
|
|
11
11
|
async function withResolvedActionClient(opts, run) {
|
|
12
12
|
const { withResolvedRuntimeMatrixClient } = await loadMatrixActionClientRuntime();
|
|
13
13
|
return await withResolvedRuntimeMatrixClient(opts, run);
|
|
@@ -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-BVgnwwz0.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,14 +1,14 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
2
2
|
import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-DesoKUns.mjs";
|
|
3
3
|
import { n as maybeMigrateLegacyStorage, o as resolveMatrixStoragePaths, s as writeStorageMeta } from "./storage-CCarF_gm.mjs";
|
|
4
|
-
import "./client-
|
|
4
|
+
import "./client-BVgnwwz0.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-
|
|
11
|
+
import("./sdk-Bzp2OIxv.mjs").then((n) => n.t),
|
|
12
12
|
import("./logging-Bnsn7s4r.mjs").then((n) => n.n),
|
|
13
13
|
import("./file-sync-store-CAhnwOPA.mjs")
|
|
14
14
|
]).then(([sdkModule, loggingModule, syncStoreModule]) => ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ensureMatrixCryptoRuntime } from "./deps-CVPT2Ros.mjs";
|
|
2
2
|
import { r as noop, t as LogService } from "./logger-B9TwnY6C.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-Bzp2OIxv.mjs";
|
|
4
4
|
import { persistIdbToDisk, resolveDefaultIdbSnapshotPath, restoreIdbFromDisk } from "./idb-persistence-DeGUs--C.mjs";
|
|
5
5
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
6
6
|
import { formatErrorMessage, materializeErrorStack, toStringifiedError } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
-
import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
|
|
3
2
|
import { i as readMatrixIdbSnapshotJson, t as MATRIX_IDB_SNAPSHOT_FILENAME } from "./crypto-state-store-CzAmeC_Z.mjs";
|
|
4
3
|
import { t as walkMatrixStateFiles } from "./state-layout-walk-BqCZTHpp.mjs";
|
|
5
4
|
import { i as withMatrixCryptoStoreRecoveryLock, n as isMatrixCryptoStoreUnsafe, r as sealMatrixCryptoStoreRecovery } from "./crypto-store-ownership-DPO9WcVz.mjs";
|
|
@@ -21,7 +20,7 @@ async function listMatrixCryptoUnsafeState(stateDir, stateRuntime) {
|
|
|
21
20
|
for (const root of roots) {
|
|
22
21
|
const snapshotPath = path.join(root, MATRIX_IDB_SNAPSHOT_FILENAME);
|
|
23
22
|
try {
|
|
24
|
-
if (await withMatrixCryptoStoreRecoveryLock(snapshotPath, () => isMatrixCryptoStoreUnsafe(snapshotPath, stateRuntime
|
|
23
|
+
if (await withMatrixCryptoStoreRecoveryLock(snapshotPath, () => isMatrixCryptoStoreUnsafe(snapshotPath, stateRuntime))) abandoned.push(root);
|
|
25
24
|
} catch (error) {
|
|
26
25
|
if (extractErrorCode(error) === FILE_LOCK_TIMEOUT_ERROR_CODE) continue;
|
|
27
26
|
throw error;
|
|
@@ -40,7 +39,7 @@ async function recoverMatrixCryptoUnsafeState(params) {
|
|
|
40
39
|
if (extractErrorCode(error) === "ENOENT") throw new Error("Matrix crypto SQLite snapshot is absent; refusal remains in place.", { cause: error });
|
|
41
40
|
throw error;
|
|
42
41
|
}
|
|
43
|
-
const snapshot = await readMatrixIdbSnapshotJson(params.storageRootDir,
|
|
42
|
+
const snapshot = await readMatrixIdbSnapshotJson(params.storageRootDir, params.stateRuntime);
|
|
44
43
|
if (!snapshot) throw new Error("Matrix crypto SQLite snapshot is absent or invalid; refusal remains in place.");
|
|
45
44
|
const { validateMatrixIdbSnapshotJson } = await import("./idb-persistence-DeGUs--C.mjs");
|
|
46
45
|
try {
|
|
@@ -48,7 +47,7 @@ async function recoverMatrixCryptoUnsafeState(params) {
|
|
|
48
47
|
} catch (error) {
|
|
49
48
|
throw new Error("Matrix crypto SQLite snapshot cannot be replayed; refusal remains in place.", { cause: error });
|
|
50
49
|
}
|
|
51
|
-
await sealMatrixCryptoStoreRecovery(snapshotPath,
|
|
50
|
+
await sealMatrixCryptoStoreRecovery(snapshotPath, params.stateRuntime);
|
|
52
51
|
});
|
|
53
52
|
}
|
|
54
53
|
export { listMatrixCryptoUnsafeState as n, recoverMatrixCryptoUnsafeState as r, crypto_unsafe_state_doctor_exports as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 { c as resolveMatrixAuth } from "./client-
|
|
3
|
+
import { c as resolveMatrixAuth } from "./client-BVgnwwz0.mjs";
|
|
4
4
|
import { t as MatrixAuthedHttpClient } from "./http-client-CqnKFKUH.mjs";
|
|
5
5
|
import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
// extensions/matrix/src/directory-live.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as MsgType } from "./direct-management-D59C1WO-.mjs";
|
|
2
|
-
import { a as sendSingleTextMessageMatrix, f as prepareMatrixSingleText, t as editMessageMatrix } from "./send-
|
|
2
|
+
import { a as sendSingleTextMessageMatrix, f as prepareMatrixSingleText, t as editMessageMatrix } from "./send-COg4UAcR.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,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-BRD4PRVa.mjs";
|
|
3
|
+
import { i as normalizeMatrixUserId } from "./channel.setup-tIeMccfh.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,7 +1,7 @@
|
|
|
1
1
|
import { a as MATRIX_REACTION_EVENT_TYPE } from "./send-currentness-D1x6YP9O.mjs";
|
|
2
|
-
import { _ as
|
|
2
|
+
import { _ as formatPollResultsAsText, b as parsePollStart, d as resolveMatrixReplacementContent, h as buildPollResultsSummary, t as editMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollEventType, x as resolvePollReferenceEventId, y as isPollStartType } from "./send-COg4UAcR.mjs";
|
|
3
3
|
import { n as isMatrixNotFoundError } from "./errors-CL3YJV8U.mjs";
|
|
4
|
-
import { r as withResolvedRoomAction } from "./client-
|
|
4
|
+
import { r as withResolvedRoomAction } from "./client-BgOKS4W7.mjs";
|
|
5
5
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
6
6
|
import { asNullableObjectRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { HTTPError } from "matrix-js-sdk/lib/http-api/index.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
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 resolveMatrixInboundRouteAsync, i as resolveMatrixRoomConfig, n as resolveMatrixStoredSessionMeta, o as resolveMatrixThreadRouting } from "./channel-
|
|
5
|
-
import { a as resolveMatrixAllowListMatch, i as normalizeMatrixUserId, r as normalizeMatrixAllowList } from "./channel.setup-
|
|
3
|
+
import { h as resolveConfiguredMatrixBotUserIds } from "./setup-core-BRD4PRVa.mjs";
|
|
4
|
+
import { a as resolveMatrixInboundRouteAsync, i as resolveMatrixRoomConfig, n as resolveMatrixStoredSessionMeta, o as resolveMatrixThreadRouting } from "./channel-DkjJIQBk.mjs";
|
|
5
|
+
import { a as resolveMatrixAllowListMatch, i as normalizeMatrixUserId, r as normalizeMatrixAllowList } from "./channel.setup-tIeMccfh.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, n as withMatrixSendCurrentness } from "./send-currentness-D1x6YP9O.mjs";
|
|
8
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-D59C1WO-.mjs";
|
|
9
9
|
import { n as getMatrixMonitorTaskSignal, t as createMatrixMonitorTaskRunner } from "./task-runner-CYyGHdNW.mjs";
|
|
10
|
-
import {
|
|
10
|
+
import { T as setBoundedMap, b as parsePollStart, c as formatMatrixMessageText, d as resolveMatrixReplacementContent, g as formatPollAsText, l as isLikelyBareFilename, r as sendMessageMatrix, u as resolveMatrixMessageAttachment, v as isPollEventType, y as isPollStartType } from "./send-COg4UAcR.mjs";
|
|
11
11
|
import { n as getMatrixEventProjection } from "./event-helpers-DDUjVVf7.mjs";
|
|
12
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
12
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-DrYooQd3.mjs";
|
|
13
13
|
import { a as isMatrixAccessTokenInvalidatedError } from "./client-support-CqXAOZp3.mjs";
|
|
14
|
-
import { a as isMatrixStartupAbortError, c as resolveMatrixAuth, l as resolveMatrixAuthContext, n as acquireSharedMatrixClient, o as throwIfMatrixStartupAborted, s as backfillMatrixAuthDeviceIdAfterStartup } from "./client-
|
|
15
|
-
import { i as readMatrixMessages, l as fetchMatrixPollSnapshot } from "./messages-
|
|
14
|
+
import { a as isMatrixStartupAbortError, c as resolveMatrixAuth, l as resolveMatrixAuthContext, n as acquireSharedMatrixClient, o as throwIfMatrixStartupAborted, s as backfillMatrixAuthDeviceIdAfterStartup } from "./client-BVgnwwz0.mjs";
|
|
15
|
+
import { i as readMatrixMessages, l as fetchMatrixPollSnapshot } from "./messages-DSS3EtqP.mjs";
|
|
16
16
|
import { a as isMatrixMediaSizeLimitError, i as MatrixMediaSizeLimitError } from "./http-client-CqnKFKUH.mjs";
|
|
17
|
-
import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-
|
|
18
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
17
|
+
import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-CFFxi_uJ.mjs";
|
|
18
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-B3NLls5a.mjs";
|
|
19
19
|
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-DfbEaKct.mjs";
|
|
20
20
|
import { n as isMatrixReadySyncState, r as isMatrixTerminalSyncState, t as isMatrixDisconnectedSyncState } from "./sync-state-Cu1nagBV.mjs";
|
|
21
|
-
import { r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-
|
|
21
|
+
import { r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-gld8p2j7.mjs";
|
|
22
22
|
import { channelBlockedPatch, channelReadyPatch, channelStoppedPatch, createTransportActivityStatusPatch } from "openclaw/plugin-sdk/gateway-runtime";
|
|
23
23
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
24
24
|
import { createChannelDeliveryAccumulator, createChannelIngressError, createChannelIngressMonitor, createChannelProgressDraftCompositor, createLivePreviewLifecycle, createPreviewMessageReceipt, createReplyPrefixOptions, createTypingCallbacks, logTypingFailure, resolveChannelStreamingBlockEnabled, waitUntilAbort } from "openclaw/plugin-sdk/channel-outbound";
|
|
@@ -1378,6 +1378,17 @@ const matrixPreflightAudio = createChannelPreflightAudio({
|
|
|
1378
1378
|
// extensions/matrix/src/matrix/monitor/handler-helpers.ts
|
|
1379
1379
|
const MATRIX_TOOL_PROGRESS_MAX_CHARS = 300;
|
|
1380
1380
|
const MAX_TRACKED_SHARED_DM_CONTEXT_NOTICES = 512;
|
|
1381
|
+
function resolveMatrixCurrentContent(content) {
|
|
1382
|
+
if (!content["m.relates_to"]?.["m.in_reply_to"]?.event_id) return content;
|
|
1383
|
+
const { body, formatted_body: html } = content;
|
|
1384
|
+
const plain = typeof body === "string" && /^> (?:\* )?<@[^>\n]+>/.test(body) ? body.replace(/^(?:> .*(?:\n|$))+\n?/, "") : body;
|
|
1385
|
+
const formatted = content.format === "org.matrix.custom.html" ? html?.replace(/^<mx-reply>[\s\S]*?<\/mx-reply>/i, "") : html;
|
|
1386
|
+
return plain === body && formatted === html ? content : {
|
|
1387
|
+
...content,
|
|
1388
|
+
body: plain,
|
|
1389
|
+
formatted_body: formatted
|
|
1390
|
+
};
|
|
1391
|
+
}
|
|
1381
1392
|
function resolveMatrixMentionPrecheckText(params) {
|
|
1382
1393
|
if (params.locationText?.trim()) return params.locationText.trim();
|
|
1383
1394
|
if (typeof params.content.body === "string" && params.content.body.trim()) return params.content.body.trim();
|
|
@@ -1464,11 +1475,11 @@ function formatMatrixToolProgressMarkdownCode(text) {
|
|
|
1464
1475
|
return `\`${(text.length <= MATRIX_TOOL_PROGRESS_MAX_CHARS ? text : `${truncateUtf16Safe(text, 299).trimEnd()}...`).replaceAll("`", "'")}\``;
|
|
1465
1476
|
}
|
|
1466
1477
|
// extensions/matrix/src/matrix/monitor/handler-runtime.ts
|
|
1467
|
-
const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-
|
|
1478
|
+
const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-COg4UAcR.mjs").then((n) => n.s));
|
|
1468
1479
|
const loadAcpBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/acp-binding-runtime"));
|
|
1469
1480
|
const loadSessionBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/session-binding-runtime"));
|
|
1470
|
-
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-
|
|
1471
|
-
const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-
|
|
1481
|
+
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-B8JhmXYM.mjs"));
|
|
1482
|
+
const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-B1hQ9Mgx.mjs"));
|
|
1472
1483
|
async function matrixTextWouldActivateMentions(client, text) {
|
|
1473
1484
|
const { resolveMatrixMentionsForBody } = await loadMatrixSendModule();
|
|
1474
1485
|
const mentions = await resolveMatrixMentionsForBody({
|
|
@@ -3131,7 +3142,7 @@ function createMatrixRoomMessageHandler(params) {
|
|
|
3131
3142
|
const readIngressPrefix = async () => {
|
|
3132
3143
|
const selfUserId = await client.getUserId();
|
|
3133
3144
|
if (senderId === selfUserId) return;
|
|
3134
|
-
const content = locationContent;
|
|
3145
|
+
const content = resolveMatrixCurrentContent(locationContent);
|
|
3135
3146
|
if (eventType === EventType.RoomMessage && isMatrixVerificationRoomMessage({
|
|
3136
3147
|
msgtype: content.msgtype,
|
|
3137
3148
|
body: content.body
|
|
@@ -3526,9 +3537,9 @@ function shouldPromoteRecentInviteRoom(params) {
|
|
|
3526
3537
|
}
|
|
3527
3538
|
// extensions/matrix/src/matrix/monitor/startup.ts
|
|
3528
3539
|
const loadMatrixStartupMaintenanceDeps = createLazyRuntimeModule(() => Promise.all([
|
|
3529
|
-
import("./setup-core-
|
|
3540
|
+
import("./setup-core-BRD4PRVa.mjs").then((n) => n.f),
|
|
3530
3541
|
import("./device-health-D7n-lPeb.mjs").then((n) => n.t),
|
|
3531
|
-
import("./setup-core-
|
|
3542
|
+
import("./setup-core-BRD4PRVa.mjs").then((n) => n.u),
|
|
3532
3543
|
import("./startup-verification-DfOuAruK.mjs")
|
|
3533
3544
|
]).then(([configUpdateModule, deviceHealthModule, profileModule, startupVerificationModule]) => ({
|
|
3534
3545
|
updateMatrixAccountConfig: configUpdateModule.updateMatrixAccountConfig,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
2
|
import { i as requiresExplicitMatrixDefaultAccount, u as resolveMatrixEnvAuthReadiness } from "./account-selection-Cow3TMFO.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-BRD4PRVa.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-DesoKUns.mjs";
|
|
7
7
|
import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./deps-CVPT2Ros.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-B3NLls5a.mjs").then((n) => n.n);
|
|
91
91
|
const results = await resolveMatrixTargets({
|
|
92
92
|
cfg,
|
|
93
93
|
accountId,
|
|
@@ -192,7 +192,7 @@ async function runMatrixConfigure(params) {
|
|
|
192
192
|
resolvedIds.push(cleaned);
|
|
193
193
|
continue;
|
|
194
194
|
}
|
|
195
|
-
const { listMatrixDirectoryGroupsLive } = await import("./directory-live-
|
|
195
|
+
const { listMatrixDirectoryGroupsLive } = await import("./directory-live-CQNKUJJx.mjs").then((n) => n.t);
|
|
196
196
|
const matches = await listMatrixDirectoryGroupsLive({
|
|
197
197
|
cfg: accessCfg,
|
|
198
198
|
accountId: selectedAccountId,
|
|
@@ -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-DkjJIQBk.mjs";
|
|
2
|
+
import { i as sendPollMatrix, r as sendMessageMatrix } from "./send-COg4UAcR.mjs";
|
|
3
3
|
import { createMessageReceiptFromOutboundResults, createReplyToFanout, resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-outbound";
|
|
4
4
|
import { chunkMarkdownTextWithMode } from "openclaw/plugin-sdk/reply-chunking";
|
|
5
5
|
import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
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-BRD4PRVa.mjs";
|
|
3
3
|
import { n as resolveMatrixConfigPath } from "./config-paths-DBpHxDyc.mjs";
|
|
4
|
-
import { l as resolveMatrixAuthContext } from "./client-
|
|
5
|
-
import { n as withResolvedActionClient } from "./client-
|
|
4
|
+
import { l as resolveMatrixAuthContext } from "./client-BVgnwwz0.mjs";
|
|
5
|
+
import { n as withResolvedActionClient } from "./client-BgOKS4W7.mjs";
|
|
6
6
|
import { buildOutboundMediaLoadOptions } from "openclaw/plugin-sdk/media-runtime";
|
|
7
7
|
import { resolveOutboundMediaAccessForConfig } from "openclaw/plugin-sdk/outbound-media";
|
|
8
8
|
// extensions/matrix/src/matrix/actions/profile.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
2
|
-
import { a as resolveMatrixInboundRouteAsync, o as resolveMatrixThreadRouting } from "./channel-
|
|
2
|
+
import { a as resolveMatrixInboundRouteAsync, o as resolveMatrixThreadRouting } from "./channel-DkjJIQBk.mjs";
|
|
3
3
|
import { c as extractMatrixReactionAnnotation } from "./send-currentness-D1x6YP9O.mjs";
|
|
4
4
|
import { p as resolveMatrixThreadRootId } from "./direct-management-D59C1WO-.mjs";
|
|
5
5
|
import { i as resolveMatrixApprovalReactionTargetWithPersistence, o as unregisterMatrixApprovalReactionTargetsForApproval } from "./approval-reactions-Bz_8XB01.mjs";
|
|
@@ -8,9 +8,9 @@ import { isApprovalNotFoundError } from "openclaw/plugin-sdk/error-runtime";
|
|
|
8
8
|
import { normalizeAccountId } from "openclaw/plugin-sdk/routing";
|
|
9
9
|
import { getSessionBindingService } from "openclaw/plugin-sdk/session-binding-runtime";
|
|
10
10
|
// extensions/matrix/src/matrix/monitor/reaction-events.ts
|
|
11
|
-
const loadApprovalReactionAuth = createLazyRuntimeModule(() => import("./channel-
|
|
11
|
+
const loadApprovalReactionAuth = createLazyRuntimeModule(() => import("./channel-DkjJIQBk.mjs").then((n) => n.s));
|
|
12
12
|
const loadExecApprovalResolver = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/approval-gateway-runtime"));
|
|
13
|
-
const loadMatrixSend = createLazyRuntimeModule(() => import("./send-
|
|
13
|
+
const loadMatrixSend = createLazyRuntimeModule(() => import("./send-COg4UAcR.mjs").then((n) => n.s));
|
|
14
14
|
function buildMatrixApprovalTerminalText(result) {
|
|
15
15
|
const approval = result.approval;
|
|
16
16
|
const terminalLabel = approval.status === "allowed" ? approval.decision === "allow-always" ? "Allowed always" : "Allowed once" : approval.status === "denied" ? "Denied" : approval.status === "expired" ? "Expired" : "Cancelled";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-
|
|
3
|
+
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-CQNKUJJx.mjs";
|
|
4
4
|
import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
// extensions/matrix/src/resolve-targets.ts
|
|
6
6
|
var resolve_targets_exports = /* @__PURE__ */ __exportAll({ resolveMatrixTargets: () => resolveMatrixTargets });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as setBoundedMap } from "./send-COg4UAcR.mjs";
|
|
2
2
|
import { n as isMatrixNotFoundError } from "./errors-CL3YJV8U.mjs";
|
|
3
|
-
import { s as EventType } from "./messages-
|
|
4
|
-
import { r as withResolvedRoomAction } from "./client-
|
|
3
|
+
import { s as EventType } from "./messages-DSS3EtqP.mjs";
|
|
4
|
+
import { r as withResolvedRoomAction } from "./client-BgOKS4W7.mjs";
|
|
5
5
|
import { filterStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
// extensions/matrix/src/matrix/actions/room.ts
|
|
7
7
|
async function getMatrixMemberInfo(userId, opts) {
|
|
@@ -6,12 +6,12 @@ import { n as withMatrixSendCurrentness, r as withoutMatrixSendCurrentness, t as
|
|
|
6
6
|
import { i as parseMxc, r as matrixEventToRaw } from "./event-helpers-DDUjVVf7.mjs";
|
|
7
7
|
import { n as isMatrixNotFoundError, t as formatMatrixErrorReason } from "./errors-CL3YJV8U.mjs";
|
|
8
8
|
import { a as isMatrixAccessTokenInvalidatedError, c as resolveMatrixLocalTimeoutMs, i as createMatrixExplicitBootstrapOptions, l as unresolvedMatrixDeviceVerificationStatus, n as MATRIX_INITIAL_CRYPTO_BOOTSTRAP_OPTIONS, o as resolveMatrixDiagnostic, r as MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS, s as resolveMatrixDiagnosticResult, t as MATRIX_AUTOMATIC_REPAIR_BOOTSTRAP_OPTIONS, u as unresolvedMatrixRoomKeyBackupStatus } from "./client-support-CqXAOZp3.mjs";
|
|
9
|
-
import { i as createMatrixStartupAbortError, o as throwIfMatrixStartupAborted, r as awaitMatrixStartupWithAbort } from "./client-
|
|
9
|
+
import { i as createMatrixStartupAbortError, o as throwIfMatrixStartupAborted, r as awaitMatrixStartupWithAbort } from "./client-BVgnwwz0.mjs";
|
|
10
10
|
import { r as createMatrixGuardedFetch, t as MatrixAuthedHttpClient } from "./http-client-CqnKFKUH.mjs";
|
|
11
|
+
import { t as acquireMatrixCryptoStoreOwnership } from "./crypto-store-ownership-DPO9WcVz.mjs";
|
|
11
12
|
import { n as resolveMatrixRoomKeyBackupReadinessError } from "./backup-health-BxH69np2.mjs";
|
|
12
13
|
import { r as noop, t as LogService } from "./logger-B9TwnY6C.mjs";
|
|
13
14
|
import { t as createMatrixJsSdkClientLogger } from "./logging-Bnsn7s4r.mjs";
|
|
14
|
-
import { t as acquireMatrixCryptoStoreOwnership } from "./crypto-store-ownership-DPO9WcVz.mjs";
|
|
15
15
|
import { n as isMatrixReadySyncState, r as isMatrixTerminalSyncState } from "./sync-state-Cu1nagBV.mjs";
|
|
16
16
|
import { t as MATRIX_IDB_PERSIST_INTERVAL_MS } from "./idb-persistence-lock-CH2K6d_3.mjs";
|
|
17
17
|
import { createRequire } from "node:module";
|
|
@@ -773,7 +773,7 @@ var MatrixSendScheduler = class extends MatrixScheduler {
|
|
|
773
773
|
// extensions/matrix/src/matrix/sdk/client-base.ts
|
|
774
774
|
const MATRIX_ENCRYPTED_STARTUP_TIMEOUT_MS = 6e4;
|
|
775
775
|
let loadedMatrixCryptoRuntime = null;
|
|
776
|
-
const loadMatrixCryptoRuntime = createLazyRuntimeModule(() => import("./crypto-runtime-
|
|
776
|
+
const loadMatrixCryptoRuntime = createLazyRuntimeModule(() => import("./crypto-runtime-tZ95jwNO.mjs").then((runtime) => {
|
|
777
777
|
loadedMatrixCryptoRuntime = runtime;
|
|
778
778
|
return runtime;
|
|
779
779
|
}));
|
|
@@ -25,7 +25,7 @@ import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-run
|
|
|
25
25
|
import MarkdownIt from "markdown-it";
|
|
26
26
|
import { isAutoLinkedFileRef } from "openclaw/plugin-sdk/text-autolink-runtime";
|
|
27
27
|
// extensions/matrix/src/matrix/send/client.ts
|
|
28
|
-
const loadMatrixSendClientRuntime = createLazyRuntimeModule(() => import("./client-bootstrap-
|
|
28
|
+
const loadMatrixSendClientRuntime = createLazyRuntimeModule(() => import("./client-bootstrap-CHs5OQ1Z.mjs"));
|
|
29
29
|
function resolveMediaMaxBytes(accountId, cfg) {
|
|
30
30
|
const mediaMaxMb = resolveMatrixAccountConfig({
|
|
31
31
|
cfg,
|
|
@@ -411,7 +411,7 @@ function getTextContent(text) {
|
|
|
411
411
|
return normalizeOptionalString(value) ?? "";
|
|
412
412
|
}
|
|
413
413
|
function parsePollStart(content) {
|
|
414
|
-
const poll = content["
|
|
414
|
+
const poll = content[M_POLL_START] ?? content["org.matrix.msc3381.poll.start"] ?? content["m.poll"];
|
|
415
415
|
if (!poll) return null;
|
|
416
416
|
const question = getTextContent(poll.question);
|
|
417
417
|
if (!question) return null;
|
|
@@ -447,7 +447,7 @@ function resolvePollReferenceEventId(content) {
|
|
|
447
447
|
}
|
|
448
448
|
function parsePollResponseAnswerIds(content) {
|
|
449
449
|
if (!content || typeof content !== "object") return null;
|
|
450
|
-
const response = content[M_POLL_RESPONSE] ?? content[
|
|
450
|
+
const response = content[M_POLL_RESPONSE] ?? content["org.matrix.msc3381.poll.response"];
|
|
451
451
|
if (!response || !Array.isArray(response.answers)) return null;
|
|
452
452
|
return response.answers.filter((answer) => typeof answer === "string");
|
|
453
453
|
}
|
|
@@ -532,9 +532,9 @@ function buildPollStartContent(poll) {
|
|
|
532
532
|
const isMultiple = normalized.maxSelections > 1;
|
|
533
533
|
const fallbackText = `${normalized.question}\n${normalized.options.map((option, idx) => `${idx + 1}. ${option}`).join("\n")}`;
|
|
534
534
|
return {
|
|
535
|
-
[
|
|
535
|
+
[ORG_POLL_START]: {
|
|
536
536
|
question: buildTextContent$1(normalized.question),
|
|
537
|
-
kind: isMultiple ? "
|
|
537
|
+
kind: isMultiple ? "org.matrix.msc3381.poll.undisclosed" : "org.matrix.msc3381.poll.disclosed",
|
|
538
538
|
max_selections: normalized.maxSelections,
|
|
539
539
|
answers
|
|
540
540
|
},
|
|
@@ -1827,7 +1827,7 @@ async function sendPollMatrix(to, poll, opts) {
|
|
|
1827
1827
|
} : { ...pollContent };
|
|
1828
1828
|
pollPayload["m.mentions"] = mentions;
|
|
1829
1829
|
return {
|
|
1830
|
-
eventId: await client.sendEvent(roomId, "
|
|
1830
|
+
eventId: await client.sendEvent(roomId, "org.matrix.msc3381.poll.start", pollPayload) ?? "unknown",
|
|
1831
1831
|
roomId
|
|
1832
1832
|
};
|
|
1833
1833
|
});
|
|
@@ -1953,4 +1953,4 @@ async function reactMatrixMessage(roomId, messageId, emoji, opts = {}) {
|
|
|
1953
1953
|
await resolved.sendEvent(resolvedRoom, EventType.Reaction, reaction);
|
|
1954
1954
|
});
|
|
1955
1955
|
}
|
|
1956
|
-
export {
|
|
1956
|
+
export { reconcileMatrixUnknownSend as C, cleanupMatrixDeliveryPlans as S, setBoundedMap as T, formatPollResultsAsText as _, sendSingleTextMessageMatrix as a, parsePollStart as b, formatMatrixMessageText as c, resolveMatrixReplacementContent as d, prepareMatrixSingleText as f, formatPollAsText as g, buildPollResultsSummary as h, sendPollMatrix as i, isLikelyBareFilename as l, buildPollResponseContent as m, reactMatrixMessage as n, sendTypingMatrix as o, ORG_POLL_RESPONSE as p, sendMessageMatrix as r, send_exports as s, editMessageMatrix as t, resolveMatrixMessageAttachment as u, isPollEventType as v, resolveMatrixRoomId as w, resolvePollReferenceEventId as x, isPollStartType as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig, n as hasExplicitMatrixAccountConfig } from "./account-config-CVM2a28p.mjs";
|
|
2
|
-
import "./setup-core-
|
|
3
|
-
import { n as bootstrapMatrixVerification } from "./verification-
|
|
2
|
+
import "./setup-core-BRD4PRVa.mjs";
|
|
3
|
+
import { n as bootstrapMatrixVerification } from "./verification-DIxfxgMv.mjs";
|
|
4
4
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
// extensions/matrix/src/setup-bootstrap.ts
|
|
6
6
|
async function maybeBootstrapNewEncryptedMatrixAccount(params) {
|
|
@@ -523,7 +523,7 @@ function createMatrixSetupWizardProxy(loadWizardModule) {
|
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
525
|
const finishMatrixSetupAfterConfigWrite = async ({ previousCfg, cfg, accountId, runtime }) => {
|
|
526
|
-
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-
|
|
526
|
+
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-DCCxNvFW.mjs");
|
|
527
527
|
await runMatrixSetupBootstrapAfterConfigWrite({
|
|
528
528
|
previousCfg,
|
|
529
529
|
cfg,
|
|
@@ -3,7 +3,7 @@ import { a as listBindingsForAccount, c as setBindingRecord, d as setMatrixThrea
|
|
|
3
3
|
import { r as assertMatrixSupportedStateFile } from "./retired-state-BsxdpJNk.mjs";
|
|
4
4
|
import { n as resolveMatrixSqliteStateKey, t as resolveMatrixSqliteStateEnv } from "./sqlite-state-D6Zpz1q1.mjs";
|
|
5
5
|
import { a as resolveMatrixStateFilePath, t as claimCurrentTokenStorageState } from "./storage-CCarF_gm.mjs";
|
|
6
|
-
import { r as sendMessageMatrix } from "./send-
|
|
6
|
+
import { r as sendMessageMatrix } from "./send-COg4UAcR.mjs";
|
|
7
7
|
import { asOptionalObjectRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { resolveOptionalIntegerOption } from "openclaw/plugin-sdk/number-runtime";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig, o as resolveMatrixBaseConfig } from "./account-config-CVM2a28p.mjs";
|
|
2
|
-
import { g as resolveDefaultMatrixAccountId } from "./setup-core-
|
|
3
|
-
import { i as resolveMatrixRoomConfig } from "./channel-
|
|
2
|
+
import { g as resolveDefaultMatrixAccountId } from "./setup-core-BRD4PRVa.mjs";
|
|
3
|
+
import { i as resolveMatrixRoomConfig } from "./channel-DkjJIQBk.mjs";
|
|
4
4
|
import { a as normalizeMatrixResolvableTarget } from "./target-ids-DltG_ZHJ.mjs";
|
|
5
5
|
import { l as selectOwnMatrixReactionEventIds, s as buildMatrixReactionRelationsPath, u as summarizeMatrixReactionEvents } from "./send-currentness-D1x6YP9O.mjs";
|
|
6
6
|
import { c as isStrictDirectMembership, s as hasDirectMatrixMemberFlag, u as readJoinedMatrixMembers } from "./direct-management-D59C1WO-.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { b as parsePollStart, m as buildPollResponseContent, n as reactMatrixMessage, r as sendMessageMatrix, w as resolveMatrixRoomId, y as isPollStartType } from "./send-COg4UAcR.mjs";
|
|
8
8
|
import { i as parseMxc } from "./event-helpers-DDUjVVf7.mjs";
|
|
9
|
-
import { l as resolveMatrixAuthContext } from "./client-
|
|
10
|
-
import { a as fetchEventSummary, c as resolveMatrixActionLimit, i as readMatrixMessages, n as editMatrixMessage, o as readPinnedEvents, r as readMatrixMessage, s as EventType, t as deleteMatrixMessage } from "./messages-
|
|
11
|
-
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-
|
|
12
|
-
import { t as applyMatrixProfileUpdate } from "./profile-update-
|
|
13
|
-
import { _ as scanMatrixVerificationQr, a as confirmMatrixVerificationSas, b as verifyMatrixRecoveryKey, c as getMatrixRoomKeyBackupStatus, d as listMatrixVerifications, f as mismatchMatrixVerificationSas, h as restoreMatrixRoomKeyBackup, i as confirmMatrixVerificationReciprocateQr, l as getMatrixVerificationSas, n as bootstrapMatrixVerification, o as generateMatrixVerificationQr, p as requestMatrixVerification, r as cancelMatrixVerification, s as getMatrixEncryptionStatus, t as acceptMatrixVerification, u as getMatrixVerificationStatus, v as startMatrixVerification } from "./verification-
|
|
14
|
-
import { n as getMatrixMemberInfo, r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-
|
|
9
|
+
import { l as resolveMatrixAuthContext } from "./client-BVgnwwz0.mjs";
|
|
10
|
+
import { a as fetchEventSummary, c as resolveMatrixActionLimit, i as readMatrixMessages, n as editMatrixMessage, o as readPinnedEvents, r as readMatrixMessage, s as EventType, t as deleteMatrixMessage } from "./messages-DSS3EtqP.mjs";
|
|
11
|
+
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-BgOKS4W7.mjs";
|
|
12
|
+
import { t as applyMatrixProfileUpdate } from "./profile-update-DP-a-BxL.mjs";
|
|
13
|
+
import { _ as scanMatrixVerificationQr, a as confirmMatrixVerificationSas, b as verifyMatrixRecoveryKey, c as getMatrixRoomKeyBackupStatus, d as listMatrixVerifications, f as mismatchMatrixVerificationSas, h as restoreMatrixRoomKeyBackup, i as confirmMatrixVerificationReciprocateQr, l as getMatrixVerificationSas, n as bootstrapMatrixVerification, o as generateMatrixVerificationQr, p as requestMatrixVerification, r as cancelMatrixVerification, s as getMatrixEncryptionStatus, t as acceptMatrixVerification, u as getMatrixVerificationStatus, v as startMatrixVerification } from "./verification-DIxfxgMv.mjs";
|
|
14
|
+
import { n as getMatrixMemberInfo, r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-gld8p2j7.mjs";
|
|
15
15
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
16
16
|
import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeUniqueTrimmedStringList, uniqueValues } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
17
17
|
import { ToolAuthorizationError, createActionGate, jsonResult, readPositiveIntegerParam, readReactionParams, readStringArrayParam, readStringParam } from "openclaw/plugin-sdk/channel-actions";
|
|
@@ -76,7 +76,7 @@ async function voteMatrixPoll(roomId, pollId, opts = {}) {
|
|
|
76
76
|
const maxSelections = parsed.maxSelections;
|
|
77
77
|
const content = buildPollResponseContent(pollId, answerIds);
|
|
78
78
|
return {
|
|
79
|
-
eventId: await client.sendEvent(resolvedRoom, "
|
|
79
|
+
eventId: await client.sendEvent(resolvedRoom, "org.matrix.msc3381.poll.response", content) ?? null,
|
|
80
80
|
roomId: resolvedRoom,
|
|
81
81
|
pollId,
|
|
82
82
|
answerIds,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./runtime-doctor-migrations-CSvRANPN.mjs";
|
|
2
|
-
import { i as withStartedActionClient, n as withResolvedActionClient } from "./client-
|
|
2
|
+
import { i as withStartedActionClient, n as withResolvedActionClient } from "./client-BgOKS4W7.mjs";
|
|
3
3
|
import { n as formatMatrixEncryptionUnavailableError } from "./encryption-guidance-DfbEaKct.mjs";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"api.js","source":"extensions/matrix/api.ts"},{"output":"auth-presence.js","source":"extensions/matrix/auth-presence.ts"},{"output":"channel-plugin-api.js","source":"extensions/matrix/channel-plugin-api.ts"},{"output":"cli-metadata.js","source":"extensions/matrix/cli-metadata.ts"},{"output":"contract-api.js","source":"extensions/matrix/contract-api.ts"},{"output":"doctor-contract-api.js","source":"extensions/matrix/doctor-contract-api.ts"},{"output":"helper-api.js","source":"extensions/matrix/helper-api.ts"},{"output":"index.js","source":"extensions/matrix/index.ts"},{"output":"plugin-entry.handlers.runtime.js","source":"extensions/matrix/plugin-entry.handlers.runtime.ts"},{"output":"runtime-api.js","source":"extensions/matrix/runtime-api.ts"},{"output":"runtime-setter-api.js","source":"extensions/matrix/runtime-setter-api.ts"},{"output":"secret-contract-api.js","source":"extensions/matrix/secret-contract-api.ts"},{"output":"session-binding-contract-api.js","source":"extensions/matrix/session-binding-contract-api.ts"},{"output":"setup-entry.js","source":"extensions/matrix/setup-entry.ts"},{"output":"setup-plugin-api.js","source":"extensions/matrix/setup-plugin-api.ts"},{"output":"subagent-hooks-api.js","source":"extensions/matrix/subagent-hooks-api.ts"},{"output":"thread-binding-api.js","source":"extensions/matrix/thread-binding-api.ts"},{"output":"thread-bindings-runtime.js","source":"extensions/matrix/thread-bindings-runtime.ts"}],"chunks":[{"output":".setup/account-config-CVM2a28p.mjs","sha256":"f5204e40d7afd45090bdfcc755d4f93c84b2db436d6d7f9a6623e9e2c013e717","facadeSource":null,"sources":["extensions/matrix/src/matrix/account-config.ts"]},{"output":".setup/account-selection-Cow3TMFO.mjs","sha256":"8690ad244b2693ea33ea8d28a786f43c5d080d5aed0f81f2b91d940167d3e8a5","facadeSource":null,"sources":["extensions/matrix/src/account-selection.ts","extensions/matrix/src/auth-precedence.ts","extensions/matrix/src/matrix/client/env-auth.ts"]},{"output":".setup/approval-handler.runtime-D7KO6ds_.mjs","sha256":"cbd595b949045aa0428f300a8fea15a6ad8b7e40d0029946afd972ac7706c0fe","facadeSource":"extensions/matrix/src/approval-handler.runtime.ts","sources":["extensions/matrix/src/approval-handler.runtime.ts"]},{"output":".setup/approval-reactions-Bz_8XB01.mjs","sha256":"c407fbf232cae81f520c07d771563df8ad04439a3e6ec46b8f82c085e821cb81","facadeSource":null,"sources":["extensions/matrix/src/approval-reactions.ts"]},{"output":".setup/backup-health-BxH69np2.mjs","sha256":"c1ae79142d5bdeb8ec2b301c9557c934a384f6fc6df9494212bfdc3c42ec267e","facadeSource":null,"sources":["extensions/matrix/src/matrix/backup-health.ts"]},{"output":".setup/channel-BJGiol_v.mjs","sha256":"9da0349085696b9a8b006d91250c6b1045e96d41109aa5e6420cbfaf0d04afe9","facadeSource":null,"sources":["extensions/matrix/src/actions.ts","extensions/matrix/src/approval-native.ts","extensions/matrix/src/approval-reaction-auth.ts","extensions/matrix/src/channel.ts","extensions/matrix/src/matrix/conversation-route-owner.ts","extensions/matrix/src/matrix/monitor/rooms.ts","extensions/matrix/src/matrix/monitor/route.ts","extensions/matrix/src/matrix/monitor/threads.ts","extensions/matrix/src/matrix/session-store-metadata.ts","extensions/matrix/src/presentation-capabilities.ts","extensions/matrix/src/session-route.ts"]},{"output":".setup/channel.runtime-BrSYy4Qm.mjs","sha256":"e74c24cea5c1b2d68fdfe47a663f4b2297c4437122ae9a7968f9ddf3ea90bca2","facadeSource":"extensions/matrix/src/channel.runtime.ts","sources":["extensions/matrix/src/channel.runtime.ts","extensions/matrix/src/matrix/probe.ts"]},{"output":".setup/channel.setup-DJdvsvAL.mjs","sha256":"78ba1800b24dec0a53079d7ce5677176008e9fc5f7bdcbe57bc734a199df8d2b","facadeSource":null,"sources":["extensions/matrix/src/channel.setup.ts","extensions/matrix/src/config-schema.ts","extensions/matrix/src/matrix/monitor/allowlist.ts"]},{"output":".setup/cli-CjjggD1Y.mjs","sha256":"8b1888b15169af2a233596121d5edacbd80b97964c29fbd1f3d11c8436ce0511","facadeSource":"extensions/matrix/src/cli.ts","sources":["extensions/matrix/src/cli-account.ts","extensions/matrix/src/cli-direct.ts","extensions/matrix/src/cli-doctor.ts","extensions/matrix/src/cli-encryption.ts","extensions/matrix/src/cli-shared.ts","extensions/matrix/src/cli-verification-backup.ts","extensions/matrix/src/cli-verification.ts","extensions/matrix/src/cli.ts","extensions/matrix/src/matrix/actions/devices.ts"]},{"output":".setup/cli-metadata-nnz3uf_k.mjs","sha256":"d5046e81f118bd832addb1697eb719431f3e54c48d4061c66daefcc884eb785d","facadeSource":null,"sources":["extensions/matrix/cli-metadata.ts","extensions/matrix/src/cli-metadata.ts"]},{"output":".setup/client-bootstrap-CvbnV_7R.mjs","sha256":"f396f017fe0e05cff7a8609aba9a9b2e61fa8dfefc346556f93608acdfcb8f19","facadeSource":"extensions/matrix/src/matrix/client-bootstrap.ts","sources":["extensions/matrix/src/matrix/client-bootstrap.ts"]},{"output":".setup/client-DIeTvz6C.mjs","sha256":"2120f7bc812a7f0d9ea5a52635a5e2de882c1a815c7047050f9cb159bdeaa878","facadeSource":null,"sources":["extensions/matrix/src/matrix/client.ts","extensions/matrix/src/matrix/client/auth-request.ts","extensions/matrix/src/matrix/client/config.ts","extensions/matrix/src/matrix/client/shared.ts","extensions/matrix/src/matrix/startup-abort.ts"]},{"output":".setup/client-support-CqXAOZp3.mjs","sha256":"cc80516e6cf52d8d3a16b14f2b69c0d997fd3200a0270535d2b73b6098eecc67","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/client-support.ts"]},{"output":".setup/client-uAX074II.mjs","sha256":"32b00d2222bb9ab96609ae0a5e0129c04dc1b13ff1c385abbf14c7fabadcb98a","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/client.ts"]},{"output":".setup/config-paths-DBpHxDyc.mjs","sha256":"5a7d22977511ff3d67b5962c2a20b7404a92be89eadea06e933bbb95732bb0dc","facadeSource":null,"sources":["extensions/matrix/src/matrix/config-paths.ts"]},{"output":".setup/create-client-XL9SKJ2s.mjs","sha256":"68f0ea22f4639d4c46e9a1336b476570dc3e1474b6a8cc308ca4d1ba23fb1fab","facadeSource":"extensions/matrix/src/matrix/client/create-client.ts","sources":["extensions/matrix/src/matrix/client/create-client.ts"]},{"output":".setup/credentials-CGgWuhFV.mjs","sha256":"745c0dad4204be88682f834140b1bb100e4cb641a6b1ebd54d49d0d6597e0d5c","facadeSource":"extensions/matrix/src/matrix/credentials.ts","sources":["extensions/matrix/src/matrix/credentials.ts"]},{"output":".setup/credentials-read-rPqEpuxv.mjs","sha256":"b2785f610450e77537f0461c71452eb7fca6de136b18b41b3f37147c85a758d3","facadeSource":null,"sources":["extensions/matrix/src/matrix/credentials-read.ts"]},{"output":".setup/credentials-state-jxq29yQw.mjs","sha256":"b78814f079e578709ba702c1d229524aecf5fdd4ce1458666ba81257f5f21ee8","facadeSource":null,"sources":["extensions/matrix/src/matrix/credentials-state.ts"]},{"output":".setup/crypto-node.runtime-E_hqXGxm.mjs","sha256":"ddb276adcdfcc6a9be133c55032a5b2f7fef902dcfac7106ad62fbc345db24c7","facadeSource":"extensions/matrix/src/matrix/sdk/crypto-node.runtime.ts","sources":["extensions/matrix/src/matrix/sdk/crypto-node.runtime.ts"]},{"output":".setup/crypto-runtime-D96thr_g.mjs","sha256":"b55de6715a1c1c1647df93c54679414ef9c8b96d5883668f66144f86427eeaeb","facadeSource":"extensions/matrix/src/matrix/sdk/crypto-runtime.ts","sources":["extensions/matrix/src/matrix/sdk/crypto-bootstrap.ts","extensions/matrix/src/matrix/sdk/crypto-facade.ts","extensions/matrix/src/matrix/sdk/decrypt-bridge.ts","extensions/matrix/src/matrix/sdk/indexeddb-session.ts","extensions/matrix/src/matrix/sdk/verification-manager.ts"]},{"output":".setup/crypto-state-store-CzAmeC_Z.mjs","sha256":"1e51fac57028ad1c66ebde417402148babe59135b284c9ebb2ad265f42d5b055","facadeSource":null,"sources":["extensions/matrix/src/matrix/crypto-state-store.ts"]},{"output":".setup/crypto-store-ownership-DPO9WcVz.mjs","sha256":"cafd1504fd3641ba55149f1772c866aca4b44954a14b73b7e610ef8877691a2e","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/crypto-store-ownership.ts"]},{"output":".setup/crypto-unsafe-state-doctor-CkhtP1mQ.mjs","sha256":"e02641d957dcb7c21129d8775fa5919a3a1d555d7ceb5acc206a3b3e54e72ce9","facadeSource":null,"sources":["extensions/matrix/src/matrix/crypto-unsafe-state-doctor.ts"]},{"output":".setup/deps-CVPT2Ros.mjs","sha256":"623c3dc6bbe06aeee9c7d9340f4bbc16057c81b02341ca1fa42b93e56191690b","facadeSource":null,"sources":["extensions/matrix/src/matrix/deps.ts"]},{"output":".setup/device-health-D7n-lPeb.mjs","sha256":"03b82041bfe4e30dfcaf7445477a6aad9ef3e43a9ef4caf40d0a88b428510991","facadeSource":null,"sources":["extensions/matrix/src/matrix/device-health.ts"]},{"output":".setup/direct-management-D59C1WO-.mjs","sha256":"2ec818ebdc0151d17a7749054ff8ade4a9abcac78f72367a11fbca0352e6080e","facadeSource":null,"sources":["extensions/matrix/src/matrix/direct-management.ts","extensions/matrix/src/matrix/direct-room.ts","extensions/matrix/src/matrix/relations.ts","extensions/matrix/src/matrix/send/types.ts"]},{"output":".setup/directory-live-5RgaKKuc.mjs","sha256":"a1dcddec65223e8fa1f846846d4dfafb0419290f10f23f913e4d32a918abef09","facadeSource":null,"sources":["extensions/matrix/src/directory-live.ts"]},{"output":".setup/doctor-contract-GiXgCj7k.mjs","sha256":"f82e1700162e8189ac39dd50ddb82a54d93c1b200ed741549e44f44ce153fe28","facadeSource":null,"sources":["extensions/matrix/src/doctor-contract.ts"]},{"output":".setup/draft-stream-CjEpElZ-.mjs","sha256":"03598de5afe6f31e00319badb29a6b95170d13c4b4230c57072fa5792723ed8a","facadeSource":"extensions/matrix/src/matrix/draft-stream.ts","sources":["extensions/matrix/src/matrix/draft-stream.ts"]},{"output":".setup/encryption-guidance-DfbEaKct.mjs","sha256":"43ffb996c459ecbc0df985d9d2d877403a4ece6fd9c8b01c420bfe008d8219b8","facadeSource":null,"sources":["extensions/matrix/src/matrix/encryption-guidance.ts"]},{"output":".setup/env-vars-Bh1iOXJ1.mjs","sha256":"4341667836e63146059f5c136f51216999b85a75fd2ced74856cdbb995f41183","facadeSource":null,"sources":["extensions/matrix/src/env-vars.ts"]},{"output":".setup/errors-CL3YJV8U.mjs","sha256":"3b2d027e8e8f513f95a8e0a2bfd505858ba10d2cb5f0ea23063ddedab1d32dc4","facadeSource":null,"sources":["extensions/matrix/src/matrix/errors.ts"]},{"output":".setup/event-helpers-DDUjVVf7.mjs","sha256":"86b55cc22e86e2b7805e0c956b6f2267d144ec5285e7df51f6f8fa78f9a71c80","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/event-helpers.ts"]},{"output":".setup/exec-approvals-DcQS_LNp.mjs","sha256":"e908fb8314f45e5b4ef2ebfdb1e98523bfd2d46be20af9139c7b29fdf49f519d","facadeSource":null,"sources":["extensions/matrix/src/approval-auth.ts","extensions/matrix/src/approval-ids.ts","extensions/matrix/src/exec-approvals.ts"]},{"output":".setup/file-sync-store-CAhnwOPA.mjs","sha256":"18e7993be862d99cb841a7ee08752b2ea5c01a24aa7c0d4c00f7bb88d8e94a87","facadeSource":"extensions/matrix/src/matrix/client/file-sync-store.ts","sources":["extensions/matrix/src/matrix/client/file-sync-store.ts"]},{"output":".setup/http-client-CqnKFKUH.mjs","sha256":"21860d979de47344ab8b9a639c27b3b19c461f265b10c21661daac5919a4d274","facadeSource":null,"sources":["extensions/matrix/src/matrix/media-errors.ts","extensions/matrix/src/matrix/sdk/http-client.ts","extensions/matrix/src/matrix/sdk/transport.ts"]},{"output":".setup/idb-persistence-DeGUs--C.mjs","sha256":"4ce777598fd002fcd8d7087cd34199386cf00069dea0b5fd79e947d3df823514","facadeSource":"extensions/matrix/src/matrix/sdk/idb-persistence.ts","sources":["extensions/matrix/src/matrix/sdk/idb-persistence.ts"]},{"output":".setup/idb-persistence-lock-CH2K6d_3.mjs","sha256":"146acb3f24c2cf22e21e3118745cd4995db154e9d996c38802699067e2d1f774","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/idb-persistence-lock.ts"]},{"output":".setup/joined-room-encryption-9sJK1kM-.mjs","sha256":"1edbc6dbf9dc382528166b97cb54c4701867b7ca2e874ae5839791ff71325a2f","facadeSource":"extensions/matrix/src/matrix/sdk/joined-room-encryption.ts","sources":["extensions/matrix/src/matrix/sdk/joined-room-encryption.ts"]},{"output":".setup/logger-B9TwnY6C.mjs","sha256":"d917dd664e73d2b9466aa35b1e0c6d617f85e6ce9b2d98b32aa15fc221313c44","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/logger.ts"]},{"output":".setup/logging-Bnsn7s4r.mjs","sha256":"9c9b339d009b92004a756fe0dfcce6f36d38b06109aac2f2f3e3e48b41af6100","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/logging.ts"]},{"output":".setup/messages-CmlRhlPp.mjs","sha256":"d028dc4dee2b6892e4d48ab7415ea93a0bc3da3d7e5f2472a862aa81664f53ba","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/limits.ts","extensions/matrix/src/matrix/actions/messages.ts","extensions/matrix/src/matrix/actions/summary.ts","extensions/matrix/src/matrix/actions/types.ts","extensions/matrix/src/matrix/poll-summary.ts"]},{"output":".setup/monitor-DG8yTCh9.mjs","sha256":"d6a1b4193d861cd93689244e695e8a5219c8068536ad09f6a637e9987d06f1b1","facadeSource":"extensions/matrix/src/matrix/monitor/index.ts","sources":["extensions/matrix/src/matrix/monitor/access-state.ts","extensions/matrix/src/matrix/monitor/ack-config.ts","extensions/matrix/src/matrix/monitor/auto-join.ts","extensions/matrix/src/matrix/monitor/config.ts","extensions/matrix/src/matrix/monitor/direct.ts","extensions/matrix/src/matrix/monitor/event-context.ts","extensions/matrix/src/matrix/monitor/events.ts","extensions/matrix/src/matrix/monitor/handler-context.ts","extensions/matrix/src/matrix/monitor/handler-draft-controller.ts","extensions/matrix/src/matrix/monitor/handler-helpers.ts","extensions/matrix/src/matrix/monitor/handler-ingress-access.ts","extensions/matrix/src/matrix/monitor/handler-ingress-content.ts","extensions/matrix/src/matrix/monitor/handler-reply-dispatcher.ts","extensions/matrix/src/matrix/monitor/handler-runtime.ts","extensions/matrix/src/matrix/monitor/handler-state.ts","extensions/matrix/src/matrix/monitor/handler.ts","extensions/matrix/src/matrix/monitor/index.ts","extensions/matrix/src/matrix/monitor/ingress.ts","extensions/matrix/src/matrix/monitor/location.ts","extensions/matrix/src/matrix/monitor/media.ts","extensions/matrix/src/matrix/monitor/mentions.ts","extensions/matrix/src/matrix/monitor/preflight-audio.ts","extensions/matrix/src/matrix/monitor/recent-invite.ts","extensions/matrix/src/matrix/monitor/room-history.ts","extensions/matrix/src/matrix/monitor/startup.ts","extensions/matrix/src/matrix/monitor/status.ts","extensions/matrix/src/matrix/monitor/types.ts","extensions/matrix/src/matrix/monitor/verification-events.ts","extensions/matrix/src/matrix/monitor/verification-utils.ts","src/channels/mention-gating.ts"]},{"output":".setup/onboarding-CY_oesMI.mjs","sha256":"2765c184a331c416a0a8ea75b6ed99e8427d5341a07f3174a804c4200e3cbea1","facadeSource":null,"sources":["extensions/matrix/src/onboarding.ts"]},{"output":".setup/outbound-BY9kS8Kt.mjs","sha256":"bcd7ec381070c4181d6d326d603d9aff1e76e8bcbf6c6f55098590dadfc7f20f","facadeSource":null,"sources":["extensions/matrix/src/outbound.ts"]},{"output":".setup/profile-update-BRugBHSm.mjs","sha256":"a2ffc4730429d6d67a41a824080b3d2e7d5bf6b1db51f07012b8efa1f9236360","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/profile.ts","extensions/matrix/src/profile-update.ts"]},{"output":".setup/reaction-events-B1DQTt9d.mjs","sha256":"3b6aed69516d09540ef7f67a294d8ac18b9173e8a30eaeed8b10c86af00e797c","facadeSource":"extensions/matrix/src/matrix/monitor/reaction-events.ts","sources":["extensions/matrix/src/matrix/monitor/reaction-events.ts"]},{"output":".setup/resolve-targets-CUBvJ37V.mjs","sha256":"1c11175f1f3562d2bd3c553062d2bf0a51e1a747c25075fdb939cc4ad6f16f80","facadeSource":null,"sources":["extensions/matrix/src/resolve-targets.ts"]},{"output":".setup/retired-state-BsxdpJNk.mjs","sha256":"e54495e6aa3b53926a134514cf6600a2ef896f7c216dad7ee211ab0a91652cfb","facadeSource":null,"sources":["extensions/matrix/src/matrix/chunked-state.ts","extensions/matrix/src/matrix/retired-state.ts"]},{"output":".setup/room-info-CJVhaCvB.mjs","sha256":"695eed37a13b505a630289385ad875ba95e96eea9f88872926f5c38cf4a608af","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/room.ts","extensions/matrix/src/matrix/monitor/room-info.ts"]},{"output":".setup/runtime-Ck8TjD7L.mjs","sha256":"52fd67419fec496d2590540c4134d874140ccc2371e1b03a6d64ba2bf94eeee9","facadeSource":null,"sources":["extensions/matrix/src/runtime.ts"]},{"output":".setup/runtime-doctor-migrations-CSvRANPN.mjs","sha256":"0f9941caf2101d12539e47fd11f7da27fd330dd82bf8e80cdc11d8fd81ae2c6f","facadeSource":null,"sources":["packages/normalization-core/src/record-coerce.ts","src/config/channel-config-normalization.ts","src/plugin-sdk/legacy-webhook-listener-migration.ts"]},{"output":".setup/runtime-setter-api-CpwhcBQK.mjs","sha256":"3fc3666527450ca10c6d8a8e2943925be54eb19582cc993de5b4328703653104","facadeSource":"extensions/matrix/runtime-setter-api.ts","sources":[]},{"output":".setup/sdk-CRJQM2N0.mjs","sha256":"2a9518c5544389cc5381f4af5aef96460aa3b77d7dc725f44fd40fa5d4287ce1","facadeSource":"extensions/matrix/src/matrix/sdk.ts","sources":["extensions/matrix/src/matrix/sdk.ts","extensions/matrix/src/matrix/sdk/client-base.ts","extensions/matrix/src/matrix/sdk/client-core.ts","extensions/matrix/src/matrix/sdk/client-crypto-bootstrap.ts","extensions/matrix/src/matrix/sdk/client-event-bridge.ts","extensions/matrix/src/matrix/sdk/client-sync-quiesce.ts","extensions/matrix/src/matrix/sdk/client-sync-ready.ts","extensions/matrix/src/matrix/sdk/client-verification.ts","extensions/matrix/src/matrix/sdk/crypto-store-lifecycle.ts","extensions/matrix/src/matrix/sdk/live-room-readiness.ts","extensions/matrix/src/matrix/sdk/message-wire-dispatch.ts","extensions/matrix/src/matrix/sdk/recovery-key-store.ts","extensions/matrix/src/matrix/sdk/send-scheduler.ts","extensions/matrix/src/matrix/sdk/verification-status.ts"]},{"output":".setup/secret-contract-AKnr45nw.mjs","sha256":"617a011c2e7fd64c14fafd04147e015a4d5e6a078ded37d15872fb5d17350632","facadeSource":null,"sources":["extensions/matrix/src/secret-contract.ts"]},{"output":".setup/secret-contract-api-DMSwMIxd.mjs","sha256":"92dcc07972ed2ccea55fd6ae30a3b98e200dd7d4dead4d8c49e76793140ff447","facadeSource":"extensions/matrix/secret-contract-api.ts","sources":[]},{"output":".setup/send-currentness-D1x6YP9O.mjs","sha256":"dbe3686a7111a68d1414daeef9ce902430a8b9c71d0be60b7fbee8a9b4c04386","facadeSource":null,"sources":["extensions/matrix/src/matrix/reaction-common.ts","extensions/matrix/src/matrix/sdk/send-currentness.ts"]},{"output":".setup/send-QWCT3NT9.mjs","sha256":"0794b8377b0e5c896c74f201b715a172ba1d064b3bd87caf5e20b6f24868114d","facadeSource":null,"sources":["extensions/matrix/src/matrix/delivery-plan.ts","extensions/matrix/src/matrix/format-profile.ts","extensions/matrix/src/matrix/format-spoiler-ranges.ts","extensions/matrix/src/matrix/format-table-ranges.ts","extensions/matrix/src/matrix/format.ts","extensions/matrix/src/matrix/media-text.ts","extensions/matrix/src/matrix/monitor/bounded-cache.ts","extensions/matrix/src/matrix/poll-types.ts","extensions/matrix/src/matrix/send.ts","extensions/matrix/src/matrix/send/chunking.ts","extensions/matrix/src/matrix/send/client.ts","extensions/matrix/src/matrix/send/edit-content.ts","extensions/matrix/src/matrix/send/formatting.ts","extensions/matrix/src/matrix/send/media.ts","extensions/matrix/src/matrix/send/receipt.ts","extensions/matrix/src/matrix/send/targets.ts"]},{"output":".setup/setup-bootstrap-DrBapwjQ.mjs","sha256":"53e6d00fdc3dc558e4e2ae86476f9c988138926ab0f985e74f44de4be65eacb9","facadeSource":"extensions/matrix/src/setup-bootstrap.ts","sources":["extensions/matrix/src/setup-bootstrap.ts"]},{"output":".setup/setup-core-B4sVj_9e.mjs","sha256":"ce4c93d6a7952b7f3c3e63549bc19d83a1e96e50c7a5d0d5cd92be80230306a5","facadeSource":null,"sources":["extensions/matrix/src/matrix/accounts.ts","extensions/matrix/src/matrix/config-update.ts","extensions/matrix/src/matrix/profile.ts","extensions/matrix/src/setup-config.ts","extensions/matrix/src/setup-contract.ts","extensions/matrix/src/setup-core.ts","extensions/matrix/src/setup-dm-policy.ts"]},{"output":".setup/setup-plugin-api-t9yhI-Tq.mjs","sha256":"6878a7b81aa3d177c007ddd90da1b795f7bb50a221594c9279af5bf5392462bf","facadeSource":"extensions/matrix/setup-plugin-api.ts","sources":[]},{"output":".setup/sqlite-state-D6Zpz1q1.mjs","sha256":"04754224b8bfc8b01c69249ba0bd2c027e8cff3dd79140e83ffdd954c61a115e","facadeSource":null,"sources":["extensions/matrix/src/matrix/sqlite-state.ts"]},{"output":".setup/startup-verification-DfOuAruK.mjs","sha256":"5b2b8a64d7af04964266c0ca68b2ea8da3cdf5281d3e14dffd6d7afb5b565c35","facadeSource":"extensions/matrix/src/matrix/monitor/startup-verification.ts","sources":["extensions/matrix/src/matrix/monitor/startup-verification.ts"]},{"output":".setup/state-layout-walk-BqCZTHpp.mjs","sha256":"3e3363c4e0a270cc8a22236c73d0db6756bb920c3d1b1143dc84096886b2200a","facadeSource":null,"sources":["extensions/matrix/src/matrix/state-layout-walk.ts"]},{"output":".setup/storage-CCarF_gm.mjs","sha256":"0d869467b390f8359e751f75271d5904151b86c4b07ea2e6eab74e35824d6392","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/storage-metadata.ts","extensions/matrix/src/matrix/client/storage.ts"]},{"output":".setup/storage-paths-e_Vq6cvw.mjs","sha256":"f3ebcc155754e304f50b036cc2a1fb0753f4ed7805eefd10cfa07db36daa0163","facadeSource":null,"sources":["extensions/matrix/src/storage-paths.ts"]},{"output":".setup/subagent-hooks-BdbuojSv.mjs","sha256":"7e141b100c07706558da907db8f1f0d4cab28c52df24c6a8a8187302200b47a9","facadeSource":"extensions/matrix/src/matrix/subagent-hooks.ts","sources":["extensions/matrix/src/matrix/subagent-hooks.ts"]},{"output":".setup/sync-cache-state-BMvqW4Ii.mjs","sha256":"f48311de42b89b8c34cc6ea43e3921fee2e6a25f56b8514d7d23435995863ba2","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/sync-cache-state.ts"]},{"output":".setup/sync-state-Cu1nagBV.mjs","sha256":"e104ee098bb38a74927701971d7881f85128d1cff139b34fc4ed458564eeb928","facadeSource":null,"sources":["extensions/matrix/src/matrix/sync-state.ts"]},{"output":".setup/target-ids-DltG_ZHJ.mjs","sha256":"e136c59f75e2e2817083207953b4927928ef84193056670597ab716e93b5371f","facadeSource":null,"sources":["extensions/matrix/src/matrix/target-ids.ts"]},{"output":".setup/task-runner-CYyGHdNW.mjs","sha256":"3e02b37663d25e37b5da279d5ac479b959529cf2c44977b753da2a589b84b180","facadeSource":null,"sources":["extensions/matrix/src/matrix/monitor/task-runner.ts"]},{"output":".setup/thread-binding-api-OtSciHmZ.mjs","sha256":"cbe71d260ef8629051715a1900f07c257d346d45cb815d7e0fe80cf6a882d982","facadeSource":null,"sources":["extensions/matrix/src/thread-binding-api.ts"]},{"output":".setup/thread-bindings-jNXWItIL.mjs","sha256":"7352da780015f7c56a5942a0260b139f3b6fd413a6e0eda125b95d4705827da9","facadeSource":null,"sources":["extensions/matrix/src/matrix/thread-bindings-session-adapter.ts","extensions/matrix/src/matrix/thread-bindings.ts"]},{"output":".setup/thread-bindings-shared-DEAGGuDA.mjs","sha256":"6bd51fb2dafe96501f1562ee78d36887428b92441c01f54087dc2f499c939f2e","facadeSource":null,"sources":["extensions/matrix/src/matrix/thread-bindings-shared.ts"]},{"output":".setup/tool-actions-4sdtsvN2.mjs","sha256":"ea0575315103e09bf752fc8b0cec93830e5ceade876bca457cdf4fa37c3f82da","facadeSource":"extensions/matrix/src/tool-actions.ts","sources":["extensions/matrix/src/matrix/actions/pins.ts","extensions/matrix/src/matrix/actions/polls.ts","extensions/matrix/src/matrix/actions/reactions.ts","extensions/matrix/src/matrix/read-policy.ts","extensions/matrix/src/tool-actions.ts"]},{"output":".setup/url-validation-DesoKUns.mjs","sha256":"2bd5ad6798215b929d4121558770f2f13ad9227db3ced81888367fa3ae493f6f","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/url-validation.ts"]},{"output":".setup/verification-DQu-OS0V.mjs","sha256":"b277d6ac1a5969f5d893f9e86877e6de9120a7bd6e18f6659c738d8901b9b40c","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/verification.ts"]},{"output":"api.js","sha256":"63201cdbfb626fdc2ff3dc7c33728e23e57926cd1303a4ef1d870740ecf53d34","facadeSource":"extensions/matrix/api.ts","sources":[]},{"output":"auth-presence.js","sha256":"e1405db5db9cf851e575418c3a2ea929f0a96e5233a6413927978dca302b8add","facadeSource":"extensions/matrix/auth-presence.ts","sources":["extensions/matrix/auth-presence.ts"]},{"output":"channel-plugin-api.js","sha256":"4f10ee2791ebaf08a1c78104fc17be83848b3daa871afb5e1504795c1dd7fd82","facadeSource":"extensions/matrix/channel-plugin-api.ts","sources":[]},{"output":"cli-metadata.js","sha256":"0a4ed1494003710c3871a133157ef837eeeaf724e69e0442dabff13cc5d9426b","facadeSource":"extensions/matrix/cli-metadata.ts","sources":[]},{"output":"contract-api.js","sha256":"e9cca2c5ce8986d3daed461cebd4bc84d451d79793761215fa8b1cafa24903f3","facadeSource":"extensions/matrix/contract-api.ts","sources":[]},{"output":"doctor-contract-api.js","sha256":"3ec5d0723e5f4ade9d2d4914a00fcbc2fcd454bb2647cb8dcd40c4ddc0f4dd95","facadeSource":"extensions/matrix/doctor-contract-api.ts","sources":["extensions/matrix/doctor-contract-api.ts","extensions/matrix/src/matrix/account-state-schema-doctor.ts","extensions/matrix/src/matrix/monitor/inbound-dedupe-migration.ts"]},{"output":"helper-api.js","sha256":"8e1775dfb5e0a762b65bc156b42de68b8693fbfad1db20c11238fe7a3c41b5ca","facadeSource":"extensions/matrix/helper-api.ts","sources":[]},{"output":"index.js","sha256":"069daab610a1560a3124334fa5f05d9d1c1f7b4f84e82232e86579ed69dedc89","facadeSource":"extensions/matrix/index.ts","sources":["extensions/matrix/index.ts"]},{"output":"plugin-entry.handlers.runtime.js","sha256":"6db4a80deeb5a1203994d59c9e3751483b23d1ce9e4550e64f7fc602a7b0acc9","facadeSource":"extensions/matrix/plugin-entry.handlers.runtime.ts","sources":["extensions/matrix/src/plugin-entry.runtime.ts"]},{"output":"runtime-api.js","sha256":"238318e1c3f8bd68490328b28845932598a5a00639d0f1bfacb74b83bca1a5ae","facadeSource":"extensions/matrix/runtime-api.ts","sources":["extensions/matrix/runtime-api.ts"]},{"output":"runtime-setter-api.js","sha256":"2776e19b8b2a030d22df82027a21fdc892196da5ed437dd5d49f706b10341b16","facadeSource":"extensions/matrix/runtime-setter-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"135dd795ed1e531717f0a488c80de046488376601734457d2e5b44c08aee5a19","facadeSource":"extensions/matrix/secret-contract-api.ts","sources":[]},{"output":"session-binding-contract-api.js","sha256":"6c68983609107b6d95596ecfdee3d29aa2452bcf33733fe0496c37f0c6d0f4f5","facadeSource":"extensions/matrix/session-binding-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"3ba4e73443727798cb4c5bff01ffbbc4235b2c9b1472793259ed4c95fdbbcf4f","facadeSource":"extensions/matrix/setup-entry.ts","sources":["extensions/matrix/setup-entry.ts"]},{"output":"setup-plugin-api.js","sha256":"2b6367a0b8b0f623c0dba449eebd92d0d1824c0a6250036218a6ff6fc2eb15f8","facadeSource":"extensions/matrix/setup-plugin-api.ts","sources":[]},{"output":"subagent-hooks-api.js","sha256":"28ceb78374cb2240defd0f811dd0412f03409e0175e5b1efceae533db7d256e2","facadeSource":"extensions/matrix/subagent-hooks-api.ts","sources":["extensions/matrix/subagent-hooks-api.ts"]},{"output":"thread-binding-api.js","sha256":"1ae9f56b988f17d74f8bfc297df5078ba4a2c0424f16966c50322bece914d325","facadeSource":"extensions/matrix/thread-binding-api.ts","sources":[]},{"output":"thread-bindings-runtime.js","sha256":"57bf581df74fcbc7dbdbd5a0b059858620896f3f3f7b8edcb400bdf58905ce1f","facadeSource":"extensions/matrix/thread-bindings-runtime.ts","sources":[]}],"unrenderedSources":["extensions/matrix/api.ts","extensions/matrix/channel-plugin-api.ts","extensions/matrix/config-doctor-api.ts","extensions/matrix/contract-api.ts","extensions/matrix/helper-api.ts","extensions/matrix/plugin-entry.handlers.runtime.ts","extensions/matrix/runtime-setter-api.ts","extensions/matrix/secret-contract-api.ts","extensions/matrix/session-binding-contract-api.ts","extensions/matrix/setup-plugin-api.ts","extensions/matrix/src/matrix/sdk/crypto-runtime.ts","extensions/matrix/thread-binding-api.ts","extensions/matrix/thread-bindings-runtime.ts"]}
|
|
1
|
+
{"version":3,"entries":[{"output":"api.js","source":"extensions/matrix/api.ts"},{"output":"auth-presence.js","source":"extensions/matrix/auth-presence.ts"},{"output":"channel-plugin-api.js","source":"extensions/matrix/channel-plugin-api.ts"},{"output":"cli-metadata.js","source":"extensions/matrix/cli-metadata.ts"},{"output":"contract-api.js","source":"extensions/matrix/contract-api.ts"},{"output":"doctor-contract-api.js","source":"extensions/matrix/doctor-contract-api.ts"},{"output":"helper-api.js","source":"extensions/matrix/helper-api.ts"},{"output":"index.js","source":"extensions/matrix/index.ts"},{"output":"plugin-entry.handlers.runtime.js","source":"extensions/matrix/plugin-entry.handlers.runtime.ts"},{"output":"runtime-api.js","source":"extensions/matrix/runtime-api.ts"},{"output":"runtime-setter-api.js","source":"extensions/matrix/runtime-setter-api.ts"},{"output":"secret-contract-api.js","source":"extensions/matrix/secret-contract-api.ts"},{"output":"session-binding-contract-api.js","source":"extensions/matrix/session-binding-contract-api.ts"},{"output":"setup-entry.js","source":"extensions/matrix/setup-entry.ts"},{"output":"setup-plugin-api.js","source":"extensions/matrix/setup-plugin-api.ts"},{"output":"subagent-hooks-api.js","source":"extensions/matrix/subagent-hooks-api.ts"},{"output":"thread-binding-api.js","source":"extensions/matrix/thread-binding-api.ts"},{"output":"thread-bindings-runtime.js","source":"extensions/matrix/thread-bindings-runtime.ts"}],"chunks":[{"output":".setup/account-config-CVM2a28p.mjs","sha256":"f5204e40d7afd45090bdfcc755d4f93c84b2db436d6d7f9a6623e9e2c013e717","facadeSource":null,"sources":["extensions/matrix/src/matrix/account-config.ts"]},{"output":".setup/account-selection-Cow3TMFO.mjs","sha256":"8690ad244b2693ea33ea8d28a786f43c5d080d5aed0f81f2b91d940167d3e8a5","facadeSource":null,"sources":["extensions/matrix/src/account-selection.ts","extensions/matrix/src/auth-precedence.ts","extensions/matrix/src/matrix/client/env-auth.ts"]},{"output":".setup/approval-handler.runtime-KhjfA3Qm.mjs","sha256":"5f2dd82a0e03432d92f4736792b5d9a4bd44e5a24537df64c1a5d921b8adfe85","facadeSource":"extensions/matrix/src/approval-handler.runtime.ts","sources":["extensions/matrix/src/approval-handler.runtime.ts"]},{"output":".setup/approval-reactions-Bz_8XB01.mjs","sha256":"c407fbf232cae81f520c07d771563df8ad04439a3e6ec46b8f82c085e821cb81","facadeSource":null,"sources":["extensions/matrix/src/approval-reactions.ts"]},{"output":".setup/backup-health-BxH69np2.mjs","sha256":"c1ae79142d5bdeb8ec2b301c9557c934a384f6fc6df9494212bfdc3c42ec267e","facadeSource":null,"sources":["extensions/matrix/src/matrix/backup-health.ts"]},{"output":".setup/channel-DkjJIQBk.mjs","sha256":"3a2434d37075d21a39810b54e85eff82181c0f3e45ebdb10a9795ebea981c7f8","facadeSource":null,"sources":["extensions/matrix/src/actions.ts","extensions/matrix/src/approval-native.ts","extensions/matrix/src/approval-reaction-auth.ts","extensions/matrix/src/channel.ts","extensions/matrix/src/matrix/conversation-route-owner.ts","extensions/matrix/src/matrix/monitor/rooms.ts","extensions/matrix/src/matrix/monitor/route.ts","extensions/matrix/src/matrix/monitor/threads.ts","extensions/matrix/src/matrix/session-store-metadata.ts","extensions/matrix/src/presentation-capabilities.ts","extensions/matrix/src/session-route.ts"]},{"output":".setup/channel.runtime-DOjRmnx0.mjs","sha256":"4dc28ed5704c67b64ede9a3b7c6afc09d4040e598aecec16ab06b53c8baca2f0","facadeSource":"extensions/matrix/src/channel.runtime.ts","sources":["extensions/matrix/src/channel.runtime.ts","extensions/matrix/src/matrix/probe.ts"]},{"output":".setup/channel.setup-tIeMccfh.mjs","sha256":"2a79b4778fd920b9b67504c9ca2413bfa7ab8d56bbd19c070deb03485dfcec50","facadeSource":null,"sources":["extensions/matrix/src/channel.setup.ts","extensions/matrix/src/config-schema.ts","extensions/matrix/src/matrix/monitor/allowlist.ts"]},{"output":".setup/cli-CChA7Tf5.mjs","sha256":"5e4454f0ed128eb51818d38033f50ccd053f76d18171acc883dc3efd72fa34e6","facadeSource":"extensions/matrix/src/cli.ts","sources":["extensions/matrix/src/cli-account.ts","extensions/matrix/src/cli-direct.ts","extensions/matrix/src/cli-encryption.ts","extensions/matrix/src/cli-shared.ts","extensions/matrix/src/cli-verification-backup.ts","extensions/matrix/src/cli-verification.ts","extensions/matrix/src/cli.ts","extensions/matrix/src/matrix/actions/devices.ts"]},{"output":".setup/cli-doctor-CoRX0erj.mjs","sha256":"61d9ca933fecaf7abb7b607445dac097d803d4b3155d72113b65f685f6b098b9","facadeSource":"extensions/matrix/src/cli-doctor.ts","sources":["extensions/matrix/src/cli-doctor.ts"]},{"output":".setup/cli-metadata-FwlOHfdX.mjs","sha256":"6814d269b40a84a880fa1427d122b4b0679117c7d4630c4d0c06fea5ad55fb18","facadeSource":null,"sources":["extensions/matrix/cli-metadata.ts","extensions/matrix/src/cli-metadata.ts"]},{"output":".setup/client-BgOKS4W7.mjs","sha256":"7ea86120dc188c2a5a2be4bc3cc7125dc8f56f1745af037e025d11c31cc32456","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/client.ts"]},{"output":".setup/client-bootstrap-CHs5OQ1Z.mjs","sha256":"34171f0e03a8cc886f12797c8589c3510c72b360a55233afaa6057bda3b79f08","facadeSource":"extensions/matrix/src/matrix/client-bootstrap.ts","sources":["extensions/matrix/src/matrix/client-bootstrap.ts"]},{"output":".setup/client-BVgnwwz0.mjs","sha256":"3d917d39550926de85c03ef3aeff3e34f1a7da8936c109107939138125adea16","facadeSource":null,"sources":["extensions/matrix/src/matrix/client.ts","extensions/matrix/src/matrix/client/auth-request.ts","extensions/matrix/src/matrix/client/config.ts","extensions/matrix/src/matrix/client/shared.ts","extensions/matrix/src/matrix/startup-abort.ts"]},{"output":".setup/client-support-CqXAOZp3.mjs","sha256":"cc80516e6cf52d8d3a16b14f2b69c0d997fd3200a0270535d2b73b6098eecc67","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/client-support.ts"]},{"output":".setup/config-paths-DBpHxDyc.mjs","sha256":"5a7d22977511ff3d67b5962c2a20b7404a92be89eadea06e933bbb95732bb0dc","facadeSource":null,"sources":["extensions/matrix/src/matrix/config-paths.ts"]},{"output":".setup/create-client-mnjEWdZV.mjs","sha256":"9b06a9886a3bf6a3812371af69e317c334d5450cb5eacaf084ab6aaa6ff472b0","facadeSource":"extensions/matrix/src/matrix/client/create-client.ts","sources":["extensions/matrix/src/matrix/client/create-client.ts"]},{"output":".setup/credentials-CGgWuhFV.mjs","sha256":"745c0dad4204be88682f834140b1bb100e4cb641a6b1ebd54d49d0d6597e0d5c","facadeSource":"extensions/matrix/src/matrix/credentials.ts","sources":["extensions/matrix/src/matrix/credentials.ts"]},{"output":".setup/credentials-read-rPqEpuxv.mjs","sha256":"b2785f610450e77537f0461c71452eb7fca6de136b18b41b3f37147c85a758d3","facadeSource":null,"sources":["extensions/matrix/src/matrix/credentials-read.ts"]},{"output":".setup/credentials-state-jxq29yQw.mjs","sha256":"b78814f079e578709ba702c1d229524aecf5fdd4ce1458666ba81257f5f21ee8","facadeSource":null,"sources":["extensions/matrix/src/matrix/credentials-state.ts"]},{"output":".setup/crypto-node.runtime-E_hqXGxm.mjs","sha256":"ddb276adcdfcc6a9be133c55032a5b2f7fef902dcfac7106ad62fbc345db24c7","facadeSource":"extensions/matrix/src/matrix/sdk/crypto-node.runtime.ts","sources":["extensions/matrix/src/matrix/sdk/crypto-node.runtime.ts"]},{"output":".setup/crypto-runtime-tZ95jwNO.mjs","sha256":"0f9ceb9549c9a453371d84003a81511dcb6e0fa38dcc306c55df8c908d709ce2","facadeSource":"extensions/matrix/src/matrix/sdk/crypto-runtime.ts","sources":["extensions/matrix/src/matrix/sdk/crypto-bootstrap.ts","extensions/matrix/src/matrix/sdk/crypto-facade.ts","extensions/matrix/src/matrix/sdk/decrypt-bridge.ts","extensions/matrix/src/matrix/sdk/indexeddb-session.ts","extensions/matrix/src/matrix/sdk/verification-manager.ts"]},{"output":".setup/crypto-state-store-CzAmeC_Z.mjs","sha256":"1e51fac57028ad1c66ebde417402148babe59135b284c9ebb2ad265f42d5b055","facadeSource":null,"sources":["extensions/matrix/src/matrix/crypto-state-store.ts"]},{"output":".setup/crypto-store-ownership-DPO9WcVz.mjs","sha256":"cafd1504fd3641ba55149f1772c866aca4b44954a14b73b7e610ef8877691a2e","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/crypto-store-ownership.ts"]},{"output":".setup/crypto-unsafe-state-doctor-D3WLE-t4.mjs","sha256":"32ad6ba3a79169610ea878ef3d8a8b185312052140debf168d31ffa38fadfa12","facadeSource":null,"sources":["extensions/matrix/src/matrix/crypto-unsafe-state-doctor.ts"]},{"output":".setup/deps-CVPT2Ros.mjs","sha256":"623c3dc6bbe06aeee9c7d9340f4bbc16057c81b02341ca1fa42b93e56191690b","facadeSource":null,"sources":["extensions/matrix/src/matrix/deps.ts"]},{"output":".setup/device-health-D7n-lPeb.mjs","sha256":"03b82041bfe4e30dfcaf7445477a6aad9ef3e43a9ef4caf40d0a88b428510991","facadeSource":null,"sources":["extensions/matrix/src/matrix/device-health.ts"]},{"output":".setup/direct-management-D59C1WO-.mjs","sha256":"2ec818ebdc0151d17a7749054ff8ade4a9abcac78f72367a11fbca0352e6080e","facadeSource":null,"sources":["extensions/matrix/src/matrix/direct-management.ts","extensions/matrix/src/matrix/direct-room.ts","extensions/matrix/src/matrix/relations.ts","extensions/matrix/src/matrix/send/types.ts"]},{"output":".setup/directory-live-CQNKUJJx.mjs","sha256":"434dc301b89f83cfef9bed572291685e62289f05ec65cc5ccd2987280e614067","facadeSource":null,"sources":["extensions/matrix/src/directory-live.ts"]},{"output":".setup/doctor-contract-GiXgCj7k.mjs","sha256":"f82e1700162e8189ac39dd50ddb82a54d93c1b200ed741549e44f44ce153fe28","facadeSource":null,"sources":["extensions/matrix/src/doctor-contract.ts"]},{"output":".setup/draft-stream-B1hQ9Mgx.mjs","sha256":"cba06d6166732739522954a0d7bd1add7c012e0340fac5fcb7721566ee4889a2","facadeSource":"extensions/matrix/src/matrix/draft-stream.ts","sources":["extensions/matrix/src/matrix/draft-stream.ts"]},{"output":".setup/encryption-guidance-DfbEaKct.mjs","sha256":"43ffb996c459ecbc0df985d9d2d877403a4ece6fd9c8b01c420bfe008d8219b8","facadeSource":null,"sources":["extensions/matrix/src/matrix/encryption-guidance.ts"]},{"output":".setup/env-vars-Bh1iOXJ1.mjs","sha256":"4341667836e63146059f5c136f51216999b85a75fd2ced74856cdbb995f41183","facadeSource":null,"sources":["extensions/matrix/src/env-vars.ts"]},{"output":".setup/errors-CL3YJV8U.mjs","sha256":"3b2d027e8e8f513f95a8e0a2bfd505858ba10d2cb5f0ea23063ddedab1d32dc4","facadeSource":null,"sources":["extensions/matrix/src/matrix/errors.ts"]},{"output":".setup/event-helpers-DDUjVVf7.mjs","sha256":"86b55cc22e86e2b7805e0c956b6f2267d144ec5285e7df51f6f8fa78f9a71c80","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/event-helpers.ts"]},{"output":".setup/exec-approvals-C692_FeS.mjs","sha256":"baffa33a31a027409e00aa7fdd4cc85620ff9bf642b4225a20cef6bfcb46065f","facadeSource":null,"sources":["extensions/matrix/src/approval-auth.ts","extensions/matrix/src/approval-ids.ts","extensions/matrix/src/exec-approvals.ts"]},{"output":".setup/file-sync-store-CAhnwOPA.mjs","sha256":"18e7993be862d99cb841a7ee08752b2ea5c01a24aa7c0d4c00f7bb88d8e94a87","facadeSource":"extensions/matrix/src/matrix/client/file-sync-store.ts","sources":["extensions/matrix/src/matrix/client/file-sync-store.ts"]},{"output":".setup/http-client-CqnKFKUH.mjs","sha256":"21860d979de47344ab8b9a639c27b3b19c461f265b10c21661daac5919a4d274","facadeSource":null,"sources":["extensions/matrix/src/matrix/media-errors.ts","extensions/matrix/src/matrix/sdk/http-client.ts","extensions/matrix/src/matrix/sdk/transport.ts"]},{"output":".setup/idb-persistence-DeGUs--C.mjs","sha256":"4ce777598fd002fcd8d7087cd34199386cf00069dea0b5fd79e947d3df823514","facadeSource":"extensions/matrix/src/matrix/sdk/idb-persistence.ts","sources":["extensions/matrix/src/matrix/sdk/idb-persistence.ts"]},{"output":".setup/idb-persistence-lock-CH2K6d_3.mjs","sha256":"146acb3f24c2cf22e21e3118745cd4995db154e9d996c38802699067e2d1f774","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/idb-persistence-lock.ts"]},{"output":".setup/joined-room-encryption-9sJK1kM-.mjs","sha256":"1edbc6dbf9dc382528166b97cb54c4701867b7ca2e874ae5839791ff71325a2f","facadeSource":"extensions/matrix/src/matrix/sdk/joined-room-encryption.ts","sources":["extensions/matrix/src/matrix/sdk/joined-room-encryption.ts"]},{"output":".setup/logger-B9TwnY6C.mjs","sha256":"d917dd664e73d2b9466aa35b1e0c6d617f85e6ce9b2d98b32aa15fc221313c44","facadeSource":null,"sources":["extensions/matrix/src/matrix/sdk/logger.ts"]},{"output":".setup/logging-Bnsn7s4r.mjs","sha256":"9c9b339d009b92004a756fe0dfcce6f36d38b06109aac2f2f3e3e48b41af6100","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/logging.ts"]},{"output":".setup/messages-DSS3EtqP.mjs","sha256":"dfcf7cf17a31b6968aac6fd152c36fbe737ec5bcdf3acb02440150a8da4ec3ad","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/limits.ts","extensions/matrix/src/matrix/actions/messages.ts","extensions/matrix/src/matrix/actions/summary.ts","extensions/matrix/src/matrix/actions/types.ts","extensions/matrix/src/matrix/poll-summary.ts"]},{"output":".setup/monitor-Ci1BOpAp.mjs","sha256":"cc63c3a5dbb9c3fa1b6607598e7105b6494a67932b0fa7a150a76c66cf03c684","facadeSource":"extensions/matrix/src/matrix/monitor/index.ts","sources":["extensions/matrix/src/matrix/monitor/access-state.ts","extensions/matrix/src/matrix/monitor/ack-config.ts","extensions/matrix/src/matrix/monitor/auto-join.ts","extensions/matrix/src/matrix/monitor/config.ts","extensions/matrix/src/matrix/monitor/direct.ts","extensions/matrix/src/matrix/monitor/event-context.ts","extensions/matrix/src/matrix/monitor/events.ts","extensions/matrix/src/matrix/monitor/handler-context.ts","extensions/matrix/src/matrix/monitor/handler-draft-controller.ts","extensions/matrix/src/matrix/monitor/handler-helpers.ts","extensions/matrix/src/matrix/monitor/handler-ingress-access.ts","extensions/matrix/src/matrix/monitor/handler-ingress-content.ts","extensions/matrix/src/matrix/monitor/handler-reply-dispatcher.ts","extensions/matrix/src/matrix/monitor/handler-runtime.ts","extensions/matrix/src/matrix/monitor/handler-state.ts","extensions/matrix/src/matrix/monitor/handler.ts","extensions/matrix/src/matrix/monitor/index.ts","extensions/matrix/src/matrix/monitor/ingress.ts","extensions/matrix/src/matrix/monitor/location.ts","extensions/matrix/src/matrix/monitor/media.ts","extensions/matrix/src/matrix/monitor/mentions.ts","extensions/matrix/src/matrix/monitor/preflight-audio.ts","extensions/matrix/src/matrix/monitor/recent-invite.ts","extensions/matrix/src/matrix/monitor/room-history.ts","extensions/matrix/src/matrix/monitor/startup.ts","extensions/matrix/src/matrix/monitor/status.ts","extensions/matrix/src/matrix/monitor/types.ts","extensions/matrix/src/matrix/monitor/verification-events.ts","extensions/matrix/src/matrix/monitor/verification-utils.ts","src/channels/mention-gating.ts"]},{"output":".setup/onboarding-DA5lN0I1.mjs","sha256":"45e1c8ea7f8fbc5c4134c06ccbb294c5a328dcdb16f9ba301d261644fd7a09b2","facadeSource":null,"sources":["extensions/matrix/src/onboarding.ts"]},{"output":".setup/outbound-CFFxi_uJ.mjs","sha256":"d850f736e05ac991afbd7d1ebd3de6e397af3e7d52034ad315cc74c9facfd6a5","facadeSource":null,"sources":["extensions/matrix/src/outbound.ts"]},{"output":".setup/profile-update-DP-a-BxL.mjs","sha256":"400d90333f9295e91d38bdf83f023176395f7a8519e1abecf636fc7d25b1fed6","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/profile.ts","extensions/matrix/src/profile-update.ts"]},{"output":".setup/reaction-events-B8JhmXYM.mjs","sha256":"5c2aaf6e373048a090c4b265841470ab1773c3ec1e3f422b467ed9fc5ffbd5de","facadeSource":"extensions/matrix/src/matrix/monitor/reaction-events.ts","sources":["extensions/matrix/src/matrix/monitor/reaction-events.ts"]},{"output":".setup/resolve-targets-B3NLls5a.mjs","sha256":"82e2e32b38c5d3fb3929930120d118bc0f7a2d030c7cd776632e3abd85539f6d","facadeSource":null,"sources":["extensions/matrix/src/resolve-targets.ts"]},{"output":".setup/retired-state-BsxdpJNk.mjs","sha256":"e54495e6aa3b53926a134514cf6600a2ef896f7c216dad7ee211ab0a91652cfb","facadeSource":null,"sources":["extensions/matrix/src/matrix/chunked-state.ts","extensions/matrix/src/matrix/retired-state.ts"]},{"output":".setup/room-info-gld8p2j7.mjs","sha256":"1dba5aecba502241ba58fd22505621c7237a0a33e14964580dd3860303bf85ef","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/room.ts","extensions/matrix/src/matrix/monitor/room-info.ts"]},{"output":".setup/runtime-Ck8TjD7L.mjs","sha256":"52fd67419fec496d2590540c4134d874140ccc2371e1b03a6d64ba2bf94eeee9","facadeSource":null,"sources":["extensions/matrix/src/runtime.ts"]},{"output":".setup/runtime-doctor-migrations-CSvRANPN.mjs","sha256":"0f9941caf2101d12539e47fd11f7da27fd330dd82bf8e80cdc11d8fd81ae2c6f","facadeSource":null,"sources":["packages/normalization-core/src/record-coerce.ts","src/config/channel-config-normalization.ts","src/plugin-sdk/legacy-webhook-listener-migration.ts"]},{"output":".setup/runtime-setter-api-CpwhcBQK.mjs","sha256":"3fc3666527450ca10c6d8a8e2943925be54eb19582cc993de5b4328703653104","facadeSource":"extensions/matrix/runtime-setter-api.ts","sources":[]},{"output":".setup/sdk-Bzp2OIxv.mjs","sha256":"84dd741bead0d825ea0a608eae3c95022d0fa219d539ad6ca5c5dd7f65a482d4","facadeSource":"extensions/matrix/src/matrix/sdk.ts","sources":["extensions/matrix/src/matrix/sdk.ts","extensions/matrix/src/matrix/sdk/client-base.ts","extensions/matrix/src/matrix/sdk/client-core.ts","extensions/matrix/src/matrix/sdk/client-crypto-bootstrap.ts","extensions/matrix/src/matrix/sdk/client-event-bridge.ts","extensions/matrix/src/matrix/sdk/client-sync-quiesce.ts","extensions/matrix/src/matrix/sdk/client-sync-ready.ts","extensions/matrix/src/matrix/sdk/client-verification.ts","extensions/matrix/src/matrix/sdk/crypto-store-lifecycle.ts","extensions/matrix/src/matrix/sdk/live-room-readiness.ts","extensions/matrix/src/matrix/sdk/message-wire-dispatch.ts","extensions/matrix/src/matrix/sdk/recovery-key-store.ts","extensions/matrix/src/matrix/sdk/send-scheduler.ts","extensions/matrix/src/matrix/sdk/verification-status.ts"]},{"output":".setup/secret-contract-AKnr45nw.mjs","sha256":"617a011c2e7fd64c14fafd04147e015a4d5e6a078ded37d15872fb5d17350632","facadeSource":null,"sources":["extensions/matrix/src/secret-contract.ts"]},{"output":".setup/secret-contract-api-DMSwMIxd.mjs","sha256":"92dcc07972ed2ccea55fd6ae30a3b98e200dd7d4dead4d8c49e76793140ff447","facadeSource":"extensions/matrix/secret-contract-api.ts","sources":[]},{"output":".setup/send-COg4UAcR.mjs","sha256":"c0853610f8bb217203d0c28ecb34a37f00f3a4305b7a90ef276c219f61c95645","facadeSource":null,"sources":["extensions/matrix/src/matrix/delivery-plan.ts","extensions/matrix/src/matrix/format-profile.ts","extensions/matrix/src/matrix/format-spoiler-ranges.ts","extensions/matrix/src/matrix/format-table-ranges.ts","extensions/matrix/src/matrix/format.ts","extensions/matrix/src/matrix/media-text.ts","extensions/matrix/src/matrix/monitor/bounded-cache.ts","extensions/matrix/src/matrix/poll-types.ts","extensions/matrix/src/matrix/send.ts","extensions/matrix/src/matrix/send/chunking.ts","extensions/matrix/src/matrix/send/client.ts","extensions/matrix/src/matrix/send/edit-content.ts","extensions/matrix/src/matrix/send/formatting.ts","extensions/matrix/src/matrix/send/media.ts","extensions/matrix/src/matrix/send/receipt.ts","extensions/matrix/src/matrix/send/targets.ts"]},{"output":".setup/send-currentness-D1x6YP9O.mjs","sha256":"dbe3686a7111a68d1414daeef9ce902430a8b9c71d0be60b7fbee8a9b4c04386","facadeSource":null,"sources":["extensions/matrix/src/matrix/reaction-common.ts","extensions/matrix/src/matrix/sdk/send-currentness.ts"]},{"output":".setup/setup-bootstrap-DCCxNvFW.mjs","sha256":"d0286c8caca0f011da0286657a3c9590f6689d917ac4cacf002d6015075f788b","facadeSource":"extensions/matrix/src/setup-bootstrap.ts","sources":["extensions/matrix/src/setup-bootstrap.ts"]},{"output":".setup/setup-core-BRD4PRVa.mjs","sha256":"d04f10606ba75e85d1b9725919afdf39299c04f0100785afd3cd822217b1b71d","facadeSource":null,"sources":["extensions/matrix/src/matrix/accounts.ts","extensions/matrix/src/matrix/config-update.ts","extensions/matrix/src/matrix/profile.ts","extensions/matrix/src/setup-config.ts","extensions/matrix/src/setup-contract.ts","extensions/matrix/src/setup-core.ts","extensions/matrix/src/setup-dm-policy.ts"]},{"output":".setup/setup-plugin-api-YtkxNQTz.mjs","sha256":"1e6cb754ef4e14192b3397d329b9a048c08a7ffcc7b40e4d9f76b996b9763a4f","facadeSource":"extensions/matrix/setup-plugin-api.ts","sources":[]},{"output":".setup/sqlite-state-D6Zpz1q1.mjs","sha256":"04754224b8bfc8b01c69249ba0bd2c027e8cff3dd79140e83ffdd954c61a115e","facadeSource":null,"sources":["extensions/matrix/src/matrix/sqlite-state.ts"]},{"output":".setup/startup-verification-DfOuAruK.mjs","sha256":"5b2b8a64d7af04964266c0ca68b2ea8da3cdf5281d3e14dffd6d7afb5b565c35","facadeSource":"extensions/matrix/src/matrix/monitor/startup-verification.ts","sources":["extensions/matrix/src/matrix/monitor/startup-verification.ts"]},{"output":".setup/state-layout-walk-BqCZTHpp.mjs","sha256":"3e3363c4e0a270cc8a22236c73d0db6756bb920c3d1b1143dc84096886b2200a","facadeSource":null,"sources":["extensions/matrix/src/matrix/state-layout-walk.ts"]},{"output":".setup/storage-CCarF_gm.mjs","sha256":"0d869467b390f8359e751f75271d5904151b86c4b07ea2e6eab74e35824d6392","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/storage-metadata.ts","extensions/matrix/src/matrix/client/storage.ts"]},{"output":".setup/storage-paths-e_Vq6cvw.mjs","sha256":"f3ebcc155754e304f50b036cc2a1fb0753f4ed7805eefd10cfa07db36daa0163","facadeSource":null,"sources":["extensions/matrix/src/storage-paths.ts"]},{"output":".setup/subagent-hooks-BdbuojSv.mjs","sha256":"7e141b100c07706558da907db8f1f0d4cab28c52df24c6a8a8187302200b47a9","facadeSource":"extensions/matrix/src/matrix/subagent-hooks.ts","sources":["extensions/matrix/src/matrix/subagent-hooks.ts"]},{"output":".setup/sync-cache-state-BMvqW4Ii.mjs","sha256":"f48311de42b89b8c34cc6ea43e3921fee2e6a25f56b8514d7d23435995863ba2","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/sync-cache-state.ts"]},{"output":".setup/sync-state-Cu1nagBV.mjs","sha256":"e104ee098bb38a74927701971d7881f85128d1cff139b34fc4ed458564eeb928","facadeSource":null,"sources":["extensions/matrix/src/matrix/sync-state.ts"]},{"output":".setup/target-ids-DltG_ZHJ.mjs","sha256":"e136c59f75e2e2817083207953b4927928ef84193056670597ab716e93b5371f","facadeSource":null,"sources":["extensions/matrix/src/matrix/target-ids.ts"]},{"output":".setup/task-runner-CYyGHdNW.mjs","sha256":"3e02b37663d25e37b5da279d5ac479b959529cf2c44977b753da2a589b84b180","facadeSource":null,"sources":["extensions/matrix/src/matrix/monitor/task-runner.ts"]},{"output":".setup/thread-binding-api-OtSciHmZ.mjs","sha256":"cbe71d260ef8629051715a1900f07c257d346d45cb815d7e0fe80cf6a882d982","facadeSource":null,"sources":["extensions/matrix/src/thread-binding-api.ts"]},{"output":".setup/thread-bindings-DrYooQd3.mjs","sha256":"0c7c0a1f4241ff857d2291a372e5071fc0c4a12a214f324b743ceca41ca58a10","facadeSource":null,"sources":["extensions/matrix/src/matrix/thread-bindings-session-adapter.ts","extensions/matrix/src/matrix/thread-bindings.ts"]},{"output":".setup/thread-bindings-shared-DEAGGuDA.mjs","sha256":"6bd51fb2dafe96501f1562ee78d36887428b92441c01f54087dc2f499c939f2e","facadeSource":null,"sources":["extensions/matrix/src/matrix/thread-bindings-shared.ts"]},{"output":".setup/tool-actions-4dKbrHJ5.mjs","sha256":"02b501e5cd8de940e6a3cabb9b044cbf578849918861f3d807ec88425df61161","facadeSource":"extensions/matrix/src/tool-actions.ts","sources":["extensions/matrix/src/matrix/actions/pins.ts","extensions/matrix/src/matrix/actions/polls.ts","extensions/matrix/src/matrix/actions/reactions.ts","extensions/matrix/src/matrix/read-policy.ts","extensions/matrix/src/tool-actions.ts"]},{"output":".setup/url-validation-DesoKUns.mjs","sha256":"2bd5ad6798215b929d4121558770f2f13ad9227db3ced81888367fa3ae493f6f","facadeSource":null,"sources":["extensions/matrix/src/matrix/client/url-validation.ts"]},{"output":".setup/verification-DIxfxgMv.mjs","sha256":"57231efe8cab7fc637304b1cac85db1a78861982e51b7ab053c81e8c1628b0a9","facadeSource":null,"sources":["extensions/matrix/src/matrix/actions/verification.ts"]},{"output":"api.js","sha256":"daa64fa59207522243060ff0a56213eafd003140b8d24086ea84121c9aa4b300","facadeSource":"extensions/matrix/api.ts","sources":[]},{"output":"auth-presence.js","sha256":"e1405db5db9cf851e575418c3a2ea929f0a96e5233a6413927978dca302b8add","facadeSource":"extensions/matrix/auth-presence.ts","sources":["extensions/matrix/auth-presence.ts"]},{"output":"channel-plugin-api.js","sha256":"1822a9009f6f404e39a31bf22bb069fc1b7640f5fa326bae683932d7f1802a5e","facadeSource":"extensions/matrix/channel-plugin-api.ts","sources":[]},{"output":"cli-metadata.js","sha256":"b4315811752dd3541b321b65eb4da46600216ce45f98fd239dbf716e930d8521","facadeSource":"extensions/matrix/cli-metadata.ts","sources":[]},{"output":"contract-api.js","sha256":"cf15c0ab493c9baddec7d0219877a3790f4c596de2b2756d02647a5673c8a468","facadeSource":"extensions/matrix/contract-api.ts","sources":[]},{"output":"doctor-contract-api.js","sha256":"81a0855d56e45e1e335927da08f7d4e3c579cbaa7778e515001c12bff0b51a95","facadeSource":"extensions/matrix/doctor-contract-api.ts","sources":["extensions/matrix/doctor-contract-api.ts","extensions/matrix/src/matrix/account-state-schema-doctor.ts","extensions/matrix/src/matrix/monitor/inbound-dedupe-migration.ts"]},{"output":"helper-api.js","sha256":"8e1775dfb5e0a762b65bc156b42de68b8693fbfad1db20c11238fe7a3c41b5ca","facadeSource":"extensions/matrix/helper-api.ts","sources":[]},{"output":"index.js","sha256":"0b7a398c5b412ad853ea065ce4a6109bffb02cd681ac593081e326d6900a6e52","facadeSource":"extensions/matrix/index.ts","sources":["extensions/matrix/index.ts"]},{"output":"plugin-entry.handlers.runtime.js","sha256":"df1f0cbd1a4bd130df9dbde47b8a7312abfda2cc8bc303e9870f4906e8f4a16e","facadeSource":"extensions/matrix/plugin-entry.handlers.runtime.ts","sources":["extensions/matrix/src/plugin-entry.runtime.ts"]},{"output":"runtime-api.js","sha256":"238318e1c3f8bd68490328b28845932598a5a00639d0f1bfacb74b83bca1a5ae","facadeSource":"extensions/matrix/runtime-api.ts","sources":["extensions/matrix/runtime-api.ts"]},{"output":"runtime-setter-api.js","sha256":"2776e19b8b2a030d22df82027a21fdc892196da5ed437dd5d49f706b10341b16","facadeSource":"extensions/matrix/runtime-setter-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"135dd795ed1e531717f0a488c80de046488376601734457d2e5b44c08aee5a19","facadeSource":"extensions/matrix/secret-contract-api.ts","sources":[]},{"output":"session-binding-contract-api.js","sha256":"b2a83955418f8bfecb13482aaa66ac89ccac03c6c24e80b108e3251db6870e98","facadeSource":"extensions/matrix/session-binding-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"da07988066f93830d18bc3f9a463544bd659568c239b07ecf6dc93c22ccbb21e","facadeSource":"extensions/matrix/setup-entry.ts","sources":["extensions/matrix/setup-entry.ts"]},{"output":"setup-plugin-api.js","sha256":"95a5275248242eb6c71fe2aa1723009654609ea2d9e8550189b6fa6210f28b71","facadeSource":"extensions/matrix/setup-plugin-api.ts","sources":[]},{"output":"subagent-hooks-api.js","sha256":"28ceb78374cb2240defd0f811dd0412f03409e0175e5b1efceae533db7d256e2","facadeSource":"extensions/matrix/subagent-hooks-api.ts","sources":["extensions/matrix/subagent-hooks-api.ts"]},{"output":"thread-binding-api.js","sha256":"1ae9f56b988f17d74f8bfc297df5078ba4a2c0424f16966c50322bece914d325","facadeSource":"extensions/matrix/thread-binding-api.ts","sources":[]},{"output":"thread-bindings-runtime.js","sha256":"57bf581df74fcbc7dbdbd5a0b059858620896f3f3f7b8edcb400bdf58905ce1f","facadeSource":"extensions/matrix/thread-bindings-runtime.ts","sources":[]}],"unrenderedSources":["extensions/matrix/api.ts","extensions/matrix/channel-plugin-api.ts","extensions/matrix/config-doctor-api.ts","extensions/matrix/contract-api.ts","extensions/matrix/helper-api.ts","extensions/matrix/plugin-entry.handlers.runtime.ts","extensions/matrix/runtime-setter-api.ts","extensions/matrix/secret-contract-api.ts","extensions/matrix/session-binding-contract-api.ts","extensions/matrix/setup-plugin-api.ts","extensions/matrix/src/matrix/sdk/crypto-runtime.ts","extensions/matrix/thread-binding-api.ts","extensions/matrix/thread-bindings-runtime.ts"]}
|
package/dist/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-Cow3TMFO.mjs";
|
|
2
2
|
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-Bh1iOXJ1.mjs";
|
|
3
3
|
import { a as resolveMatrixCredentialsFilename, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-e_Vq6cvw.mjs";
|
|
4
|
-
import { r as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./.setup/setup-core-
|
|
5
|
-
import { t as matrixPlugin } from "./.setup/channel-
|
|
4
|
+
import { r as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./.setup/setup-core-BRD4PRVa.mjs";
|
|
5
|
+
import { t as matrixPlugin } from "./.setup/channel-DkjJIQBk.mjs";
|
|
6
6
|
import { f as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, n as getMatrixThreadBindingManager, p as setMatrixThreadBindingMaxAgeBySessionKeyAsync, u as setMatrixThreadBindingIdleTimeoutBySessionKeyAsync } from "./.setup/thread-bindings-shared-DEAGGuDA.mjs";
|
|
7
|
-
import { t as matrixOnboardingAdapter } from "./.setup/onboarding-
|
|
8
|
-
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-
|
|
7
|
+
import { t as matrixOnboardingAdapter } from "./.setup/onboarding-DA5lN0I1.mjs";
|
|
8
|
+
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-DrYooQd3.mjs";
|
|
9
9
|
export { createMatrixSetupWizardProxy, createMatrixThreadBindingManager, findMatrixAccountEntry, getMatrixScopedEnvVarNames, getMatrixThreadBindingManager, hashMatrixAccessToken, listMatrixEnvAccountIds, matrixOnboardingAdapter, matrixOnboardingAdapter as matrixSetupWizard, matrixPlugin, matrixSetupAdapter, requiresExplicitMatrixDefaultAccount, resolveConfiguredMatrixAccountIds, resolveMatrixAccountStorageRoot, resolveMatrixChannelConfig, resolveMatrixCredentialsDir, resolveMatrixCredentialsFilename, resolveMatrixCredentialsPath, resolveMatrixDefaultOrOnlyAccountId, resolveMatrixEnvAccountToken, resolveMatrixHomeserverKey, sanitizeMatrixPathSegment, setMatrixThreadBindingIdleTimeoutBySessionKey, setMatrixThreadBindingIdleTimeoutBySessionKeyAsync, setMatrixThreadBindingMaxAgeBySessionKey, setMatrixThreadBindingMaxAgeBySessionKeyAsync };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as matrixPlugin } from "./.setup/channel-
|
|
1
|
+
export { t as matrixPlugin } from "./.setup/channel-DkjJIQBk.mjs";
|
package/dist/cli-metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default, n as registerMatrixCliMetadata } from "./.setup/cli-metadata-
|
|
1
|
+
export { t as default, n as registerMatrixCliMetadata } from "./.setup/cli-metadata-FwlOHfdX.mjs";
|
package/dist/contract-api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as resolveSingleAccountPromotionTarget, l as singleAccountKeysToMove, r as matrixSetupAdapter, s as namedAccountPromotionKeys } from "./.setup/setup-core-
|
|
2
|
-
import { t as matrixOnboardingAdapter } from "./.setup/onboarding-
|
|
1
|
+
import { c as resolveSingleAccountPromotionTarget, l as singleAccountKeysToMove, r as matrixSetupAdapter, s as namedAccountPromotionKeys } from "./.setup/setup-core-BRD4PRVa.mjs";
|
|
2
|
+
import { t as matrixOnboardingAdapter } from "./.setup/onboarding-DA5lN0I1.mjs";
|
|
3
3
|
export { matrixSetupAdapter, matrixOnboardingAdapter as matrixSetupWizard, namedAccountPromotionKeys, resolveSingleAccountPromotionTarget, singleAccountKeysToMove };
|
|
@@ -289,6 +289,10 @@ const matrixReplayGuardIngressMigration = {
|
|
|
289
289
|
}
|
|
290
290
|
};
|
|
291
291
|
// extensions/matrix/doctor-contract-api.ts
|
|
292
|
+
const registerRecoveryCli = async (params) => {
|
|
293
|
+
const { registerMatrixDoctorCommands } = await import("./.setup/cli-doctor-CoRX0erj.mjs");
|
|
294
|
+
registerMatrixDoctorCommands(params);
|
|
295
|
+
};
|
|
292
296
|
const MATRIX_SYNC_CACHE_FILENAME = "bot-storage.json";
|
|
293
297
|
async function collectLegacyMatrixCredentialSources(params) {
|
|
294
298
|
const credentialsDir = resolveMatrixCredentialsDir(params.stateDir);
|
|
@@ -354,12 +358,12 @@ const stateMigrations = [
|
|
|
354
358
|
id: "matrix-crypto-unsafe-state",
|
|
355
359
|
label: "Matrix crypto unsafe final state",
|
|
356
360
|
async detectLegacyState(params) {
|
|
357
|
-
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-
|
|
361
|
+
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-D3WLE-t4.mjs").then((n) => n.t);
|
|
358
362
|
const roots = await listMatrixCryptoUnsafeState(params.stateDir, { openKeyedStoreV2: params.context.openPluginStateKeyedStore });
|
|
359
363
|
return roots.length > 0 ? { preview: roots.map((root) => `Matrix crypto store is blocked after unsafe final save: ${root}. Run openclaw matrix doctor inspect; recovery is never automatic.`) } : null;
|
|
360
364
|
},
|
|
361
365
|
async migrateLegacyState(params) {
|
|
362
|
-
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-
|
|
366
|
+
const { listMatrixCryptoUnsafeState } = await import("./.setup/crypto-unsafe-state-doctor-D3WLE-t4.mjs").then((n) => n.t);
|
|
363
367
|
return {
|
|
364
368
|
changes: [],
|
|
365
369
|
warnings: (await listMatrixCryptoUnsafeState(params.stateDir, { openKeyedStoreV2: params.context.openPluginStateKeyedStore })).map((root) => `Matrix crypto store remains blocked: ${root}. Inspect with openclaw matrix doctor inspect; explicit recovery may roll back keys.`)
|
|
@@ -561,4 +565,4 @@ const stateMigrations = [
|
|
|
561
565
|
}
|
|
562
566
|
}
|
|
563
567
|
];
|
|
564
|
-
export { legacyConfigRules, normalizeCompatibilityConfig, stateMigrations };
|
|
568
|
+
export { legacyConfigRules, normalizeCompatibilityConfig, registerRecoveryCli, stateMigrations };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as registerMatrixCliMetadata } from "./.setup/cli-metadata-
|
|
1
|
+
import { n as registerMatrixCliMetadata } from "./.setup/cli-metadata-FwlOHfdX.mjs";
|
|
2
2
|
import { a as setMatrixRuntimeLifecycle } from "./.setup/runtime-Ck8TjD7L.mjs";
|
|
3
3
|
import "./runtime-setter-api.js";
|
|
4
4
|
import { registerMatrixSubagentHooks } from "./subagent-hooks-api.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as resolveMatrixAuthContext } from "./.setup/client-
|
|
1
|
+
import { l as resolveMatrixAuthContext } from "./.setup/client-BVgnwwz0.mjs";
|
|
2
2
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
3
3
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
// extensions/matrix/src/plugin-entry.runtime.ts
|
|
6
|
-
const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-
|
|
6
|
+
const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-DIxfxgMv.mjs").then((n) => n.y));
|
|
7
7
|
function sendError(respond, err) {
|
|
8
8
|
respond(false, { error: formatErrorMessage(err) });
|
|
9
9
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as setMatrixRuntime } from "./.setup/runtime-Ck8TjD7L.mjs";
|
|
2
|
-
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-
|
|
2
|
+
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-DrYooQd3.mjs";
|
|
3
3
|
export { createMatrixThreadBindingManager, setMatrixRuntime };
|
package/dist/setup-entry.js
CHANGED
|
@@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url";
|
|
|
4
4
|
var setup_entry_default = defineBundledChannelSetupEntry({
|
|
5
5
|
importMetaUrl: import.meta.url,
|
|
6
6
|
plugin: {
|
|
7
|
-
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-YtkxNQTz.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "matrixSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as matrixSetupPlugin } from "./.setup/channel.setup-
|
|
1
|
+
export { n as matrixSetupPlugin } from "./.setup/channel.setup-tIeMccfh.mjs";
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/matrix",
|
|
3
|
-
"version": "2026.11.10-beta.
|
|
3
|
+
"version": "2026.11.10-beta.3",
|
|
4
4
|
"description": "OpenClaw Matrix channel plugin for rooms and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"zod": "4.6.7"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"openclaw": ">=2026.11.10-beta.
|
|
22
|
+
"openclaw": ">=2026.11.10-beta.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependenciesMeta": {
|
|
25
25
|
"openclaw": {
|
|
@@ -170,11 +170,11 @@
|
|
|
170
170
|
"allowInvalidConfigRecovery": true
|
|
171
171
|
},
|
|
172
172
|
"compat": {
|
|
173
|
-
"pluginApi": ">=2026.11.10-beta.
|
|
173
|
+
"pluginApi": ">=2026.11.10-beta.3"
|
|
174
174
|
},
|
|
175
175
|
"build": {
|
|
176
176
|
"bundledDist": false,
|
|
177
|
-
"openclawVersion": "2026.11.10-beta.
|
|
177
|
+
"openclawVersion": "2026.11.10-beta.3"
|
|
178
178
|
},
|
|
179
179
|
"release": {
|
|
180
180
|
"publishToClawHub": true,
|