@openclaw/mattermost 2026.10.10-beta.5 → 2026.10.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-plugin-api-BKpd51G7.mjs +3 -0
- package/dist/.setup/{channel-plugin-runtime-BHcfJ_4v.mjs → channel-plugin-runtime-DJgVmmbD.mjs} +3 -3
- package/dist/.setup/{channel.runtime-C0yG8kgq.mjs → channel.runtime-Cl_09ZUI.mjs} +11 -5
- package/dist/.setup/{interactions-CQcJYGsz.mjs → interactions-LQ_rJSdf.mjs} +1 -1
- package/dist/.setup/{monitor-DYEU-u6s.mjs → monitor-CmsQnrEk.mjs} +7 -5
- package/dist/.setup/{monitor-auth-DYWeWEJ4.mjs → monitor-auth-rr4M-8gH.mjs} +3 -1
- package/dist/.setup/secret-contract-api-BGz5_6WD.mjs +3 -0
- package/dist/.setup/secret-contract-fjlTFCmD.mjs +20 -0
- package/dist/.setup/{send-1f6TWzMJ.mjs → send-C_-GT5iF.mjs} +2 -2
- package/dist/.setup/{slash-state-CDj8M2pP.mjs → slash-state-DJN_cER0.mjs} +2 -2
- package/dist/api.js +2 -2
- package/dist/channel-plugin-api.js +2 -1
- package/dist/channel-plugin-runtime.js +2 -1
- package/dist/doctor-contract-api.js +2 -1
- package/dist/gateway-auth-api.js +2 -1
- package/dist/policy-api.js +2 -1
- package/dist/runtime-api.js +2 -1
- package/dist/secret-contract-api.js +2 -1
- package/dist/setup-entry.js +2 -2
- package/dist/slash-route-api.js +2 -1
- package/package.json +4 -4
- package/dist/.setup/channel-plugin-api-Di7yxxmg.mjs +0 -2
- package/dist/.setup/secret-contract-api-ChqAE2v-.mjs +0 -2
- package/dist/.setup/secret-contract-qg3NXRlS.mjs +0 -12
- package/dist/.source-module-urls/9b327bbbce22c2cbef393c115f9a63999afd57e223aad992389710cb3f1e29cc.json +0 -1
package/dist/.setup/{channel-plugin-runtime-BHcfJ_4v.mjs → channel-plugin-runtime-DJgVmmbD.mjs}
RENAMED
|
@@ -3,7 +3,7 @@ import { t as mattermostIngressIdentity } from "./ingress-identity-D6hxfxvo.mjs"
|
|
|
3
3
|
import { a as resolveMattermostPresentation, c as listMattermostAccountIds, d as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload, l as resolveDefaultMattermostAccountId, n as normalizeMattermostMessagingTarget, o as inspectMattermostAccount, s as isMattermostConfigured$1, t as looksLikeMattermostTargetId, u as resolveMattermostAccount } from "./normalize-Dli2PK7k.mjs";
|
|
4
4
|
import { t as resolveMattermostGatewayAuthBypassPaths } from "./gateway-auth-bypass-Lf99Gilr.mjs";
|
|
5
5
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-CjgZkyPm.mjs";
|
|
6
|
-
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-
|
|
6
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-fjlTFCmD.mjs";
|
|
7
7
|
import { asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
8
|
import { buildPassiveProbedChannelStatusSummary } from "openclaw/plugin-sdk/extension-shared";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -630,7 +630,7 @@ function resolveMattermostOutboundSessionRoute(params) {
|
|
|
630
630
|
}
|
|
631
631
|
//#endregion
|
|
632
632
|
//#region extensions/mattermost/src/channel.ts
|
|
633
|
-
const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-
|
|
633
|
+
const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-Cl_09ZUI.mjs"));
|
|
634
634
|
const MATTERMOST_PRESENTATION_CAPABILITIES = {
|
|
635
635
|
supported: true,
|
|
636
636
|
buttons: true,
|
|
@@ -1102,7 +1102,7 @@ const mattermostPlugin = createChatChannelPlugin({
|
|
|
1102
1102
|
botTokenSource: account.botTokenSource
|
|
1103
1103
|
});
|
|
1104
1104
|
ctx.log?.info(`[${account.accountId}] starting channel`);
|
|
1105
|
-
return (await import("./monitor-
|
|
1105
|
+
return (await import("./monitor-CmsQnrEk.mjs")).monitorMattermostProvider({
|
|
1106
1106
|
botToken: account.botToken ?? void 0,
|
|
1107
1107
|
baseUrl: account.baseUrl ?? void 0,
|
|
1108
1108
|
accountId: account.accountId,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as readMattermostError, h as normalizeMattermostBaseUrl, l as fetchMattermostChannelPosts, r as createMattermostClient, s as fetchMattermostChannel, u as fetchMattermostMe } from "./client-B_4C9q6z.mjs";
|
|
2
|
-
import { s as resolveMattermostTrustedChatKind } from "./monitor-auth-
|
|
2
|
+
import { s as resolveMattermostTrustedChatKind } from "./monitor-auth-rr4M-8gH.mjs";
|
|
3
3
|
import { c as listMattermostAccountIds, n as normalizeMattermostMessagingTarget, o as inspectMattermostAccount, u as resolveMattermostAccount } from "./normalize-Dli2PK7k.mjs";
|
|
4
|
-
import { n as resolveMattermostOpaqueTarget, t as sendMessageMattermost } from "./send-
|
|
4
|
+
import { n as resolveMattermostOpaqueTarget, t as sendMessageMattermost } from "./send-C_-GT5iF.mjs";
|
|
5
5
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { runChannelProbe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
7
7
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -23,13 +23,19 @@ function buildClients(params) {
|
|
|
23
23
|
accountId: id
|
|
24
24
|
});
|
|
25
25
|
if (!account.enabled || !account.botToken || !account.baseUrl) continue;
|
|
26
|
+
const allowPrivateNetwork = account.config.network?.dangerouslyAllowPrivateNetwork === true;
|
|
26
27
|
const client = createMattermostClient({
|
|
27
28
|
baseUrl: account.baseUrl,
|
|
28
29
|
botToken: account.botToken,
|
|
29
|
-
allowPrivateNetwork
|
|
30
|
+
allowPrivateNetwork
|
|
30
31
|
});
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
const key = JSON.stringify([
|
|
33
|
+
client.baseUrl,
|
|
34
|
+
client.token,
|
|
35
|
+
allowPrivateNetwork
|
|
36
|
+
]);
|
|
37
|
+
if (!seen.has(key)) {
|
|
38
|
+
seen.add(key);
|
|
33
39
|
clients.push(client);
|
|
34
40
|
}
|
|
35
41
|
}
|
|
@@ -2,7 +2,7 @@ import { n as __reExport, t as __exportAll } from "./rolldown-runtime-BBjsoOtd.m
|
|
|
2
2
|
import { t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
|
|
3
3
|
import { r as resolveCallbackHost } from "./callback-host-Bu2cmtfI.mjs";
|
|
4
4
|
import { y as updateMattermostPost } from "./client-B_4C9q6z.mjs";
|
|
5
|
-
import { E as resolveClientIp, O as sendHttpRequestRejection, S as readRequestBodyWithLimit, _ as isTrustedProxyAddress, g as isRequestBodyLimitError } from "./monitor-auth-
|
|
5
|
+
import { E as resolveClientIp, O as sendHttpRequestRejection, S as readRequestBodyWithLimit, _ as isTrustedProxyAddress, g as isRequestBodyLimitError } from "./monitor-auth-rr4M-8gH.mjs";
|
|
6
6
|
import { createHmac } from "node:crypto";
|
|
7
7
|
import { safeEqualSecret } from "openclaw/plugin-sdk/security-runtime";
|
|
8
8
|
import { normalizeOptionalString, normalizeStringifiedOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as resolveInteractionCallbackPath, c as setInteractionSecret, i as createMattermostInteractionHandler, l as gateway_config_runtime_exports, n as buildButtonProps, r as computeInteractionCallbackUrl, s as setInteractionCallbackUrl } from "./interactions-
|
|
1
|
+
import { a as resolveInteractionCallbackPath, c as setInteractionSecret, i as createMattermostInteractionHandler, l as gateway_config_runtime_exports, n as buildButtonProps, r as computeInteractionCallbackUrl, s as setInteractionCallbackUrl } from "./interactions-LQ_rJSdf.mjs";
|
|
2
2
|
import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
|
|
3
3
|
import { a as createMattermostPost, d as fetchMattermostUser, h as normalizeMattermostBaseUrl, l as fetchMattermostChannelPosts, m as isRetryableError, n as buildMattermostApiUrl, o as deleteMattermostPost, p as fetchMattermostUserTeams, r as createMattermostClient, s as fetchMattermostChannel, t as MattermostPostSchema, u as fetchMattermostMe, v as sendMattermostTyping, y as updateMattermostPost } from "./client-B_4C9q6z.mjs";
|
|
4
|
-
import { C as registerPluginHttpRoute, D as resolveDefaultGroupPolicy, T as resolveChannelMediaMaxBytes, b as logTypingFailure, c as shouldRetainMattermostSenderHistory, d as createChannelHistoryWindow, f as createChannelMessageReplyPipeline, h as isDangerousNameMatchingEnabled, k as warnMissingProviderGroupPolicyFallbackOnce, l as DEFAULT_GROUP_HISTORY_LIMIT, n as authorizeMattermostCommandInvocation, o as resolveMattermostMonitorInboundAccess, p as createChannelPairingController, r as formatMattermostDirectMessageDropLog, s as resolveMattermostTrustedChatKind, t as MATTERMOST_PAIRING_QUEUE_FULL_TEXT, u as buildPreparedModelsProviderData, w as resolveAllowlistProviderRuntimeGroupPolicy, x as prepareSkillCommandsForAgents, y as logInboundDrop } from "./monitor-auth-
|
|
4
|
+
import { C as registerPluginHttpRoute, D as resolveDefaultGroupPolicy, T as resolveChannelMediaMaxBytes, b as logTypingFailure, c as shouldRetainMattermostSenderHistory, d as createChannelHistoryWindow, f as createChannelMessageReplyPipeline, h as isDangerousNameMatchingEnabled, k as warnMissingProviderGroupPolicyFallbackOnce, l as DEFAULT_GROUP_HISTORY_LIMIT, n as authorizeMattermostCommandInvocation, o as resolveMattermostMonitorInboundAccess, p as createChannelPairingController, r as formatMattermostDirectMessageDropLog, s as resolveMattermostTrustedChatKind, t as MATTERMOST_PAIRING_QUEUE_FULL_TEXT, u as buildPreparedModelsProviderData, w as resolveAllowlistProviderRuntimeGroupPolicy, x as prepareSkillCommandsForAgents, y as logInboundDrop } from "./monitor-auth-rr4M-8gH.mjs";
|
|
5
5
|
import { n as normalizeMattermostAllowEntry } from "./ingress-identity-D6hxfxvo.mjs";
|
|
6
6
|
import { d as resolveMattermostReplyToMode, r as parseMattermostQuestionContext, u as resolveMattermostAccount } from "./normalize-Dli2PK7k.mjs";
|
|
7
|
-
import { _ as resolveSlashCommandConfig, a as deliverMattermostReplyPayload, c as parseMattermostModelPickerContext, d as resolveMattermostModelPickerCurrentModel, f as DEFAULT_COMMAND_SPECS, g as resolveCallbackUrl, h as registerSlashCommands, l as renderMattermostModelsPickerView, m as isSlashCommandsEnabled, n as deactivateSlashCommands, o as joinMattermostVisibleContent, p as cleanupSlashCommands, r as getSlashCommandState, s as buildMattermostAllowedModelRefs, t as activateSlashCommands, u as renderMattermostProviderPickerView } from "./slash-state-
|
|
8
|
-
import { t as sendMessageMattermost } from "./send-
|
|
7
|
+
import { _ as resolveSlashCommandConfig, a as deliverMattermostReplyPayload, c as parseMattermostModelPickerContext, d as resolveMattermostModelPickerCurrentModel, f as DEFAULT_COMMAND_SPECS, g as resolveCallbackUrl, h as registerSlashCommands, l as renderMattermostModelsPickerView, m as isSlashCommandsEnabled, n as deactivateSlashCommands, o as joinMattermostVisibleContent, p as cleanupSlashCommands, r as getSlashCommandState, s as buildMattermostAllowedModelRefs, t as activateSlashCommands, u as renderMattermostProviderPickerView } from "./slash-state-DJN_cER0.mjs";
|
|
8
|
+
import { t as sendMessageMattermost } from "./send-C_-GT5iF.mjs";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
import { resolvePinnedMainDmOwnerFromAllowlist, sanitizeUntrustedFileName } from "openclaw/plugin-sdk/security-runtime";
|
|
11
11
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringEntries, normalizeTrimmedStringList, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -562,6 +562,7 @@ async function buildMattermostEventPlan(monitor, params) {
|
|
|
562
562
|
threadRootId: params.threadRootId
|
|
563
563
|
});
|
|
564
564
|
const to = kind === "direct" ? `user:${params.senderId}` : `channel:${params.channelId}`;
|
|
565
|
+
const from = kind === "direct" ? `mattermost:${params.senderId}` : kind === "group" ? `mattermost:group:${params.channelId}` : `mattermost:channel:${params.channelId}`;
|
|
565
566
|
return {
|
|
566
567
|
channelId: params.channelId,
|
|
567
568
|
senderId: params.senderId,
|
|
@@ -574,9 +575,10 @@ async function buildMattermostEventPlan(monitor, params) {
|
|
|
574
575
|
route,
|
|
575
576
|
thread,
|
|
576
577
|
to,
|
|
578
|
+
from,
|
|
577
579
|
finalizeContext: (context) => finalizeInboundContext({
|
|
578
580
|
...context,
|
|
579
|
-
From:
|
|
581
|
+
From: from,
|
|
580
582
|
To: to,
|
|
581
583
|
SessionKey: thread.sessionKey,
|
|
582
584
|
DmScope: route.dmScope,
|
|
@@ -59,6 +59,7 @@ async function resolveMattermostMonitorInboundAccess(params) {
|
|
|
59
59
|
return await getMattermostRuntime().channel.inbound.ingress.resolveStable({
|
|
60
60
|
channelId: "mattermost",
|
|
61
61
|
accountId: account.accountId,
|
|
62
|
+
contextBinding: params.contextBinding,
|
|
62
63
|
identity: mattermostIngressIdentity,
|
|
63
64
|
cfg,
|
|
64
65
|
...readStoreAllowFrom ? { readStoreAllowFrom } : {},
|
|
@@ -69,7 +70,8 @@ async function resolveMattermostMonitorInboundAccess(params) {
|
|
|
69
70
|
},
|
|
70
71
|
conversation: {
|
|
71
72
|
kind,
|
|
72
|
-
id: channelId
|
|
73
|
+
id: channelId,
|
|
74
|
+
threadId: params.threadId
|
|
73
75
|
},
|
|
74
76
|
event: {
|
|
75
77
|
kind: params.eventKind ?? "message",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { hasConfiguredAccountValue } from "openclaw/plugin-sdk/account-helpers";
|
|
2
|
+
import { collectSimpleChannelFieldAssignments, createChannelSecretContract } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
|
|
3
|
+
//#region extensions/mattermost/src/secret-contract.ts
|
|
4
|
+
const channelSecrets = createChannelSecretContract({
|
|
5
|
+
channelKey: "mattermost",
|
|
6
|
+
account: ["botToken"],
|
|
7
|
+
channel: ["botToken"],
|
|
8
|
+
hasImplicitDefaultAccount: ({ channel, context }) => Boolean(typeof channel.baseUrl === "string" && channel.baseUrl.trim() && (hasConfiguredAccountValue(channel.botToken) || context.env.MATTERMOST_BOT_TOKEN?.trim())),
|
|
9
|
+
collect(params) {
|
|
10
|
+
collectSimpleChannelFieldAssignments({
|
|
11
|
+
...params,
|
|
12
|
+
field: "botToken",
|
|
13
|
+
topInactiveReason: "no enabled account inherits this top-level Mattermost botToken.",
|
|
14
|
+
accountInactiveReason: "Mattermost account is disabled."
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-
|
|
1
|
+
import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-LQ_rJSdf.mjs";
|
|
2
2
|
import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
|
|
3
3
|
import { a as createMattermostPost, b as uploadMattermostFile, c as fetchMattermostChannelByName, d as fetchMattermostUser, f as fetchMattermostUserByUsername, g as parseMattermostApiStatus, h as normalizeMattermostBaseUrl, i as createMattermostDirectChannelWithRetry, p as fetchMattermostUserTeams, r as createMattermostClient, s as fetchMattermostChannel, u as fetchMattermostMe } from "./client-B_4C9q6z.mjs";
|
|
4
|
-
import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-
|
|
4
|
+
import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-rr4M-8gH.mjs";
|
|
5
5
|
import { u as resolveMattermostAccount } from "./normalize-Dli2PK7k.mjs";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { createChannelPartialDeliveryError } from "openclaw/plugin-sdk/channel-inbound";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
|
|
2
2
|
import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-Bu2cmtfI.mjs";
|
|
3
3
|
import { r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-B_4C9q6z.mjs";
|
|
4
|
-
import { O as sendHttpRequestRejection, S as readRequestBodyWithLimit, a as normalizeMattermostAllowList, b as logTypingFailure, g as isRequestBodyLimitError, m as createWebhookInFlightLimiter, n as authorizeMattermostCommandInvocation, t as MATTERMOST_PAIRING_QUEUE_FULL_TEXT, u as buildPreparedModelsProviderData } from "./monitor-auth-
|
|
4
|
+
import { O as sendHttpRequestRejection, S as readRequestBodyWithLimit, a as normalizeMattermostAllowList, b as logTypingFailure, g as isRequestBodyLimitError, m as createWebhookInFlightLimiter, n as authorizeMattermostCommandInvocation, t as MATTERMOST_PAIRING_QUEUE_FULL_TEXT, u as buildPreparedModelsProviderData } from "./monitor-auth-rr4M-8gH.mjs";
|
|
5
5
|
import { a as resolveMattermostPresentation, i as requiresMattermostMediaUpload } from "./normalize-Dli2PK7k.mjs";
|
|
6
|
-
import { t as sendMessageMattermost } from "./send-
|
|
6
|
+
import { t as sendMessageMattermost } from "./send-C_-GT5iF.mjs";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import { safeEqualSecret } from "openclaw/plugin-sdk/security-runtime";
|
|
9
9
|
import { asFiniteNumber, normalizeOptionalString, normalizeStringifiedOptionalString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
package/dist/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as buildButtonAttachments } from "./.setup/interactions-
|
|
2
|
-
import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-
|
|
1
|
+
import { t as buildButtonAttachments } from "./.setup/interactions-LQ_rJSdf.mjs";
|
|
2
|
+
import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-rr4M-8gH.mjs";
|
|
3
3
|
export { buildButtonAttachments, isMattermostSenderAllowed };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as mattermostSetupPlugin, t as mattermostPlugin } from "./.setup/channel-plugin-runtime-DJgVmmbD.mjs";
|
|
2
|
+
export { mattermostPlugin, mattermostSetupPlugin };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-DJgVmmbD.mjs";
|
|
2
|
+
export { mattermostPlugin };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-CjgZkyPm.mjs";
|
|
2
|
+
export { legacyConfigRules, normalizeCompatibilityConfig };
|
package/dist/gateway-auth-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as resolveMattermostGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-Lf99Gilr.mjs";
|
|
2
|
+
export { resolveMattermostGatewayAuthBypassPaths as resolveGatewayAuthBypassPaths };
|
package/dist/policy-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-rr4M-8gH.mjs";
|
|
2
|
+
export { isMattermostSenderAllowed };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { r as setMattermostRuntime } from "./.setup/runtime-CNB4YGqJ.mjs";
|
|
2
|
+
export { setMattermostRuntime };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./.setup/secret-contract-fjlTFCmD.mjs";
|
|
2
|
+
export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
|
package/dist/setup-entry.js
CHANGED
|
@@ -4,11 +4,11 @@ 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-BKpd51G7.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "mattermostSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
|
11
|
-
specifier: fileURLToPath(new URL(".setup/secret-contract-api-
|
|
11
|
+
specifier: fileURLToPath(new URL(".setup/secret-contract-api-BGz5_6WD.mjs", import.meta.url).href),
|
|
12
12
|
exportName: "channelSecrets"
|
|
13
13
|
}
|
|
14
14
|
});
|
package/dist/slash-route-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { i as registerSlashCommandRoute } from "./.setup/slash-state-DJN_cER0.mjs";
|
|
2
|
+
export { registerSlashCommandRoute };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/mattermost",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.33",
|
|
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.
|
|
14
|
+
"openclaw": ">=2026.11.4"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"openclaw": {
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
"allowInvalidConfigRecovery": true
|
|
94
94
|
},
|
|
95
95
|
"compat": {
|
|
96
|
-
"pluginApi": ">=2026.
|
|
96
|
+
"pluginApi": ">=2026.11.4"
|
|
97
97
|
},
|
|
98
98
|
"build": {
|
|
99
|
-
"openclawVersion": "2026.10.
|
|
99
|
+
"openclawVersion": "2026.10.33",
|
|
100
100
|
"bundledDist": false
|
|
101
101
|
},
|
|
102
102
|
"release": {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createSimpleChannelSecretContract } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
|
|
2
|
-
//#region extensions/mattermost/src/secret-contract.ts
|
|
3
|
-
const channelSecrets = createSimpleChannelSecretContract({
|
|
4
|
-
channelKey: "mattermost",
|
|
5
|
-
label: "Mattermost",
|
|
6
|
-
accountFields: ["botToken"],
|
|
7
|
-
channelFields: ["botToken"],
|
|
8
|
-
mode: "account-inheritance"
|
|
9
|
-
});
|
|
10
|
-
const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"api.js","source":"extensions/mattermost/api.ts"},{"output":"channel-plugin-api.js","source":"extensions/mattermost/channel-plugin-api.ts"},{"output":"channel-plugin-runtime.js","source":"extensions/mattermost/channel-plugin-runtime.ts"},{"output":"doctor-contract-api.js","source":"extensions/mattermost/doctor-contract-api.ts"},{"output":"gateway-auth-api.js","source":"extensions/mattermost/gateway-auth-api.ts"},{"output":"index.js","source":"extensions/mattermost/index.ts"},{"output":"policy-api.js","source":"extensions/mattermost/policy-api.ts"},{"output":"runtime-api.js","source":"extensions/mattermost/runtime-api.ts"},{"output":"secret-contract-api.js","source":"extensions/mattermost/secret-contract-api.ts"},{"output":"setup-entry.js","source":"extensions/mattermost/setup-entry.ts"},{"output":"slash-route-api.js","source":"extensions/mattermost/slash-route-api.ts"}],"chunks":[{"output":".setup/callback-host-Bu2cmtfI.mjs","sha256":"480b3975b9d118aaf901a603634cc4ea15c7942fbc74d3ba4da538651b590da8","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/callback-host.ts"]},{"output":".setup/channel-plugin-api-Di7yxxmg.mjs","sha256":"61a5867ac3427a900a334420879c6dc1c0ddc8cd43e1e1bfe9aa0c37feb0c046","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel-plugin-runtime-BHcfJ_4v.mjs","sha256":"081d0fdd05c702bb0d050b653755afd2303114fba53c7ca5d54db0f3c4f4c69d","facadeSource":null,"sources":["extensions/mattermost/src/approval-auth.ts","extensions/mattermost/src/channel-config-shared.ts","extensions/mattermost/src/channel-send-result.ts","extensions/mattermost/src/channel.setup.ts","extensions/mattermost/src/channel.ts","extensions/mattermost/src/config-schema-core.ts","extensions/mattermost/src/config-surface.ts","extensions/mattermost/src/config-ui-hints.ts","extensions/mattermost/src/doctor.ts","extensions/mattermost/src/group-mentions.ts","extensions/mattermost/src/mattermost/emoji.ts","extensions/mattermost/src/session-route.ts","extensions/mattermost/src/setup-core.ts","extensions/mattermost/src/setup-surface.ts"]},{"output":".setup/channel.runtime-C0yG8kgq.mjs","sha256":"5b3cfbe9ea284b3933b5a7e6d8013a7828932a7f9d0e8e6da7c97c1d19ca2fbd","facadeSource":"extensions/mattermost/src/channel.runtime.ts","sources":["extensions/mattermost/src/mattermost/directory.ts","extensions/mattermost/src/mattermost/probe.ts","extensions/mattermost/src/mattermost/reactions.ts","extensions/mattermost/src/mattermost/read.ts"]},{"output":".setup/client-B_4C9q6z.mjs","sha256":"a3e41409d632dcb5ca825f8d7d8394be486808e8ad74551137693579853116b5","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/client.ts"]},{"output":".setup/doctor-contract-CjgZkyPm.mjs","sha256":"b969455b8d6275d1ed729048b27bc2d3ae0d482b88185b331de77422b4511b6c","facadeSource":null,"sources":["extensions/mattermost/src/doctor-contract.ts","packages/normalization-core/src/record-coerce.ts","src/config/channel-config-normalization.ts","src/plugin-sdk/legacy-webhook-listener-migration.ts"]},{"output":".setup/gateway-auth-bypass-Lf99Gilr.mjs","sha256":"fa802760c8963a31e75304e03cb72de409e0e952c79003eca6c48e2017933a52","facadeSource":null,"sources":["extensions/mattermost/src/gateway-auth-bypass.ts"]},{"output":".setup/ingress-identity-D6hxfxvo.mjs","sha256":"5358f020e218577a8317d7e705612b43b547b3043514b9ad2ef658f32aac3e61","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/ingress-identity.ts"]},{"output":".setup/interactions-CQcJYGsz.mjs","sha256":"d109ac574de4689c574c4bd4e5a4400f8baa650f46852d6fbe59482201ab75d2","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/interactions.ts","packages/normalization-core/src/string-coerce.ts","src/gateway/gateway-http-route-contracts.ts","src/gateway/security-path.ts","src/gateway/server/plugins-http/path-context.ts","src/plugins/http-path-prefix.ts"]},{"output":".setup/monitor-auth-DYWeWEJ4.mjs","sha256":"3b11442e52b2efaa2f7e2307271bb224fc79b3aca150ae6e54a8eae4c209794d","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/monitor-auth.ts"]},{"output":".setup/monitor-DYEU-u6s.mjs","sha256":"365e83b02d789a916938d398895c3d5696aa4efa0419198237bae716b8355764","facadeSource":"extensions/mattermost/src/mattermost/monitor.ts","sources":["extensions/mattermost/src/mattermost/draft-stream.ts","extensions/mattermost/src/mattermost/monitor-activation.ts","extensions/mattermost/src/mattermost/monitor-context.ts","extensions/mattermost/src/mattermost/monitor-draft-delivery.ts","extensions/mattermost/src/mattermost/monitor-event-plan.ts","extensions/mattermost/src/mattermost/monitor-helpers.ts","extensions/mattermost/src/mattermost/monitor-ingress.ts","extensions/mattermost/src/mattermost/monitor-interaction-dispatch.ts","extensions/mattermost/src/mattermost/monitor-interactions.ts","extensions/mattermost/src/mattermost/monitor-model-picker.ts","extensions/mattermost/src/mattermost/monitor-onchar.ts","extensions/mattermost/src/mattermost/monitor-posts.ts","extensions/mattermost/src/mattermost/monitor-reactions.ts","extensions/mattermost/src/mattermost/monitor-resources.ts","extensions/mattermost/src/mattermost/monitor-slash.ts","extensions/mattermost/src/mattermost/monitor-thread-backfill.ts","extensions/mattermost/src/mattermost/monitor-turn.ts","extensions/mattermost/src/mattermost/monitor-websocket.ts","extensions/mattermost/src/mattermost/monitor.ts","extensions/mattermost/src/mattermost/reconnect.ts","extensions/mattermost/src/mattermost/thread-participation.ts","src/channels/mention-gating.ts"]},{"output":".setup/normalize-Dli2PK7k.mjs","sha256":"0e52cea87ddc12600ef4c04f0fbc1a5c07a99e9efe2f2080afdfe3730c446b80","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/accounts.ts","extensions/mattermost/src/normalize.ts"]},{"output":".setup/rolldown-runtime-BBjsoOtd.mjs","sha256":"bc1c4c6b4073846c33e02846e4b262d6747c77fc72ca9f9cc2f23b8ff135c35d","facadeSource":null,"sources":[]},{"output":".setup/runtime-CNB4YGqJ.mjs","sha256":"95ac1a4fe0f15f608e06c46da563c1c83f73a3e1a817822b362a4fe5f0bca450","facadeSource":null,"sources":["extensions/mattermost/src/runtime.ts"]},{"output":".setup/secret-contract-api-ChqAE2v-.mjs","sha256":"2ce90d36b067c45d751c0c0301fb9ab4cf7ab7892f95167099cf3d0190f5eddf","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":".setup/secret-contract-qg3NXRlS.mjs","sha256":"845bf52e3b17f16c1ea44351b15aca1e3a3dcbc874a544b9a694b8f7df581596","facadeSource":null,"sources":["extensions/mattermost/src/secret-contract.ts"]},{"output":".setup/send-1f6TWzMJ.mjs","sha256":"7a883f12863135ccb3269837bfb31720dc99d95f0ea3dc48a24b9bad1bb0c970","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-CDj8M2pP.mjs","sha256":"7664754b906889845ae8bb766bf6ff778bcdeb622f5e71f93fd95029ee812bc1","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/model-picker.ts","extensions/mattermost/src/mattermost/reply-delivery.ts","extensions/mattermost/src/mattermost/slash-commands.ts","extensions/mattermost/src/mattermost/slash-http.ts","extensions/mattermost/src/mattermost/slash-model-picker.ts","extensions/mattermost/src/mattermost/slash-state.ts"]},{"output":"api.js","sha256":"105d7a79650af12dbf1a90ea7ab5cfc1bd9859151ab68432a385e0086d4a90c5","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"f8a0bae3272892169b4545e08d3c0b06f476d6b0482a24e853eb55f6c422aed7","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":"channel-plugin-runtime.js","sha256":"f5d05a7737d9592061d748a0542be021a0443d2addd69269441c23f97cd7eca9","facadeSource":"extensions/mattermost/channel-plugin-runtime.ts","sources":[]},{"output":"doctor-contract-api.js","sha256":"c1c5ed7744c3f8c4e764870e069e497f01c0da93dceb0bd80be8f47504711642","facadeSource":"extensions/mattermost/doctor-contract-api.ts","sources":[]},{"output":"gateway-auth-api.js","sha256":"15f40c4aaed845b61ff953746e3fe3e9ce7a2b425c5a2da56b059d29f14a1ff8","facadeSource":"extensions/mattermost/gateway-auth-api.ts","sources":[]},{"output":"index.js","sha256":"9b47e2ef2494dcc360f2643576423f2ec7b4f6dfad7b34b4ad97c3caee1b3377","facadeSource":"extensions/mattermost/index.ts","sources":["extensions/mattermost/index.ts"]},{"output":"policy-api.js","sha256":"5ccca4684209b95a1574e3a54e349a8a02455d368b7ae3af1660773e85d51e6f","facadeSource":"extensions/mattermost/policy-api.ts","sources":[]},{"output":"runtime-api.js","sha256":"9e3ffa1ca2be4f6d9fcd1b9200443ff8623d8574ebf2caabd4ab2de8db3ecf55","facadeSource":"extensions/mattermost/runtime-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"372b0e5675121f54d26a417f4ef8626066ffb07584121f90c324e50b30facbe8","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"c9551f641f26711e91d47640dc2439b0903ee1e9945a9c7248fd9f492b9e4990","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"6e2a6f49e1eb2deac1212e576b54f03c70032886c9a58126824f5c5548dc1718","facadeSource":"extensions/mattermost/slash-route-api.ts","sources":[]}],"unrenderedSources":["extensions/mattermost/api.ts","extensions/mattermost/channel-plugin-api.ts","extensions/mattermost/channel-plugin-runtime.ts","extensions/mattermost/config-doctor-api.ts","extensions/mattermost/doctor-contract-api.ts","extensions/mattermost/gateway-auth-api.ts","extensions/mattermost/policy-api.ts","extensions/mattermost/runtime-api.ts","extensions/mattermost/secret-contract-api.ts","extensions/mattermost/slash-route-api.ts","extensions/mattermost/src/channel.runtime.ts","extensions/mattermost/src/mattermost/runtime-api.ts"]}
|