@openclaw/matrix 2026.3.13 → 2026.5.10-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.
Files changed (206) hide show
  1. package/dist/account-config-D2W-V1eQ.js +96 -0
  2. package/dist/account-selection-BWwIruri.js +158 -0
  3. package/dist/accounts-Bm90Rzvp.js +130 -0
  4. package/dist/active-client-uhlxdhEy.js +20 -0
  5. package/dist/allowlist-sTzpCn5d.js +68 -0
  6. package/dist/api.js +12 -0
  7. package/dist/approval-handler.runtime-DWTQfd4m.js +370 -0
  8. package/dist/approval-ids-DoC2z7tR.js +7 -0
  9. package/dist/approval-reaction-auth-DbcA1gGd.js +27 -0
  10. package/dist/approval-reactions-o2_tuH8D.js +162 -0
  11. package/dist/async-lock-uQfhfQIY.js +19 -0
  12. package/dist/auth-presence.js +26 -0
  13. package/dist/backup-health-Cabu_WQC.js +60 -0
  14. package/dist/channel-H_6lMgwf.js +1116 -0
  15. package/dist/channel-plugin-api.js +2 -0
  16. package/dist/channel.runtime-BnO9f0pR.js +246 -0
  17. package/dist/cli-CYZ9yVcB.js +1340 -0
  18. package/dist/cli-metadata-DPIHnoa6.js +22 -0
  19. package/dist/cli-metadata.js +2 -0
  20. package/dist/client-DkcXnm0X.js +25 -0
  21. package/dist/client-_hckQNGW.js +31 -0
  22. package/dist/client-bootstrap-Rb8oHvhH.js +114 -0
  23. package/dist/config--5-S2Akv.js +452 -0
  24. package/dist/config-paths-nsVaysCu.js +19 -0
  25. package/dist/config-schema-nPLpEgHl.js +200 -0
  26. package/dist/config-secret-input.runtime-DiKFehsE.js +2 -0
  27. package/dist/config-update-wZX-HLMn.js +143 -0
  28. package/dist/contract-api.js +9 -0
  29. package/dist/create-client-DCnqDaqd.js +64 -0
  30. package/dist/credentials-DV6fWXhC.js +56 -0
  31. package/dist/credentials-read-cmHgousK.js +112 -0
  32. package/dist/credentials-write.runtime-zniTq-Gr.js +17 -0
  33. package/dist/crypto-node.runtime-pihzdpY7.js +12 -0
  34. package/dist/crypto-runtime-ZI0zAtn3.js +1214 -0
  35. package/dist/deps-C6WqKY7m.js +235 -0
  36. package/dist/device-health-UVYpbA_W.js +16 -0
  37. package/dist/direct-management-DMMMgtTB.js +249 -0
  38. package/dist/direct-room-XkutHjES.js +76 -0
  39. package/dist/directory-live-DmOtMhyr.js +150 -0
  40. package/dist/doctor-C4__7c-U.js +153 -0
  41. package/dist/doctor-contract-D4-64QuJ.js +246 -0
  42. package/dist/doctor-contract-api.js +2 -0
  43. package/dist/draft-stream-BE2QevQQ.js +144 -0
  44. package/dist/encryption-guidance-BPi3A_m3.js +15 -0
  45. package/dist/env-auth-BJqGI8M6.js +63 -0
  46. package/dist/env-vars-C7uQCTKn.js +63 -0
  47. package/dist/errors-CTcpEDq-.js +17 -0
  48. package/dist/exec-approval-resolver-Bza9Dhlm.js +15 -0
  49. package/dist/exec-approvals-Crnh543m.js +196 -0
  50. package/dist/helper-api.js +4 -0
  51. package/dist/http-client-C7AeVJay.js +319 -0
  52. package/dist/index.js +46 -0
  53. package/dist/legacy-crypto-inspector-poDWldgy.js +41 -0
  54. package/dist/legacy-crypto-restore-Biw-w2ng.js +85 -0
  55. package/dist/logger-CnZRVrux.js +78 -0
  56. package/dist/logging-DZHSPP5N.js +99 -0
  57. package/dist/matrix-migration.runtime-WY6ffcrf.js +525 -0
  58. package/dist/media-text-DU6nWZuj.js +146 -0
  59. package/dist/messages-BpihMh82.js +140 -0
  60. package/dist/migration-snapshot-backup-DaCHTp8C.js +69 -0
  61. package/dist/migration-snapshot.runtime-CKHE3xF9.js +2 -0
  62. package/dist/monitor-BaRCKyLd.js +4175 -0
  63. package/dist/plugin-entry.handlers.runtime.js +51 -0
  64. package/dist/probe.runtime-BvAzYAIe.js +3 -0
  65. package/dist/profile-BlHu0wDX.js +111 -0
  66. package/dist/profile-update-DjeBNgIV.js +69 -0
  67. package/dist/reaction-common-ejrL19w-.js +71 -0
  68. package/dist/reaction-events-CiARZfjk.js +121 -0
  69. package/dist/record-shared-CHWJCTWf.js +2 -0
  70. package/dist/recovery-key-store-BTJ6jz5v.js +294 -0
  71. package/dist/resolve-targets-YtJnw1Tb.js +140 -0
  72. package/dist/resolver.runtime-D9piiGEl.js +5 -0
  73. package/dist/rolldown-runtime-DUslC3ob.js +14 -0
  74. package/dist/route-D6rg-iXN.js +161 -0
  75. package/dist/runtime-C6X4h_SJ.js +6 -0
  76. package/dist/runtime-Dog86njy.js +8 -0
  77. package/dist/runtime-api-DTKcXOhp.js +24 -0
  78. package/dist/runtime-api.js +25 -0
  79. package/dist/runtime-heavy-api.js +3 -0
  80. package/dist/runtime-setter-api.js +2 -0
  81. package/dist/sdk-B2vZA27-.js +1416 -0
  82. package/dist/secret-contract-DcrJWCQI.js +120 -0
  83. package/dist/secret-contract-api.js +2 -0
  84. package/dist/send-Bo0DU1ca.js +1200 -0
  85. package/dist/session-store-metadata-DQXjgNLt.js +77 -0
  86. package/dist/setup-bootstrap-ImenBsMt.js +62 -0
  87. package/dist/setup-core-CfZy05oW.js +116 -0
  88. package/dist/setup-dm-policy-2-r1FrQh.js +194 -0
  89. package/dist/setup-entry.js +19 -0
  90. package/dist/setup-plugin-api.js +44 -0
  91. package/dist/setup-surface-CqT_o61M.js +540 -0
  92. package/dist/shared-CpMoYKm1.js +195 -0
  93. package/dist/startup-abort-56edvmbM.js +32 -0
  94. package/dist/startup-verification-Demyp0bP.js +132 -0
  95. package/dist/storage-paths-BJLdnCjV.js +52 -0
  96. package/dist/storage-tC3ujLiW.js +281 -0
  97. package/dist/subagent-hooks-DQbyqq9V.js +149 -0
  98. package/dist/subagent-hooks-api.js +23 -0
  99. package/dist/sync-state-C_beeevA.js +12 -0
  100. package/dist/target-ids-80nQ2gql.js +77 -0
  101. package/dist/test-api.js +4 -0
  102. package/dist/thread-binding-api-Cq_E-E1K.js +17 -0
  103. package/dist/thread-binding-api.js +2 -0
  104. package/dist/thread-bindings-B9mesxXk.js +352 -0
  105. package/dist/thread-bindings-runtime.js +2 -0
  106. package/dist/thread-bindings-shared-DK-d-oYX.js +97 -0
  107. package/dist/timeout-abort-signal-CtaIaP1v.js +2 -0
  108. package/dist/tool-actions.runtime-ThYhfHtZ.js +532 -0
  109. package/dist/url-validation-DiK9j7jz.js +36 -0
  110. package/dist/verification-CZ2rDeHL.js +345 -0
  111. package/openclaw.plugin.json +796 -1
  112. package/package.json +82 -16
  113. package/CHANGELOG.md +0 -104
  114. package/index.ts +0 -22
  115. package/src/actions.ts +0 -195
  116. package/src/channel.directory.test.ts +0 -135
  117. package/src/channel.ts +0 -461
  118. package/src/config-schema.test.ts +0 -26
  119. package/src/config-schema.ts +0 -62
  120. package/src/directory-live.test.ts +0 -85
  121. package/src/directory-live.ts +0 -209
  122. package/src/group-mentions.ts +0 -52
  123. package/src/matrix/accounts.test.ts +0 -131
  124. package/src/matrix/accounts.ts +0 -114
  125. package/src/matrix/actions/client.ts +0 -47
  126. package/src/matrix/actions/limits.test.ts +0 -15
  127. package/src/matrix/actions/limits.ts +0 -6
  128. package/src/matrix/actions/messages.ts +0 -126
  129. package/src/matrix/actions/pins.test.ts +0 -74
  130. package/src/matrix/actions/pins.ts +0 -84
  131. package/src/matrix/actions/reactions.test.ts +0 -109
  132. package/src/matrix/actions/reactions.ts +0 -102
  133. package/src/matrix/actions/room.ts +0 -85
  134. package/src/matrix/actions/summary.ts +0 -75
  135. package/src/matrix/actions/types.ts +0 -85
  136. package/src/matrix/actions.ts +0 -15
  137. package/src/matrix/active-client.ts +0 -32
  138. package/src/matrix/client/config.ts +0 -245
  139. package/src/matrix/client/create-client.ts +0 -125
  140. package/src/matrix/client/logging.ts +0 -46
  141. package/src/matrix/client/runtime.ts +0 -4
  142. package/src/matrix/client/shared.test.ts +0 -85
  143. package/src/matrix/client/shared.ts +0 -210
  144. package/src/matrix/client/startup.test.ts +0 -49
  145. package/src/matrix/client/startup.ts +0 -29
  146. package/src/matrix/client/storage.ts +0 -131
  147. package/src/matrix/client/types.ts +0 -34
  148. package/src/matrix/client-bootstrap.ts +0 -47
  149. package/src/matrix/client.test.ts +0 -56
  150. package/src/matrix/client.ts +0 -14
  151. package/src/matrix/credentials.ts +0 -125
  152. package/src/matrix/deps.test.ts +0 -74
  153. package/src/matrix/deps.ts +0 -126
  154. package/src/matrix/format.test.ts +0 -33
  155. package/src/matrix/format.ts +0 -22
  156. package/src/matrix/index.ts +0 -11
  157. package/src/matrix/monitor/access-policy.ts +0 -126
  158. package/src/matrix/monitor/allowlist.test.ts +0 -45
  159. package/src/matrix/monitor/allowlist.ts +0 -94
  160. package/src/matrix/monitor/auto-join.ts +0 -72
  161. package/src/matrix/monitor/direct.test.ts +0 -396
  162. package/src/matrix/monitor/direct.ts +0 -152
  163. package/src/matrix/monitor/events.test.ts +0 -186
  164. package/src/matrix/monitor/events.ts +0 -168
  165. package/src/matrix/monitor/handler.body-for-agent.test.ts +0 -196
  166. package/src/matrix/monitor/handler.ts +0 -768
  167. package/src/matrix/monitor/inbound-body.test.ts +0 -73
  168. package/src/matrix/monitor/inbound-body.ts +0 -28
  169. package/src/matrix/monitor/index.test.ts +0 -18
  170. package/src/matrix/monitor/index.ts +0 -414
  171. package/src/matrix/monitor/location.ts +0 -100
  172. package/src/matrix/monitor/media.test.ts +0 -86
  173. package/src/matrix/monitor/media.ts +0 -118
  174. package/src/matrix/monitor/mentions.test.ts +0 -154
  175. package/src/matrix/monitor/mentions.ts +0 -62
  176. package/src/matrix/monitor/replies.test.ts +0 -184
  177. package/src/matrix/monitor/replies.ts +0 -124
  178. package/src/matrix/monitor/room-info.ts +0 -55
  179. package/src/matrix/monitor/rooms.test.ts +0 -124
  180. package/src/matrix/monitor/rooms.ts +0 -47
  181. package/src/matrix/monitor/threads.ts +0 -68
  182. package/src/matrix/monitor/types.ts +0 -39
  183. package/src/matrix/poll-types.test.ts +0 -21
  184. package/src/matrix/poll-types.ts +0 -167
  185. package/src/matrix/probe.ts +0 -69
  186. package/src/matrix/sdk-runtime.ts +0 -18
  187. package/src/matrix/send/client.ts +0 -99
  188. package/src/matrix/send/formatting.ts +0 -93
  189. package/src/matrix/send/media.ts +0 -230
  190. package/src/matrix/send/targets.test.ts +0 -98
  191. package/src/matrix/send/targets.ts +0 -150
  192. package/src/matrix/send/types.ts +0 -110
  193. package/src/matrix/send-queue.test.ts +0 -145
  194. package/src/matrix/send-queue.ts +0 -28
  195. package/src/matrix/send.test.ts +0 -319
  196. package/src/matrix/send.ts +0 -267
  197. package/src/onboarding.ts +0 -462
  198. package/src/outbound.test.ts +0 -159
  199. package/src/outbound.ts +0 -58
  200. package/src/resolve-targets.test.ts +0 -68
  201. package/src/resolve-targets.ts +0 -125
  202. package/src/runtime.ts +0 -6
  203. package/src/secret-input.ts +0 -13
  204. package/src/test-mocks.ts +0 -53
  205. package/src/tool-actions.ts +0 -164
  206. package/src/types.ts +0 -118
@@ -1,9 +1,804 @@
1
1
  {
2
2
  "id": "matrix",
3
- "channels": ["matrix"],
3
+ "commandAliases": [
4
+ {
5
+ "name": "matrix"
6
+ }
7
+ ],
8
+ "activation": {
9
+ "onStartup": false,
10
+ "onCommands": [
11
+ "matrix"
12
+ ]
13
+ },
14
+ "channels": [
15
+ "matrix"
16
+ ],
17
+ "channelEnvVars": {
18
+ "matrix": [
19
+ "MATRIX_HOMESERVER",
20
+ "MATRIX_USER_ID",
21
+ "MATRIX_ACCESS_TOKEN",
22
+ "MATRIX_PASSWORD",
23
+ "MATRIX_DEVICE_ID",
24
+ "MATRIX_DEVICE_NAME",
25
+ "MATRIX_OPS_HOMESERVER",
26
+ "MATRIX_OPS_ACCESS_TOKEN",
27
+ "MATRIX_OPS_DEVICE_ID",
28
+ "MATRIX_OPS_DEVICE_NAME"
29
+ ]
30
+ },
4
31
  "configSchema": {
5
32
  "type": "object",
6
33
  "additionalProperties": false,
7
34
  "properties": {}
35
+ },
36
+ "channelConfigs": {
37
+ "matrix": {
38
+ "schema": {
39
+ "$schema": "http://json-schema.org/draft-07/schema#",
40
+ "type": "object",
41
+ "properties": {
42
+ "name": {
43
+ "type": "string"
44
+ },
45
+ "enabled": {
46
+ "type": "boolean"
47
+ },
48
+ "defaultAccount": {
49
+ "type": "string"
50
+ },
51
+ "accounts": {
52
+ "type": "object",
53
+ "propertyNames": {
54
+ "type": "string"
55
+ },
56
+ "additionalProperties": {}
57
+ },
58
+ "markdown": {
59
+ "type": "object",
60
+ "properties": {
61
+ "tables": {
62
+ "type": "string",
63
+ "enum": [
64
+ "off",
65
+ "bullets",
66
+ "code",
67
+ "block"
68
+ ]
69
+ }
70
+ },
71
+ "additionalProperties": false
72
+ },
73
+ "homeserver": {
74
+ "type": "string"
75
+ },
76
+ "network": {
77
+ "type": "object",
78
+ "properties": {
79
+ "dangerouslyAllowPrivateNetwork": {
80
+ "type": "boolean"
81
+ }
82
+ },
83
+ "additionalProperties": false
84
+ },
85
+ "proxy": {
86
+ "type": "string"
87
+ },
88
+ "userId": {
89
+ "type": "string"
90
+ },
91
+ "accessToken": {
92
+ "anyOf": [
93
+ {
94
+ "type": "string"
95
+ },
96
+ {
97
+ "oneOf": [
98
+ {
99
+ "type": "object",
100
+ "properties": {
101
+ "source": {
102
+ "type": "string",
103
+ "const": "env"
104
+ },
105
+ "provider": {
106
+ "type": "string",
107
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
108
+ },
109
+ "id": {
110
+ "type": "string",
111
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
112
+ }
113
+ },
114
+ "required": [
115
+ "source",
116
+ "provider",
117
+ "id"
118
+ ],
119
+ "additionalProperties": false
120
+ },
121
+ {
122
+ "type": "object",
123
+ "properties": {
124
+ "source": {
125
+ "type": "string",
126
+ "const": "file"
127
+ },
128
+ "provider": {
129
+ "type": "string",
130
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
131
+ },
132
+ "id": {
133
+ "type": "string"
134
+ }
135
+ },
136
+ "required": [
137
+ "source",
138
+ "provider",
139
+ "id"
140
+ ],
141
+ "additionalProperties": false
142
+ },
143
+ {
144
+ "type": "object",
145
+ "properties": {
146
+ "source": {
147
+ "type": "string",
148
+ "const": "exec"
149
+ },
150
+ "provider": {
151
+ "type": "string",
152
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
153
+ },
154
+ "id": {
155
+ "type": "string"
156
+ }
157
+ },
158
+ "required": [
159
+ "source",
160
+ "provider",
161
+ "id"
162
+ ],
163
+ "additionalProperties": false
164
+ }
165
+ ]
166
+ }
167
+ ]
168
+ },
169
+ "password": {
170
+ "anyOf": [
171
+ {
172
+ "type": "string"
173
+ },
174
+ {
175
+ "oneOf": [
176
+ {
177
+ "type": "object",
178
+ "properties": {
179
+ "source": {
180
+ "type": "string",
181
+ "const": "env"
182
+ },
183
+ "provider": {
184
+ "type": "string",
185
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
186
+ },
187
+ "id": {
188
+ "type": "string",
189
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
190
+ }
191
+ },
192
+ "required": [
193
+ "source",
194
+ "provider",
195
+ "id"
196
+ ],
197
+ "additionalProperties": false
198
+ },
199
+ {
200
+ "type": "object",
201
+ "properties": {
202
+ "source": {
203
+ "type": "string",
204
+ "const": "file"
205
+ },
206
+ "provider": {
207
+ "type": "string",
208
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
209
+ },
210
+ "id": {
211
+ "type": "string"
212
+ }
213
+ },
214
+ "required": [
215
+ "source",
216
+ "provider",
217
+ "id"
218
+ ],
219
+ "additionalProperties": false
220
+ },
221
+ {
222
+ "type": "object",
223
+ "properties": {
224
+ "source": {
225
+ "type": "string",
226
+ "const": "exec"
227
+ },
228
+ "provider": {
229
+ "type": "string",
230
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
231
+ },
232
+ "id": {
233
+ "type": "string"
234
+ }
235
+ },
236
+ "required": [
237
+ "source",
238
+ "provider",
239
+ "id"
240
+ ],
241
+ "additionalProperties": false
242
+ }
243
+ ]
244
+ }
245
+ ]
246
+ },
247
+ "deviceId": {
248
+ "type": "string"
249
+ },
250
+ "deviceName": {
251
+ "type": "string"
252
+ },
253
+ "avatarUrl": {
254
+ "type": "string"
255
+ },
256
+ "initialSyncLimit": {
257
+ "type": "number"
258
+ },
259
+ "encryption": {
260
+ "type": "boolean"
261
+ },
262
+ "allowlistOnly": {
263
+ "type": "boolean"
264
+ },
265
+ "allowBots": {
266
+ "anyOf": [
267
+ {
268
+ "type": "boolean"
269
+ },
270
+ {
271
+ "type": "string",
272
+ "const": "mentions"
273
+ }
274
+ ]
275
+ },
276
+ "groupPolicy": {
277
+ "type": "string",
278
+ "enum": [
279
+ "open",
280
+ "disabled",
281
+ "allowlist"
282
+ ]
283
+ },
284
+ "contextVisibility": {
285
+ "type": "string",
286
+ "enum": [
287
+ "all",
288
+ "allowlist",
289
+ "allowlist_quote"
290
+ ]
291
+ },
292
+ "blockStreaming": {
293
+ "type": "boolean"
294
+ },
295
+ "streaming": {
296
+ "anyOf": [
297
+ {
298
+ "type": "string",
299
+ "enum": [
300
+ "partial",
301
+ "quiet",
302
+ "progress",
303
+ "off"
304
+ ]
305
+ },
306
+ {
307
+ "type": "boolean"
308
+ },
309
+ {
310
+ "type": "object",
311
+ "properties": {
312
+ "mode": {
313
+ "type": "string",
314
+ "enum": [
315
+ "partial",
316
+ "quiet",
317
+ "progress",
318
+ "off"
319
+ ]
320
+ },
321
+ "progress": {
322
+ "type": "object",
323
+ "properties": {
324
+ "label": {
325
+ "anyOf": [
326
+ {
327
+ "type": "string"
328
+ },
329
+ {
330
+ "type": "boolean",
331
+ "const": false
332
+ }
333
+ ]
334
+ },
335
+ "labels": {
336
+ "type": "array",
337
+ "items": {
338
+ "type": "string"
339
+ }
340
+ },
341
+ "maxLines": {
342
+ "type": "integer",
343
+ "exclusiveMinimum": 0,
344
+ "maximum": 9007199254740991
345
+ },
346
+ "toolProgress": {
347
+ "type": "boolean"
348
+ }
349
+ },
350
+ "additionalProperties": false
351
+ },
352
+ "preview": {
353
+ "type": "object",
354
+ "properties": {
355
+ "toolProgress": {
356
+ "type": "boolean"
357
+ }
358
+ },
359
+ "additionalProperties": false
360
+ }
361
+ },
362
+ "additionalProperties": false
363
+ }
364
+ ]
365
+ },
366
+ "replyToMode": {
367
+ "type": "string",
368
+ "enum": [
369
+ "off",
370
+ "first",
371
+ "all",
372
+ "batched"
373
+ ]
374
+ },
375
+ "threadReplies": {
376
+ "type": "string",
377
+ "enum": [
378
+ "off",
379
+ "inbound",
380
+ "always"
381
+ ]
382
+ },
383
+ "textChunkLimit": {
384
+ "type": "number"
385
+ },
386
+ "chunkMode": {
387
+ "type": "string",
388
+ "enum": [
389
+ "length",
390
+ "newline"
391
+ ]
392
+ },
393
+ "responsePrefix": {
394
+ "type": "string"
395
+ },
396
+ "ackReaction": {
397
+ "type": "string"
398
+ },
399
+ "ackReactionScope": {
400
+ "type": "string",
401
+ "enum": [
402
+ "group-mentions",
403
+ "group-all",
404
+ "direct",
405
+ "all",
406
+ "none",
407
+ "off"
408
+ ]
409
+ },
410
+ "reactionNotifications": {
411
+ "type": "string",
412
+ "enum": [
413
+ "off",
414
+ "own"
415
+ ]
416
+ },
417
+ "threadBindings": {
418
+ "type": "object",
419
+ "properties": {
420
+ "enabled": {
421
+ "type": "boolean"
422
+ },
423
+ "idleHours": {
424
+ "type": "number",
425
+ "minimum": 0
426
+ },
427
+ "maxAgeHours": {
428
+ "type": "number",
429
+ "minimum": 0
430
+ },
431
+ "spawnSessions": {
432
+ "type": "boolean"
433
+ },
434
+ "defaultSpawnContext": {
435
+ "type": "string",
436
+ "enum": [
437
+ "isolated",
438
+ "fork"
439
+ ]
440
+ },
441
+ "spawnSubagentSessions": {
442
+ "type": "boolean"
443
+ },
444
+ "spawnAcpSessions": {
445
+ "type": "boolean"
446
+ }
447
+ },
448
+ "additionalProperties": false
449
+ },
450
+ "startupVerification": {
451
+ "type": "string",
452
+ "enum": [
453
+ "off",
454
+ "if-unverified"
455
+ ]
456
+ },
457
+ "startupVerificationCooldownHours": {
458
+ "type": "number"
459
+ },
460
+ "mediaMaxMb": {
461
+ "type": "number"
462
+ },
463
+ "historyLimit": {
464
+ "type": "integer",
465
+ "minimum": 0,
466
+ "maximum": 9007199254740991
467
+ },
468
+ "autoJoin": {
469
+ "type": "string",
470
+ "enum": [
471
+ "always",
472
+ "allowlist",
473
+ "off"
474
+ ]
475
+ },
476
+ "autoJoinAllowlist": {
477
+ "type": "array",
478
+ "items": {
479
+ "anyOf": [
480
+ {
481
+ "type": "string"
482
+ },
483
+ {
484
+ "type": "number"
485
+ }
486
+ ]
487
+ }
488
+ },
489
+ "groupAllowFrom": {
490
+ "type": "array",
491
+ "items": {
492
+ "anyOf": [
493
+ {
494
+ "type": "string"
495
+ },
496
+ {
497
+ "type": "number"
498
+ }
499
+ ]
500
+ }
501
+ },
502
+ "dm": {
503
+ "type": "object",
504
+ "properties": {
505
+ "enabled": {
506
+ "type": "boolean"
507
+ },
508
+ "policy": {
509
+ "type": "string",
510
+ "enum": [
511
+ "pairing",
512
+ "allowlist",
513
+ "open",
514
+ "disabled"
515
+ ]
516
+ },
517
+ "allowFrom": {
518
+ "type": "array",
519
+ "items": {
520
+ "anyOf": [
521
+ {
522
+ "type": "string"
523
+ },
524
+ {
525
+ "type": "number"
526
+ }
527
+ ]
528
+ }
529
+ },
530
+ "sessionScope": {
531
+ "type": "string",
532
+ "enum": [
533
+ "per-user",
534
+ "per-room"
535
+ ]
536
+ },
537
+ "threadReplies": {
538
+ "type": "string",
539
+ "enum": [
540
+ "off",
541
+ "inbound",
542
+ "always"
543
+ ]
544
+ }
545
+ },
546
+ "additionalProperties": false
547
+ },
548
+ "execApprovals": {
549
+ "type": "object",
550
+ "properties": {
551
+ "enabled": {
552
+ "type": "boolean"
553
+ },
554
+ "approvers": {
555
+ "type": "array",
556
+ "items": {
557
+ "anyOf": [
558
+ {
559
+ "type": "string"
560
+ },
561
+ {
562
+ "type": "number"
563
+ }
564
+ ]
565
+ }
566
+ },
567
+ "agentFilter": {
568
+ "type": "array",
569
+ "items": {
570
+ "type": "string"
571
+ }
572
+ },
573
+ "sessionFilter": {
574
+ "type": "array",
575
+ "items": {
576
+ "type": "string"
577
+ }
578
+ },
579
+ "target": {
580
+ "type": "string",
581
+ "enum": [
582
+ "dm",
583
+ "channel",
584
+ "both"
585
+ ]
586
+ }
587
+ },
588
+ "additionalProperties": false
589
+ },
590
+ "groups": {
591
+ "type": "object",
592
+ "properties": {},
593
+ "additionalProperties": {
594
+ "type": "object",
595
+ "properties": {
596
+ "account": {
597
+ "type": "string"
598
+ },
599
+ "enabled": {
600
+ "type": "boolean"
601
+ },
602
+ "requireMention": {
603
+ "type": "boolean"
604
+ },
605
+ "allowBots": {
606
+ "anyOf": [
607
+ {
608
+ "type": "boolean"
609
+ },
610
+ {
611
+ "type": "string",
612
+ "const": "mentions"
613
+ }
614
+ ]
615
+ },
616
+ "tools": {
617
+ "type": "object",
618
+ "properties": {
619
+ "allow": {
620
+ "type": "array",
621
+ "items": {
622
+ "type": "string"
623
+ }
624
+ },
625
+ "alsoAllow": {
626
+ "type": "array",
627
+ "items": {
628
+ "type": "string"
629
+ }
630
+ },
631
+ "deny": {
632
+ "type": "array",
633
+ "items": {
634
+ "type": "string"
635
+ }
636
+ }
637
+ },
638
+ "additionalProperties": false
639
+ },
640
+ "autoReply": {
641
+ "type": "boolean"
642
+ },
643
+ "users": {
644
+ "type": "array",
645
+ "items": {
646
+ "anyOf": [
647
+ {
648
+ "type": "string"
649
+ },
650
+ {
651
+ "type": "number"
652
+ }
653
+ ]
654
+ }
655
+ },
656
+ "skills": {
657
+ "type": "array",
658
+ "items": {
659
+ "type": "string"
660
+ }
661
+ },
662
+ "systemPrompt": {
663
+ "type": "string"
664
+ }
665
+ },
666
+ "additionalProperties": false
667
+ }
668
+ },
669
+ "rooms": {
670
+ "type": "object",
671
+ "properties": {},
672
+ "additionalProperties": {
673
+ "type": "object",
674
+ "properties": {
675
+ "account": {
676
+ "type": "string"
677
+ },
678
+ "enabled": {
679
+ "type": "boolean"
680
+ },
681
+ "requireMention": {
682
+ "type": "boolean"
683
+ },
684
+ "allowBots": {
685
+ "anyOf": [
686
+ {
687
+ "type": "boolean"
688
+ },
689
+ {
690
+ "type": "string",
691
+ "const": "mentions"
692
+ }
693
+ ]
694
+ },
695
+ "tools": {
696
+ "type": "object",
697
+ "properties": {
698
+ "allow": {
699
+ "type": "array",
700
+ "items": {
701
+ "type": "string"
702
+ }
703
+ },
704
+ "alsoAllow": {
705
+ "type": "array",
706
+ "items": {
707
+ "type": "string"
708
+ }
709
+ },
710
+ "deny": {
711
+ "type": "array",
712
+ "items": {
713
+ "type": "string"
714
+ }
715
+ }
716
+ },
717
+ "additionalProperties": false
718
+ },
719
+ "autoReply": {
720
+ "type": "boolean"
721
+ },
722
+ "users": {
723
+ "type": "array",
724
+ "items": {
725
+ "anyOf": [
726
+ {
727
+ "type": "string"
728
+ },
729
+ {
730
+ "type": "number"
731
+ }
732
+ ]
733
+ }
734
+ },
735
+ "skills": {
736
+ "type": "array",
737
+ "items": {
738
+ "type": "string"
739
+ }
740
+ },
741
+ "systemPrompt": {
742
+ "type": "string"
743
+ }
744
+ },
745
+ "additionalProperties": false
746
+ }
747
+ },
748
+ "actions": {
749
+ "type": "object",
750
+ "properties": {
751
+ "reactions": {
752
+ "type": "boolean"
753
+ },
754
+ "messages": {
755
+ "type": "boolean"
756
+ },
757
+ "pins": {
758
+ "type": "boolean"
759
+ },
760
+ "profile": {
761
+ "type": "boolean"
762
+ },
763
+ "memberInfo": {
764
+ "type": "boolean"
765
+ },
766
+ "channelInfo": {
767
+ "type": "boolean"
768
+ },
769
+ "verification": {
770
+ "type": "boolean"
771
+ }
772
+ },
773
+ "additionalProperties": false
774
+ }
775
+ },
776
+ "additionalProperties": false
777
+ },
778
+ "label": "Matrix",
779
+ "description": "open protocol; install the plugin to enable.",
780
+ "uiHints": {
781
+ "streaming.progress.label": {
782
+ "label": "Matrix Progress Label",
783
+ "help": "Initial progress draft title. Use \"auto\" for built-in single-word labels, a custom string, or false to hide the title."
784
+ },
785
+ "streaming.progress.labels": {
786
+ "label": "Matrix Progress Label Pool",
787
+ "help": "Candidate labels for streaming.progress.label=\"auto\". Leave unset to use OpenClaw built-in progress labels."
788
+ },
789
+ "streaming.progress.maxLines": {
790
+ "label": "Matrix Progress Max Lines",
791
+ "help": "Maximum number of compact progress lines to keep below the draft label (default: 8)."
792
+ },
793
+ "streaming.progress.toolProgress": {
794
+ "label": "Matrix Progress Tool Lines",
795
+ "help": "Show compact tool/progress lines in progress draft mode (default: true). Set false to keep only the label until final delivery."
796
+ },
797
+ "streaming.progress.commandText": {
798
+ "label": "Matrix Progress Command Text",
799
+ "help": "Command/exec detail in progress draft lines: \"raw\" preserves released behavior; \"status\" shows only the tool label."
800
+ }
801
+ }
802
+ }
8
803
  }
9
804
  }