@openclaw/mattermost 2026.7.2-beta.7 → 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-CqqzTcno.js → .setup/accounts-CkvUBI7I.mjs} +101 -55
  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-DlrMaSIu.js → .setup/channel-plugin-runtime-BLOKRsgT.mjs} +260 -344
  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-rctDliGZ.js → .setup/monitor-auth-CeakcTAO.mjs} +13 -14
  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-DM8qmFJR.js → .setup/slash-state-D1e1_KaK.mjs} +572 -311
  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 +231 -277
  25. package/package.json +6 -52
  26. package/dist/accounts-NaMdx9yF.js +0 -86
  27. package/dist/channel.runtime-DndW9G7T.js +0 -3207
  28. package/dist/doctor-contract-BaUvVh8e.js +0 -19
  29. package/dist/interactions-BQXY_48h.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"
247
- ]
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
- }
235
+ "off",
236
+ "partial",
237
+ "block",
238
+ "progress"
264
239
  ]
265
240
  },
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
- },
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": {
249
+ "type": "object",
250
+ "properties": {
251
+ "toolProgress": {
252
+ "type": "boolean"
253
+ }
254
+ },
255
+ "additionalProperties": false
256
+ },
257
+ "progress": {
302
258
  "type": "object",
303
259
  "properties": {
304
- "minChars": {
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,48 +358,12 @@
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
  },
373
364
  "actions": {
374
365
  "type": "object",
375
366
  "properties": {
376
- "messages": {
377
- "type": "boolean"
378
- },
379
367
  "reactions": {
380
368
  "type": "boolean"
381
369
  }
@@ -620,21 +608,6 @@
620
608
  "requireMention": {
621
609
  "type": "boolean"
622
610
  },
623
- "implicitMentions": {
624
- "type": "object",
625
- "properties": {
626
- "replyToBot": {
627
- "type": "boolean"
628
- },
629
- "quotedBot": {
630
- "type": "boolean"
631
- },
632
- "threadParticipation": {
633
- "type": "boolean"
634
- }
635
- },
636
- "additionalProperties": false
637
- },
638
611
  "dmPolicy": {
639
612
  "default": "pairing",
640
613
  "type": "string",
@@ -685,10 +658,16 @@
685
658
  "exclusiveMinimum": 0,
686
659
  "maximum": 9007199254740991
687
660
  },
661
+ "chunkMode": {
662
+ "type": "string",
663
+ "enum": [
664
+ "length",
665
+ "newline"
666
+ ]
667
+ },
688
668
  "streaming": {
689
- "type": "object",
690
- "properties": {
691
- "mode": {
669
+ "anyOf": [
670
+ {
692
671
  "type": "string",
693
672
  "enum": [
694
673
  "off",
@@ -697,95 +676,99 @@
697
676
  "progress"
698
677
  ]
699
678
  },
700
- "chunkMode": {
701
- "type": "string",
702
- "enum": [
703
- "length",
704
- "newline"
705
- ]
679
+ {
680
+ "type": "boolean"
706
681
  },
707
- "preview": {
682
+ {
708
683
  "type": "object",
709
684
  "properties": {
710
- "toolProgress": {
711
- "type": "boolean"
712
- },
713
- "commandText": {
685
+ "mode": {
714
686
  "type": "string",
715
687
  "enum": [
716
- "raw",
717
- "status"
688
+ "off",
689
+ "partial",
690
+ "block",
691
+ "progress"
718
692
  ]
719
- }
720
- },
721
- "additionalProperties": false
722
- },
723
- "progress": {
724
- "type": "object",
725
- "properties": {
726
- "label": {
727
- "anyOf": [
728
- {
729
- "type": "string"
730
- },
731
- {
732
- "type": "boolean",
733
- "const": false
734
- }
735
- ]
736
- },
737
- "labels": {
738
- "type": "array",
739
- "items": {
740
- "type": "string"
741
- }
742
- },
743
- "maxLines": {
744
- "type": "integer",
745
- "exclusiveMinimum": 0,
746
- "maximum": 9007199254740991
747
- },
748
- "maxLineChars": {
749
- "type": "integer",
750
- "exclusiveMinimum": 0,
751
- "maximum": 9007199254740991
752
- },
753
- "toolProgress": {
754
- "type": "boolean"
755
693
  },
756
- "commandText": {
694
+ "chunkMode": {
757
695
  "type": "string",
758
696
  "enum": [
759
- "raw",
760
- "status"
697
+ "length",
698
+ "newline"
761
699
  ]
762
- }
763
- },
764
- "additionalProperties": false
765
- },
766
- "block": {
767
- "type": "object",
768
- "properties": {
769
- "enabled": {
770
- "type": "boolean"
771
700
  },
772
- "coalesce": {
701
+ "preview": {
773
702
  "type": "object",
774
703
  "properties": {
775
- "minChars": {
704
+ "toolProgress": {
705
+ "type": "boolean"
706
+ }
707
+ },
708
+ "additionalProperties": false
709
+ },
710
+ "progress": {
711
+ "type": "object",
712
+ "properties": {
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": {
776
731
  "type": "integer",
777
732
  "exclusiveMinimum": 0,
778
733
  "maximum": 9007199254740991
779
734
  },
780
- "maxChars": {
735
+ "maxLineChars": {
781
736
  "type": "integer",
782
737
  "exclusiveMinimum": 0,
783
738
  "maximum": 9007199254740991
784
739
  },
785
- "idleMs": {
786
- "type": "integer",
787
- "minimum": 0,
788
- "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
789
772
  }
790
773
  },
791
774
  "additionalProperties": false
@@ -793,6 +776,29 @@
793
776
  },
794
777
  "additionalProperties": false
795
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
+ }
796
802
  },
797
803
  "additionalProperties": false
798
804
  },
@@ -805,48 +811,12 @@
805
811
  "batched"
806
812
  ]
807
813
  },
808
- "replyToModeByChatType": {
809
- "type": "object",
810
- "properties": {
811
- "direct": {
812
- "type": "string",
813
- "enum": [
814
- "off",
815
- "first",
816
- "all",
817
- "batched"
818
- ]
819
- },
820
- "group": {
821
- "type": "string",
822
- "enum": [
823
- "off",
824
- "first",
825
- "all",
826
- "batched"
827
- ]
828
- },
829
- "channel": {
830
- "type": "string",
831
- "enum": [
832
- "off",
833
- "first",
834
- "all",
835
- "batched"
836
- ]
837
- }
838
- },
839
- "additionalProperties": false
840
- },
841
814
  "responsePrefix": {
842
815
  "type": "string"
843
816
  },
844
817
  "actions": {
845
818
  "type": "object",
846
819
  "properties": {
847
- "messages": {
848
- "type": "boolean"
849
- },
850
820
  "reactions": {
851
821
  "type": "boolean"
852
822
  }
@@ -981,22 +951,6 @@
981
951
  "label": "Mattermost DM Policy",
982
952
  "help": "Direct message access control (\"pairing\" recommended). \"open\" requires channels.mattermost.allowFrom=[\"*\"]."
983
953
  },
984
- "implicitMentions": {
985
- "label": "Mattermost Implicit Mentions",
986
- "help": "Control which Mattermost reply, quote, and thread-participation signals count as mentions. Unset flags preserve the channel defaults."
987
- },
988
- "implicitMentions.replyToBot": {
989
- "label": "Mattermost Replies to Bot",
990
- "help": "Treat replies to the bot's own messages as implicit mentions when the channel reports that signal."
991
- },
992
- "implicitMentions.quotedBot": {
993
- "label": "Mattermost Quoted Bot Messages",
994
- "help": "Treat messages quoting the bot as implicit mentions when the channel reports that signal."
995
- },
996
- "implicitMentions.threadParticipation": {
997
- "label": "Mattermost Thread Participation",
998
- "help": "Treat follow-ups in threads where the bot participated as implicit mentions when the channel reports that signal."
999
- },
1000
954
  "streaming": {
1001
955
  "label": "Mattermost Streaming Mode",
1002
956
  "help": "Unified Mattermost stream preview mode: \"off\" | \"partial\" | \"block\" | \"progress\". \"progress\" keeps a single editable progress draft until final delivery."
@@ -1005,29 +959,13 @@
1005
959
  "label": "Mattermost Streaming Mode",
1006
960
  "help": "Canonical Mattermost preview mode: \"off\" | \"partial\" | \"block\" | \"progress\"."
1007
961
  },
1008
- "streaming.block.enabled": {
1009
- "label": "Mattermost Block Streaming Enabled",
1010
- "help": "Enable chunked block-style Mattermost preview delivery when channels.mattermost.streaming.mode=\"block\"."
1011
- },
1012
- "streaming.block.coalesce": {
1013
- "label": "Mattermost Block Streaming Coalesce",
1014
- "help": "Merge streamed Mattermost block replies before final delivery."
1015
- },
1016
- "streaming.preview.toolProgress": {
1017
- "label": "Mattermost Draft Tool Progress",
1018
- "help": "Show tool/progress activity in the live draft preview post (default: true). Set false to hide interim tool updates while the draft preview stays active."
1019
- },
1020
- "streaming.preview.commandText": {
1021
- "label": "Mattermost Draft Command Text",
1022
- "help": "Command/exec detail in preview tool-progress lines: \"raw\" preserves released behavior; \"status\" shows only the tool label."
1023
- },
1024
962
  "streaming.progress.label": {
1025
963
  "label": "Mattermost Progress Label",
1026
964
  "help": "Initial progress draft title. Use \"auto\" for built-in single-word labels, a custom string, or false to hide the title."
1027
965
  },
1028
966
  "streaming.progress.labels": {
1029
967
  "label": "Mattermost Progress Label Pool",
1030
- "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."
1031
969
  },
1032
970
  "streaming.progress.maxLines": {
1033
971
  "label": "Mattermost Progress Max Lines",
@@ -1044,6 +982,22 @@
1044
982
  "streaming.progress.commandText": {
1045
983
  "label": "Mattermost Progress Command Text",
1046
984
  "help": "Command/exec detail in progress draft lines: \"raw\" preserves released behavior; \"status\" shows only the tool label."
985
+ },
986
+ "streaming.preview.toolProgress": {
987
+ "label": "Mattermost Draft Tool Progress",
988
+ "help": "Show tool/progress activity in the live draft preview post (default: true). Set false to hide interim tool updates while the draft preview stays active."
989
+ },
990
+ "streaming.preview.commandText": {
991
+ "label": "Mattermost Draft Command Text",
992
+ "help": "Command/exec detail in preview tool-progress lines: \"raw\" preserves released behavior; \"status\" shows only the tool label."
993
+ },
994
+ "streaming.block.enabled": {
995
+ "label": "Mattermost Block Streaming Enabled",
996
+ "help": "Enable chunked block-style Mattermost preview delivery when channels.mattermost.streaming.mode=\"block\"."
997
+ },
998
+ "streaming.block.coalesce": {
999
+ "label": "Mattermost Block Streaming Coalesce",
1000
+ "help": "Merge streamed Mattermost block replies before final delivery."
1047
1001
  }
1048
1002
  }
1049
1003
  }