@openclaw/slack 2026.7.2-beta.3 → 2026.7.2-beta.4

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 (152) hide show
  1. package/dist/account-inspect-api.js +1 -1
  2. package/dist/{account-inspect-Bvbtu3iH.js → account-inspect-jn1xLaVi.js} +2 -2
  3. package/dist/account-reply-mode-DrUXogvO.js +14 -0
  4. package/dist/{accounts-DQEbYKh9.js → accounts-BSr252c_.js} +6 -27
  5. package/dist/{accounts.runtime-BIKmJdtJ.js → accounts.runtime-CjULMLTa.js} +1 -1
  6. package/dist/{action-runtime-DqkRwO3Z.js → action-runtime-CFU52n4W.js} +7 -7
  7. package/dist/action-runtime.runtime-9-17zvKH.js +2 -0
  8. package/dist/{actions-CF0tUY5q.js → actions-D51foiwR.js} +5 -5
  9. package/dist/{actions.runtime-hCbx4RXg.js → actions.runtime-BMJwtf5C.js} +1 -1
  10. package/dist/api.js +15 -14
  11. package/dist/{approval-handler.runtime-Em8I1-8-.js → approval-handler.runtime-3b4-wxMl.js} +2 -2
  12. package/dist/{channel-4-TRi1D6.js → channel-Ds8NKvfr.js} +26 -24
  13. package/dist/channel-config-api.js +1 -1
  14. package/dist/channel-plugin-api.js +1 -1
  15. package/dist/{channel-type-Cu1yjNg2.js → channel-type-DXkUajFP.js} +3 -3
  16. package/dist/{channel.setup-CgkADtZg.js → channel.setup-DOSTEDfA.js} +6 -5
  17. package/dist/{config-schema-XjJGfwQC.js → config-schema-B4j4tCOI.js} +231 -26
  18. package/dist/{directory-config-Bv0lcUlH.js → directory-config-B08pm5ZT.js} +1 -1
  19. package/dist/directory-contract-api.js +1 -1
  20. package/dist/{directory-live-CzUIB7th.js → directory-live-DpPKzPrn.js} +2 -2
  21. package/dist/{doctor-contract-DKpe5VBr.js → doctor-contract-U6oVntbM.js} +60 -89
  22. package/dist/doctor-contract-api.js +1 -1
  23. package/dist/{group-policy-Bw-65m3V.js → group-policy-CdnQzQBI.js} +32 -5
  24. package/dist/{interactive-replies-Dm_t2R9S.js → interactive-replies-C3ffk6oN.js} +1 -1
  25. package/dist/interactive-replies-api.js +1 -1
  26. package/dist/{message-tool-api-C2pcf5du.js → message-tool-api-ByVyIVOh.js} +2 -2
  27. package/dist/message-tool-api.js +1 -1
  28. package/dist/{monitor-CNFeF30h.js → monitor-CnB_WKvF.js} +3 -3
  29. package/dist/{outbound-adapter-CVi2uok0.js → outbound-adapter-DuPz2HHt.js} +3 -3
  30. package/dist/{pipeline.runtime-CTvokbty.js → pipeline.runtime-5rRYZuX5.js} +110 -77
  31. package/dist/{policy-b_dOPDCq.js → policy-C31RYSuT.js} +1 -1
  32. package/dist/{probe-Borhn9PQ.js → probe-CVRuArHA.js} +1 -1
  33. package/dist/{provider-B-HVL5ZE.js → provider-htuIJGFD.js} +365 -200
  34. package/dist/{relay-source-Ea_P9VcO.js → relay-source-Df9EaiTF.js} +1 -1
  35. package/dist/{replies-B4bOdrYb.js → replies-Cgr2Gli4.js} +3 -3
  36. package/dist/{resolve-channels-KTc568SU.js → resolve-channels-DodP2TFx.js} +1 -1
  37. package/dist/{resolve-users-DeGJf1yp.js → resolve-users-M9eF8891.js} +1 -1
  38. package/dist/{runtime-api-BFfNpzDe.js → runtime-api-D5XYMMsf.js} +3 -2
  39. package/dist/runtime-api.js +11 -11
  40. package/dist/{scopes-lx08L56K.js → scopes-CJRpHkDC.js} +1 -1
  41. package/dist/{security-audit-CikQhBUY.js → security-audit-Cz6erklv.js} +0 -10
  42. package/dist/security-contract-api.js +1 -1
  43. package/dist/{send-KuTDky7i.js → send-BZ1tPv7-.js} +4 -4
  44. package/dist/{send.runtime-CXyxws1D.js → send.runtime-a2pilFor.js} +1 -1
  45. package/dist/{setup-core-CeiAVwQ3.js → setup-core-tPxMuFez.js} +138 -40
  46. package/dist/setup-plugin-api.js +1 -1
  47. package/dist/{setup-surface-DLA0vHXp.js → setup-surface-wV-S1dE_.js} +43 -27
  48. package/dist/{shared-C4yVB0Q-.js → shared-BfMskaMx.js} +9 -8
  49. package/dist/{slash-dispatch.runtime-BT-mMm-f.js → slash-dispatch.runtime-lfeIsXTX.js} +1 -1
  50. package/node_modules/@types/node/README.md +1 -1
  51. package/node_modules/@types/node/fs/promises.d.ts +16 -6
  52. package/node_modules/@types/node/package.json +2 -2
  53. package/node_modules/agent-base/README.md +145 -0
  54. package/node_modules/agent-base/dist/src/index.d.ts +78 -0
  55. package/node_modules/agent-base/dist/src/index.js +203 -0
  56. package/node_modules/agent-base/dist/src/index.js.map +1 -0
  57. package/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
  58. package/node_modules/agent-base/dist/src/promisify.js +18 -0
  59. package/node_modules/agent-base/dist/src/promisify.js.map +1 -0
  60. package/node_modules/agent-base/package.json +64 -0
  61. package/node_modules/agent-base/src/index.ts +345 -0
  62. package/node_modules/agent-base/src/promisify.ts +33 -0
  63. package/node_modules/axios/CHANGELOG.md +197 -1
  64. package/node_modules/axios/README.md +424 -256
  65. package/node_modules/axios/dist/axios.js +589 -204
  66. package/node_modules/axios/dist/axios.min.js +3 -3
  67. package/node_modules/axios/dist/axios.min.js.map +1 -1
  68. package/node_modules/axios/dist/browser/axios.cjs +630 -185
  69. package/node_modules/axios/dist/esm/axios.js +630 -185
  70. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  71. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  72. package/node_modules/axios/dist/node/axios.cjs +949 -301
  73. package/node_modules/axios/index.d.cts +28 -5
  74. package/node_modules/axios/index.d.ts +24 -3
  75. package/node_modules/axios/lib/adapters/adapters.js +1 -1
  76. package/node_modules/axios/lib/adapters/fetch.js +223 -49
  77. package/node_modules/axios/lib/adapters/http.js +408 -193
  78. package/node_modules/axios/lib/adapters/xhr.js +3 -1
  79. package/node_modules/axios/lib/core/Axios.js +4 -2
  80. package/node_modules/axios/lib/core/AxiosError.js +13 -1
  81. package/node_modules/axios/lib/core/AxiosHeaders.js +13 -42
  82. package/node_modules/axios/lib/core/buildFullPath.js +29 -1
  83. package/node_modules/axios/lib/core/mergeConfig.js +35 -0
  84. package/node_modules/axios/lib/defaults/transitional.js +2 -0
  85. package/node_modules/axios/lib/env/data.js +1 -1
  86. package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +1 -3
  87. package/node_modules/axios/lib/helpers/Http2Sessions.js +119 -0
  88. package/node_modules/axios/lib/helpers/buildURL.js +7 -4
  89. package/node_modules/axios/lib/helpers/composeSignals.js +48 -47
  90. package/node_modules/axios/lib/helpers/cookies.js +5 -1
  91. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +16 -11
  92. package/node_modules/axios/lib/helpers/formDataToJSON.js +26 -4
  93. package/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
  94. package/node_modules/axios/lib/helpers/fromDataURI.js +20 -5
  95. package/node_modules/axios/lib/helpers/progressEventReducer.js +3 -0
  96. package/node_modules/axios/lib/helpers/resolveConfig.js +26 -13
  97. package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  98. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +33 -1
  99. package/node_modules/axios/lib/helpers/toFormData.js +48 -12
  100. package/node_modules/axios/lib/helpers/validator.js +1 -1
  101. package/node_modules/axios/lib/utils.js +105 -19
  102. package/node_modules/axios/package.json +31 -13
  103. package/node_modules/https-proxy-agent/README.md +137 -0
  104. package/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
  105. package/node_modules/https-proxy-agent/dist/agent.js +177 -0
  106. package/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
  107. package/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
  108. package/node_modules/https-proxy-agent/dist/index.js +14 -0
  109. package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  110. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
  111. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  112. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  113. package/node_modules/https-proxy-agent/package.json +56 -0
  114. package/node_modules/iconv-lite/encodings/sbcs-data.js +2 -0
  115. package/node_modules/iconv-lite/encodings/utf32.js +10 -3
  116. package/node_modules/iconv-lite/package.json +2 -2
  117. package/node_modules/iconv-lite/types/encodings.d.ts +2 -0
  118. package/node_modules/path-to-regexp/Readme.md +3 -3
  119. package/node_modules/path-to-regexp/dist/index.js +135 -158
  120. package/node_modules/path-to-regexp/dist/index.js.map +1 -1
  121. package/node_modules/path-to-regexp/package.json +2 -2
  122. package/node_modules/qs/CHANGELOG.md +11 -0
  123. package/node_modules/qs/dist/qs.js +17 -17
  124. package/node_modules/qs/lib/parse.js +19 -8
  125. package/node_modules/qs/lib/utils.js +47 -8
  126. package/node_modules/qs/package.json +6 -5
  127. package/node_modules/qs/test/parse.js +230 -0
  128. package/node_modules/qs/test/utils.js +194 -0
  129. package/node_modules/typebox/build/compile/validator.d.mts +1 -4
  130. package/node_modules/typebox/build/guard/guard.d.mts +1 -1
  131. package/node_modules/typebox/build/guard/guard.mjs +5 -2
  132. package/node_modules/typebox/build/guard/string.mjs +16 -4
  133. package/node_modules/typebox/build/schema/engine/_functions.mjs +34 -15
  134. package/node_modules/typebox/build/type/action/readonly_object.d.mts +5 -0
  135. package/node_modules/typebox/build/type/action/readonly_object.mjs +8 -0
  136. package/node_modules/typebox/build/typebox.d.mts +1 -1
  137. package/node_modules/typebox/build/typebox.mjs +1 -1
  138. package/node_modules/typebox/package.json +1 -1
  139. package/node_modules/typebox/readme.md +29 -32
  140. package/node_modules/ws/lib/receiver.js +15 -32
  141. package/node_modules/ws/lib/websocket-server.js +4 -4
  142. package/node_modules/ws/lib/websocket.js +4 -4
  143. package/node_modules/ws/package.json +5 -1
  144. package/npm-shrinkwrap.json +54 -27
  145. package/openclaw.plugin.json +1759 -1908
  146. package/package.json +92 -14
  147. package/dist/action-runtime.runtime-DEWOcFM4.js +0 -2
  148. package/dist/config-api-Df9a1B8C.js +0 -3
  149. package/node_modules/axios/dist/axios.js.map +0 -1
  150. package/node_modules/axios/dist/browser/axios.cjs.map +0 -1
  151. package/node_modules/axios/dist/esm/axios.js.map +0 -1
  152. package/node_modules/axios/dist/node/axios.cjs.map +0 -1
@@ -20,217 +20,6 @@
20
20
  "name": {
21
21
  "type": "string"
22
22
  },
23
- "identity": {
24
- "default": "bot",
25
- "type": "string",
26
- "enum": [
27
- "bot",
28
- "user"
29
- ]
30
- },
31
- "mode": {
32
- "default": "socket",
33
- "type": "string",
34
- "enum": [
35
- "socket",
36
- "http",
37
- "relay"
38
- ]
39
- },
40
- "enterpriseOrgInstall": {
41
- "type": "boolean"
42
- },
43
- "socketMode": {
44
- "type": "object",
45
- "properties": {
46
- "clientPingTimeout": {
47
- "type": "integer",
48
- "exclusiveMinimum": 0,
49
- "maximum": 9007199254740991
50
- },
51
- "serverPingTimeout": {
52
- "type": "integer",
53
- "exclusiveMinimum": 0,
54
- "maximum": 9007199254740991
55
- },
56
- "pingPongLoggingEnabled": {
57
- "type": "boolean"
58
- }
59
- },
60
- "additionalProperties": false
61
- },
62
- "relay": {
63
- "type": "object",
64
- "properties": {
65
- "url": {
66
- "type": "string"
67
- },
68
- "authToken": {
69
- "anyOf": [
70
- {
71
- "type": "string"
72
- },
73
- {
74
- "oneOf": [
75
- {
76
- "type": "object",
77
- "properties": {
78
- "source": {
79
- "type": "string",
80
- "const": "env"
81
- },
82
- "provider": {
83
- "type": "string",
84
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
85
- },
86
- "id": {
87
- "type": "string",
88
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
89
- }
90
- },
91
- "required": [
92
- "source",
93
- "provider",
94
- "id"
95
- ],
96
- "additionalProperties": false
97
- },
98
- {
99
- "type": "object",
100
- "properties": {
101
- "source": {
102
- "type": "string",
103
- "const": "file"
104
- },
105
- "provider": {
106
- "type": "string",
107
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
108
- },
109
- "id": {
110
- "type": "string"
111
- }
112
- },
113
- "required": [
114
- "source",
115
- "provider",
116
- "id"
117
- ],
118
- "additionalProperties": false
119
- },
120
- {
121
- "type": "object",
122
- "properties": {
123
- "source": {
124
- "type": "string",
125
- "const": "exec"
126
- },
127
- "provider": {
128
- "type": "string",
129
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
130
- },
131
- "id": {
132
- "type": "string"
133
- }
134
- },
135
- "required": [
136
- "source",
137
- "provider",
138
- "id"
139
- ],
140
- "additionalProperties": false
141
- }
142
- ]
143
- }
144
- ]
145
- },
146
- "gatewayId": {
147
- "type": "string"
148
- }
149
- },
150
- "additionalProperties": false
151
- },
152
- "signingSecret": {
153
- "anyOf": [
154
- {
155
- "type": "string"
156
- },
157
- {
158
- "oneOf": [
159
- {
160
- "type": "object",
161
- "properties": {
162
- "source": {
163
- "type": "string",
164
- "const": "env"
165
- },
166
- "provider": {
167
- "type": "string",
168
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
169
- },
170
- "id": {
171
- "type": "string",
172
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
173
- }
174
- },
175
- "required": [
176
- "source",
177
- "provider",
178
- "id"
179
- ],
180
- "additionalProperties": false
181
- },
182
- {
183
- "type": "object",
184
- "properties": {
185
- "source": {
186
- "type": "string",
187
- "const": "file"
188
- },
189
- "provider": {
190
- "type": "string",
191
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
192
- },
193
- "id": {
194
- "type": "string"
195
- }
196
- },
197
- "required": [
198
- "source",
199
- "provider",
200
- "id"
201
- ],
202
- "additionalProperties": false
203
- },
204
- {
205
- "type": "object",
206
- "properties": {
207
- "source": {
208
- "type": "string",
209
- "const": "exec"
210
- },
211
- "provider": {
212
- "type": "string",
213
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
214
- },
215
- "id": {
216
- "type": "string"
217
- }
218
- },
219
- "required": [
220
- "source",
221
- "provider",
222
- "id"
223
- ],
224
- "additionalProperties": false
225
- }
226
- ]
227
- }
228
- ]
229
- },
230
- "webhookPath": {
231
- "default": "/slack/events",
232
- "type": "string"
233
- },
234
23
  "capabilities": {
235
24
  "anyOf": [
236
25
  {
@@ -250,56 +39,6 @@
250
39
  }
251
40
  ]
252
41
  },
253
- "execApprovals": {
254
- "type": "object",
255
- "properties": {
256
- "enabled": {
257
- "anyOf": [
258
- {
259
- "type": "boolean"
260
- },
261
- {
262
- "type": "string",
263
- "const": "auto"
264
- }
265
- ]
266
- },
267
- "approvers": {
268
- "type": "array",
269
- "items": {
270
- "anyOf": [
271
- {
272
- "type": "string"
273
- },
274
- {
275
- "type": "number"
276
- }
277
- ]
278
- }
279
- },
280
- "agentFilter": {
281
- "type": "array",
282
- "items": {
283
- "type": "string"
284
- }
285
- },
286
- "sessionFilter": {
287
- "type": "array",
288
- "items": {
289
- "type": "string"
290
- }
291
- },
292
- "target": {
293
- "type": "string",
294
- "enum": [
295
- "dm",
296
- "channel",
297
- "both"
298
- ]
299
- }
300
- },
301
- "additionalProperties": false
302
- },
303
42
  "markdown": {
304
43
  "type": "object",
305
44
  "properties": {
@@ -315,786 +54,909 @@
315
54
  },
316
55
  "additionalProperties": false
317
56
  },
57
+ "configWrites": {
58
+ "type": "boolean"
59
+ },
318
60
  "enabled": {
319
61
  "type": "boolean"
320
62
  },
321
- "commands": {
63
+ "dmPolicy": {
64
+ "type": "string",
65
+ "enum": [
66
+ "pairing",
67
+ "allowlist",
68
+ "open",
69
+ "disabled"
70
+ ]
71
+ },
72
+ "allowFrom": {
73
+ "type": "array",
74
+ "items": {
75
+ "anyOf": [
76
+ {
77
+ "type": "string"
78
+ },
79
+ {
80
+ "type": "number"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ "defaultTo": {
86
+ "type": "string"
87
+ },
88
+ "groupPolicy": {
89
+ "default": "allowlist",
90
+ "type": "string",
91
+ "enum": [
92
+ "open",
93
+ "disabled",
94
+ "allowlist"
95
+ ]
96
+ },
97
+ "mentionPatterns": {
322
98
  "type": "object",
323
99
  "properties": {
324
- "native": {
100
+ "mode": {
325
101
  "anyOf": [
326
- {
327
- "type": "boolean"
328
- },
329
102
  {
330
103
  "type": "string",
331
- "const": "auto"
332
- }
333
- ]
334
- },
335
- "nativeSkills": {
336
- "anyOf": [
337
- {
338
- "type": "boolean"
104
+ "const": "allow"
339
105
  },
340
106
  {
341
107
  "type": "string",
342
- "const": "auto"
108
+ "const": "deny"
343
109
  }
344
110
  ]
111
+ },
112
+ "allowIn": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "string"
116
+ }
117
+ },
118
+ "denyIn": {
119
+ "type": "array",
120
+ "items": {
121
+ "type": "string"
122
+ }
345
123
  }
346
124
  },
347
125
  "additionalProperties": false
348
126
  },
349
- "configWrites": {
350
- "type": "boolean"
127
+ "contextVisibility": {
128
+ "type": "string",
129
+ "enum": [
130
+ "all",
131
+ "allowlist",
132
+ "allowlist_quote"
133
+ ]
351
134
  },
352
- "botToken": {
353
- "anyOf": [
354
- {
355
- "type": "string"
135
+ "historyLimit": {
136
+ "type": "integer",
137
+ "minimum": 0,
138
+ "maximum": 9007199254740991
139
+ },
140
+ "dmHistoryLimit": {
141
+ "type": "integer",
142
+ "minimum": 0,
143
+ "maximum": 9007199254740991
144
+ },
145
+ "dms": {
146
+ "type": "object",
147
+ "propertyNames": {
148
+ "type": "string"
149
+ },
150
+ "additionalProperties": {
151
+ "type": "object",
152
+ "properties": {
153
+ "historyLimit": {
154
+ "type": "integer",
155
+ "minimum": 0,
156
+ "maximum": 9007199254740991
157
+ }
356
158
  },
357
- {
358
- "oneOf": [
359
- {
159
+ "additionalProperties": false
160
+ }
161
+ },
162
+ "textChunkLimit": {
163
+ "type": "integer",
164
+ "exclusiveMinimum": 0,
165
+ "maximum": 9007199254740991
166
+ },
167
+ "streaming": {
168
+ "type": "object",
169
+ "properties": {
170
+ "mode": {
171
+ "type": "string",
172
+ "enum": [
173
+ "off",
174
+ "partial",
175
+ "block",
176
+ "progress"
177
+ ]
178
+ },
179
+ "chunkMode": {
180
+ "type": "string",
181
+ "enum": [
182
+ "length",
183
+ "newline"
184
+ ]
185
+ },
186
+ "preview": {
187
+ "type": "object",
188
+ "properties": {
189
+ "chunk": {
360
190
  "type": "object",
361
191
  "properties": {
362
- "source": {
363
- "type": "string",
364
- "const": "env"
192
+ "minChars": {
193
+ "type": "integer",
194
+ "exclusiveMinimum": 0,
195
+ "maximum": 9007199254740991
365
196
  },
366
- "provider": {
367
- "type": "string",
368
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
197
+ "maxChars": {
198
+ "type": "integer",
199
+ "exclusiveMinimum": 0,
200
+ "maximum": 9007199254740991
369
201
  },
370
- "id": {
371
- "type": "string",
372
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
202
+ "breakPreference": {
203
+ "anyOf": [
204
+ {
205
+ "type": "string",
206
+ "const": "paragraph"
207
+ },
208
+ {
209
+ "type": "string",
210
+ "const": "newline"
211
+ },
212
+ {
213
+ "type": "string",
214
+ "const": "sentence"
215
+ }
216
+ ]
373
217
  }
374
218
  },
375
- "required": [
376
- "source",
377
- "provider",
378
- "id"
379
- ],
380
219
  "additionalProperties": false
381
220
  },
382
- {
383
- "type": "object",
384
- "properties": {
385
- "source": {
386
- "type": "string",
387
- "const": "file"
388
- },
389
- "provider": {
390
- "type": "string",
391
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
392
- },
393
- "id": {
394
- "type": "string"
395
- }
396
- },
397
- "required": [
398
- "source",
399
- "provider",
400
- "id"
401
- ],
402
- "additionalProperties": false
221
+ "toolProgress": {
222
+ "type": "boolean"
403
223
  },
404
- {
405
- "type": "object",
406
- "properties": {
407
- "source": {
408
- "type": "string",
409
- "const": "exec"
410
- },
411
- "provider": {
412
- "type": "string",
413
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
414
- },
415
- "id": {
416
- "type": "string"
417
- }
418
- },
419
- "required": [
420
- "source",
421
- "provider",
422
- "id"
423
- ],
424
- "additionalProperties": false
224
+ "commandText": {
225
+ "type": "string",
226
+ "enum": [
227
+ "raw",
228
+ "status"
229
+ ]
425
230
  }
426
- ]
427
- }
428
- ]
429
- },
430
- "appToken": {
431
- "anyOf": [
432
- {
433
- "type": "string"
231
+ },
232
+ "additionalProperties": false
434
233
  },
435
- {
436
- "oneOf": [
437
- {
438
- "type": "object",
439
- "properties": {
440
- "source": {
441
- "type": "string",
442
- "const": "env"
443
- },
444
- "provider": {
445
- "type": "string",
446
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
234
+ "progress": {
235
+ "type": "object",
236
+ "properties": {
237
+ "label": {
238
+ "anyOf": [
239
+ {
240
+ "type": "string"
447
241
  },
448
- "id": {
449
- "type": "string",
450
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
242
+ {
243
+ "type": "boolean",
244
+ "const": false
451
245
  }
452
- },
453
- "required": [
454
- "source",
455
- "provider",
456
- "id"
457
- ],
458
- "additionalProperties": false
246
+ ]
459
247
  },
460
- {
461
- "type": "object",
462
- "properties": {
463
- "source": {
464
- "type": "string",
465
- "const": "file"
466
- },
467
- "provider": {
468
- "type": "string",
469
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
470
- },
471
- "id": {
472
- "type": "string"
473
- }
474
- },
475
- "required": [
476
- "source",
477
- "provider",
478
- "id"
479
- ],
480
- "additionalProperties": false
248
+ "labels": {
249
+ "type": "array",
250
+ "items": {
251
+ "type": "string"
252
+ }
481
253
  },
482
- {
483
- "type": "object",
484
- "properties": {
485
- "source": {
486
- "type": "string",
487
- "const": "exec"
488
- },
489
- "provider": {
490
- "type": "string",
491
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
492
- },
493
- "id": {
494
- "type": "string"
495
- }
496
- },
497
- "required": [
498
- "source",
499
- "provider",
500
- "id"
501
- ],
502
- "additionalProperties": false
254
+ "maxLines": {
255
+ "type": "integer",
256
+ "exclusiveMinimum": 0,
257
+ "maximum": 9007199254740991
258
+ },
259
+ "maxLineChars": {
260
+ "type": "integer",
261
+ "exclusiveMinimum": 0,
262
+ "maximum": 9007199254740991
263
+ },
264
+ "render": {
265
+ "type": "string",
266
+ "enum": [
267
+ "text",
268
+ "rich"
269
+ ]
270
+ },
271
+ "toolProgress": {
272
+ "type": "boolean"
273
+ },
274
+ "commandText": {
275
+ "type": "string",
276
+ "enum": [
277
+ "raw",
278
+ "status"
279
+ ]
280
+ },
281
+ "commentary": {
282
+ "type": "boolean"
283
+ },
284
+ "narration": {
285
+ "type": "boolean"
286
+ },
287
+ "nativeTaskCards": {
288
+ "type": "boolean"
503
289
  }
504
- ]
505
- }
506
- ]
507
- },
508
- "userToken": {
509
- "anyOf": [
510
- {
511
- "type": "string"
290
+ },
291
+ "additionalProperties": false
512
292
  },
513
- {
514
- "oneOf": [
515
- {
516
- "type": "object",
517
- "properties": {
518
- "source": {
519
- "type": "string",
520
- "const": "env"
521
- },
522
- "provider": {
523
- "type": "string",
524
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
525
- },
526
- "id": {
527
- "type": "string",
528
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
529
- }
530
- },
531
- "required": [
532
- "source",
533
- "provider",
534
- "id"
535
- ],
536
- "additionalProperties": false
537
- },
538
- {
539
- "type": "object",
540
- "properties": {
541
- "source": {
542
- "type": "string",
543
- "const": "file"
544
- },
545
- "provider": {
546
- "type": "string",
547
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
548
- },
549
- "id": {
550
- "type": "string"
551
- }
552
- },
553
- "required": [
554
- "source",
555
- "provider",
556
- "id"
557
- ],
558
- "additionalProperties": false
293
+ "block": {
294
+ "type": "object",
295
+ "properties": {
296
+ "enabled": {
297
+ "type": "boolean"
559
298
  },
560
- {
299
+ "coalesce": {
561
300
  "type": "object",
562
301
  "properties": {
563
- "source": {
564
- "type": "string",
565
- "const": "exec"
302
+ "minChars": {
303
+ "type": "integer",
304
+ "exclusiveMinimum": 0,
305
+ "maximum": 9007199254740991
566
306
  },
567
- "provider": {
568
- "type": "string",
569
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
307
+ "maxChars": {
308
+ "type": "integer",
309
+ "exclusiveMinimum": 0,
310
+ "maximum": 9007199254740991
570
311
  },
571
- "id": {
572
- "type": "string"
312
+ "idleMs": {
313
+ "type": "integer",
314
+ "minimum": 0,
315
+ "maximum": 9007199254740991
573
316
  }
574
317
  },
575
- "required": [
576
- "source",
577
- "provider",
578
- "id"
579
- ],
580
318
  "additionalProperties": false
581
319
  }
582
- ]
583
- }
584
- ]
585
- },
586
- "userTokenReadOnly": {
587
- "default": true,
588
- "type": "boolean"
589
- },
590
- "allowBots": {
591
- "anyOf": [
592
- {
593
- "type": "boolean"
320
+ },
321
+ "additionalProperties": false
594
322
  },
595
- {
596
- "type": "string",
597
- "const": "mentions"
323
+ "nativeTransport": {
324
+ "type": "boolean"
598
325
  }
599
- ]
326
+ },
327
+ "additionalProperties": false
600
328
  },
601
- "botLoopProtection": {
329
+ "heartbeatVisibility": {
602
330
  "type": "object",
603
331
  "properties": {
604
- "enabled": {
332
+ "showOk": {
605
333
  "type": "boolean"
606
334
  },
607
- "maxEventsPerWindow": {
608
- "type": "integer",
609
- "exclusiveMinimum": 0,
610
- "maximum": 9007199254740991
611
- },
612
- "windowSeconds": {
613
- "type": "integer",
614
- "exclusiveMinimum": 0,
615
- "maximum": 9007199254740991
335
+ "showAlerts": {
336
+ "type": "boolean"
616
337
  },
617
- "cooldownSeconds": {
618
- "type": "integer",
619
- "exclusiveMinimum": 0,
620
- "maximum": 9007199254740991
338
+ "useIndicator": {
339
+ "type": "boolean"
621
340
  }
622
341
  },
623
342
  "additionalProperties": false
624
343
  },
625
- "dangerouslyAllowNameMatching": {
626
- "type": "boolean"
627
- },
628
- "requireMention": {
629
- "type": "boolean"
630
- },
631
- "implicitMentions": {
344
+ "healthMonitor": {
632
345
  "type": "object",
633
346
  "properties": {
634
- "replyToBot": {
635
- "type": "boolean"
636
- },
637
- "quotedBot": {
638
- "type": "boolean"
639
- },
640
- "threadParticipation": {
347
+ "enabled": {
641
348
  "type": "boolean"
642
349
  }
643
350
  },
644
351
  "additionalProperties": false
645
352
  },
646
- "groupPolicy": {
647
- "default": "allowlist",
648
- "type": "string",
649
- "enum": [
650
- "open",
651
- "disabled",
652
- "allowlist"
653
- ]
353
+ "responsePrefix": {
354
+ "type": "string"
654
355
  },
655
- "mentionPatterns": {
656
- "type": "object",
657
- "properties": {
658
- "mode": {
659
- "anyOf": [
660
- {
661
- "type": "string",
662
- "const": "allow"
663
- },
664
- {
665
- "type": "string",
666
- "const": "deny"
667
- }
668
- ]
356
+ "mediaMaxMb": {
357
+ "type": "number",
358
+ "exclusiveMinimum": 0
359
+ },
360
+ "replyToMode": {
361
+ "anyOf": [
362
+ {
363
+ "type": "string",
364
+ "const": "off"
669
365
  },
670
- "allowIn": {
671
- "type": "array",
672
- "items": {
673
- "type": "string"
674
- }
366
+ {
367
+ "type": "string",
368
+ "const": "first"
675
369
  },
676
- "denyIn": {
677
- "type": "array",
678
- "items": {
679
- "type": "string"
680
- }
370
+ {
371
+ "type": "string",
372
+ "const": "all"
373
+ },
374
+ {
375
+ "type": "string",
376
+ "const": "batched"
681
377
  }
682
- },
683
- "additionalProperties": false
378
+ ]
684
379
  },
685
- "contextVisibility": {
380
+ "postAs": {
381
+ "default": "bot",
686
382
  "type": "string",
687
383
  "enum": [
688
- "all",
689
- "allowlist",
690
- "allowlist_quote"
384
+ "bot",
385
+ "user"
691
386
  ]
692
387
  },
693
- "historyLimit": {
694
- "type": "integer",
695
- "minimum": 0,
696
- "maximum": 9007199254740991
697
- },
698
- "dmHistoryLimit": {
699
- "type": "integer",
700
- "minimum": 0,
701
- "maximum": 9007199254740991
702
- },
703
- "dms": {
704
- "type": "object",
705
- "propertyNames": {
706
- "type": "string"
707
- },
708
- "additionalProperties": {
709
- "type": "object",
710
- "properties": {
711
- "historyLimit": {
712
- "type": "integer",
713
- "minimum": 0,
714
- "maximum": 9007199254740991
715
- }
716
- },
717
- "additionalProperties": false
718
- }
719
- },
720
- "textChunkLimit": {
721
- "type": "integer",
722
- "exclusiveMinimum": 0,
723
- "maximum": 9007199254740991
724
- },
725
- "unfurlLinks": {
726
- "type": "boolean"
388
+ "mode": {
389
+ "default": "socket",
390
+ "type": "string",
391
+ "enum": [
392
+ "socket",
393
+ "http",
394
+ "relay"
395
+ ]
727
396
  },
728
- "unfurlMedia": {
397
+ "enterpriseOrgInstall": {
729
398
  "type": "boolean"
730
399
  },
731
- "streaming": {
400
+ "relay": {
732
401
  "type": "object",
733
402
  "properties": {
734
- "mode": {
735
- "type": "string",
736
- "enum": [
737
- "off",
738
- "partial",
739
- "block",
740
- "progress"
741
- ]
742
- },
743
- "chunkMode": {
744
- "type": "string",
745
- "enum": [
746
- "length",
747
- "newline"
748
- ]
403
+ "url": {
404
+ "type": "string"
749
405
  },
750
- "preview": {
751
- "type": "object",
752
- "properties": {
753
- "chunk": {
754
- "type": "object",
755
- "properties": {
756
- "minChars": {
757
- "type": "integer",
758
- "exclusiveMinimum": 0,
759
- "maximum": 9007199254740991
760
- },
761
- "maxChars": {
762
- "type": "integer",
763
- "exclusiveMinimum": 0,
764
- "maximum": 9007199254740991
406
+ "authToken": {
407
+ "anyOf": [
408
+ {
409
+ "type": "string"
410
+ },
411
+ {
412
+ "oneOf": [
413
+ {
414
+ "type": "object",
415
+ "properties": {
416
+ "source": {
417
+ "type": "string",
418
+ "const": "env"
419
+ },
420
+ "provider": {
421
+ "type": "string",
422
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
423
+ },
424
+ "id": {
425
+ "type": "string",
426
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
427
+ }
428
+ },
429
+ "required": [
430
+ "source",
431
+ "provider",
432
+ "id"
433
+ ],
434
+ "additionalProperties": false
765
435
  },
766
- "breakPreference": {
767
- "anyOf": [
768
- {
436
+ {
437
+ "type": "object",
438
+ "properties": {
439
+ "source": {
769
440
  "type": "string",
770
- "const": "paragraph"
441
+ "const": "file"
771
442
  },
772
- {
443
+ "provider": {
773
444
  "type": "string",
774
- "const": "newline"
445
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
775
446
  },
776
- {
447
+ "id": {
448
+ "type": "string"
449
+ }
450
+ },
451
+ "required": [
452
+ "source",
453
+ "provider",
454
+ "id"
455
+ ],
456
+ "additionalProperties": false
457
+ },
458
+ {
459
+ "type": "object",
460
+ "properties": {
461
+ "source": {
777
462
  "type": "string",
778
- "const": "sentence"
463
+ "const": "exec"
464
+ },
465
+ "provider": {
466
+ "type": "string",
467
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
468
+ },
469
+ "id": {
470
+ "type": "string"
779
471
  }
780
- ]
472
+ },
473
+ "required": [
474
+ "source",
475
+ "provider",
476
+ "id"
477
+ ],
478
+ "additionalProperties": false
781
479
  }
782
- },
783
- "additionalProperties": false
784
- },
785
- "toolProgress": {
786
- "type": "boolean"
787
- },
788
- "commandText": {
789
- "type": "string",
790
- "enum": [
791
- "raw",
792
- "status"
793
480
  ]
794
481
  }
795
- },
796
- "additionalProperties": false
482
+ ]
797
483
  },
798
- "progress": {
799
- "type": "object",
800
- "properties": {
801
- "label": {
802
- "anyOf": [
803
- {
804
- "type": "string"
484
+ "gatewayId": {
485
+ "type": "string"
486
+ }
487
+ },
488
+ "additionalProperties": false
489
+ },
490
+ "signingSecret": {
491
+ "anyOf": [
492
+ {
493
+ "type": "string"
494
+ },
495
+ {
496
+ "oneOf": [
497
+ {
498
+ "type": "object",
499
+ "properties": {
500
+ "source": {
501
+ "type": "string",
502
+ "const": "env"
805
503
  },
806
- {
807
- "type": "boolean",
808
- "const": false
504
+ "provider": {
505
+ "type": "string",
506
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
507
+ },
508
+ "id": {
509
+ "type": "string",
510
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
809
511
  }
810
- ]
811
- },
812
- "labels": {
813
- "type": "array",
814
- "items": {
815
- "type": "string"
816
- }
817
- },
818
- "maxLines": {
819
- "type": "integer",
820
- "exclusiveMinimum": 0,
821
- "maximum": 9007199254740991
822
- },
823
- "maxLineChars": {
824
- "type": "integer",
825
- "exclusiveMinimum": 0,
826
- "maximum": 9007199254740991
827
- },
828
- "render": {
829
- "type": "string",
830
- "enum": [
831
- "text",
832
- "rich"
833
- ]
834
- },
835
- "toolProgress": {
836
- "type": "boolean"
837
- },
838
- "commandText": {
839
- "type": "string",
840
- "enum": [
841
- "raw",
842
- "status"
843
- ]
844
- },
845
- "commentary": {
846
- "type": "boolean"
847
- },
848
- "narration": {
849
- "type": "boolean"
512
+ },
513
+ "required": [
514
+ "source",
515
+ "provider",
516
+ "id"
517
+ ],
518
+ "additionalProperties": false
850
519
  },
851
- "nativeTaskCards": {
852
- "type": "boolean"
853
- }
854
- },
855
- "additionalProperties": false
856
- },
857
- "block": {
858
- "type": "object",
859
- "properties": {
860
- "enabled": {
861
- "type": "boolean"
520
+ {
521
+ "type": "object",
522
+ "properties": {
523
+ "source": {
524
+ "type": "string",
525
+ "const": "file"
526
+ },
527
+ "provider": {
528
+ "type": "string",
529
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
530
+ },
531
+ "id": {
532
+ "type": "string"
533
+ }
534
+ },
535
+ "required": [
536
+ "source",
537
+ "provider",
538
+ "id"
539
+ ],
540
+ "additionalProperties": false
862
541
  },
863
- "coalesce": {
542
+ {
864
543
  "type": "object",
865
544
  "properties": {
866
- "minChars": {
867
- "type": "integer",
868
- "exclusiveMinimum": 0,
869
- "maximum": 9007199254740991
545
+ "source": {
546
+ "type": "string",
547
+ "const": "exec"
870
548
  },
871
- "maxChars": {
872
- "type": "integer",
873
- "exclusiveMinimum": 0,
874
- "maximum": 9007199254740991
549
+ "provider": {
550
+ "type": "string",
551
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
875
552
  },
876
- "idleMs": {
877
- "type": "integer",
878
- "minimum": 0,
879
- "maximum": 9007199254740991
553
+ "id": {
554
+ "type": "string"
880
555
  }
881
556
  },
557
+ "required": [
558
+ "source",
559
+ "provider",
560
+ "id"
561
+ ],
882
562
  "additionalProperties": false
883
563
  }
884
- },
885
- "additionalProperties": false
886
- },
887
- "nativeTransport": {
888
- "type": "boolean"
564
+ ]
889
565
  }
890
- },
891
- "additionalProperties": false
892
- },
893
- "mediaMaxMb": {
894
- "type": "number",
895
- "exclusiveMinimum": 0
896
- },
897
- "reactionNotifications": {
898
- "type": "string",
899
- "enum": [
900
- "off",
901
- "own",
902
- "all",
903
- "allowlist"
904
566
  ]
905
567
  },
906
- "reactionAllowlist": {
907
- "type": "array",
908
- "items": {
909
- "anyOf": [
910
- {
911
- "type": "string"
912
- },
913
- {
914
- "type": "number"
915
- }
916
- ]
917
- }
918
- },
919
- "replyToMode": {
920
- "anyOf": [
921
- {
922
- "type": "string",
923
- "const": "off"
924
- },
925
- {
926
- "type": "string",
927
- "const": "first"
928
- },
929
- {
930
- "type": "string",
931
- "const": "all"
932
- },
933
- {
934
- "type": "string",
935
- "const": "batched"
936
- }
937
- ]
568
+ "webhookPath": {
569
+ "default": "/slack/events",
570
+ "type": "string"
938
571
  },
939
- "replyToModeByChatType": {
572
+ "execApprovals": {
940
573
  "type": "object",
941
574
  "properties": {
942
- "direct": {
575
+ "enabled": {
943
576
  "anyOf": [
944
577
  {
945
- "type": "string",
946
- "const": "off"
947
- },
948
- {
949
- "type": "string",
950
- "const": "first"
951
- },
952
- {
953
- "type": "string",
954
- "const": "all"
578
+ "type": "boolean"
955
579
  },
956
580
  {
957
581
  "type": "string",
958
- "const": "batched"
582
+ "const": "auto"
959
583
  }
960
584
  ]
961
585
  },
962
- "group": {
586
+ "approvers": {
587
+ "type": "array",
588
+ "items": {
589
+ "anyOf": [
590
+ {
591
+ "type": "string"
592
+ },
593
+ {
594
+ "type": "number"
595
+ }
596
+ ]
597
+ }
598
+ },
599
+ "agentFilter": {
600
+ "type": "array",
601
+ "items": {
602
+ "type": "string"
603
+ }
604
+ },
605
+ "sessionFilter": {
606
+ "type": "array",
607
+ "items": {
608
+ "type": "string"
609
+ }
610
+ },
611
+ "target": {
612
+ "type": "string",
613
+ "enum": [
614
+ "dm",
615
+ "channel",
616
+ "both"
617
+ ]
618
+ }
619
+ },
620
+ "additionalProperties": false
621
+ },
622
+ "commands": {
623
+ "type": "object",
624
+ "properties": {
625
+ "native": {
963
626
  "anyOf": [
964
627
  {
965
- "type": "string",
966
- "const": "off"
967
- },
968
- {
969
- "type": "string",
970
- "const": "first"
971
- },
972
- {
973
- "type": "string",
974
- "const": "all"
628
+ "type": "boolean"
975
629
  },
976
630
  {
977
631
  "type": "string",
978
- "const": "batched"
632
+ "const": "auto"
979
633
  }
980
634
  ]
981
635
  },
982
- "channel": {
636
+ "nativeSkills": {
983
637
  "anyOf": [
984
638
  {
985
- "type": "string",
986
- "const": "off"
987
- },
988
- {
989
- "type": "string",
990
- "const": "first"
991
- },
992
- {
993
- "type": "string",
994
- "const": "all"
639
+ "type": "boolean"
995
640
  },
996
641
  {
997
642
  "type": "string",
998
- "const": "batched"
643
+ "const": "auto"
999
644
  }
1000
645
  ]
1001
646
  }
1002
647
  },
1003
648
  "additionalProperties": false
1004
649
  },
1005
- "thread": {
1006
- "type": "object",
1007
- "properties": {
1008
- "historyScope": {
1009
- "type": "string",
1010
- "enum": [
1011
- "thread",
1012
- "channel"
1013
- ]
1014
- },
1015
- "inheritParent": {
1016
- "type": "boolean"
650
+ "botToken": {
651
+ "anyOf": [
652
+ {
653
+ "type": "string"
1017
654
  },
1018
- "initialHistoryLimit": {
1019
- "type": "integer",
1020
- "minimum": 0,
1021
- "maximum": 9007199254740991
655
+ {
656
+ "oneOf": [
657
+ {
658
+ "type": "object",
659
+ "properties": {
660
+ "source": {
661
+ "type": "string",
662
+ "const": "env"
663
+ },
664
+ "provider": {
665
+ "type": "string",
666
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
667
+ },
668
+ "id": {
669
+ "type": "string",
670
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
671
+ }
672
+ },
673
+ "required": [
674
+ "source",
675
+ "provider",
676
+ "id"
677
+ ],
678
+ "additionalProperties": false
679
+ },
680
+ {
681
+ "type": "object",
682
+ "properties": {
683
+ "source": {
684
+ "type": "string",
685
+ "const": "file"
686
+ },
687
+ "provider": {
688
+ "type": "string",
689
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
690
+ },
691
+ "id": {
692
+ "type": "string"
693
+ }
694
+ },
695
+ "required": [
696
+ "source",
697
+ "provider",
698
+ "id"
699
+ ],
700
+ "additionalProperties": false
701
+ },
702
+ {
703
+ "type": "object",
704
+ "properties": {
705
+ "source": {
706
+ "type": "string",
707
+ "const": "exec"
708
+ },
709
+ "provider": {
710
+ "type": "string",
711
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
712
+ },
713
+ "id": {
714
+ "type": "string"
715
+ }
716
+ },
717
+ "required": [
718
+ "source",
719
+ "provider",
720
+ "id"
721
+ ],
722
+ "additionalProperties": false
723
+ }
724
+ ]
1022
725
  }
1023
- },
1024
- "additionalProperties": false
726
+ ]
1025
727
  },
1026
- "presenceEvents": {
1027
- "type": "object",
1028
- "properties": {
1029
- "mode": {
1030
- "type": "string",
1031
- "enum": [
1032
- "off",
1033
- "auto",
1034
- "on"
728
+ "appToken": {
729
+ "anyOf": [
730
+ {
731
+ "type": "string"
732
+ },
733
+ {
734
+ "oneOf": [
735
+ {
736
+ "type": "object",
737
+ "properties": {
738
+ "source": {
739
+ "type": "string",
740
+ "const": "env"
741
+ },
742
+ "provider": {
743
+ "type": "string",
744
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
745
+ },
746
+ "id": {
747
+ "type": "string",
748
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
749
+ }
750
+ },
751
+ "required": [
752
+ "source",
753
+ "provider",
754
+ "id"
755
+ ],
756
+ "additionalProperties": false
757
+ },
758
+ {
759
+ "type": "object",
760
+ "properties": {
761
+ "source": {
762
+ "type": "string",
763
+ "const": "file"
764
+ },
765
+ "provider": {
766
+ "type": "string",
767
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
768
+ },
769
+ "id": {
770
+ "type": "string"
771
+ }
772
+ },
773
+ "required": [
774
+ "source",
775
+ "provider",
776
+ "id"
777
+ ],
778
+ "additionalProperties": false
779
+ },
780
+ {
781
+ "type": "object",
782
+ "properties": {
783
+ "source": {
784
+ "type": "string",
785
+ "const": "exec"
786
+ },
787
+ "provider": {
788
+ "type": "string",
789
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
790
+ },
791
+ "id": {
792
+ "type": "string"
793
+ }
794
+ },
795
+ "required": [
796
+ "source",
797
+ "provider",
798
+ "id"
799
+ ],
800
+ "additionalProperties": false
801
+ }
1035
802
  ]
1036
803
  }
1037
- },
1038
- "additionalProperties": false
804
+ ]
1039
805
  },
1040
- "actions": {
1041
- "type": "object",
1042
- "properties": {
1043
- "reactions": {
1044
- "type": "boolean"
1045
- },
1046
- "messages": {
1047
- "type": "boolean"
1048
- },
1049
- "pins": {
1050
- "type": "boolean"
806
+ "userToken": {
807
+ "anyOf": [
808
+ {
809
+ "type": "string"
1051
810
  },
1052
- "search": {
811
+ {
812
+ "oneOf": [
813
+ {
814
+ "type": "object",
815
+ "properties": {
816
+ "source": {
817
+ "type": "string",
818
+ "const": "env"
819
+ },
820
+ "provider": {
821
+ "type": "string",
822
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
823
+ },
824
+ "id": {
825
+ "type": "string",
826
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
827
+ }
828
+ },
829
+ "required": [
830
+ "source",
831
+ "provider",
832
+ "id"
833
+ ],
834
+ "additionalProperties": false
835
+ },
836
+ {
837
+ "type": "object",
838
+ "properties": {
839
+ "source": {
840
+ "type": "string",
841
+ "const": "file"
842
+ },
843
+ "provider": {
844
+ "type": "string",
845
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
846
+ },
847
+ "id": {
848
+ "type": "string"
849
+ }
850
+ },
851
+ "required": [
852
+ "source",
853
+ "provider",
854
+ "id"
855
+ ],
856
+ "additionalProperties": false
857
+ },
858
+ {
859
+ "type": "object",
860
+ "properties": {
861
+ "source": {
862
+ "type": "string",
863
+ "const": "exec"
864
+ },
865
+ "provider": {
866
+ "type": "string",
867
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
868
+ },
869
+ "id": {
870
+ "type": "string"
871
+ }
872
+ },
873
+ "required": [
874
+ "source",
875
+ "provider",
876
+ "id"
877
+ ],
878
+ "additionalProperties": false
879
+ }
880
+ ]
881
+ }
882
+ ]
883
+ },
884
+ "userTokenReadOnly": {
885
+ "default": true,
886
+ "type": "boolean"
887
+ },
888
+ "allowBots": {
889
+ "anyOf": [
890
+ {
1053
891
  "type": "boolean"
1054
892
  },
1055
- "permissions": {
893
+ {
894
+ "type": "string",
895
+ "const": "mentions"
896
+ }
897
+ ]
898
+ },
899
+ "botLoopProtection": {
900
+ "type": "object",
901
+ "properties": {
902
+ "enabled": {
1056
903
  "type": "boolean"
1057
904
  },
1058
- "memberInfo": {
1059
- "type": "boolean"
905
+ "maxEventsPerWindow": {
906
+ "type": "integer",
907
+ "exclusiveMinimum": 0,
908
+ "maximum": 9007199254740991
1060
909
  },
1061
- "channelInfo": {
1062
- "type": "boolean"
910
+ "windowSeconds": {
911
+ "type": "integer",
912
+ "exclusiveMinimum": 0,
913
+ "maximum": 9007199254740991
1063
914
  },
1064
- "emojiList": {
1065
- "type": "boolean"
915
+ "cooldownSeconds": {
916
+ "type": "integer",
917
+ "exclusiveMinimum": 0,
918
+ "maximum": 9007199254740991
1066
919
  }
1067
920
  },
1068
921
  "additionalProperties": false
1069
922
  },
1070
- "slashCommand": {
923
+ "dangerouslyAllowNameMatching": {
924
+ "type": "boolean"
925
+ },
926
+ "requireMention": {
927
+ "type": "boolean"
928
+ },
929
+ "implicitMentions": {
1071
930
  "type": "object",
1072
931
  "properties": {
1073
- "enabled": {
932
+ "replyToBot": {
1074
933
  "type": "boolean"
1075
934
  },
1076
- "name": {
1077
- "type": "string"
1078
- },
1079
- "sessionPrefix": {
1080
- "type": "string"
935
+ "quotedBot": {
936
+ "type": "boolean"
1081
937
  },
1082
- "ephemeral": {
938
+ "threadParticipation": {
1083
939
  "type": "boolean"
1084
940
  }
1085
941
  },
1086
942
  "additionalProperties": false
1087
943
  },
1088
- "dmPolicy": {
944
+ "unfurlLinks": {
945
+ "type": "boolean"
946
+ },
947
+ "unfurlMedia": {
948
+ "type": "boolean"
949
+ },
950
+ "reactionNotifications": {
1089
951
  "type": "string",
1090
952
  "enum": [
1091
- "pairing",
1092
- "allowlist",
1093
- "open",
1094
- "disabled"
953
+ "off",
954
+ "own",
955
+ "all",
956
+ "allowlist"
1095
957
  ]
1096
958
  },
1097
- "allowFrom": {
959
+ "reactionAllowlist": {
1098
960
  "type": "array",
1099
961
  "items": {
1100
962
  "anyOf": [
@@ -1107,54 +969,13 @@
1107
969
  ]
1108
970
  }
1109
971
  },
1110
- "defaultTo": {
972
+ "ackReaction": {
1111
973
  "type": "string"
1112
974
  },
1113
- "dm": {
975
+ "replyToModeByChatType": {
1114
976
  "type": "object",
1115
977
  "properties": {
1116
- "enabled": {
1117
- "type": "boolean"
1118
- },
1119
- "policy": {
1120
- "type": "string",
1121
- "enum": [
1122
- "pairing",
1123
- "allowlist",
1124
- "open",
1125
- "disabled"
1126
- ]
1127
- },
1128
- "allowFrom": {
1129
- "type": "array",
1130
- "items": {
1131
- "anyOf": [
1132
- {
1133
- "type": "string"
1134
- },
1135
- {
1136
- "type": "number"
1137
- }
1138
- ]
1139
- }
1140
- },
1141
- "groupEnabled": {
1142
- "type": "boolean"
1143
- },
1144
- "groupChannels": {
1145
- "type": "array",
1146
- "items": {
1147
- "anyOf": [
1148
- {
1149
- "type": "string"
1150
- },
1151
- {
1152
- "type": "number"
1153
- }
1154
- ]
1155
- }
1156
- },
1157
- "replyToMode": {
978
+ "direct": {
1158
979
  "anyOf": [
1159
980
  {
1160
981
  "type": "string",
@@ -1173,210 +994,159 @@
1173
994
  "const": "batched"
1174
995
  }
1175
996
  ]
1176
- }
1177
- },
1178
- "additionalProperties": false
1179
- },
1180
- "channels": {
1181
- "type": "object",
1182
- "propertyNames": {
1183
- "type": "string"
1184
- },
1185
- "additionalProperties": {
1186
- "type": "object",
1187
- "properties": {
1188
- "enabled": {
1189
- "type": "boolean"
1190
- },
1191
- "requireMention": {
1192
- "type": "boolean"
1193
- },
1194
- "ignoreOtherMentions": {
1195
- "type": "boolean"
1196
- },
1197
- "replyToMode": {
1198
- "anyOf": [
1199
- {
1200
- "type": "string",
1201
- "const": "off"
1202
- },
1203
- {
1204
- "type": "string",
1205
- "const": "first"
1206
- },
1207
- {
1208
- "type": "string",
1209
- "const": "all"
1210
- },
1211
- {
1212
- "type": "string",
1213
- "const": "batched"
1214
- }
1215
- ]
1216
- },
1217
- "tools": {
1218
- "type": "object",
1219
- "properties": {
1220
- "allow": {
1221
- "type": "array",
1222
- "items": {
1223
- "type": "string"
1224
- }
1225
- },
1226
- "alsoAllow": {
1227
- "type": "array",
1228
- "items": {
1229
- "type": "string"
1230
- }
1231
- },
1232
- "deny": {
1233
- "type": "array",
1234
- "items": {
1235
- "type": "string"
1236
- }
1237
- }
997
+ },
998
+ "group": {
999
+ "anyOf": [
1000
+ {
1001
+ "type": "string",
1002
+ "const": "off"
1238
1003
  },
1239
- "additionalProperties": false
1240
- },
1241
- "toolsBySender": {
1242
- "type": "object",
1243
- "propertyNames": {
1244
- "type": "string"
1004
+ {
1005
+ "type": "string",
1006
+ "const": "first"
1245
1007
  },
1246
- "additionalProperties": {
1247
- "type": "object",
1248
- "properties": {
1249
- "allow": {
1250
- "type": "array",
1251
- "items": {
1252
- "type": "string"
1253
- }
1254
- },
1255
- "alsoAllow": {
1256
- "type": "array",
1257
- "items": {
1258
- "type": "string"
1259
- }
1260
- },
1261
- "deny": {
1262
- "type": "array",
1263
- "items": {
1264
- "type": "string"
1265
- }
1266
- }
1267
- },
1268
- "additionalProperties": false
1269
- }
1270
- },
1271
- "allowBots": {
1272
- "anyOf": [
1273
- {
1274
- "type": "boolean"
1275
- },
1276
- {
1277
- "type": "string",
1278
- "const": "mentions"
1279
- }
1280
- ]
1281
- },
1282
- "botLoopProtection": {
1283
- "type": "object",
1284
- "properties": {
1285
- "enabled": {
1286
- "type": "boolean"
1287
- },
1288
- "maxEventsPerWindow": {
1289
- "type": "integer",
1290
- "exclusiveMinimum": 0,
1291
- "maximum": 9007199254740991
1292
- },
1293
- "windowSeconds": {
1294
- "type": "integer",
1295
- "exclusiveMinimum": 0,
1296
- "maximum": 9007199254740991
1297
- },
1298
- "cooldownSeconds": {
1299
- "type": "integer",
1300
- "exclusiveMinimum": 0,
1301
- "maximum": 9007199254740991
1302
- }
1008
+ {
1009
+ "type": "string",
1010
+ "const": "all"
1303
1011
  },
1304
- "additionalProperties": false
1305
- },
1306
- "users": {
1307
- "type": "array",
1308
- "items": {
1309
- "anyOf": [
1310
- {
1311
- "type": "string"
1312
- },
1313
- {
1314
- "type": "number"
1315
- }
1316
- ]
1317
- }
1318
- },
1319
- "skills": {
1320
- "type": "array",
1321
- "items": {
1322
- "type": "string"
1323
- }
1324
- },
1325
- "systemPrompt": {
1326
- "type": "string"
1327
- },
1328
- "presenceEvents": {
1329
- "type": "object",
1330
- "properties": {
1331
- "mode": {
1332
- "type": "string",
1333
- "enum": [
1334
- "off",
1335
- "auto",
1336
- "on"
1337
- ]
1338
- }
1012
+ {
1013
+ "type": "string",
1014
+ "const": "batched"
1015
+ }
1016
+ ]
1017
+ },
1018
+ "channel": {
1019
+ "anyOf": [
1020
+ {
1021
+ "type": "string",
1022
+ "const": "off"
1339
1023
  },
1340
- "additionalProperties": false
1341
- }
1024
+ {
1025
+ "type": "string",
1026
+ "const": "first"
1027
+ },
1028
+ {
1029
+ "type": "string",
1030
+ "const": "all"
1031
+ },
1032
+ {
1033
+ "type": "string",
1034
+ "const": "batched"
1035
+ }
1036
+ ]
1037
+ }
1038
+ },
1039
+ "additionalProperties": false
1040
+ },
1041
+ "thread": {
1042
+ "type": "object",
1043
+ "properties": {
1044
+ "historyScope": {
1045
+ "type": "string",
1046
+ "enum": [
1047
+ "thread",
1048
+ "channel"
1049
+ ]
1342
1050
  },
1343
- "additionalProperties": false
1344
- }
1051
+ "inheritParent": {
1052
+ "type": "boolean"
1053
+ },
1054
+ "initialHistoryLimit": {
1055
+ "type": "integer",
1056
+ "minimum": 0,
1057
+ "maximum": 9007199254740991
1058
+ }
1059
+ },
1060
+ "additionalProperties": false
1345
1061
  },
1346
- "heartbeat": {
1062
+ "presenceEvents": {
1347
1063
  "type": "object",
1348
1064
  "properties": {
1349
- "showOk": {
1065
+ "mode": {
1066
+ "type": "string",
1067
+ "enum": [
1068
+ "off",
1069
+ "auto",
1070
+ "on"
1071
+ ]
1072
+ }
1073
+ },
1074
+ "additionalProperties": false
1075
+ },
1076
+ "actions": {
1077
+ "type": "object",
1078
+ "properties": {
1079
+ "reactions": {
1350
1080
  "type": "boolean"
1351
1081
  },
1352
- "showAlerts": {
1082
+ "messages": {
1353
1083
  "type": "boolean"
1354
1084
  },
1355
- "useIndicator": {
1085
+ "pins": {
1086
+ "type": "boolean"
1087
+ },
1088
+ "search": {
1089
+ "type": "boolean"
1090
+ },
1091
+ "permissions": {
1092
+ "type": "boolean"
1093
+ },
1094
+ "memberInfo": {
1095
+ "type": "boolean"
1096
+ },
1097
+ "channelInfo": {
1098
+ "type": "boolean"
1099
+ },
1100
+ "emojiList": {
1356
1101
  "type": "boolean"
1357
1102
  }
1358
1103
  },
1359
1104
  "additionalProperties": false
1360
1105
  },
1361
- "healthMonitor": {
1106
+ "slashCommand": {
1362
1107
  "type": "object",
1363
1108
  "properties": {
1364
1109
  "enabled": {
1365
1110
  "type": "boolean"
1111
+ },
1112
+ "name": {
1113
+ "type": "string"
1114
+ },
1115
+ "sessionPrefix": {
1116
+ "type": "string"
1117
+ },
1118
+ "ephemeral": {
1119
+ "type": "boolean"
1366
1120
  }
1367
1121
  },
1368
1122
  "additionalProperties": false
1369
1123
  },
1370
- "responsePrefix": {
1371
- "type": "string"
1372
- },
1373
- "ackReaction": {
1374
- "type": "string"
1375
- },
1376
- "typingReaction": {
1377
- "type": "string"
1124
+ "dm": {
1125
+ "type": "object",
1126
+ "properties": {
1127
+ "enabled": {
1128
+ "type": "boolean"
1129
+ },
1130
+ "groupEnabled": {
1131
+ "type": "boolean"
1132
+ },
1133
+ "groupChannels": {
1134
+ "type": "array",
1135
+ "items": {
1136
+ "anyOf": [
1137
+ {
1138
+ "type": "string"
1139
+ },
1140
+ {
1141
+ "type": "number"
1142
+ }
1143
+ ]
1144
+ }
1145
+ }
1146
+ },
1147
+ "additionalProperties": false
1378
1148
  },
1379
- "accounts": {
1149
+ "channels": {
1380
1150
  "type": "object",
1381
1151
  "propertyNames": {
1382
1152
  "type": "string"
@@ -1384,285 +1154,196 @@
1384
1154
  "additionalProperties": {
1385
1155
  "type": "object",
1386
1156
  "properties": {
1387
- "name": {
1388
- "type": "string"
1389
- },
1390
- "identity": {
1391
- "type": "string",
1392
- "enum": [
1393
- "bot",
1394
- "user"
1395
- ]
1396
- },
1397
- "mode": {
1398
- "type": "string",
1399
- "enum": [
1400
- "socket",
1401
- "http",
1402
- "relay"
1403
- ]
1404
- },
1405
- "enterpriseOrgInstall": {
1157
+ "requireMention": {
1406
1158
  "type": "boolean"
1407
1159
  },
1408
- "socketMode": {
1409
- "type": "object",
1410
- "properties": {
1411
- "clientPingTimeout": {
1412
- "type": "integer",
1413
- "exclusiveMinimum": 0,
1414
- "maximum": 9007199254740991
1415
- },
1416
- "serverPingTimeout": {
1417
- "type": "integer",
1418
- "exclusiveMinimum": 0,
1419
- "maximum": 9007199254740991
1420
- },
1421
- "pingPongLoggingEnabled": {
1422
- "type": "boolean"
1423
- }
1424
- },
1425
- "additionalProperties": false
1426
- },
1427
- "relay": {
1160
+ "tools": {
1428
1161
  "type": "object",
1429
1162
  "properties": {
1430
- "url": {
1431
- "type": "string"
1163
+ "allow": {
1164
+ "type": "array",
1165
+ "items": {
1166
+ "type": "string"
1167
+ }
1432
1168
  },
1433
- "authToken": {
1434
- "anyOf": [
1435
- {
1436
- "type": "string"
1437
- },
1438
- {
1439
- "oneOf": [
1440
- {
1441
- "type": "object",
1442
- "properties": {
1443
- "source": {
1444
- "type": "string",
1445
- "const": "env"
1446
- },
1447
- "provider": {
1448
- "type": "string",
1449
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1450
- },
1451
- "id": {
1452
- "type": "string",
1453
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
1454
- }
1455
- },
1456
- "required": [
1457
- "source",
1458
- "provider",
1459
- "id"
1460
- ],
1461
- "additionalProperties": false
1462
- },
1463
- {
1464
- "type": "object",
1465
- "properties": {
1466
- "source": {
1467
- "type": "string",
1468
- "const": "file"
1469
- },
1470
- "provider": {
1471
- "type": "string",
1472
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1473
- },
1474
- "id": {
1475
- "type": "string"
1476
- }
1477
- },
1478
- "required": [
1479
- "source",
1480
- "provider",
1481
- "id"
1482
- ],
1483
- "additionalProperties": false
1484
- },
1485
- {
1486
- "type": "object",
1487
- "properties": {
1488
- "source": {
1489
- "type": "string",
1490
- "const": "exec"
1491
- },
1492
- "provider": {
1493
- "type": "string",
1494
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1495
- },
1496
- "id": {
1497
- "type": "string"
1498
- }
1499
- },
1500
- "required": [
1501
- "source",
1502
- "provider",
1503
- "id"
1504
- ],
1505
- "additionalProperties": false
1506
- }
1507
- ]
1508
- }
1509
- ]
1169
+ "alsoAllow": {
1170
+ "type": "array",
1171
+ "items": {
1172
+ "type": "string"
1173
+ }
1510
1174
  },
1511
- "gatewayId": {
1512
- "type": "string"
1175
+ "deny": {
1176
+ "type": "array",
1177
+ "items": {
1178
+ "type": "string"
1179
+ }
1513
1180
  }
1514
1181
  },
1515
1182
  "additionalProperties": false
1516
1183
  },
1517
- "signingSecret": {
1184
+ "toolsBySender": {
1185
+ "type": "object",
1186
+ "propertyNames": {
1187
+ "type": "string"
1188
+ },
1189
+ "additionalProperties": {
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "allow": {
1193
+ "type": "array",
1194
+ "items": {
1195
+ "type": "string"
1196
+ }
1197
+ },
1198
+ "alsoAllow": {
1199
+ "type": "array",
1200
+ "items": {
1201
+ "type": "string"
1202
+ }
1203
+ },
1204
+ "deny": {
1205
+ "type": "array",
1206
+ "items": {
1207
+ "type": "string"
1208
+ }
1209
+ }
1210
+ },
1211
+ "additionalProperties": false
1212
+ }
1213
+ },
1214
+ "skills": {
1215
+ "type": "array",
1216
+ "items": {
1217
+ "type": "string"
1218
+ }
1219
+ },
1220
+ "enabled": {
1221
+ "type": "boolean"
1222
+ },
1223
+ "systemPrompt": {
1224
+ "type": "string"
1225
+ },
1226
+ "ignoreOtherMentions": {
1227
+ "type": "boolean"
1228
+ },
1229
+ "replyToMode": {
1518
1230
  "anyOf": [
1519
1231
  {
1520
- "type": "string"
1232
+ "type": "string",
1233
+ "const": "off"
1521
1234
  },
1522
1235
  {
1523
- "oneOf": [
1524
- {
1525
- "type": "object",
1526
- "properties": {
1527
- "source": {
1528
- "type": "string",
1529
- "const": "env"
1530
- },
1531
- "provider": {
1532
- "type": "string",
1533
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1534
- },
1535
- "id": {
1536
- "type": "string",
1537
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
1538
- }
1539
- },
1540
- "required": [
1541
- "source",
1542
- "provider",
1543
- "id"
1544
- ],
1545
- "additionalProperties": false
1546
- },
1547
- {
1548
- "type": "object",
1549
- "properties": {
1550
- "source": {
1551
- "type": "string",
1552
- "const": "file"
1553
- },
1554
- "provider": {
1555
- "type": "string",
1556
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1557
- },
1558
- "id": {
1559
- "type": "string"
1560
- }
1561
- },
1562
- "required": [
1563
- "source",
1564
- "provider",
1565
- "id"
1566
- ],
1567
- "additionalProperties": false
1568
- },
1569
- {
1570
- "type": "object",
1571
- "properties": {
1572
- "source": {
1573
- "type": "string",
1574
- "const": "exec"
1575
- },
1576
- "provider": {
1577
- "type": "string",
1578
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1579
- },
1580
- "id": {
1581
- "type": "string"
1582
- }
1583
- },
1584
- "required": [
1585
- "source",
1586
- "provider",
1587
- "id"
1588
- ],
1589
- "additionalProperties": false
1590
- }
1591
- ]
1236
+ "type": "string",
1237
+ "const": "first"
1238
+ },
1239
+ {
1240
+ "type": "string",
1241
+ "const": "all"
1242
+ },
1243
+ {
1244
+ "type": "string",
1245
+ "const": "batched"
1592
1246
  }
1593
1247
  ]
1594
1248
  },
1595
- "webhookPath": {
1596
- "type": "string"
1597
- },
1598
- "capabilities": {
1249
+ "allowBots": {
1599
1250
  "anyOf": [
1600
1251
  {
1601
- "type": "array",
1602
- "items": {
1603
- "type": "string"
1604
- }
1252
+ "type": "boolean"
1605
1253
  },
1606
1254
  {
1607
- "type": "object",
1608
- "properties": {
1609
- "interactiveReplies": {
1610
- "type": "boolean"
1611
- }
1612
- },
1613
- "additionalProperties": false
1255
+ "type": "string",
1256
+ "const": "mentions"
1614
1257
  }
1615
1258
  ]
1616
1259
  },
1617
- "execApprovals": {
1260
+ "botLoopProtection": {
1618
1261
  "type": "object",
1619
1262
  "properties": {
1620
1263
  "enabled": {
1621
- "anyOf": [
1622
- {
1623
- "type": "boolean"
1624
- },
1625
- {
1626
- "type": "string",
1627
- "const": "auto"
1628
- }
1629
- ]
1264
+ "type": "boolean"
1630
1265
  },
1631
- "approvers": {
1632
- "type": "array",
1633
- "items": {
1634
- "anyOf": [
1635
- {
1636
- "type": "string"
1637
- },
1638
- {
1639
- "type": "number"
1640
- }
1641
- ]
1642
- }
1266
+ "maxEventsPerWindow": {
1267
+ "type": "integer",
1268
+ "exclusiveMinimum": 0,
1269
+ "maximum": 9007199254740991
1643
1270
  },
1644
- "agentFilter": {
1645
- "type": "array",
1646
- "items": {
1271
+ "windowSeconds": {
1272
+ "type": "integer",
1273
+ "exclusiveMinimum": 0,
1274
+ "maximum": 9007199254740991
1275
+ },
1276
+ "cooldownSeconds": {
1277
+ "type": "integer",
1278
+ "exclusiveMinimum": 0,
1279
+ "maximum": 9007199254740991
1280
+ }
1281
+ },
1282
+ "additionalProperties": false
1283
+ },
1284
+ "users": {
1285
+ "type": "array",
1286
+ "items": {
1287
+ "anyOf": [
1288
+ {
1647
1289
  "type": "string"
1290
+ },
1291
+ {
1292
+ "type": "number"
1648
1293
  }
1649
- },
1650
- "sessionFilter": {
1294
+ ]
1295
+ }
1296
+ },
1297
+ "presenceEvents": {
1298
+ "type": "object",
1299
+ "properties": {
1300
+ "mode": {
1301
+ "type": "string",
1302
+ "enum": [
1303
+ "off",
1304
+ "auto",
1305
+ "on"
1306
+ ]
1307
+ }
1308
+ },
1309
+ "additionalProperties": false
1310
+ }
1311
+ },
1312
+ "additionalProperties": false
1313
+ }
1314
+ },
1315
+ "typingReaction": {
1316
+ "type": "string"
1317
+ },
1318
+ "accounts": {
1319
+ "type": "object",
1320
+ "propertyNames": {
1321
+ "type": "string"
1322
+ },
1323
+ "additionalProperties": {
1324
+ "type": "object",
1325
+ "properties": {
1326
+ "name": {
1327
+ "type": "string"
1328
+ },
1329
+ "capabilities": {
1330
+ "anyOf": [
1331
+ {
1651
1332
  "type": "array",
1652
1333
  "items": {
1653
1334
  "type": "string"
1654
1335
  }
1655
1336
  },
1656
- "target": {
1657
- "type": "string",
1658
- "enum": [
1659
- "dm",
1660
- "channel",
1661
- "both"
1662
- ]
1337
+ {
1338
+ "type": "object",
1339
+ "properties": {
1340
+ "interactiveReplies": {
1341
+ "type": "boolean"
1342
+ }
1343
+ },
1344
+ "additionalProperties": false
1663
1345
  }
1664
- },
1665
- "additionalProperties": false
1346
+ ]
1666
1347
  },
1667
1348
  "markdown": {
1668
1349
  "type": "object",
@@ -1679,197 +1360,437 @@
1679
1360
  },
1680
1361
  "additionalProperties": false
1681
1362
  },
1363
+ "configWrites": {
1364
+ "type": "boolean"
1365
+ },
1682
1366
  "enabled": {
1683
1367
  "type": "boolean"
1684
1368
  },
1685
- "commands": {
1369
+ "dmPolicy": {
1370
+ "type": "string",
1371
+ "enum": [
1372
+ "pairing",
1373
+ "allowlist",
1374
+ "open",
1375
+ "disabled"
1376
+ ]
1377
+ },
1378
+ "allowFrom": {
1379
+ "type": "array",
1380
+ "items": {
1381
+ "anyOf": [
1382
+ {
1383
+ "type": "string"
1384
+ },
1385
+ {
1386
+ "type": "number"
1387
+ }
1388
+ ]
1389
+ }
1390
+ },
1391
+ "defaultTo": {
1392
+ "type": "string"
1393
+ },
1394
+ "groupPolicy": {
1395
+ "type": "string",
1396
+ "enum": [
1397
+ "open",
1398
+ "disabled",
1399
+ "allowlist"
1400
+ ]
1401
+ },
1402
+ "mentionPatterns": {
1686
1403
  "type": "object",
1687
1404
  "properties": {
1688
- "native": {
1405
+ "mode": {
1689
1406
  "anyOf": [
1690
- {
1691
- "type": "boolean"
1692
- },
1693
1407
  {
1694
1408
  "type": "string",
1695
- "const": "auto"
1696
- }
1697
- ]
1698
- },
1699
- "nativeSkills": {
1700
- "anyOf": [
1701
- {
1702
- "type": "boolean"
1409
+ "const": "allow"
1703
1410
  },
1704
1411
  {
1705
1412
  "type": "string",
1706
- "const": "auto"
1413
+ "const": "deny"
1707
1414
  }
1708
1415
  ]
1416
+ },
1417
+ "allowIn": {
1418
+ "type": "array",
1419
+ "items": {
1420
+ "type": "string"
1421
+ }
1422
+ },
1423
+ "denyIn": {
1424
+ "type": "array",
1425
+ "items": {
1426
+ "type": "string"
1427
+ }
1709
1428
  }
1710
1429
  },
1711
1430
  "additionalProperties": false
1712
1431
  },
1713
- "configWrites": {
1714
- "type": "boolean"
1432
+ "contextVisibility": {
1433
+ "type": "string",
1434
+ "enum": [
1435
+ "all",
1436
+ "allowlist",
1437
+ "allowlist_quote"
1438
+ ]
1715
1439
  },
1716
- "botToken": {
1717
- "anyOf": [
1718
- {
1719
- "type": "string"
1440
+ "historyLimit": {
1441
+ "type": "integer",
1442
+ "minimum": 0,
1443
+ "maximum": 9007199254740991
1444
+ },
1445
+ "dmHistoryLimit": {
1446
+ "type": "integer",
1447
+ "minimum": 0,
1448
+ "maximum": 9007199254740991
1449
+ },
1450
+ "dms": {
1451
+ "type": "object",
1452
+ "propertyNames": {
1453
+ "type": "string"
1454
+ },
1455
+ "additionalProperties": {
1456
+ "type": "object",
1457
+ "properties": {
1458
+ "historyLimit": {
1459
+ "type": "integer",
1460
+ "minimum": 0,
1461
+ "maximum": 9007199254740991
1462
+ }
1720
1463
  },
1721
- {
1722
- "oneOf": [
1723
- {
1464
+ "additionalProperties": false
1465
+ }
1466
+ },
1467
+ "textChunkLimit": {
1468
+ "type": "integer",
1469
+ "exclusiveMinimum": 0,
1470
+ "maximum": 9007199254740991
1471
+ },
1472
+ "streaming": {
1473
+ "type": "object",
1474
+ "properties": {
1475
+ "mode": {
1476
+ "type": "string",
1477
+ "enum": [
1478
+ "off",
1479
+ "partial",
1480
+ "block",
1481
+ "progress"
1482
+ ]
1483
+ },
1484
+ "chunkMode": {
1485
+ "type": "string",
1486
+ "enum": [
1487
+ "length",
1488
+ "newline"
1489
+ ]
1490
+ },
1491
+ "preview": {
1492
+ "type": "object",
1493
+ "properties": {
1494
+ "chunk": {
1724
1495
  "type": "object",
1725
1496
  "properties": {
1726
- "source": {
1727
- "type": "string",
1728
- "const": "env"
1497
+ "minChars": {
1498
+ "type": "integer",
1499
+ "exclusiveMinimum": 0,
1500
+ "maximum": 9007199254740991
1729
1501
  },
1730
- "provider": {
1731
- "type": "string",
1732
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1502
+ "maxChars": {
1503
+ "type": "integer",
1504
+ "exclusiveMinimum": 0,
1505
+ "maximum": 9007199254740991
1733
1506
  },
1734
- "id": {
1735
- "type": "string",
1736
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
1507
+ "breakPreference": {
1508
+ "anyOf": [
1509
+ {
1510
+ "type": "string",
1511
+ "const": "paragraph"
1512
+ },
1513
+ {
1514
+ "type": "string",
1515
+ "const": "newline"
1516
+ },
1517
+ {
1518
+ "type": "string",
1519
+ "const": "sentence"
1520
+ }
1521
+ ]
1737
1522
  }
1738
1523
  },
1739
- "required": [
1740
- "source",
1741
- "provider",
1742
- "id"
1743
- ],
1744
1524
  "additionalProperties": false
1745
1525
  },
1746
- {
1747
- "type": "object",
1748
- "properties": {
1749
- "source": {
1750
- "type": "string",
1751
- "const": "file"
1752
- },
1753
- "provider": {
1754
- "type": "string",
1755
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1756
- },
1757
- "id": {
1526
+ "toolProgress": {
1527
+ "type": "boolean"
1528
+ },
1529
+ "commandText": {
1530
+ "type": "string",
1531
+ "enum": [
1532
+ "raw",
1533
+ "status"
1534
+ ]
1535
+ }
1536
+ },
1537
+ "additionalProperties": false
1538
+ },
1539
+ "progress": {
1540
+ "type": "object",
1541
+ "properties": {
1542
+ "label": {
1543
+ "anyOf": [
1544
+ {
1758
1545
  "type": "string"
1546
+ },
1547
+ {
1548
+ "type": "boolean",
1549
+ "const": false
1759
1550
  }
1760
- },
1761
- "required": [
1762
- "source",
1763
- "provider",
1764
- "id"
1765
- ],
1766
- "additionalProperties": false
1551
+ ]
1552
+ },
1553
+ "labels": {
1554
+ "type": "array",
1555
+ "items": {
1556
+ "type": "string"
1557
+ }
1558
+ },
1559
+ "maxLines": {
1560
+ "type": "integer",
1561
+ "exclusiveMinimum": 0,
1562
+ "maximum": 9007199254740991
1563
+ },
1564
+ "maxLineChars": {
1565
+ "type": "integer",
1566
+ "exclusiveMinimum": 0,
1567
+ "maximum": 9007199254740991
1568
+ },
1569
+ "render": {
1570
+ "type": "string",
1571
+ "enum": [
1572
+ "text",
1573
+ "rich"
1574
+ ]
1575
+ },
1576
+ "toolProgress": {
1577
+ "type": "boolean"
1578
+ },
1579
+ "commandText": {
1580
+ "type": "string",
1581
+ "enum": [
1582
+ "raw",
1583
+ "status"
1584
+ ]
1767
1585
  },
1768
- {
1586
+ "commentary": {
1587
+ "type": "boolean"
1588
+ },
1589
+ "narration": {
1590
+ "type": "boolean"
1591
+ },
1592
+ "nativeTaskCards": {
1593
+ "type": "boolean"
1594
+ }
1595
+ },
1596
+ "additionalProperties": false
1597
+ },
1598
+ "block": {
1599
+ "type": "object",
1600
+ "properties": {
1601
+ "enabled": {
1602
+ "type": "boolean"
1603
+ },
1604
+ "coalesce": {
1769
1605
  "type": "object",
1770
1606
  "properties": {
1771
- "source": {
1772
- "type": "string",
1773
- "const": "exec"
1607
+ "minChars": {
1608
+ "type": "integer",
1609
+ "exclusiveMinimum": 0,
1610
+ "maximum": 9007199254740991
1774
1611
  },
1775
- "provider": {
1776
- "type": "string",
1777
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1612
+ "maxChars": {
1613
+ "type": "integer",
1614
+ "exclusiveMinimum": 0,
1615
+ "maximum": 9007199254740991
1778
1616
  },
1779
- "id": {
1780
- "type": "string"
1617
+ "idleMs": {
1618
+ "type": "integer",
1619
+ "minimum": 0,
1620
+ "maximum": 9007199254740991
1781
1621
  }
1782
1622
  },
1783
- "required": [
1784
- "source",
1785
- "provider",
1786
- "id"
1787
- ],
1788
1623
  "additionalProperties": false
1789
1624
  }
1790
- ]
1625
+ },
1626
+ "additionalProperties": false
1627
+ },
1628
+ "nativeTransport": {
1629
+ "type": "boolean"
1791
1630
  }
1792
- ]
1631
+ },
1632
+ "additionalProperties": false
1793
1633
  },
1794
- "appToken": {
1634
+ "heartbeatVisibility": {
1635
+ "type": "object",
1636
+ "properties": {
1637
+ "showOk": {
1638
+ "type": "boolean"
1639
+ },
1640
+ "showAlerts": {
1641
+ "type": "boolean"
1642
+ },
1643
+ "useIndicator": {
1644
+ "type": "boolean"
1645
+ }
1646
+ },
1647
+ "additionalProperties": false
1648
+ },
1649
+ "healthMonitor": {
1650
+ "type": "object",
1651
+ "properties": {
1652
+ "enabled": {
1653
+ "type": "boolean"
1654
+ }
1655
+ },
1656
+ "additionalProperties": false
1657
+ },
1658
+ "responsePrefix": {
1659
+ "type": "string"
1660
+ },
1661
+ "mediaMaxMb": {
1662
+ "type": "number",
1663
+ "exclusiveMinimum": 0
1664
+ },
1665
+ "replyToMode": {
1795
1666
  "anyOf": [
1796
1667
  {
1797
- "type": "string"
1668
+ "type": "string",
1669
+ "const": "off"
1798
1670
  },
1799
1671
  {
1800
- "oneOf": [
1801
- {
1802
- "type": "object",
1803
- "properties": {
1804
- "source": {
1805
- "type": "string",
1806
- "const": "env"
1807
- },
1808
- "provider": {
1809
- "type": "string",
1810
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1811
- },
1812
- "id": {
1813
- "type": "string",
1814
- "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
1815
- }
1816
- },
1817
- "required": [
1818
- "source",
1819
- "provider",
1820
- "id"
1821
- ],
1822
- "additionalProperties": false
1823
- },
1672
+ "type": "string",
1673
+ "const": "first"
1674
+ },
1675
+ {
1676
+ "type": "string",
1677
+ "const": "all"
1678
+ },
1679
+ {
1680
+ "type": "string",
1681
+ "const": "batched"
1682
+ }
1683
+ ]
1684
+ },
1685
+ "postAs": {
1686
+ "type": "string",
1687
+ "enum": [
1688
+ "bot",
1689
+ "user"
1690
+ ]
1691
+ },
1692
+ "mode": {
1693
+ "type": "string",
1694
+ "enum": [
1695
+ "socket",
1696
+ "http",
1697
+ "relay"
1698
+ ]
1699
+ },
1700
+ "enterpriseOrgInstall": {
1701
+ "type": "boolean"
1702
+ },
1703
+ "relay": {
1704
+ "type": "object",
1705
+ "properties": {
1706
+ "url": {
1707
+ "type": "string"
1708
+ },
1709
+ "authToken": {
1710
+ "anyOf": [
1824
1711
  {
1825
- "type": "object",
1826
- "properties": {
1827
- "source": {
1828
- "type": "string",
1829
- "const": "file"
1830
- },
1831
- "provider": {
1832
- "type": "string",
1833
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1834
- },
1835
- "id": {
1836
- "type": "string"
1837
- }
1838
- },
1839
- "required": [
1840
- "source",
1841
- "provider",
1842
- "id"
1843
- ],
1844
- "additionalProperties": false
1712
+ "type": "string"
1845
1713
  },
1846
1714
  {
1847
- "type": "object",
1848
- "properties": {
1849
- "source": {
1850
- "type": "string",
1851
- "const": "exec"
1715
+ "oneOf": [
1716
+ {
1717
+ "type": "object",
1718
+ "properties": {
1719
+ "source": {
1720
+ "type": "string",
1721
+ "const": "env"
1722
+ },
1723
+ "provider": {
1724
+ "type": "string",
1725
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1726
+ },
1727
+ "id": {
1728
+ "type": "string",
1729
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
1730
+ }
1731
+ },
1732
+ "required": [
1733
+ "source",
1734
+ "provider",
1735
+ "id"
1736
+ ],
1737
+ "additionalProperties": false
1852
1738
  },
1853
- "provider": {
1854
- "type": "string",
1855
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1739
+ {
1740
+ "type": "object",
1741
+ "properties": {
1742
+ "source": {
1743
+ "type": "string",
1744
+ "const": "file"
1745
+ },
1746
+ "provider": {
1747
+ "type": "string",
1748
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1749
+ },
1750
+ "id": {
1751
+ "type": "string"
1752
+ }
1753
+ },
1754
+ "required": [
1755
+ "source",
1756
+ "provider",
1757
+ "id"
1758
+ ],
1759
+ "additionalProperties": false
1856
1760
  },
1857
- "id": {
1858
- "type": "string"
1859
- }
1860
- },
1861
- "required": [
1862
- "source",
1863
- "provider",
1864
- "id"
1865
- ],
1866
- "additionalProperties": false
1761
+ {
1762
+ "type": "object",
1763
+ "properties": {
1764
+ "source": {
1765
+ "type": "string",
1766
+ "const": "exec"
1767
+ },
1768
+ "provider": {
1769
+ "type": "string",
1770
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1771
+ },
1772
+ "id": {
1773
+ "type": "string"
1774
+ }
1775
+ },
1776
+ "required": [
1777
+ "source",
1778
+ "provider",
1779
+ "id"
1780
+ ],
1781
+ "additionalProperties": false
1782
+ }
1783
+ ]
1867
1784
  }
1868
1785
  ]
1786
+ },
1787
+ "gatewayId": {
1788
+ "type": "string"
1869
1789
  }
1870
- ]
1790
+ },
1791
+ "additionalProperties": false
1871
1792
  },
1872
- "userToken": {
1793
+ "signingSecret": {
1873
1794
  "anyOf": [
1874
1795
  {
1875
1796
  "type": "string"
@@ -1947,315 +1868,386 @@
1947
1868
  }
1948
1869
  ]
1949
1870
  },
1950
- "userTokenReadOnly": {
1951
- "default": true,
1952
- "type": "boolean"
1953
- },
1954
- "allowBots": {
1955
- "anyOf": [
1956
- {
1957
- "type": "boolean"
1958
- },
1959
- {
1960
- "type": "string",
1961
- "const": "mentions"
1962
- }
1963
- ]
1871
+ "webhookPath": {
1872
+ "type": "string"
1964
1873
  },
1965
- "botLoopProtection": {
1874
+ "execApprovals": {
1966
1875
  "type": "object",
1967
1876
  "properties": {
1968
1877
  "enabled": {
1969
- "type": "boolean"
1970
- },
1971
- "maxEventsPerWindow": {
1972
- "type": "integer",
1973
- "exclusiveMinimum": 0,
1974
- "maximum": 9007199254740991
1975
- },
1976
- "windowSeconds": {
1977
- "type": "integer",
1978
- "exclusiveMinimum": 0,
1979
- "maximum": 9007199254740991
1980
- },
1981
- "cooldownSeconds": {
1982
- "type": "integer",
1983
- "exclusiveMinimum": 0,
1984
- "maximum": 9007199254740991
1985
- }
1986
- },
1987
- "additionalProperties": false
1988
- },
1989
- "dangerouslyAllowNameMatching": {
1990
- "type": "boolean"
1991
- },
1992
- "requireMention": {
1993
- "type": "boolean"
1994
- },
1995
- "implicitMentions": {
1996
- "type": "object",
1997
- "properties": {
1998
- "replyToBot": {
1999
- "type": "boolean"
2000
- },
2001
- "quotedBot": {
2002
- "type": "boolean"
2003
- },
2004
- "threadParticipation": {
2005
- "type": "boolean"
2006
- }
2007
- },
2008
- "additionalProperties": false
2009
- },
2010
- "groupPolicy": {
2011
- "type": "string",
2012
- "enum": [
2013
- "open",
2014
- "disabled",
2015
- "allowlist"
2016
- ]
2017
- },
2018
- "mentionPatterns": {
2019
- "type": "object",
2020
- "properties": {
2021
- "mode": {
2022
1878
  "anyOf": [
2023
1879
  {
2024
- "type": "string",
2025
- "const": "allow"
1880
+ "type": "boolean"
2026
1881
  },
2027
1882
  {
2028
1883
  "type": "string",
2029
- "const": "deny"
1884
+ "const": "auto"
2030
1885
  }
2031
1886
  ]
2032
1887
  },
2033
- "allowIn": {
1888
+ "approvers": {
1889
+ "type": "array",
1890
+ "items": {
1891
+ "anyOf": [
1892
+ {
1893
+ "type": "string"
1894
+ },
1895
+ {
1896
+ "type": "number"
1897
+ }
1898
+ ]
1899
+ }
1900
+ },
1901
+ "agentFilter": {
2034
1902
  "type": "array",
2035
1903
  "items": {
2036
1904
  "type": "string"
2037
1905
  }
2038
1906
  },
2039
- "denyIn": {
1907
+ "sessionFilter": {
2040
1908
  "type": "array",
2041
1909
  "items": {
2042
1910
  "type": "string"
2043
1911
  }
1912
+ },
1913
+ "target": {
1914
+ "type": "string",
1915
+ "enum": [
1916
+ "dm",
1917
+ "channel",
1918
+ "both"
1919
+ ]
2044
1920
  }
2045
1921
  },
2046
1922
  "additionalProperties": false
2047
1923
  },
2048
- "contextVisibility": {
2049
- "type": "string",
2050
- "enum": [
2051
- "all",
2052
- "allowlist",
2053
- "allowlist_quote"
2054
- ]
2055
- },
2056
- "historyLimit": {
2057
- "type": "integer",
2058
- "minimum": 0,
2059
- "maximum": 9007199254740991
2060
- },
2061
- "dmHistoryLimit": {
2062
- "type": "integer",
2063
- "minimum": 0,
2064
- "maximum": 9007199254740991
2065
- },
2066
- "dms": {
2067
- "type": "object",
2068
- "propertyNames": {
2069
- "type": "string"
2070
- },
2071
- "additionalProperties": {
2072
- "type": "object",
2073
- "properties": {
2074
- "historyLimit": {
2075
- "type": "integer",
2076
- "minimum": 0,
2077
- "maximum": 9007199254740991
2078
- }
2079
- },
2080
- "additionalProperties": false
2081
- }
2082
- },
2083
- "textChunkLimit": {
2084
- "type": "integer",
2085
- "exclusiveMinimum": 0,
2086
- "maximum": 9007199254740991
2087
- },
2088
- "unfurlLinks": {
2089
- "type": "boolean"
2090
- },
2091
- "unfurlMedia": {
2092
- "type": "boolean"
2093
- },
2094
- "streaming": {
1924
+ "commands": {
2095
1925
  "type": "object",
2096
1926
  "properties": {
2097
- "mode": {
2098
- "type": "string",
2099
- "enum": [
2100
- "off",
2101
- "partial",
2102
- "block",
2103
- "progress"
1927
+ "native": {
1928
+ "anyOf": [
1929
+ {
1930
+ "type": "boolean"
1931
+ },
1932
+ {
1933
+ "type": "string",
1934
+ "const": "auto"
1935
+ }
2104
1936
  ]
2105
1937
  },
2106
- "chunkMode": {
2107
- "type": "string",
2108
- "enum": [
2109
- "length",
2110
- "newline"
1938
+ "nativeSkills": {
1939
+ "anyOf": [
1940
+ {
1941
+ "type": "boolean"
1942
+ },
1943
+ {
1944
+ "type": "string",
1945
+ "const": "auto"
1946
+ }
1947
+ ]
1948
+ }
1949
+ },
1950
+ "additionalProperties": false
1951
+ },
1952
+ "botToken": {
1953
+ "anyOf": [
1954
+ {
1955
+ "type": "string"
1956
+ },
1957
+ {
1958
+ "oneOf": [
1959
+ {
1960
+ "type": "object",
1961
+ "properties": {
1962
+ "source": {
1963
+ "type": "string",
1964
+ "const": "env"
1965
+ },
1966
+ "provider": {
1967
+ "type": "string",
1968
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1969
+ },
1970
+ "id": {
1971
+ "type": "string",
1972
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
1973
+ }
1974
+ },
1975
+ "required": [
1976
+ "source",
1977
+ "provider",
1978
+ "id"
1979
+ ],
1980
+ "additionalProperties": false
1981
+ },
1982
+ {
1983
+ "type": "object",
1984
+ "properties": {
1985
+ "source": {
1986
+ "type": "string",
1987
+ "const": "file"
1988
+ },
1989
+ "provider": {
1990
+ "type": "string",
1991
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
1992
+ },
1993
+ "id": {
1994
+ "type": "string"
1995
+ }
1996
+ },
1997
+ "required": [
1998
+ "source",
1999
+ "provider",
2000
+ "id"
2001
+ ],
2002
+ "additionalProperties": false
2003
+ },
2004
+ {
2005
+ "type": "object",
2006
+ "properties": {
2007
+ "source": {
2008
+ "type": "string",
2009
+ "const": "exec"
2010
+ },
2011
+ "provider": {
2012
+ "type": "string",
2013
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
2014
+ },
2015
+ "id": {
2016
+ "type": "string"
2017
+ }
2018
+ },
2019
+ "required": [
2020
+ "source",
2021
+ "provider",
2022
+ "id"
2023
+ ],
2024
+ "additionalProperties": false
2025
+ }
2111
2026
  ]
2027
+ }
2028
+ ]
2029
+ },
2030
+ "appToken": {
2031
+ "anyOf": [
2032
+ {
2033
+ "type": "string"
2112
2034
  },
2113
- "preview": {
2114
- "type": "object",
2115
- "properties": {
2116
- "chunk": {
2035
+ {
2036
+ "oneOf": [
2037
+ {
2117
2038
  "type": "object",
2118
2039
  "properties": {
2119
- "minChars": {
2120
- "type": "integer",
2121
- "exclusiveMinimum": 0,
2122
- "maximum": 9007199254740991
2040
+ "source": {
2041
+ "type": "string",
2042
+ "const": "env"
2123
2043
  },
2124
- "maxChars": {
2125
- "type": "integer",
2126
- "exclusiveMinimum": 0,
2127
- "maximum": 9007199254740991
2044
+ "provider": {
2045
+ "type": "string",
2046
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
2128
2047
  },
2129
- "breakPreference": {
2130
- "anyOf": [
2131
- {
2132
- "type": "string",
2133
- "const": "paragraph"
2134
- },
2135
- {
2136
- "type": "string",
2137
- "const": "newline"
2138
- },
2139
- {
2140
- "type": "string",
2141
- "const": "sentence"
2142
- }
2143
- ]
2048
+ "id": {
2049
+ "type": "string",
2050
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
2144
2051
  }
2145
2052
  },
2053
+ "required": [
2054
+ "source",
2055
+ "provider",
2056
+ "id"
2057
+ ],
2146
2058
  "additionalProperties": false
2147
2059
  },
2148
- "toolProgress": {
2149
- "type": "boolean"
2060
+ {
2061
+ "type": "object",
2062
+ "properties": {
2063
+ "source": {
2064
+ "type": "string",
2065
+ "const": "file"
2066
+ },
2067
+ "provider": {
2068
+ "type": "string",
2069
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
2070
+ },
2071
+ "id": {
2072
+ "type": "string"
2073
+ }
2074
+ },
2075
+ "required": [
2076
+ "source",
2077
+ "provider",
2078
+ "id"
2079
+ ],
2080
+ "additionalProperties": false
2150
2081
  },
2151
- "commandText": {
2152
- "type": "string",
2153
- "enum": [
2154
- "raw",
2155
- "status"
2156
- ]
2082
+ {
2083
+ "type": "object",
2084
+ "properties": {
2085
+ "source": {
2086
+ "type": "string",
2087
+ "const": "exec"
2088
+ },
2089
+ "provider": {
2090
+ "type": "string",
2091
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
2092
+ },
2093
+ "id": {
2094
+ "type": "string"
2095
+ }
2096
+ },
2097
+ "required": [
2098
+ "source",
2099
+ "provider",
2100
+ "id"
2101
+ ],
2102
+ "additionalProperties": false
2157
2103
  }
2158
- },
2159
- "additionalProperties": false
2104
+ ]
2105
+ }
2106
+ ]
2107
+ },
2108
+ "userToken": {
2109
+ "anyOf": [
2110
+ {
2111
+ "type": "string"
2160
2112
  },
2161
- "progress": {
2162
- "type": "object",
2163
- "properties": {
2164
- "label": {
2165
- "anyOf": [
2166
- {
2167
- "type": "string"
2113
+ {
2114
+ "oneOf": [
2115
+ {
2116
+ "type": "object",
2117
+ "properties": {
2118
+ "source": {
2119
+ "type": "string",
2120
+ "const": "env"
2168
2121
  },
2169
- {
2170
- "type": "boolean",
2171
- "const": false
2122
+ "provider": {
2123
+ "type": "string",
2124
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
2125
+ },
2126
+ "id": {
2127
+ "type": "string",
2128
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$"
2172
2129
  }
2173
- ]
2174
- },
2175
- "labels": {
2176
- "type": "array",
2177
- "items": {
2178
- "type": "string"
2179
- }
2180
- },
2181
- "maxLines": {
2182
- "type": "integer",
2183
- "exclusiveMinimum": 0,
2184
- "maximum": 9007199254740991
2185
- },
2186
- "maxLineChars": {
2187
- "type": "integer",
2188
- "exclusiveMinimum": 0,
2189
- "maximum": 9007199254740991
2190
- },
2191
- "render": {
2192
- "type": "string",
2193
- "enum": [
2194
- "text",
2195
- "rich"
2196
- ]
2197
- },
2198
- "toolProgress": {
2199
- "type": "boolean"
2200
- },
2201
- "commandText": {
2202
- "type": "string",
2203
- "enum": [
2204
- "raw",
2205
- "status"
2206
- ]
2207
- },
2208
- "commentary": {
2209
- "type": "boolean"
2210
- },
2211
- "narration": {
2212
- "type": "boolean"
2130
+ },
2131
+ "required": [
2132
+ "source",
2133
+ "provider",
2134
+ "id"
2135
+ ],
2136
+ "additionalProperties": false
2213
2137
  },
2214
- "nativeTaskCards": {
2215
- "type": "boolean"
2216
- }
2217
- },
2218
- "additionalProperties": false
2219
- },
2220
- "block": {
2221
- "type": "object",
2222
- "properties": {
2223
- "enabled": {
2224
- "type": "boolean"
2138
+ {
2139
+ "type": "object",
2140
+ "properties": {
2141
+ "source": {
2142
+ "type": "string",
2143
+ "const": "file"
2144
+ },
2145
+ "provider": {
2146
+ "type": "string",
2147
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
2148
+ },
2149
+ "id": {
2150
+ "type": "string"
2151
+ }
2152
+ },
2153
+ "required": [
2154
+ "source",
2155
+ "provider",
2156
+ "id"
2157
+ ],
2158
+ "additionalProperties": false
2225
2159
  },
2226
- "coalesce": {
2160
+ {
2227
2161
  "type": "object",
2228
2162
  "properties": {
2229
- "minChars": {
2230
- "type": "integer",
2231
- "exclusiveMinimum": 0,
2232
- "maximum": 9007199254740991
2163
+ "source": {
2164
+ "type": "string",
2165
+ "const": "exec"
2233
2166
  },
2234
- "maxChars": {
2235
- "type": "integer",
2236
- "exclusiveMinimum": 0,
2237
- "maximum": 9007199254740991
2167
+ "provider": {
2168
+ "type": "string",
2169
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
2238
2170
  },
2239
- "idleMs": {
2240
- "type": "integer",
2241
- "minimum": 0,
2242
- "maximum": 9007199254740991
2171
+ "id": {
2172
+ "type": "string"
2243
2173
  }
2244
2174
  },
2175
+ "required": [
2176
+ "source",
2177
+ "provider",
2178
+ "id"
2179
+ ],
2245
2180
  "additionalProperties": false
2246
2181
  }
2247
- },
2248
- "additionalProperties": false
2182
+ ]
2183
+ }
2184
+ ]
2185
+ },
2186
+ "userTokenReadOnly": {
2187
+ "default": true,
2188
+ "type": "boolean"
2189
+ },
2190
+ "allowBots": {
2191
+ "anyOf": [
2192
+ {
2193
+ "type": "boolean"
2249
2194
  },
2250
- "nativeTransport": {
2195
+ {
2196
+ "type": "string",
2197
+ "const": "mentions"
2198
+ }
2199
+ ]
2200
+ },
2201
+ "botLoopProtection": {
2202
+ "type": "object",
2203
+ "properties": {
2204
+ "enabled": {
2205
+ "type": "boolean"
2206
+ },
2207
+ "maxEventsPerWindow": {
2208
+ "type": "integer",
2209
+ "exclusiveMinimum": 0,
2210
+ "maximum": 9007199254740991
2211
+ },
2212
+ "windowSeconds": {
2213
+ "type": "integer",
2214
+ "exclusiveMinimum": 0,
2215
+ "maximum": 9007199254740991
2216
+ },
2217
+ "cooldownSeconds": {
2218
+ "type": "integer",
2219
+ "exclusiveMinimum": 0,
2220
+ "maximum": 9007199254740991
2221
+ }
2222
+ },
2223
+ "additionalProperties": false
2224
+ },
2225
+ "dangerouslyAllowNameMatching": {
2226
+ "type": "boolean"
2227
+ },
2228
+ "requireMention": {
2229
+ "type": "boolean"
2230
+ },
2231
+ "implicitMentions": {
2232
+ "type": "object",
2233
+ "properties": {
2234
+ "replyToBot": {
2235
+ "type": "boolean"
2236
+ },
2237
+ "quotedBot": {
2238
+ "type": "boolean"
2239
+ },
2240
+ "threadParticipation": {
2251
2241
  "type": "boolean"
2252
2242
  }
2253
2243
  },
2254
2244
  "additionalProperties": false
2255
2245
  },
2256
- "mediaMaxMb": {
2257
- "type": "number",
2258
- "exclusiveMinimum": 0
2246
+ "unfurlLinks": {
2247
+ "type": "boolean"
2248
+ },
2249
+ "unfurlMedia": {
2250
+ "type": "boolean"
2259
2251
  },
2260
2252
  "reactionNotifications": {
2261
2253
  "type": "string",
@@ -2279,25 +2271,8 @@
2279
2271
  ]
2280
2272
  }
2281
2273
  },
2282
- "replyToMode": {
2283
- "anyOf": [
2284
- {
2285
- "type": "string",
2286
- "const": "off"
2287
- },
2288
- {
2289
- "type": "string",
2290
- "const": "first"
2291
- },
2292
- {
2293
- "type": "string",
2294
- "const": "all"
2295
- },
2296
- {
2297
- "type": "string",
2298
- "const": "batched"
2299
- }
2300
- ]
2274
+ "ackReaction": {
2275
+ "type": "string"
2301
2276
  },
2302
2277
  "replyToModeByChatType": {
2303
2278
  "type": "object",
@@ -2448,59 +2423,12 @@
2448
2423
  },
2449
2424
  "additionalProperties": false
2450
2425
  },
2451
- "dmPolicy": {
2452
- "type": "string",
2453
- "enum": [
2454
- "pairing",
2455
- "allowlist",
2456
- "open",
2457
- "disabled"
2458
- ]
2459
- },
2460
- "allowFrom": {
2461
- "type": "array",
2462
- "items": {
2463
- "anyOf": [
2464
- {
2465
- "type": "string"
2466
- },
2467
- {
2468
- "type": "number"
2469
- }
2470
- ]
2471
- }
2472
- },
2473
- "defaultTo": {
2474
- "type": "string"
2475
- },
2476
2426
  "dm": {
2477
2427
  "type": "object",
2478
2428
  "properties": {
2479
2429
  "enabled": {
2480
2430
  "type": "boolean"
2481
2431
  },
2482
- "policy": {
2483
- "type": "string",
2484
- "enum": [
2485
- "pairing",
2486
- "allowlist",
2487
- "open",
2488
- "disabled"
2489
- ]
2490
- },
2491
- "allowFrom": {
2492
- "type": "array",
2493
- "items": {
2494
- "anyOf": [
2495
- {
2496
- "type": "string"
2497
- },
2498
- {
2499
- "type": "number"
2500
- }
2501
- ]
2502
- }
2503
- },
2504
2432
  "groupEnabled": {
2505
2433
  "type": "boolean"
2506
2434
  },
@@ -2516,26 +2444,6 @@
2516
2444
  }
2517
2445
  ]
2518
2446
  }
2519
- },
2520
- "replyToMode": {
2521
- "anyOf": [
2522
- {
2523
- "type": "string",
2524
- "const": "off"
2525
- },
2526
- {
2527
- "type": "string",
2528
- "const": "first"
2529
- },
2530
- {
2531
- "type": "string",
2532
- "const": "all"
2533
- },
2534
- {
2535
- "type": "string",
2536
- "const": "batched"
2537
- }
2538
- ]
2539
2447
  }
2540
2448
  },
2541
2449
  "additionalProperties": false
@@ -2548,35 +2456,9 @@
2548
2456
  "additionalProperties": {
2549
2457
  "type": "object",
2550
2458
  "properties": {
2551
- "enabled": {
2552
- "type": "boolean"
2553
- },
2554
2459
  "requireMention": {
2555
2460
  "type": "boolean"
2556
2461
  },
2557
- "ignoreOtherMentions": {
2558
- "type": "boolean"
2559
- },
2560
- "replyToMode": {
2561
- "anyOf": [
2562
- {
2563
- "type": "string",
2564
- "const": "off"
2565
- },
2566
- {
2567
- "type": "string",
2568
- "const": "first"
2569
- },
2570
- {
2571
- "type": "string",
2572
- "const": "all"
2573
- },
2574
- {
2575
- "type": "string",
2576
- "const": "batched"
2577
- }
2578
- ]
2579
- },
2580
2462
  "tools": {
2581
2463
  "type": "object",
2582
2464
  "properties": {
@@ -2631,6 +2513,41 @@
2631
2513
  "additionalProperties": false
2632
2514
  }
2633
2515
  },
2516
+ "skills": {
2517
+ "type": "array",
2518
+ "items": {
2519
+ "type": "string"
2520
+ }
2521
+ },
2522
+ "enabled": {
2523
+ "type": "boolean"
2524
+ },
2525
+ "systemPrompt": {
2526
+ "type": "string"
2527
+ },
2528
+ "ignoreOtherMentions": {
2529
+ "type": "boolean"
2530
+ },
2531
+ "replyToMode": {
2532
+ "anyOf": [
2533
+ {
2534
+ "type": "string",
2535
+ "const": "off"
2536
+ },
2537
+ {
2538
+ "type": "string",
2539
+ "const": "first"
2540
+ },
2541
+ {
2542
+ "type": "string",
2543
+ "const": "all"
2544
+ },
2545
+ {
2546
+ "type": "string",
2547
+ "const": "batched"
2548
+ }
2549
+ ]
2550
+ },
2634
2551
  "allowBots": {
2635
2552
  "anyOf": [
2636
2553
  {
@@ -2679,15 +2596,6 @@
2679
2596
  ]
2680
2597
  }
2681
2598
  },
2682
- "skills": {
2683
- "type": "array",
2684
- "items": {
2685
- "type": "string"
2686
- }
2687
- },
2688
- "systemPrompt": {
2689
- "type": "string"
2690
- },
2691
2599
  "presenceEvents": {
2692
2600
  "type": "object",
2693
2601
  "properties": {
@@ -2706,36 +2614,6 @@
2706
2614
  "additionalProperties": false
2707
2615
  }
2708
2616
  },
2709
- "heartbeat": {
2710
- "type": "object",
2711
- "properties": {
2712
- "showOk": {
2713
- "type": "boolean"
2714
- },
2715
- "showAlerts": {
2716
- "type": "boolean"
2717
- },
2718
- "useIndicator": {
2719
- "type": "boolean"
2720
- }
2721
- },
2722
- "additionalProperties": false
2723
- },
2724
- "healthMonitor": {
2725
- "type": "object",
2726
- "properties": {
2727
- "enabled": {
2728
- "type": "boolean"
2729
- }
2730
- },
2731
- "additionalProperties": false
2732
- },
2733
- "responsePrefix": {
2734
- "type": "string"
2735
- },
2736
- "ackReaction": {
2737
- "type": "string"
2738
- },
2739
2617
  "typingReaction": {
2740
2618
  "type": "string"
2741
2619
  }
@@ -2751,11 +2629,11 @@
2751
2629
  }
2752
2630
  },
2753
2631
  "required": [
2754
- "identity",
2632
+ "groupPolicy",
2633
+ "postAs",
2755
2634
  "mode",
2756
2635
  "webhookPath",
2757
- "userTokenReadOnly",
2758
- "groupPolicy"
2636
+ "userTokenReadOnly"
2759
2637
  ],
2760
2638
  "additionalProperties": false
2761
2639
  },
@@ -2770,14 +2648,10 @@
2770
2648
  "label": "Slack Enterprise Grid Org Install",
2771
2649
  "help": "Enable only for an Enterprise Grid org-wide bot installation. OpenClaw verifies the token with Slack auth.test at startup; DMs must be disabled or use dmPolicy=\"open\" with allowFrom=[\"*\"]."
2772
2650
  },
2773
- "identity": {
2651
+ "postAs": {
2774
2652
  "label": "Slack Identity",
2775
2653
  "help": "Select \"bot\" (default) for the classic Slack app/bot identity or \"user\" to post as the authorizing human through a user token while the app carries event transport."
2776
2654
  },
2777
- "dm.policy": {
2778
- "label": "Slack DM Policy",
2779
- "help": "Direct message access control (\"pairing\" recommended). \"open\" requires channels.slack.allowFrom=[\"*\"] (legacy: channels.slack.dm.allowFrom)."
2780
- },
2781
2655
  "dmPolicy": {
2782
2656
  "label": "Slack DM Policy",
2783
2657
  "help": "Direct message access control (\"pairing\" recommended). \"open\" requires channels.slack.allowFrom=[\"*\"]."
@@ -2850,22 +2724,6 @@
2850
2724
  "label": "Slack Bot Loop Cooldown Seconds",
2851
2725
  "help": "How long to suppress the bot pair after it exceeds the budget. Default: 60."
2852
2726
  },
2853
- "socketMode": {
2854
- "label": "Slack Socket Mode Transport",
2855
- "help": "Slack Socket Mode transport tuning passed to the Slack SDK. Use only when investigating ping/pong timeout or stale websocket behavior."
2856
- },
2857
- "socketMode.clientPingTimeout": {
2858
- "label": "Slack Socket Mode Pong Timeout",
2859
- "help": "Milliseconds the Slack SDK waits for a pong after its client ping before treating the websocket as stale (OpenClaw default: 15000). Increase on hosts with event-loop starvation or slow network scheduling."
2860
- },
2861
- "socketMode.serverPingTimeout": {
2862
- "label": "Slack Socket Mode Server Ping Timeout",
2863
- "help": "Milliseconds the Slack SDK waits for Slack server pings before treating the websocket as stale."
2864
- },
2865
- "socketMode.pingPongLoggingEnabled": {
2866
- "label": "Slack Socket Mode Ping/Pong Logging",
2867
- "help": "Enable Slack SDK ping/pong transport logs while debugging Socket Mode websocket health."
2868
- },
2869
2727
  "relay": {
2870
2728
  "label": "Slack Relay Mode",
2871
2729
  "help": "Relay-delivered Slack events. Use with mode=\"relay\" when openclaw-slack-router owns the Slack Socket Mode connection."
@@ -3017,13 +2875,6 @@
3017
2875
  }
3018
2876
  }
3019
2877
  },
3020
- "channelEnvVars": {
3021
- "slack": [
3022
- "SLACK_BOT_TOKEN",
3023
- "SLACK_APP_TOKEN",
3024
- "SLACK_USER_TOKEN"
3025
- ]
3026
- },
3027
2878
  "configSchema": {
3028
2879
  "type": "object",
3029
2880
  "additionalProperties": false,