@openclaw/mattermost 2026.7.1 → 2026.7.2-beta.1

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.
@@ -205,16 +205,10 @@
205
205
  "exclusiveMinimum": 0,
206
206
  "maximum": 9007199254740991
207
207
  },
208
- "chunkMode": {
209
- "type": "string",
210
- "enum": [
211
- "length",
212
- "newline"
213
- ]
214
- },
215
208
  "streaming": {
216
- "anyOf": [
217
- {
209
+ "type": "object",
210
+ "properties": {
211
+ "mode": {
218
212
  "type": "string",
219
213
  "enum": [
220
214
  "off",
@@ -223,99 +217,81 @@
223
217
  "progress"
224
218
  ]
225
219
  },
226
- {
227
- "type": "boolean"
220
+ "chunkMode": {
221
+ "type": "string",
222
+ "enum": [
223
+ "length",
224
+ "newline"
225
+ ]
228
226
  },
229
- {
227
+ "preview": {
230
228
  "type": "object",
231
229
  "properties": {
232
- "mode": {
233
- "type": "string",
234
- "enum": [
235
- "off",
236
- "partial",
237
- "block",
238
- "progress"
230
+ "toolProgress": {
231
+ "type": "boolean"
232
+ }
233
+ },
234
+ "additionalProperties": false
235
+ },
236
+ "progress": {
237
+ "type": "object",
238
+ "properties": {
239
+ "label": {
240
+ "anyOf": [
241
+ {
242
+ "type": "string"
243
+ },
244
+ {
245
+ "type": "boolean",
246
+ "const": false
247
+ }
239
248
  ]
240
249
  },
241
- "chunkMode": {
242
- "type": "string",
243
- "enum": [
244
- "length",
245
- "newline"
246
- ]
250
+ "labels": {
251
+ "type": "array",
252
+ "items": {
253
+ "type": "string"
254
+ }
247
255
  },
248
- "preview": {
249
- "type": "object",
250
- "properties": {
251
- "toolProgress": {
252
- "type": "boolean"
253
- }
254
- },
255
- "additionalProperties": false
256
+ "maxLines": {
257
+ "type": "integer",
258
+ "exclusiveMinimum": 0,
259
+ "maximum": 9007199254740991
260
+ },
261
+ "maxLineChars": {
262
+ "type": "integer",
263
+ "exclusiveMinimum": 0,
264
+ "maximum": 9007199254740991
265
+ },
266
+ "toolProgress": {
267
+ "type": "boolean"
268
+ }
269
+ },
270
+ "additionalProperties": false
271
+ },
272
+ "block": {
273
+ "type": "object",
274
+ "properties": {
275
+ "enabled": {
276
+ "type": "boolean"
256
277
  },
257
- "progress": {
278
+ "coalesce": {
258
279
  "type": "object",
259
280
  "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": {
281
+ "minChars": {
278
282
  "type": "integer",
279
283
  "exclusiveMinimum": 0,
280
284
  "maximum": 9007199254740991
281
285
  },
282
- "maxLineChars": {
286
+ "maxChars": {
283
287
  "type": "integer",
284
288
  "exclusiveMinimum": 0,
285
289
  "maximum": 9007199254740991
286
290
  },
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
291
+ "idleMs": {
292
+ "type": "integer",
293
+ "minimum": 0,
294
+ "maximum": 9007199254740991
319
295
  }
320
296
  },
321
297
  "additionalProperties": false
@@ -323,29 +299,6 @@
323
299
  },
324
300
  "additionalProperties": false
325
301
  }
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
- }
349
302
  },
350
303
  "additionalProperties": false
351
304
  },
@@ -358,6 +311,39 @@
358
311
  "batched"
359
312
  ]
360
313
  },
314
+ "replyToModeByChatType": {
315
+ "type": "object",
316
+ "properties": {
317
+ "direct": {
318
+ "type": "string",
319
+ "enum": [
320
+ "off",
321
+ "first",
322
+ "all",
323
+ "batched"
324
+ ]
325
+ },
326
+ "group": {
327
+ "type": "string",
328
+ "enum": [
329
+ "off",
330
+ "first",
331
+ "all",
332
+ "batched"
333
+ ]
334
+ },
335
+ "channel": {
336
+ "type": "string",
337
+ "enum": [
338
+ "off",
339
+ "first",
340
+ "all",
341
+ "batched"
342
+ ]
343
+ }
344
+ },
345
+ "additionalProperties": false
346
+ },
361
347
  "responsePrefix": {
362
348
  "type": "string"
363
349
  },
@@ -658,16 +644,10 @@
658
644
  "exclusiveMinimum": 0,
659
645
  "maximum": 9007199254740991
660
646
  },
661
- "chunkMode": {
662
- "type": "string",
663
- "enum": [
664
- "length",
665
- "newline"
666
- ]
667
- },
668
647
  "streaming": {
669
- "anyOf": [
670
- {
648
+ "type": "object",
649
+ "properties": {
650
+ "mode": {
671
651
  "type": "string",
672
652
  "enum": [
673
653
  "off",
@@ -676,99 +656,81 @@
676
656
  "progress"
677
657
  ]
678
658
  },
679
- {
680
- "type": "boolean"
659
+ "chunkMode": {
660
+ "type": "string",
661
+ "enum": [
662
+ "length",
663
+ "newline"
664
+ ]
681
665
  },
682
- {
666
+ "preview": {
683
667
  "type": "object",
684
668
  "properties": {
685
- "mode": {
686
- "type": "string",
687
- "enum": [
688
- "off",
689
- "partial",
690
- "block",
691
- "progress"
669
+ "toolProgress": {
670
+ "type": "boolean"
671
+ }
672
+ },
673
+ "additionalProperties": false
674
+ },
675
+ "progress": {
676
+ "type": "object",
677
+ "properties": {
678
+ "label": {
679
+ "anyOf": [
680
+ {
681
+ "type": "string"
682
+ },
683
+ {
684
+ "type": "boolean",
685
+ "const": false
686
+ }
692
687
  ]
693
688
  },
694
- "chunkMode": {
695
- "type": "string",
696
- "enum": [
697
- "length",
698
- "newline"
699
- ]
689
+ "labels": {
690
+ "type": "array",
691
+ "items": {
692
+ "type": "string"
693
+ }
700
694
  },
701
- "preview": {
702
- "type": "object",
703
- "properties": {
704
- "toolProgress": {
705
- "type": "boolean"
706
- }
707
- },
708
- "additionalProperties": false
695
+ "maxLines": {
696
+ "type": "integer",
697
+ "exclusiveMinimum": 0,
698
+ "maximum": 9007199254740991
699
+ },
700
+ "maxLineChars": {
701
+ "type": "integer",
702
+ "exclusiveMinimum": 0,
703
+ "maximum": 9007199254740991
709
704
  },
710
- "progress": {
705
+ "toolProgress": {
706
+ "type": "boolean"
707
+ }
708
+ },
709
+ "additionalProperties": false
710
+ },
711
+ "block": {
712
+ "type": "object",
713
+ "properties": {
714
+ "enabled": {
715
+ "type": "boolean"
716
+ },
717
+ "coalesce": {
711
718
  "type": "object",
712
719
  "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": {
720
+ "minChars": {
731
721
  "type": "integer",
732
722
  "exclusiveMinimum": 0,
733
723
  "maximum": 9007199254740991
734
724
  },
735
- "maxLineChars": {
725
+ "maxChars": {
736
726
  "type": "integer",
737
727
  "exclusiveMinimum": 0,
738
728
  "maximum": 9007199254740991
739
729
  },
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
730
+ "idleMs": {
731
+ "type": "integer",
732
+ "minimum": 0,
733
+ "maximum": 9007199254740991
772
734
  }
773
735
  },
774
736
  "additionalProperties": false
@@ -776,29 +738,6 @@
776
738
  },
777
739
  "additionalProperties": false
778
740
  }
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
- }
802
741
  },
803
742
  "additionalProperties": false
804
743
  },
@@ -811,6 +750,39 @@
811
750
  "batched"
812
751
  ]
813
752
  },
753
+ "replyToModeByChatType": {
754
+ "type": "object",
755
+ "properties": {
756
+ "direct": {
757
+ "type": "string",
758
+ "enum": [
759
+ "off",
760
+ "first",
761
+ "all",
762
+ "batched"
763
+ ]
764
+ },
765
+ "group": {
766
+ "type": "string",
767
+ "enum": [
768
+ "off",
769
+ "first",
770
+ "all",
771
+ "batched"
772
+ ]
773
+ },
774
+ "channel": {
775
+ "type": "string",
776
+ "enum": [
777
+ "off",
778
+ "first",
779
+ "all",
780
+ "batched"
781
+ ]
782
+ }
783
+ },
784
+ "additionalProperties": false
785
+ },
814
786
  "responsePrefix": {
815
787
  "type": "string"
816
788
  },
@@ -965,7 +937,7 @@
965
937
  },
966
938
  "streaming.progress.labels": {
967
939
  "label": "Mattermost Progress Label Pool",
968
- "help": "Candidate labels for streaming.progress.label=\"auto\". Leave unset to use OpenClaw built-in progress labels."
940
+ "help": "Candidate labels for streaming.progress.label=\"auto\". Leave unset to use the built-in \"Working\" label."
969
941
  },
970
942
  "streaming.progress.maxLines": {
971
943
  "label": "Mattermost Progress Max Lines",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mattermost",
3
- "version": "2026.7.1",
3
+ "version": "2026.7.2-beta.1",
4
4
  "description": "OpenClaw Mattermost channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "zod": "4.4.3"
13
13
  },
14
14
  "peerDependencies": {
15
- "openclaw": ">=2026.7.1"
15
+ "openclaw": ">=2026.7.2-beta.1"
16
16
  },
17
17
  "peerDependenciesMeta": {
18
18
  "openclaw": {
@@ -41,10 +41,10 @@
41
41
  "allowInvalidConfigRecovery": true
42
42
  },
43
43
  "compat": {
44
- "pluginApi": ">=2026.7.1"
44
+ "pluginApi": ">=2026.7.2-beta.1"
45
45
  },
46
46
  "build": {
47
- "openclawVersion": "2026.7.1",
47
+ "openclawVersion": "2026.7.2-beta.1",
48
48
  "bundledDist": false
49
49
  },
50
50
  "release": {
@@ -1,7 +0,0 @@
1
- import { createLegacyPrivateNetworkDoctorContract } from "openclaw/plugin-sdk/ssrf-runtime";
2
- //#region extensions/mattermost/src/doctor-contract.ts
3
- const contract = createLegacyPrivateNetworkDoctorContract({ channelKey: "mattermost" });
4
- const legacyConfigRules = contract.legacyConfigRules;
5
- const normalizeCompatibilityConfig = contract.normalizeCompatibilityConfig;
6
- //#endregion
7
- export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
@@ -1,44 +0,0 @@
1
- import { collectSimpleChannelFieldAssignments, getChannelSurface } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
2
- //#region extensions/mattermost/src/secret-contract.ts
3
- const secretTargetRegistryEntries = [{
4
- id: "channels.mattermost.accounts.*.botToken",
5
- targetType: "channels.mattermost.accounts.*.botToken",
6
- configFile: "openclaw.json",
7
- pathPattern: "channels.mattermost.accounts.*.botToken",
8
- secretShape: "secret_input",
9
- expectedResolvedValue: "string",
10
- includeInPlan: true,
11
- includeInConfigure: true,
12
- includeInAudit: true
13
- }, {
14
- id: "channels.mattermost.botToken",
15
- targetType: "channels.mattermost.botToken",
16
- configFile: "openclaw.json",
17
- pathPattern: "channels.mattermost.botToken",
18
- secretShape: "secret_input",
19
- expectedResolvedValue: "string",
20
- includeInPlan: true,
21
- includeInConfigure: true,
22
- includeInAudit: true
23
- }];
24
- function collectRuntimeConfigAssignments(params) {
25
- const resolved = getChannelSurface(params.config, "mattermost");
26
- if (!resolved) return;
27
- const { channel: mattermost, surface } = resolved;
28
- collectSimpleChannelFieldAssignments({
29
- channelKey: "mattermost",
30
- field: "botToken",
31
- channel: mattermost,
32
- surface,
33
- defaults: params.defaults,
34
- context: params.context,
35
- topInactiveReason: "no enabled account inherits this top-level Mattermost botToken.",
36
- accountInactiveReason: "Mattermost account is disabled."
37
- });
38
- }
39
- const channelSecrets = {
40
- secretTargetRegistryEntries,
41
- collectRuntimeConfigAssignments
42
- };
43
- //#endregion
44
- export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };