@openclaw/mattermost 2026.7.2-beta.5 → 2026.7.33

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 (31) hide show
  1. package/dist/{client-w0lkxuKh.js → .setup/accounts-CkvUBI7I.mjs} +100 -31
  2. package/dist/.setup/channel-plugin-api-DQ6gNcH0.mjs +31 -0
  3. package/dist/.setup/channel-plugin-api-jFFWYXht.mjs +3 -0
  4. package/dist/{channel-plugin-runtime-DLBTUlbh.js → .setup/channel-plugin-runtime-BLOKRsgT.mjs} +212 -215
  5. package/dist/.setup/channel.runtime-CK6s04r7.mjs +2653 -0
  6. package/dist/.setup/doctor-contract-ttH0DCuq.mjs +7 -0
  7. package/dist/{gateway-auth-bypass-CL1PxV3z.js → .setup/gateway-auth-bypass-BIXLORHU.mjs} +2 -3
  8. package/dist/{monitor-auth-BOh6zLW9.js → .setup/monitor-auth-CeakcTAO.mjs} +12 -13
  9. package/dist/.setup/secret-contract-Cx0LUNXy.mjs +44 -0
  10. package/dist/.setup/secret-contract-api-BLTnjVCZ.mjs +3 -0
  11. package/dist/{slash-state-VCRdqj5F.js → .setup/slash-state-D1e1_KaK.mjs} +534 -189
  12. package/dist/api.js +2 -3
  13. package/dist/channel-plugin-api.js +2 -38
  14. package/dist/channel-plugin-runtime.js +1 -1
  15. package/dist/doctor-contract-api.js +1 -1
  16. package/dist/gateway-auth-api.js +1 -1
  17. package/dist/policy-api.js +1 -1
  18. package/dist/runtime-api.js +3 -2
  19. package/dist/secret-contract-api.js +1 -1
  20. package/dist/setup-entry.js +3 -2
  21. package/dist/slash-route-api.js +1 -1
  22. package/node_modules/ws/lib/permessage-deflate.js +3 -1
  23. package/node_modules/ws/package.json +1 -1
  24. package/openclaw.plugin.json +215 -255
  25. package/package.json +6 -52
  26. package/dist/accounts-BR6Nl5Qf.js +0 -71
  27. package/dist/channel.runtime-CR1V5M8l.js +0 -2873
  28. package/dist/doctor-contract-BaUvVh8e.js +0 -19
  29. package/dist/interactions-B4gg-KRm.js +0 -375
  30. package/dist/secret-contract-B4R5Bmhv.js +0 -28
  31. /package/dist/{runtime-CNB4YGqJ.js → .setup/runtime-CNB4YGqJ.mjs} +0 -0
package/dist/api.js CHANGED
@@ -1,3 +1,2 @@
1
- import { r as isMattermostSenderAllowed } from "./monitor-auth-BOh6zLW9.js";
2
- import { t as buildButtonAttachments } from "./interactions-B4gg-KRm.js";
3
- export { buildButtonAttachments, isMattermostSenderAllowed };
1
+ import { r as isMattermostSenderAllowed } from "./.setup/monitor-auth-CeakcTAO.mjs";
2
+ export { isMattermostSenderAllowed };
@@ -1,39 +1,3 @@
1
- import { c as isMattermostConfigured, i as mattermostSetupContract, l as mattermostConfigAdapter, n as mattermostSetupWizard, o as MattermostChannelConfigSchema, r as mattermostSetupAdapter, s as describeMattermostAccount, t as mattermostPlugin, u as mattermostMeta } from "./channel-plugin-runtime-DLBTUlbh.js";
2
- import { t as resolveMattermostGatewayAuthBypassPaths } from "./gateway-auth-bypass-CL1PxV3z.js";
3
- //#region extensions/mattermost/src/channel.setup.ts
4
- const mattermostSetupPlugin = {
5
- id: "mattermost",
6
- meta: { ...mattermostMeta },
7
- capabilities: {
8
- chatTypes: [
9
- "direct",
10
- "channel",
11
- "group",
12
- "thread"
13
- ],
14
- reactions: true,
15
- threads: true,
16
- media: true,
17
- nativeCommands: true
18
- },
19
- reload: {
20
- configPrefixes: ["channels.mattermost"],
21
- /**
22
- * accounts.default is promoted; named resolution merges only channel-wide fields
23
- * plus the selected account. Runtime monitor, debounce, and ingress use accountId.
24
- */
25
- accountScopedRestart: true
26
- },
27
- configSchema: MattermostChannelConfigSchema,
28
- config: {
29
- ...mattermostConfigAdapter,
30
- isConfigured: isMattermostConfigured,
31
- describeAccount: describeMattermostAccount
32
- },
33
- gateway: { resolveGatewayAuthBypassPaths: resolveMattermostGatewayAuthBypassPaths },
34
- setup: mattermostSetupAdapter,
35
- setupContract: mattermostSetupContract,
36
- setupWizard: mattermostSetupWizard
37
- };
38
- //#endregion
1
+ import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-BLOKRsgT.mjs";
2
+ import { t as mattermostSetupPlugin } from "./.setup/channel-plugin-api-DQ6gNcH0.mjs";
39
3
  export { mattermostPlugin, mattermostSetupPlugin };
@@ -1,2 +1,2 @@
1
- import { t as mattermostPlugin } from "./channel-plugin-runtime-DLBTUlbh.js";
1
+ import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-BLOKRsgT.mjs";
2
2
  export { mattermostPlugin };
@@ -1,2 +1,2 @@
1
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BaUvVh8e.js";
1
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-ttH0DCuq.mjs";
2
2
  export { legacyConfigRules, normalizeCompatibilityConfig };
@@ -1,2 +1,2 @@
1
- import { t as resolveMattermostGatewayAuthBypassPaths } from "./gateway-auth-bypass-CL1PxV3z.js";
1
+ import { t as resolveMattermostGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-BIXLORHU.mjs";
2
2
  export { resolveMattermostGatewayAuthBypassPaths as resolveGatewayAuthBypassPaths };
@@ -1,2 +1,2 @@
1
- import { r as isMattermostSenderAllowed } from "./monitor-auth-BOh6zLW9.js";
1
+ import { r as isMattermostSenderAllowed } from "./.setup/monitor-auth-CeakcTAO.mjs";
2
2
  export { isMattermostSenderAllowed };
@@ -1,4 +1,5 @@
1
- import { r as setMattermostRuntime } from "./runtime-CNB4YGqJ.js";
1
+ import { r as setMattermostRuntime } from "./.setup/runtime-CNB4YGqJ.mjs";
2
+ import { buildAgentMediaPayload } from "openclaw/plugin-sdk/agent-media-payload";
2
3
  import { resolveAllowlistMatchSimple } from "openclaw/plugin-sdk/allow-from";
3
4
  import { formatInboundFromLabel, logInboundDrop } from "openclaw/plugin-sdk/channel-inbound";
4
5
  import { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
@@ -20,4 +21,4 @@ import { buildComputedAccountStatusSnapshot } from "openclaw/plugin-sdk/channel-
20
21
  import { resolveStorePath } from "openclaw/plugin-sdk/session-store-runtime";
21
22
  import { normalizeAccountId, resolveThreadSessionKeys } from "openclaw/plugin-sdk/routing";
22
23
  import { normalizeProviderId } from "openclaw/plugin-sdk/provider-model-shared";
23
- export { DEFAULT_ACCOUNT_ID, DEFAULT_GROUP_HISTORY_LIMIT, GROUP_POLICY_BLOCKED_LABEL, applyAccountNameToChannelSection, applySetupAccountConfigPatch, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, buildModelsProviderData, buildPendingHistoryContextFromMap, chunkTextForOutbound, clearHistoryEntriesIfEnabled, createAccountStatusSink, createChannelHistoryWindow, createChannelMessageReplyPipeline, createChannelPairingController, createDedupeCache, formatInboundFromLabel, getAgentScopedMediaLocalRoots, isDangerousNameMatchingEnabled, isRequestBodyLimitError, isTrustedProxyAddress, listSkillCommandsForAgents, loadOutboundMediaFromUrl, logInboundDrop, logTypingFailure, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeProviderId, parseStrictPositiveInteger, rawDataToString, readRequestBodyWithLimit, recordPendingHistoryEntryIfEnabled, registerPluginHttpRoute, resolveAllowlistMatchSimple, resolveAllowlistProviderRuntimeGroupPolicy, resolveChannelMediaMaxBytes, resolveClientIp, resolveControlCommandGate, resolveDefaultGroupPolicy, resolveStorePath, resolveStoredModelOverride, resolveThreadSessionKeys, setMattermostRuntime, warnMissingProviderGroupPolicyFallbackOnce };
24
+ export { DEFAULT_ACCOUNT_ID, DEFAULT_GROUP_HISTORY_LIMIT, GROUP_POLICY_BLOCKED_LABEL, applyAccountNameToChannelSection, applySetupAccountConfigPatch, buildAgentMediaPayload, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, buildModelsProviderData, buildPendingHistoryContextFromMap, chunkTextForOutbound, clearHistoryEntriesIfEnabled, createAccountStatusSink, createChannelHistoryWindow, createChannelMessageReplyPipeline, createChannelPairingController, createDedupeCache, formatInboundFromLabel, getAgentScopedMediaLocalRoots, isDangerousNameMatchingEnabled, isRequestBodyLimitError, isTrustedProxyAddress, listSkillCommandsForAgents, loadOutboundMediaFromUrl, logInboundDrop, logTypingFailure, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeProviderId, parseStrictPositiveInteger, rawDataToString, readRequestBodyWithLimit, recordPendingHistoryEntryIfEnabled, registerPluginHttpRoute, resolveAllowlistMatchSimple, resolveAllowlistProviderRuntimeGroupPolicy, resolveChannelMediaMaxBytes, resolveClientIp, resolveControlCommandGate, resolveDefaultGroupPolicy, resolveStorePath, resolveStoredModelOverride, resolveThreadSessionKeys, setMattermostRuntime, warnMissingProviderGroupPolicyFallbackOnce };
@@ -1,2 +1,2 @@
1
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-B4R5Bmhv.js";
1
+ import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./.setup/secret-contract-Cx0LUNXy.mjs";
2
2
  export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
@@ -1,13 +1,14 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
+ import { fileURLToPath } from "node:url";
2
3
  //#region extensions/mattermost/setup-entry.ts
3
4
  var setup_entry_default = defineBundledChannelSetupEntry({
4
5
  importMetaUrl: import.meta.url,
5
6
  plugin: {
6
- specifier: "./channel-plugin-api.js",
7
+ specifier: fileURLToPath(new URL(".setup/channel-plugin-api-jFFWYXht.mjs", import.meta.url).href),
7
8
  exportName: "mattermostSetupPlugin"
8
9
  },
9
10
  secrets: {
10
- specifier: "./secret-contract-api.js",
11
+ specifier: fileURLToPath(new URL(".setup/secret-contract-api-BLTnjVCZ.mjs", import.meta.url).href),
11
12
  exportName: "channelSecrets"
12
13
  }
13
14
  });
@@ -1,2 +1,2 @@
1
- import { i as registerSlashCommandRoute } from "./slash-state-VCRdqj5F.js";
1
+ import { i as registerSlashCommandRoute } from "./.setup/slash-state-D1e1_KaK.mjs";
2
2
  export { registerSlashCommandRoute };
@@ -167,7 +167,9 @@ class PerMessageDeflate {
167
167
  (typeof opts.serverMaxWindowBits === 'number' &&
168
168
  opts.serverMaxWindowBits > params.server_max_window_bits))) ||
169
169
  (typeof opts.clientMaxWindowBits === 'number' &&
170
- !params.client_max_window_bits)
170
+ (typeof params.client_max_window_bits === 'number'
171
+ ? opts.clientMaxWindowBits > params.client_max_window_bits
172
+ : !params.client_max_window_bits))
171
173
  ) {
172
174
  return false;
173
175
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ws",
3
- "version": "8.21.1",
3
+ "version": "8.21.3",
4
4
  "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
5
5
  "keywords": [
6
6
  "HyBi",