openclaw-event-server-plugin 1.0.0

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 (209) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +473 -0
  3. package/config.example.json +203 -0
  4. package/dist/broadcast/index.d.ts +3 -0
  5. package/dist/broadcast/index.d.ts.map +1 -0
  6. package/dist/broadcast/index.js +19 -0
  7. package/dist/broadcast/index.js.map +1 -0
  8. package/dist/broadcast/queue.d.ts +63 -0
  9. package/dist/broadcast/queue.d.ts.map +1 -0
  10. package/dist/broadcast/queue.js +259 -0
  11. package/dist/broadcast/queue.js.map +1 -0
  12. package/dist/broadcast/webhook.d.ts +30 -0
  13. package/dist/broadcast/webhook.d.ts.map +1 -0
  14. package/dist/broadcast/webhook.js +184 -0
  15. package/dist/broadcast/webhook.js.map +1 -0
  16. package/dist/broadcast/websocketServer.d.ts +90 -0
  17. package/dist/broadcast/websocketServer.d.ts.map +1 -0
  18. package/dist/broadcast/websocketServer.js +403 -0
  19. package/dist/broadcast/websocketServer.js.map +1 -0
  20. package/dist/config/config-types.d.ts +280 -0
  21. package/dist/config/config-types.d.ts.map +1 -0
  22. package/dist/config/config-types.js +3 -0
  23. package/dist/config/config-types.js.map +1 -0
  24. package/dist/config/default-config.d.ts +3 -0
  25. package/dist/config/default-config.d.ts.map +1 -0
  26. package/dist/config/default-config.js +136 -0
  27. package/dist/config/default-config.js.map +1 -0
  28. package/dist/config/env.d.ts +6 -0
  29. package/dist/config/env.d.ts.map +1 -0
  30. package/dist/config/env.js +160 -0
  31. package/dist/config/env.js.map +1 -0
  32. package/dist/config/event-types.d.ts +5 -0
  33. package/dist/config/event-types.d.ts.map +1 -0
  34. package/dist/config/event-types.js +54 -0
  35. package/dist/config/event-types.js.map +1 -0
  36. package/dist/config/handler.d.ts +9 -0
  37. package/dist/config/handler.d.ts.map +1 -0
  38. package/dist/config/handler.js +17 -0
  39. package/dist/config/handler.js.map +1 -0
  40. package/dist/config/helpers.d.ts +5 -0
  41. package/dist/config/helpers.d.ts.map +1 -0
  42. package/dist/config/helpers.js +40 -0
  43. package/dist/config/helpers.js.map +1 -0
  44. package/dist/config/index.d.ts +3 -0
  45. package/dist/config/index.d.ts.map +1 -0
  46. package/dist/config/index.js +19 -0
  47. package/dist/config/index.js.map +1 -0
  48. package/dist/config/merge.d.ts +6 -0
  49. package/dist/config/merge.d.ts.map +1 -0
  50. package/dist/config/merge.js +108 -0
  51. package/dist/config/merge.js.map +1 -0
  52. package/dist/config/schema-hook-bridge.d.ts +594 -0
  53. package/dist/config/schema-hook-bridge.d.ts.map +1 -0
  54. package/dist/config/schema-hook-bridge.js +423 -0
  55. package/dist/config/schema-hook-bridge.js.map +1 -0
  56. package/dist/config/schema.d.ts +915 -0
  57. package/dist/config/schema.d.ts.map +1 -0
  58. package/dist/config/schema.js +323 -0
  59. package/dist/config/schema.js.map +1 -0
  60. package/dist/config/types.d.ts +9 -0
  61. package/dist/config/types.d.ts.map +1 -0
  62. package/dist/config/types.js +28 -0
  63. package/dist/config/types.js.map +1 -0
  64. package/dist/config/validate-hook-bridge.d.ts +3 -0
  65. package/dist/config/validate-hook-bridge.d.ts.map +1 -0
  66. package/dist/config/validate-hook-bridge.js +246 -0
  67. package/dist/config/validate-hook-bridge.js.map +1 -0
  68. package/dist/config/validate.d.ts +17 -0
  69. package/dist/config/validate.d.ts.map +1 -0
  70. package/dist/config/validate.js +194 -0
  71. package/dist/config/validate.js.map +1 -0
  72. package/dist/events/index.d.ts +4 -0
  73. package/dist/events/index.d.ts.map +1 -0
  74. package/dist/events/index.js +20 -0
  75. package/dist/events/index.js.map +1 -0
  76. package/dist/events/redaction.d.ts +5 -0
  77. package/dist/events/redaction.d.ts.map +1 -0
  78. package/dist/events/redaction.js +46 -0
  79. package/dist/events/redaction.js.map +1 -0
  80. package/dist/events/signing.d.ts +8 -0
  81. package/dist/events/signing.d.ts.map +1 -0
  82. package/dist/events/signing.js +35 -0
  83. package/dist/events/signing.js.map +1 -0
  84. package/dist/events/types.d.ts +125 -0
  85. package/dist/events/types.d.ts.map +1 -0
  86. package/dist/events/types.js +9 -0
  87. package/dist/events/types.js.map +1 -0
  88. package/dist/hooks/agent-hooks.d.ts +59 -0
  89. package/dist/hooks/agent-hooks.d.ts.map +1 -0
  90. package/dist/hooks/agent-hooks.js +116 -0
  91. package/dist/hooks/agent-hooks.js.map +1 -0
  92. package/dist/hooks/command-hooks.d.ts +13 -0
  93. package/dist/hooks/command-hooks.d.ts.map +1 -0
  94. package/dist/hooks/command-hooks.js +26 -0
  95. package/dist/hooks/command-hooks.js.map +1 -0
  96. package/dist/hooks/event-factory.d.ts +21 -0
  97. package/dist/hooks/event-factory.d.ts.map +1 -0
  98. package/dist/hooks/event-factory.js +31 -0
  99. package/dist/hooks/event-factory.js.map +1 -0
  100. package/dist/hooks/gateway-hooks.d.ts +14 -0
  101. package/dist/hooks/gateway-hooks.d.ts.map +1 -0
  102. package/dist/hooks/gateway-hooks.js +43 -0
  103. package/dist/hooks/gateway-hooks.js.map +1 -0
  104. package/dist/hooks/index.d.ts +10 -0
  105. package/dist/hooks/index.d.ts.map +1 -0
  106. package/dist/hooks/index.js +26 -0
  107. package/dist/hooks/index.js.map +1 -0
  108. package/dist/hooks/message-hooks.d.ts +33 -0
  109. package/dist/hooks/message-hooks.d.ts.map +1 -0
  110. package/dist/hooks/message-hooks.js +208 -0
  111. package/dist/hooks/message-hooks.js.map +1 -0
  112. package/dist/hooks/session-hooks.d.ts +89 -0
  113. package/dist/hooks/session-hooks.d.ts.map +1 -0
  114. package/dist/hooks/session-hooks.js +253 -0
  115. package/dist/hooks/session-hooks.js.map +1 -0
  116. package/dist/hooks/status-reducer.d.ts +30 -0
  117. package/dist/hooks/status-reducer.d.ts.map +1 -0
  118. package/dist/hooks/status-reducer.js +157 -0
  119. package/dist/hooks/status-reducer.js.map +1 -0
  120. package/dist/hooks/subagent-hooks.d.ts +37 -0
  121. package/dist/hooks/subagent-hooks.d.ts.map +1 -0
  122. package/dist/hooks/subagent-hooks.js +79 -0
  123. package/dist/hooks/subagent-hooks.js.map +1 -0
  124. package/dist/hooks/subagent-tracker.d.ts +33 -0
  125. package/dist/hooks/subagent-tracker.d.ts.map +1 -0
  126. package/dist/hooks/subagent-tracker.js +73 -0
  127. package/dist/hooks/subagent-tracker.js.map +1 -0
  128. package/dist/hooks/tool-hooks.d.ts +132 -0
  129. package/dist/hooks/tool-hooks.d.ts.map +1 -0
  130. package/dist/hooks/tool-hooks.js +215 -0
  131. package/dist/hooks/tool-hooks.js.map +1 -0
  132. package/dist/index.d.ts +929 -0
  133. package/dist/index.d.ts.map +1 -0
  134. package/dist/index.js +236 -0
  135. package/dist/index.js.map +1 -0
  136. package/dist/logging/event-file-logger.d.ts +21 -0
  137. package/dist/logging/event-file-logger.d.ts.map +1 -0
  138. package/dist/logging/event-file-logger.js +167 -0
  139. package/dist/logging/event-file-logger.js.map +1 -0
  140. package/dist/logging/index.d.ts +3 -0
  141. package/dist/logging/index.d.ts.map +1 -0
  142. package/dist/logging/index.js +19 -0
  143. package/dist/logging/index.js.map +1 -0
  144. package/dist/logging/runtime-logger.d.ts +12 -0
  145. package/dist/logging/runtime-logger.d.ts.map +1 -0
  146. package/dist/logging/runtime-logger.js +45 -0
  147. package/dist/logging/runtime-logger.js.map +1 -0
  148. package/dist/runtime/hook-bridge-actions.d.ts +9 -0
  149. package/dist/runtime/hook-bridge-actions.d.ts.map +1 -0
  150. package/dist/runtime/hook-bridge-actions.js +248 -0
  151. package/dist/runtime/hook-bridge-actions.js.map +1 -0
  152. package/dist/runtime/hook-bridge-dispatch-engine.d.ts +42 -0
  153. package/dist/runtime/hook-bridge-dispatch-engine.d.ts.map +1 -0
  154. package/dist/runtime/hook-bridge-dispatch-engine.js +233 -0
  155. package/dist/runtime/hook-bridge-dispatch-engine.js.map +1 -0
  156. package/dist/runtime/hook-bridge-tool-guard.d.ts +16 -0
  157. package/dist/runtime/hook-bridge-tool-guard.d.ts.map +1 -0
  158. package/dist/runtime/hook-bridge-tool-guard.js +236 -0
  159. package/dist/runtime/hook-bridge-tool-guard.js.map +1 -0
  160. package/dist/runtime/hook-bridge-utils.d.ts +11 -0
  161. package/dist/runtime/hook-bridge-utils.d.ts.map +1 -0
  162. package/dist/runtime/hook-bridge-utils.js +116 -0
  163. package/dist/runtime/hook-bridge-utils.js.map +1 -0
  164. package/dist/runtime/hook-bridge.d.ts +33 -0
  165. package/dist/runtime/hook-bridge.d.ts.map +1 -0
  166. package/dist/runtime/hook-bridge.js +359 -0
  167. package/dist/runtime/hook-bridge.js.map +1 -0
  168. package/dist/runtime/internal-handlers.d.ts +20 -0
  169. package/dist/runtime/internal-handlers.d.ts.map +1 -0
  170. package/dist/runtime/internal-handlers.js +225 -0
  171. package/dist/runtime/internal-handlers.js.map +1 -0
  172. package/dist/runtime/register-gateway-hooks.d.ts +4 -0
  173. package/dist/runtime/register-gateway-hooks.d.ts.map +1 -0
  174. package/dist/runtime/register-gateway-hooks.js +27 -0
  175. package/dist/runtime/register-gateway-hooks.js.map +1 -0
  176. package/dist/runtime/register-session-hooks.d.ts +4 -0
  177. package/dist/runtime/register-session-hooks.d.ts.map +1 -0
  178. package/dist/runtime/register-session-hooks.js +88 -0
  179. package/dist/runtime/register-session-hooks.js.map +1 -0
  180. package/dist/runtime/register-subagent-hooks.d.ts +4 -0
  181. package/dist/runtime/register-subagent-hooks.d.ts.map +1 -0
  182. package/dist/runtime/register-subagent-hooks.js +143 -0
  183. package/dist/runtime/register-subagent-hooks.js.map +1 -0
  184. package/dist/runtime/register-tool-hooks.d.ts +4 -0
  185. package/dist/runtime/register-tool-hooks.d.ts.map +1 -0
  186. package/dist/runtime/register-tool-hooks.js +348 -0
  187. package/dist/runtime/register-tool-hooks.js.map +1 -0
  188. package/dist/runtime/runtime-events.d.ts +14 -0
  189. package/dist/runtime/runtime-events.d.ts.map +1 -0
  190. package/dist/runtime/runtime-events.js +166 -0
  191. package/dist/runtime/runtime-events.js.map +1 -0
  192. package/dist/runtime/typed-hooks.d.ts +9 -0
  193. package/dist/runtime/typed-hooks.d.ts.map +1 -0
  194. package/dist/runtime/typed-hooks.js +14 -0
  195. package/dist/runtime/typed-hooks.js.map +1 -0
  196. package/dist/runtime/types.d.ts +91 -0
  197. package/dist/runtime/types.d.ts.map +1 -0
  198. package/dist/runtime/types.js +3 -0
  199. package/dist/runtime/types.js.map +1 -0
  200. package/dist/runtime/utils.d.ts +47 -0
  201. package/dist/runtime/utils.d.ts.map +1 -0
  202. package/dist/runtime/utils.js +166 -0
  203. package/dist/runtime/utils.js.map +1 -0
  204. package/dist/tools/replay-tool-guard.d.ts +3 -0
  205. package/dist/tools/replay-tool-guard.d.ts.map +1 -0
  206. package/dist/tools/replay-tool-guard.js +96 -0
  207. package/dist/tools/replay-tool-guard.js.map +1 -0
  208. package/openclaw.plugin.json +847 -0
  209. package/package.json +63 -0
@@ -0,0 +1,594 @@
1
+ export declare const HOOK_BRIDGE_SCHEMA: {
2
+ type: string;
3
+ description: string;
4
+ properties: {
5
+ enabled: {
6
+ type: string;
7
+ default: boolean;
8
+ };
9
+ dryRun: {
10
+ type: string;
11
+ default: boolean;
12
+ };
13
+ allowedActionDirs: {
14
+ type: string;
15
+ items: {
16
+ type: string;
17
+ };
18
+ default: never[];
19
+ };
20
+ localScriptDefaults: {
21
+ type: string;
22
+ properties: {
23
+ timeoutMs: {
24
+ type: string;
25
+ minimum: number;
26
+ maximum: number;
27
+ default: number;
28
+ };
29
+ maxPayloadBytes: {
30
+ type: string;
31
+ minimum: number;
32
+ maximum: number;
33
+ default: number;
34
+ };
35
+ };
36
+ };
37
+ actions: {
38
+ type: string;
39
+ additionalProperties: {
40
+ type: string;
41
+ properties: {
42
+ type: {
43
+ type: string;
44
+ enum: string[];
45
+ };
46
+ url: {
47
+ type: string;
48
+ };
49
+ method: {
50
+ type: string;
51
+ enum: string[];
52
+ };
53
+ headers: {
54
+ type: string;
55
+ additionalProperties: {
56
+ type: string;
57
+ };
58
+ };
59
+ authToken: {
60
+ type: string;
61
+ };
62
+ path: {
63
+ type: string;
64
+ };
65
+ args: {
66
+ type: string;
67
+ items: {
68
+ type: string;
69
+ };
70
+ };
71
+ timeoutMs: {
72
+ type: string;
73
+ };
74
+ maxPayloadBytes: {
75
+ type: string;
76
+ };
77
+ };
78
+ required: string[];
79
+ };
80
+ default: {};
81
+ };
82
+ rules: {
83
+ type: string;
84
+ default: never[];
85
+ items: {
86
+ type: string;
87
+ properties: {
88
+ id: {
89
+ type: string;
90
+ };
91
+ enabled: {
92
+ type: string;
93
+ };
94
+ action: {
95
+ type: string;
96
+ };
97
+ cooldownMs: {
98
+ type: string;
99
+ minimum: number;
100
+ };
101
+ coalesce: {
102
+ type: string;
103
+ properties: {
104
+ enabled: {
105
+ type: string;
106
+ };
107
+ keyFields: {
108
+ type: string;
109
+ items: {
110
+ type: string;
111
+ };
112
+ };
113
+ windowMs: {
114
+ type: string;
115
+ minimum: number;
116
+ };
117
+ strategy: {
118
+ type: string;
119
+ enum: string[];
120
+ };
121
+ };
122
+ };
123
+ when: {
124
+ type: string;
125
+ properties: {
126
+ eventType: {
127
+ oneOf: ({
128
+ type: string;
129
+ items?: undefined;
130
+ } | {
131
+ type: string;
132
+ items: {
133
+ type: string;
134
+ };
135
+ })[];
136
+ };
137
+ toolName: {
138
+ oneOf: ({
139
+ type: string;
140
+ items?: undefined;
141
+ } | {
142
+ type: string;
143
+ items: {
144
+ type: string;
145
+ };
146
+ })[];
147
+ };
148
+ agentId: {
149
+ oneOf: ({
150
+ type: string;
151
+ items?: undefined;
152
+ } | {
153
+ type: string;
154
+ items: {
155
+ type: string;
156
+ };
157
+ })[];
158
+ };
159
+ sessionId: {
160
+ oneOf: ({
161
+ type: string;
162
+ items?: undefined;
163
+ } | {
164
+ type: string;
165
+ items: {
166
+ type: string;
167
+ };
168
+ })[];
169
+ };
170
+ sessionKey: {
171
+ oneOf: ({
172
+ type: string;
173
+ items?: undefined;
174
+ } | {
175
+ type: string;
176
+ items: {
177
+ type: string;
178
+ };
179
+ })[];
180
+ };
181
+ contains: {
182
+ type: string;
183
+ additionalProperties: {
184
+ type: string;
185
+ };
186
+ };
187
+ equals: {
188
+ type: string;
189
+ additionalProperties: {
190
+ oneOf: {
191
+ type: string;
192
+ }[];
193
+ };
194
+ };
195
+ requiredPaths: {
196
+ type: string;
197
+ items: {
198
+ type: string;
199
+ };
200
+ };
201
+ typeChecks: {
202
+ type: string;
203
+ additionalProperties: {
204
+ type: string;
205
+ enum: string[];
206
+ };
207
+ };
208
+ inList: {
209
+ type: string;
210
+ additionalProperties: {
211
+ type: string;
212
+ items: {
213
+ oneOf: {
214
+ type: string;
215
+ }[];
216
+ };
217
+ };
218
+ };
219
+ notInList: {
220
+ type: string;
221
+ additionalProperties: {
222
+ type: string;
223
+ items: {
224
+ oneOf: {
225
+ type: string;
226
+ }[];
227
+ };
228
+ };
229
+ };
230
+ matchesRegex: {
231
+ type: string;
232
+ additionalProperties: {
233
+ type: string;
234
+ };
235
+ };
236
+ notMatchesRegex: {
237
+ type: string;
238
+ additionalProperties: {
239
+ type: string;
240
+ };
241
+ };
242
+ domainAllowlist: {
243
+ type: string;
244
+ items: {
245
+ type: string;
246
+ };
247
+ };
248
+ domainBlocklist: {
249
+ type: string;
250
+ items: {
251
+ type: string;
252
+ };
253
+ };
254
+ domainPath: {
255
+ type: string;
256
+ };
257
+ idleForMsGte: {
258
+ type: string;
259
+ minimum: number;
260
+ };
261
+ parentStatus: {
262
+ type: string;
263
+ };
264
+ };
265
+ };
266
+ };
267
+ required: string[];
268
+ };
269
+ };
270
+ toolGuard: {
271
+ type: string;
272
+ properties: {
273
+ enabled: {
274
+ type: string;
275
+ default: boolean;
276
+ };
277
+ dryRun: {
278
+ type: string;
279
+ default: boolean;
280
+ };
281
+ timeoutMs: {
282
+ type: string;
283
+ minimum: number;
284
+ maximum: number;
285
+ default: number;
286
+ };
287
+ onError: {
288
+ type: string;
289
+ enum: string[];
290
+ default: string;
291
+ };
292
+ scopeKeyBy: {
293
+ type: string;
294
+ enum: string[];
295
+ default: string;
296
+ };
297
+ retryBackoffMs: {
298
+ type: string;
299
+ minimum: number;
300
+ maximum: number;
301
+ default: number;
302
+ };
303
+ retryBackoffReason: {
304
+ type: string;
305
+ };
306
+ approvalCacheTtlMs: {
307
+ type: string;
308
+ minimum: number;
309
+ maximum: number;
310
+ default: number;
311
+ };
312
+ stopOnMatchDefault: {
313
+ type: string;
314
+ default: boolean;
315
+ };
316
+ redaction: {
317
+ type: string;
318
+ properties: {
319
+ enabled: {
320
+ type: string;
321
+ default: boolean;
322
+ };
323
+ replacement: {
324
+ type: string;
325
+ default: string;
326
+ };
327
+ fields: {
328
+ type: string;
329
+ items: {
330
+ type: string;
331
+ };
332
+ };
333
+ };
334
+ };
335
+ rules: {
336
+ type: string;
337
+ default: never[];
338
+ items: {
339
+ type: string;
340
+ properties: {
341
+ id: {
342
+ type: string;
343
+ };
344
+ enabled: {
345
+ type: string;
346
+ };
347
+ priority: {
348
+ type: string;
349
+ };
350
+ action: {
351
+ type: string;
352
+ };
353
+ decision: {
354
+ type: string;
355
+ properties: {
356
+ block: {
357
+ type: string;
358
+ };
359
+ blockReason: {
360
+ type: string;
361
+ };
362
+ blockReasonTemplate: {
363
+ type: string;
364
+ };
365
+ params: {
366
+ type: string;
367
+ };
368
+ };
369
+ };
370
+ stopOnMatch: {
371
+ type: string;
372
+ };
373
+ cooldownMs: {
374
+ type: string;
375
+ minimum: number;
376
+ };
377
+ when: {
378
+ type: string;
379
+ properties: {
380
+ eventType: {
381
+ oneOf: ({
382
+ type: string;
383
+ items?: undefined;
384
+ } | {
385
+ type: string;
386
+ items: {
387
+ type: string;
388
+ };
389
+ })[];
390
+ };
391
+ toolName: {
392
+ oneOf: ({
393
+ type: string;
394
+ items?: undefined;
395
+ } | {
396
+ type: string;
397
+ items: {
398
+ type: string;
399
+ };
400
+ })[];
401
+ };
402
+ agentId: {
403
+ oneOf: ({
404
+ type: string;
405
+ items?: undefined;
406
+ } | {
407
+ type: string;
408
+ items: {
409
+ type: string;
410
+ };
411
+ })[];
412
+ };
413
+ sessionId: {
414
+ oneOf: ({
415
+ type: string;
416
+ items?: undefined;
417
+ } | {
418
+ type: string;
419
+ items: {
420
+ type: string;
421
+ };
422
+ })[];
423
+ };
424
+ sessionKey: {
425
+ oneOf: ({
426
+ type: string;
427
+ items?: undefined;
428
+ } | {
429
+ type: string;
430
+ items: {
431
+ type: string;
432
+ };
433
+ })[];
434
+ };
435
+ contains: {
436
+ type: string;
437
+ additionalProperties: {
438
+ type: string;
439
+ };
440
+ };
441
+ equals: {
442
+ type: string;
443
+ additionalProperties: {
444
+ oneOf: {
445
+ type: string;
446
+ }[];
447
+ };
448
+ };
449
+ requiredPaths: {
450
+ type: string;
451
+ items: {
452
+ type: string;
453
+ };
454
+ };
455
+ typeChecks: {
456
+ type: string;
457
+ additionalProperties: {
458
+ type: string;
459
+ enum: string[];
460
+ };
461
+ };
462
+ inList: {
463
+ type: string;
464
+ additionalProperties: {
465
+ type: string;
466
+ items: {
467
+ oneOf: {
468
+ type: string;
469
+ }[];
470
+ };
471
+ };
472
+ };
473
+ notInList: {
474
+ type: string;
475
+ additionalProperties: {
476
+ type: string;
477
+ items: {
478
+ oneOf: {
479
+ type: string;
480
+ }[];
481
+ };
482
+ };
483
+ };
484
+ matchesRegex: {
485
+ type: string;
486
+ additionalProperties: {
487
+ type: string;
488
+ };
489
+ };
490
+ notMatchesRegex: {
491
+ type: string;
492
+ additionalProperties: {
493
+ type: string;
494
+ };
495
+ };
496
+ domainAllowlist: {
497
+ type: string;
498
+ items: {
499
+ type: string;
500
+ };
501
+ };
502
+ domainBlocklist: {
503
+ type: string;
504
+ items: {
505
+ type: string;
506
+ };
507
+ };
508
+ domainPath: {
509
+ type: string;
510
+ };
511
+ idleForMsGte: {
512
+ type: string;
513
+ minimum: number;
514
+ };
515
+ parentStatus: {
516
+ type: string;
517
+ };
518
+ };
519
+ };
520
+ };
521
+ required: string[];
522
+ };
523
+ };
524
+ };
525
+ };
526
+ runtime: {
527
+ type: string;
528
+ properties: {
529
+ maxPendingEvents: {
530
+ type: string;
531
+ minimum: number;
532
+ maximum: number;
533
+ default: number;
534
+ };
535
+ concurrency: {
536
+ type: string;
537
+ minimum: number;
538
+ maximum: number;
539
+ default: number;
540
+ };
541
+ dropPolicy: {
542
+ type: string;
543
+ enum: string[];
544
+ default: string;
545
+ };
546
+ };
547
+ };
548
+ telemetry: {
549
+ type: string;
550
+ properties: {
551
+ highWatermarks: {
552
+ type: string;
553
+ items: {
554
+ type: string;
555
+ minimum: number;
556
+ maximum: number;
557
+ };
558
+ default: number[];
559
+ };
560
+ slowActionMs: {
561
+ type: string;
562
+ minimum: number;
563
+ maximum: number;
564
+ default: number;
565
+ };
566
+ failureRateWindowMs: {
567
+ type: string;
568
+ minimum: number;
569
+ maximum: number;
570
+ default: number;
571
+ };
572
+ failureRateThresholdPct: {
573
+ type: string;
574
+ minimum: number;
575
+ maximum: number;
576
+ default: number;
577
+ };
578
+ failureRateMinSamples: {
579
+ type: string;
580
+ minimum: number;
581
+ maximum: number;
582
+ default: number;
583
+ };
584
+ saturationWindowMs: {
585
+ type: string;
586
+ minimum: number;
587
+ maximum: number;
588
+ default: number;
589
+ };
590
+ };
591
+ };
592
+ };
593
+ };
594
+ //# sourceMappingURL=schema-hook-bridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-hook-bridge.d.ts","sourceRoot":"","sources":["../../src/config/schema-hook-bridge.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAka9B,CAAC"}