@openclaw/mattermost 2026.11.10-beta.2 → 2026.11.10-beta.3

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.
@@ -1,6 +1,6 @@
1
1
  import { h as normalizeMattermostBaseUrl } from "./client-CVipK0N2.mjs";
2
2
  import { t as mattermostIngressIdentity } from "./ingress-identity-CtHiOUDu.mjs";
3
- import { a as resolveMattermostPresentation, c as isMattermostConfigured, d as resolveMattermostAccount, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload, l as listMattermostAccountIds, n as normalizeMattermostMessagingTarget, s as inspectMattermostAccount, t as looksLikeMattermostTargetId, u as resolveDefaultMattermostAccountId } from "./normalize-DuLSV4tT.mjs";
3
+ import { a as resolveMattermostPresentation, c as isMattermostConfigured, d as resolveMattermostAccount, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload, l as listMattermostAccountIds, n as normalizeMattermostMessagingTarget, s as inspectMattermostAccount, t as looksLikeMattermostTargetId, u as resolveDefaultMattermostAccountId } from "./normalize-V4AG9QEw.mjs";
4
4
  import { t as resolveMattermostGatewayAuthBypassPaths } from "./gateway-auth-bypass-DhWaV22L.mjs";
5
5
  import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-i788N90j.mjs";
6
6
  import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-BkDCURCE.mjs";
@@ -647,7 +647,7 @@ function resolveMattermostOutboundSessionRoute(params) {
647
647
  });
648
648
  }
649
649
  // extensions/mattermost/src/channel.ts
650
- const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-dwusbHyN.mjs"));
650
+ const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-CL2LrJgr.mjs"));
651
651
  const MATTERMOST_PRESENTATION_CAPABILITIES = {
652
652
  supported: true,
653
653
  buttons: true,
@@ -1072,7 +1072,7 @@ const mattermostPlugin = createChatChannelPlugin({
1072
1072
  botTokenSource: account.botTokenSource
1073
1073
  });
1074
1074
  ctx.log?.info(`[${account.accountId}] starting channel`);
1075
- return (await import("./monitor-HCtx0DCQ.mjs")).monitorMattermostProvider({
1075
+ return (await import("./monitor-D7hPbENL.mjs")).monitorMattermostProvider({
1076
1076
  botToken: account.botToken,
1077
1077
  baseUrl: account.baseUrl,
1078
1078
  accountId: account.accountId,
@@ -1 +1 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-api-ZcL-ciz_.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-api-CsDaIGhx.mjs";
@@ -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-CVipK0N2.mjs";
2
2
  import { s as resolveMattermostTrustedChatKind } from "./monitor-auth-C9TiGGVQ.mjs";
3
- import { d as resolveMattermostAccount, l as listMattermostAccountIds, n as normalizeMattermostMessagingTarget, s as inspectMattermostAccount } from "./normalize-DuLSV4tT.mjs";
4
- import { n as resolveMattermostOpaqueTarget, t as sendMessageMattermost } from "./send-Dq203uXC.mjs";
3
+ import { d as resolveMattermostAccount, l as listMattermostAccountIds, n as normalizeMattermostMessagingTarget, s as inspectMattermostAccount } from "./normalize-V4AG9QEw.mjs";
4
+ import { n as resolveMattermostOpaqueTarget, t as sendMessageMattermost } from "./send-DvlK-nOQ.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";
@@ -1,5 +1,4 @@
1
1
  import { n as __reExport, t as __exportAll } from "./rolldown-runtime-782esTHO.mjs";
2
- import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
3
2
  import { r as resolveCallbackHost } from "./callback-host-CRQTeNn9.mjs";
4
3
  import { y as updateMattermostPost } from "./client-CVipK0N2.mjs";
5
4
  import { E as resolveClientIp, O as sendHttpRequestRejection, S as readRequestBodyWithLimit, _ as isTrustedProxyAddress, g as isRequestBodyLimitError } from "./monitor-auth-C9TiGGVQ.mjs";
@@ -264,7 +263,6 @@ function buildButtonProps(params) {
264
263
  }
265
264
  function createMattermostInteractionHandler(params) {
266
265
  const { client, accountId, log } = params;
267
- const core = getMattermostRuntime();
268
266
  function parseInteractionPayload(raw) {
269
267
  const payload = safeParseJson(raw);
270
268
  if (payload === null) throw new Error("Mattermost interaction body was malformed JSON");
@@ -395,20 +393,6 @@ function createMattermostInteractionHandler(params) {
395
393
  sendJsonWithoutCharset(res, 500, { error: "Interaction handler failed" });
396
394
  return;
397
395
  }
398
- try {
399
- const eventLabel = `Mattermost button click: action="${actionId}" by ${payload.user_name ?? payload.user_id} in channel ${payload.channel_id}`;
400
- const sessionKey = params.resolveSessionKey ? await params.resolveSessionKey({
401
- channelId: payload.channel_id,
402
- userId: payload.user_id,
403
- post: originalPost
404
- }) : `agent:main:mattermost:${accountId}:${payload.channel_id}`;
405
- core.system.enqueueSystemEvent(eventLabel, {
406
- sessionKey,
407
- contextKey: `mattermost:interaction:${payload.post_id}:${actionId}`
408
- });
409
- } catch (err) {
410
- log?.(`mattermost interaction: system event dispatch failed: ${String(err)}`);
411
- }
412
396
  try {
413
397
  await updateMattermostPost(client, payload.post_id, {
414
398
  message: originalMessage,
@@ -425,6 +409,7 @@ function createMattermostInteractionHandler(params) {
425
409
  userName,
426
410
  actionId,
427
411
  actionName: clickedButtonName,
412
+ callbackData: contextWithoutToken.callback_data,
428
413
  postId: payload.post_id,
429
414
  post: originalPost
430
415
  });
@@ -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-BWApCMHC.mjs";
2
- import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
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-BrvSFYI9.mjs";
3
2
  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, s as fetchMattermostChannel, t as MattermostPostSchema, u as fetchMattermostMe, v as sendMattermostTyping, y as updateMattermostPost } from "./client-CVipK0N2.mjs";
4
3
  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-C9TiGGVQ.mjs";
4
+ import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
5
5
  import { n as normalizeMattermostAllowEntry } from "./ingress-identity-CtHiOUDu.mjs";
6
- import { d as resolveMattermostAccount, f as resolveMattermostReplyToMode, o as createMattermostAccountClient, r as parseMattermostQuestionContext } from "./normalize-DuLSV4tT.mjs";
7
- import { C as resolveSlashCommandConfig, S as resolveCallbackUrl, _ as resolveMattermostModelPickerCurrentModel, a as deliverMattermostReplyPayload, b as isSlashCommandsEnabled, c as canFinalizeMattermostPreviewInPlace, d as resolveMattermostReplyRootId, f as resolveMattermostThreadSessionContext, g as renderMattermostProviderPickerView, h as renderMattermostModelsPickerView, l as formatMattermostFinalDeliveryOutcomeLog, m as parseMattermostModelPickerContext, n as deactivateSlashCommands, o as joinMattermostVisibleContent, p as shouldUpdateMattermostDraftToolProgress, r as getSlashCommandState, s as buildMattermostButtonInteractionMessageSid, t as activateSlashCommands, u as resolveMattermostInteractionReplyRootId, v as DEFAULT_COMMAND_SPECS, x as registerSlashCommands, y as cleanupSlashCommands } from "./slash-state-Dyd1mDYq.mjs";
8
- import { t as sendMessageMattermost } from "./send-Dq203uXC.mjs";
6
+ import { d as resolveMattermostAccount, f as resolveMattermostReplyToMode, o as createMattermostAccountClient, r as parseMattermostQuestionContext } from "./normalize-V4AG9QEw.mjs";
7
+ import { C as resolveSlashCommandConfig, S as resolveCallbackUrl, _ as resolveMattermostModelPickerCurrentModel, a as deliverMattermostReplyPayload, b as isSlashCommandsEnabled, c as canFinalizeMattermostPreviewInPlace, d as resolveMattermostReplyRootId, f as resolveMattermostThreadSessionContext, g as renderMattermostProviderPickerView, h as renderMattermostModelsPickerView, l as formatMattermostFinalDeliveryOutcomeLog, m as parseMattermostModelPickerContext, n as deactivateSlashCommands, o as joinMattermostVisibleContent, p as shouldUpdateMattermostDraftToolProgress, r as getSlashCommandState, s as buildMattermostButtonInteractionMessageSid, t as activateSlashCommands, u as resolveMattermostInteractionReplyRootId, v as DEFAULT_COMMAND_SPECS, x as registerSlashCommands, y as cleanupSlashCommands } from "./slash-state-sPRXr6Ti.mjs";
8
+ import { t as sendMessageMattermost } from "./send-DvlK-nOQ.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";
@@ -22,6 +22,7 @@ import { resolveChannelGroups, resolveChannelGroupsConfigPath } from "openclaw/p
22
22
  import { safeParseJsonWithSchema, safeParseWithSchema } from "openclaw/plugin-sdk/extension-shared";
23
23
  import { chunkMarkdownTextWithMode } from "openclaw/plugin-sdk/reply-chunking";
24
24
  import { buildTtsSupplementMediaPayload, getReplyPayloadTtsSupplement, isReasoningReplyPayload, resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";
25
+ import { agentControlText } from "openclaw/plugin-sdk/agent-control-runtime";
25
26
  import { isRecord } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
26
27
  import { resolveHumanDelayConfig } from "openclaw/plugin-sdk/agent-runtime";
27
28
  import { pruneMapToMaxSize } from "openclaw/plugin-sdk/collection-runtime";
@@ -670,17 +671,6 @@ function registerMattermostInteractions(params) {
670
671
  response: { ephemeral_text: `OpenClaw ignored this action for ${decision.roomLabel}.` }
671
672
  };
672
673
  },
673
- resolveSessionKey: async ({ channelId, userId, post }) => {
674
- const eventPlan = await buildMattermostEventPlan(monitor, {
675
- channelId,
676
- senderId: userId,
677
- postId: post.id,
678
- threadRootId: post.root_id,
679
- dropLabel: "interaction session event"
680
- });
681
- if (!eventPlan) throw new Error("Mattermost channel type could not be resolved");
682
- return eventPlan.thread.sessionKey;
683
- },
684
674
  dispatchButtonClick: async (button) => {
685
675
  const sourcePostId = button.post.id || button.postId;
686
676
  const interactionMessageSid = buildMattermostButtonInteractionMessageSid({
@@ -696,7 +686,7 @@ function registerMattermostInteractions(params) {
696
686
  });
697
687
  if (!eventPlan) return;
698
688
  const { channelDisplay, kind } = eventPlan;
699
- const bodyText = `[Button click: user @${button.userName} selected "${button.actionName}"]`;
689
+ const bodyText = agentControlText(button.callbackData) ?? `[Button click: user @${button.userName} selected "${button.actionName}"]`;
700
690
  const ctxPayload = eventPlan.finalizeContext({
701
691
  Body: bodyText,
702
692
  BodyForAgent: bodyText,
@@ -6,6 +6,7 @@ import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/acco
6
6
  import { normalizeMessagePresentation, renderMessagePresentationFallbackText, resolveMessagePresentationControlValue } from "openclaw/plugin-sdk/interactive-runtime";
7
7
  import { resolveAskUserQuestionOptionIndex, resolveAskUserQuestionOptionIndices } from "openclaw/plugin-sdk/reply-payload";
8
8
  import { resolveSecretInputString } from "openclaw/plugin-sdk/secret-input";
9
+ import { agentControlText } from "openclaw/plugin-sdk/agent-control-runtime";
9
10
  // extensions/mattermost/src/mattermost/accounts.ts
10
11
  const { listAccountIds: listMattermostAccountIds, resolveDefaultAccountId: resolveDefaultMattermostAccountId, resolveAccountConfig: mergeMattermostAccountConfig } = createAccountListHelpers("mattermost", {
11
12
  omitKeys: ["defaultAccount"],
@@ -153,7 +154,7 @@ function resolveMattermostPresentation(params) {
153
154
  style: button.style
154
155
  }];
155
156
  }
156
- if (action) return [];
157
+ if (action && !(action.type === "callback" && agentControlText(action.value))) return [];
157
158
  const value = resolveMessagePresentationControlValue(button);
158
159
  return value ? [{
159
160
  id: value,
@@ -1,8 +1,8 @@
1
- import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-BWApCMHC.mjs";
2
- import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
1
+ import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-BrvSFYI9.mjs";
3
2
  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-CVipK0N2.mjs";
4
3
  import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-C9TiGGVQ.mjs";
5
- import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-DuLSV4tT.mjs";
4
+ import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
5
+ import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-V4AG9QEw.mjs";
6
6
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  import { createChannelPartialDeliveryError } from "openclaw/plugin-sdk/channel-inbound";
8
8
  import { createMessageReceiptFromOutboundResults, listMessageReceiptPlatformIds } from "openclaw/plugin-sdk/channel-outbound";
@@ -1,9 +1,9 @@
1
- import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
2
1
  import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-CRQTeNn9.mjs";
3
2
  import { g as parseMattermostApiStatus, r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-CVipK0N2.mjs";
4
3
  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-C9TiGGVQ.mjs";
5
- import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-DuLSV4tT.mjs";
6
- import { t as sendMessageMattermost } from "./send-Dq203uXC.mjs";
4
+ import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
5
+ import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-V4AG9QEw.mjs";
6
+ import { t as sendMessageMattermost } from "./send-DvlK-nOQ.mjs";
7
7
  import { createHash } from "node:crypto";
8
8
  import { sendJson } from "openclaw/plugin-sdk/http-response-runtime";
9
9
  import { safeEqualSecret } from "openclaw/plugin-sdk/security-runtime";
@@ -1 +1 @@
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":"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-CRQTeNn9.mjs","sha256":"3ece9a206a5435985f81039d322aeaf152623f20d1cb22c84fc2ddb848b38a7a","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/callback-host.ts"]},{"output":".setup/channel-plugin-api-ZcL-ciz_.mjs","sha256":"e6bf08b3f6c30c604dbddb551acdbd0129fe8dbb88a18bd30346768238b103fb","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/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-plugin-api-ZioQ5n8R.mjs","sha256":"0dcdf0bd9ff8ccdb7bb6228aa3e036a47bada92db9ae7371e104918e6fdc5d93","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel.runtime-dwusbHyN.mjs","sha256":"ba59c774bd77275c5c3dd39c0e5e4cbb31fe170b17c95b1c48f21be905aa17f8","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-CVipK0N2.mjs","sha256":"7fbac6d265a554816e13cb913cc13f55336e58222e5e1ca3a5d46ee11e5f92f5","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/client.ts"]},{"output":".setup/doctor-contract-i788N90j.mjs","sha256":"19cd8daa0e168e02f368e6e610fe44d86ed62ad513e45c979820ec174ec42d66","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-DhWaV22L.mjs","sha256":"ebe57f4c2a254b643ca60ccad75636d8a4cb1df18a5dbfe97dbc1516b8f5e304","facadeSource":null,"sources":["extensions/mattermost/src/gateway-auth-bypass.ts"]},{"output":".setup/ingress-identity-CtHiOUDu.mjs","sha256":"02e94faf15dae1f0c6d6975b58986de68f34cfa7f521b7671d908bb7888f5190","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/ingress-identity.ts"]},{"output":".setup/interactions-BWApCMHC.mjs","sha256":"520048049d234671c62e9ddcda9c50e0aed4ccb18008d6c5ef1a5dc8566c374a","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-C9TiGGVQ.mjs","sha256":"f0e700a42a9db83fa687594fdda97d666c4485c8bdf6fd215d7ab176aee67670","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/monitor-auth.ts"]},{"output":".setup/monitor-HCtx0DCQ.mjs","sha256":"ad2da7898ab42bd92f1eb50654606388960ee94c849375aa7c5629738e8f64f7","facadeSource":"extensions/mattermost/src/mattermost/monitor.ts","sources":["extensions/mattermost/src/mattermost/draft-stream.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-DuLSV4tT.mjs","sha256":"648b2c397fc7ad9fc6f0b01b06ffc04a2212b6f2147d40da899574664def20a5","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/accounts.ts","extensions/mattermost/src/normalize.ts"]},{"output":".setup/rolldown-runtime-782esTHO.mjs","sha256":"5ee95aea427a7c3b63d18f4d901f7c824b836077e85aee06ae7d598c1974e2a6","facadeSource":null,"sources":[]},{"output":".setup/runtime-y_L8jPMH.mjs","sha256":"57c233e3dc66946040735eaa3183b5a6c144d5251a6a4a9a1900bb324406a504","facadeSource":null,"sources":["extensions/mattermost/src/runtime.ts"]},{"output":".setup/secret-contract-api-DydsmAPQ.mjs","sha256":"f9cc7ef69d0549017892f16541a0be494d2eceac6798f239262a2f95df8bf2a1","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":".setup/secret-contract-BkDCURCE.mjs","sha256":"457ca9ffc0a682b89037969e92e753a79a178ce8812fe9d0769727b77227ca82","facadeSource":null,"sources":["extensions/mattermost/src/secret-contract.ts"]},{"output":".setup/send-Dq203uXC.mjs","sha256":"da2e24505fce4b005b919ac8e051a1aec35692112e62199c27841bb53255fd69","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-Dyd1mDYq.mjs","sha256":"c9cc24bd0db16fb28319ebb41be86fc30a6d877ae7d798603232b93402a97601","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/model-picker.ts","extensions/mattermost/src/mattermost/monitor-context.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-state.ts"]},{"output":"api.js","sha256":"3b3d532dc195c4dc8b88838505bced250aa6bc4ef5481f46b3125513e21b0498","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"b600959510c28dc8fcd1b51ef77249c624dc0c45e65c9a783010c1d5d744cf8f","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":"doctor-contract-api.js","sha256":"e991f0b249cd5e4dc0b33c1a470fdb11f5670db110064e232afeb875e0f36774","facadeSource":"extensions/mattermost/doctor-contract-api.ts","sources":[]},{"output":"gateway-auth-api.js","sha256":"70ab9f2ff147f0c5e640e800a930ee2a43cc856ea8b4269ec0a17b725a3f293c","facadeSource":"extensions/mattermost/gateway-auth-api.ts","sources":[]},{"output":"index.js","sha256":"6a47a0b97182b9fbf1bc11a30fce13a8f181c829afa5ec0f8f90adbe391b0d32","facadeSource":"extensions/mattermost/index.ts","sources":["extensions/mattermost/index.ts"]},{"output":"policy-api.js","sha256":"7011d2f089cb23ce900003d51cd9b22d05dfce728c0ada82dd4604efc1703c58","facadeSource":"extensions/mattermost/policy-api.ts","sources":[]},{"output":"runtime-api.js","sha256":"550cdb1c39c6ada41b6e052272563d8b17440c1715d0bb6fb346762cdba91345","facadeSource":"extensions/mattermost/runtime-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"21c25923cfccb84def9af62fbbec3d608904df504798c95df366523f4129a478","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"47f9a4745114aff678025e4857ec0dd7a779e25a8cdfc43225fd030c30342ae4","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"10aa64c22b3da06d45adbc96f3bdadd663ba24f443979b89c7999d76e16b8234","facadeSource":"extensions/mattermost/slash-route-api.ts","sources":[]}],"unrenderedSources":["extensions/mattermost/api.ts","extensions/mattermost/channel-plugin-api.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"]}
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":"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-CRQTeNn9.mjs","sha256":"3ece9a206a5435985f81039d322aeaf152623f20d1cb22c84fc2ddb848b38a7a","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/callback-host.ts"]},{"output":".setup/channel-plugin-api-CsDaIGhx.mjs","sha256":"db1c26f746f65d28726ca9d122ed77b3c3d00b9dd1d37ac6253484818dd7a044","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/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-plugin-api-S5_Q2o5S.mjs","sha256":"36ca2a545058465fc18af71a099d992ae8ba4137ca008d45826f2be9898f4ad0","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel.runtime-CL2LrJgr.mjs","sha256":"8ae17595008bd9b3d04caf9f86b5db09087b7d0b762bc947c4cae0d2ce123164","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-CVipK0N2.mjs","sha256":"7fbac6d265a554816e13cb913cc13f55336e58222e5e1ca3a5d46ee11e5f92f5","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/client.ts"]},{"output":".setup/doctor-contract-i788N90j.mjs","sha256":"19cd8daa0e168e02f368e6e610fe44d86ed62ad513e45c979820ec174ec42d66","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-DhWaV22L.mjs","sha256":"ebe57f4c2a254b643ca60ccad75636d8a4cb1df18a5dbfe97dbc1516b8f5e304","facadeSource":null,"sources":["extensions/mattermost/src/gateway-auth-bypass.ts"]},{"output":".setup/ingress-identity-CtHiOUDu.mjs","sha256":"02e94faf15dae1f0c6d6975b58986de68f34cfa7f521b7671d908bb7888f5190","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/ingress-identity.ts"]},{"output":".setup/interactions-BrvSFYI9.mjs","sha256":"2cfe4283c1b98813ca51ee0f1aa08ba98e2e00913e0a5937802d2a5eb3f1ea68","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-C9TiGGVQ.mjs","sha256":"f0e700a42a9db83fa687594fdda97d666c4485c8bdf6fd215d7ab176aee67670","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/monitor-auth.ts"]},{"output":".setup/monitor-D7hPbENL.mjs","sha256":"10ed99c2049502a9be8b76d7060a2af1fc13245b623b6997aaeb2a5a77b1abb5","facadeSource":"extensions/mattermost/src/mattermost/monitor.ts","sources":["extensions/mattermost/src/mattermost/draft-stream.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-V4AG9QEw.mjs","sha256":"4c1be8be80dafd0031d11ba56818dd68f493abbc40da5561ac58099827313bcd","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/accounts.ts","extensions/mattermost/src/normalize.ts"]},{"output":".setup/rolldown-runtime-782esTHO.mjs","sha256":"5ee95aea427a7c3b63d18f4d901f7c824b836077e85aee06ae7d598c1974e2a6","facadeSource":null,"sources":[]},{"output":".setup/runtime-y_L8jPMH.mjs","sha256":"57c233e3dc66946040735eaa3183b5a6c144d5251a6a4a9a1900bb324406a504","facadeSource":null,"sources":["extensions/mattermost/src/runtime.ts"]},{"output":".setup/secret-contract-api-DydsmAPQ.mjs","sha256":"f9cc7ef69d0549017892f16541a0be494d2eceac6798f239262a2f95df8bf2a1","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":".setup/secret-contract-BkDCURCE.mjs","sha256":"457ca9ffc0a682b89037969e92e753a79a178ce8812fe9d0769727b77227ca82","facadeSource":null,"sources":["extensions/mattermost/src/secret-contract.ts"]},{"output":".setup/send-DvlK-nOQ.mjs","sha256":"5d053cad78f60b87333e8e55cc3af7d2bac423f9b4d0df38725fd1d1de0cab01","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-sPRXr6Ti.mjs","sha256":"d5c6b5955f5e811f57df7743352b3dc67e1d57481d19752fe08be67681952d13","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/model-picker.ts","extensions/mattermost/src/mattermost/monitor-context.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-state.ts"]},{"output":"api.js","sha256":"074896deed8f9bfbb71c607f7e47dcd0b1ba04f8060a12138b8a309309da358e","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"0f8e857003e3180bf22c5fa2f34525475486f5626b36d807b3054b8532e2e740","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":"doctor-contract-api.js","sha256":"e991f0b249cd5e4dc0b33c1a470fdb11f5670db110064e232afeb875e0f36774","facadeSource":"extensions/mattermost/doctor-contract-api.ts","sources":[]},{"output":"gateway-auth-api.js","sha256":"70ab9f2ff147f0c5e640e800a930ee2a43cc856ea8b4269ec0a17b725a3f293c","facadeSource":"extensions/mattermost/gateway-auth-api.ts","sources":[]},{"output":"index.js","sha256":"6a47a0b97182b9fbf1bc11a30fce13a8f181c829afa5ec0f8f90adbe391b0d32","facadeSource":"extensions/mattermost/index.ts","sources":["extensions/mattermost/index.ts"]},{"output":"policy-api.js","sha256":"7011d2f089cb23ce900003d51cd9b22d05dfce728c0ada82dd4604efc1703c58","facadeSource":"extensions/mattermost/policy-api.ts","sources":[]},{"output":"runtime-api.js","sha256":"550cdb1c39c6ada41b6e052272563d8b17440c1715d0bb6fb346762cdba91345","facadeSource":"extensions/mattermost/runtime-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"21c25923cfccb84def9af62fbbec3d608904df504798c95df366523f4129a478","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"2f40186c8a609d8d9bb936c2ed42b1a3f3d7b0fff82924662967c12d3914c229","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"9719278e8eefd9ec9a404cb39dad2306a71cd9fae04592055e775c09726c4e4f","facadeSource":"extensions/mattermost/slash-route-api.ts","sources":[]}],"unrenderedSources":["extensions/mattermost/api.ts","extensions/mattermost/channel-plugin-api.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"]}
package/dist/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as buildButtonAttachments } from "./.setup/interactions-BWApCMHC.mjs";
1
+ import { t as buildButtonAttachments } from "./.setup/interactions-BrvSFYI9.mjs";
2
2
  import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-C9TiGGVQ.mjs";
3
3
  export { buildButtonAttachments, isMattermostSenderAllowed };
@@ -1 +1 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-ZcL-ciz_.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-CsDaIGhx.mjs";
@@ -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-ZioQ5n8R.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/channel-plugin-api-S5_Q2o5S.mjs", import.meta.url).href),
8
8
  exportName: "mattermostSetupPlugin"
9
9
  },
10
10
  secrets: {
@@ -1 +1 @@
1
- export { i as registerSlashCommandRoute } from "./.setup/slash-state-Dyd1mDYq.mjs";
1
+ export { i as registerSlashCommandRoute } from "./.setup/slash-state-sPRXr6Ti.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.11.10-beta.2",
3
+ "version": "2026.11.10-beta.3",
4
4
  "description": "OpenClaw Mattermost channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "zod": "4.6.7"
12
12
  },
13
13
  "peerDependencies": {
14
- "openclaw": ">=2026.11.10-beta.2"
14
+ "openclaw": ">=2026.11.10-beta.3"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "openclaw": {
@@ -93,10 +93,10 @@
93
93
  "allowInvalidConfigRecovery": true
94
94
  },
95
95
  "compat": {
96
- "pluginApi": ">=2026.11.10-beta.2"
96
+ "pluginApi": ">=2026.11.10-beta.3"
97
97
  },
98
98
  "build": {
99
- "openclawVersion": "2026.11.10-beta.2",
99
+ "openclawVersion": "2026.11.10-beta.3",
100
100
  "bundledDist": false
101
101
  },
102
102
  "release": {