@openclaw/matrix 2026.9.8 → 2026.9.33
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/{channel-DXenXmj0.mjs → channel-C0oyQ_i7.mjs} +3 -3
- package/dist/.setup/{channel.runtime-BXUawOno.mjs → channel.runtime-rboo2n9O.mjs} +17 -12
- package/dist/.setup/{monitor-BBg5qgov.mjs → monitor-BqBMKRwe.mjs} +3 -3
- package/dist/.setup/{outbound-C9vBijaH.mjs → outbound-BfgLFAJj.mjs} +1 -1
- package/dist/.setup/{reaction-events-mnzc_JvP.mjs → reaction-events-CbRb1mUg.mjs} +2 -2
- package/dist/.setup/{tool-actions-Ce7Okg6m.mjs → tool-actions-CdltFa1G.mjs} +1 -1
- package/dist/api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/package.json +4 -4
|
@@ -154,7 +154,7 @@ const matrixMessageActions = {
|
|
|
154
154
|
return account.enabled && account.configured && createActionGate(account.config.actions)("messages") ? payload : null;
|
|
155
155
|
},
|
|
156
156
|
handleAction: async (ctx) => {
|
|
157
|
-
const { handleMatrixAction } = await import("./tool-actions-
|
|
157
|
+
const { handleMatrixAction } = await import("./tool-actions-CdltFa1G.mjs");
|
|
158
158
|
return await handleMatrixAction(ctx);
|
|
159
159
|
}
|
|
160
160
|
};
|
|
@@ -809,9 +809,9 @@ function resolveMatrixOutboundSessionRoute(params) {
|
|
|
809
809
|
}
|
|
810
810
|
//#endregion
|
|
811
811
|
//#region extensions/matrix/src/channel.ts
|
|
812
|
-
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
812
|
+
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-rboo2n9O.mjs"), "matrixChannelRuntime");
|
|
813
813
|
const loadMatrixDoctorModule = createLazyRuntimeModule(() => import("./doctor-DMvEBx6o.mjs"));
|
|
814
|
-
const loadMatrixMonitorModule = createLazyRuntimeModule(() => import("./monitor-
|
|
814
|
+
const loadMatrixMonitorModule = createLazyRuntimeModule(() => import("./monitor-BqBMKRwe.mjs").catch((error) => {
|
|
815
815
|
loadMatrixMonitorModule.clear();
|
|
816
816
|
throw error;
|
|
817
817
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { T as reconcileMatrixUnknownSend, o as sendTypingMatrix, r as sendMessageMatrix, w as cleanupMatrixDeliveryPlans } from "./send-GOF64QRc.mjs";
|
|
2
2
|
import { u as resolveMatrixAuth } from "./client-Ccv77kwh.mjs";
|
|
3
3
|
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-_sw-Q7KO.mjs";
|
|
4
|
-
import { t as matrixOutbound } from "./outbound-
|
|
4
|
+
import { t as matrixOutbound } from "./outbound-BfgLFAJj.mjs";
|
|
5
5
|
import { t as resolveMatrixTargets } from "./resolve-targets-BFq3q4c9.mjs";
|
|
6
6
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
7
7
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -26,7 +26,7 @@ async function probeMatrix(params) {
|
|
|
26
26
|
};
|
|
27
27
|
const { createMatrixClient } = await loadMatrixProbeRuntimeDeps();
|
|
28
28
|
const inputUserId = normalizeOptionalString(params.userId);
|
|
29
|
-
const
|
|
29
|
+
const client = await createMatrixClient({
|
|
30
30
|
homeserver: params.homeserver,
|
|
31
31
|
userId: void 0,
|
|
32
32
|
accessToken: params.accessToken,
|
|
@@ -37,16 +37,21 @@ async function probeMatrix(params) {
|
|
|
37
37
|
allowPrivateNetwork: params.allowPrivateNetwork,
|
|
38
38
|
ssrfPolicy: params.ssrfPolicy,
|
|
39
39
|
dispatcherPolicy: params.dispatcherPolicy
|
|
40
|
-
})
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
40
|
+
});
|
|
41
|
+
try {
|
|
42
|
+
const userId = await client.getUserId();
|
|
43
|
+
if (inputUserId && inputUserId !== userId) return {
|
|
44
|
+
...result,
|
|
45
|
+
error: "Matrix access token user does not match configured userId"
|
|
46
|
+
};
|
|
47
|
+
return {
|
|
48
|
+
...result,
|
|
49
|
+
ok: true,
|
|
50
|
+
userId
|
|
51
|
+
};
|
|
52
|
+
} finally {
|
|
53
|
+
await client.stopWithoutPersist();
|
|
54
|
+
}
|
|
50
55
|
}, (error) => ({
|
|
51
56
|
ok: false,
|
|
52
57
|
status: typeof error === "object" && error && "statusCode" in error ? Number(error.statusCode) : null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
|
|
2
2
|
import { a as resolveMatrixAccountConfig, i as resolveMatrixAccountAllowlistConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
3
3
|
import { n as resolveConfiguredMatrixBotUserIds } from "./accounts-WkgrIxMt.mjs";
|
|
4
|
-
import { a as resolveMatrixThreadRouting, i as resolveMatrixInboundRoute, n as resolveMatrixStoredSessionMeta, o as resolveMatrixRoomConfig } from "./channel-
|
|
4
|
+
import { a as resolveMatrixThreadRouting, i as resolveMatrixInboundRoute, n as resolveMatrixStoredSessionMeta, o as resolveMatrixRoomConfig } from "./channel-C0oyQ_i7.mjs";
|
|
5
5
|
import { a as resolveMatrixAllowListMatch, i as normalizeMatrixUserId, r as normalizeMatrixAllowList } from "./channel.setup-DWfLaXqT.mjs";
|
|
6
6
|
import { n as isMatrixRoomId, t as isMatrixQualifiedUserId } from "./target-ids-Nwx7cMVE.mjs";
|
|
7
7
|
import { a as MATRIX_REACTION_EVENT_TYPE } from "./send-currentness-C2rMVVIQ.mjs";
|
|
@@ -11,7 +11,7 @@ import { t as createMatrixThreadBindingManager } from "./thread-bindings-jXu_9cH
|
|
|
11
11
|
import { i as readMatrixMessages, u as fetchMatrixPollSnapshot } from "./messages-Buz27pi5.mjs";
|
|
12
12
|
import { a as isMatrixStartupAbortError, c as getMatrixMonitorTaskSignal, d as resolveMatrixAuthContext, l as backfillMatrixAuthDeviceIdAfterStartup, n as acquireSharedMatrixClient, o as throwIfMatrixStartupAborted, s as createMatrixMonitorTaskRunner, u as resolveMatrixAuth } from "./client-Ccv77kwh.mjs";
|
|
13
13
|
import { i as isMatrixMediaSizeLimitError, r as MatrixMediaSizeLimitError } from "./http-client-C1XvVD3K.mjs";
|
|
14
|
-
import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-
|
|
14
|
+
import { n as prepareMatrixReplyPayload, r as resolveMatrixExtraContent } from "./outbound-BfgLFAJj.mjs";
|
|
15
15
|
import { t as resolveMatrixTargets } from "./resolve-targets-BFq3q4c9.mjs";
|
|
16
16
|
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-B6797jNA.mjs";
|
|
17
17
|
import { createMatrixInboundEventDeduper } from "./inbound-dedupe-BGrMrTTu.mjs";
|
|
@@ -1638,7 +1638,7 @@ function formatMatrixToolProgressMarkdownCode(text) {
|
|
|
1638
1638
|
const loadMatrixSendModule = createLazyRuntimeModule(() => import("./send-GOF64QRc.mjs").then((n) => n.s));
|
|
1639
1639
|
const loadAcpBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/acp-binding-runtime"));
|
|
1640
1640
|
const loadSessionBindingRuntime = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/session-binding-runtime"));
|
|
1641
|
-
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-
|
|
1641
|
+
const loadMatrixReactionEvents = createLazyRuntimeModule(() => import("./reaction-events-CbRb1mUg.mjs"));
|
|
1642
1642
|
const loadMatrixDraftStream = createLazyRuntimeModule(() => import("./draft-stream-CdVMstpR.mjs"));
|
|
1643
1643
|
async function matrixTextWouldActivateMentions(client, text) {
|
|
1644
1644
|
const { resolveMatrixMentionsForBody } = await loadMatrixSendModule();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as matrixPresentationCapabilities } from "./channel-
|
|
1
|
+
import { r as matrixPresentationCapabilities } from "./channel-C0oyQ_i7.mjs";
|
|
2
2
|
import { i as sendPollMatrix, r as sendMessageMatrix } from "./send-GOF64QRc.mjs";
|
|
3
3
|
import { createMessageReceiptFromOutboundResults, createReplyToFanout, resolveOutboundSendDep } from "openclaw/plugin-sdk/channel-outbound";
|
|
4
4
|
import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
2
|
-
import { a as resolveMatrixThreadRouting, i as resolveMatrixInboundRoute } from "./channel-
|
|
2
|
+
import { a as resolveMatrixThreadRouting, i as resolveMatrixInboundRoute } from "./channel-C0oyQ_i7.mjs";
|
|
3
3
|
import { c as extractMatrixReactionAnnotation } from "./send-currentness-C2rMVVIQ.mjs";
|
|
4
4
|
import { p as resolveMatrixThreadRootId } from "./direct-management-Cn2t8n1V.mjs";
|
|
5
5
|
import { i as resolveMatrixApprovalReactionTargetWithPersistence, o as unregisterMatrixApprovalReactionTargetsForApproval } from "./approval-reactions-BrS5ECU0.mjs";
|
|
@@ -8,7 +8,7 @@ import { isApprovalNotFoundError } from "openclaw/plugin-sdk/error-runtime";
|
|
|
8
8
|
import { normalizeAccountId } from "openclaw/plugin-sdk/routing";
|
|
9
9
|
import { getSessionBindingService } from "openclaw/plugin-sdk/session-binding-runtime";
|
|
10
10
|
//#region extensions/matrix/src/matrix/monitor/reaction-events.ts
|
|
11
|
-
const loadApprovalReactionAuth = createLazyRuntimeModule(() => import("./channel-
|
|
11
|
+
const loadApprovalReactionAuth = createLazyRuntimeModule(() => import("./channel-C0oyQ_i7.mjs").then((n) => n.s));
|
|
12
12
|
const loadExecApprovalResolver = createLazyRuntimeModule(() => import("openclaw/plugin-sdk/approval-gateway-runtime"));
|
|
13
13
|
const loadMatrixSend = createLazyRuntimeModule(() => import("./send-GOF64QRc.mjs").then((n) => n.s));
|
|
14
14
|
function buildMatrixApprovalTerminalText(result) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveMatrixAccountConfig, o as resolveMatrixBaseConfig } from "./account-config-CRsKoMqJ.mjs";
|
|
2
2
|
import { r as resolveDefaultMatrixAccountId } from "./accounts-WkgrIxMt.mjs";
|
|
3
|
-
import { o as resolveMatrixRoomConfig } from "./channel-
|
|
3
|
+
import { o as resolveMatrixRoomConfig } from "./channel-C0oyQ_i7.mjs";
|
|
4
4
|
import { i as normalizeMatrixResolvableTarget } from "./target-ids-Nwx7cMVE.mjs";
|
|
5
5
|
import { l as selectOwnMatrixReactionEventIds, s as buildMatrixReactionRelationsPath, u as summarizeMatrixReactionEvents } from "./send-currentness-C2rMVVIQ.mjs";
|
|
6
6
|
import { c as isStrictDirectMembership, s as hasDirectMatrixMemberFlag, u as readJoinedMatrixMembers } from "./direct-management-Cn2t8n1V.mjs";
|
package/dist/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as resolveConfiguredMatrixAccountIds, i as requiresExplicitMatrixDefaultAccount, n as findMatrixAccountEntry, o as resolveMatrixChannelConfig, s as resolveMatrixDefaultOrOnlyAccountId } from "./.setup/account-selection-B7axQ80R.mjs";
|
|
2
2
|
import { n as listMatrixEnvAccountIds, r as resolveMatrixEnvAccountToken, t as getMatrixScopedEnvVarNames } from "./.setup/env-vars-dGqak9dN.mjs";
|
|
3
3
|
import { a as resolveMatrixCredentialsFilename, i as resolveMatrixCredentialsDir, l as sanitizeMatrixPathSegment, o as resolveMatrixCredentialsPath, r as resolveMatrixAccountStorageRoot, s as resolveMatrixHomeserverKey, t as hashMatrixAccessToken } from "./.setup/storage-paths-B51JM-pC.mjs";
|
|
4
|
-
import { t as matrixPlugin } from "./.setup/channel-
|
|
4
|
+
import { t as matrixPlugin } from "./.setup/channel-C0oyQ_i7.mjs";
|
|
5
5
|
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./.setup/setup-core-BeifoeL4.mjs";
|
|
6
6
|
import { d as setMatrixThreadBindingMaxAgeBySessionKey, l as setMatrixThreadBindingIdleTimeoutBySessionKey, n as getMatrixThreadBindingManager } from "./.setup/thread-bindings-shared-hxKkYC1W.mjs";
|
|
7
7
|
import { t as matrixOnboardingAdapter } from "./.setup/onboarding-hJaieQj5.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as matrixPlugin } from "./.setup/channel-
|
|
1
|
+
import { t as matrixPlugin } from "./.setup/channel-C0oyQ_i7.mjs";
|
|
2
2
|
export { matrixPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/matrix",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.33",
|
|
4
4
|
"description": "OpenClaw Matrix channel plugin for rooms and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"zod": "4.6.5"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"openclaw": ">=2026.9.
|
|
22
|
+
"openclaw": ">=2026.9.33"
|
|
23
23
|
},
|
|
24
24
|
"peerDependenciesMeta": {
|
|
25
25
|
"openclaw": {
|
|
@@ -169,11 +169,11 @@
|
|
|
169
169
|
"allowInvalidConfigRecovery": true
|
|
170
170
|
},
|
|
171
171
|
"compat": {
|
|
172
|
-
"pluginApi": ">=2026.9.
|
|
172
|
+
"pluginApi": ">=2026.9.33"
|
|
173
173
|
},
|
|
174
174
|
"build": {
|
|
175
175
|
"bundledDist": false,
|
|
176
|
-
"openclawVersion": "2026.9.
|
|
176
|
+
"openclawVersion": "2026.9.33"
|
|
177
177
|
},
|
|
178
178
|
"release": {
|
|
179
179
|
"publishToClawHub": true,
|