@openclaw/matrix 2026.5.14-beta.2 → 2026.5.16-beta.1
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 +1 -1
- package/dist/{approval-handler.runtime-Q8ZlmQv_.js → approval-handler.runtime--UYE3D2j.js} +1 -1
- package/dist/{channel-BLKRuTHs.js → channel-CwN56Pko.js} +2 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{monitor-k-b_TmCm.js → monitor-DPJO3wS1.js} +6 -2
- package/dist/test-api.js +1 -1
- package/package.json +4 -4
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as resolveMatrixDefaultOrOnlyAccountId, i as resolveMatrixChannelConf
|
|
|
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
5
|
import { n as matrixSetupAdapter, t as createMatrixSetupWizardProxy } from "./setup-core-CgOV8zmh.js";
|
|
6
|
-
import { t as matrixPlugin } from "./channel-
|
|
6
|
+
import { t as matrixPlugin } from "./channel-CwN56Pko.js";
|
|
7
7
|
import { n as matrixOnboardingAdapter } from "./setup-surface-BgUaEySF.js";
|
|
8
8
|
import { t as createMatrixThreadBindingManager } from "./thread-bindings-8AyQOYDT.js";
|
|
9
9
|
//#region extensions/matrix/api.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveMatrixTargetIdentity } from "./target-ids-80nQ2gql.js";
|
|
2
2
|
import { g as resolveMatrixAccount } from "./setup-core-CgOV8zmh.js";
|
|
3
|
-
import { _ as shouldHandleMatrixApprovalRequest, g as isMatrixAnyApprovalClientEnabled } from "./channel-
|
|
3
|
+
import { _ as shouldHandleMatrixApprovalRequest, g as isMatrixAnyApprovalClientEnabled } from "./channel-CwN56Pko.js";
|
|
4
4
|
import { a as sendMessageMatrix, i as reactMatrixMessage, p as repairMatrixDirectRooms, s as sendSingleTextMessageMatrix } from "./send-CdoJ1pZY.js";
|
|
5
5
|
import { a as unregisterMatrixApprovalReactionTarget, n as listMatrixApprovalReactionBindings, r as registerMatrixApprovalReactionTarget, t as buildMatrixApprovalReactionHint } from "./approval-reactions-Cwd1PMCC.js";
|
|
6
6
|
import { n as editMatrixMessage, t as deleteMatrixMessage } from "./messages-BKTEUSwJ.js";
|
|
@@ -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--UYE3D2j.js")).matrixApprovalNativeRuntime
|
|
600
600
|
})
|
|
601
601
|
});
|
|
602
602
|
const splitMatrixApprovalCapability = splitChannelApprovalCapability(matrixNativeApprovalCapability);
|
|
@@ -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-DPJO3wS1.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-CwN56Pko.js";
|
|
2
2
|
export { matrixPlugin };
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { m as resolveConfiguredMatrixBotUserIds } from "./setup-core-CgOV8zmh.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-
|
|
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-CwN56Pko.js";
|
|
6
6
|
import { a as normalizeMatrixUserId, i as normalizeMatrixAllowList, o as resolveMatrixAllowListMatch } from "./config-schema-BPCzSyjT.js";
|
|
7
7
|
import { r as isMatrixNotFoundError, t as formatMatrixErrorMessage } from "./errors-BpHgvm2o.js";
|
|
8
8
|
import { i as resolveMatrixStateFilePath } from "./storage-HI1nL3im.js";
|
|
@@ -36,6 +36,7 @@ import { createChannelIngressResolver, defineStableChannelIngressIdentity } from
|
|
|
36
36
|
import { buildChannelProgressDraftLineForEntry, createChannelProgressDraftGate, formatChannelProgressDraftLine, formatChannelProgressDraftLineForEntry, formatChannelProgressDraftText, isChannelProgressDraftWorkToolName, mergeChannelProgressDraftLine, normalizeChannelProgressDraftLineIdentity, resolveChannelProgressDraftMaxLines } from "openclaw/plugin-sdk/channel-streaming";
|
|
37
37
|
import { evaluateSupplementalContextVisibility, resolveChannelContextVisibilityMode } from "openclaw/plugin-sdk/context-visibility-runtime";
|
|
38
38
|
import { mergePairLoopGuardConfig } from "openclaw/plugin-sdk/pair-loop-guard-runtime";
|
|
39
|
+
import { buildInboundHistoryFromEntries } from "openclaw/plugin-sdk/reply-history";
|
|
39
40
|
import { resolvePinnedMainDmOwnerFromAllowlist } from "openclaw/plugin-sdk/security-runtime";
|
|
40
41
|
import { escapeRegExp } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
41
42
|
import { createConnectedChannelStatusPatch, createTransportActivityStatusPatch } from "openclaw/plugin-sdk/gateway-runtime";
|
|
@@ -2663,7 +2664,10 @@ function createMatrixRoomMessageHandler(params) {
|
|
|
2663
2664
|
shouldBypassMention,
|
|
2664
2665
|
canDetectMention,
|
|
2665
2666
|
commandAuthorized,
|
|
2666
|
-
inboundHistory: preparedTrigger
|
|
2667
|
+
inboundHistory: preparedTrigger ? buildInboundHistoryFromEntries({
|
|
2668
|
+
entries: preparedTrigger.history,
|
|
2669
|
+
limit: historyLimit
|
|
2670
|
+
}) : void 0,
|
|
2667
2671
|
senderName,
|
|
2668
2672
|
bodyText,
|
|
2669
2673
|
commandBodyText,
|
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-
|
|
2
|
+
import { t as matrixPlugin } from "./channel-CwN56Pko.js";
|
|
3
3
|
import { t as MatrixClient } from "./sdk-BwfNtBhM.js";
|
|
4
4
|
export { MatrixClient, matrixPlugin, setMatrixRuntime };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/matrix",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.16-beta.1",
|
|
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.
|
|
25
|
+
"openclaw": ">=2026.5.16-beta.1"
|
|
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.
|
|
90
|
+
"pluginApi": ">=2026.5.16-beta.1"
|
|
91
91
|
},
|
|
92
92
|
"build": {
|
|
93
|
-
"openclawVersion": "2026.5.
|
|
93
|
+
"openclawVersion": "2026.5.16-beta.1"
|
|
94
94
|
},
|
|
95
95
|
"release": {
|
|
96
96
|
"publishToClawHub": true,
|