@openclaw/mattermost 2026.10.7 → 2026.10.8

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,2 +1,2 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-runtime-D-I6TTe4.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./channel-plugin-runtime-Cn_kOYEY.mjs";
2
2
  import "../channel-plugin-api.js";
@@ -3,7 +3,7 @@ import { t as mattermostIngressIdentity } from "./ingress-identity-D6hxfxvo.mjs"
3
3
  import { a as resolveMattermostPresentation, c as listMattermostAccountIds, d as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload, l as resolveDefaultMattermostAccountId, n as normalizeMattermostMessagingTarget, o as inspectMattermostAccount, s as isMattermostConfigured$1, t as looksLikeMattermostTargetId, u as resolveMattermostAccount } from "./normalize-B0VHjEFE.mjs";
4
4
  import { t as resolveMattermostGatewayAuthBypassPaths } from "./gateway-auth-bypass-Lf99Gilr.mjs";
5
5
  import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-CjgZkyPm.mjs";
6
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-qg3NXRlS.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 { buildPassiveProbedChannelStatusSummary } from "openclaw/plugin-sdk/extension-shared";
9
9
  import { z } from "zod";
@@ -1,2 +1,2 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-qg3NXRlS.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-fjlTFCmD.mjs";
2
2
  import "../secret-contract-api.js";
@@ -0,0 +1,20 @@
1
+ import { hasConfiguredAccountValue } from "openclaw/plugin-sdk/account-helpers";
2
+ import { collectSimpleChannelFieldAssignments, createChannelSecretContract } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
3
+ //#region extensions/mattermost/src/secret-contract.ts
4
+ const channelSecrets = createChannelSecretContract({
5
+ channelKey: "mattermost",
6
+ account: ["botToken"],
7
+ channel: ["botToken"],
8
+ hasImplicitDefaultAccount: ({ channel, context }) => Boolean(typeof channel.baseUrl === "string" && channel.baseUrl.trim() && (hasConfiguredAccountValue(channel.botToken) || context.env.MATTERMOST_BOT_TOKEN?.trim())),
9
+ collect(params) {
10
+ collectSimpleChannelFieldAssignments({
11
+ ...params,
12
+ field: "botToken",
13
+ topInactiveReason: "no enabled account inherits this top-level Mattermost botToken.",
14
+ accountInactiveReason: "Mattermost account is disabled."
15
+ });
16
+ }
17
+ });
18
+ const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
19
+ //#endregion
20
+ export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
@@ -0,0 +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":"channel-plugin-runtime.js","source":"extensions/mattermost/channel-plugin-runtime.ts"},{"output":"doctor-contract-api.js","source":"extensions/mattermost/doctor-contract-api.ts"},{"output":"gateway-auth-api.js","source":"extensions/mattermost/gateway-auth-api.ts"},{"output":"index.js","source":"extensions/mattermost/index.ts"},{"output":"policy-api.js","source":"extensions/mattermost/policy-api.ts"},{"output":"runtime-api.js","source":"extensions/mattermost/runtime-api.ts"},{"output":"secret-contract-api.js","source":"extensions/mattermost/secret-contract-api.ts"},{"output":"setup-entry.js","source":"extensions/mattermost/setup-entry.ts"},{"output":"slash-route-api.js","source":"extensions/mattermost/slash-route-api.ts"}],"chunks":[{"output":".setup/callback-host-Bu2cmtfI.mjs","sha256":"480b3975b9d118aaf901a603634cc4ea15c7942fbc74d3ba4da538651b590da8","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/callback-host.ts"]},{"output":".setup/channel-plugin-api-B-8i9bcL.mjs","sha256":"aadebc4d991e95c13269fc6f3421f1b33a98904e33306d5afc36ef18abb129e3","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel-plugin-runtime-Cn_kOYEY.mjs","sha256":"73e652a3af90f421a5d90643964d07586ec4a5e27a46b03c0b39bb5b891e9be0","facadeSource":null,"sources":["extensions/mattermost/src/approval-auth.ts","extensions/mattermost/src/channel-config-shared.ts","extensions/mattermost/src/channel-send-result.ts","extensions/mattermost/src/channel.setup.ts","extensions/mattermost/src/channel.ts","extensions/mattermost/src/config-schema-core.ts","extensions/mattermost/src/config-surface.ts","extensions/mattermost/src/config-ui-hints.ts","extensions/mattermost/src/doctor.ts","extensions/mattermost/src/group-mentions.ts","extensions/mattermost/src/mattermost/emoji.ts","extensions/mattermost/src/session-route.ts","extensions/mattermost/src/setup-core.ts","extensions/mattermost/src/setup-surface.ts"]},{"output":".setup/channel.runtime-Bz8jKJUb.mjs","sha256":"9108decce061419e4202897e477b8a781e0ed5db512134430de2a206be436afa","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-tv20cXIL.mjs","sha256":"e655adbb69849d5f50e4fa3d6bf2b69bf8c9282d5c716af64c307a6106d494c8","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-AdorvrsQ.mjs","sha256":"1093446ecd19fabc1573ba2c99302e782bd5a3a2934287431dae2c49a3923319","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-ChM45AzT.mjs","sha256":"2ce30515b954907b464589a02aa91445536e6caf9e1447c7f21e10b51b1446ff","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/monitor-auth.ts"]},{"output":".setup/monitor-CdOgleQo.mjs","sha256":"2dd0f18b7fcb2082c5fa8ecf4f6aa93875e73c2c54c68fab52dd760210989b8f","facadeSource":"extensions/mattermost/src/mattermost/monitor.ts","sources":["extensions/mattermost/src/mattermost/draft-stream.ts","extensions/mattermost/src/mattermost/monitor-activation.ts","extensions/mattermost/src/mattermost/monitor-context.ts","extensions/mattermost/src/mattermost/monitor-draft-delivery.ts","extensions/mattermost/src/mattermost/monitor-event-plan.ts","extensions/mattermost/src/mattermost/monitor-helpers.ts","extensions/mattermost/src/mattermost/monitor-ingress.ts","extensions/mattermost/src/mattermost/monitor-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-B0VHjEFE.mjs","sha256":"be4293d4125d219a1fb25248425e095cc3d25ed9f67050d87c2540da9e2ef33d","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-BAUVI-1U.mjs","sha256":"d074d09acbb0e56ce3cafcf9ab5ba2905079c5ab1d0b023c9b76619c0746d61f","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-CaHXPR0j.mjs","sha256":"b67b1a3dcd2e02505e6bee6e0b26c93a11efcfa10f9748c645ba044883359161","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/model-picker.ts","extensions/mattermost/src/mattermost/reply-delivery.ts","extensions/mattermost/src/mattermost/slash-commands.ts","extensions/mattermost/src/mattermost/slash-http.ts","extensions/mattermost/src/mattermost/slash-state.ts"]},{"output":"api.js","sha256":"6cc47500dd18d627ff4db1efd376d878394acb39243ac31e0fa2ad8ad6f44506","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"36433cc3803295d944e6f0401fd599bfd32472f554982108f5ff2e8bbe1c844c","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":"channel-plugin-runtime.js","sha256":"d6ed4ad1cadeea180089cf91b2defc3197cc2f402ce18fd6b6387d2e183d8cfc","facadeSource":"extensions/mattermost/channel-plugin-runtime.ts","sources":[]},{"output":"doctor-contract-api.js","sha256":"c1c5ed7744c3f8c4e764870e069e497f01c0da93dceb0bd80be8f47504711642","facadeSource":"extensions/mattermost/doctor-contract-api.ts","sources":[]},{"output":"gateway-auth-api.js","sha256":"15f40c4aaed845b61ff953746e3fe3e9ce7a2b425c5a2da56b059d29f14a1ff8","facadeSource":"extensions/mattermost/gateway-auth-api.ts","sources":[]},{"output":"index.js","sha256":"9b47e2ef2494dcc360f2643576423f2ec7b4f6dfad7b34b4ad97c3caee1b3377","facadeSource":"extensions/mattermost/index.ts","sources":["extensions/mattermost/index.ts"]},{"output":"policy-api.js","sha256":"fba539e19e25982da0a027eb526f95a26580671f38d8600f7f1134d9ab2d04bd","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":"b44207f178bc25d7d025ff8da180901fd9263c7c9d47aac370a33973de52dec0","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"c659d8f6179882f84cf88447c53aa6b7f8c89abb06154499bf8f118016631539","facadeSource":"extensions/mattermost/slash-route-api.ts","sources":[]}],"unrenderedSources":["extensions/mattermost/api.ts","extensions/mattermost/channel-plugin-api.ts","extensions/mattermost/channel-plugin-runtime.ts","extensions/mattermost/config-doctor-api.ts","extensions/mattermost/doctor-contract-api.ts","extensions/mattermost/gateway-auth-api.ts","extensions/mattermost/policy-api.ts","extensions/mattermost/runtime-api.ts","extensions/mattermost/secret-contract-api.ts","extensions/mattermost/slash-route-api.ts","extensions/mattermost/src/channel.runtime.ts","extensions/mattermost/src/mattermost/runtime-api.ts"]}
@@ -1 +1 @@
1
- export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-runtime-D-I6TTe4.mjs";
1
+ export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-runtime-Cn_kOYEY.mjs";
@@ -1 +1 @@
1
- export { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-D-I6TTe4.mjs";
1
+ export { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-Cn_kOYEY.mjs";
@@ -1 +1 @@
1
- export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-qg3NXRlS.mjs";
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-fjlTFCmD.mjs";
@@ -4,11 +4,11 @@ import { fileURLToPath } from "node:url";
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/channel-plugin-api-DgMwXzyj.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/channel-plugin-api-B-8i9bcL.mjs", import.meta.url).href),
8
8
  exportName: "mattermostSetupPlugin"
9
9
  },
10
10
  secrets: {
11
- specifier: fileURLToPath(new URL(".setup/secret-contract-api-ChqAE2v-.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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.10.7",
3
+ "version": "2026.10.8",
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.10.7"
14
+ "openclaw": ">=2026.10.8"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "openclaw": {
@@ -93,10 +93,10 @@
93
93
  "allowInvalidConfigRecovery": true
94
94
  },
95
95
  "compat": {
96
- "pluginApi": ">=2026.10.7"
96
+ "pluginApi": ">=2026.10.8"
97
97
  },
98
98
  "build": {
99
- "openclawVersion": "2026.10.7",
99
+ "openclawVersion": "2026.10.8",
100
100
  "bundledDist": false
101
101
  },
102
102
  "release": {
@@ -1,12 +0,0 @@
1
- import { createSimpleChannelSecretContract } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
2
- //#region extensions/mattermost/src/secret-contract.ts
3
- const channelSecrets = createSimpleChannelSecretContract({
4
- channelKey: "mattermost",
5
- label: "Mattermost",
6
- accountFields: ["botToken"],
7
- channelFields: ["botToken"],
8
- mode: "account-inheritance"
9
- });
10
- const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
11
- //#endregion
12
- export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };