@openclaw/mattermost 2026.11.2 → 2026.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- import { n as mattermostSetupPlugin, t as mattermostPlugin } from "./channel-plugin-runtime-C4r_3emu.mjs";
1
+ import { n as mattermostSetupPlugin, t as mattermostPlugin } from "./channel-plugin-runtime-DJgVmmbD.mjs";
2
2
  import "../channel-plugin-api.js";
3
3
  export { mattermostPlugin, mattermostSetupPlugin };
@@ -630,7 +630,7 @@ function resolveMattermostOutboundSessionRoute(params) {
630
630
  }
631
631
  //#endregion
632
632
  //#region extensions/mattermost/src/channel.ts
633
- const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-0BtnojxH.mjs"));
633
+ const loadMattermostChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-Cl_09ZUI.mjs"));
634
634
  const MATTERMOST_PRESENTATION_CAPABILITIES = {
635
635
  supported: true,
636
636
  buttons: true,
@@ -23,13 +23,19 @@ function buildClients(params) {
23
23
  accountId: id
24
24
  });
25
25
  if (!account.enabled || !account.botToken || !account.baseUrl) continue;
26
+ const allowPrivateNetwork = account.config.network?.dangerouslyAllowPrivateNetwork === true;
26
27
  const client = createMattermostClient({
27
28
  baseUrl: account.baseUrl,
28
29
  botToken: account.botToken,
29
- allowPrivateNetwork: account.config.network?.dangerouslyAllowPrivateNetwork === true
30
+ allowPrivateNetwork
30
31
  });
31
- if (!seen.has(client.token)) {
32
- seen.add(client.token);
32
+ const key = JSON.stringify([
33
+ client.baseUrl,
34
+ client.token,
35
+ allowPrivateNetwork
36
+ ]);
37
+ if (!seen.has(key)) {
38
+ seen.add(key);
33
39
  clients.push(client);
34
40
  }
35
41
  }
@@ -1,2 +1,2 @@
1
- import { n as mattermostSetupPlugin, t as mattermostPlugin } from "./.setup/channel-plugin-runtime-C4r_3emu.mjs";
1
+ import { n as mattermostSetupPlugin, t as mattermostPlugin } from "./.setup/channel-plugin-runtime-DJgVmmbD.mjs";
2
2
  export { mattermostPlugin, mattermostSetupPlugin };
@@ -1,2 +1,2 @@
1
- import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-C4r_3emu.mjs";
1
+ import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-DJgVmmbD.mjs";
2
2
  export { mattermostPlugin };
@@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url";
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/channel-plugin-api-DZhra09y.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/channel-plugin-api-BKpd51G7.mjs", import.meta.url).href),
8
8
  exportName: "mattermostSetupPlugin"
9
9
  },
10
10
  secrets: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.11.2",
3
+ "version": "2026.11.3",
4
4
  "description": "OpenClaw Mattermost channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "zod": "4.6.5"
12
12
  },
13
13
  "peerDependencies": {
14
- "openclaw": ">=2026.11.2"
14
+ "openclaw": ">=2026.11.3"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "openclaw": {
@@ -93,10 +93,10 @@
93
93
  "allowInvalidConfigRecovery": true
94
94
  },
95
95
  "compat": {
96
- "pluginApi": ">=2026.11.2"
96
+ "pluginApi": ">=2026.11.3"
97
97
  },
98
98
  "build": {
99
- "openclawVersion": "2026.11.2",
99
+ "openclawVersion": "2026.11.3",
100
100
  "bundledDist": false
101
101
  },
102
102
  "release": {