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