@openclaw/matrix 2026.9.9 → 2026.9.34
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/runtime-setter-api-i2MOXoT3.mjs +2 -0
- package/dist/.setup/secret-contract-api-wmWCDXKD.mjs +2 -0
- package/dist/.setup/setup-plugin-api-GR_UaoUL.mjs +2 -0
- 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 -2
- package/dist/cli-metadata.js +1 -2
- package/dist/runtime-setter-api.js +1 -2
- package/dist/secret-contract-api.js +1 -2
- package/dist/setup-entry.js +3 -3
- package/dist/setup-plugin-api.js +1 -2
- package/dist/thread-binding-api.js +1 -2
- package/dist/thread-bindings-runtime.js +1 -2
- package/node_modules/argparse/lib/argparse.js +1 -1
- package/node_modules/argparse/package.json +1 -1
- package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs +737 -686
- package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs.map +1 -1
- package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js +8 -8
- package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js.map +1 -1
- package/node_modules/markdown-it/dist/markdown-it.cjs.js +660 -518
- package/node_modules/markdown-it/dist/markdown-it.cjs.js.map +1 -1
- package/node_modules/markdown-it/dist/markdown-it.d.mts +1 -0
- package/node_modules/markdown-it/dist/markdown-it.mjs +179 -124
- package/node_modules/markdown-it/dist/markdown-it.mjs.map +1 -1
- package/node_modules/markdown-it/package.json +11 -11
- package/node_modules/zod/package.json +1 -1
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
- package/node_modules/zod/src/v4/core/compile.ts +9 -0
- package/node_modules/zod/src/v4/core/schemas.ts +35 -1
- package/node_modules/zod/src/v4/core/util.ts +13 -0
- package/node_modules/zod/src/v4/core/versions.ts +1 -1
- package/node_modules/zod/v4/core/compile.cjs +8 -0
- package/node_modules/zod/v4/core/compile.js +8 -0
- package/node_modules/zod/v4/core/schemas.cjs +30 -0
- package/node_modules/zod/v4/core/schemas.d.cts +3 -1
- package/node_modules/zod/v4/core/schemas.d.ts +3 -1
- package/node_modules/zod/v4/core/schemas.js +30 -0
- package/node_modules/zod/v4/core/util.cjs +15 -0
- package/node_modules/zod/v4/core/util.d.cts +2 -0
- package/node_modules/zod/v4/core/util.d.ts +2 -0
- package/node_modules/zod/v4/core/util.js +14 -0
- package/node_modules/zod/v4/core/versions.cjs +1 -1
- package/node_modules/zod/v4/core/versions.js +1 -1
- package/package.json +6 -6
- package/dist/.setup/runtime-setter-api-DtxDAM-x.mjs +0 -3
- package/dist/.setup/secret-contract-api-B-iJoQEv.mjs +0 -3
- package/dist/.setup/setup-plugin-api-Bsbdw41x.mjs +0 -3
|
@@ -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 @@
|
|
|
1
|
-
|
|
2
|
-
export { matrixPlugin };
|
|
1
|
+
export { t as matrixPlugin } from "./.setup/channel-C0oyQ_i7.mjs";
|
package/dist/cli-metadata.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { cli_metadata_default as default, registerMatrixCliMetadata };
|
|
1
|
+
export { t as default, n as registerMatrixCliMetadata } from "./.setup/cli-metadata-nowEgdY0.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { setMatrixRuntime, setMatrixRuntimeLifecycle };
|
|
1
|
+
export { i as setMatrixRuntime, a as setMatrixRuntimeLifecycle } from "./.setup/runtime-1kn1P6io.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
|
|
1
|
+
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-JlB6VmI3.mjs";
|
package/dist/setup-entry.js
CHANGED
|
@@ -4,15 +4,15 @@ 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-GR_UaoUL.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "matrixSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
|
11
|
-
specifier: fileURLToPath(new URL(".setup/secret-contract-api-
|
|
11
|
+
specifier: fileURLToPath(new URL(".setup/secret-contract-api-wmWCDXKD.mjs", import.meta.url).href),
|
|
12
12
|
exportName: "channelSecrets"
|
|
13
13
|
},
|
|
14
14
|
runtime: {
|
|
15
|
-
specifier: fileURLToPath(new URL(".setup/runtime-setter-api-
|
|
15
|
+
specifier: fileURLToPath(new URL(".setup/runtime-setter-api-i2MOXoT3.mjs", import.meta.url).href),
|
|
16
16
|
exportName: "setMatrixRuntime"
|
|
17
17
|
}
|
|
18
18
|
});
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { matrixSetupPlugin };
|
|
1
|
+
export { n as matrixSetupPlugin } from "./.setup/channel.setup-DWfLaXqT.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { defaultTopLevelPlacement, resolveMatrixInboundConversation as resolveInboundConversation };
|
|
1
|
+
export { t as defaultTopLevelPlacement, n as resolveInboundConversation } from "./.setup/thread-binding-api-DRMC62cs.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { setMatrixThreadBindingIdleTimeoutBySessionKey, setMatrixThreadBindingMaxAgeBySessionKey };
|
|
1
|
+
export { l as setMatrixThreadBindingIdleTimeoutBySessionKey, d as setMatrixThreadBindingMaxAgeBySessionKey } from "./.setup/thread-bindings-shared-hxKkYC1W.mjs";
|
|
@@ -2706,7 +2706,7 @@ const ArgumentParser = _callable(class ArgumentParser extends _AttributeHolder(_
|
|
|
2706
2706
|
this.register('type', undefined, identity)
|
|
2707
2707
|
this.register('type', null, identity)
|
|
2708
2708
|
this.register('type', 'int', function (x) {
|
|
2709
|
-
if (typeof x === 'string' && !/^[+-]?\d+(?:_
|
|
2709
|
+
if (typeof x === 'string' && !/^[+-]?\d+(?:_\d+)*$/.test(x.trim())) {
|
|
2710
2710
|
throw new TypeError(sub('could not convert string to int: %r', x))
|
|
2711
2711
|
}
|
|
2712
2712
|
const result = _string_to_number(x)
|