@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
@@ -7,6 +7,12 @@
7
7
  "channels": [
8
8
  "mattermost"
9
9
  ],
10
+ "channelEnvVars": {
11
+ "mattermost": [
12
+ "MATTERMOST_BOT_TOKEN",
13
+ "MATTERMOST_URL"
14
+ ]
15
+ },
10
16
  "configSchema": {
11
17
  "type": "object",
12
18
  "additionalProperties": false,
@@ -149,21 +155,6 @@
149
155
  "requireMention": {
150
156
  "type": "boolean"
151
157
  },
152
- "implicitMentions": {
153
- "type": "object",
154
- "properties": {
155
- "replyToBot": {
156
- "type": "boolean"
157
- },
158
- "quotedBot": {
159
- "type": "boolean"
160
- },
161
- "threadParticipation": {
162
- "type": "boolean"
163
- }
164
- },
165
- "additionalProperties": false
166
- },
167
158
  "dmPolicy": {
168
159
  "default": "pairing",
169
160
  "type": "string",
@@ -214,10 +205,16 @@
214
205
  "exclusiveMinimum": 0,
215
206
  "maximum": 9007199254740991
216
207
  },
208
+ "chunkMode": {
209
+ "type": "string",
210
+ "enum": [
211
+ "length",
212
+ "newline"
213
+ ]
214
+ },
217
215
  "streaming": {
218
- "type": "object",
219
- "properties": {
220
- "mode": {
216
+ "anyOf": [
217
+ {
221
218
  "type": "string",
222
219
  "enum": [
223
220
  "off",
@@ -226,95 +223,99 @@
226
223
  "progress"
227
224
  ]
228
225
  },
229
- "chunkMode": {
230
- "type": "string",
231
- "enum": [
232
- "length",
233
- "newline"
234
- ]
226
+ {
227
+ "type": "boolean"
235
228
  },
236
- "preview": {
229
+ {
237
230
  "type": "object",
238
231
  "properties": {
239
- "toolProgress": {
240
- "type": "boolean"
241
- },
242
- "commandText": {
232
+ "mode": {
243
233
  "type": "string",
244
234
  "enum": [
245
- "raw",
246
- "status"
235
+ "off",
236
+ "partial",
237
+ "block",
238
+ "progress"
247
239
  ]
248
- }
249
- },
250
- "additionalProperties": false
251
- },
252
- "progress": {
253
- "type": "object",
254
- "properties": {
255
- "label": {
256
- "anyOf": [
257
- {
258
- "type": "string"
259
- },
260
- {
261
- "type": "boolean",
262
- "const": false
263
- }
264
- ]
265
- },
266
- "labels": {
267
- "type": "array",
268
- "items": {
269
- "type": "string"
270
- }
271
- },
272
- "maxLines": {
273
- "type": "integer",
274
- "exclusiveMinimum": 0,
275
- "maximum": 9007199254740991
276
- },
277
- "maxLineChars": {
278
- "type": "integer",
279
- "exclusiveMinimum": 0,
280
- "maximum": 9007199254740991
281
240
  },
282
- "toolProgress": {
283
- "type": "boolean"
284
- },
285
- "commandText": {
241
+ "chunkMode": {
286
242
  "type": "string",
287
243
  "enum": [
288
- "raw",
289
- "status"
244
+ "length",
245
+ "newline"
290
246
  ]
291
- }
292
- },
293
- "additionalProperties": false
294
- },
295
- "block": {
296
- "type": "object",
297
- "properties": {
298
- "enabled": {
299
- "type": "boolean"
300
247
  },
301
- "coalesce": {
248
+ "preview": {
302
249
  "type": "object",
303
250
  "properties": {
304
- "minChars": {
251
+ "toolProgress": {
252
+ "type": "boolean"
253
+ }
254
+ },
255
+ "additionalProperties": false
256
+ },
257
+ "progress": {
258
+ "type": "object",
259
+ "properties": {
260
+ "label": {
261
+ "anyOf": [
262
+ {
263
+ "type": "string"
264
+ },
265
+ {
266
+ "type": "boolean",
267
+ "const": false
268
+ }
269
+ ]
270
+ },
271
+ "labels": {
272
+ "type": "array",
273
+ "items": {
274
+ "type": "string"
275
+ }
276
+ },
277
+ "maxLines": {
305
278
  "type": "integer",
306
279
  "exclusiveMinimum": 0,
307
280
  "maximum": 9007199254740991
308
281
  },
309
- "maxChars": {
282
+ "maxLineChars": {
310
283
  "type": "integer",
311
284
  "exclusiveMinimum": 0,
312
285
  "maximum": 9007199254740991
313
286
  },
314
- "idleMs": {
315
- "type": "integer",
316
- "minimum": 0,
317
- "maximum": 9007199254740991
287
+ "toolProgress": {
288
+ "type": "boolean"
289
+ }
290
+ },
291
+ "additionalProperties": false
292
+ },
293
+ "block": {
294
+ "type": "object",
295
+ "properties": {
296
+ "enabled": {
297
+ "type": "boolean"
298
+ },
299
+ "coalesce": {
300
+ "type": "object",
301
+ "properties": {
302
+ "minChars": {
303
+ "type": "integer",
304
+ "exclusiveMinimum": 0,
305
+ "maximum": 9007199254740991
306
+ },
307
+ "maxChars": {
308
+ "type": "integer",
309
+ "exclusiveMinimum": 0,
310
+ "maximum": 9007199254740991
311
+ },
312
+ "idleMs": {
313
+ "type": "integer",
314
+ "minimum": 0,
315
+ "maximum": 9007199254740991
316
+ }
317
+ },
318
+ "additionalProperties": false
318
319
  }
319
320
  },
320
321
  "additionalProperties": false
@@ -322,6 +323,29 @@
322
323
  },
323
324
  "additionalProperties": false
324
325
  }
326
+ ]
327
+ },
328
+ "blockStreaming": {
329
+ "type": "boolean"
330
+ },
331
+ "blockStreamingCoalesce": {
332
+ "type": "object",
333
+ "properties": {
334
+ "minChars": {
335
+ "type": "integer",
336
+ "exclusiveMinimum": 0,
337
+ "maximum": 9007199254740991
338
+ },
339
+ "maxChars": {
340
+ "type": "integer",
341
+ "exclusiveMinimum": 0,
342
+ "maximum": 9007199254740991
343
+ },
344
+ "idleMs": {
345
+ "type": "integer",
346
+ "minimum": 0,
347
+ "maximum": 9007199254740991
348
+ }
325
349
  },
326
350
  "additionalProperties": false
327
351
  },
@@ -334,39 +358,6 @@
334
358
  "batched"
335
359
  ]
336
360
  },
337
- "replyToModeByChatType": {
338
- "type": "object",
339
- "properties": {
340
- "direct": {
341
- "type": "string",
342
- "enum": [
343
- "off",
344
- "first",
345
- "all",
346
- "batched"
347
- ]
348
- },
349
- "group": {
350
- "type": "string",
351
- "enum": [
352
- "off",
353
- "first",
354
- "all",
355
- "batched"
356
- ]
357
- },
358
- "channel": {
359
- "type": "string",
360
- "enum": [
361
- "off",
362
- "first",
363
- "all",
364
- "batched"
365
- ]
366
- }
367
- },
368
- "additionalProperties": false
369
- },
370
361
  "responsePrefix": {
371
362
  "type": "string"
372
363
  },
@@ -617,21 +608,6 @@
617
608
  "requireMention": {
618
609
  "type": "boolean"
619
610
  },
620
- "implicitMentions": {
621
- "type": "object",
622
- "properties": {
623
- "replyToBot": {
624
- "type": "boolean"
625
- },
626
- "quotedBot": {
627
- "type": "boolean"
628
- },
629
- "threadParticipation": {
630
- "type": "boolean"
631
- }
632
- },
633
- "additionalProperties": false
634
- },
635
611
  "dmPolicy": {
636
612
  "default": "pairing",
637
613
  "type": "string",
@@ -682,10 +658,16 @@
682
658
  "exclusiveMinimum": 0,
683
659
  "maximum": 9007199254740991
684
660
  },
661
+ "chunkMode": {
662
+ "type": "string",
663
+ "enum": [
664
+ "length",
665
+ "newline"
666
+ ]
667
+ },
685
668
  "streaming": {
686
- "type": "object",
687
- "properties": {
688
- "mode": {
669
+ "anyOf": [
670
+ {
689
671
  "type": "string",
690
672
  "enum": [
691
673
  "off",
@@ -694,95 +676,99 @@
694
676
  "progress"
695
677
  ]
696
678
  },
697
- "chunkMode": {
698
- "type": "string",
699
- "enum": [
700
- "length",
701
- "newline"
702
- ]
679
+ {
680
+ "type": "boolean"
703
681
  },
704
- "preview": {
682
+ {
705
683
  "type": "object",
706
684
  "properties": {
707
- "toolProgress": {
708
- "type": "boolean"
709
- },
710
- "commandText": {
685
+ "mode": {
711
686
  "type": "string",
712
687
  "enum": [
713
- "raw",
714
- "status"
715
- ]
716
- }
717
- },
718
- "additionalProperties": false
719
- },
720
- "progress": {
721
- "type": "object",
722
- "properties": {
723
- "label": {
724
- "anyOf": [
725
- {
726
- "type": "string"
727
- },
728
- {
729
- "type": "boolean",
730
- "const": false
731
- }
688
+ "off",
689
+ "partial",
690
+ "block",
691
+ "progress"
732
692
  ]
733
693
  },
734
- "labels": {
735
- "type": "array",
736
- "items": {
737
- "type": "string"
738
- }
739
- },
740
- "maxLines": {
741
- "type": "integer",
742
- "exclusiveMinimum": 0,
743
- "maximum": 9007199254740991
744
- },
745
- "maxLineChars": {
746
- "type": "integer",
747
- "exclusiveMinimum": 0,
748
- "maximum": 9007199254740991
749
- },
750
- "toolProgress": {
751
- "type": "boolean"
752
- },
753
- "commandText": {
694
+ "chunkMode": {
754
695
  "type": "string",
755
696
  "enum": [
756
- "raw",
757
- "status"
697
+ "length",
698
+ "newline"
758
699
  ]
759
- }
760
- },
761
- "additionalProperties": false
762
- },
763
- "block": {
764
- "type": "object",
765
- "properties": {
766
- "enabled": {
767
- "type": "boolean"
768
700
  },
769
- "coalesce": {
701
+ "preview": {
702
+ "type": "object",
703
+ "properties": {
704
+ "toolProgress": {
705
+ "type": "boolean"
706
+ }
707
+ },
708
+ "additionalProperties": false
709
+ },
710
+ "progress": {
770
711
  "type": "object",
771
712
  "properties": {
772
- "minChars": {
713
+ "label": {
714
+ "anyOf": [
715
+ {
716
+ "type": "string"
717
+ },
718
+ {
719
+ "type": "boolean",
720
+ "const": false
721
+ }
722
+ ]
723
+ },
724
+ "labels": {
725
+ "type": "array",
726
+ "items": {
727
+ "type": "string"
728
+ }
729
+ },
730
+ "maxLines": {
773
731
  "type": "integer",
774
732
  "exclusiveMinimum": 0,
775
733
  "maximum": 9007199254740991
776
734
  },
777
- "maxChars": {
735
+ "maxLineChars": {
778
736
  "type": "integer",
779
737
  "exclusiveMinimum": 0,
780
738
  "maximum": 9007199254740991
781
739
  },
782
- "idleMs": {
783
- "type": "integer",
784
- "minimum": 0,
785
- "maximum": 9007199254740991
740
+ "toolProgress": {
741
+ "type": "boolean"
742
+ }
743
+ },
744
+ "additionalProperties": false
745
+ },
746
+ "block": {
747
+ "type": "object",
748
+ "properties": {
749
+ "enabled": {
750
+ "type": "boolean"
751
+ },
752
+ "coalesce": {
753
+ "type": "object",
754
+ "properties": {
755
+ "minChars": {
756
+ "type": "integer",
757
+ "exclusiveMinimum": 0,
758
+ "maximum": 9007199254740991
759
+ },
760
+ "maxChars": {
761
+ "type": "integer",
762
+ "exclusiveMinimum": 0,
763
+ "maximum": 9007199254740991
764
+ },
765
+ "idleMs": {
766
+ "type": "integer",
767
+ "minimum": 0,
768
+ "maximum": 9007199254740991
769
+ }
770
+ },
771
+ "additionalProperties": false
786
772
  }
787
773
  },
788
774
  "additionalProperties": false
@@ -790,6 +776,29 @@
790
776
  },
791
777
  "additionalProperties": false
792
778
  }
779
+ ]
780
+ },
781
+ "blockStreaming": {
782
+ "type": "boolean"
783
+ },
784
+ "blockStreamingCoalesce": {
785
+ "type": "object",
786
+ "properties": {
787
+ "minChars": {
788
+ "type": "integer",
789
+ "exclusiveMinimum": 0,
790
+ "maximum": 9007199254740991
791
+ },
792
+ "maxChars": {
793
+ "type": "integer",
794
+ "exclusiveMinimum": 0,
795
+ "maximum": 9007199254740991
796
+ },
797
+ "idleMs": {
798
+ "type": "integer",
799
+ "minimum": 0,
800
+ "maximum": 9007199254740991
801
+ }
793
802
  },
794
803
  "additionalProperties": false
795
804
  },
@@ -802,39 +811,6 @@
802
811
  "batched"
803
812
  ]
804
813
  },
805
- "replyToModeByChatType": {
806
- "type": "object",
807
- "properties": {
808
- "direct": {
809
- "type": "string",
810
- "enum": [
811
- "off",
812
- "first",
813
- "all",
814
- "batched"
815
- ]
816
- },
817
- "group": {
818
- "type": "string",
819
- "enum": [
820
- "off",
821
- "first",
822
- "all",
823
- "batched"
824
- ]
825
- },
826
- "channel": {
827
- "type": "string",
828
- "enum": [
829
- "off",
830
- "first",
831
- "all",
832
- "batched"
833
- ]
834
- }
835
- },
836
- "additionalProperties": false
837
- },
838
814
  "responsePrefix": {
839
815
  "type": "string"
840
816
  },
@@ -975,22 +951,6 @@
975
951
  "label": "Mattermost DM Policy",
976
952
  "help": "Direct message access control (\"pairing\" recommended). \"open\" requires channels.mattermost.allowFrom=[\"*\"]."
977
953
  },
978
- "implicitMentions": {
979
- "label": "Mattermost Implicit Mentions",
980
- "help": "Control which Mattermost reply, quote, and thread-participation signals count as mentions. Unset flags preserve the channel defaults."
981
- },
982
- "implicitMentions.replyToBot": {
983
- "label": "Mattermost Replies to Bot",
984
- "help": "Treat replies to the bot's own messages as implicit mentions when the channel reports that signal."
985
- },
986
- "implicitMentions.quotedBot": {
987
- "label": "Mattermost Quoted Bot Messages",
988
- "help": "Treat messages quoting the bot as implicit mentions when the channel reports that signal."
989
- },
990
- "implicitMentions.threadParticipation": {
991
- "label": "Mattermost Thread Participation",
992
- "help": "Treat follow-ups in threads where the bot participated as implicit mentions when the channel reports that signal."
993
- },
994
954
  "streaming": {
995
955
  "label": "Mattermost Streaming Mode",
996
956
  "help": "Unified Mattermost stream preview mode: \"off\" | \"partial\" | \"block\" | \"progress\". \"progress\" keeps a single editable progress draft until final delivery."
@@ -1005,7 +965,7 @@
1005
965
  },
1006
966
  "streaming.progress.labels": {
1007
967
  "label": "Mattermost Progress Label Pool",
1008
- "help": "Candidate labels for streaming.progress.label=\"auto\". Leave unset to use the built-in \"Working\" label."
968
+ "help": "Candidate labels for streaming.progress.label=\"auto\". Leave unset to use OpenClaw built-in progress labels."
1009
969
  },
1010
970
  "streaming.progress.maxLines": {
1011
971
  "label": "Mattermost Progress Max Lines",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.7.2-beta.5",
3
+ "version": "2026.7.33",
4
4
  "description": "OpenClaw Mattermost channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,11 +8,11 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "ws": "8.21.1",
11
+ "ws": "8.21.3",
12
12
  "zod": "4.4.3"
13
13
  },
14
14
  "peerDependencies": {
15
- "openclaw": ">=2026.7.2-beta.5"
15
+ "openclaw": ">=2026.7.33"
16
16
  },
17
17
  "peerDependenciesMeta": {
18
18
  "openclaw": {
@@ -26,58 +26,12 @@
26
26
  "setupEntry": "./dist/setup-entry.js",
27
27
  "channel": {
28
28
  "id": "mattermost",
29
- "configuredState": {
30
- "env": {
31
- "allOf": [
32
- "MATTERMOST_BOT_TOKEN",
33
- "MATTERMOST_URL"
34
- ]
35
- }
36
- },
37
29
  "label": "Mattermost",
38
30
  "selectionLabel": "Mattermost (plugin)",
39
31
  "docsPath": "/channels/mattermost",
40
32
  "docsLabel": "mattermost",
41
33
  "blurb": "self-hosted Slack-style chat; install the plugin to enable.",
42
- "order": 65,
43
- "setup": {
44
- "fields": [
45
- {
46
- "key": "token",
47
- "kind": "string",
48
- "sensitive": true,
49
- "cli": {
50
- "flags": "--token <token>",
51
- "description": "Mattermost bot token"
52
- }
53
- },
54
- {
55
- "key": "botToken",
56
- "kind": "string",
57
- "sensitive": true,
58
- "cli": {
59
- "flags": "--bot-token <token>",
60
- "description": "Mattermost bot token"
61
- }
62
- },
63
- {
64
- "key": "httpUrl",
65
- "kind": "string",
66
- "cli": {
67
- "flags": "--http-url <url>",
68
- "description": "Mattermost server URL"
69
- }
70
- },
71
- {
72
- "key": "useEnv",
73
- "kind": "boolean",
74
- "cli": {
75
- "flags": "--use-env",
76
- "description": "Use Mattermost environment credentials"
77
- }
78
- }
79
- ]
80
- }
34
+ "order": 65
81
35
  },
82
36
  "install": {
83
37
  "clawhubSpec": "clawhub:@openclaw/mattermost",
@@ -87,10 +41,10 @@
87
41
  "allowInvalidConfigRecovery": true
88
42
  },
89
43
  "compat": {
90
- "pluginApi": ">=2026.7.2-beta.5"
44
+ "pluginApi": ">=2026.7.33"
91
45
  },
92
46
  "build": {
93
- "openclawVersion": "2026.7.2-beta.5",
47
+ "openclawVersion": "2026.7.33",
94
48
  "bundledDist": false
95
49
  },
96
50
  "release": {