@openclaw/mattermost 2026.11.8 → 2026.11.9

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-Bu2cmtfI.mjs → callback-host-CRQTeNn9.mjs} +1 -2
  2. package/dist/.setup/{channel-plugin-api-BHiKX1d7.mjs → channel-plugin-api-CZPznhty.mjs} +1 -1
  3. package/dist/.setup/{channel-plugin-api-uckOtLlw.mjs → channel-plugin-api-Cvwd7dVV.mjs} +21 -34
  4. package/dist/.setup/{channel.runtime-Cu8HlqPq.mjs → channel.runtime-DPqUAdOu.mjs} +8 -12
  5. package/dist/.setup/{client-CR-hGmGr.mjs → client-CVipK0N2.mjs} +1 -2
  6. package/dist/.setup/{doctor-contract-CjgZkyPm.mjs → doctor-contract-i788N90j.mjs} +6 -11
  7. package/dist/.setup/{gateway-auth-bypass-Lf99Gilr.mjs → gateway-auth-bypass-DhWaV22L.mjs} +2 -3
  8. package/dist/.setup/{ingress-identity-D6hxfxvo.mjs → ingress-identity-CtHiOUDu.mjs} +0 -1
  9. package/dist/.setup/{interactions-CmHBcQXE.mjs → interactions-CVd5Ry3r.mjs} +11 -18
  10. package/dist/.setup/{monitor-DChIvHIc.mjs → monitor-Bkun8QVF.mjs} +28 -48
  11. package/dist/.setup/{monitor-auth-BxpEUfvc.mjs → monitor-auth-D7Fl9CyF.mjs} +3 -4
  12. package/dist/.setup/{normalize-CNFRtT1O.mjs → normalize-DuLSV4tT.mjs} +3 -5
  13. package/dist/.setup/{rolldown-runtime-BBjsoOtd.mjs → rolldown-runtime-782esTHO.mjs} +1 -2
  14. package/dist/.setup/{runtime-CNB4YGqJ.mjs → runtime-y_L8jPMH.mjs} +1 -2
  15. package/dist/.setup/{secret-contract-fjlTFCmD.mjs → secret-contract-BkDCURCE.mjs} +1 -2
  16. package/dist/.setup/{secret-contract-api-Drz4m5pq.mjs → secret-contract-api-DydsmAPQ.mjs} +1 -1
  17. package/dist/.setup/{send-vvtYZYAT.mjs → send-aYKfDcPD.mjs} +7 -9
  18. package/dist/.setup/{slash-state-CM7ketZt.mjs → slash-state-DPJEjYB2.mjs} +11 -17
  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 +1 -2
  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 +3 -4
  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
- //#region extensions/mattermost/src/mattermost/callback-host.ts
2
+ // 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,5 +30,4 @@ 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
34
33
  export { normalizeCallbackPath as n, resolveCallbackHost as r, collectMattermostCallbackPaths as t };
@@ -1 +1 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-api-uckOtLlw.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-api-Cvwd7dVV.mjs";
@@ -1,9 +1,9 @@
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";
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";
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
- //#region extensions/mattermost/src/approval-auth.ts
35
+ // 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,8 +49,7 @@ const mattermostApprovalAuth = createChannelApprovalAuth({
49
49
  },
50
50
  normalizeApprover: normalizeMattermostApproverId
51
51
  }).approvalAuth;
52
- //#endregion
53
- //#region extensions/mattermost/src/channel-config-shared.ts
52
+ // extensions/mattermost/src/channel-config-shared.ts
54
53
  const mattermostMeta = {
55
54
  id: "mattermost",
56
55
  label: "Mattermost",
@@ -103,8 +102,7 @@ function describeMattermostAccount(account) {
103
102
  }
104
103
  });
105
104
  }
106
- //#endregion
107
- //#region extensions/mattermost/src/channel-send-result.ts
105
+ // extensions/mattermost/src/channel-send-result.ts
108
106
  function toMattermostOutboundResult(result) {
109
107
  const { channelId, ...delivery } = result;
110
108
  return {
@@ -120,8 +118,7 @@ function createMattermostDeliveryProgressReporter(onDeliveryResult) {
120
118
  await onDeliveryResult(attachChannelToResult("mattermost", toMattermostOutboundResult(result)));
121
119
  } : void 0;
122
120
  }
123
- //#endregion
124
- //#region extensions/mattermost/src/config-schema-core.ts
121
+ // extensions/mattermost/src/config-schema-core.ts
125
122
  const MattermostGroupSchema = buildGroupEntrySchema({
126
123
  requireMentionInBotThreads: z.boolean().optional(),
127
124
  allowBots: buildChannelAllowBotsSchema({ allowMentions: true }),
@@ -240,8 +237,7 @@ const MattermostConfigSchema = buildMultiAccountChannelSchema(MattermostAccountS
240
237
  });
241
238
  }
242
239
  });
243
- //#endregion
244
- //#region extensions/mattermost/src/config-surface.ts
240
+ // extensions/mattermost/src/config-surface.ts
245
241
  const mattermostChannelConfigUiHints = {
246
242
  "": {
247
243
  label: "Mattermost",
@@ -303,8 +299,7 @@ const mattermostChannelConfigUiHints = {
303
299
  })
304
300
  };
305
301
  const MattermostChannelConfigSchema = buildChannelConfigSchema(MattermostConfigSchema, { uiHints: mattermostChannelConfigUiHints });
306
- //#endregion
307
- //#region extensions/mattermost/src/setup-core.ts
302
+ // extensions/mattermost/src/setup-core.ts
308
303
  const channel$1 = "mattermost";
309
304
  function applyMattermostSetupConfigPatch(params) {
310
305
  return applySetupAccountConfigPatch({
@@ -400,8 +395,7 @@ const mattermostSetupContract = defineChannelSetupContract({
400
395
  },
401
396
  legacyAdapter: mattermostSetupAdapter
402
397
  });
403
- //#endregion
404
- //#region extensions/mattermost/src/setup-surface.ts
398
+ // extensions/mattermost/src/setup-surface.ts
405
399
  const t = createSetupTranslator();
406
400
  const channel = "mattermost";
407
401
  const mattermostSetupWizard = {
@@ -488,8 +482,7 @@ const mattermostSetupWizard = {
488
482
  })],
489
483
  disable: (cfg) => setSetupChannelEnabled(cfg, channel, false)
490
484
  };
491
- //#endregion
492
- //#region extensions/mattermost/src/channel.setup.ts
485
+ // extensions/mattermost/src/channel.setup.ts
493
486
  const mattermostSetupPlugin = {
494
487
  id: "mattermost",
495
488
  meta: mattermostMeta,
@@ -524,8 +517,7 @@ const mattermostSetupPlugin = {
524
517
  setupContract: mattermostSetupContract,
525
518
  setupWizard: mattermostSetupWizard
526
519
  };
527
- //#endregion
528
- //#region extensions/mattermost/src/doctor.ts
520
+ // extensions/mattermost/src/doctor.ts
529
521
  const isMattermostMutableAllowEntry = buildMutableAllowEntryDetector({ stableIdPattern: /^(?:(?:mattermost|user):)?@?[a-z0-9]{26}$/i });
530
522
  const collectMattermostMutableAllowlistWarnings = createDangerousNameMatchingMutableAllowlistWarningCollector({
531
523
  channel: "mattermost",
@@ -537,8 +529,7 @@ const mattermostDoctor = {
537
529
  normalizeCompatibilityConfig,
538
530
  collectMutableAllowlistWarnings: collectMattermostMutableAllowlistWarnings
539
531
  };
540
- //#endregion
541
- //#region extensions/mattermost/src/group-mentions.ts
532
+ // extensions/mattermost/src/group-mentions.ts
542
533
  function resolveMattermostGroupRequireMention(params) {
543
534
  const account = resolveMattermostAccount({
544
535
  cfg: params.cfg,
@@ -551,8 +542,7 @@ function resolveMattermostGroupRequireMention(params) {
551
542
  overrideOrder: "after-config"
552
543
  });
553
544
  }
554
- //#endregion
555
- //#region extensions/mattermost/src/mattermost/emoji.ts
545
+ // extensions/mattermost/src/mattermost/emoji.ts
556
546
  const MATTERMOST_EMOJI_SHORTNAME_BY_GLYPH = {
557
547
  "✅": "white_check_mark",
558
548
  "❌": "x",
@@ -606,8 +596,7 @@ function normalizeMattermostEmojiName(raw) {
606
596
  if (!toneSuffix || !MATTERMOST_EMOJI_TONE_CAPABLE_NAMES.has(shortname)) return shortname;
607
597
  return `${shortname}_${toneSuffix}`;
608
598
  }
609
- //#endregion
610
- //#region extensions/mattermost/src/session-route.ts
599
+ // extensions/mattermost/src/session-route.ts
611
600
  /**
612
601
  * Reads the peer chat-kind already recorded for `peerId` in an agent session
613
602
  * key. Agent session keys are
@@ -656,9 +645,8 @@ function resolveMattermostOutboundSessionRoute(params) {
656
645
  canRecoverCurrentThread: ({ route }) => route.chatType !== "direct" || (params.cfg.session?.dmScope ?? "main") !== "main"
657
646
  });
658
647
  }
659
- //#endregion
660
- //#region extensions/mattermost/src/channel.ts
661
- const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-Cu8HlqPq.mjs"));
648
+ // extensions/mattermost/src/channel.ts
649
+ const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-DPqUAdOu.mjs"));
662
650
  const MATTERMOST_PRESENTATION_CAPABILITIES = {
663
651
  supported: true,
664
652
  buttons: true,
@@ -1083,7 +1071,7 @@ const mattermostPlugin = createChatChannelPlugin({
1083
1071
  botTokenSource: account.botTokenSource
1084
1072
  });
1085
1073
  ctx.log?.info(`[${account.accountId}] starting channel`);
1086
- return (await import("./monitor-DChIvHIc.mjs")).monitorMattermostProvider({
1074
+ return (await import("./monitor-Bkun8QVF.mjs")).monitorMattermostProvider({
1087
1075
  botToken: account.botToken,
1088
1076
  baseUrl: account.baseUrl,
1089
1077
  accountId: account.accountId,
@@ -1161,5 +1149,4 @@ const mattermostPlugin = createChatChannelPlugin({
1161
1149
  security: mattermostSecurityAdapter,
1162
1150
  outbound: mattermostOutbound
1163
1151
  });
1164
- //#endregion
1165
1152
  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-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-vvtYZYAT.mjs";
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-aYKfDcPD.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
- //#region extensions/mattermost/src/mattermost/directory.ts
13
+ // 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,8 +135,7 @@ async function listMattermostDirectoryPeers(params) {
135
135
  return [];
136
136
  }
137
137
  }
138
- //#endregion
139
- //#region extensions/mattermost/src/mattermost/probe.ts
138
+ // extensions/mattermost/src/mattermost/probe.ts
140
139
  async function probeMattermost(baseUrl, botToken, timeoutMs = 2500, allowPrivateNetwork = false) {
141
140
  const normalized = normalizeMattermostBaseUrl(baseUrl);
142
141
  if (!normalized) return {
@@ -181,8 +180,7 @@ async function probeMattermost(baseUrl, botToken, timeoutMs = 2500, allowPrivate
181
180
  error: formatErrorMessage(error)
182
181
  }));
183
182
  }
184
- //#endregion
185
- //#region extensions/mattermost/src/mattermost/reactions.ts
183
+ // extensions/mattermost/src/mattermost/reactions.ts
186
184
  const BOT_USER_CACHE_TTL_MS = 6e5;
187
185
  const botUserIdCache = /* @__PURE__ */ new Map();
188
186
  async function resolveBotUserId(client, cacheKey) {
@@ -290,8 +288,7 @@ async function runMattermostReaction(params, action) {
290
288
  }
291
289
  return { ok: true };
292
290
  }
293
- //#endregion
294
- //#region extensions/mattermost/src/mattermost/read.ts
291
+ // extensions/mattermost/src/mattermost/read.ts
295
292
  function parseMattermostChannelTarget(rawTarget) {
296
293
  const normalized = normalizeMattermostMessagingTarget(rawTarget);
297
294
  if (normalized?.startsWith("channel:")) return normalized.slice(8).trim() || void 0;
@@ -350,5 +347,4 @@ async function readMattermostMessages(params) {
350
347
  after: params.after
351
348
  });
352
349
  }
353
- //#endregion
354
350
  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
- //#region extensions/mattermost/src/mattermost/client.ts
12
+ // 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,5 +320,4 @@ 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
324
323
  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-BBjsoOtd.mjs";
2
- //#region packages/normalization-core/src/record-coerce.ts
1
+ import { n as __reExport, t as __exportAll } from "./rolldown-runtime-782esTHO.mjs";
2
+ // 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,8 +8,7 @@ function isRecord(value) {
8
8
  function asNullableRecord(value) {
9
9
  return isRecord(value) ? value : null;
10
10
  }
11
- //#endregion
12
- //#region src/config/channel-config-normalization.ts
11
+ // src/config/channel-config-normalization.ts
13
12
  /** Applies one channel-specific doctor migration to every object-shaped account. */
14
13
  function normalizeChannelAccounts(params) {
15
14
  const rawAccounts = asNullableRecord(params.entry.accounts);
@@ -85,8 +84,7 @@ function normalizeChannelConfigEntries(params) {
85
84
  changes
86
85
  };
87
86
  }
88
- //#endregion
89
- //#region src/plugin-sdk/legacy-webhook-listener-migration.ts
87
+ // src/plugin-sdk/legacy-webhook-listener-migration.ts
90
88
  /** Preserve explicitly configured webhook listeners while moving ingress onto Gateway routes. */
91
89
  function createLegacyWebhookListenerDoctorContract(params) {
92
90
  const portKey = params.portKey ?? "webhookPort";
@@ -156,17 +154,14 @@ function createLegacyWebhookListenerDoctorContract(params) {
156
154
  }
157
155
  };
158
156
  }
159
- //#endregion
160
- //#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
157
+ // \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
161
158
  var runtime_doctor_migrations_exports = /* @__PURE__ */ __exportAll({ createLegacyWebhookListenerDoctorContract: () => createLegacyWebhookListenerDoctorContract });
162
159
  import * as import_openclaw_plugin_sdk_runtime_doctor_migrations from "openclaw/plugin-sdk/runtime-doctor-migrations";
163
160
  __reExport(runtime_doctor_migrations_exports, import_openclaw_plugin_sdk_runtime_doctor_migrations);
164
- //#endregion
165
- //#region extensions/mattermost/src/doctor-contract.ts
161
+ // extensions/mattermost/src/doctor-contract.ts
166
162
  const { legacyConfigRules, normalizeChannelConfig: normalizeCompatibilityConfig } = (0, runtime_doctor_migrations_exports.defineChannelAliasMigration)({
167
163
  channelId: "mattermost",
168
164
  streaming: { defaultMode: "partial" },
169
165
  accountStreamingReplacesRoot: true
170
166
  });
171
- //#endregion
172
167
  export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
@@ -1,7 +1,6 @@
1
- import { t as collectMattermostCallbackPaths } from "./callback-host-Bu2cmtfI.mjs";
2
- //#region extensions/mattermost/src/gateway-auth-bypass.ts
1
+ import { t as collectMattermostCallbackPaths } from "./callback-host-CRQTeNn9.mjs";
2
+ // 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
7
6
  export { resolveMattermostGatewayAuthBypassPaths as t };
@@ -22,5 +22,4 @@ function normalizeMattermostAllowEntry(entry) {
22
22
  if (accessGroupName) return `accessGroup:${accessGroupName}`;
23
23
  return normalizeLowercaseStringOrEmpty(trimmed.replace(/^(mattermost|user):/i, "").replace(/^@/, ""));
24
24
  }
25
- //#endregion
26
25
  export { normalizeMattermostAllowEntry as n, mattermostIngressIdentity as t };
@@ -1,14 +1,14 @@
1
- import { n as __reExport, t as __exportAll } from "./rolldown-runtime-BBjsoOtd.mjs";
2
- import { r as resolveCallbackHost } from "./callback-host-Bu2cmtfI.mjs";
3
- import { y as updateMattermostPost } from "./client-CR-hGmGr.mjs";
4
- import { E as resolveClientIp, O as sendHttpRequestRejection, S as readRequestBodyWithLimit, _ as isTrustedProxyAddress, g as isRequestBodyLimitError } from "./monitor-auth-BxpEUfvc.mjs";
1
+ import { n as __reExport, t as __exportAll } from "./rolldown-runtime-782esTHO.mjs";
2
+ import { r as resolveCallbackHost } from "./callback-host-CRQTeNn9.mjs";
3
+ import { y as updateMattermostPost } from "./client-CVipK0N2.mjs";
4
+ import { E as resolveClientIp, O as sendHttpRequestRejection, S as readRequestBodyWithLimit, _ as isTrustedProxyAddress, g as isRequestBodyLimitError } from "./monitor-auth-D7Fl9CyF.mjs";
5
5
  import { createHmac } from "node:crypto";
6
6
  import { sendJsonWithoutCharset } from "openclaw/plugin-sdk/http-response-runtime";
7
7
  import { safeEqualSecret } from "openclaw/plugin-sdk/security-runtime";
8
8
  import { normalizeOptionalString, normalizeStringifiedOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
9
9
  import { safeParseJson } from "openclaw/plugin-sdk/text-utility-runtime";
10
10
  import { requestBodyErrorToText } from "openclaw/plugin-sdk/webhook-request-guards";
11
- //#region src/gateway/gateway-http-route-contracts.ts
11
+ // src/gateway/gateway-http-route-contracts.ts
12
12
  const GATEWAY_PROBE_ROUTES = /* @__PURE__ */ new Map([
13
13
  ["/health", "live"],
14
14
  ["/healthz", "live"],
@@ -24,8 +24,7 @@ function classifyGatewayProbePath(pathname) {
24
24
  }
25
25
  return "outside";
26
26
  }
27
- //#endregion
28
- //#region packages/normalization-core/src/string-coerce.ts
27
+ // packages/normalization-core/src/string-coerce.ts
29
28
  /** Trims string input and returns null for non-strings or empty strings. */
30
29
  function normalizeNullableString(value) {
31
30
  if (typeof value !== "string") return null;
@@ -44,13 +43,11 @@ function normalizeOptionalLowercaseString(value) {
44
43
  function normalizeLowercaseStringOrEmpty$1(value) {
45
44
  return normalizeOptionalLowercaseString(value) ?? "";
46
45
  }
47
- //#endregion
48
- //#region src/plugins/http-path-prefix.ts
46
+ // src/plugins/http-path-prefix.ts
49
47
  function prefixMatchPath(pathname, prefix) {
50
48
  return pathname === prefix || pathname.startsWith(`${prefix}/`) || pathname.startsWith(`${prefix}%`);
51
49
  }
52
- //#endregion
53
- //#region src/gateway/security-path.ts
50
+ // src/gateway/security-path.ts
54
51
  const MAX_PATH_DECODE_PASSES = 32;
55
52
  function normalizePathSeparators(pathname) {
56
53
  const collapsed = pathname.replace(/\/{2,}/g, "/");
@@ -99,8 +96,7 @@ function canonicalizePathForSecurity(pathname) {
99
96
  };
100
97
  }
101
98
  const PROTECTED_PLUGIN_ROUTE_PREFIXES = ["/api/channels"];
102
- //#endregion
103
- //#region src/gateway/server/plugins-http/path-context.ts
99
+ // src/gateway/server/plugins-http/path-context.ts
104
100
  function normalizeProtectedPrefix(prefix) {
105
101
  const collapsed = normalizeLowercaseStringOrEmpty$1(prefix).replace(/\/{2,}/g, "/");
106
102
  if (collapsed.length <= 1) return collapsed || "/";
@@ -126,8 +122,7 @@ function resolvePluginRoutePathContext(pathname) {
126
122
  rawNormalizedPath: canonical.rawNormalizedPath
127
123
  };
128
124
  }
129
- //#endregion
130
- //#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/gateway-config-runtime
125
+ // \0openclaw:bundled-sdk:openclaw/plugin-sdk/gateway-config-runtime
131
126
  var gateway_config_runtime_exports = /* @__PURE__ */ __exportAll({
132
127
  classifyGatewayProbePath: () => classifyGatewayProbePath,
133
128
  isProtectedPluginRoutePathFromContext: () => isProtectedPluginRoutePathFromContext,
@@ -135,8 +130,7 @@ var gateway_config_runtime_exports = /* @__PURE__ */ __exportAll({
135
130
  });
136
131
  import * as import_openclaw_plugin_sdk_gateway_config_runtime from "openclaw/plugin-sdk/gateway-config-runtime";
137
132
  __reExport(gateway_config_runtime_exports, import_openclaw_plugin_sdk_gateway_config_runtime);
138
- //#endregion
139
- //#region extensions/mattermost/src/mattermost/interactions.ts
133
+ // extensions/mattermost/src/mattermost/interactions.ts
140
134
  const INTERACTION_MAX_BODY_BYTES = 65536;
141
135
  const INTERACTION_BODY_TIMEOUT_MS = 1e4;
142
136
  const SIGNED_CHANNEL_ID_CONTEXT_KEY = "__openclaw_channel_id";
@@ -423,5 +417,4 @@ function createMattermostInteractionHandler(params) {
423
417
  }
424
418
  };
425
419
  }
426
- //#endregion
427
420
  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-CmHBcQXE.mjs";
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-CR-hGmGr.mjs";
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-BxpEUfvc.mjs";
4
- import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-CNB4YGqJ.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-CM7ketZt.mjs";
8
- import { t as sendMessageMattermost } from "./send-vvtYZYAT.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-CVd5Ry3r.mjs";
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";
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-D7Fl9CyF.mjs";
4
+ import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.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-DPJEjYB2.mjs";
8
+ import { t as sendMessageMattermost } from "./send-aYKfDcPD.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
- //#region extensions/mattermost/src/mattermost/monitor-helpers.ts
44
+ // 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,8 +80,7 @@ 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
- //#endregion
84
- //#region extensions/mattermost/src/mattermost/monitor-websocket.ts
83
+ // extensions/mattermost/src/mattermost/monitor-websocket.ts
85
84
  const MATTERMOST_WEBSOCKET_MAX_PAYLOAD_BYTES = 16777216;
86
85
  const MATTERMOST_WEBSOCKET_HANDSHAKE_TIMEOUT_MS = 3e4;
87
86
  const MATTERMOST_WEBSOCKET_AUTH_TIMEOUT_MS = 3e4;
@@ -331,8 +330,7 @@ function createMattermostConnectOnce(opts) {
331
330
  }
332
331
  };
333
332
  }
334
- //#endregion
335
- //#region extensions/mattermost/src/mattermost/monitor-ingress.ts
333
+ // extensions/mattermost/src/mattermost/monitor-ingress.ts
336
334
  const MATTERMOST_INGRESS_PAYLOAD_VERSION = 1;
337
335
  const MATTERMOST_INGRESS_POLL_INTERVAL_MS = 1e3;
338
336
  const MattermostIngressPermanentError = createChannelIngressError("MattermostIngressPermanentError", { withReason: true });
@@ -441,8 +439,7 @@ function createMattermostIngressMonitor(options) {
441
439
  waitForIdle: monitor.waitForIdle
442
440
  };
443
441
  }
444
- //#endregion
445
- //#region extensions/mattermost/src/mattermost/monitor-event-plan.ts
442
+ // extensions/mattermost/src/mattermost/monitor-event-plan.ts
446
443
  async function buildMattermostEventPlan(monitor, params) {
447
444
  const channelInfo = params.channelInfo ?? await monitor.resources.resolveChannelInfo(params.channelId);
448
445
  const channelType = channelInfo?.type?.trim() || params.channelTypeFallback?.trim();
@@ -527,8 +524,7 @@ async function buildMattermostEventPlan(monitor, params) {
527
524
  })
528
525
  };
529
526
  }
530
- //#endregion
531
- //#region extensions/mattermost/src/mattermost/monitor-interaction-dispatch.ts
527
+ // extensions/mattermost/src/mattermost/monitor-interaction-dispatch.ts
532
528
  async function dispatchMattermostInteractionReply(monitor, eventPlan, params) {
533
529
  const { account, cfg, core, runtime } = monitor;
534
530
  const { channelId, kind, route, thread, to } = eventPlan;
@@ -581,8 +577,7 @@ async function dispatchMattermostInteractionReply(monitor, eventPlan, params) {
581
577
  replyOptions
582
578
  });
583
579
  }
584
- //#endregion
585
- //#region extensions/mattermost/src/mattermost/monitor-interactions.ts
580
+ // extensions/mattermost/src/mattermost/monitor-interactions.ts
586
581
  function registerMattermostInteractions(params) {
587
582
  const { monitor } = params;
588
583
  const { account, cfg, client, core, pairing, resources, runtime } = monitor;
@@ -715,8 +710,7 @@ function registerMattermostInteractions(params) {
715
710
  throwOnFailure: true
716
711
  });
717
712
  }
718
- //#endregion
719
- //#region extensions/mattermost/src/mattermost/monitor-model-picker.ts
713
+ // extensions/mattermost/src/mattermost/monitor-model-picker.ts
720
714
  function createMattermostModelPickerInteractionHandler(monitor) {
721
715
  const { account, cfg, core, pairing, resources, runtime } = monitor;
722
716
  const { resolveChannelInfo, updateModelPickerPost } = resources;
@@ -876,8 +870,7 @@ function createMattermostModelPickerInteractionHandler(monitor) {
876
870
  return {};
877
871
  };
878
872
  }
879
- //#endregion
880
- //#region src/channels/mention-gating.ts
873
+ // src/channels/mention-gating.ts
881
874
  function resolveBotThreadMentionPolicy(params) {
882
875
  if (!params.isBotOwnedThread || params.requireMentionInBotThreads === void 0) return {
883
876
  requireMention: params.requireMention,
@@ -888,8 +881,7 @@ function resolveBotThreadMentionPolicy(params) {
888
881
  implicitMentionKinds: params.requireMentionInBotThreads ? params.implicitMentionKinds?.filter((kind) => kind === "native") : params.implicitMentionKinds
889
882
  };
890
883
  }
891
- //#endregion
892
- //#region extensions/mattermost/src/mattermost/monitor-onchar.ts
884
+ // extensions/mattermost/src/mattermost/monitor-onchar.ts
893
885
  const DEFAULT_ONCHAR_PREFIXES = [">", "!"];
894
886
  function resolveOncharPrefixes(prefixes) {
895
887
  const cleaned = prefixes ? normalizeStringEntries(prefixes) : DEFAULT_ONCHAR_PREFIXES;
@@ -909,8 +901,7 @@ function stripOncharPrefix(text, prefixes) {
909
901
  stripped: text
910
902
  };
911
903
  }
912
- //#endregion
913
- //#region extensions/mattermost/src/mattermost/monitor-resources.ts
904
+ // extensions/mattermost/src/mattermost/monitor-resources.ts
914
905
  function formatMattermostPendingMediaText(params) {
915
906
  return [params.body, formatMediaPlaceholderText(params.media)].filter(Boolean).join("\n").trim();
916
907
  }
@@ -1044,8 +1035,7 @@ function createMattermostMonitorResources(params) {
1044
1035
  updateModelPickerPost
1045
1036
  };
1046
1037
  }
1047
- //#endregion
1048
- //#region extensions/mattermost/src/mattermost/monitor-thread-backfill.ts
1038
+ // extensions/mattermost/src/mattermost/monitor-thread-backfill.ts
1049
1039
  const TIMEOUT_MS = 5e3;
1050
1040
  const COOLDOWN_MS = 6e4;
1051
1041
  const MAX_ATTEMPTS = 3;
@@ -1225,8 +1215,7 @@ function createMattermostThreadBackfill(params) {
1225
1215
  return { history: await owner.completion };
1226
1216
  };
1227
1217
  }
1228
- //#endregion
1229
- //#region extensions/mattermost/src/mattermost/draft-stream.ts
1218
+ // extensions/mattermost/src/mattermost/draft-stream.ts
1230
1219
  const MATTERMOST_STREAM_MAX_CHARS = 4e3;
1231
1220
  const THROTTLE_MS = 1200;
1232
1221
  function createMattermostDraftStream(params) {
@@ -1492,8 +1481,7 @@ function createMattermostDraftStream(params) {
1492
1481
  findPostAfter
1493
1482
  };
1494
1483
  }
1495
- //#endregion
1496
- //#region extensions/mattermost/src/mattermost/monitor-draft-delivery.ts
1484
+ // extensions/mattermost/src/mattermost/monitor-draft-delivery.ts
1497
1485
  async function deliverMattermostReplyWithDraftPreview(params) {
1498
1486
  if (isReasoningReplyPayload(params.payload)) return {
1499
1487
  outcome: "reasoning_skipped",
@@ -1602,8 +1590,7 @@ async function deliverMattermostReplyWithDraftPreview(params) {
1602
1590
  }));
1603
1591
  }
1604
1592
  }
1605
- //#endregion
1606
- //#region extensions/mattermost/src/mattermost/thread-participation.ts
1593
+ // extensions/mattermost/src/mattermost/thread-participation.ts
1607
1594
  const threadParticipation = createPersistentDedupeCache({
1608
1595
  globalKey: Symbol.for("openclaw.mattermostThreadParticipation"),
1609
1596
  ttlMs: 6048e5,
@@ -1627,8 +1614,7 @@ async function hasMattermostThreadParticipationWithPersistence(params) {
1627
1614
  if (!params.accountId || !params.channelId || !params.threadRootId) return false;
1628
1615
  return await threadParticipation.lookup(makeKey(params.accountId, params.channelId, params.threadRootId));
1629
1616
  }
1630
- //#endregion
1631
- //#region extensions/mattermost/src/mattermost/monitor-turn.ts
1617
+ // extensions/mattermost/src/mattermost/monitor-turn.ts
1632
1618
  async function dispatchMattermostInboundTurn(monitor, params) {
1633
1619
  const { account, cfg, client, core, runtime } = monitor;
1634
1620
  const { botLoopProtection, channelHistories, ctxPayload, eventPlan, historyKey, historyLimit, pinnedMainDmOwner, post, rawText, turnAdoptionLifecycle } = params;
@@ -1963,8 +1949,7 @@ async function dispatchMattermostInboundTurn(monitor, params) {
1963
1949
  }
1964
1950
  }
1965
1951
  }
1966
- //#endregion
1967
- //#region extensions/mattermost/src/mattermost/monitor-posts.ts
1952
+ // extensions/mattermost/src/mattermost/monitor-posts.ts
1968
1953
  function createMattermostPostHandler(monitor) {
1969
1954
  const { account, botUserId, botUsername, cfg, core, groupPolicy, pairing, resources } = monitor;
1970
1955
  const groups = resolveChannelGroups(cfg, "mattermost", account.accountId);
@@ -2340,8 +2325,7 @@ function createMattermostPostHandler(monitor) {
2340
2325
  });
2341
2326
  };
2342
2327
  }
2343
- //#endregion
2344
- //#region extensions/mattermost/src/mattermost/monitor-reactions.ts
2328
+ // extensions/mattermost/src/mattermost/monitor-reactions.ts
2345
2329
  function createMattermostReactionHandler(monitor) {
2346
2330
  const { account, botUserId, cfg, core, groupPolicy, pairing, resources } = monitor;
2347
2331
  const { resolveUserInfo } = resources;
@@ -2404,8 +2388,7 @@ function createMattermostReactionHandler(monitor) {
2404
2388
  monitor.logVerboseMessage(`mattermost reaction: ${action} :${emojiName}: by ${senderName} on ${postId}`);
2405
2389
  };
2406
2390
  }
2407
- //#endregion
2408
- //#region extensions/mattermost/src/mattermost/monitor-slash.ts
2391
+ // extensions/mattermost/src/mattermost/monitor-slash.ts
2409
2392
  async function registerMattermostMonitorSlashCommands(params) {
2410
2393
  const commandsRaw = params.account.config.commands;
2411
2394
  const slashConfig = resolveSlashCommandConfig(commandsRaw);
@@ -2487,8 +2470,7 @@ async function registerMattermostMonitorSlashCommands(params) {
2487
2470
  params.runtime.error?.(`mattermost: failed to register slash commands: ${String(err)}`);
2488
2471
  }
2489
2472
  }
2490
- //#endregion
2491
- //#region extensions/mattermost/src/mattermost/reconnect.ts
2473
+ // extensions/mattermost/src/mattermost/reconnect.ts
2492
2474
  async function runWithReconnect(connectFn, opts = {}) {
2493
2475
  let retryDelay = 2e3;
2494
2476
  while (!opts.abortSignal?.aborted) {
@@ -2514,8 +2496,7 @@ async function runWithReconnect(connectFn, opts = {}) {
2514
2496
  if (failed) retryDelay = Math.min(retryDelay * 2, 6e4);
2515
2497
  }
2516
2498
  }
2517
- //#endregion
2518
- //#region extensions/mattermost/src/mattermost/monitor.ts
2499
+ // extensions/mattermost/src/mattermost/monitor.ts
2519
2500
  function publishMattermostRecoveringStatus(statusSink, error) {
2520
2501
  statusSink?.({
2521
2502
  lastError: String(error),
@@ -2788,5 +2769,4 @@ async function monitorMattermostProvider(opts = {}) {
2788
2769
  if (shutdownFailures.length > 0) throw new AggregateError(shutdownFailures, "Mattermost monitor shutdown failed.", { cause: connectionFailure?.error });
2789
2770
  if (connectionFailure) throw connectionFailure.error;
2790
2771
  }
2791
- //#endregion
2792
2772
  export { monitorMattermostProvider };
@@ -1,5 +1,5 @@
1
- import { t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
2
- import { n as normalizeMattermostAllowEntry, t as mattermostIngressIdentity } from "./ingress-identity-D6hxfxvo.mjs";
1
+ import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
2
+ import { n as normalizeMattermostAllowEntry, t as mattermostIngressIdentity } from "./ingress-identity-CtHiOUDu.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
- //#region extensions/mattermost/src/mattermost/monitor-auth.ts
21
+ // 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,5 +166,4 @@ async function authorizeMattermostCommandInvocation(params) {
166
166
  }
167
167
  };
168
168
  }
169
- //#endregion
170
169
  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-CR-hGmGr.mjs";
1
+ import { h as normalizeMattermostBaseUrl, r as createMattermostClient } from "./client-CVipK0N2.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
- //#region extensions/mattermost/src/mattermost/accounts.ts
9
+ // 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,8 +105,7 @@ function resolveMattermostReplyToMode(account, kind) {
105
105
  if (kind === "direct") return "off";
106
106
  return account.config.replyToMode ?? "off";
107
107
  }
108
- //#endregion
109
- //#region extensions/mattermost/src/normalize.ts
108
+ // extensions/mattermost/src/normalize.ts
110
109
  /** Marks a button context as one this plugin answers through the question Gateway. */
111
110
  const MATTERMOST_QUESTION_CONTEXT_KEY = "oc_question";
112
111
  /**
@@ -199,5 +198,4 @@ function looksLikeMattermostTargetId(raw, _normalized) {
199
198
  if (trimmed.startsWith("@")) return true;
200
199
  return /^[a-z0-9]{26}$/i.test(trimmed) || /^[a-z0-9]{26}__[a-z0-9]{26}$/i.test(trimmed);
201
200
  }
202
- //#endregion
203
201
  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
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -23,5 +23,4 @@ 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
27
26
  export { __reExport as n, __exportAll as t };
@@ -1,8 +1,7 @@
1
1
  import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
2
- //#region extensions/mattermost/src/runtime.ts
2
+ // 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
8
7
  export { getOptionalMattermostRuntime as n, setMattermostRuntime as r, getMattermostRuntime as t };
@@ -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
- //#region extensions/mattermost/src/secret-contract.ts
3
+ // extensions/mattermost/src/secret-contract.ts
4
4
  const channelSecrets = createChannelSecretContract({
5
5
  channelKey: "mattermost",
6
6
  account: ["botToken"],
@@ -16,5 +16,4 @@ const channelSecrets = createChannelSecretContract({
16
16
  }
17
17
  });
18
18
  const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
19
- //#endregion
20
19
  export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
@@ -1,2 +1,2 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-fjlTFCmD.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-BkDCURCE.mjs";
2
2
  import "../secret-contract-api.js";
@@ -1,8 +1,8 @@
1
- import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-CmHBcQXE.mjs";
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-CR-hGmGr.mjs";
3
- import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-BxpEUfvc.mjs";
4
- import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
5
- import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-CNFRtT1O.mjs";
1
+ import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-CVd5Ry3r.mjs";
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";
3
+ import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-D7Fl9CyF.mjs";
4
+ import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
5
+ import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-DuLSV4tT.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
- //#region extensions/mattermost/src/mattermost/target-resolution.ts
15
+ // extensions/mattermost/src/mattermost/target-resolution.ts
16
16
  const mattermostOpaqueTargetCache = createStaleWhileRevalidateCache({
17
17
  maxEntries: 1024,
18
18
  maxPending: Number.POSITIVE_INFINITY,
@@ -106,8 +106,7 @@ async function resolveMattermostOpaqueTarget(params) {
106
106
  to: `${kind === "user" ? "user" : "channel"}:${input}`
107
107
  };
108
108
  }
109
- //#endregion
110
- //#region extensions/mattermost/src/mattermost/send.ts
109
+ // extensions/mattermost/src/mattermost/send.ts
111
110
  const MATTERMOST_BOT_USER_CACHE_MAX_ENTRIES = 64;
112
111
  const MATTERMOST_TARGET_CACHE_MAX_ENTRIES = 1024;
113
112
  const botUserCache = /* @__PURE__ */ new Map();
@@ -299,5 +298,4 @@ async function sendMessageMattermost(to, text, opts) {
299
298
  }
300
299
  return result;
301
300
  }
302
- //#endregion
303
301
  export { resolveMattermostOpaqueTarget as n, sendMessageMattermost as t };
@@ -1,9 +1,9 @@
1
- import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-Bu2cmtfI.mjs";
2
- import { g as parseMattermostApiStatus, r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-CR-hGmGr.mjs";
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-BxpEUfvc.mjs";
4
- import { t as getMattermostRuntime } from "./runtime-CNB4YGqJ.mjs";
5
- import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-CNFRtT1O.mjs";
6
- import { t as sendMessageMattermost } from "./send-vvtYZYAT.mjs";
1
+ import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-CRQTeNn9.mjs";
2
+ import { g as parseMattermostApiStatus, r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-CVipK0N2.mjs";
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-D7Fl9CyF.mjs";
4
+ import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
5
+ import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-DuLSV4tT.mjs";
6
+ import { t as sendMessageMattermost } from "./send-aYKfDcPD.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";
@@ -251,8 +251,7 @@ function resolveCallbackUrl(params) {
251
251
  const path = normalizeCallbackPath(params.config.callbackPath);
252
252
  return `http://${host}:${params.gatewayPort}${path}`;
253
253
  }
254
- //#endregion
255
- //#region extensions/mattermost/src/mattermost/model-picker.ts
254
+ // extensions/mattermost/src/mattermost/model-picker.ts
256
255
  const MATTERMOST_MODEL_PICKER_CONTEXT_KEY = "oc_model_picker";
257
256
  const MODELS_PAGE_SIZE = 8;
258
257
  const ACTION_IDS = {
@@ -468,8 +467,7 @@ function renderMattermostModelsPickerView(params) {
468
467
  buttons: rows
469
468
  };
470
469
  }
471
- //#endregion
472
- //#region extensions/mattermost/src/mattermost/monitor-context.ts
470
+ // extensions/mattermost/src/mattermost/monitor-context.ts
473
471
  function shouldUpdateMattermostDraftToolProgress(account) {
474
472
  return account.streamingMode !== "off" && resolveChannelStreamingPreviewToolProgress(account.config, account.streamingMode !== "progress", account.streamingMode);
475
473
  }
@@ -521,8 +519,7 @@ function resolveMattermostThreadSessionContext(params) {
521
519
  parentSessionKey: threadKeys.parentSessionKey
522
520
  };
523
521
  }
524
- //#endregion
525
- //#region extensions/mattermost/src/mattermost/reply-delivery.ts
522
+ // extensions/mattermost/src/mattermost/reply-delivery.ts
526
523
  /** Represents distinct provider posts without collapsing their visible boundary. */
527
524
  function joinMattermostVisibleContent(contents) {
528
525
  return contents.filter((content) => Boolean(content)).join("\n");
@@ -574,8 +571,7 @@ async function deliverMattermostReplyPayload(params) {
574
571
  ...accepted.result()
575
572
  };
576
573
  }
577
- //#endregion
578
- //#region extensions/mattermost/src/mattermost/slash-http.ts
574
+ // extensions/mattermost/src/mattermost/slash-http.ts
579
575
  const MAX_BODY_BYTES = 65536;
580
576
  const BODY_READ_TIMEOUT_MS = 5e3;
581
577
  const COMMAND_LOOKUP_TIMEOUT_MS = 1e3;
@@ -1034,8 +1030,7 @@ function createSlashCommandHttpHandler(params) {
1034
1030
  }
1035
1031
  };
1036
1032
  }
1037
- //#endregion
1038
- //#region extensions/mattermost/src/mattermost/slash-state.ts
1033
+ // extensions/mattermost/src/mattermost/slash-state.ts
1039
1034
  const slashRouteInFlightLimiter = createWebhookInFlightLimiter();
1040
1035
  const SLASH_ROUTE_IN_FLIGHT_KEY = "mattermost:slash";
1041
1036
  const SLASH_AUTHENTICATED_IN_FLIGHT_KEY = `${SLASH_ROUTE_IN_FLIGHT_KEY}:authenticated`;
@@ -1180,5 +1175,4 @@ function registerSlashCommandRoute(api) {
1180
1175
  handler: routeHandler
1181
1176
  });
1182
1177
  }
1183
- //#endregion
1184
1178
  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-Bu2cmtfI.mjs","sha256":"480b3975b9d118aaf901a603634cc4ea15c7942fbc74d3ba4da538651b590da8","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/callback-host.ts"]},{"output":".setup/channel-plugin-api-BHiKX1d7.mjs","sha256":"194f4583680513f18c5d730dd236f02d5851258323403b23c3e44937be1d4df2","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel-plugin-api-uckOtLlw.mjs","sha256":"6082b70c52f8a396c6e303f0bea8e0fec675f851c9c4793901bc4fcc8e008a3b","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-Cu8HlqPq.mjs","sha256":"b0de2e630d120f3e84d6dba59775fe21fa2ed9a260a167a75803197ea1624d6c","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-CmHBcQXE.mjs","sha256":"916e401d42c01a038d529d26e6ac1e859d6e5b8a2fee3b338bb4566ce00c3ef6","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-DChIvHIc.mjs","sha256":"4513a8fbed4a5f37d1555c279727078337b1b85235405c6714e4fda0853e557b","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-vvtYZYAT.mjs","sha256":"702f15cc70d7685cf2c35d78d9ac796064a3062972ad03db36c4e79b5f488a26","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-CM7ketZt.mjs","sha256":"f815e8757ca4fabdfa9ac4e2d349fdfea25b499ebc0632f6059a92a497b1cd7a","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":"f5c8411edac0848eb18bbd4b27435ec2ba3120bb2a989c580b75d0ba8a43bad9","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"0693c50cd8b63bed72a137144dd8d092d9d24c983349838d00d3aa3bc377f048","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":"3cab5cbc08e7ec0ac9574fe8d65a0cf372a33ef692c331a036ee669047a622c3","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"1e95bcc2adfbf6abd2f073e11b95b66c7ebbb57f594a10a3c7bc0da90ab5ede4","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-Cvwd7dVV.mjs","sha256":"45779f862094aa2b42fb57540b20f9f192a3c98bb3fd54d66977601a068c9064","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-CZPznhty.mjs","sha256":"6856dfac2103708a8de0490602dce4b79334cb094b549035c10cc72c7130c3c6","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel.runtime-DPqUAdOu.mjs","sha256":"a47dbe774225e28692d73d6cb2b6ff095164d0f0b4b06ce0bea8d5aca75ed24e","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-CVd5Ry3r.mjs","sha256":"e01bdedaaeb064e0a116973f6a582acad15a12b1da08c68463cc1b2f2fb5a4be","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-Bkun8QVF.mjs","sha256":"ece000522b9cf03252212e94123c1b3d501401077acb8b385b2e2258b0ff27c3","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-aYKfDcPD.mjs","sha256":"0ff5487ed76d7289f4fc261ee763868ded714875718d5f5b7ceacdfd5c3bc18d","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-DPJEjYB2.mjs","sha256":"4c75a548a6256cde091d82aa0fcd440dfb0a2b4e9022e5659d59fe9a0883e638","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":"7480432e08973352ad9f61fd19c34651de236ac89fbb25d2db62507826042611","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"7c03e63f4cd5228160c5d4ca635845fc4378738a37dbd001edb2311a218f633c","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":"511880895a78aba9ba6bf9b17b6f39c555741d00398a67b478a9e3fcdd3100cf","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"888d5308cfa3e2fff7a690ef64068e4cd412335889ce610137844c0adaa94c83","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-CmHBcQXE.mjs";
2
- import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-BxpEUfvc.mjs";
1
+ import { t as buildButtonAttachments } from "./.setup/interactions-CVd5Ry3r.mjs";
2
+ import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-D7Fl9CyF.mjs";
3
3
  export { buildButtonAttachments, isMattermostSenderAllowed };
@@ -1 +1 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-uckOtLlw.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-Cvwd7dVV.mjs";
@@ -1 +1 @@
1
- export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-CjgZkyPm.mjs";
1
+ export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-i788N90j.mjs";
@@ -1 +1 @@
1
- export { t as resolveGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-Lf99Gilr.mjs";
1
+ export { t as resolveGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-DhWaV22L.mjs";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineBundledChannelEntry, loadBundledEntryExportSync } from "openclaw/plugin-sdk/channel-entry-contract";
2
- //#region extensions/mattermost/index.ts
2
+ // extensions/mattermost/index.ts
3
3
  function registerSlashCommandRoute(api) {
4
4
  loadBundledEntryExportSync(import.meta.url, {
5
5
  specifier: "./slash-route-api.js",
@@ -27,5 +27,4 @@ var mattermost_default = defineBundledChannelEntry({
27
27
  registerSlashCommandRoute(api);
28
28
  }
29
29
  });
30
- //#endregion
31
30
  export { mattermost_default as default };
@@ -1 +1 @@
1
- export { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-BxpEUfvc.mjs";
1
+ export { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-D7Fl9CyF.mjs";
@@ -1 +1 @@
1
- export { r as setMattermostRuntime } from "./.setup/runtime-CNB4YGqJ.mjs";
1
+ export { r as setMattermostRuntime } from "./.setup/runtime-y_L8jPMH.mjs";
@@ -1 +1 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-fjlTFCmD.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-BkDCURCE.mjs";
@@ -1,16 +1,15 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region extensions/mattermost/setup-entry.ts
3
+ // 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-BHiKX1d7.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/channel-plugin-api-CZPznhty.mjs", import.meta.url).href),
8
8
  exportName: "mattermostSetupPlugin"
9
9
  },
10
10
  secrets: {
11
- specifier: fileURLToPath(new URL(".setup/secret-contract-api-Drz4m5pq.mjs", import.meta.url).href),
11
+ specifier: fileURLToPath(new URL(".setup/secret-contract-api-DydsmAPQ.mjs", import.meta.url).href),
12
12
  exportName: "channelSecrets"
13
13
  }
14
14
  });
15
- //#endregion
16
15
  export { setup_entry_default as default };
@@ -1 +1 @@
1
- export { i as registerSlashCommandRoute } from "./.setup/slash-state-CM7ketZt.mjs";
1
+ export { i as registerSlashCommandRoute } from "./.setup/slash-state-DPJEjYB2.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.11.8",
3
+ "version": "2026.11.9",
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.8"
14
+ "openclaw": ">=2026.11.9"
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.8"
96
+ "pluginApi": ">=2026.11.9"
97
97
  },
98
98
  "build": {
99
- "openclawVersion": "2026.11.8",
99
+ "openclawVersion": "2026.11.9",
100
100
  "bundledDist": false
101
101
  },
102
102
  "release": {