@openclaw/matrix 2026.5.16-beta.1 → 2026.5.16-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/api.js +4 -4
- package/dist/{approval-handler.runtime--UYE3D2j.js → approval-handler.runtime-Dcj6JaB_.js} +12 -4
- package/dist/{approval-ids-D6IQvvRE.js → approval-ids-wB4z5Pen.js} +1 -1
- package/dist/{approval-reaction-auth-99PRu7rF.js → approval-reaction-auth-WbN5AstS.js} +2 -2
- package/dist/{channel-CwN56Pko.js → channel-dMBvPDsp.js} +9 -9
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-9qwvlUwp.js → channel.runtime-CTUadFsd.js} +6 -6
- package/dist/{cli-BeWdjXLV.js → cli-MXYE-QK9.js} +9 -9
- package/dist/{cli-metadata-B2_76YSe.js → cli-metadata-BLapN6MO.js} +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/{client-D6fFVbNM.js → client-BgeA9XSX.js} +2 -2
- package/dist/{client-oci1tD6-.js → client-YaBjqbMW.js} +2 -2
- package/dist/{client-bootstrap-DBwUKgC3.js → client-bootstrap-DcvAtu6x.js} +1 -1
- package/dist/{config-schema-BPCzSyjT.js → config-schema-DpROObD_.js} +1 -1
- package/dist/contract-api.js +3 -3
- package/dist/{create-client-BahCtURn.js → create-client-B5b-7vQX.js} +2 -2
- package/dist/{crypto-runtime-B-SPS5mv.js → crypto-runtime-Dt4XDOFO.js} +1 -1
- package/dist/{directory-live-BCfx1C0G.js → directory-live-Bwk5Ij-k.js} +3 -3
- package/dist/{draft-stream-BayHVmtO.js → draft-stream-CI_W386P.js} +1 -1
- package/dist/{http-client-DS3UoC_p.js → http-client-r8CROzot.js} +13 -1
- package/dist/index.js +1 -1
- package/dist/{media-text-4h4YwCGC.js → media-text-C6UAn_TD.js} +1 -1
- package/dist/{messages-BKTEUSwJ.js → messages-mMLZ7DIz.js} +3 -3
- package/dist/{monitor-DPJO3wS1.js → monitor-DrLsF0eK.js} +16 -16
- package/dist/plugin-entry.handlers.runtime.js +1 -1
- package/dist/probe.runtime-DIVHJw2r.js +3 -0
- package/dist/{profile-update-BAAflurI.js → profile-update-CWtZzuqa.js} +2 -2
- package/dist/{reaction-events-Dimh8FUE.js → reaction-events-QfQs2osk.js} +1 -1
- package/dist/{resolve-targets-DPqngj4V.js → resolve-targets-DrNhr-4K.js} +1 -1
- package/dist/{resolver.runtime-C0RDK0VW.js → resolver.runtime-B6QeiGj7.js} +1 -1
- package/dist/{sdk-BwfNtBhM.js → sdk-DDUAi9uh.js} +2 -2
- package/dist/{send-CdoJ1pZY.js → send-EorDXlGl.js} +1 -1
- package/dist/{setup-bootstrap-krQU60Az.js → setup-bootstrap-CfQFd5vJ.js} +2 -2
- package/dist/{setup-core-CgOV8zmh.js → setup-core-CnUlkNmz.js} +4 -2
- package/dist/setup-plugin-api.js +3 -3
- package/dist/{setup-surface-BgUaEySF.js → setup-surface-BdT1ex7Z.js} +4 -4
- package/dist/{shared-BlXw87Kp.js → shared-BA9WrDZY.js} +2 -2
- package/dist/test-api.js +2 -2
- package/dist/{thread-bindings-8AyQOYDT.js → thread-bindings-CK8lw9qa.js} +1 -1
- package/dist/{tool-actions.runtime-BuCnleVD.js → tool-actions.runtime-mwuaf5-A.js} +6 -6
- package/dist/{verification-DvC37Z_y.js → verification-B5Iszq8W.js} +1 -1
- package/package.json +4 -4
- package/dist/probe.runtime-zExLz3Ek.js +0 -3
package/dist/api.js
CHANGED
|
@@ -2,10 +2,10 @@ import { d as setMatrixThreadBindingIdleTimeoutBySessionKey, n as getMatrixThrea
|
|
|
2
2
|
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./account-selection-BWwIruri.js";
|
|
3
3
|
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./env-vars-C7uQCTKn.js";
|
|
4
4
|
import { a as resolveMatrixCredentialsPath, c as resolveMatrixLegacyFlatStoreRoot, i as resolveMatrixCredentialsFilename, l as sanitizeMatrixPathSegment, n as resolveMatrixAccountStorageRoot, o as resolveMatrixHomeserverKey, r as resolveMatrixCredentialsDir, s as resolveMatrixLegacyFlatStoragePaths, t as hashMatrixAccessToken } from "./storage-paths-BJLdnCjV.js";
|
|
5
|
-
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./setup-core-
|
|
6
|
-
import { t as matrixPlugin } from "./channel-
|
|
7
|
-
import { n as matrixOnboardingAdapter } from "./setup-surface-
|
|
8
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
5
|
+
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./setup-core-CnUlkNmz.js";
|
|
6
|
+
import { t as matrixPlugin } from "./channel-dMBvPDsp.js";
|
|
7
|
+
import { n as matrixOnboardingAdapter } from "./setup-surface-BdT1ex7Z.js";
|
|
8
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-CK8lw9qa.js";
|
|
9
9
|
//#region extensions/matrix/api.ts
|
|
10
10
|
const matrixSessionBindingAdapterChannels = ["matrix"];
|
|
11
11
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as resolveMatrixTargetIdentity } from "./target-ids-80nQ2gql.js";
|
|
2
|
-
import { g as resolveMatrixAccount } from "./setup-core-
|
|
3
|
-
import { _ as shouldHandleMatrixApprovalRequest, g as isMatrixAnyApprovalClientEnabled } from "./channel-
|
|
4
|
-
import { a as sendMessageMatrix, i as reactMatrixMessage, p as repairMatrixDirectRooms, s as sendSingleTextMessageMatrix } from "./send-
|
|
2
|
+
import { g as resolveMatrixAccount } from "./setup-core-CnUlkNmz.js";
|
|
3
|
+
import { _ as shouldHandleMatrixApprovalRequest, g as isMatrixAnyApprovalClientEnabled } from "./channel-dMBvPDsp.js";
|
|
4
|
+
import { a as sendMessageMatrix, i as reactMatrixMessage, p as repairMatrixDirectRooms, s as sendSingleTextMessageMatrix } from "./send-EorDXlGl.js";
|
|
5
5
|
import { a as unregisterMatrixApprovalReactionTarget, n as listMatrixApprovalReactionBindings, r as registerMatrixApprovalReactionTarget, t as buildMatrixApprovalReactionHint } from "./approval-reactions-Cwd1PMCC.js";
|
|
6
|
-
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-
|
|
6
|
+
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-mMLZ7DIz.js";
|
|
7
7
|
import { listMessageReceiptPlatformIds, resolveMessageReceiptPrimaryId } from "openclaw/plugin-sdk/channel-message";
|
|
8
8
|
import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
9
9
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -362,6 +362,14 @@ const matrixApprovalNativeRuntime = createChannelApprovalNativeRuntimeAdapter({
|
|
|
362
362
|
const target = normalizeReactionTargetRef(params.binding);
|
|
363
363
|
if (!target) return;
|
|
364
364
|
unregisterMatrixApprovalReactionTarget(target);
|
|
365
|
+
},
|
|
366
|
+
cancelDelivered: (params) => {
|
|
367
|
+
const target = normalizeReactionTargetRef({
|
|
368
|
+
roomId: params.entry.roomId,
|
|
369
|
+
eventId: params.entry.reactionEventId
|
|
370
|
+
});
|
|
371
|
+
if (!target) return;
|
|
372
|
+
unregisterMatrixApprovalReactionTarget(target);
|
|
365
373
|
}
|
|
366
374
|
}
|
|
367
375
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as normalizeMatrixUserId } from "./config-schema-
|
|
1
|
+
import { a as normalizeMatrixUserId } from "./config-schema-DpROObD_.js";
|
|
2
2
|
//#region extensions/matrix/src/approval-ids.ts
|
|
3
3
|
function normalizeMatrixApproverId(value) {
|
|
4
4
|
return normalizeMatrixUserId(String(value)) || void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as resolveMatrixAccount } from "./setup-core-
|
|
2
|
-
import { t as normalizeMatrixApproverId } from "./approval-ids-
|
|
1
|
+
import { g as resolveMatrixAccount } from "./setup-core-CnUlkNmz.js";
|
|
2
|
+
import { t as normalizeMatrixApproverId } from "./approval-ids-wB4z5Pen.js";
|
|
3
3
|
import { resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
4
4
|
//#region extensions/matrix/src/approval-reaction-auth.ts
|
|
5
5
|
function normalizeMatrixExecApproverId(value) {
|
|
@@ -2,9 +2,9 @@ import { a as resolveMatrixTargetIdentity, i as resolveMatrixDirectUserId, n as
|
|
|
2
2
|
import { d as setMatrixThreadBindingIdleTimeoutBySessionKey, p as setMatrixThreadBindingMaxAgeBySessionKey } from "./thread-bindings-shared-DK-d-oYX.js";
|
|
3
3
|
import { n as requiresExplicitMatrixDefaultAccount } from "./account-selection-BWwIruri.js";
|
|
4
4
|
import { c as resolveMatrixAccountConfig } from "./config-paths-msaDGRh6.js";
|
|
5
|
-
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, n as matrixSetupAdapter, p as listMatrixAccountIds, t as createMatrixSetupWizardProxy, u as namedAccountPromotionKeys } from "./setup-core-
|
|
6
|
-
import { a as normalizeMatrixUserId, n as DEFAULT_ACCOUNT_ID$2, r as matrixConfigAdapter, t as MatrixChannelConfigSchema } from "./config-schema-
|
|
7
|
-
import { t as normalizeMatrixApproverId } from "./approval-ids-
|
|
5
|
+
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, n as matrixSetupAdapter, p as listMatrixAccountIds, t as createMatrixSetupWizardProxy, u as namedAccountPromotionKeys } from "./setup-core-CnUlkNmz.js";
|
|
6
|
+
import { a as normalizeMatrixUserId, n as DEFAULT_ACCOUNT_ID$2, r as matrixConfigAdapter, t as MatrixChannelConfigSchema } from "./config-schema-DpROObD_.js";
|
|
7
|
+
import { t as normalizeMatrixApproverId } from "./approval-ids-wB4z5Pen.js";
|
|
8
8
|
import { t as formatMatrixErrorMessage } from "./errors-BpHgvm2o.js";
|
|
9
9
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-s4gUPmRN.js";
|
|
10
10
|
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-e4SdhUtT.js";
|
|
@@ -132,7 +132,7 @@ const matrixMessageActions = {
|
|
|
132
132
|
return extractToolSend(args, "sendMessage");
|
|
133
133
|
},
|
|
134
134
|
handleAction: async (ctx) => {
|
|
135
|
-
const { handleMatrixAction } = await import("./tool-actions.runtime-
|
|
135
|
+
const { handleMatrixAction } = await import("./tool-actions.runtime-mwuaf5-A.js");
|
|
136
136
|
const { action, params, cfg, accountId, mediaLocalRoots } = ctx;
|
|
137
137
|
const dispatch = async (actionParams) => await handleMatrixAction({
|
|
138
138
|
...actionParams,
|
|
@@ -596,7 +596,7 @@ const matrixNativeApprovalCapability = createApproverRestrictedNativeApprovalCap
|
|
|
596
596
|
accountId,
|
|
597
597
|
request
|
|
598
598
|
}),
|
|
599
|
-
load: async () => (await import("./approval-handler.runtime
|
|
599
|
+
load: async () => (await import("./approval-handler.runtime-Dcj6JaB_.js")).matrixApprovalNativeRuntime
|
|
600
600
|
})
|
|
601
601
|
});
|
|
602
602
|
const splitMatrixApprovalCapability = splitChannelApprovalCapability(matrixNativeApprovalCapability);
|
|
@@ -758,7 +758,7 @@ function resolveMatrixGroupToolPolicy(params) {
|
|
|
758
758
|
}
|
|
759
759
|
//#endregion
|
|
760
760
|
//#region extensions/matrix/src/resolver.ts
|
|
761
|
-
const loadMatrixChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./resolver.runtime-
|
|
761
|
+
const loadMatrixChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./resolver.runtime-B6QeiGj7.js"), "matrixResolverRuntime");
|
|
762
762
|
const matrixResolverAdapter = { resolveTargets: async ({ cfg, accountId, inputs, kind, runtime }) => (await loadMatrixChannelRuntime$1()).resolveMatrixTargets({
|
|
763
763
|
cfg,
|
|
764
764
|
accountId,
|
|
@@ -947,8 +947,8 @@ async function runMatrixStartupMaintenance(params) {
|
|
|
947
947
|
//#endregion
|
|
948
948
|
//#region extensions/matrix/src/channel.ts
|
|
949
949
|
let matrixStartupLock = Promise.resolve();
|
|
950
|
-
const loadMatrixSetupWizard = createLazyRuntimeNamedExport(() => import("./setup-surface-
|
|
951
|
-
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
950
|
+
const loadMatrixSetupWizard = createLazyRuntimeNamedExport(() => import("./setup-surface-BdT1ex7Z.js").then((n) => n.t), "matrixSetupWizard");
|
|
951
|
+
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-CTUadFsd.js"), "matrixChannelRuntime");
|
|
952
952
|
const meta = {
|
|
953
953
|
id: "matrix",
|
|
954
954
|
label: "Matrix",
|
|
@@ -1314,7 +1314,7 @@ const matrixPlugin = createChatChannelPlugin({
|
|
|
1314
1314
|
await previousLock;
|
|
1315
1315
|
let monitorMatrixProvider;
|
|
1316
1316
|
try {
|
|
1317
|
-
monitorMatrixProvider = (await import("./monitor-
|
|
1317
|
+
monitorMatrixProvider = (await import("./monitor-DrLsF0eK.js")).monitorMatrixProvider;
|
|
1318
1318
|
} finally {
|
|
1319
1319
|
releaseLock();
|
|
1320
1320
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as matrixPlugin } from "./channel-
|
|
1
|
+
import { t as matrixPlugin } from "./channel-dMBvPDsp.js";
|
|
2
2
|
export { matrixPlugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as sendMessageMatrix, c as sendTypingMatrix, o as sendPollMatrix } from "./send-
|
|
1
|
+
import { a as sendMessageMatrix, c as sendTypingMatrix, o as sendPollMatrix } from "./send-EorDXlGl.js";
|
|
2
2
|
import { t as isBunRuntime } from "./runtime-lwTSy9Yt.js";
|
|
3
|
-
import { l as resolveMatrixAuth } from "./shared-
|
|
4
|
-
import "./client-
|
|
5
|
-
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-
|
|
3
|
+
import { l as resolveMatrixAuth } from "./shared-BA9WrDZY.js";
|
|
4
|
+
import "./client-YaBjqbMW.js";
|
|
5
|
+
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-Bwk5Ij-k.js";
|
|
6
6
|
import { f as resolveOutboundSendDep, n as chunkTextForOutbound } from "./runtime-api-C-QeChQj.js";
|
|
7
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
7
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-DrNhr-4K.js";
|
|
8
8
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { createReplyToFanout } from "openclaw/plugin-sdk/outbound-runtime";
|
|
10
10
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -13,7 +13,7 @@ import { resolvePayloadMediaUrls } from "openclaw/plugin-sdk/reply-payload";
|
|
|
13
13
|
//#region extensions/matrix/src/matrix/probe.ts
|
|
14
14
|
let matrixProbeRuntimeDepsPromise;
|
|
15
15
|
async function loadMatrixProbeRuntimeDeps() {
|
|
16
|
-
matrixProbeRuntimeDepsPromise ??= import("./probe.runtime-
|
|
16
|
+
matrixProbeRuntimeDepsPromise ??= import("./probe.runtime-DIVHJw2r.js").then((runtimeModule) => ({ createMatrixClient: runtimeModule.createMatrixClient }));
|
|
17
17
|
return await matrixProbeRuntimeDepsPromise;
|
|
18
18
|
}
|
|
19
19
|
async function probeMatrix(params) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as resolveMatrixAccountConfig } from "./config-paths-msaDGRh6.js";
|
|
2
2
|
import { t as getMatrixRuntime } from "./runtime-Dog86njy.js";
|
|
3
|
-
import { c as resolveMatrixConfigPath, g as resolveMatrixAccount, l as updateMatrixAccountConfig, n as matrixSetupAdapter } from "./setup-core-
|
|
3
|
+
import { c as resolveMatrixConfigPath, g as resolveMatrixAccount, l as updateMatrixAccountConfig, n as matrixSetupAdapter } from "./setup-core-CnUlkNmz.js";
|
|
4
4
|
import { t as formatMatrixErrorMessage } from "./errors-BpHgvm2o.js";
|
|
5
5
|
import { t as resolveMatrixRoomKeyBackupIssue } from "./backup-health-3BHbHxyd.js";
|
|
6
6
|
import { i as setMatrixSdkLogMode, r as setMatrixSdkConsoleLogging } from "./logging-bJ8EEe1G.js";
|
|
7
|
-
import { n as withResolvedActionClient } from "./client-
|
|
8
|
-
import { u as resolveMatrixAuthContext } from "./shared-
|
|
9
|
-
import "./client-
|
|
7
|
+
import { n as withResolvedActionClient } from "./client-BgeA9XSX.js";
|
|
8
|
+
import { u as resolveMatrixAuthContext } from "./shared-BA9WrDZY.js";
|
|
9
|
+
import "./client-YaBjqbMW.js";
|
|
10
10
|
import { i as formatZonedTimestamp } from "./runtime-api-C-QeChQj.js";
|
|
11
11
|
import { isOpenClawManagedMatrixDevice, summarizeMatrixDeviceHealth } from "./device-health-Di9MUzFj.js";
|
|
12
|
-
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-
|
|
13
|
-
import { a as confirmMatrixVerificationSas, b as verifyMatrixRecoveryKey, c as getMatrixRoomKeyBackupStatus, d as listMatrixVerifications, f as mismatchMatrixVerificationSas, g as runMatrixSelfVerification, h as restoreMatrixRoomKeyBackup, l as getMatrixVerificationSas, m as resetMatrixRoomKeyBackup, n as bootstrapMatrixVerification, p as requestMatrixVerification, r as cancelMatrixVerification, t as acceptMatrixVerification, u as getMatrixVerificationStatus, v as startMatrixVerification } from "./verification-
|
|
12
|
+
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update-CWtZzuqa.js";
|
|
13
|
+
import { a as confirmMatrixVerificationSas, b as verifyMatrixRecoveryKey, c as getMatrixRoomKeyBackupStatus, d as listMatrixVerifications, f as mismatchMatrixVerificationSas, g as runMatrixSelfVerification, h as restoreMatrixRoomKeyBackup, l as getMatrixVerificationSas, m as resetMatrixRoomKeyBackup, n as bootstrapMatrixVerification, p as requestMatrixVerification, r as cancelMatrixVerification, t as acceptMatrixVerification, u as getMatrixVerificationStatus, v as startMatrixVerification } from "./verification-B5Iszq8W.js";
|
|
14
14
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
15
15
|
//#region extensions/matrix/src/matrix/actions/devices.ts
|
|
16
16
|
async function listMatrixOwnDevices(opts = {}) {
|
|
@@ -37,11 +37,11 @@ let matrixCliExitScheduled = false;
|
|
|
37
37
|
let matrixActionClientModulePromise;
|
|
38
38
|
let matrixDirectManagementModulePromise;
|
|
39
39
|
function loadMatrixActionClientModule() {
|
|
40
|
-
matrixActionClientModulePromise ??= import("./client-
|
|
40
|
+
matrixActionClientModulePromise ??= import("./client-BgeA9XSX.js").then((n) => n.t);
|
|
41
41
|
return matrixActionClientModulePromise;
|
|
42
42
|
}
|
|
43
43
|
function loadMatrixDirectManagementModule() {
|
|
44
|
-
matrixDirectManagementModulePromise ??= import("./send-
|
|
44
|
+
matrixDirectManagementModulePromise ??= import("./send-EorDXlGl.js").then((n) => n.d);
|
|
45
45
|
return matrixDirectManagementModulePromise;
|
|
46
46
|
}
|
|
47
47
|
function scheduleMatrixCliExit() {
|
|
@@ -207,7 +207,7 @@ async function addMatrixAccount(params) {
|
|
|
207
207
|
backupVersion: null
|
|
208
208
|
};
|
|
209
209
|
if (accountConfig.encryption === true) {
|
|
210
|
-
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-
|
|
210
|
+
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-CfQFd5vJ.js");
|
|
211
211
|
verificationBootstrap = await maybeBootstrapNewEncryptedMatrixAccount({
|
|
212
212
|
previousCfg: cfg,
|
|
213
213
|
cfg: updated,
|
|
@@ -2,7 +2,7 @@ import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
|
2
2
|
//#region extensions/matrix/src/cli-metadata.ts
|
|
3
3
|
function registerMatrixCliMetadata(api) {
|
|
4
4
|
api.registerCli(async ({ program }) => {
|
|
5
|
-
const { registerMatrixCli } = await import("./cli-
|
|
5
|
+
const { registerMatrixCli } = await import("./cli-MXYE-QK9.js");
|
|
6
6
|
registerMatrixCli({ program });
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "matrix",
|
package/dist/cli-metadata.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as registerMatrixCliMetadata, t as cli_metadata_default } from "./cli-metadata-
|
|
1
|
+
import { n as registerMatrixCliMetadata, t as cli_metadata_default } from "./cli-metadata-BLapN6MO.js";
|
|
2
2
|
export { cli_metadata_default as default, registerMatrixCliMetadata };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { u as resolveMatrixRoomId } from "./send-
|
|
3
|
-
import { n as withResolvedRuntimeMatrixClient } from "./client-bootstrap-
|
|
2
|
+
import { u as resolveMatrixRoomId } from "./send-EorDXlGl.js";
|
|
3
|
+
import { n as withResolvedRuntimeMatrixClient } from "./client-bootstrap-DcvAtu6x.js";
|
|
4
4
|
//#region extensions/matrix/src/matrix/actions/client.ts
|
|
5
5
|
var client_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
withResolvedActionClient: () => withResolvedActionClient,
|
|
@@ -3,8 +3,8 @@ import { t as getMatrixScopedEnvVarNames } from "./env-vars-C7uQCTKn.js";
|
|
|
3
3
|
import { i as resolveScopedMatrixEnvConfig, r as resolveMatrixEnvAuthReadiness, t as hasReadyMatrixEnvAuth } from "./env-auth-BJqGI8M6.js";
|
|
4
4
|
import { n as validateMatrixHomeserverUrl, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-CBZBxN3F.js";
|
|
5
5
|
import { t as isBunRuntime } from "./runtime-lwTSy9Yt.js";
|
|
6
|
-
import { c as backfillMatrixAuthDeviceIdAfterStartup, d as resolveMatrixConfigForAccount, i as resolveSharedMatrixClient, l as resolveMatrixAuth, n as releaseSharedClientInstance, o as stopSharedClientForAccount, r as removeSharedClientInstance, s as stopSharedClientInstance, t as acquireSharedMatrixClient, u as resolveMatrixAuthContext } from "./shared-
|
|
7
|
-
import { t as createMatrixClient } from "./create-client-
|
|
6
|
+
import { c as backfillMatrixAuthDeviceIdAfterStartup, d as resolveMatrixConfigForAccount, i as resolveSharedMatrixClient, l as resolveMatrixAuth, n as releaseSharedClientInstance, o as stopSharedClientForAccount, r as removeSharedClientInstance, s as stopSharedClientInstance, t as acquireSharedMatrixClient, u as resolveMatrixAuthContext } from "./shared-BA9WrDZY.js";
|
|
7
|
+
import { t as createMatrixClient } from "./create-client-B5b-7vQX.js";
|
|
8
8
|
//#region extensions/matrix/src/matrix/client.ts
|
|
9
9
|
var client_exports = /* @__PURE__ */ __exportAll({
|
|
10
10
|
acquireSharedMatrixClient: () => acquireSharedMatrixClient,
|
|
@@ -10,7 +10,7 @@ var client_bootstrap_exports = /* @__PURE__ */ __exportAll({
|
|
|
10
10
|
});
|
|
11
11
|
let matrixSharedClientRuntimeDepsPromise;
|
|
12
12
|
async function loadMatrixSharedClientRuntimeDeps() {
|
|
13
|
-
matrixSharedClientRuntimeDepsPromise ??= Promise.all([import("./client-
|
|
13
|
+
matrixSharedClientRuntimeDepsPromise ??= Promise.all([import("./client-YaBjqbMW.js").then((n) => n.t), import("./shared-BA9WrDZY.js").then((n) => n.a)]).then(([clientModule, sharedModule]) => ({
|
|
14
14
|
acquireSharedMatrixClient: clientModule.acquireSharedMatrixClient,
|
|
15
15
|
resolveMatrixAuthContext: clientModule.resolveMatrixAuthContext,
|
|
16
16
|
releaseSharedClientInstance: sharedModule.releaseSharedClientInstance
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as resolveMatrixAccountConfig } from "./config-paths-msaDGRh6.js";
|
|
2
|
-
import { g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, p as listMatrixAccountIds } from "./setup-core-
|
|
2
|
+
import { g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, p as listMatrixAccountIds } from "./setup-core-CnUlkNmz.js";
|
|
3
3
|
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1 } from "openclaw/plugin-sdk/account-id";
|
|
4
4
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { adaptScopedAccountAccessor, createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
package/dist/contract-api.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as resetMatrixThreadBindingsForTests } from "./thread-bindings-shared-DK-d-oYX.js";
|
|
2
2
|
import { r as setMatrixRuntime } from "./runtime-Dog86njy.js";
|
|
3
|
-
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, n as matrixSetupAdapter, u as namedAccountPromotionKeys } from "./setup-core-
|
|
3
|
+
import { d as resolveSingleAccountPromotionTarget, f as singleAccountKeysToMove, n as matrixSetupAdapter, u as namedAccountPromotionKeys } from "./setup-core-CnUlkNmz.js";
|
|
4
4
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-s4gUPmRN.js";
|
|
5
5
|
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-e4SdhUtT.js";
|
|
6
|
-
import { n as matrixOnboardingAdapter } from "./setup-surface-
|
|
7
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
6
|
+
import { n as matrixOnboardingAdapter } from "./setup-surface-BdT1ex7Z.js";
|
|
7
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-CK8lw9qa.js";
|
|
8
8
|
export { collectRuntimeConfigAssignments, createMatrixThreadBindingManager, legacyConfigRules, matrixSetupAdapter, matrixOnboardingAdapter as matrixSetupWizard, namedAccountPromotionKeys, normalizeCompatibilityConfig, resetMatrixThreadBindingsForTests, resolveSingleAccountPromotionTarget, secretTargetRegistryEntries, setMatrixRuntime, singleAccountKeysToMove };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-CBZBxN3F.js";
|
|
3
3
|
import { a as resolveMatrixStoragePaths, n as maybeMigrateLegacyStorage, o as writeStorageMeta } from "./storage-HI1nL3im.js";
|
|
4
|
-
import "./shared-
|
|
4
|
+
import "./shared-BA9WrDZY.js";
|
|
5
5
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
@@ -9,7 +9,7 @@ import { ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sd
|
|
|
9
9
|
var create_client_exports = /* @__PURE__ */ __exportAll({ createMatrixClient: () => createMatrixClient });
|
|
10
10
|
let matrixCreateClientRuntimeDepsPromise;
|
|
11
11
|
async function loadMatrixCreateClientRuntimeDeps() {
|
|
12
|
-
matrixCreateClientRuntimeDepsPromise ??= Promise.all([import("./sdk-
|
|
12
|
+
matrixCreateClientRuntimeDepsPromise ??= Promise.all([import("./sdk-DDUAi9uh.js").then((n) => n.n), import("./logging-bJ8EEe1G.js").then((n) => n.n)]).then(([sdkModule, loggingModule]) => ({
|
|
13
13
|
MatrixClient: sdkModule.MatrixClient,
|
|
14
14
|
ensureMatrixSdkLoggingConfigured: loggingModule.ensureMatrixSdkLoggingConfigured
|
|
15
15
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as formatMatrixErrorMessage } from "./errors-BpHgvm2o.js";
|
|
2
2
|
import { t as ensureMatrixCryptoRuntime } from "./deps-LqqGWPWt.js";
|
|
3
3
|
import { o as LogService, s as noop } from "./startup-abort-br7BZHJQ.js";
|
|
4
|
-
import { i as MATRIX_IDB_SNAPSHOT_LOCK_OPTIONS, r as isRepairableSecretStorageAccessError } from "./sdk-
|
|
4
|
+
import { i as MATRIX_IDB_SNAPSHOT_LOCK_OPTIONS, r as isRepairableSecretStorageAccessError } from "./sdk-DDUAi9uh.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { MatrixEventEvent } from "matrix-js-sdk/lib/matrix.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { n as normalizeMatrixMessagingTarget, t as isMatrixQualifiedUserId } from "./target-ids-80nQ2gql.js";
|
|
3
|
-
import { t as MatrixAuthedHttpClient } from "./http-client-
|
|
4
|
-
import { l as resolveMatrixAuth } from "./shared-
|
|
5
|
-
import "./client-
|
|
3
|
+
import { t as MatrixAuthedHttpClient } from "./http-client-r8CROzot.js";
|
|
4
|
+
import { l as resolveMatrixAuth } from "./shared-BA9WrDZY.js";
|
|
5
|
+
import "./client-YaBjqbMW.js";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
//#region extensions/matrix/src/directory-live.ts
|
|
8
8
|
var directory_live_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as editMessageMatrix, r as prepareMatrixSingleText, s as sendSingleTextMessageMatrix, y as MsgType } from "./send-
|
|
1
|
+
import { n as editMessageMatrix, r as prepareMatrixSingleText, s as sendSingleTextMessageMatrix, y as MsgType } from "./send-EorDXlGl.js";
|
|
2
2
|
import { createDraftStreamLoop } from "openclaw/plugin-sdk/channel-lifecycle";
|
|
3
3
|
//#region extensions/matrix/src/matrix/draft-stream.ts
|
|
4
4
|
const DEFAULT_THROTTLE_MS = 1e3;
|
|
@@ -97,6 +97,18 @@ function toFetchUrl(resource) {
|
|
|
97
97
|
if (typeof resource === "string") return resource;
|
|
98
98
|
return resource.url;
|
|
99
99
|
}
|
|
100
|
+
const MATRIX_STATE_AFTER_SYNC_PARAM = "org.matrix.msc4222.use_state_after";
|
|
101
|
+
function withoutMatrixStateAfterSyncParam(rawUrl) {
|
|
102
|
+
let url;
|
|
103
|
+
try {
|
|
104
|
+
url = new URL(rawUrl);
|
|
105
|
+
} catch {
|
|
106
|
+
return rawUrl;
|
|
107
|
+
}
|
|
108
|
+
if (!url.pathname.endsWith("/sync") || !url.searchParams.has(MATRIX_STATE_AFTER_SYNC_PARAM)) return rawUrl;
|
|
109
|
+
url.searchParams.delete(MATRIX_STATE_AFTER_SYNC_PARAM);
|
|
110
|
+
return url.toString();
|
|
111
|
+
}
|
|
100
112
|
function buildBufferedResponse(params) {
|
|
101
113
|
const response = new Response(params.body, {
|
|
102
114
|
status: params.source.status,
|
|
@@ -195,7 +207,7 @@ async function fetchWithMatrixGuardedRedirects(params) {
|
|
|
195
207
|
}
|
|
196
208
|
function createMatrixGuardedFetch(params) {
|
|
197
209
|
return (async (resource, init) => {
|
|
198
|
-
const url = toFetchUrl(resource);
|
|
210
|
+
const url = withoutMatrixStateAfterSyncParam(toFetchUrl(resource));
|
|
199
211
|
const { signal, ...requestInit } = init ?? {};
|
|
200
212
|
const { response, release } = await fetchWithMatrixGuardedRedirects({
|
|
201
213
|
url,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as registerMatrixCliMetadata } from "./cli-metadata-
|
|
1
|
+
import { n as registerMatrixCliMetadata } from "./cli-metadata-BLapN6MO.js";
|
|
2
2
|
import { t as registerMatrixSubagentHooks } from "./subagent-hooks-api-BgQgDwAS.js";
|
|
3
3
|
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
4
4
|
//#region extensions/matrix/index.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as formatPollResultsAsText, D as parsePollStartContent, O as resolvePollReferenceEventId, S as formatPollAsText, T as isPollStartType, w as isPollEventType, x as buildPollResultsSummary } from "./send-
|
|
1
|
+
import { C as formatPollResultsAsText, D as parsePollStartContent, O as resolvePollReferenceEventId, S as formatPollAsText, T as isPollStartType, w as isPollEventType, x as buildPollResultsSummary } from "./send-EorDXlGl.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
//#region extensions/matrix/src/matrix/poll-summary.ts
|
|
4
4
|
function resolveMatrixPollRootEventId(event) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as isMatrixNotFoundError } from "./errors-BpHgvm2o.js";
|
|
2
|
-
import { a as sendMessageMatrix, n as editMessageMatrix, w as isPollEventType } from "./send-
|
|
2
|
+
import { a as sendMessageMatrix, n as editMessageMatrix, w as isPollEventType } from "./send-EorDXlGl.js";
|
|
3
3
|
import { n as MATRIX_REACTION_EVENT_TYPE } from "./reaction-common-B-QgNfEs.js";
|
|
4
|
-
import { a as resolveMatrixMessageBody, c as resolveMatrixPollRootEventId, i as resolveMatrixMessageAttachment, o as fetchMatrixPollMessageSummary } from "./media-text-
|
|
5
|
-
import { r as withResolvedRoomAction } from "./client-
|
|
4
|
+
import { a as resolveMatrixMessageBody, c as resolveMatrixPollRootEventId, i as resolveMatrixMessageAttachment, o as fetchMatrixPollMessageSummary } from "./media-text-C6UAn_TD.js";
|
|
5
|
+
import { r as withResolvedRoomAction } from "./client-BgeA9XSX.js";
|
|
6
6
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
//#region extensions/matrix/src/matrix/actions/limits.ts
|
|
8
8
|
function resolveMatrixActionLimit(raw, fallback) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as isMatrixQualifiedUserId } from "./target-ids-80nQ2gql.js";
|
|
2
2
|
import { c as resolveMatrixAccountConfig, s as resolveMatrixAccountAllowlistConfig } from "./config-paths-msaDGRh6.js";
|
|
3
3
|
import { t as getMatrixRuntime } from "./runtime-Dog86njy.js";
|
|
4
|
-
import { m as resolveConfiguredMatrixBotUserIds } from "./setup-core-
|
|
5
|
-
import { a as buildAllowlistResolutionSummary, c as createTypingCallbacks, d as logInboundDrop, f as logTypingFailure, h as toLocationContext, i as addAllowlistUserEntriesFromConfigEntry, l as formatLocationText, m as summarizeMapping, n as resolveMatrixStoredSessionMeta, o as canonicalizeAllowlistWithResolvedIds, p as patchAllowlistUsersInConfigEntries, r as resolveMatrixRoomConfig, s as createReplyPrefixOptions, u as getAgentScopedMediaLocalRoots } from "./channel-
|
|
6
|
-
import { a as normalizeMatrixUserId, i as normalizeMatrixAllowList, o as resolveMatrixAllowListMatch } from "./config-schema-
|
|
4
|
+
import { m as resolveConfiguredMatrixBotUserIds } from "./setup-core-CnUlkNmz.js";
|
|
5
|
+
import { a as buildAllowlistResolutionSummary, c as createTypingCallbacks, d as logInboundDrop, f as logTypingFailure, h as toLocationContext, i as addAllowlistUserEntriesFromConfigEntry, l as formatLocationText, m as summarizeMapping, n as resolveMatrixStoredSessionMeta, o as canonicalizeAllowlistWithResolvedIds, p as patchAllowlistUsersInConfigEntries, r as resolveMatrixRoomConfig, s as createReplyPrefixOptions, u as getAgentScopedMediaLocalRoots } from "./channel-dMBvPDsp.js";
|
|
6
|
+
import { a as normalizeMatrixUserId, i as normalizeMatrixAllowList, o as resolveMatrixAllowListMatch } from "./config-schema-DpROObD_.js";
|
|
7
7
|
import { r as isMatrixNotFoundError, t as formatMatrixErrorMessage } from "./errors-BpHgvm2o.js";
|
|
8
8
|
import { i as resolveMatrixStateFilePath } from "./storage-HI1nL3im.js";
|
|
9
|
-
import { D as parsePollStartContent, S as formatPollAsText, T as isPollStartType, _ as readJoinedMatrixMembers, a as sendMessageMatrix, f as promoteMatrixDirectRoomCandidate, g as isStrictDirectMembership, h as hasDirectMatrixMemberFlag, t as chunkMatrixText, v as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY, w as isPollEventType } from "./send-
|
|
10
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
9
|
+
import { D as parsePollStartContent, S as formatPollAsText, T as isPollStartType, _ as readJoinedMatrixMembers, a as sendMessageMatrix, f as promoteMatrixDirectRoomCandidate, g as isStrictDirectMembership, h as hasDirectMatrixMemberFlag, t as chunkMatrixText, v as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY, w as isPollEventType } from "./send-EorDXlGl.js";
|
|
10
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-CK8lw9qa.js";
|
|
11
11
|
import { t as createAsyncLock } from "./async-lock-SsmtFXtt.js";
|
|
12
12
|
import { i as throwIfMatrixStartupAborted, o as LogService, r as isMatrixStartupAbortError } from "./startup-abort-br7BZHJQ.js";
|
|
13
|
-
import { i as isMatrixMediaSizeLimitError, r as MatrixMediaSizeLimitError } from "./http-client-
|
|
13
|
+
import { i as isMatrixMediaSizeLimitError, r as MatrixMediaSizeLimitError } from "./http-client-r8CROzot.js";
|
|
14
14
|
import { n as isMatrixReadySyncState, r as isMatrixTerminalSyncState, t as isMatrixDisconnectedSyncState } from "./sync-state-Bx0gPaGA.js";
|
|
15
|
-
import { a as resolveMatrixMessageBody, i as resolveMatrixMessageAttachment, n as formatMatrixMediaUnavailableText, r as formatMatrixMessageText, s as fetchMatrixPollSnapshot, t as formatMatrixMediaTooLargeText } from "./media-text-
|
|
15
|
+
import { a as resolveMatrixMessageBody, i as resolveMatrixMessageAttachment, n as formatMatrixMediaUnavailableText, r as formatMatrixMessageText, s as fetchMatrixPollSnapshot, t as formatMatrixMediaTooLargeText } from "./media-text-C6UAn_TD.js";
|
|
16
16
|
import { n as setActiveMatrixClient } from "./active-client-DUi-lumi.js";
|
|
17
17
|
import { t as isBunRuntime } from "./runtime-lwTSy9Yt.js";
|
|
18
|
-
import { c as backfillMatrixAuthDeviceIdAfterStartup, i as resolveSharedMatrixClient, l as resolveMatrixAuth, n as releaseSharedClientInstance, u as resolveMatrixAuthContext } from "./shared-
|
|
19
|
-
import "./client-
|
|
18
|
+
import { c as backfillMatrixAuthDeviceIdAfterStartup, i as resolveSharedMatrixClient, l as resolveMatrixAuth, n as releaseSharedClientInstance, u as resolveMatrixAuthContext } from "./shared-BA9WrDZY.js";
|
|
19
|
+
import "./client-YaBjqbMW.js";
|
|
20
20
|
import { d as resolveDefaultGroupPolicy, h as warnMissingProviderGroupPolicyFallbackOnce, m as resolveThreadBindingMaxAgeMsForChannel, p as resolveThreadBindingIdleTimeoutMsForChannel, t as GROUP_POLICY_BLOCKED_LABEL, u as resolveAllowlistProviderRuntimeGroupPolicy } from "./runtime-api-C-QeChQj.js";
|
|
21
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
21
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-DrNhr-4K.js";
|
|
22
22
|
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-1QoIvd-g.js";
|
|
23
23
|
import { a as EventType, i as resolveMatrixThreadRouting, n as resolveMatrixReplyToEventId, o as RelationType, r as resolveMatrixThreadRootId, t as resolveMatrixInboundRoute } from "./route-R-ajT21_.js";
|
|
24
24
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringifiedOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -797,7 +797,7 @@ const SAS_NOTICE_RETRY_DELAY_MS = 750;
|
|
|
797
797
|
const VERIFICATION_EVENT_STARTUP_GRACE_MS = 3e4;
|
|
798
798
|
let matrixDirectRoomDepsPromise;
|
|
799
799
|
async function loadMatrixDirectRoomDeps() {
|
|
800
|
-
matrixDirectRoomDepsPromise ??= Promise.all([import("./send-
|
|
800
|
+
matrixDirectRoomDepsPromise ??= Promise.all([import("./send-EorDXlGl.js").then((n) => n.d), import("./send-EorDXlGl.js").then((n) => n.m)]).then(([directManagementModule, directRoomModule]) => ({
|
|
801
801
|
inspectMatrixDirectRooms: directManagementModule.inspectMatrixDirectRooms,
|
|
802
802
|
isStrictDirectRoom: directRoomModule.isStrictDirectRoom
|
|
803
803
|
}));
|
|
@@ -2006,7 +2006,7 @@ let sessionBindingRuntimePromise;
|
|
|
2006
2006
|
let matrixReactionEventsPromise;
|
|
2007
2007
|
let matrixDraftStreamPromise;
|
|
2008
2008
|
function loadMatrixSendModule() {
|
|
2009
|
-
matrixSendModulePromise ??= import("./send-
|
|
2009
|
+
matrixSendModulePromise ??= import("./send-EorDXlGl.js").then((n) => n.l);
|
|
2010
2010
|
return matrixSendModulePromise;
|
|
2011
2011
|
}
|
|
2012
2012
|
function loadAcpBindingRuntime() {
|
|
@@ -2018,11 +2018,11 @@ function loadSessionBindingRuntime() {
|
|
|
2018
2018
|
return sessionBindingRuntimePromise;
|
|
2019
2019
|
}
|
|
2020
2020
|
function loadMatrixReactionEvents() {
|
|
2021
|
-
matrixReactionEventsPromise ??= import("./reaction-events-
|
|
2021
|
+
matrixReactionEventsPromise ??= import("./reaction-events-QfQs2osk.js");
|
|
2022
2022
|
return matrixReactionEventsPromise;
|
|
2023
2023
|
}
|
|
2024
2024
|
function loadMatrixDraftStream() {
|
|
2025
|
-
matrixDraftStreamPromise ??= import("./draft-stream-
|
|
2025
|
+
matrixDraftStreamPromise ??= import("./draft-stream-CI_W386P.js");
|
|
2026
2026
|
return matrixDraftStreamPromise;
|
|
2027
2027
|
}
|
|
2028
2028
|
const MAX_TRACKED_PAIRING_REPLY_SENDERS = 512;
|
|
@@ -3692,9 +3692,9 @@ function createMatrixRoomInfoResolver(client) {
|
|
|
3692
3692
|
let matrixStartupMaintenanceDepsPromise;
|
|
3693
3693
|
async function loadMatrixStartupMaintenanceDeps() {
|
|
3694
3694
|
matrixStartupMaintenanceDepsPromise ??= Promise.all([
|
|
3695
|
-
import("./setup-core-
|
|
3695
|
+
import("./setup-core-CnUlkNmz.js").then((n) => n.s),
|
|
3696
3696
|
import("./device-health-Di9MUzFj.js"),
|
|
3697
|
-
import("./setup-core-
|
|
3697
|
+
import("./setup-core-CnUlkNmz.js").then((n) => n.a),
|
|
3698
3698
|
import("./legacy-crypto-restore-B9eF1gob.js"),
|
|
3699
3699
|
import("./startup-verification-CTfhD7V_.js")
|
|
3700
3700
|
]).then(([configUpdateModule, deviceHealthModule, profileModule, legacyCryptoRestoreModule, startupVerificationModule]) => ({
|
|
@@ -3,7 +3,7 @@ import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runti
|
|
|
3
3
|
//#region extensions/matrix/src/plugin-entry.runtime.ts
|
|
4
4
|
let matrixVerificationRuntimePromise;
|
|
5
5
|
function loadMatrixVerificationRuntime() {
|
|
6
|
-
matrixVerificationRuntimePromise ??= import("./verification-
|
|
6
|
+
matrixVerificationRuntimePromise ??= import("./verification-B5Iszq8W.js").then((n) => n.y);
|
|
7
7
|
return matrixVerificationRuntimePromise;
|
|
8
8
|
}
|
|
9
9
|
function sendError(respond, err) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-Dog86njy.js";
|
|
2
|
-
import { c as resolveMatrixConfigPath, l as updateMatrixAccountConfig, o as syncMatrixOwnProfile } from "./setup-core-
|
|
3
|
-
import { n as withResolvedActionClient } from "./client-
|
|
2
|
+
import { c as resolveMatrixConfigPath, l as updateMatrixAccountConfig, o as syncMatrixOwnProfile } from "./setup-core-CnUlkNmz.js";
|
|
3
|
+
import { n as withResolvedActionClient } from "./client-BgeA9XSX.js";
|
|
4
4
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
5
5
|
//#region extensions/matrix/src/matrix/actions/profile.ts
|
|
6
6
|
async function updateMatrixOwnProfile(opts = {}) {
|
|
@@ -7,7 +7,7 @@ import { getSessionBindingService } from "openclaw/plugin-sdk/session-binding-ru
|
|
|
7
7
|
let approvalReactionAuthPromise;
|
|
8
8
|
let execApprovalResolverPromise;
|
|
9
9
|
function loadApprovalReactionAuth() {
|
|
10
|
-
approvalReactionAuthPromise ??= import("./approval-reaction-auth-
|
|
10
|
+
approvalReactionAuthPromise ??= import("./approval-reaction-auth-WbN5AstS.js");
|
|
11
11
|
return approvalReactionAuthPromise;
|
|
12
12
|
}
|
|
13
13
|
function loadExecApprovalResolver() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { n as normalizeMatrixMessagingTarget, t as isMatrixQualifiedUserId } from "./target-ids-80nQ2gql.js";
|
|
3
|
-
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-
|
|
3
|
+
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-Bwk5Ij-k.js";
|
|
4
4
|
import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
//#region extensions/matrix/src/resolve-targets.ts
|
|
6
6
|
var resolve_targets_exports = /* @__PURE__ */ __exportAll({ resolveMatrixTargets: () => resolveMatrixTargets });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
1
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-DrNhr-4K.js";
|
|
2
2
|
//#region extensions/matrix/src/resolver.runtime.ts
|
|
3
3
|
const matrixResolverRuntime = { resolveMatrixTargets };
|
|
4
4
|
//#endregion
|
|
@@ -6,7 +6,7 @@ import { n as resolveMatrixRoomKeyBackupReadinessError } from "./backup-health-3
|
|
|
6
6
|
import { t as createAsyncLock } from "./async-lock-SsmtFXtt.js";
|
|
7
7
|
import { a as ConsoleLogger, i as throwIfMatrixStartupAborted, n as createMatrixStartupAbortError, o as LogService, s as noop } from "./startup-abort-br7BZHJQ.js";
|
|
8
8
|
import { t as createMatrixJsSdkClientLogger } from "./logging-bJ8EEe1G.js";
|
|
9
|
-
import { a as matrixEventToRaw, n as createMatrixGuardedFetch, o as parseMxc, t as MatrixAuthedHttpClient } from "./http-client-
|
|
9
|
+
import { a as matrixEventToRaw, n as createMatrixGuardedFetch, o as parseMxc, t as MatrixAuthedHttpClient } from "./http-client-r8CROzot.js";
|
|
10
10
|
import { n as isMatrixReadySyncState, r as isMatrixTerminalSyncState } from "./sync-state-Bx0gPaGA.js";
|
|
11
11
|
import { normalizeNullableString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
12
12
|
import { readFileSync } from "node:fs";
|
|
@@ -578,7 +578,7 @@ function createMatrixExplicitBootstrapOptions(params) {
|
|
|
578
578
|
let loadedMatrixCryptoRuntime = null;
|
|
579
579
|
let matrixCryptoRuntimePromise = null;
|
|
580
580
|
async function loadMatrixCryptoRuntime() {
|
|
581
|
-
matrixCryptoRuntimePromise ??= import("./crypto-runtime-
|
|
581
|
+
matrixCryptoRuntimePromise ??= import("./crypto-runtime-Dt4XDOFO.js").then((runtime) => {
|
|
582
582
|
loadedMatrixCryptoRuntime = runtime;
|
|
583
583
|
return runtime;
|
|
584
584
|
});
|
|
@@ -229,7 +229,7 @@ function buildPollResponseContent(pollEventId, answerIds) {
|
|
|
229
229
|
//#region extensions/matrix/src/matrix/send/client.ts
|
|
230
230
|
let matrixSendClientRuntimePromise = null;
|
|
231
231
|
async function loadMatrixSendClientRuntime() {
|
|
232
|
-
matrixSendClientRuntimePromise ??= import("./client-bootstrap-
|
|
232
|
+
matrixSendClientRuntimePromise ??= import("./client-bootstrap-DcvAtu6x.js").then((n) => n.t);
|
|
233
233
|
return await matrixSendClientRuntimePromise;
|
|
234
234
|
}
|
|
235
235
|
function resolveMediaMaxBytes(accountId, cfg) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as hasExplicitMatrixAccountConfig, c as resolveMatrixAccountConfig } from "./config-paths-msaDGRh6.js";
|
|
2
|
-
import "./setup-core-
|
|
2
|
+
import "./setup-core-CnUlkNmz.js";
|
|
3
3
|
import { t as formatMatrixErrorMessage } from "./errors-BpHgvm2o.js";
|
|
4
|
-
import { n as bootstrapMatrixVerification } from "./verification-
|
|
4
|
+
import { n as bootstrapMatrixVerification } from "./verification-B5Iszq8W.js";
|
|
5
5
|
//#region extensions/matrix/src/setup-bootstrap.ts
|
|
6
6
|
async function maybeBootstrapNewEncryptedMatrixAccount(params) {
|
|
7
7
|
const accountConfig = resolveMatrixAccountConfig({
|
|
@@ -232,7 +232,9 @@ function cloneMatrixDmConfig(dm) {
|
|
|
232
232
|
}
|
|
233
233
|
function cloneMatrixRoomMap(rooms) {
|
|
234
234
|
if (!rooms) return rooms;
|
|
235
|
-
|
|
235
|
+
const clonedRoomEntries = [];
|
|
236
|
+
for (const [roomId, roomCfg] of Object.entries(rooms)) clonedRoomEntries.push([roomId, roomCfg ? { ...roomCfg } : roomCfg]);
|
|
237
|
+
return Object.fromEntries(clonedRoomEntries);
|
|
236
238
|
}
|
|
237
239
|
function applyNullableArrayField(target, key, value) {
|
|
238
240
|
if (value === void 0) return;
|
|
@@ -662,7 +664,7 @@ const matrixSetupAdapter = {
|
|
|
662
664
|
input
|
|
663
665
|
}),
|
|
664
666
|
afterAccountConfigWritten: async ({ previousCfg, cfg, accountId, runtime }) => {
|
|
665
|
-
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-
|
|
667
|
+
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-CfQFd5vJ.js");
|
|
666
668
|
await runMatrixSetupBootstrapAfterConfigWrite({
|
|
667
669
|
previousCfg,
|
|
668
670
|
cfg,
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as resolveMatrixAccount, n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./setup-core-
|
|
2
|
-
import { r as matrixConfigAdapter, t as MatrixChannelConfigSchema } from "./config-schema-
|
|
1
|
+
import { g as resolveMatrixAccount, n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./setup-core-CnUlkNmz.js";
|
|
2
|
+
import { r as matrixConfigAdapter, t as MatrixChannelConfigSchema } from "./config-schema-DpROObD_.js";
|
|
3
3
|
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
4
4
|
const matrixSetupPlugin = {
|
|
5
5
|
id: "matrix",
|
|
@@ -13,7 +13,7 @@ const matrixSetupPlugin = {
|
|
|
13
13
|
order: 70,
|
|
14
14
|
quickstartAllowFrom: true
|
|
15
15
|
},
|
|
16
|
-
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./setup-surface-
|
|
16
|
+
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./setup-surface-BdT1ex7Z.js").then((n) => n.t)).matrixSetupWizard })),
|
|
17
17
|
setup: matrixSetupAdapter,
|
|
18
18
|
capabilities: {
|
|
19
19
|
chatTypes: [
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
|
2
2
|
import { n as requiresExplicitMatrixDefaultAccount } from "./account-selection-BWwIruri.js";
|
|
3
3
|
import { c as resolveMatrixAccountConfig, t as resolveMatrixConfigFieldPath } from "./config-paths-msaDGRh6.js";
|
|
4
4
|
import { r as resolveMatrixEnvAuthReadiness } from "./env-auth-BJqGI8M6.js";
|
|
5
|
-
import { g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, i as moveSingleMatrixAccountConfigToNamedAccount, l as updateMatrixAccountConfig, p as listMatrixAccountIds, r as resolveMatrixSetupDmAllowFrom } from "./setup-core-
|
|
5
|
+
import { g as resolveMatrixAccount, h as resolveDefaultMatrixAccountId, i as moveSingleMatrixAccountConfigToNamedAccount, l as updateMatrixAccountConfig, p as listMatrixAccountIds, r as resolveMatrixSetupDmAllowFrom } from "./setup-core-CnUlkNmz.js";
|
|
6
6
|
import { n as validateMatrixHomeserverUrl, r as isPrivateOrLoopbackHost, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-CBZBxN3F.js";
|
|
7
7
|
import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./deps-LqqGWPWt.js";
|
|
8
8
|
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
|
|
@@ -104,7 +104,7 @@ async function promptMatrixAllowFrom(params) {
|
|
|
104
104
|
pending.push(part);
|
|
105
105
|
}
|
|
106
106
|
if (pending.length > 0) {
|
|
107
|
-
const { resolveMatrixTargets } = await import("./resolve-targets-
|
|
107
|
+
const { resolveMatrixTargets } = await import("./resolve-targets-DrNhr-4K.js").then((n) => n.n);
|
|
108
108
|
const results = await resolveMatrixTargets({
|
|
109
109
|
cfg,
|
|
110
110
|
accountId,
|
|
@@ -232,7 +232,7 @@ async function configureMatrixAccessPrompts(params) {
|
|
|
232
232
|
resolvedIds.push(cleaned);
|
|
233
233
|
continue;
|
|
234
234
|
}
|
|
235
|
-
const { listMatrixDirectoryGroupsLive } = await import("./directory-live-
|
|
235
|
+
const { listMatrixDirectoryGroupsLive } = await import("./directory-live-Bwk5Ij-k.js").then((n) => n.t);
|
|
236
236
|
const matches = await listMatrixDirectoryGroupsLive({
|
|
237
237
|
cfg: next,
|
|
238
238
|
accountId: params.accountId,
|
|
@@ -507,7 +507,7 @@ const matrixOnboardingAdapter = {
|
|
|
507
507
|
});
|
|
508
508
|
},
|
|
509
509
|
afterConfigWritten: async ({ previousCfg, cfg, accountId, runtime }) => {
|
|
510
|
-
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-
|
|
510
|
+
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-CfQFd5vJ.js");
|
|
511
511
|
await runMatrixSetupBootstrapAfterConfigWrite({
|
|
512
512
|
previousCfg,
|
|
513
513
|
cfg,
|
|
@@ -20,7 +20,7 @@ let matrixSecretInputDepsPromise;
|
|
|
20
20
|
let matrixAuthClientDepsForTest;
|
|
21
21
|
const MATRIX_AUTH_REQUEST_RETRY_RE = /\b(fetch failed|econnreset|econnrefused|enotfound|etimedout|ehostunreach|enetunreach|eai_again|und_err_|socket hang up|network|headers timeout|body timeout|connect timeout)\b/i;
|
|
22
22
|
async function loadMatrixAuthClientDeps() {
|
|
23
|
-
matrixAuthClientDepsPromise ??= Promise.all([import("./sdk-
|
|
23
|
+
matrixAuthClientDepsPromise ??= Promise.all([import("./sdk-DDUAi9uh.js").then((n) => n.n), import("./logging-bJ8EEe1G.js").then((n) => n.n)]).then(([sdkModule, loggingModule]) => ({
|
|
24
24
|
MatrixClient: sdkModule.MatrixClient,
|
|
25
25
|
ensureMatrixSdkLoggingConfigured: loggingModule.ensureMatrixSdkLoggingConfigured
|
|
26
26
|
}));
|
|
@@ -462,7 +462,7 @@ var shared_exports = /* @__PURE__ */ __exportAll({
|
|
|
462
462
|
});
|
|
463
463
|
let matrixCreateClientDepsPromise;
|
|
464
464
|
async function loadMatrixCreateClientDeps() {
|
|
465
|
-
matrixCreateClientDepsPromise ??= import("./create-client-
|
|
465
|
+
matrixCreateClientDepsPromise ??= import("./create-client-B5b-7vQX.js").then((n) => n.n).then((runtime) => ({ createMatrixClient: runtime.createMatrixClient }));
|
|
466
466
|
return await matrixCreateClientDepsPromise;
|
|
467
467
|
}
|
|
468
468
|
const sharedClientStates = /* @__PURE__ */ new Map();
|
package/dist/test-api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as setMatrixRuntime } from "./runtime-Dog86njy.js";
|
|
2
|
-
import { t as matrixPlugin } from "./channel-
|
|
3
|
-
import { t as MatrixClient } from "./sdk-
|
|
2
|
+
import { t as matrixPlugin } from "./channel-dMBvPDsp.js";
|
|
3
|
+
import { t as MatrixClient } from "./sdk-DDUAi9uh.js";
|
|
4
4
|
export { MatrixClient, matrixPlugin, setMatrixRuntime };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as listBindingsForAccount, c as resolveBindingKey, f as setMatrixThreadBindingManagerEntry, h as toSessionBindingRecord, l as resolveEffectiveBindingExpiry, m as toMatrixBindingTargetKind, o as removeBindingRecord, r as getMatrixThreadBindingManagerEntry, t as deleteMatrixThreadBindingManagerEntry, u as setBindingRecord } from "./thread-bindings-shared-DK-d-oYX.js";
|
|
2
2
|
import { i as resolveMatrixStateFilePath, t as claimCurrentTokenStorageState } from "./storage-HI1nL3im.js";
|
|
3
|
-
import { a as sendMessageMatrix } from "./send-
|
|
3
|
+
import { a as sendMessageMatrix } from "./send-EorDXlGl.js";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { registerSessionBindingAdapter, resolveThreadBindingFarewellText, unregisterSessionBindingAdapter } from "openclaw/plugin-sdk/thread-bindings-session-runtime";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as resolveMatrixAccountConfig } from "./config-paths-msaDGRh6.js";
|
|
2
|
-
import "./setup-core-
|
|
3
|
-
import { E as parsePollStart, T as isPollStartType, b as buildPollResponseContent, i as reactMatrixMessage, u as resolveMatrixRoomId } from "./send-
|
|
2
|
+
import "./setup-core-CnUlkNmz.js";
|
|
3
|
+
import { E as parsePollStart, T as isPollStartType, b as buildPollResponseContent, i as reactMatrixMessage, u as resolveMatrixRoomId } from "./send-EorDXlGl.js";
|
|
4
4
|
import { i as buildMatrixReactionRelationsPath, o as selectOwnMatrixReactionEventIds, s as summarizeMatrixReactionEvents } from "./reaction-common-B-QgNfEs.js";
|
|
5
|
-
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-
|
|
6
|
-
import { a as fetchEventSummary, c as resolveMatrixActionLimit, i as sendMatrixMessage, n as editMatrixMessage, o as readPinnedEvents, r as readMatrixMessages, s as EventType, t as deleteMatrixMessage } from "./messages-
|
|
5
|
+
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-BgeA9XSX.js";
|
|
6
|
+
import { a as fetchEventSummary, c as resolveMatrixActionLimit, i as sendMatrixMessage, n as editMatrixMessage, o as readPinnedEvents, r as readMatrixMessages, s as EventType, t as deleteMatrixMessage } from "./messages-mMLZ7DIz.js";
|
|
7
7
|
import { a as jsonResult, c as readStringArrayParam, l as readStringParam, o as readNumberParam, r as createActionGate, s as readReactionParams } from "./runtime-api-C-QeChQj.js";
|
|
8
|
-
import { t as applyMatrixProfileUpdate } from "./profile-update-
|
|
9
|
-
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-
|
|
8
|
+
import { t as applyMatrixProfileUpdate } from "./profile-update-CWtZzuqa.js";
|
|
9
|
+
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-B5Iszq8W.js";
|
|
10
10
|
import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
11
11
|
//#region extensions/matrix/src/matrix/actions/polls.ts
|
|
12
12
|
function normalizeOptionIndexes(indexes) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { i as withStartedActionClient, n as withResolvedActionClient } from "./client-
|
|
2
|
+
import { i as withStartedActionClient, n as withResolvedActionClient } from "./client-BgeA9XSX.js";
|
|
3
3
|
import { n as formatMatrixEncryptionUnavailableError } from "./encryption-guidance-1QoIvd-g.js";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/matrix",
|
|
3
|
-
"version": "2026.5.16-beta.
|
|
3
|
+
"version": "2026.5.16-beta.3",
|
|
4
4
|
"description": "OpenClaw Matrix channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"openclaw": "workspace:*"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"openclaw": ">=2026.5.16-beta.
|
|
25
|
+
"openclaw": ">=2026.5.16-beta.3"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"openclaw": {
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
"allowInvalidConfigRecovery": true
|
|
88
88
|
},
|
|
89
89
|
"compat": {
|
|
90
|
-
"pluginApi": ">=2026.5.16-beta.
|
|
90
|
+
"pluginApi": ">=2026.5.16-beta.3"
|
|
91
91
|
},
|
|
92
92
|
"build": {
|
|
93
|
-
"openclawVersion": "2026.5.16-beta.
|
|
93
|
+
"openclawVersion": "2026.5.16-beta.3"
|
|
94
94
|
},
|
|
95
95
|
"release": {
|
|
96
96
|
"publishToClawHub": true,
|