@openclaw/mattermost 2026.9.6 → 2026.9.7
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/assets/icon.png +0 -0
- package/dist/.setup/{channel-plugin-api-CCmaCFdK.mjs → channel-plugin-api-Bc8Qc1-t.mjs} +2 -2
- package/dist/.setup/{channel-plugin-api-CzBhdovL.mjs → channel-plugin-api-DXqHarCt.mjs} +2 -2
- package/dist/.setup/{channel-plugin-runtime-yAOg5GcM.mjs → channel-plugin-runtime-B0CAMiHe.mjs} +122 -160
- package/dist/.setup/channel.runtime-E2B5dNrh.mjs +383 -0
- package/dist/.setup/{client-BSSVve1x.mjs → client-CVeeTqCO.mjs} +18 -39
- package/dist/.setup/doctor-contract-BI6SB2cd.mjs +175 -0
- package/dist/.setup/{interactions-rBQWCbK8.mjs → interactions-DMSZYnEx.mjs} +170 -80
- package/dist/.setup/{channel.runtime-CihvzY84.mjs → monitor-BZyzPkkb.mjs} +172 -628
- package/dist/.setup/{monitor-auth-CCpN0z_f.mjs → monitor-auth-aZ0b1gqx.mjs} +9 -14
- package/dist/.setup/{normalize-DM54w7ud.mjs → normalize-BCjtmxtp.mjs} +8 -17
- package/dist/.setup/rolldown-runtime-BBjsoOtd.mjs +27 -0
- package/dist/.setup/send-ClgX-usq.mjs +438 -0
- package/dist/.setup/{slash-state-DfnmzXMr.mjs → slash-state-Dni1XNc1.mjs} +144 -781
- package/dist/api.js +2 -2
- package/dist/channel-plugin-api.js +2 -2
- package/dist/channel-plugin-runtime.js +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/policy-api.js +1 -1
- package/dist/runtime-api.js +2 -23
- package/dist/setup-entry.js +1 -1
- package/dist/slash-route-api.js +1 -1
- package/openclaw.plugin.json +20 -0
- package/package.json +4 -4
- package/dist/.setup/doctor-contract-mvORF4f6.mjs +0 -18
package/dist/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as buildButtonAttachments } from "./.setup/interactions-
|
|
2
|
-
import { r as isMattermostSenderAllowed } from "./.setup/monitor-auth-
|
|
1
|
+
import { t as buildButtonAttachments } from "./.setup/interactions-DMSZYnEx.mjs";
|
|
2
|
+
import { r as isMattermostSenderAllowed } from "./.setup/monitor-auth-aZ0b1gqx.mjs";
|
|
3
3
|
export { buildButtonAttachments, isMattermostSenderAllowed };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-
|
|
2
|
-
import { t as mattermostSetupPlugin } from "./.setup/channel-plugin-api-
|
|
1
|
+
import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-B0CAMiHe.mjs";
|
|
2
|
+
import { t as mattermostSetupPlugin } from "./.setup/channel-plugin-api-DXqHarCt.mjs";
|
|
3
3
|
export { mattermostPlugin, mattermostSetupPlugin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-
|
|
1
|
+
import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-B0CAMiHe.mjs";
|
|
2
2
|
export { mattermostPlugin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-
|
|
1
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-BI6SB2cd.mjs";
|
|
2
2
|
export { legacyConfigRules, normalizeCompatibilityConfig };
|
package/dist/policy-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as isMattermostSenderAllowed } from "./.setup/monitor-auth-
|
|
1
|
+
import { r as isMattermostSenderAllowed } from "./.setup/monitor-auth-aZ0b1gqx.mjs";
|
|
2
2
|
export { isMattermostSenderAllowed };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
1
|
import { r as setMattermostRuntime } from "./.setup/runtime-CNB4YGqJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
|
|
5
|
-
import { createAccountStatusSink, createChannelMessageReplyPipeline } from "openclaw/plugin-sdk/channel-outbound";
|
|
6
|
-
import { logTypingFailure } from "openclaw/plugin-sdk/channel-feedback";
|
|
7
|
-
import { listSkillCommandsForAgents, resolveControlCommandGate, resolveStoredModelOverride } from "openclaw/plugin-sdk/command-auth-native";
|
|
8
|
-
import { buildPreparedModelsProviderData } from "openclaw/plugin-sdk/models-provider-runtime";
|
|
9
|
-
import { isDangerousNameMatchingEnabled } from "openclaw/plugin-sdk/dangerous-name-runtime";
|
|
10
|
-
import { GROUP_POLICY_BLOCKED_LABEL, resolveAllowlistProviderRuntimeGroupPolicy, resolveDefaultGroupPolicy, warnMissingProviderGroupPolicyFallbackOnce } from "openclaw/plugin-sdk/runtime-group-policy";
|
|
11
|
-
import { resolveChannelMediaMaxBytes } from "openclaw/plugin-sdk/account-helpers";
|
|
12
|
-
import { loadOutboundMediaFromUrl } from "openclaw/plugin-sdk/outbound-media";
|
|
13
|
-
import { DEFAULT_GROUP_HISTORY_LIMIT, buildPendingHistoryContextFromMap, clearHistoryEntriesIfEnabled, createChannelHistoryWindow, recordPendingHistoryEntryIfEnabled } from "openclaw/plugin-sdk/reply-history";
|
|
14
|
-
import { registerPluginHttpRoute } from "openclaw/plugin-sdk/webhook-targets";
|
|
15
|
-
import { isRequestBodyLimitError, rawDataToString, readRequestBodyWithLimit } from "openclaw/plugin-sdk/webhook-ingress";
|
|
16
|
-
import { DEFAULT_ACCOUNT_ID, buildChannelConfigSchema, createDedupeCache, isTrustedProxyAddress, parseStrictPositiveInteger, resolveClientIp } from "openclaw/plugin-sdk/core";
|
|
17
|
-
import { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
|
|
18
|
-
import { applyAccountNameToChannelSection, applySetupAccountConfigPatch, migrateBaseNameToDefaultAccount } from "openclaw/plugin-sdk/setup";
|
|
19
|
-
import { buildComputedAccountStatusSnapshot } from "openclaw/plugin-sdk/channel-status";
|
|
20
|
-
import { resolveStorePath } from "openclaw/plugin-sdk/session-store-runtime";
|
|
21
|
-
import { normalizeAccountId, resolveThreadSessionKeys } from "openclaw/plugin-sdk/routing";
|
|
22
|
-
import { getAgentScopedMediaLocalRoots } from "openclaw/plugin-sdk/media-runtime";
|
|
23
|
-
import { normalizeProviderId } from "openclaw/plugin-sdk/provider-model-shared";
|
|
24
|
-
export { DEFAULT_ACCOUNT_ID, DEFAULT_GROUP_HISTORY_LIMIT, GROUP_POLICY_BLOCKED_LABEL, applyAccountNameToChannelSection, applySetupAccountConfigPatch, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, buildPendingHistoryContextFromMap, buildPreparedModelsProviderData, chunkTextForOutbound, clearHistoryEntriesIfEnabled, createAccountStatusSink, createChannelHistoryWindow, createChannelMessageReplyPipeline, createChannelPairingController, createDedupeCache, formatInboundFromLabel, getAgentScopedMediaLocalRoots, isDangerousNameMatchingEnabled, isRequestBodyLimitError, isTrustedProxyAddress, listSkillCommandsForAgents, loadOutboundMediaFromUrl, logInboundDrop, logTypingFailure, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeProviderId, parseStrictPositiveInteger, rawDataToString, readRequestBodyWithLimit, recordPendingHistoryEntryIfEnabled, registerPluginHttpRoute, resolveAllowlistMatchSimple, resolveAllowlistProviderRuntimeGroupPolicy, resolveChannelMediaMaxBytes, resolveClientIp, resolveControlCommandGate, resolveDefaultGroupPolicy, resolveStorePath, resolveStoredModelOverride, resolveThreadSessionKeys, setMattermostRuntime, warnMissingProviderGroupPolicyFallbackOnce };
|
|
2
|
+
import { createChannelMessageReplyPipeline } from "openclaw/plugin-sdk/channel-outbound";
|
|
3
|
+
export { createChannelMessageReplyPipeline, setMattermostRuntime };
|
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/channel-plugin-api-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/channel-plugin-api-Bc8Qc1-t.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "mattermostSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
package/dist/slash-route-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as registerSlashCommandRoute } from "./.setup/slash-state-
|
|
1
|
+
import { i as registerSlashCommandRoute } from "./.setup/slash-state-Dni1XNc1.mjs";
|
|
2
2
|
export { registerSlashCommandRoute };
|
package/openclaw.plugin.json
CHANGED
|
@@ -196,6 +196,9 @@
|
|
|
196
196
|
"requireMention": {
|
|
197
197
|
"type": "boolean"
|
|
198
198
|
},
|
|
199
|
+
"requireMentionInBotThreads": {
|
|
200
|
+
"type": "boolean"
|
|
201
|
+
},
|
|
199
202
|
"implicitMentions": {
|
|
200
203
|
"type": "object",
|
|
201
204
|
"properties": {
|
|
@@ -480,6 +483,9 @@
|
|
|
480
483
|
"properties": {
|
|
481
484
|
"requireMention": {
|
|
482
485
|
"type": "boolean"
|
|
486
|
+
},
|
|
487
|
+
"requireMentionInBotThreads": {
|
|
488
|
+
"type": "boolean"
|
|
483
489
|
}
|
|
484
490
|
},
|
|
485
491
|
"additionalProperties": false
|
|
@@ -699,6 +705,9 @@
|
|
|
699
705
|
"requireMention": {
|
|
700
706
|
"type": "boolean"
|
|
701
707
|
},
|
|
708
|
+
"requireMentionInBotThreads": {
|
|
709
|
+
"type": "boolean"
|
|
710
|
+
},
|
|
702
711
|
"implicitMentions": {
|
|
703
712
|
"type": "object",
|
|
704
713
|
"properties": {
|
|
@@ -983,6 +992,9 @@
|
|
|
983
992
|
"properties": {
|
|
984
993
|
"requireMention": {
|
|
985
994
|
"type": "boolean"
|
|
995
|
+
},
|
|
996
|
+
"requireMentionInBotThreads": {
|
|
997
|
+
"type": "boolean"
|
|
986
998
|
}
|
|
987
999
|
},
|
|
988
1000
|
"additionalProperties": false
|
|
@@ -1048,6 +1060,14 @@
|
|
|
1048
1060
|
"label": "Mattermost",
|
|
1049
1061
|
"help": "Mattermost channel provider configuration for bot auth, access policy, slash commands, and preview streaming."
|
|
1050
1062
|
},
|
|
1063
|
+
"requireMentionInBotThreads": {
|
|
1064
|
+
"label": "Mention in Bot Threads",
|
|
1065
|
+
"help": "Require an explicit mention or configured trigger in threads rooted in this bot's own posts. Set false to accept unmentioned follow-ups; omit to preserve existing mention and participation behavior."
|
|
1066
|
+
},
|
|
1067
|
+
"groups.*.requireMentionInBotThreads": {
|
|
1068
|
+
"label": "Mention in Bot Threads",
|
|
1069
|
+
"help": "Override bot-created thread mention policy for this Mattermost channel. Exact channel settings override the wildcard, then the account setting."
|
|
1070
|
+
},
|
|
1051
1071
|
"dmPolicy": {
|
|
1052
1072
|
"label": "Mattermost DM Policy",
|
|
1053
1073
|
"help": "Direct message access control (\"pairing\" recommended). \"open\" requires channels.mattermost.allowFrom=[\"*\"]."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/mattermost",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.7",
|
|
4
4
|
"description": "OpenClaw Mattermost channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"zod": "4.6.5"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"openclaw": ">=2026.9.
|
|
14
|
+
"openclaw": ">=2026.9.7"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"openclaw": {
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
"allowInvalidConfigRecovery": true
|
|
94
94
|
},
|
|
95
95
|
"compat": {
|
|
96
|
-
"pluginApi": ">=2026.9.
|
|
96
|
+
"pluginApi": ">=2026.9.7"
|
|
97
97
|
},
|
|
98
98
|
"build": {
|
|
99
|
-
"openclawVersion": "2026.9.
|
|
99
|
+
"openclawVersion": "2026.9.7",
|
|
100
100
|
"bundledDist": false
|
|
101
101
|
},
|
|
102
102
|
"release": {
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { createLegacyPrivateNetworkDoctorContract, defineChannelAliasMigration } from "openclaw/plugin-sdk/runtime-doctor-migrations";
|
|
2
|
-
//#region extensions/mattermost/src/doctor-contract.ts
|
|
3
|
-
const networkContract = createLegacyPrivateNetworkDoctorContract({ channelKey: "mattermost" });
|
|
4
|
-
const streamingAliasMigration = defineChannelAliasMigration({
|
|
5
|
-
channelId: "mattermost",
|
|
6
|
-
streaming: { defaultMode: "partial" },
|
|
7
|
-
accountStreamingReplacesRoot: true
|
|
8
|
-
});
|
|
9
|
-
const legacyConfigRules = [...networkContract.legacyConfigRules, ...streamingAliasMigration.legacyConfigRules];
|
|
10
|
-
function normalizeCompatibilityConfig({ cfg }) {
|
|
11
|
-
const network = networkContract.normalizeCompatibilityConfig({ cfg });
|
|
12
|
-
return streamingAliasMigration.normalizeChannelConfig({
|
|
13
|
-
cfg: network.config,
|
|
14
|
-
changes: network.changes
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
|