@openclaw/mattermost 2026.11.5-beta.1 → 2026.11.5-beta.2

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.
Files changed (30) hide show
  1. package/dist/.setup/{callback-host-CRQTeNn9.mjs → callback-host-Bu2cmtfI.mjs} +2 -1
  2. package/dist/.setup/{channel-plugin-api-C5kL5jd0.mjs → channel-plugin-api-ClU67Wyc.mjs} +1 -1
  3. package/dist/.setup/{channel-plugin-api-CC8EU4bs.mjs → channel-plugin-api-CuxSSPV8.mjs} +34 -21
  4. package/dist/.setup/{channel.runtime-ukouI9k4.mjs → channel.runtime-B3RvYLQi.mjs} +12 -8
  5. package/dist/.setup/{client-CVipK0N2.mjs → client-CR-hGmGr.mjs} +2 -1
  6. package/dist/.setup/{doctor-contract-i788N90j.mjs → doctor-contract-CjgZkyPm.mjs} +11 -6
  7. package/dist/.setup/{gateway-auth-bypass-DhWaV22L.mjs → gateway-auth-bypass-Lf99Gilr.mjs} +3 -2
  8. package/dist/.setup/{ingress-identity-CtHiOUDu.mjs → ingress-identity-D6hxfxvo.mjs} +1 -0
  9. package/dist/.setup/{interactions-cgV9-piH.mjs → interactions-D5hhyPam.mjs} +19 -12
  10. package/dist/.setup/{monitor-Bn-I4iu7.mjs → monitor-Bw_pTSF8.mjs} +48 -28
  11. package/dist/.setup/{monitor-auth-D7Fl9CyF.mjs → monitor-auth-BxpEUfvc.mjs} +4 -3
  12. package/dist/.setup/{normalize-DuLSV4tT.mjs → normalize-CNFRtT1O.mjs} +5 -3
  13. package/dist/.setup/{rolldown-runtime-782esTHO.mjs → rolldown-runtime-BBjsoOtd.mjs} +2 -1
  14. package/dist/.setup/{runtime-y_L8jPMH.mjs → runtime-CNB4YGqJ.mjs} +2 -1
  15. package/dist/.setup/{secret-contract-api-DydsmAPQ.mjs → secret-contract-api-Drz4m5pq.mjs} +1 -1
  16. package/dist/.setup/{secret-contract-BkDCURCE.mjs → secret-contract-fjlTFCmD.mjs} +2 -1
  17. package/dist/.setup/{send-CoWXMKnY.mjs → send-BSae9PKV.mjs} +9 -7
  18. package/dist/.setup/{slash-state-CwLVacYg.mjs → slash-state-DpZH2wr6.mjs} +17 -11
  19. package/dist/.source-module-urls/8fb0cb1067b83fd2cf3f3ba0f7a23e627c27e8e3adf1a4ea18753ddb884ff71e.json +1 -1
  20. package/dist/api.js +2 -2
  21. package/dist/channel-plugin-api.js +1 -1
  22. package/dist/doctor-contract-api.js +1 -1
  23. package/dist/gateway-auth-api.js +1 -1
  24. package/dist/index.js +2 -1
  25. package/dist/policy-api.js +1 -1
  26. package/dist/runtime-api.js +1 -1
  27. package/dist/secret-contract-api.js +1 -1
  28. package/dist/setup-entry.js +4 -3
  29. package/dist/slash-route-api.js +1 -1
  30. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
2
- // extensions/mattermost/src/mattermost/callback-host.ts
2
+ //#region extensions/mattermost/src/mattermost/callback-host.ts
3
3
  const DEFAULT_SLASH_CALLBACK_PATH = "/api/channels/mattermost/command";
4
4
  function normalizeCallbackPath(value) {
5
5
  const path = normalizeOptionalString(value) ?? DEFAULT_SLASH_CALLBACK_PATH;
@@ -30,4 +30,5 @@ function resolveCallbackHost(rawHost, trim = false) {
30
30
  const host = rawHost && !isWildcardBindHost(rawHost) ? trim ? rawHost.trim() : rawHost : "localhost";
31
31
  return host.includes(":") && !(host.startsWith("[") && host.endsWith("]")) ? `[${host}]` : host;
32
32
  }
33
+ //#endregion
33
34
  export { normalizeCallbackPath as n, resolveCallbackHost as r, collectMattermostCallbackPaths as t };
@@ -1 +1 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-api-CC8EU4bs.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-api-CuxSSPV8.mjs";
@@ -1,9 +1,9 @@
1
- import { h as normalizeMattermostBaseUrl } from "./client-CVipK0N2.mjs";
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";
4
- import { t as resolveMattermostGatewayAuthBypassPaths } from "./gateway-auth-bypass-DhWaV22L.mjs";
5
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-i788N90j.mjs";
6
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-BkDCURCE.mjs";
1
+ import { h as normalizeMattermostBaseUrl } from "./client-CR-hGmGr.mjs";
2
+ import { t as mattermostIngressIdentity } from "./ingress-identity-D6hxfxvo.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-CNFRtT1O.mjs";
4
+ import { t as resolveMattermostGatewayAuthBypassPaths } from "./gateway-auth-bypass-Lf99Gilr.mjs";
5
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-CjgZkyPm.mjs";
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 { z } from "zod";
9
9
  import { formatNormalizedAllowFromEntries } from "openclaw/plugin-sdk/allow-from";
@@ -32,7 +32,7 @@ import { ChannelBotLoopProtectionSchema, ChannelImplicitMentionsSchema, ChannelP
32
32
  import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
33
33
  import { applyAccountNameToChannelSection, applySetupAccountConfigPatch, baseUrlTextInput, createSetupTranslator, createStandardChannelSetupStatus, defineTokenCredential, formatDocsLink, prepareScopedSetupConfig, setSetupChannelEnabled } from "openclaw/plugin-sdk/setup";
34
34
  import { createSetupInputPresenceValidator } from "openclaw/plugin-sdk/setup-runtime";
35
- // extensions/mattermost/src/approval-auth.ts
35
+ //#region extensions/mattermost/src/approval-auth.ts
36
36
  const MATTERMOST_USER_ID_RE = /^[a-z0-9]{26}$/;
37
37
  function normalizeMattermostApproverId(value) {
38
38
  const normalized = String(value).trim().replace(/^(mattermost|user):/i, "").replace(/^@/, "");
@@ -49,7 +49,8 @@ const mattermostApprovalAuth = createChannelApprovalAuth({
49
49
  },
50
50
  normalizeApprover: normalizeMattermostApproverId
51
51
  }).approvalAuth;
52
- // extensions/mattermost/src/channel-config-shared.ts
52
+ //#endregion
53
+ //#region extensions/mattermost/src/channel-config-shared.ts
53
54
  const mattermostMeta = {
54
55
  id: "mattermost",
55
56
  label: "Mattermost",
@@ -102,7 +103,8 @@ function describeMattermostAccount(account) {
102
103
  }
103
104
  });
104
105
  }
105
- // extensions/mattermost/src/channel-send-result.ts
106
+ //#endregion
107
+ //#region extensions/mattermost/src/channel-send-result.ts
106
108
  function toMattermostOutboundResult(result) {
107
109
  const { channelId, ...delivery } = result;
108
110
  return {
@@ -118,7 +120,8 @@ function createMattermostDeliveryProgressReporter(onDeliveryResult) {
118
120
  await onDeliveryResult(attachChannelToResult("mattermost", toMattermostOutboundResult(result)));
119
121
  } : void 0;
120
122
  }
121
- // extensions/mattermost/src/config-schema-core.ts
123
+ //#endregion
124
+ //#region extensions/mattermost/src/config-schema-core.ts
122
125
  const MattermostGroupSchema = buildGroupEntrySchema({
123
126
  requireMentionInBotThreads: z.boolean().optional(),
124
127
  allowBots: buildChannelAllowBotsSchema({ allowMentions: true }),
@@ -237,7 +240,8 @@ const MattermostConfigSchema = buildMultiAccountChannelSchema(MattermostAccountS
237
240
  });
238
241
  }
239
242
  });
240
- // extensions/mattermost/src/config-surface.ts
243
+ //#endregion
244
+ //#region extensions/mattermost/src/config-surface.ts
241
245
  const mattermostChannelConfigUiHints = {
242
246
  "": {
243
247
  label: "Mattermost",
@@ -299,7 +303,8 @@ const mattermostChannelConfigUiHints = {
299
303
  })
300
304
  };
301
305
  const MattermostChannelConfigSchema = buildChannelConfigSchema(MattermostConfigSchema, { uiHints: mattermostChannelConfigUiHints });
302
- // extensions/mattermost/src/setup-core.ts
306
+ //#endregion
307
+ //#region extensions/mattermost/src/setup-core.ts
303
308
  const channel$1 = "mattermost";
304
309
  function applyMattermostSetupConfigPatch(params) {
305
310
  return applySetupAccountConfigPatch({
@@ -395,7 +400,8 @@ const mattermostSetupContract = defineChannelSetupContract({
395
400
  },
396
401
  legacyAdapter: mattermostSetupAdapter
397
402
  });
398
- // extensions/mattermost/src/setup-surface.ts
403
+ //#endregion
404
+ //#region extensions/mattermost/src/setup-surface.ts
399
405
  const t = createSetupTranslator();
400
406
  const channel = "mattermost";
401
407
  const mattermostSetupWizard = {
@@ -482,7 +488,8 @@ const mattermostSetupWizard = {
482
488
  })],
483
489
  disable: (cfg) => setSetupChannelEnabled(cfg, channel, false)
484
490
  };
485
- // extensions/mattermost/src/channel.setup.ts
491
+ //#endregion
492
+ //#region extensions/mattermost/src/channel.setup.ts
486
493
  const mattermostSetupPlugin = {
487
494
  id: "mattermost",
488
495
  meta: mattermostMeta,
@@ -517,7 +524,8 @@ const mattermostSetupPlugin = {
517
524
  setupContract: mattermostSetupContract,
518
525
  setupWizard: mattermostSetupWizard
519
526
  };
520
- // extensions/mattermost/src/doctor.ts
527
+ //#endregion
528
+ //#region extensions/mattermost/src/doctor.ts
521
529
  const isMattermostMutableAllowEntry = buildMutableAllowEntryDetector({ stableIdPattern: /^(?:(?:mattermost|user):)?@?[a-z0-9]{26}$/i });
522
530
  const collectMattermostMutableAllowlistWarnings = createDangerousNameMatchingMutableAllowlistWarningCollector({
523
531
  channel: "mattermost",
@@ -529,7 +537,8 @@ const mattermostDoctor = {
529
537
  normalizeCompatibilityConfig,
530
538
  collectMutableAllowlistWarnings: collectMattermostMutableAllowlistWarnings
531
539
  };
532
- // extensions/mattermost/src/group-mentions.ts
540
+ //#endregion
541
+ //#region extensions/mattermost/src/group-mentions.ts
533
542
  function resolveMattermostGroupRequireMention(params) {
534
543
  const account = resolveMattermostAccount({
535
544
  cfg: params.cfg,
@@ -542,7 +551,8 @@ function resolveMattermostGroupRequireMention(params) {
542
551
  overrideOrder: "after-config"
543
552
  });
544
553
  }
545
- // extensions/mattermost/src/mattermost/emoji.ts
554
+ //#endregion
555
+ //#region extensions/mattermost/src/mattermost/emoji.ts
546
556
  const MATTERMOST_EMOJI_SHORTNAME_BY_GLYPH = {
547
557
  "✅": "white_check_mark",
548
558
  "❌": "x",
@@ -596,7 +606,8 @@ function normalizeMattermostEmojiName(raw) {
596
606
  if (!toneSuffix || !MATTERMOST_EMOJI_TONE_CAPABLE_NAMES.has(shortname)) return shortname;
597
607
  return `${shortname}_${toneSuffix}`;
598
608
  }
599
- // extensions/mattermost/src/session-route.ts
609
+ //#endregion
610
+ //#region extensions/mattermost/src/session-route.ts
600
611
  /**
601
612
  * Reads the peer chat-kind already recorded for `peerId` in an agent session
602
613
  * key. Agent session keys are
@@ -645,8 +656,9 @@ function resolveMattermostOutboundSessionRoute(params) {
645
656
  canRecoverCurrentThread: ({ route }) => route.chatType !== "direct" || (params.cfg.session?.dmScope ?? "main") !== "main"
646
657
  });
647
658
  }
648
- // extensions/mattermost/src/channel.ts
649
- const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-ukouI9k4.mjs"));
659
+ //#endregion
660
+ //#region extensions/mattermost/src/channel.ts
661
+ const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-B3RvYLQi.mjs"));
650
662
  const MATTERMOST_PRESENTATION_CAPABILITIES = {
651
663
  supported: true,
652
664
  buttons: true,
@@ -1070,7 +1082,7 @@ const mattermostPlugin = createChatChannelPlugin({
1070
1082
  botTokenSource: account.botTokenSource
1071
1083
  });
1072
1084
  ctx.log?.info(`[${account.accountId}] starting channel`);
1073
- return (await import("./monitor-Bn-I4iu7.mjs")).monitorMattermostProvider({
1085
+ return (await import("./monitor-Bw_pTSF8.mjs")).monitorMattermostProvider({
1074
1086
  botToken: account.botToken,
1075
1087
  baseUrl: account.baseUrl,
1076
1088
  accountId: account.accountId,
@@ -1148,4 +1160,5 @@ const mattermostPlugin = createChatChannelPlugin({
1148
1160
  security: mattermostSecurityAdapter,
1149
1161
  outbound: mattermostOutbound
1150
1162
  });
1163
+ //#endregion
1151
1164
  export { mattermostSetupPlugin as n, mattermostPlugin as t };
@@ -1,7 +1,7 @@
1
- import { _ as readMattermostError, h as normalizeMattermostBaseUrl, l as fetchMattermostChannelPosts, r as createMattermostClient, s as fetchMattermostChannel, u as fetchMattermostMe } from "./client-CVipK0N2.mjs";
2
- import { s as resolveMattermostTrustedChatKind } from "./monitor-auth-D7Fl9CyF.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-CoWXMKnY.mjs";
1
+ import { _ as readMattermostError, h as normalizeMattermostBaseUrl, l as fetchMattermostChannelPosts, r as createMattermostClient, s as fetchMattermostChannel, u as fetchMattermostMe } from "./client-CR-hGmGr.mjs";
2
+ import { s as resolveMattermostTrustedChatKind } from "./monitor-auth-BxpEUfvc.mjs";
3
+ import { d as resolveMattermostAccount, l as listMattermostAccountIds, n as normalizeMattermostMessagingTarget, s as inspectMattermostAccount } from "./normalize-CNFRtT1O.mjs";
4
+ import { n as resolveMattermostOpaqueTarget, t as sendMessageMattermost } from "./send-BSae9PKV.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";
@@ -10,7 +10,7 @@ import { readProviderJsonResponse } from "openclaw/plugin-sdk/provider-http";
10
10
  import { fetchWithSsrFGuard, ssrfPolicyFromPrivateNetworkOptIn } from "openclaw/plugin-sdk/ssrf-runtime";
11
11
  import { resolveAllowlistProviderRuntimeGroupPolicy } from "openclaw/plugin-sdk/runtime-group-policy";
12
12
  import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
13
- // extensions/mattermost/src/mattermost/directory.ts
13
+ //#region extensions/mattermost/src/mattermost/directory.ts
14
14
  /** Build the requested account client, or aggregate accounts for an explicitly unscoped lookup. */
15
15
  function buildClients(params) {
16
16
  const requestedAccountId = params.accountId?.trim();
@@ -135,7 +135,8 @@ async function listMattermostDirectoryPeers(params) {
135
135
  return [];
136
136
  }
137
137
  }
138
- // extensions/mattermost/src/mattermost/probe.ts
138
+ //#endregion
139
+ //#region extensions/mattermost/src/mattermost/probe.ts
139
140
  async function probeMattermost(baseUrl, botToken, timeoutMs = 2500, allowPrivateNetwork = false) {
140
141
  const normalized = normalizeMattermostBaseUrl(baseUrl);
141
142
  if (!normalized) return {
@@ -180,7 +181,8 @@ async function probeMattermost(baseUrl, botToken, timeoutMs = 2500, allowPrivate
180
181
  error: formatErrorMessage(error)
181
182
  }));
182
183
  }
183
- // extensions/mattermost/src/mattermost/reactions.ts
184
+ //#endregion
185
+ //#region extensions/mattermost/src/mattermost/reactions.ts
184
186
  const BOT_USER_CACHE_TTL_MS = 6e5;
185
187
  const botUserIdCache = /* @__PURE__ */ new Map();
186
188
  async function resolveBotUserId(client, cacheKey) {
@@ -288,7 +290,8 @@ async function runMattermostReaction(params, action) {
288
290
  }
289
291
  return { ok: true };
290
292
  }
291
- // extensions/mattermost/src/mattermost/read.ts
293
+ //#endregion
294
+ //#region extensions/mattermost/src/mattermost/read.ts
292
295
  function parseMattermostChannelTarget(rawTarget) {
293
296
  const normalized = normalizeMattermostMessagingTarget(rawTarget);
294
297
  if (normalized?.startsWith("channel:")) return normalized.slice(8).trim() || void 0;
@@ -347,4 +350,5 @@ async function readMattermostMessages(params) {
347
350
  after: params.after
348
351
  });
349
352
  }
353
+ //#endregion
350
354
  export { addMattermostReaction, listMattermostDirectoryGroups, listMattermostDirectoryPeers, probeMattermost, readMattermostMessages, removeMattermostReaction, resolveMattermostOpaqueTarget, sendMessageMattermost };
@@ -9,7 +9,7 @@ import { readResponseTextPrefix, readResponseWithLimit } from "openclaw/plugin-s
9
9
  import { isTransientNetworkError, retryAsync } from "openclaw/plugin-sdk/retry-runtime";
10
10
  import { fetchWithSsrFGuard, ssrfPolicyFromPrivateNetworkOptIn } from "openclaw/plugin-sdk/ssrf-runtime";
11
11
  import { z } from "zod";
12
- // extensions/mattermost/src/mattermost/client.ts
12
+ //#region extensions/mattermost/src/mattermost/client.ts
13
13
  const MATTERMOST_ERROR_BODY_LIMIT_BYTES = 8192;
14
14
  const MATTERMOST_REQUEST_TIMEOUT_MS = 3e4;
15
15
  const MATTERMOST_TEXT_RESPONSE_LIMIT_BYTES = 65536;
@@ -320,4 +320,5 @@ async function uploadMattermostFile(client, params) {
320
320
  if (!info?.id) throw new Error("Mattermost file upload failed");
321
321
  return info;
322
322
  }
323
+ //#endregion
323
324
  export { readMattermostError as _, createMattermostPost as a, uploadMattermostFile as b, fetchMattermostChannelByName as c, fetchMattermostUser as d, fetchMattermostUserByUsername as f, parseMattermostApiStatus as g, normalizeMattermostBaseUrl as h, createMattermostDirectChannelWithRetry as i, fetchMattermostChannelPosts as l, isRetryableError as m, buildMattermostApiUrl as n, deleteMattermostPost as o, fetchMattermostUserTeams as p, createMattermostClient as r, fetchMattermostChannel as s, MattermostPostSchema as t, fetchMattermostMe as u, sendMattermostTyping as v, updateMattermostPost as y };
@@ -1,5 +1,5 @@
1
- import { n as __reExport, t as __exportAll } from "./rolldown-runtime-782esTHO.mjs";
2
- // packages/normalization-core/src/record-coerce.ts
1
+ import { n as __reExport, t as __exportAll } from "./rolldown-runtime-BBjsoOtd.mjs";
2
+ //#region packages/normalization-core/src/record-coerce.ts
3
3
  /** Type guard for non-array object records at browser-safe boundaries. */
4
4
  function isRecord(value) {
5
5
  return value !== null && typeof value === "object" && !Array.isArray(value);
@@ -8,7 +8,8 @@ function isRecord(value) {
8
8
  function asNullableRecord(value) {
9
9
  return isRecord(value) ? value : null;
10
10
  }
11
- // src/config/channel-config-normalization.ts
11
+ //#endregion
12
+ //#region src/config/channel-config-normalization.ts
12
13
  /** Applies one channel-specific doctor migration to every object-shaped account. */
13
14
  function normalizeChannelAccounts(params) {
14
15
  const rawAccounts = asNullableRecord(params.entry.accounts);
@@ -84,7 +85,8 @@ function normalizeChannelConfigEntries(params) {
84
85
  changes
85
86
  };
86
87
  }
87
- // src/plugin-sdk/legacy-webhook-listener-migration.ts
88
+ //#endregion
89
+ //#region src/plugin-sdk/legacy-webhook-listener-migration.ts
88
90
  /** Preserve explicitly configured webhook listeners while moving ingress onto Gateway routes. */
89
91
  function createLegacyWebhookListenerDoctorContract(params) {
90
92
  const portKey = params.portKey ?? "webhookPort";
@@ -154,14 +156,17 @@ function createLegacyWebhookListenerDoctorContract(params) {
154
156
  }
155
157
  };
156
158
  }
157
- // \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
159
+ //#endregion
160
+ //#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
158
161
  var runtime_doctor_migrations_exports = /* @__PURE__ */ __exportAll({ createLegacyWebhookListenerDoctorContract: () => createLegacyWebhookListenerDoctorContract });
159
162
  import * as import_openclaw_plugin_sdk_runtime_doctor_migrations from "openclaw/plugin-sdk/runtime-doctor-migrations";
160
163
  __reExport(runtime_doctor_migrations_exports, import_openclaw_plugin_sdk_runtime_doctor_migrations);
161
- // extensions/mattermost/src/doctor-contract.ts
164
+ //#endregion
165
+ //#region extensions/mattermost/src/doctor-contract.ts
162
166
  const { legacyConfigRules, normalizeChannelConfig: normalizeCompatibilityConfig } = (0, runtime_doctor_migrations_exports.defineChannelAliasMigration)({
163
167
  channelId: "mattermost",
164
168
  streaming: { defaultMode: "partial" },
165
169
  accountStreamingReplacesRoot: true
166
170
  });
171
+ //#endregion
167
172
  export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
@@ -1,6 +1,7 @@
1
- import { t as collectMattermostCallbackPaths } from "./callback-host-CRQTeNn9.mjs";
2
- // extensions/mattermost/src/gateway-auth-bypass.ts
1
+ import { t as collectMattermostCallbackPaths } from "./callback-host-Bu2cmtfI.mjs";
2
+ //#region extensions/mattermost/src/gateway-auth-bypass.ts
3
3
  function resolveMattermostGatewayAuthBypassPaths(params) {
4
4
  return collectMattermostCallbackPaths(params.cfg.channels?.mattermost).filter((path) => path.startsWith("/api/channels/mattermost/"));
5
5
  }
6
+ //#endregion
6
7
  export { resolveMattermostGatewayAuthBypassPaths as t };
@@ -22,4 +22,5 @@ function normalizeMattermostAllowEntry(entry) {
22
22
  if (accessGroupName) return `accessGroup:${accessGroupName}`;
23
23
  return normalizeLowercaseStringOrEmpty(trimmed.replace(/^(mattermost|user):/i, "").replace(/^@/, ""));
24
24
  }
25
+ //#endregion
25
26
  export { normalizeMattermostAllowEntry as n, mattermostIngressIdentity as t };
@@ -1,15 +1,15 @@
1
- import { n as __reExport, t as __exportAll } from "./rolldown-runtime-782esTHO.mjs";
2
- import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
3
- import { r as resolveCallbackHost } from "./callback-host-CRQTeNn9.mjs";
4
- import { y as updateMattermostPost } from "./client-CVipK0N2.mjs";
5
- import { E as resolveClientIp, O as sendHttpRequestRejection, S as readRequestBodyWithLimit, _ as isTrustedProxyAddress, g as isRequestBodyLimitError } from "./monitor-auth-D7Fl9CyF.mjs";
1
+ import { n as __reExport, t as __exportAll } from "./rolldown-runtime-BBjsoOtd.mjs";
2
+ import { t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
3
+ import { r as resolveCallbackHost } from "./callback-host-Bu2cmtfI.mjs";
4
+ import { y as updateMattermostPost } from "./client-CR-hGmGr.mjs";
5
+ import { E as resolveClientIp, O as sendHttpRequestRejection, S as readRequestBodyWithLimit, _ as isTrustedProxyAddress, g as isRequestBodyLimitError } from "./monitor-auth-BxpEUfvc.mjs";
6
6
  import { createHmac } from "node:crypto";
7
7
  import { sendJsonWithoutCharset } from "openclaw/plugin-sdk/http-response-runtime";
8
8
  import { safeEqualSecret } from "openclaw/plugin-sdk/security-runtime";
9
9
  import { normalizeOptionalString, normalizeStringifiedOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
10
10
  import { safeParseJson } from "openclaw/plugin-sdk/text-utility-runtime";
11
11
  import { requestBodyErrorToText } from "openclaw/plugin-sdk/webhook-request-guards";
12
- // src/gateway/gateway-http-route-contracts.ts
12
+ //#region src/gateway/gateway-http-route-contracts.ts
13
13
  const GATEWAY_PROBE_ROUTES = /* @__PURE__ */ new Map([
14
14
  ["/health", "live"],
15
15
  ["/healthz", "live"],
@@ -25,7 +25,8 @@ function classifyGatewayProbePath(pathname) {
25
25
  }
26
26
  return "outside";
27
27
  }
28
- // packages/normalization-core/src/string-coerce.ts
28
+ //#endregion
29
+ //#region packages/normalization-core/src/string-coerce.ts
29
30
  /** Trims string input and returns null for non-strings or empty strings. */
30
31
  function normalizeNullableString(value) {
31
32
  if (typeof value !== "string") return null;
@@ -44,11 +45,13 @@ function normalizeOptionalLowercaseString(value) {
44
45
  function normalizeLowercaseStringOrEmpty$1(value) {
45
46
  return normalizeOptionalLowercaseString(value) ?? "";
46
47
  }
47
- // src/plugins/http-path-prefix.ts
48
+ //#endregion
49
+ //#region src/plugins/http-path-prefix.ts
48
50
  function prefixMatchPath(pathname, prefix) {
49
51
  return pathname === prefix || pathname.startsWith(`${prefix}/`) || pathname.startsWith(`${prefix}%`);
50
52
  }
51
- // src/gateway/security-path.ts
53
+ //#endregion
54
+ //#region src/gateway/security-path.ts
52
55
  const MAX_PATH_DECODE_PASSES = 32;
53
56
  function normalizePathSeparators(pathname) {
54
57
  const collapsed = pathname.replace(/\/{2,}/g, "/");
@@ -97,7 +100,8 @@ function canonicalizePathForSecurity(pathname) {
97
100
  };
98
101
  }
99
102
  const PROTECTED_PLUGIN_ROUTE_PREFIXES = ["/api/channels"];
100
- // src/gateway/server/plugins-http/path-context.ts
103
+ //#endregion
104
+ //#region src/gateway/server/plugins-http/path-context.ts
101
105
  function normalizeProtectedPrefix(prefix) {
102
106
  const collapsed = normalizeLowercaseStringOrEmpty$1(prefix).replace(/\/{2,}/g, "/");
103
107
  if (collapsed.length <= 1) return collapsed || "/";
@@ -123,7 +127,8 @@ function resolvePluginRoutePathContext(pathname) {
123
127
  rawNormalizedPath: canonical.rawNormalizedPath
124
128
  };
125
129
  }
126
- // \0openclaw:bundled-sdk:openclaw/plugin-sdk/gateway-config-runtime
130
+ //#endregion
131
+ //#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/gateway-config-runtime
127
132
  var gateway_config_runtime_exports = /* @__PURE__ */ __exportAll({
128
133
  classifyGatewayProbePath: () => classifyGatewayProbePath,
129
134
  isProtectedPluginRoutePathFromContext: () => isProtectedPluginRoutePathFromContext,
@@ -131,7 +136,8 @@ var gateway_config_runtime_exports = /* @__PURE__ */ __exportAll({
131
136
  });
132
137
  import * as import_openclaw_plugin_sdk_gateway_config_runtime from "openclaw/plugin-sdk/gateway-config-runtime";
133
138
  __reExport(gateway_config_runtime_exports, import_openclaw_plugin_sdk_gateway_config_runtime);
134
- // extensions/mattermost/src/mattermost/interactions.ts
139
+ //#endregion
140
+ //#region extensions/mattermost/src/mattermost/interactions.ts
135
141
  const INTERACTION_MAX_BODY_BYTES = 65536;
136
142
  const INTERACTION_BODY_TIMEOUT_MS = 1e4;
137
143
  const SIGNED_CHANNEL_ID_CONTEXT_KEY = "__openclaw_channel_id";
@@ -433,4 +439,5 @@ function createMattermostInteractionHandler(params) {
433
439
  }
434
440
  };
435
441
  }
442
+ //#endregion
436
443
  export { resolveInteractionCallbackPath as a, setInteractionSecret as c, createMattermostInteractionHandler as i, gateway_config_runtime_exports as l, buildButtonProps as n, resolveInteractionCallbackUrl as o, computeInteractionCallbackUrl as r, setInteractionCallbackUrl as s, buildButtonAttachments as t };
@@ -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-cgV9-piH.mjs";
2
- import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
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, s as fetchMattermostChannel, t as MattermostPostSchema, u as fetchMattermostMe, v as sendMattermostTyping, y as updateMattermostPost } from "./client-CVipK0N2.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-D7Fl9CyF.mjs";
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-CwLVacYg.mjs";
8
- import { t as sendMessageMattermost } from "./send-CoWXMKnY.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-D5hhyPam.mjs";
2
+ import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
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, s as fetchMattermostChannel, t as MattermostPostSchema, u as fetchMattermostMe, v as sendMattermostTyping, y as updateMattermostPost } from "./client-CR-hGmGr.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-BxpEUfvc.mjs";
5
+ import { n as normalizeMattermostAllowEntry } from "./ingress-identity-D6hxfxvo.mjs";
6
+ import { d as resolveMattermostAccount, f as resolveMattermostReplyToMode, o as createMattermostAccountClient, r as parseMattermostQuestionContext } from "./normalize-CNFRtT1O.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-DpZH2wr6.mjs";
8
+ import { t as sendMessageMattermost } from "./send-BSae9PKV.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";
@@ -41,7 +41,7 @@ import { truncateWithMarker } from "openclaw/plugin-sdk/string-normalization-run
41
41
  import { createPersistentDedupeCache } from "openclaw/plugin-sdk/dedupe-runtime";
42
42
  import { createPluginStateErrorReporter } from "openclaw/plugin-sdk/plugin-state-runtime";
43
43
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
44
- // extensions/mattermost/src/mattermost/monitor-helpers.ts
44
+ //#region extensions/mattermost/src/mattermost/monitor-helpers.ts
45
45
  function buildMattermostBotMentionPattern(username) {
46
46
  return `(?<![a-z0-9_])@${escapeRegExp(username)}(?![a-z0-9_]|[.:-]+[a-z0-9_])`;
47
47
  }
@@ -80,7 +80,8 @@ function shouldDropEmptyMattermostBody(params) {
80
80
  const bareMention = params.rawText.match(/^[ \t]*(@\S+)[ \t]*$/u)?.[1];
81
81
  return !botUsername || normalizeLowercaseStringOrEmpty(bareMention) !== `@${botUsername}`;
82
82
  }
83
- // extensions/mattermost/src/mattermost/monitor-websocket.ts
83
+ //#endregion
84
+ //#region extensions/mattermost/src/mattermost/monitor-websocket.ts
84
85
  const MATTERMOST_WEBSOCKET_MAX_PAYLOAD_BYTES = 16777216;
85
86
  const MATTERMOST_WEBSOCKET_HANDSHAKE_TIMEOUT_MS = 3e4;
86
87
  const MATTERMOST_WEBSOCKET_AUTH_TIMEOUT_MS = 3e4;
@@ -330,7 +331,8 @@ function createMattermostConnectOnce(opts) {
330
331
  }
331
332
  };
332
333
  }
333
- // extensions/mattermost/src/mattermost/monitor-ingress.ts
334
+ //#endregion
335
+ //#region extensions/mattermost/src/mattermost/monitor-ingress.ts
334
336
  const MATTERMOST_INGRESS_PAYLOAD_VERSION = 1;
335
337
  const MATTERMOST_INGRESS_POLL_INTERVAL_MS = 1e3;
336
338
  const MattermostIngressPermanentError = createChannelIngressError("MattermostIngressPermanentError", { withReason: true });
@@ -439,7 +441,8 @@ function createMattermostIngressMonitor(options) {
439
441
  waitForIdle: monitor.waitForIdle
440
442
  };
441
443
  }
442
- // extensions/mattermost/src/mattermost/monitor-event-plan.ts
444
+ //#endregion
445
+ //#region extensions/mattermost/src/mattermost/monitor-event-plan.ts
443
446
  async function buildMattermostEventPlan(monitor, params) {
444
447
  const channelInfo = params.channelInfo ?? await monitor.resources.resolveChannelInfo(params.channelId);
445
448
  const channelType = channelInfo?.type?.trim() || params.channelTypeFallback?.trim();
@@ -524,7 +527,8 @@ async function buildMattermostEventPlan(monitor, params) {
524
527
  })
525
528
  };
526
529
  }
527
- // extensions/mattermost/src/mattermost/monitor-interaction-dispatch.ts
530
+ //#endregion
531
+ //#region extensions/mattermost/src/mattermost/monitor-interaction-dispatch.ts
528
532
  async function dispatchMattermostInteractionReply(monitor, eventPlan, params) {
529
533
  const { account, cfg, core, runtime } = monitor;
530
534
  const { channelId, kind, route, thread, to } = eventPlan;
@@ -577,7 +581,8 @@ async function dispatchMattermostInteractionReply(monitor, eventPlan, params) {
577
581
  replyOptions
578
582
  });
579
583
  }
580
- // extensions/mattermost/src/mattermost/monitor-interactions.ts
584
+ //#endregion
585
+ //#region extensions/mattermost/src/mattermost/monitor-interactions.ts
581
586
  function registerMattermostInteractions(params) {
582
587
  const { monitor } = params;
583
588
  const { account, cfg, client, core, pairing, resources, runtime } = monitor;
@@ -721,7 +726,8 @@ function registerMattermostInteractions(params) {
721
726
  throwOnFailure: true
722
727
  });
723
728
  }
724
- // extensions/mattermost/src/mattermost/monitor-model-picker.ts
729
+ //#endregion
730
+ //#region extensions/mattermost/src/mattermost/monitor-model-picker.ts
725
731
  function createMattermostModelPickerInteractionHandler(monitor) {
726
732
  const { account, cfg, core, pairing, resources, runtime } = monitor;
727
733
  const { resolveChannelInfo, updateModelPickerPost } = resources;
@@ -881,7 +887,8 @@ function createMattermostModelPickerInteractionHandler(monitor) {
881
887
  return {};
882
888
  };
883
889
  }
884
- // src/channels/mention-gating.ts
890
+ //#endregion
891
+ //#region src/channels/mention-gating.ts
885
892
  function resolveBotThreadMentionPolicy(params) {
886
893
  if (!params.isBotOwnedThread || params.requireMentionInBotThreads === void 0) return {
887
894
  requireMention: params.requireMention,
@@ -892,7 +899,8 @@ function resolveBotThreadMentionPolicy(params) {
892
899
  implicitMentionKinds: params.requireMentionInBotThreads ? params.implicitMentionKinds?.filter((kind) => kind === "native") : params.implicitMentionKinds
893
900
  };
894
901
  }
895
- // extensions/mattermost/src/mattermost/monitor-onchar.ts
902
+ //#endregion
903
+ //#region extensions/mattermost/src/mattermost/monitor-onchar.ts
896
904
  const DEFAULT_ONCHAR_PREFIXES = [">", "!"];
897
905
  function resolveOncharPrefixes(prefixes) {
898
906
  const cleaned = prefixes ? normalizeStringEntries(prefixes) : DEFAULT_ONCHAR_PREFIXES;
@@ -912,7 +920,8 @@ function stripOncharPrefix(text, prefixes) {
912
920
  stripped: text
913
921
  };
914
922
  }
915
- // extensions/mattermost/src/mattermost/monitor-resources.ts
923
+ //#endregion
924
+ //#region extensions/mattermost/src/mattermost/monitor-resources.ts
916
925
  function formatMattermostPendingMediaText(params) {
917
926
  return [params.body, formatMediaPlaceholderText(params.media)].filter(Boolean).join("\n").trim();
918
927
  }
@@ -1046,7 +1055,8 @@ function createMattermostMonitorResources(params) {
1046
1055
  updateModelPickerPost
1047
1056
  };
1048
1057
  }
1049
- // extensions/mattermost/src/mattermost/monitor-thread-backfill.ts
1058
+ //#endregion
1059
+ //#region extensions/mattermost/src/mattermost/monitor-thread-backfill.ts
1050
1060
  const TIMEOUT_MS = 5e3;
1051
1061
  const COOLDOWN_MS = 6e4;
1052
1062
  const MAX_ATTEMPTS = 3;
@@ -1226,7 +1236,8 @@ function createMattermostThreadBackfill(params) {
1226
1236
  return { history: await owner.completion };
1227
1237
  };
1228
1238
  }
1229
- // extensions/mattermost/src/mattermost/draft-stream.ts
1239
+ //#endregion
1240
+ //#region extensions/mattermost/src/mattermost/draft-stream.ts
1230
1241
  const MATTERMOST_STREAM_MAX_CHARS = 4e3;
1231
1242
  const THROTTLE_MS = 1200;
1232
1243
  function createMattermostDraftStream(params) {
@@ -1492,7 +1503,8 @@ function createMattermostDraftStream(params) {
1492
1503
  findPostAfter
1493
1504
  };
1494
1505
  }
1495
- // extensions/mattermost/src/mattermost/monitor-draft-delivery.ts
1506
+ //#endregion
1507
+ //#region extensions/mattermost/src/mattermost/monitor-draft-delivery.ts
1496
1508
  async function deliverMattermostReplyWithDraftPreview(params) {
1497
1509
  if (isReasoningReplyPayload(params.payload)) return {
1498
1510
  outcome: "reasoning_skipped",
@@ -1601,7 +1613,8 @@ async function deliverMattermostReplyWithDraftPreview(params) {
1601
1613
  }));
1602
1614
  }
1603
1615
  }
1604
- // extensions/mattermost/src/mattermost/thread-participation.ts
1616
+ //#endregion
1617
+ //#region extensions/mattermost/src/mattermost/thread-participation.ts
1605
1618
  const threadParticipation = createPersistentDedupeCache({
1606
1619
  globalKey: Symbol.for("openclaw.mattermostThreadParticipation"),
1607
1620
  ttlMs: 6048e5,
@@ -1625,7 +1638,8 @@ async function hasMattermostThreadParticipationWithPersistence(params) {
1625
1638
  if (!params.accountId || !params.channelId || !params.threadRootId) return false;
1626
1639
  return await threadParticipation.lookup(makeKey(params.accountId, params.channelId, params.threadRootId));
1627
1640
  }
1628
- // extensions/mattermost/src/mattermost/monitor-turn.ts
1641
+ //#endregion
1642
+ //#region extensions/mattermost/src/mattermost/monitor-turn.ts
1629
1643
  async function dispatchMattermostInboundTurn(monitor, params) {
1630
1644
  const { account, cfg, client, core, runtime } = monitor;
1631
1645
  const { botLoopProtection, channelHistories, ctxPayload, eventPlan, historyKey, historyLimit, pinnedMainDmOwner, post, rawText, turnAdoptionLifecycle } = params;
@@ -1960,7 +1974,8 @@ async function dispatchMattermostInboundTurn(monitor, params) {
1960
1974
  }
1961
1975
  }
1962
1976
  }
1963
- // extensions/mattermost/src/mattermost/monitor-posts.ts
1977
+ //#endregion
1978
+ //#region extensions/mattermost/src/mattermost/monitor-posts.ts
1964
1979
  function createMattermostPostHandler(monitor) {
1965
1980
  const { account, botUserId, botUsername, cfg, core, groupPolicy, pairing, resources } = monitor;
1966
1981
  const groups = resolveChannelGroups(cfg, "mattermost", account.accountId);
@@ -2336,7 +2351,8 @@ function createMattermostPostHandler(monitor) {
2336
2351
  });
2337
2352
  };
2338
2353
  }
2339
- // extensions/mattermost/src/mattermost/monitor-reactions.ts
2354
+ //#endregion
2355
+ //#region extensions/mattermost/src/mattermost/monitor-reactions.ts
2340
2356
  function createMattermostReactionHandler(monitor) {
2341
2357
  const { account, botUserId, cfg, core, groupPolicy, pairing, resources } = monitor;
2342
2358
  const { resolveUserInfo } = resources;
@@ -2399,7 +2415,8 @@ function createMattermostReactionHandler(monitor) {
2399
2415
  monitor.logVerboseMessage(`mattermost reaction: ${action} :${emojiName}: by ${senderName} on ${postId}`);
2400
2416
  };
2401
2417
  }
2402
- // extensions/mattermost/src/mattermost/monitor-slash.ts
2418
+ //#endregion
2419
+ //#region extensions/mattermost/src/mattermost/monitor-slash.ts
2403
2420
  async function registerMattermostMonitorSlashCommands(params) {
2404
2421
  const commandsRaw = params.account.config.commands;
2405
2422
  const slashConfig = resolveSlashCommandConfig(commandsRaw);
@@ -2481,7 +2498,8 @@ async function registerMattermostMonitorSlashCommands(params) {
2481
2498
  params.runtime.error?.(`mattermost: failed to register slash commands: ${String(err)}`);
2482
2499
  }
2483
2500
  }
2484
- // extensions/mattermost/src/mattermost/reconnect.ts
2501
+ //#endregion
2502
+ //#region extensions/mattermost/src/mattermost/reconnect.ts
2485
2503
  async function runWithReconnect(connectFn, opts = {}) {
2486
2504
  let retryDelay = 2e3;
2487
2505
  while (!opts.abortSignal?.aborted) {
@@ -2507,7 +2525,8 @@ async function runWithReconnect(connectFn, opts = {}) {
2507
2525
  if (failed) retryDelay = Math.min(retryDelay * 2, 6e4);
2508
2526
  }
2509
2527
  }
2510
- // extensions/mattermost/src/mattermost/monitor.ts
2528
+ //#endregion
2529
+ //#region extensions/mattermost/src/mattermost/monitor.ts
2511
2530
  function publishMattermostRecoveringStatus(statusSink, error) {
2512
2531
  statusSink?.({
2513
2532
  lastError: String(error),
@@ -2780,4 +2799,5 @@ async function monitorMattermostProvider(opts = {}) {
2780
2799
  if (shutdownFailures.length > 0) throw new AggregateError(shutdownFailures, "Mattermost monitor shutdown failed.", { cause: connectionFailure?.error });
2781
2800
  if (connectionFailure) throw connectionFailure.error;
2782
2801
  }
2802
+ //#endregion
2783
2803
  export { monitorMattermostProvider };
@@ -1,5 +1,5 @@
1
- import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
2
- import { n as normalizeMattermostAllowEntry, t as mattermostIngressIdentity } from "./ingress-identity-CtHiOUDu.mjs";
1
+ import { t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
2
+ import { n as normalizeMattermostAllowEntry, t as mattermostIngressIdentity } from "./ingress-identity-D6hxfxvo.mjs";
3
3
  import { uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { createWebhookInFlightLimiter, readRequestBodyWithLimit, sendHttpRequestRejection } from "openclaw/plugin-sdk/webhook-request-guards";
5
5
  import { logInboundDrop } from "openclaw/plugin-sdk/channel-inbound";
@@ -18,7 +18,7 @@ import { registerPluginHttpRoute } from "openclaw/plugin-sdk/webhook-targets";
18
18
  import { isRequestBodyLimitError } from "openclaw/plugin-sdk/webhook-ingress";
19
19
  import { isTrustedProxyAddress, resolveClientIp } from "openclaw/plugin-sdk/core";
20
20
  import { resolveChannelContextVisibilityMode, shouldIncludeSupplementalContext } from "openclaw/plugin-sdk/context-visibility-runtime";
21
- // extensions/mattermost/src/mattermost/monitor-auth.ts
21
+ //#region extensions/mattermost/src/mattermost/monitor-auth.ts
22
22
  const MATTERMOST_PAIRING_QUEUE_FULL_TEXT = "DM pairing is full, so no pairing request was saved. Ask the bot owner to approve or dismiss pending requests in Settings → Channels → DM access requests, then try again.";
23
23
  function normalizeMattermostAllowList(entries) {
24
24
  const normalized = entries.map((entry) => normalizeMattermostAllowEntry(String(entry))).filter(Boolean);
@@ -166,4 +166,5 @@ async function authorizeMattermostCommandInvocation(params) {
166
166
  }
167
167
  };
168
168
  }
169
+ //#endregion
169
170
  export { registerPluginHttpRoute as C, resolveDefaultGroupPolicy as D, resolveClientIp as E, sendHttpRequestRejection as O, readRequestBodyWithLimit as S, resolveChannelMediaMaxBytes$1 as T, isTrustedProxyAddress as _, normalizeMattermostAllowList as a, logTypingFailure as b, shouldRetainMattermostSenderHistory as c, createChannelHistoryWindow as d, createChannelMessageReplyPipeline as f, isRequestBodyLimitError as g, isDangerousNameMatchingEnabled as h, isMattermostSenderAllowed as i, warnMissingProviderGroupPolicyFallbackOnce as k, DEFAULT_GROUP_HISTORY_LIMIT as l, createWebhookInFlightLimiter as m, authorizeMattermostCommandInvocation as n, resolveMattermostMonitorInboundAccess as o, createChannelPairingController as p, formatMattermostDirectMessageDropLog as r, resolveMattermostTrustedChatKind as s, MATTERMOST_PAIRING_QUEUE_FULL_TEXT as t, buildPreparedModelsProviderData as u, loadOutboundMediaFromUrl as v, resolveAllowlistProviderRuntimeGroupPolicy$1 as w, prepareSkillCommandsForAgents as x, logInboundDrop as y };
@@ -1,4 +1,4 @@
1
- import { h as normalizeMattermostBaseUrl, r as createMattermostClient } from "./client-CVipK0N2.mjs";
1
+ import { h as normalizeMattermostBaseUrl, r as createMattermostClient } from "./client-CR-hGmGr.mjs";
2
2
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { resolveChannelPreviewStreamMode, resolveChannelStreamingBlockEnabled } from "openclaw/plugin-sdk/channel-outbound";
4
4
  import { createAccountListHelpers, hasConfiguredAccountValue } from "openclaw/plugin-sdk/account-helpers";
@@ -6,7 +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
- // extensions/mattermost/src/mattermost/accounts.ts
9
+ //#region extensions/mattermost/src/mattermost/accounts.ts
10
10
  const { listAccountIds: listMattermostAccountIds, resolveDefaultAccountId: resolveDefaultMattermostAccountId, resolveAccountConfig: mergeMattermostAccountConfig } = createAccountListHelpers("mattermost", {
11
11
  omitKeys: ["defaultAccount"],
12
12
  nestedObjectKeys: ["commands", "botLoopProtection"],
@@ -105,7 +105,8 @@ function resolveMattermostReplyToMode(account, kind) {
105
105
  if (kind === "direct") return "off";
106
106
  return account.config.replyToMode ?? "off";
107
107
  }
108
- // extensions/mattermost/src/normalize.ts
108
+ //#endregion
109
+ //#region extensions/mattermost/src/normalize.ts
109
110
  /** Marks a button context as one this plugin answers through the question Gateway. */
110
111
  const MATTERMOST_QUESTION_CONTEXT_KEY = "oc_question";
111
112
  /**
@@ -198,4 +199,5 @@ function looksLikeMattermostTargetId(raw, _normalized) {
198
199
  if (trimmed.startsWith("@")) return true;
199
200
  return /^[a-z0-9]{26}$/i.test(trimmed) || /^[a-z0-9]{26}__[a-z0-9]{26}$/i.test(trimmed);
200
201
  }
202
+ //#endregion
201
203
  export { resolveMattermostPresentation as a, isMattermostConfigured as c, resolveMattermostAccount as d, resolveMattermostReplyToMode as f, requiresMattermostMediaUpload as i, listMattermostAccountIds as l, normalizeMattermostMessagingTarget as n, createMattermostAccountClient as o, parseMattermostQuestionContext as r, inspectMattermostAccount as s, looksLikeMattermostTargetId as t, resolveDefaultMattermostAccountId as u };
@@ -1,4 +1,4 @@
1
- // \0rolldown/runtime.js
1
+ //#region \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -23,4 +23,5 @@ var __copyProps = (to, from, except, desc) => {
23
23
  return to;
24
24
  };
25
25
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
26
+ //#endregion
26
27
  export { __reExport as n, __exportAll as t };
@@ -1,7 +1,8 @@
1
1
  import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
2
- // extensions/mattermost/src/runtime.ts
2
+ //#region extensions/mattermost/src/runtime.ts
3
3
  const { setRuntime: setMattermostRuntime, getRuntime: getMattermostRuntime, tryGetRuntime: getOptionalMattermostRuntime } = createPluginRuntimeStore({
4
4
  pluginId: "mattermost",
5
5
  errorMessage: "Mattermost runtime not initialized"
6
6
  });
7
+ //#endregion
7
8
  export { getOptionalMattermostRuntime as n, setMattermostRuntime as r, getMattermostRuntime as t };
@@ -1,2 +1,2 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-BkDCURCE.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-fjlTFCmD.mjs";
2
2
  import "../secret-contract-api.js";
@@ -1,6 +1,6 @@
1
1
  import { hasConfiguredAccountValue } from "openclaw/plugin-sdk/account-helpers";
2
2
  import { collectSimpleChannelFieldAssignments, createChannelSecretContract } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
3
- // extensions/mattermost/src/secret-contract.ts
3
+ //#region extensions/mattermost/src/secret-contract.ts
4
4
  const channelSecrets = createChannelSecretContract({
5
5
  channelKey: "mattermost",
6
6
  account: ["botToken"],
@@ -16,4 +16,5 @@ const channelSecrets = createChannelSecretContract({
16
16
  }
17
17
  });
18
18
  const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
19
+ //#endregion
19
20
  export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
@@ -1,8 +1,8 @@
1
- import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-cgV9-piH.mjs";
2
- import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
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-CVipK0N2.mjs";
4
- import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-D7Fl9CyF.mjs";
5
- import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-DuLSV4tT.mjs";
1
+ import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-D5hhyPam.mjs";
2
+ import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
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-CR-hGmGr.mjs";
4
+ import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-BxpEUfvc.mjs";
5
+ import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-CNFRtT1O.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";
@@ -12,7 +12,7 @@ import { createStaleWhileRevalidateCache, pruneMapToMaxSize } from "openclaw/plu
12
12
  import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
13
13
  import { extensionForMime } from "openclaw/plugin-sdk/media-mime";
14
14
  import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
15
- // extensions/mattermost/src/mattermost/target-resolution.ts
15
+ //#region extensions/mattermost/src/mattermost/target-resolution.ts
16
16
  const mattermostOpaqueTargetCache = createStaleWhileRevalidateCache({
17
17
  maxEntries: 1024,
18
18
  maxPending: Number.POSITIVE_INFINITY,
@@ -106,7 +106,8 @@ async function resolveMattermostOpaqueTarget(params) {
106
106
  to: `${kind === "user" ? "user" : "channel"}:${input}`
107
107
  };
108
108
  }
109
- // extensions/mattermost/src/mattermost/send.ts
109
+ //#endregion
110
+ //#region extensions/mattermost/src/mattermost/send.ts
110
111
  const MATTERMOST_BOT_USER_CACHE_MAX_ENTRIES = 64;
111
112
  const MATTERMOST_TARGET_CACHE_MAX_ENTRIES = 1024;
112
113
  const botUserCache = /* @__PURE__ */ new Map();
@@ -297,4 +298,5 @@ async function sendMessageMattermost(to, text, opts) {
297
298
  }
298
299
  return result;
299
300
  }
301
+ //#endregion
300
302
  export { resolveMattermostOpaqueTarget as n, sendMessageMattermost as t };
@@ -1,9 +1,9 @@
1
- import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
2
- import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-CRQTeNn9.mjs";
3
- import { g as parseMattermostApiStatus, r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-CVipK0N2.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-D7Fl9CyF.mjs";
5
- import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-DuLSV4tT.mjs";
6
- import { t as sendMessageMattermost } from "./send-CoWXMKnY.mjs";
1
+ import { t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
2
+ import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-Bu2cmtfI.mjs";
3
+ import { g as parseMattermostApiStatus, r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-CR-hGmGr.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-BxpEUfvc.mjs";
5
+ import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-CNFRtT1O.mjs";
6
+ import { t as sendMessageMattermost } from "./send-BSae9PKV.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";
@@ -250,7 +250,8 @@ function resolveCallbackUrl(params) {
250
250
  const path = normalizeCallbackPath(params.config.callbackPath);
251
251
  return `http://${host}:${params.gatewayPort}${path}`;
252
252
  }
253
- // extensions/mattermost/src/mattermost/model-picker.ts
253
+ //#endregion
254
+ //#region extensions/mattermost/src/mattermost/model-picker.ts
254
255
  const MATTERMOST_MODEL_PICKER_CONTEXT_KEY = "oc_model_picker";
255
256
  const MODELS_PAGE_SIZE = 8;
256
257
  const ACTION_IDS = {
@@ -466,7 +467,8 @@ function renderMattermostModelsPickerView(params) {
466
467
  buttons: rows
467
468
  };
468
469
  }
469
- // extensions/mattermost/src/mattermost/monitor-context.ts
470
+ //#endregion
471
+ //#region extensions/mattermost/src/mattermost/monitor-context.ts
470
472
  function shouldUpdateMattermostDraftToolProgress(account) {
471
473
  return account.streamingMode !== "off" && resolveChannelStreamingPreviewToolProgress(account.config, account.streamingMode !== "progress", account.streamingMode);
472
474
  }
@@ -518,7 +520,8 @@ function resolveMattermostThreadSessionContext(params) {
518
520
  parentSessionKey: threadKeys.parentSessionKey
519
521
  };
520
522
  }
521
- // extensions/mattermost/src/mattermost/reply-delivery.ts
523
+ //#endregion
524
+ //#region extensions/mattermost/src/mattermost/reply-delivery.ts
522
525
  /** Represents distinct provider posts without collapsing their visible boundary. */
523
526
  function joinMattermostVisibleContent(contents) {
524
527
  return contents.filter((content) => Boolean(content)).join("\n");
@@ -568,7 +571,8 @@ async function deliverMattermostReplyPayload(params) {
568
571
  ...accepted.result()
569
572
  };
570
573
  }
571
- // extensions/mattermost/src/mattermost/slash-http.ts
574
+ //#endregion
575
+ //#region extensions/mattermost/src/mattermost/slash-http.ts
572
576
  const MAX_BODY_BYTES = 65536;
573
577
  const BODY_READ_TIMEOUT_MS = 5e3;
574
578
  const COMMAND_LOOKUP_TIMEOUT_MS = 1e3;
@@ -1027,7 +1031,8 @@ function createSlashCommandHttpHandler(params) {
1027
1031
  }
1028
1032
  };
1029
1033
  }
1030
- // extensions/mattermost/src/mattermost/slash-state.ts
1034
+ //#endregion
1035
+ //#region extensions/mattermost/src/mattermost/slash-state.ts
1031
1036
  const slashRouteInFlightLimiter = createWebhookInFlightLimiter();
1032
1037
  const SLASH_ROUTE_IN_FLIGHT_KEY = "mattermost:slash";
1033
1038
  const SLASH_AUTHENTICATED_IN_FLIGHT_KEY = `${SLASH_ROUTE_IN_FLIGHT_KEY}:authenticated`;
@@ -1172,4 +1177,5 @@ function registerSlashCommandRoute(api) {
1172
1177
  handler: routeHandler
1173
1178
  });
1174
1179
  }
1180
+ //#endregion
1175
1181
  export { resolveSlashCommandConfig as C, resolveCallbackUrl as S, resolveMattermostModelPickerCurrentModel as _, deliverMattermostReplyPayload as a, isSlashCommandsEnabled as b, canFinalizeMattermostPreviewInPlace as c, resolveMattermostReplyRootId as d, resolveMattermostThreadSessionContext as f, renderMattermostProviderPickerView as g, renderMattermostModelsPickerView as h, registerSlashCommandRoute as i, formatMattermostFinalDeliveryOutcomeLog as l, parseMattermostModelPickerContext as m, deactivateSlashCommands as n, joinMattermostVisibleContent as o, shouldUpdateMattermostDraftToolProgress as p, getSlashCommandState as r, buildMattermostButtonInteractionMessageSid as s, activateSlashCommands as t, resolveMattermostInteractionReplyRootId as u, DEFAULT_COMMAND_SPECS as v, registerSlashCommands as x, cleanupSlashCommands as y };
@@ -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-C5kL5jd0.mjs","sha256":"e9c6619e52f7c5d6d71eb768e04add2a9505334ea742c43d3fa18e347887819a","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel-plugin-api-CC8EU4bs.mjs","sha256":"fbb77f0ce2c1af2798e8e1cc2ce2e41eb445559c48c330b7e5c28c3889a21698","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.runtime-ukouI9k4.mjs","sha256":"638454c6d4ebbc66a61f252a1c07cff52d10e023d0034f2d9919202e1ee720ec","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-cgV9-piH.mjs","sha256":"2d21ab4b3c74e3ffe1f133b2269fd636683af4590fb6da4337a0f33ae59146d3","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-D7Fl9CyF.mjs","sha256":"86459a4928080f78119e7277db6e23c8c555448f9c187dcff28b30081c17a4ab","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/monitor-auth.ts"]},{"output":".setup/monitor-Bn-I4iu7.mjs","sha256":"cb84f1f5e1ed8f395fdd8e7b773cb4138c84a3fbeef0694d0bad59cab9eef889","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-CoWXMKnY.mjs","sha256":"4d41a1a1ebd240c703a190d9f4ab8d53816f176df45a989e157456be30a87f61","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-CwLVacYg.mjs","sha256":"d790e97d7968e5b62b176fdb75ae634239597c25c44da8381a0cdcd585bfab5d","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":"2594631c1b943b131d2ddf852f3e89e8babf3c02e3fb66e25394902354ce4e2e","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"cd2f8b5c67e5c6f89d73fc134d4f8d194e0880b9bb427c79175426b5e4e24fe1","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":"998f3cf4ec631569fad52f602aa322c73e1ba711141fdef37b88891c765c6cc1","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":"8e6aaaed9b2e9f3ae8475401addb173a3011f55030d70933219b118b19387c30","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"7230204f64f2d7df49d22d3e95a65c627cc6d625ba0af383d7f6764b54c563f5","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-Bu2cmtfI.mjs","sha256":"480b3975b9d118aaf901a603634cc4ea15c7942fbc74d3ba4da538651b590da8","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/callback-host.ts"]},{"output":".setup/channel-plugin-api-ClU67Wyc.mjs","sha256":"f18b84ab612020de4f13085cdcdb17af00a79f189f39c34de8bc9c5f5f892d17","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel-plugin-api-CuxSSPV8.mjs","sha256":"29f4580d6c4c7446746041ac4e5ad0c428fdb027d6ddae7270929dc0e9c94cdc","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.runtime-B3RvYLQi.mjs","sha256":"5b8b2750fea4176f0ef57ad5b3f6aa96727c3c8fe3dea437f8aeab7ae521b9b2","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-CR-hGmGr.mjs","sha256":"1233adda881b5ec3992906d26af3445ddc7b003e4f4c89022b0f724b36998de2","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-D5hhyPam.mjs","sha256":"212cfc0ec754826d1a62c328ae33d29e26086e1f5eb5e195b48e76fb9a113fb2","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-BxpEUfvc.mjs","sha256":"1be514e91fd5b1e844ea12d01965eb80f38abb0a2f743d2210ddcc0ddda2dfa5","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/monitor-auth.ts"]},{"output":".setup/monitor-Bw_pTSF8.mjs","sha256":"3a372c2fa4b0a2cbdee99b3e138f1885ccb62ec8deb2dd6f30a301a84f3c61bc","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-CNFRtT1O.mjs","sha256":"b2d70e46b617d86a9e17f42cbe3b6b8db78ab97a0c9606e9af3a6bf522df12fd","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-Drz4m5pq.mjs","sha256":"6752708a63559db6580ed55ae8631b6ed34c70f32b1532dc296b5dda0d63b624","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":".setup/secret-contract-fjlTFCmD.mjs","sha256":"fb13d49ac89c2674bc6bbc2c6311f19454428137ca558b1e94a951084bba5131","facadeSource":null,"sources":["extensions/mattermost/src/secret-contract.ts"]},{"output":".setup/send-BSae9PKV.mjs","sha256":"c9120a97629d97cb0b0e9bf475bcd9486032df85bbfee41d23810457f6357cf4","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-DpZH2wr6.mjs","sha256":"3b09fce82f84dce928c46e7aa6c0f3cd31599ce345f15944fff4eeaa74b999a1","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":"fdb407bc8b10c59aeaec43960ca48cc541059cc335463ddde61f601d889b055a","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"231f57c4ef85a351c9498216b0facc549a28ba13b52fa7962efd285e1016f68c","facadeSource":"extensions/mattermost/channel-plugin-api.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":"fcb12a6c5f6b828acb9bb5ca7b8b5be0e96fa9c9ce0e9b78b8505f95b0f7962c","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":"bb19f43584c546e2680df992312e0cbab1bf6e9c72a15bdbb53349719bde1fea","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"171486be719842a42617a88c55e275dd4878c24af41efc241f2058285741f36a","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"2a0ca666270fbcd5b2e9fce86aca13d375e4d3146c008ccc6cb449c76424f615","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-cgV9-piH.mjs";
2
- import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-D7Fl9CyF.mjs";
1
+ import { t as buildButtonAttachments } from "./.setup/interactions-D5hhyPam.mjs";
2
+ import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-BxpEUfvc.mjs";
3
3
  export { buildButtonAttachments, isMattermostSenderAllowed };
@@ -1 +1 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-CC8EU4bs.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-CuxSSPV8.mjs";
@@ -1 +1 @@
1
- export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-i788N90j.mjs";
1
+ export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-CjgZkyPm.mjs";
@@ -1 +1 @@
1
- export { t as resolveGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-DhWaV22L.mjs";
1
+ export { t as resolveGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-Lf99Gilr.mjs";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineBundledChannelEntry, loadBundledEntryExportSync } from "openclaw/plugin-sdk/channel-entry-contract";
2
- // extensions/mattermost/index.ts
2
+ //#region extensions/mattermost/index.ts
3
3
  function registerSlashCommandRoute(api) {
4
4
  loadBundledEntryExportSync(import.meta.url, {
5
5
  specifier: "./slash-route-api.js",
@@ -27,4 +27,5 @@ var mattermost_default = defineBundledChannelEntry({
27
27
  registerSlashCommandRoute(api);
28
28
  }
29
29
  });
30
+ //#endregion
30
31
  export { mattermost_default as default };
@@ -1 +1 @@
1
- export { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-D7Fl9CyF.mjs";
1
+ export { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-BxpEUfvc.mjs";
@@ -1 +1 @@
1
- export { r as setMattermostRuntime } from "./.setup/runtime-y_L8jPMH.mjs";
1
+ export { r as setMattermostRuntime } from "./.setup/runtime-CNB4YGqJ.mjs";
@@ -1 +1 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-BkDCURCE.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-fjlTFCmD.mjs";
@@ -1,15 +1,16 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
2
  import { fileURLToPath } from "node:url";
3
- // extensions/mattermost/setup-entry.ts
3
+ //#region extensions/mattermost/setup-entry.ts
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-C5kL5jd0.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/channel-plugin-api-ClU67Wyc.mjs", import.meta.url).href),
8
8
  exportName: "mattermostSetupPlugin"
9
9
  },
10
10
  secrets: {
11
- specifier: fileURLToPath(new URL(".setup/secret-contract-api-DydsmAPQ.mjs", import.meta.url).href),
11
+ specifier: fileURLToPath(new URL(".setup/secret-contract-api-Drz4m5pq.mjs", import.meta.url).href),
12
12
  exportName: "channelSecrets"
13
13
  }
14
14
  });
15
+ //#endregion
15
16
  export { setup_entry_default as default };
@@ -1 +1 @@
1
- export { i as registerSlashCommandRoute } from "./.setup/slash-state-CwLVacYg.mjs";
1
+ export { i as registerSlashCommandRoute } from "./.setup/slash-state-DpZH2wr6.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.11.5-beta.1",
3
+ "version": "2026.11.5-beta.2",
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.5-beta.1"
14
+ "openclaw": ">=2026.11.5-beta.2"
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.5-beta.1"
96
+ "pluginApi": ">=2026.11.5-beta.2"
97
97
  },
98
98
  "build": {
99
- "openclawVersion": "2026.11.5-beta.1",
99
+ "openclawVersion": "2026.11.5-beta.2",
100
100
  "bundledDist": false
101
101
  },
102
102
  "release": {