@openclaw/mattermost 2026.11.3 → 2026.11.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/.setup/channel-plugin-api-ClU67Wyc.mjs +1 -0
  2. package/dist/.setup/{channel-plugin-runtime-DJgVmmbD.mjs → channel-plugin-api-CuxSSPV8.mjs} +146 -130
  3. package/dist/.setup/{channel.runtime-Cl_09ZUI.mjs → channel.runtime-B3RvYLQi.mjs} +28 -34
  4. package/dist/.setup/{client-B_4C9q6z.mjs → client-CR-hGmGr.mjs} +11 -84
  5. package/dist/.setup/{interactions-LQ_rJSdf.mjs → interactions-D5hhyPam.mjs} +23 -36
  6. package/dist/.setup/{monitor-CmsQnrEk.mjs → monitor-Bw_pTSF8.mjs} +292 -400
  7. package/dist/.setup/{monitor-auth-rr4M-8gH.mjs → monitor-auth-BxpEUfvc.mjs} +5 -11
  8. package/dist/.setup/{normalize-Dli2PK7k.mjs → normalize-CNFRtT1O.mjs} +21 -7
  9. package/dist/.setup/secret-contract-api-Drz4m5pq.mjs +2 -0
  10. package/dist/.setup/{send-C_-GT5iF.mjs → send-BSae9PKV.mjs} +100 -198
  11. package/dist/.setup/{slash-state-DJN_cER0.mjs → slash-state-DpZH2wr6.mjs} +362 -409
  12. package/dist/.source-module-urls/8fb0cb1067b83fd2cf3f3ba0f7a23e627c27e8e3adf1a4ea18753ddb884ff71e.json +1 -0
  13. package/dist/api.js +2 -2
  14. package/dist/channel-plugin-api.js +1 -2
  15. package/dist/doctor-contract-api.js +1 -2
  16. package/dist/gateway-auth-api.js +1 -2
  17. package/dist/policy-api.js +1 -2
  18. package/dist/runtime-api.js +1 -2
  19. package/dist/secret-contract-api.js +1 -2
  20. package/dist/setup-entry.js +2 -2
  21. package/dist/slash-route-api.js +1 -2
  22. package/node_modules/zod/package.json +1 -1
  23. package/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
  24. package/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
  25. package/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
  26. package/node_modules/zod/src/v4/core/compile.ts +9 -0
  27. package/node_modules/zod/src/v4/core/schemas.ts +35 -1
  28. package/node_modules/zod/src/v4/core/util.ts +13 -0
  29. package/node_modules/zod/src/v4/core/versions.ts +1 -1
  30. package/node_modules/zod/v4/core/compile.cjs +8 -0
  31. package/node_modules/zod/v4/core/compile.js +8 -0
  32. package/node_modules/zod/v4/core/schemas.cjs +30 -0
  33. package/node_modules/zod/v4/core/schemas.d.cts +3 -1
  34. package/node_modules/zod/v4/core/schemas.d.ts +3 -1
  35. package/node_modules/zod/v4/core/schemas.js +30 -0
  36. package/node_modules/zod/v4/core/util.cjs +15 -0
  37. package/node_modules/zod/v4/core/util.d.cts +2 -0
  38. package/node_modules/zod/v4/core/util.d.ts +2 -0
  39. package/node_modules/zod/v4/core/util.js +14 -0
  40. package/node_modules/zod/v4/core/versions.cjs +1 -1
  41. package/node_modules/zod/v4/core/versions.js +1 -1
  42. package/openclaw.plugin.json +172 -0
  43. package/package.json +5 -5
  44. package/dist/.setup/channel-plugin-api-BKpd51G7.mjs +0 -3
  45. package/dist/.setup/secret-contract-api-BGz5_6WD.mjs +0 -3
  46. package/dist/channel-plugin-runtime.js +0 -2
@@ -199,6 +199,41 @@
199
199
  "requireMentionInBotThreads": {
200
200
  "type": "boolean"
201
201
  },
202
+ "allowBots": {
203
+ "anyOf": [
204
+ {
205
+ "type": "boolean"
206
+ },
207
+ {
208
+ "type": "string",
209
+ "const": "mentions"
210
+ }
211
+ ]
212
+ },
213
+ "botLoopProtection": {
214
+ "type": "object",
215
+ "properties": {
216
+ "enabled": {
217
+ "type": "boolean"
218
+ },
219
+ "maxEventsPerWindow": {
220
+ "type": "integer",
221
+ "exclusiveMinimum": 0,
222
+ "maximum": 9007199254740991
223
+ },
224
+ "windowSeconds": {
225
+ "type": "integer",
226
+ "exclusiveMinimum": 0,
227
+ "maximum": 9007199254740991
228
+ },
229
+ "cooldownSeconds": {
230
+ "type": "integer",
231
+ "exclusiveMinimum": 0,
232
+ "maximum": 9007199254740991
233
+ }
234
+ },
235
+ "additionalProperties": false
236
+ },
202
237
  "implicitMentions": {
203
238
  "type": "object",
204
239
  "properties": {
@@ -486,6 +521,41 @@
486
521
  },
487
522
  "requireMentionInBotThreads": {
488
523
  "type": "boolean"
524
+ },
525
+ "allowBots": {
526
+ "anyOf": [
527
+ {
528
+ "type": "boolean"
529
+ },
530
+ {
531
+ "type": "string",
532
+ "const": "mentions"
533
+ }
534
+ ]
535
+ },
536
+ "botLoopProtection": {
537
+ "type": "object",
538
+ "properties": {
539
+ "enabled": {
540
+ "type": "boolean"
541
+ },
542
+ "maxEventsPerWindow": {
543
+ "type": "integer",
544
+ "exclusiveMinimum": 0,
545
+ "maximum": 9007199254740991
546
+ },
547
+ "windowSeconds": {
548
+ "type": "integer",
549
+ "exclusiveMinimum": 0,
550
+ "maximum": 9007199254740991
551
+ },
552
+ "cooldownSeconds": {
553
+ "type": "integer",
554
+ "exclusiveMinimum": 0,
555
+ "maximum": 9007199254740991
556
+ }
557
+ },
558
+ "additionalProperties": false
489
559
  }
490
560
  },
491
561
  "additionalProperties": false
@@ -708,6 +778,41 @@
708
778
  "requireMentionInBotThreads": {
709
779
  "type": "boolean"
710
780
  },
781
+ "allowBots": {
782
+ "anyOf": [
783
+ {
784
+ "type": "boolean"
785
+ },
786
+ {
787
+ "type": "string",
788
+ "const": "mentions"
789
+ }
790
+ ]
791
+ },
792
+ "botLoopProtection": {
793
+ "type": "object",
794
+ "properties": {
795
+ "enabled": {
796
+ "type": "boolean"
797
+ },
798
+ "maxEventsPerWindow": {
799
+ "type": "integer",
800
+ "exclusiveMinimum": 0,
801
+ "maximum": 9007199254740991
802
+ },
803
+ "windowSeconds": {
804
+ "type": "integer",
805
+ "exclusiveMinimum": 0,
806
+ "maximum": 9007199254740991
807
+ },
808
+ "cooldownSeconds": {
809
+ "type": "integer",
810
+ "exclusiveMinimum": 0,
811
+ "maximum": 9007199254740991
812
+ }
813
+ },
814
+ "additionalProperties": false
815
+ },
711
816
  "implicitMentions": {
712
817
  "type": "object",
713
818
  "properties": {
@@ -995,6 +1100,41 @@
995
1100
  },
996
1101
  "requireMentionInBotThreads": {
997
1102
  "type": "boolean"
1103
+ },
1104
+ "allowBots": {
1105
+ "anyOf": [
1106
+ {
1107
+ "type": "boolean"
1108
+ },
1109
+ {
1110
+ "type": "string",
1111
+ "const": "mentions"
1112
+ }
1113
+ ]
1114
+ },
1115
+ "botLoopProtection": {
1116
+ "type": "object",
1117
+ "properties": {
1118
+ "enabled": {
1119
+ "type": "boolean"
1120
+ },
1121
+ "maxEventsPerWindow": {
1122
+ "type": "integer",
1123
+ "exclusiveMinimum": 0,
1124
+ "maximum": 9007199254740991
1125
+ },
1126
+ "windowSeconds": {
1127
+ "type": "integer",
1128
+ "exclusiveMinimum": 0,
1129
+ "maximum": 9007199254740991
1130
+ },
1131
+ "cooldownSeconds": {
1132
+ "type": "integer",
1133
+ "exclusiveMinimum": 0,
1134
+ "maximum": 9007199254740991
1135
+ }
1136
+ },
1137
+ "additionalProperties": false
998
1138
  }
999
1139
  },
1000
1140
  "additionalProperties": false
@@ -1068,6 +1208,38 @@
1068
1208
  "label": "Mention in Bot Threads",
1069
1209
  "help": "Override bot-created thread mention policy for this Mattermost channel. Exact channel settings override the wildcard, then the account setting."
1070
1210
  },
1211
+ "allowBots": {
1212
+ "label": "Mattermost Allow Bot Posts",
1213
+ "help": "Allow posts from Mattermost bot accounts to trigger replies (default: true). Set false to ignore them, or \"mentions\" to require an explicit @mention or onchar trigger in channels; thread participation does not count. Access, mention, and loop-protection rules still apply."
1214
+ },
1215
+ "groups.*.allowBots": {
1216
+ "label": "Mattermost Allow Bot Posts",
1217
+ "help": "Override allowBots for this Mattermost channel. Exact channel settings override the wildcard, then the account setting."
1218
+ },
1219
+ "botLoopProtection": {
1220
+ "label": "Mattermost Bot Loop Protection",
1221
+ "help": "Sliding-window guard for Mattermost bot-to-bot loops. Default is enabled whenever allowBots lets bot posts reach dispatch."
1222
+ },
1223
+ "botLoopProtection.enabled": {
1224
+ "label": "Mattermost Bot Loop Protection Enabled",
1225
+ "help": "Enable the bot-pair loop guard. Defaults to true when allowBots is true or \"mentions\"; bot posts are ignored when allowBots is false."
1226
+ },
1227
+ "botLoopProtection.maxEventsPerWindow": {
1228
+ "label": "Mattermost Bot Loop Events per Window",
1229
+ "help": "Maximum accepted bot-pair posts within the sliding window before suppression starts. Default: 20."
1230
+ },
1231
+ "botLoopProtection.windowSeconds": {
1232
+ "label": "Mattermost Bot Loop Window Seconds",
1233
+ "help": "Sliding window length for counting bot-pair posts. Default: 60."
1234
+ },
1235
+ "botLoopProtection.cooldownSeconds": {
1236
+ "label": "Mattermost Bot Loop Cooldown Seconds",
1237
+ "help": "How long to suppress the bot pair after it exceeds the budget. Default: 60."
1238
+ },
1239
+ "groups.*.botLoopProtection": {
1240
+ "label": "Mattermost Channel Bot Loop Protection",
1241
+ "help": "Per-channel loop guard overrides, merged key by key over the wildcard and account settings."
1242
+ },
1071
1243
  "dmPolicy": {
1072
1244
  "label": "Mattermost DM Policy",
1073
1245
  "help": "Direct message access control (\"pairing\" recommended). \"open\" requires channels.mattermost.allowFrom=[\"*\"]."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.11.3",
3
+ "version": "2026.11.5-beta.2",
4
4
  "description": "OpenClaw Mattermost channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "zod": "4.6.5"
11
+ "zod": "4.6.7"
12
12
  },
13
13
  "peerDependencies": {
14
- "openclaw": ">=2026.11.3"
14
+ "openclaw": ">=2026.11.5-beta.2"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "openclaw": {
@@ -93,10 +93,10 @@
93
93
  "allowInvalidConfigRecovery": true
94
94
  },
95
95
  "compat": {
96
- "pluginApi": ">=2026.11.3"
96
+ "pluginApi": ">=2026.11.5-beta.2"
97
97
  },
98
98
  "build": {
99
- "openclawVersion": "2026.11.3",
99
+ "openclawVersion": "2026.11.5-beta.2",
100
100
  "bundledDist": false
101
101
  },
102
102
  "release": {
@@ -1,3 +0,0 @@
1
- import { n as mattermostSetupPlugin, t as mattermostPlugin } from "./channel-plugin-runtime-DJgVmmbD.mjs";
2
- import "../channel-plugin-api.js";
3
- export { mattermostPlugin, mattermostSetupPlugin };
@@ -1,3 +0,0 @@
1
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-fjlTFCmD.mjs";
2
- import "../secret-contract-api.js";
3
- export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
@@ -1,2 +0,0 @@
1
- import { t as mattermostPlugin } from "./.setup/channel-plugin-runtime-DJgVmmbD.mjs";
2
- export { mattermostPlugin };