@openclaw/matrix 2026.8.34 → 2026.8.35
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-CcbBADVh.mjs → approval-handler.runtime-DaRr6al6.mjs} +3 -3
- package/dist/.setup/{approval-ids-CU_nMQy9.mjs → approval-ids-webz4tbO.mjs} +1 -1
- package/dist/.setup/{approval-reaction-auth-CpxhvOOT.mjs → approval-reaction-auth-DeNajmD4.mjs} +1 -1
- package/dist/.setup/{channel-kJSxq14c.mjs → channel-DPl88OlH.mjs} +6 -6
- package/dist/.setup/{channel.runtime-BFXlZFP1.mjs → channel.runtime-C89_MUMS.mjs} +1 -1
- package/dist/.setup/{channel.setup-2A6HBRbA.mjs → channel.setup-rAhnr9qE.mjs} +2 -2
- package/dist/.setup/{cli-CyuDGiIr.mjs → cli-alYP731l.mjs} +7 -7
- package/dist/.setup/{cli-metadata-B_y2Z5Np.mjs → cli-metadata-Cf909OnT.mjs} +1 -1
- package/dist/.setup/{client-CpHMD-C2.mjs → client-Bq2nHQdS.mjs} +1 -1
- package/dist/.setup/{draft-stream-DfUFwKfN.mjs → draft-stream-Bmm8-rJ5.mjs} +1 -1
- package/dist/.setup/{messages-C3v-jkaN.mjs → messages-OnTjm7mL.mjs} +2 -2
- package/dist/.setup/{monitor-Cm0-IZPg.mjs → monitor-Cb6WDxLz.mjs} +10 -10
- package/dist/.setup/{profile-update-B9Q6Ox2O.mjs → profile-update--2WaSX_N.mjs} +1 -1
- package/dist/.setup/{reaction-events-DLCiEuIa.mjs → reaction-events-TOpRUfMk.mjs} +3 -3
- package/dist/.setup/{room-info-B0VNxsF8.mjs → room-info-DkqsBkNp.mjs} +3 -3
- package/dist/.setup/{send-SmBzUhD-.mjs → send-CB_1DyCb.mjs} +3 -7
- package/dist/.setup/{setup-bootstrap-CUKhebeX.mjs → setup-bootstrap-wIqwHhfy.mjs} +1 -1
- package/dist/.setup/{setup-core-BnqoLunq.mjs → setup-core-DI64gkVk.mjs} +1 -1
- package/dist/.setup/{setup-plugin-api-Dg95tydH.mjs → setup-plugin-api-IIC8ukej.mjs} +1 -1
- package/dist/.setup/{setup-surface-sWwADrZ8.mjs → setup-surface-DIp282cK.mjs} +2 -2
- package/dist/.setup/{thread-bindings-_WJ8RYWJ.mjs → thread-bindings-CNkF7BHc.mjs} +1 -1
- package/dist/.setup/{tool-actions.runtime-Ds5Zt5m1.mjs → tool-actions.runtime-BqgkMOLU.mjs} +7 -7
- package/dist/.setup/{verification-DOT16noD.mjs → verification-DFvCQzHQ.mjs} +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/index.js +1 -1
- package/dist/plugin-entry.handlers.runtime.js +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/setup-entry.js +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/package.json +4 -4
package/dist/.setup/{approval-handler.runtime-CcbBADVh.mjs → approval-handler.runtime-DaRr6al6.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as resolveMatrixAccount } from "./accounts-BJ6ECCac.mjs";
|
|
2
|
-
import { C as shouldHandleMatrixApprovalRequest, S as isMatrixAnyApprovalClientEnabled } from "./channel-
|
|
2
|
+
import { C as shouldHandleMatrixApprovalRequest, S as isMatrixAnyApprovalClientEnabled } from "./channel-DPl88OlH.mjs";
|
|
3
3
|
import { o as resolveMatrixTargetIdentity } from "./target-ids-Nwx7cMVE.mjs";
|
|
4
|
-
import { C as repairMatrixDirectRooms, a as sendSingleTextMessageMatrix, n as reactMatrixMessage, r as sendMessageMatrix } from "./send-
|
|
4
|
+
import { C as repairMatrixDirectRooms, a as sendSingleTextMessageMatrix, n as reactMatrixMessage, r as sendMessageMatrix } from "./send-CB_1DyCb.mjs";
|
|
5
5
|
import { a as unregisterMatrixApprovalReactionTarget, n as listMatrixApprovalReactionBindings, r as registerMatrixApprovalReactionTarget, t as buildMatrixApprovalReactionHint } from "./approval-reactions-BlnA05wW.mjs";
|
|
6
|
-
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-
|
|
6
|
+
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-OnTjm7mL.mjs";
|
|
7
7
|
import { listMessageReceiptPlatformIds, resolveMessageReceiptPrimaryId } from "openclaw/plugin-sdk/channel-outbound";
|
|
8
8
|
import { normalizeUniqueStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as normalizeMatrixUserId } from "./channel.setup-
|
|
1
|
+
import { a as normalizeMatrixUserId } from "./channel.setup-rAhnr9qE.mjs";
|
|
2
2
|
//#region extensions/matrix/src/approval-ids.ts
|
|
3
3
|
function normalizeMatrixApproverId(value) {
|
|
4
4
|
return normalizeMatrixUserId(String(value)) || void 0;
|
package/dist/.setup/{approval-reaction-auth-CpxhvOOT.mjs → approval-reaction-auth-DeNajmD4.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as resolveMatrixAccount } from "./accounts-BJ6ECCac.mjs";
|
|
2
|
-
import { t as normalizeMatrixApproverId } from "./approval-ids-
|
|
2
|
+
import { t as normalizeMatrixApproverId } from "./approval-ids-webz4tbO.mjs";
|
|
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) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as requiresExplicitMatrixDefaultAccount } from "./account-selection-DZMazUgX.mjs";
|
|
2
2
|
import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
3
3
|
import { i as resolveMatrixAccount, r as resolveDefaultMatrixAccountId, t as listMatrixAccountIds } from "./accounts-BJ6ECCac.mjs";
|
|
4
|
-
import { a as normalizeMatrixUserId, r as DEFAULT_ACCOUNT_ID$2, t as matrixPluginBase } from "./channel.setup-
|
|
5
|
-
import { t as normalizeMatrixApproverId } from "./approval-ids-
|
|
4
|
+
import { a as normalizeMatrixUserId, r as DEFAULT_ACCOUNT_ID$2, t as matrixPluginBase } from "./channel.setup-rAhnr9qE.mjs";
|
|
5
|
+
import { t as normalizeMatrixApproverId } from "./approval-ids-webz4tbO.mjs";
|
|
6
6
|
import { a as resolveMatrixDirectUserId, i as normalizeMatrixResolvableTarget, n as isMatrixRoomId, o as resolveMatrixTargetIdentity, r as normalizeMatrixMessagingTarget, t as isMatrixQualifiedUserId } from "./target-ids-Nwx7cMVE.mjs";
|
|
7
7
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-HyWFZQVG.mjs";
|
|
8
8
|
import { n as MATRIX_REACTION_EVENT_TYPE } from "./reaction-common-DkrQdBSZ.mjs";
|
|
@@ -149,7 +149,7 @@ const matrixMessageActions = {
|
|
|
149
149
|
return account && createActionGate(account.config.actions)("messages") ? payload : null;
|
|
150
150
|
},
|
|
151
151
|
handleAction: async (ctx) => {
|
|
152
|
-
const { handleMatrixAction } = await import("./tool-actions.runtime-
|
|
152
|
+
const { handleMatrixAction } = await import("./tool-actions.runtime-BqgkMOLU.mjs");
|
|
153
153
|
const { action, params, cfg, accountId, mediaLocalRoots } = ctx;
|
|
154
154
|
const dispatch = async (actionParams) => await handleMatrixAction({
|
|
155
155
|
...actionParams,
|
|
@@ -631,7 +631,7 @@ const matrixNativeApprovalCapability = createApproverRestrictedNativeApprovalCap
|
|
|
631
631
|
approvalKind,
|
|
632
632
|
request
|
|
633
633
|
}),
|
|
634
|
-
load: async () => (await import("./approval-handler.runtime-
|
|
634
|
+
load: async () => (await import("./approval-handler.runtime-DaRr6al6.mjs")).matrixApprovalNativeRuntime
|
|
635
635
|
})
|
|
636
636
|
});
|
|
637
637
|
const splitMatrixApprovalCapability = splitChannelApprovalCapability(matrixNativeApprovalCapability);
|
|
@@ -1168,7 +1168,7 @@ function resolveMatrixOutboundSessionRoute(params) {
|
|
|
1168
1168
|
//#endregion
|
|
1169
1169
|
//#region extensions/matrix/src/channel.ts
|
|
1170
1170
|
let matrixStartupLock = Promise.resolve();
|
|
1171
|
-
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
1171
|
+
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-C89_MUMS.mjs"), "matrixChannelRuntime");
|
|
1172
1172
|
const loadMatrixDoctorModule = createLazyRuntimeModule(() => import("./doctor-BLCvdOFo.mjs"));
|
|
1173
1173
|
function buildMatrixTrafficStatusSummary(snapshot) {
|
|
1174
1174
|
return {
|
|
@@ -1519,7 +1519,7 @@ const matrixPlugin = createChatChannelPlugin({
|
|
|
1519
1519
|
await previousLock;
|
|
1520
1520
|
let monitorMatrixProvider;
|
|
1521
1521
|
try {
|
|
1522
|
-
monitorMatrixProvider = (await import("./monitor-
|
|
1522
|
+
monitorMatrixProvider = (await import("./monitor-Cb6WDxLz.mjs")).monitorMatrixProvider;
|
|
1523
1523
|
} finally {
|
|
1524
1524
|
releaseLock();
|
|
1525
1525
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as sendPollMatrix, o as sendTypingMatrix, r as sendMessageMatrix, v as cleanupMatrixDeliveryPlans, y as reconcileMatrixUnknownSend } from "./send-
|
|
1
|
+
import { i as sendPollMatrix, o as sendTypingMatrix, r as sendMessageMatrix, v as cleanupMatrixDeliveryPlans, y as reconcileMatrixUnknownSend } from "./send-CB_1DyCb.mjs";
|
|
2
2
|
import { t as isBunRuntime } from "./runtime-BefyhPWv.mjs";
|
|
3
3
|
import { l as resolveMatrixAuth } from "./client-DvcYcTSy.mjs";
|
|
4
4
|
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-DggLE-28.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
2
2
|
import { i as resolveMatrixAccount, r as resolveDefaultMatrixAccountId, t as listMatrixAccountIds } from "./accounts-BJ6ECCac.mjs";
|
|
3
|
-
import { r as matrixSetupContract, t as createMatrixSetupWizardProxy } from "./setup-core-
|
|
3
|
+
import { r as matrixSetupContract, t as createMatrixSetupWizardProxy } from "./setup-core-DI64gkVk.mjs";
|
|
4
4
|
import { adaptScopedAccountAccessor, createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
5
5
|
import { createChannelConfigUiHints } from "openclaw/plugin-sdk/channel-core";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -314,7 +314,7 @@ const matrixPluginBase = {
|
|
|
314
314
|
order: 70,
|
|
315
315
|
quickstartAllowFrom: true
|
|
316
316
|
},
|
|
317
|
-
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./setup-surface-
|
|
317
|
+
setupWizard: createMatrixSetupWizardProxy(async () => ({ matrixSetupWizard: (await import("./setup-surface-DIp282cK.mjs").then((n) => n.t)).matrixSetupWizard })),
|
|
318
318
|
setupContract: matrixSetupContract,
|
|
319
319
|
capabilities: {
|
|
320
320
|
chatTypes: [
|
|
@@ -2,14 +2,14 @@ import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
|
2
2
|
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.mjs";
|
|
3
3
|
import { i as resolveMatrixAccount } from "./accounts-BJ6ECCac.mjs";
|
|
4
4
|
import { n as resolveMatrixConfigPath, r as updateMatrixAccountConfig } from "./config-update-B_4qZ5bV.mjs";
|
|
5
|
-
import { n as matrixSetupAdapter } from "./setup-core-
|
|
6
|
-
import { n as withResolvedActionClient } from "./client-
|
|
5
|
+
import { n as matrixSetupAdapter } from "./setup-core-DI64gkVk.mjs";
|
|
6
|
+
import { n as withResolvedActionClient } from "./client-Bq2nHQdS.mjs";
|
|
7
7
|
import { u as resolveMatrixAuthContext } from "./client-DvcYcTSy.mjs";
|
|
8
8
|
import { t as resolveMatrixRoomKeyBackupIssue } from "./backup-health-Dm_YMVFT.mjs";
|
|
9
9
|
import { i as setMatrixSdkLogMode, r as setMatrixSdkConsoleLogging } from "./logging-CkohOZwO.mjs";
|
|
10
10
|
import { n as isOpenClawManagedMatrixDevice, r as summarizeMatrixDeviceHealth } from "./device-health-CWOuIirq.mjs";
|
|
11
|
-
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update
|
|
12
|
-
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-
|
|
11
|
+
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "./profile-update--2WaSX_N.mjs";
|
|
12
|
+
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-DFvCQzHQ.mjs";
|
|
13
13
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
14
14
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
15
15
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -417,7 +417,7 @@ async function addMatrixAccount(params) {
|
|
|
417
417
|
backupVersion: null
|
|
418
418
|
};
|
|
419
419
|
if (accountConfig.encryption === true) {
|
|
420
|
-
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-
|
|
420
|
+
const { maybeBootstrapNewEncryptedMatrixAccount } = await import("./setup-bootstrap-wIqwHhfy.mjs");
|
|
421
421
|
verificationBootstrap = await maybeBootstrapNewEncryptedMatrixAccount({
|
|
422
422
|
previousCfg: cfg,
|
|
423
423
|
cfg: updated,
|
|
@@ -605,8 +605,8 @@ function registerMatrixDeviceCommands(root) {
|
|
|
605
605
|
}
|
|
606
606
|
//#endregion
|
|
607
607
|
//#region extensions/matrix/src/cli-direct.ts
|
|
608
|
-
const loadMatrixActionClientModule = createLazyRuntimeModule(() => import("./client-
|
|
609
|
-
const loadMatrixDirectManagementModule = createLazyRuntimeModule(() => import("./send-
|
|
608
|
+
const loadMatrixActionClientModule = createLazyRuntimeModule(() => import("./client-Bq2nHQdS.mjs").then((n) => n.t));
|
|
609
|
+
const loadMatrixDirectManagementModule = createLazyRuntimeModule(() => import("./send-CB_1DyCb.mjs").then((n) => n.x));
|
|
610
610
|
function printDirectRoomCandidate(room) {
|
|
611
611
|
const members = room.joinedMembers === null ? "unavailable" : room.joinedMembers.map((member) => formatMatrixCliText(member)).join(", ") || "none";
|
|
612
612
|
console.log(`- ${formatMatrixCliText(room.roomId)} [${room.source}] strict=${room.strict ? "yes" : "no"} joined=${members}`);
|
|
@@ -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-alYP731l.mjs");
|
|
6
6
|
registerMatrixCli({ program });
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "matrix",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { b as resolveMatrixRoomId } from "./send-
|
|
2
|
+
import { b as resolveMatrixRoomId } from "./send-CB_1DyCb.mjs";
|
|
3
3
|
import { n as withResolvedRuntimeMatrixClient } from "./client-bootstrap-Cb1tHsT4.mjs";
|
|
4
4
|
//#region extensions/matrix/src/matrix/actions/client.ts
|
|
5
5
|
var client_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as MsgType, a as sendSingleTextMessageMatrix, c as prepareMatrixSingleText, t as editMessageMatrix } from "./send-
|
|
1
|
+
import { T as MsgType, a as sendSingleTextMessageMatrix, c as prepareMatrixSingleText, t as editMessageMatrix } from "./send-CB_1DyCb.mjs";
|
|
2
2
|
import { createFinalizableDraftStreamControlsForState } from "openclaw/plugin-sdk/channel-outbound";
|
|
3
3
|
//#region extensions/matrix/src/matrix/draft-stream.ts
|
|
4
4
|
const DEFAULT_THROTTLE_MS = 1e3;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as MATRIX_REACTION_EVENT_TYPE } from "./reaction-common-DkrQdBSZ.mjs";
|
|
2
|
-
import { _ as resolvePollReferenceEventId, d as formatPollAsText, f as formatPollResultsAsText, g as parsePollStartContent, m as isPollStartType, p as isPollEventType, r as sendMessageMatrix, t as editMessageMatrix, u as buildPollResultsSummary } from "./send-
|
|
3
|
-
import { r as withResolvedRoomAction } from "./client-
|
|
2
|
+
import { _ as resolvePollReferenceEventId, d as formatPollAsText, f as formatPollResultsAsText, g as parsePollStartContent, m as isPollStartType, p as isPollEventType, r as sendMessageMatrix, t as editMessageMatrix, u as buildPollResultsSummary } from "./send-CB_1DyCb.mjs";
|
|
3
|
+
import { r as withResolvedRoomAction } from "./client-Bq2nHQdS.mjs";
|
|
4
4
|
import { n as isMatrixNotFoundError } from "./errors-DKVS3_DO.mjs";
|
|
5
5
|
import { asNullableObjectRecord, asNullableRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig, i as resolveMatrixAccountAllowlistConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
2
2
|
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.mjs";
|
|
3
3
|
import { n as resolveConfiguredMatrixBotUserIds } from "./accounts-BJ6ECCac.mjs";
|
|
4
|
-
import { _ as logInboundDrop, a as resolveMatrixThreadRootId, b as summarizeMapping, c as RelationType, d as buildAllowlistResolutionSummary, f as canonicalizeAllowlistWithResolvedIds, g as getAgentScopedMediaLocalRoots, h as formatLocationText, i as resolveMatrixReplyToEventId, l as resolveMatrixRoomConfig, m as createTypingCallbacks, n as resolveMatrixStoredSessionMeta, o as resolveMatrixThreadRouting, p as createReplyPrefixOptions, r as resolveMatrixInboundRoute, s as EventType, u as addAllowlistUserEntriesFromConfigEntry, v as logTypingFailure, x as toLocationContext, y as patchAllowlistUsersInConfigEntries } from "./channel-
|
|
5
|
-
import { a as normalizeMatrixUserId, i as normalizeMatrixAllowList, o as resolveMatrixAllowListMatch } from "./channel.setup-
|
|
4
|
+
import { _ as logInboundDrop, a as resolveMatrixThreadRootId, b as summarizeMapping, c as RelationType, d as buildAllowlistResolutionSummary, f as canonicalizeAllowlistWithResolvedIds, g as getAgentScopedMediaLocalRoots, h as formatLocationText, i as resolveMatrixReplyToEventId, l as resolveMatrixRoomConfig, m as createTypingCallbacks, n as resolveMatrixStoredSessionMeta, o as resolveMatrixThreadRouting, p as createReplyPrefixOptions, r as resolveMatrixInboundRoute, s as EventType, u as addAllowlistUserEntriesFromConfigEntry, v as logTypingFailure, x as toLocationContext, y as patchAllowlistUsersInConfigEntries } from "./channel-DPl88OlH.mjs";
|
|
5
|
+
import { a as normalizeMatrixUserId, i as normalizeMatrixAllowList, o as resolveMatrixAllowListMatch } from "./channel.setup-rAhnr9qE.mjs";
|
|
6
6
|
import { n as isMatrixRoomId, t as isMatrixQualifiedUserId } from "./target-ids-Nwx7cMVE.mjs";
|
|
7
|
-
import { S as promoteMatrixDirectRoomCandidate, d as formatPollAsText, g as parsePollStartContent, m as isPollStartType, p as isPollEventType, r as sendMessageMatrix, w as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY } from "./send-
|
|
7
|
+
import { S as promoteMatrixDirectRoomCandidate, d as formatPollAsText, g as parsePollStartContent, m as isPollStartType, p as isPollEventType, r as sendMessageMatrix, w as MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY } from "./send-CB_1DyCb.mjs";
|
|
8
8
|
import { i as isStrictDirectMembership, n as hasDirectMatrixMemberFlag, o as readJoinedMatrixMembers } from "./direct-room-CKyU8upP.mjs";
|
|
9
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
10
|
-
import { c as formatMatrixMediaTooLargeText, d as isLikelyBareFilename, f as resolveBundledMatrixReplacementContent, l as formatMatrixMediaUnavailableText, m as fetchMatrixPollSnapshot, r as readMatrixMessages, u as formatMatrixMessageText } from "./messages-
|
|
9
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-CNkF7BHc.mjs";
|
|
10
|
+
import { c as formatMatrixMediaTooLargeText, d as isLikelyBareFilename, f as resolveBundledMatrixReplacementContent, l as formatMatrixMediaUnavailableText, m as fetchMatrixPollSnapshot, r as readMatrixMessages, u as formatMatrixMessageText } from "./messages-OnTjm7mL.mjs";
|
|
11
11
|
import { t as isBunRuntime } from "./runtime-BefyhPWv.mjs";
|
|
12
12
|
import { a as throwIfMatrixStartupAborted, c as backfillMatrixAuthDeviceIdAfterStartup, i as isMatrixStartupAbortError, l as resolveMatrixAuth, n as acquireSharedMatrixClient, o as createMatrixMonitorTaskRunner, u as resolveMatrixAuthContext } from "./client-DvcYcTSy.mjs";
|
|
13
13
|
import { i as isMatrixMediaSizeLimitError, r as MatrixMediaSizeLimitError } from "./http-client-Bv6a2OfI.mjs";
|
|
@@ -15,7 +15,7 @@ import { t as resolveMatrixTargets } from "./resolve-targets-Bke5jHKS.mjs";
|
|
|
15
15
|
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-CvN_NQUJ.mjs";
|
|
16
16
|
import { createMatrixInboundEventDeduper } from "./inbound-dedupe-BOsuMiaj.mjs";
|
|
17
17
|
import { a as isMatrixAccessTokenInvalidatedError, d as isMatrixDisconnectedSyncState, f as isMatrixReadySyncState, p as isMatrixTerminalSyncState } from "./client-support-Bn9Bk0-H.mjs";
|
|
18
|
-
import { i as setBoundedMap, r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-
|
|
18
|
+
import { i as setBoundedMap, r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-DkqsBkNp.mjs";
|
|
19
19
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
20
20
|
import { buildChannelProgressDraftLineForEntry, createChannelProgressDraftCompositor, createMessageReceiptFromOutboundResults, createPreviewMessageReceipt, defineFinalizableLivePreviewAdapter, deliverWithFinalizableLivePreviewAdapter, formatChannelProgressDraftLine, formatChannelProgressDraftText, listMessageReceiptPlatformIds, resolveChannelStreamingBlockEnabled, waitUntilAbort } from "openclaw/plugin-sdk/channel-outbound";
|
|
21
21
|
import { normalizeLowercaseStringOrEmpty, normalizeNullableString, normalizeOptionalString, normalizeStringifiedEntries, readStringValue, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -822,7 +822,7 @@ const matrixVerificationConstants = {
|
|
|
822
822
|
const MAX_TRACKED_VERIFICATION_EVENTS = 1024;
|
|
823
823
|
const SAS_NOTICE_RETRY_DELAY_MS = 750;
|
|
824
824
|
const VERIFICATION_EVENT_STARTUP_GRACE_MS = 3e4;
|
|
825
|
-
const loadMatrixDirectRoomDeps = createLazyRuntimeModule(() => Promise.all([import("./send-
|
|
825
|
+
const loadMatrixDirectRoomDeps = createLazyRuntimeModule(() => Promise.all([import("./send-CB_1DyCb.mjs").then((n) => n.x), import("./direct-room-CKyU8upP.mjs").then((n) => n.t)]).then(([directManagementModule, directRoomModule]) => ({
|
|
826
826
|
inspectMatrixDirectRooms: directManagementModule.inspectMatrixDirectRooms,
|
|
827
827
|
isStrictDirectRoom: directRoomModule.isStrictDirectRoom
|
|
828
828
|
})));
|
|
@@ -1640,11 +1640,11 @@ async function redactMatrixDraftEvent(client, roomId, draftEventId) {
|
|
|
1640
1640
|
function buildMatrixFinalizedPreviewContent() {
|
|
1641
1641
|
return { [MATRIX_OPENCLAW_FINALIZED_PREVIEW_KEY]: true };
|
|
1642
1642
|
}
|
|
1643
|
-
const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-
|
|
1643
|
+
const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-CB_1DyCb.mjs").then((n) => n.s));
|
|
1644
1644
|
const loadAcpBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/acp-binding-runtime"));
|
|
1645
1645
|
const loadSessionBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/session-binding-runtime"));
|
|
1646
|
-
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-
|
|
1647
|
-
const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-
|
|
1646
|
+
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-TOpRUfMk.mjs"));
|
|
1647
|
+
const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-Bmm8-rJ5.mjs"));
|
|
1648
1648
|
async function matrixTextWouldActivateMentions(client, text) {
|
|
1649
1649
|
const { resolveMatrixMentionsForBody } = await loadMatrixSendModule();
|
|
1650
1650
|
const mentions = await resolveMatrixMentionsForBody({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.mjs";
|
|
2
2
|
import { n as resolveMatrixConfigPath, r as updateMatrixAccountConfig } from "./config-update-B_4qZ5bV.mjs";
|
|
3
3
|
import { r as syncMatrixOwnProfile } from "./profile-ClrB3IgR.mjs";
|
|
4
|
-
import { n as withResolvedActionClient } from "./client-
|
|
4
|
+
import { n as withResolvedActionClient } from "./client-Bq2nHQdS.mjs";
|
|
5
5
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
6
6
|
//#region extensions/matrix/src/matrix/actions/profile.ts
|
|
7
7
|
async function updateMatrixOwnProfile(opts = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
2
|
-
import { a as resolveMatrixThreadRootId, o as resolveMatrixThreadRouting, r as resolveMatrixInboundRoute } from "./channel-
|
|
2
|
+
import { a as resolveMatrixThreadRootId, o as resolveMatrixThreadRouting, r as resolveMatrixInboundRoute } from "./channel-DPl88OlH.mjs";
|
|
3
3
|
import { a as extractMatrixReactionAnnotation } from "./reaction-common-DkrQdBSZ.mjs";
|
|
4
4
|
import { i as resolveMatrixApprovalReactionTargetWithPersistence, o as unregisterMatrixApprovalReactionTargetsForApproval } from "./approval-reactions-BlnA05wW.mjs";
|
|
5
5
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
@@ -7,9 +7,9 @@ import { isApprovalNotFoundError } from "openclaw/plugin-sdk/error-runtime";
|
|
|
7
7
|
import { normalizeAccountId } from "openclaw/plugin-sdk/routing";
|
|
8
8
|
import { getSessionBindingService } from "openclaw/plugin-sdk/session-binding-runtime";
|
|
9
9
|
//#region extensions/matrix/src/matrix/monitor/reaction-events.ts
|
|
10
|
-
const loadApprovalReactionAuth = createLazyRuntimeModule(() => import("./approval-reaction-auth-
|
|
10
|
+
const loadApprovalReactionAuth = createLazyRuntimeModule(() => import("./approval-reaction-auth-DeNajmD4.mjs"));
|
|
11
11
|
const loadExecApprovalResolver = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/approval-gateway-runtime"));
|
|
12
|
-
const loadMatrixSend = createLazyRuntimeModule(() => import("./send-
|
|
12
|
+
const loadMatrixSend = createLazyRuntimeModule(() => import("./send-CB_1DyCb.mjs").then((n) => n.s));
|
|
13
13
|
function buildMatrixApprovalTerminalText(result) {
|
|
14
14
|
const approval = result.approval;
|
|
15
15
|
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
|
-
import { b as resolveMatrixRoomId } from "./send-
|
|
2
|
-
import { s as EventType } from "./messages-
|
|
3
|
-
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-
|
|
1
|
+
import { b as resolveMatrixRoomId } from "./send-CB_1DyCb.mjs";
|
|
2
|
+
import { s as EventType } from "./messages-OnTjm7mL.mjs";
|
|
3
|
+
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-Bq2nHQdS.mjs";
|
|
4
4
|
import { n as isMatrixNotFoundError } from "./errors-DKVS3_DO.mjs";
|
|
5
5
|
//#region extensions/matrix/src/matrix/monitor/bounded-cache.ts
|
|
6
6
|
function setBoundedMap(map, key, value, maxEntries) {
|
|
@@ -87,12 +87,8 @@ var direct_management_exports = /* @__PURE__ */ __exportAll({
|
|
|
87
87
|
const DIRECT_ACCOUNT_DATA_QUEUE_KEY = EventType.Direct;
|
|
88
88
|
const directAccountDataWriteQueues = /* @__PURE__ */ new WeakMap();
|
|
89
89
|
async function readMatrixDirectAccountData(client) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
return direct && typeof direct === "object" && !Array.isArray(direct) ? direct : {};
|
|
93
|
-
} catch {
|
|
94
|
-
return {};
|
|
95
|
-
}
|
|
90
|
+
const direct = await client.getAccountData(EventType.Direct);
|
|
91
|
+
return direct && typeof direct === "object" && !Array.isArray(direct) ? direct : {};
|
|
96
92
|
}
|
|
97
93
|
function normalizeRemoteUserId(remoteUserId) {
|
|
98
94
|
const normalized = normalizeOptionalString(remoteUserId) ?? "";
|
|
@@ -229,7 +225,7 @@ async function promoteMatrixDirectRoomCandidate(params) {
|
|
|
229
225
|
async function inspectMatrixDirectRooms(params) {
|
|
230
226
|
const remoteUserId = normalizeRemoteUserId(params.remoteUserId);
|
|
231
227
|
const selfUserId = normalizeOptionalString(await params.client.getUserId().catch(() => null)) ?? null;
|
|
232
|
-
const mappedRoomIds = normalizeMappedRoomIds(await readMatrixDirectAccountData(params.client), remoteUserId);
|
|
228
|
+
const mappedRoomIds = normalizeMappedRoomIds(await readMatrixDirectAccountData(params.client).catch(() => ({})), remoteUserId);
|
|
233
229
|
const mappedRooms = await Promise.all(mappedRoomIds.map(async (roomId) => await classifyDirectRoomCandidate({
|
|
234
230
|
client: params.client,
|
|
235
231
|
roomId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig, n as hasExplicitMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
2
2
|
import "./accounts-BJ6ECCac.mjs";
|
|
3
|
-
import { n as bootstrapMatrixVerification } from "./verification-
|
|
3
|
+
import { n as bootstrapMatrixVerification } from "./verification-DFvCQzHQ.mjs";
|
|
4
4
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
//#region extensions/matrix/src/setup-bootstrap.ts
|
|
6
6
|
async function maybeBootstrapNewEncryptedMatrixAccount(params) {
|
|
@@ -311,7 +311,7 @@ const matrixSetupAdapter = {
|
|
|
311
311
|
input
|
|
312
312
|
}),
|
|
313
313
|
afterAccountConfigWritten: async ({ previousCfg, cfg, accountId, runtime }) => {
|
|
314
|
-
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-
|
|
314
|
+
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-wIqwHhfy.mjs");
|
|
315
315
|
await runMatrixSetupBootstrapAfterConfigWrite({
|
|
316
316
|
previousCfg,
|
|
317
317
|
cfg,
|
|
@@ -4,7 +4,7 @@ import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
|
4
4
|
import { i as resolveMatrixAccount, r as resolveDefaultMatrixAccountId, t as listMatrixAccountIds } from "./accounts-BJ6ECCac.mjs";
|
|
5
5
|
import { n as isMatrixRoomId } from "./target-ids-Nwx7cMVE.mjs";
|
|
6
6
|
import { r as updateMatrixAccountConfig } from "./config-update-B_4qZ5bV.mjs";
|
|
7
|
-
import { a as moveSingleMatrixAccountConfigToNamedAccount, i as createMatrixSetupDmPolicy } from "./setup-core-
|
|
7
|
+
import { a as moveSingleMatrixAccountConfigToNamedAccount, i as createMatrixSetupDmPolicy } from "./setup-core-DI64gkVk.mjs";
|
|
8
8
|
import { n as validateMatrixHomeserverUrl, r as isPrivateOrLoopbackHost, t as resolveValidatedMatrixHomeserverUrl } from "./url-validation-GRHde6lq.mjs";
|
|
9
9
|
import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "./deps-mtxF2mHI.mjs";
|
|
10
10
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringifiedOptionalString, normalizeUniqueStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -464,7 +464,7 @@ const matrixOnboardingAdapter = {
|
|
|
464
464
|
});
|
|
465
465
|
},
|
|
466
466
|
afterConfigWritten: async ({ previousCfg, cfg, accountId, runtime }) => {
|
|
467
|
-
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-
|
|
467
|
+
const { runMatrixSetupBootstrapAfterConfigWrite } = await import("./setup-bootstrap-wIqwHhfy.mjs");
|
|
468
468
|
await runMatrixSetupBootstrapAfterConfigWrite({
|
|
469
469
|
previousCfg,
|
|
470
470
|
cfg,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-6S3DNFNv.mjs";
|
|
2
2
|
import { a as listBindingsForAccount, c as resolveEffectiveBindingExpiry, d as setMatrixThreadBindingManagerEntry, l as setBindingRecord, m as toSessionBindingRecord, o as removeBindingRecord, p as toMatrixBindingTargetKind, r as getMatrixThreadBindingManagerEntry, s as resolveBindingKey, t as deleteMatrixThreadBindingManagerEntry } from "./thread-bindings-shared-oNPiyMWY.mjs";
|
|
3
3
|
import { M as resolveMatrixSqliteStateEnv, N as resolveMatrixSqliteStateKey, c as resolveMatrixStateFilePath, t as claimCurrentTokenStorageState } from "./storage-B-nf2ReN.mjs";
|
|
4
|
-
import { r as sendMessageMatrix } from "./send-
|
|
4
|
+
import { r as sendMessageMatrix } from "./send-CB_1DyCb.mjs";
|
|
5
5
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig, o as resolveMatrixBaseConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
2
2
|
import { i as resolveMatrixAccount } from "./accounts-BJ6ECCac.mjs";
|
|
3
|
-
import { l as resolveMatrixRoomConfig } from "./channel-
|
|
3
|
+
import { l as resolveMatrixRoomConfig } from "./channel-DPl88OlH.mjs";
|
|
4
4
|
import { i as normalizeMatrixResolvableTarget } from "./target-ids-Nwx7cMVE.mjs";
|
|
5
5
|
import { i as buildMatrixReactionRelationsPath, o as selectOwnMatrixReactionEventIds, s as summarizeMatrixReactionEvents } from "./reaction-common-DkrQdBSZ.mjs";
|
|
6
|
-
import { b as resolveMatrixRoomId, h as parsePollStart, l as buildPollResponseContent, m as isPollStartType, n as reactMatrixMessage } from "./send-
|
|
6
|
+
import { b as resolveMatrixRoomId, h as parsePollStart, l as buildPollResponseContent, m as isPollStartType, n as reactMatrixMessage } from "./send-CB_1DyCb.mjs";
|
|
7
7
|
import { i as isStrictDirectMembership, n as hasDirectMatrixMemberFlag, o as readJoinedMatrixMembers } from "./direct-room-CKyU8upP.mjs";
|
|
8
|
-
import { a as fetchEventSummary, i as sendMatrixMessage, n as editMatrixMessage, o as readPinnedEvents, p as resolveMatrixActionLimit, r as readMatrixMessages, s as EventType, t as deleteMatrixMessage } from "./messages-
|
|
9
|
-
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-
|
|
8
|
+
import { a as fetchEventSummary, i as sendMatrixMessage, n as editMatrixMessage, o as readPinnedEvents, p as resolveMatrixActionLimit, r as readMatrixMessages, s as EventType, t as deleteMatrixMessage } from "./messages-OnTjm7mL.mjs";
|
|
9
|
+
import { n as withResolvedActionClient, r as withResolvedRoomAction } from "./client-Bq2nHQdS.mjs";
|
|
10
10
|
import { r as parseMxc } from "./event-helpers-XRfAbOIh.mjs";
|
|
11
|
-
import { t as applyMatrixProfileUpdate } from "./profile-update
|
|
12
|
-
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-
|
|
13
|
-
import { n as getMatrixMemberInfo, r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-
|
|
11
|
+
import { t as applyMatrixProfileUpdate } from "./profile-update--2WaSX_N.mjs";
|
|
12
|
+
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-DFvCQzHQ.mjs";
|
|
13
|
+
import { n as getMatrixMemberInfo, r as getMatrixRoomInfo, t as createMatrixRoomInfoResolver } from "./room-info-DkqsBkNp.mjs";
|
|
14
14
|
import { isRecord, normalizeOptionalLowercaseString, uniqueStrings, uniqueValues } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
15
15
|
import { ToolAuthorizationError, createActionGate, jsonResult, readPositiveIntegerParam, readReactionParams, readStringArrayParam, readStringParam } from "openclaw/plugin-sdk/channel-actions";
|
|
16
16
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { i as withStartedActionClient, n as withResolvedActionClient } from "./client-
|
|
2
|
+
import { i as withStartedActionClient, n as withResolvedActionClient } from "./client-Bq2nHQdS.mjs";
|
|
3
3
|
import { n as formatMatrixEncryptionUnavailableError } from "./encryption-guidance-CvN_NQUJ.mjs";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
|
package/dist/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConfig, n as requiresExplicitMatrixDefaultAccount, r as resolveConfiguredMatrixAccountIds, t as findMatrixAccountEntry } from "./.setup/account-selection-DZMazUgX.mjs";
|
|
2
2
|
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-dGqak9dN.mjs";
|
|
3
3
|
import { a as resolveMatrixCredentialsPath, i as resolveMatrixCredentialsFilename, n as resolveMatrixAccountStorageRoot, o as resolveMatrixHomeserverKey, r as resolveMatrixCredentialsDir, s as sanitizeMatrixPathSegment, t as hashMatrixAccessToken } from "./.setup/storage-paths-gUmSydsW.mjs";
|
|
4
|
-
import { t as matrixPlugin } from "./.setup/channel-
|
|
5
|
-
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./.setup/setup-core-
|
|
4
|
+
import { t as matrixPlugin } from "./.setup/channel-DPl88OlH.mjs";
|
|
5
|
+
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./.setup/setup-core-DI64gkVk.mjs";
|
|
6
6
|
import { f as setMatrixThreadBindingMaxAgeBySessionKey, n as getMatrixThreadBindingManager, u as setMatrixThreadBindingIdleTimeoutBySessionKey } from "./.setup/thread-bindings-shared-oNPiyMWY.mjs";
|
|
7
|
-
import { n as matrixOnboardingAdapter } from "./.setup/setup-surface-
|
|
8
|
-
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-
|
|
7
|
+
import { n as matrixOnboardingAdapter } from "./.setup/setup-surface-DIp282cK.mjs";
|
|
8
|
+
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-CNkF7BHc.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, setMatrixThreadBindingMaxAgeBySessionKey };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as matrixPlugin } from "./.setup/channel-
|
|
1
|
+
import { t as matrixPlugin } from "./.setup/channel-DPl88OlH.mjs";
|
|
2
2
|
export { matrixPlugin };
|
package/dist/cli-metadata.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as registerMatrixCliMetadata, t as cli_metadata_default } from "./.setup/cli-metadata-
|
|
1
|
+
import { n as registerMatrixCliMetadata, t as cli_metadata_default } from "./.setup/cli-metadata-Cf909OnT.mjs";
|
|
2
2
|
export { cli_metadata_default as default, registerMatrixCliMetadata };
|
package/dist/contract-api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as singleAccountKeysToMove, n as matrixSetupAdapter, o as namedAccountPromotionKeys, s as resolveSingleAccountPromotionTarget } from "./.setup/setup-core-
|
|
2
|
-
import { n as matrixOnboardingAdapter } from "./.setup/setup-surface-
|
|
1
|
+
import { c as singleAccountKeysToMove, n as matrixSetupAdapter, o as namedAccountPromotionKeys, s as resolveSingleAccountPromotionTarget } from "./.setup/setup-core-DI64gkVk.mjs";
|
|
2
|
+
import { n as matrixOnboardingAdapter } from "./.setup/setup-surface-DIp282cK.mjs";
|
|
3
3
|
export { matrixSetupAdapter, matrixOnboardingAdapter as matrixSetupWizard, namedAccountPromotionKeys, resolveSingleAccountPromotionTarget, singleAccountKeysToMove };
|
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-Cf909OnT.mjs";
|
|
2
2
|
import { registerMatrixSubagentHooks } from "./subagent-hooks-api.js";
|
|
3
3
|
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
4
4
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
@@ -2,7 +2,7 @@ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
|
2
2
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
4
4
|
//#region extensions/matrix/src/plugin-entry.runtime.ts
|
|
5
|
-
const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-
|
|
5
|
+
const loadMatrixVerificationRuntime = createLazyRuntimeModule(() => import("./.setup/verification-DFvCQzHQ.mjs").then((n) => n.y));
|
|
6
6
|
function sendError(respond, err) {
|
|
7
7
|
respond(false, { error: formatErrorMessage(err) });
|
|
8
8
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as setMatrixRuntime } from "./.setup/runtime-6S3DNFNv.mjs";
|
|
2
|
-
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-
|
|
2
|
+
import { t as createMatrixThreadBindingManager } from "./.setup/thread-bindings-CNkF7BHc.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-IIC8ukej.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "matrixSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as matrixSetupPlugin } from "./.setup/channel.setup-
|
|
1
|
+
import { n as matrixSetupPlugin } from "./.setup/channel.setup-rAhnr9qE.mjs";
|
|
2
2
|
export { matrixSetupPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/matrix",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.35",
|
|
4
4
|
"description": "OpenClaw Matrix channel plugin for rooms and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"zod": "4.4.3"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"openclaw": ">=2026.8.
|
|
21
|
+
"openclaw": ">=2026.8.35"
|
|
22
22
|
},
|
|
23
23
|
"peerDependenciesMeta": {
|
|
24
24
|
"openclaw": {
|
|
@@ -167,10 +167,10 @@
|
|
|
167
167
|
"allowInvalidConfigRecovery": true
|
|
168
168
|
},
|
|
169
169
|
"compat": {
|
|
170
|
-
"pluginApi": ">=2026.8.
|
|
170
|
+
"pluginApi": ">=2026.8.35"
|
|
171
171
|
},
|
|
172
172
|
"build": {
|
|
173
|
-
"openclawVersion": "2026.8.
|
|
173
|
+
"openclawVersion": "2026.8.35"
|
|
174
174
|
},
|
|
175
175
|
"release": {
|
|
176
176
|
"publishToClawHub": true,
|