@reticlehq/core 2.14.0 → 3.2.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 (148) hide show
  1. package/dist/{artifacts-entry.d.ts → artifacts/artifacts-entry.d.ts} +7 -7
  2. package/dist/{artifacts-entry.js → artifacts/artifacts-entry.js} +7 -7
  3. package/dist/artifacts/flow-composition.d.ts +30 -0
  4. package/dist/artifacts/flow-composition.js +19 -0
  5. package/dist/{flow-constants.d.ts → artifacts/flow-constants.d.ts} +99 -3
  6. package/dist/{flow-constants.js → artifacts/flow-constants.js} +108 -4
  7. package/dist/artifacts/flow-mutation-target.d.ts +39 -0
  8. package/dist/artifacts/flow-mutation-target.js +89 -0
  9. package/dist/artifacts/flow-order.d.ts +30 -0
  10. package/dist/artifacts/flow-order.js +49 -0
  11. package/dist/artifacts/flow-select.d.ts +56 -0
  12. package/dist/artifacts/flow-select.js +56 -0
  13. package/dist/artifacts/flow-step-tool.d.ts +31 -0
  14. package/dist/artifacts/flow-step-tool.js +31 -0
  15. package/dist/artifacts/flow-types.d.ts +3736 -0
  16. package/dist/artifacts/flow-types.js +463 -0
  17. package/dist/artifacts/flow-unreached.d.ts +12 -0
  18. package/dist/artifacts/flow-unreached.js +24 -0
  19. package/dist/{impact.d.ts → artifacts/impact.d.ts} +271 -103
  20. package/dist/{impact.js → artifacts/impact.js} +75 -5
  21. package/dist/artifacts/journal.d.ts +218 -0
  22. package/dist/artifacts/journal.js +130 -0
  23. package/dist/artifacts/step-effect.d.ts +29 -0
  24. package/dist/artifacts/step-effect.js +28 -0
  25. package/dist/hooks/hook-events.d.ts +311 -0
  26. package/dist/hooks/hook-events.js +127 -0
  27. package/dist/hooks/hooks-entry.d.ts +9 -0
  28. package/dist/hooks/hooks-entry.js +9 -0
  29. package/dist/identity/brand.d.ts +102 -0
  30. package/dist/{brand.js → identity/brand.js} +7 -0
  31. package/dist/{contract-fingerprint.d.ts → identity/contract-fingerprint.d.ts} +21 -3
  32. package/dist/{contract-fingerprint.js → identity/contract-fingerprint.js} +22 -4
  33. package/dist/{document-identity.d.ts → identity/document-identity.d.ts} +4 -5
  34. package/dist/{document-identity.js → identity/document-identity.js} +4 -5
  35. package/dist/{source-constants.d.ts → identity/source-constants.d.ts} +4 -4
  36. package/dist/{source-constants.js → identity/source-constants.js} +4 -4
  37. package/dist/index.d.ts +57 -43
  38. package/dist/index.js +66 -45
  39. package/dist/onboarding.d.ts +114 -0
  40. package/dist/onboarding.js +141 -0
  41. package/dist/realm/registry.d.ts +212 -0
  42. package/dist/realm/registry.js +302 -0
  43. package/dist/{dev-server-registry.d.ts → registry/dev-server-registry.d.ts} +6 -7
  44. package/dist/{dev-server-registry.js → registry/dev-server-registry.js} +28 -19
  45. package/dist/{project-registry.d.ts → registry/project-registry.d.ts} +5 -5
  46. package/dist/{project-registry.js → registry/project-registry.js} +5 -5
  47. package/dist/schema/command-name.json +31 -0
  48. package/dist/schema/event-payloads.json +795 -0
  49. package/dist/schema/hello-message.json +70 -2
  50. package/dist/schema/reticle-message.json +70 -2
  51. package/dist/telemetry-entry.d.ts +1 -1
  52. package/dist/telemetry-entry.js +1 -1
  53. package/dist/telemetry-feedback.d.ts +15 -16
  54. package/dist/telemetry-feedback.js +11 -12
  55. package/dist/telemetry-license.d.ts +1 -1
  56. package/dist/telemetry-license.js +1 -1
  57. package/dist/telemetry-refusal.d.ts +11 -11
  58. package/dist/telemetry-refusal.js +7 -8
  59. package/dist/telemetry-session.d.ts +51 -59
  60. package/dist/telemetry-session.js +47 -55
  61. package/dist/telemetry.d.ts +306 -222
  62. package/dist/telemetry.js +112 -99
  63. package/dist/tour-entry.d.ts +10 -0
  64. package/dist/tour-entry.js +10 -0
  65. package/dist/tour.d.ts +125 -0
  66. package/dist/tour.js +165 -0
  67. package/dist/{consequence.d.ts → verdict/consequence.d.ts} +32 -15
  68. package/dist/{consequence.js → verdict/consequence.js} +9 -31
  69. package/dist/{finding-fingerprint.js → verdict/finding-fingerprint.js} +1 -1
  70. package/dist/{findings.d.ts → verdict/findings.d.ts} +86 -39
  71. package/dist/{findings.js → verdict/findings.js} +103 -49
  72. package/dist/{instrumentation-gap.d.ts → verdict/instrumentation-gap.d.ts} +7 -14
  73. package/dist/{instrumentation-gap.js → verdict/instrumentation-gap.js} +7 -15
  74. package/dist/{intent.d.ts → verdict/intent.d.ts} +35 -46
  75. package/dist/{intent.js → verdict/intent.js} +11 -22
  76. package/dist/verdict/revision.d.ts +44 -0
  77. package/dist/verdict/revision.js +53 -0
  78. package/dist/{run-context.d.ts → verdict/run-context.d.ts} +13 -34
  79. package/dist/{run-context.js → verdict/run-context.js} +15 -36
  80. package/dist/{security.js → verdict/security.js} +12 -21
  81. package/dist/{verification-run.d.ts → verdict/verification-run.d.ts} +381 -105
  82. package/dist/{verification-run.js → verdict/verification-run.js} +157 -21
  83. package/dist/{verified-constants.d.ts → verdict/verified-constants.d.ts} +34 -13
  84. package/dist/{verified-constants.js → verdict/verified-constants.js} +34 -13
  85. package/dist/{verify-progress.d.ts → verdict/verify-progress.d.ts} +18 -22
  86. package/dist/{verify-progress.js → verdict/verify-progress.js} +6 -10
  87. package/dist/wire/channel.d.ts +46 -0
  88. package/dist/wire/channel.js +95 -0
  89. package/dist/{constants.d.ts → wire/constants/constants.d.ts} +179 -28
  90. package/dist/{constants.js → wire/constants/constants.js} +199 -28
  91. package/dist/{session-constants.d.ts → wire/constants/session-constants.d.ts} +23 -2
  92. package/dist/{session-constants.js → wire/constants/session-constants.js} +23 -2
  93. package/dist/{desktop-contract.js → wire/desktop-contract.js} +1 -1
  94. package/dist/{event-classification.js → wire/event-classification.js} +1 -1
  95. package/dist/{event-payloads.d.ts → wire/event-payloads.d.ts} +72 -13
  96. package/dist/{event-payloads.js → wire/event-payloads.js} +23 -3
  97. package/dist/{event-priority.d.ts → wire/event-priority.d.ts} +1 -4
  98. package/dist/{event-priority.js → wire/event-priority.js} +2 -5
  99. package/dist/{global-press.js → wire/global-press.js} +1 -1
  100. package/dist/{messages.d.ts → wire/messages.d.ts} +240 -48
  101. package/dist/{messages.js → wire/messages.js} +68 -5
  102. package/dist/wire/narrow.d.ts +39 -0
  103. package/dist/wire/narrow.js +45 -0
  104. package/dist/{net.d.ts → wire/net.d.ts} +36 -13
  105. package/dist/{net.js → wire/net.js} +36 -13
  106. package/dist/wire/platform.d.ts +37 -0
  107. package/dist/wire/platform.js +36 -0
  108. package/dist/{redaction.js → wire/redaction.js} +12 -12
  109. package/dist/wire/snapshot-tree.d.ts +33 -0
  110. package/dist/wire/snapshot-tree.js +43 -0
  111. package/dist/wire/tool-names.d.ts +133 -0
  112. package/dist/wire/tool-names.js +142 -0
  113. package/dist/{toon.js → wire/toon.js} +1 -1
  114. package/dist/{types.d.ts → wire/types.d.ts} +77 -76
  115. package/dist/{types.js → wire/types.js} +4 -3
  116. package/dist/{no-session-reason.d.ts → words/no-session-reason.d.ts} +7 -3
  117. package/dist/{no-session-reason.js → words/no-session-reason.js} +7 -3
  118. package/dist/{notices.d.ts → words/notices.d.ts} +8 -12
  119. package/dist/{notices.js → words/notices.js} +8 -12
  120. package/package.json +16 -7
  121. package/dist/brand.d.ts +0 -49
  122. package/dist/flow-types.d.ts +0 -1711
  123. package/dist/flow-types.js +0 -247
  124. package/dist/journal.d.ts +0 -122
  125. package/dist/journal.js +0 -57
  126. package/dist/{impact-savings.d.ts → artifacts/impact-savings.d.ts} +0 -0
  127. package/dist/{impact-savings.js → artifacts/impact-savings.js} +0 -0
  128. package/dist/{edit-epoch.d.ts → identity/edit-epoch.d.ts} +0 -0
  129. package/dist/{edit-epoch.js → identity/edit-epoch.js} +0 -0
  130. package/dist/{project-id.d.ts → identity/project-id.d.ts} +0 -0
  131. package/dist/{project-id.js → identity/project-id.js} +0 -0
  132. package/dist/{daemon-registry.d.ts → registry/daemon-registry.d.ts} +0 -0
  133. package/dist/{daemon-registry.js → registry/daemon-registry.js} +0 -0
  134. package/dist/{finding-fingerprint.d.ts → verdict/finding-fingerprint.d.ts} +0 -0
  135. package/dist/{security.d.ts → verdict/security.d.ts} +0 -0
  136. package/dist/{desktop-contract.d.ts → wire/desktop-contract.d.ts} +0 -0
  137. package/dist/{event-classification.d.ts → wire/event-classification.d.ts} +0 -0
  138. package/dist/{global-press.d.ts → wire/global-press.d.ts} +0 -0
  139. package/dist/{redaction.d.ts → wire/redaction.d.ts} +0 -0
  140. package/dist/{state-select.d.ts → wire/state-select.d.ts} +0 -0
  141. package/dist/{state-select.js → wire/state-select.js} +0 -0
  142. package/dist/{toon.d.ts → wire/toon.d.ts} +0 -0
  143. package/dist/{browser-misdirect.d.ts → words/browser-misdirect.d.ts} +0 -0
  144. package/dist/{browser-misdirect.js → words/browser-misdirect.js} +0 -0
  145. package/dist/{unreachable-notice.d.ts → words/unreachable-notice.d.ts} +0 -0
  146. package/dist/{unreachable-notice.js → words/unreachable-notice.js} +0 -0
  147. package/dist/{upgrade.d.ts → words/upgrade.d.ts} +2 -2
  148. /package/dist/{upgrade.js → words/upgrade.js} +0 -0
@@ -0,0 +1,795 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "EventPayloads",
4
+ "description": "The shape of `data` for each Reticle event type. Look up an event by its `type` string. Every payload allows unknown keys, so a newer SDK can add a field without failing an older reader; a field being absent here means this version never described it, not that sending it is an error.",
5
+ "type": "object",
6
+ "properties": {
7
+ "dom.added": {
8
+ "type": "object",
9
+ "properties": {
10
+ "role": {
11
+ "type": "string"
12
+ },
13
+ "name": {
14
+ "type": "string"
15
+ }
16
+ },
17
+ "additionalProperties": false,
18
+ "$schema": "http://json-schema.org/draft-07/schema#"
19
+ },
20
+ "dom.removed": {
21
+ "type": "object",
22
+ "properties": {
23
+ "role": {
24
+ "type": "string"
25
+ },
26
+ "name": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ "additionalProperties": false,
31
+ "$schema": "http://json-schema.org/draft-07/schema#"
32
+ },
33
+ "dom.attr": {
34
+ "type": "object",
35
+ "properties": {
36
+ "attr": {
37
+ "type": "string"
38
+ },
39
+ "value": {
40
+ "type": "string"
41
+ },
42
+ "old": {
43
+ "type": "string"
44
+ }
45
+ },
46
+ "required": [
47
+ "attr"
48
+ ],
49
+ "additionalProperties": true,
50
+ "$schema": "http://json-schema.org/draft-07/schema#"
51
+ },
52
+ "dom.text": {
53
+ "type": "object",
54
+ "properties": {
55
+ "text": {
56
+ "type": "string"
57
+ },
58
+ "old": {
59
+ "type": "string"
60
+ }
61
+ },
62
+ "required": [
63
+ "text"
64
+ ],
65
+ "additionalProperties": false,
66
+ "$schema": "http://json-schema.org/draft-07/schema#"
67
+ },
68
+ "net.request": {
69
+ "type": "object",
70
+ "properties": {
71
+ "id": {
72
+ "type": "string"
73
+ },
74
+ "method": {
75
+ "type": "string"
76
+ },
77
+ "url": {
78
+ "type": "string"
79
+ },
80
+ "status": {
81
+ "type": "number"
82
+ },
83
+ "ok": {
84
+ "type": "boolean"
85
+ },
86
+ "durationMs": {
87
+ "type": "number"
88
+ },
89
+ "initiator": {
90
+ "type": "string"
91
+ },
92
+ "urlRaw": {
93
+ "type": "string"
94
+ },
95
+ "requestShape": {
96
+ "type": "string"
97
+ }
98
+ },
99
+ "required": [
100
+ "id",
101
+ "method",
102
+ "url",
103
+ "status",
104
+ "ok",
105
+ "durationMs",
106
+ "initiator"
107
+ ],
108
+ "additionalProperties": true,
109
+ "$schema": "http://json-schema.org/draft-07/schema#"
110
+ },
111
+ "net.pending": {
112
+ "type": "object",
113
+ "properties": {
114
+ "id": {
115
+ "type": "string"
116
+ },
117
+ "method": {
118
+ "type": "string"
119
+ },
120
+ "url": {
121
+ "type": "string"
122
+ },
123
+ "initiator": {
124
+ "type": "string"
125
+ },
126
+ "urlRaw": {
127
+ "type": "string"
128
+ }
129
+ },
130
+ "required": [
131
+ "id",
132
+ "method",
133
+ "url",
134
+ "initiator"
135
+ ],
136
+ "additionalProperties": false,
137
+ "$schema": "http://json-schema.org/draft-07/schema#"
138
+ },
139
+ "net.stream": {
140
+ "type": "object",
141
+ "properties": {
142
+ "transport": {
143
+ "type": "string",
144
+ "enum": [
145
+ "sse",
146
+ "ws",
147
+ "fetch"
148
+ ]
149
+ },
150
+ "direction": {
151
+ "type": "string",
152
+ "enum": [
153
+ "open",
154
+ "in",
155
+ "out",
156
+ "close"
157
+ ]
158
+ },
159
+ "url": {
160
+ "type": "string"
161
+ }
162
+ },
163
+ "required": [
164
+ "transport",
165
+ "direction",
166
+ "url"
167
+ ],
168
+ "additionalProperties": true,
169
+ "$schema": "http://json-schema.org/draft-07/schema#"
170
+ },
171
+ "download": {
172
+ "type": "object",
173
+ "properties": {
174
+ "mimeType": {
175
+ "type": "string"
176
+ },
177
+ "bytes": {
178
+ "type": "number"
179
+ },
180
+ "filename": {
181
+ "type": "string"
182
+ },
183
+ "lines": {
184
+ "type": "number"
185
+ },
186
+ "preview": {
187
+ "type": "string"
188
+ },
189
+ "previewTruncated": {
190
+ "type": "boolean"
191
+ }
192
+ },
193
+ "required": [
194
+ "mimeType",
195
+ "bytes"
196
+ ],
197
+ "additionalProperties": true,
198
+ "$schema": "http://json-schema.org/draft-07/schema#"
199
+ },
200
+ "perf": {
201
+ "type": "object",
202
+ "properties": {
203
+ "metric": {
204
+ "type": "string",
205
+ "enum": [
206
+ "lcp",
207
+ "cls",
208
+ "longtask"
209
+ ]
210
+ },
211
+ "value": {
212
+ "type": "number"
213
+ },
214
+ "at": {
215
+ "type": "number"
216
+ }
217
+ },
218
+ "required": [
219
+ "metric",
220
+ "value",
221
+ "at"
222
+ ],
223
+ "additionalProperties": false,
224
+ "$schema": "http://json-schema.org/draft-07/schema#"
225
+ },
226
+ "route.change": {
227
+ "type": "object",
228
+ "properties": {
229
+ "from": {
230
+ "type": "string"
231
+ },
232
+ "to": {
233
+ "type": "string"
234
+ },
235
+ "pathname": {
236
+ "type": "string"
237
+ },
238
+ "search": {
239
+ "type": "string"
240
+ },
241
+ "hash": {
242
+ "type": "string"
243
+ }
244
+ },
245
+ "required": [
246
+ "from",
247
+ "to",
248
+ "pathname",
249
+ "search",
250
+ "hash"
251
+ ],
252
+ "additionalProperties": false,
253
+ "$schema": "http://json-schema.org/draft-07/schema#"
254
+ },
255
+ "console.log": {
256
+ "type": "object",
257
+ "properties": {
258
+ "message": {
259
+ "type": "string"
260
+ }
261
+ },
262
+ "required": [
263
+ "message"
264
+ ],
265
+ "additionalProperties": true,
266
+ "$schema": "http://json-schema.org/draft-07/schema#"
267
+ },
268
+ "console.warn": {
269
+ "type": "object",
270
+ "properties": {
271
+ "message": {
272
+ "type": "string"
273
+ }
274
+ },
275
+ "required": [
276
+ "message"
277
+ ],
278
+ "additionalProperties": true,
279
+ "$schema": "http://json-schema.org/draft-07/schema#"
280
+ },
281
+ "console.error": {
282
+ "type": "object",
283
+ "properties": {
284
+ "message": {
285
+ "type": "string"
286
+ }
287
+ },
288
+ "required": [
289
+ "message"
290
+ ],
291
+ "additionalProperties": true,
292
+ "$schema": "http://json-schema.org/draft-07/schema#"
293
+ },
294
+ "console.info": {
295
+ "type": "object",
296
+ "properties": {
297
+ "message": {
298
+ "type": "string"
299
+ }
300
+ },
301
+ "required": [
302
+ "message"
303
+ ],
304
+ "additionalProperties": true,
305
+ "$schema": "http://json-schema.org/draft-07/schema#"
306
+ },
307
+ "console.debug": {
308
+ "type": "object",
309
+ "properties": {
310
+ "message": {
311
+ "type": "string"
312
+ }
313
+ },
314
+ "required": [
315
+ "message"
316
+ ],
317
+ "additionalProperties": true,
318
+ "$schema": "http://json-schema.org/draft-07/schema#"
319
+ },
320
+ "error.uncaught": {
321
+ "type": "object",
322
+ "properties": {
323
+ "message": {
324
+ "type": "string"
325
+ },
326
+ "source": {
327
+ "type": "string"
328
+ },
329
+ "line": {
330
+ "type": "number"
331
+ },
332
+ "kind": {
333
+ "type": "string"
334
+ }
335
+ },
336
+ "required": [
337
+ "message"
338
+ ],
339
+ "additionalProperties": true,
340
+ "$schema": "http://json-schema.org/draft-07/schema#"
341
+ },
342
+ "visible.shown": {
343
+ "type": "object",
344
+ "properties": {
345
+ "role": {
346
+ "type": "string"
347
+ },
348
+ "name": {
349
+ "type": "string"
350
+ }
351
+ },
352
+ "additionalProperties": false,
353
+ "$schema": "http://json-schema.org/draft-07/schema#"
354
+ },
355
+ "anim.start": {
356
+ "type": "object",
357
+ "properties": {
358
+ "name": {
359
+ "type": "string"
360
+ }
361
+ },
362
+ "required": [
363
+ "name"
364
+ ],
365
+ "additionalProperties": false,
366
+ "$schema": "http://json-schema.org/draft-07/schema#"
367
+ },
368
+ "anim.end": {
369
+ "type": "object",
370
+ "properties": {
371
+ "name": {
372
+ "type": "string"
373
+ }
374
+ },
375
+ "required": [
376
+ "name"
377
+ ],
378
+ "additionalProperties": false,
379
+ "$schema": "http://json-schema.org/draft-07/schema#"
380
+ },
381
+ "scroll.position": {
382
+ "type": "object",
383
+ "properties": {
384
+ "x": {
385
+ "type": "number"
386
+ },
387
+ "y": {
388
+ "type": "number"
389
+ },
390
+ "percent": {
391
+ "type": "number"
392
+ },
393
+ "direction": {
394
+ "type": "string",
395
+ "enum": [
396
+ "up",
397
+ "down"
398
+ ]
399
+ }
400
+ },
401
+ "required": [
402
+ "x",
403
+ "y",
404
+ "percent",
405
+ "direction"
406
+ ],
407
+ "additionalProperties": false,
408
+ "$schema": "http://json-schema.org/draft-07/schema#"
409
+ },
410
+ "reveal.shown": {
411
+ "type": "object",
412
+ "properties": {
413
+ "role": {
414
+ "type": "string"
415
+ },
416
+ "name": {
417
+ "type": "string"
418
+ }
419
+ },
420
+ "additionalProperties": true,
421
+ "$schema": "http://json-schema.org/draft-07/schema#"
422
+ },
423
+ "signal": {
424
+ "type": "object",
425
+ "properties": {
426
+ "name": {
427
+ "type": "string"
428
+ },
429
+ "data": {}
430
+ },
431
+ "required": [
432
+ "name"
433
+ ],
434
+ "additionalProperties": false,
435
+ "$schema": "http://json-schema.org/draft-07/schema#"
436
+ },
437
+ "state.change": {
438
+ "type": "object",
439
+ "properties": {
440
+ "name": {
441
+ "type": "string"
442
+ },
443
+ "value": {}
444
+ },
445
+ "required": [
446
+ "name"
447
+ ],
448
+ "additionalProperties": true,
449
+ "$schema": "http://json-schema.org/draft-07/schema#"
450
+ },
451
+ "storage.change": {
452
+ "type": "object",
453
+ "properties": {
454
+ "area": {
455
+ "type": "string",
456
+ "enum": [
457
+ "local",
458
+ "session",
459
+ "cookies"
460
+ ]
461
+ },
462
+ "key": {
463
+ "type": "string"
464
+ },
465
+ "old": {
466
+ "type": "string"
467
+ },
468
+ "new": {
469
+ "type": "string"
470
+ }
471
+ },
472
+ "required": [
473
+ "area",
474
+ "key"
475
+ ],
476
+ "additionalProperties": false,
477
+ "$schema": "http://json-schema.org/draft-07/schema#"
478
+ },
479
+ "page.health": {
480
+ "type": "object",
481
+ "properties": {
482
+ "hidden": {
483
+ "type": "boolean"
484
+ },
485
+ "focused": {
486
+ "type": "boolean"
487
+ },
488
+ "reason": {
489
+ "type": "string"
490
+ },
491
+ "brand": {
492
+ "type": "string",
493
+ "enum": [
494
+ "chrome",
495
+ "edge",
496
+ "arc",
497
+ "dia",
498
+ "brave",
499
+ "opera",
500
+ "firefox",
501
+ "safari",
502
+ "other"
503
+ ]
504
+ },
505
+ "runtime": {
506
+ "type": "string"
507
+ },
508
+ "engine": {
509
+ "type": "string"
510
+ }
511
+ },
512
+ "required": [
513
+ "hidden",
514
+ "focused"
515
+ ],
516
+ "additionalProperties": true,
517
+ "$schema": "http://json-schema.org/draft-07/schema#"
518
+ },
519
+ "context.opened": {
520
+ "type": "object",
521
+ "properties": {
522
+ "href": {
523
+ "type": "string"
524
+ }
525
+ },
526
+ "additionalProperties": true,
527
+ "$schema": "http://json-schema.org/draft-07/schema#"
528
+ },
529
+ "dialog.opened": {
530
+ "type": "object",
531
+ "properties": {
532
+ "kind": {
533
+ "type": "string",
534
+ "enum": [
535
+ "alert",
536
+ "confirm",
537
+ "prompt"
538
+ ]
539
+ },
540
+ "message": {
541
+ "type": "string"
542
+ },
543
+ "answered": {
544
+ "type": [
545
+ "boolean",
546
+ "null"
547
+ ]
548
+ }
549
+ },
550
+ "required": [
551
+ "kind"
552
+ ],
553
+ "additionalProperties": true,
554
+ "$schema": "http://json-schema.org/draft-07/schema#"
555
+ },
556
+ "render.commit": {
557
+ "type": "object",
558
+ "properties": {
559
+ "commits": {
560
+ "type": "number"
561
+ }
562
+ },
563
+ "required": [
564
+ "commits"
565
+ ],
566
+ "additionalProperties": false,
567
+ "$schema": "http://json-schema.org/draft-07/schema#"
568
+ },
569
+ "focus.change": {
570
+ "type": "object",
571
+ "properties": {
572
+ "to": {
573
+ "type": "string"
574
+ },
575
+ "from": {
576
+ "type": "string"
577
+ },
578
+ "toBody": {
579
+ "type": "boolean"
580
+ }
581
+ },
582
+ "required": [
583
+ "toBody"
584
+ ],
585
+ "additionalProperties": false,
586
+ "$schema": "http://json-schema.org/draft-07/schema#"
587
+ },
588
+ "flow.recorded": {
589
+ "type": "object",
590
+ "properties": {
591
+ "name": {
592
+ "type": "string"
593
+ },
594
+ "flow": {}
595
+ },
596
+ "required": [
597
+ "name"
598
+ ],
599
+ "additionalProperties": false,
600
+ "$schema": "http://json-schema.org/draft-07/schema#"
601
+ },
602
+ "transport.overflow": {
603
+ "type": "object",
604
+ "properties": {
605
+ "dropped": {
606
+ "type": "number"
607
+ }
608
+ },
609
+ "required": [
610
+ "dropped"
611
+ ],
612
+ "additionalProperties": false,
613
+ "$schema": "http://json-schema.org/draft-07/schema#"
614
+ },
615
+ "truncated": {
616
+ "type": "object",
617
+ "properties": {
618
+ "channel": {
619
+ "type": "string"
620
+ },
621
+ "dropped": {
622
+ "type": "number"
623
+ }
624
+ },
625
+ "required": [
626
+ "channel",
627
+ "dropped"
628
+ ],
629
+ "additionalProperties": false,
630
+ "$schema": "http://json-schema.org/draft-07/schema#"
631
+ },
632
+ "blind-spot": {
633
+ "type": "object",
634
+ "properties": {
635
+ "kind": {
636
+ "type": "string",
637
+ "enum": [
638
+ "closed-shadow-root",
639
+ "rate-limited",
640
+ "cross-origin-iframe",
641
+ "uninstrumented-frame",
642
+ "virtualized-unmounted",
643
+ "wrapped-network",
644
+ "unobserved-ipc",
645
+ "verdictless-send",
646
+ "unwatched-state"
647
+ ]
648
+ },
649
+ "count": {
650
+ "type": "number"
651
+ }
652
+ },
653
+ "required": [
654
+ "kind",
655
+ "count"
656
+ ],
657
+ "additionalProperties": false,
658
+ "$schema": "http://json-schema.org/draft-07/schema#"
659
+ },
660
+ "sdk.failed": {
661
+ "type": "object",
662
+ "properties": {
663
+ "site": {
664
+ "type": "string",
665
+ "maxLength": 64
666
+ },
667
+ "message": {
668
+ "type": "string",
669
+ "maxLength": 500
670
+ },
671
+ "errorType": {
672
+ "type": "string",
673
+ "maxLength": 64
674
+ }
675
+ },
676
+ "required": [
677
+ "site",
678
+ "message"
679
+ ],
680
+ "additionalProperties": false,
681
+ "$schema": "http://json-schema.org/draft-07/schema#"
682
+ },
683
+ "net.detail": {
684
+ "type": "object",
685
+ "properties": {
686
+ "url": {
687
+ "type": "string"
688
+ },
689
+ "method": {
690
+ "type": "string"
691
+ },
692
+ "status": {
693
+ "type": "number"
694
+ },
695
+ "headers": {
696
+ "type": "object",
697
+ "additionalProperties": {
698
+ "type": "string"
699
+ }
700
+ },
701
+ "resourceType": {
702
+ "type": "string"
703
+ }
704
+ },
705
+ "required": [
706
+ "url",
707
+ "status",
708
+ "headers"
709
+ ],
710
+ "additionalProperties": true,
711
+ "$schema": "http://json-schema.org/draft-07/schema#"
712
+ },
713
+ "human.control": {
714
+ "type": "object",
715
+ "properties": {
716
+ "kind": {
717
+ "type": "string",
718
+ "enum": [
719
+ "pause",
720
+ "resume",
721
+ "end",
722
+ "message",
723
+ "replay",
724
+ "sync",
725
+ "harness"
726
+ ]
727
+ },
728
+ "text": {
729
+ "type": "string"
730
+ }
731
+ },
732
+ "required": [
733
+ "kind"
734
+ ],
735
+ "additionalProperties": false,
736
+ "$schema": "http://json-schema.org/draft-07/schema#"
737
+ },
738
+ "human.mark": {
739
+ "type": "object",
740
+ "properties": {
741
+ "note": {
742
+ "type": "string",
743
+ "minLength": 1,
744
+ "maxLength": 2000
745
+ },
746
+ "anchor": {
747
+ "type": "string",
748
+ "maxLength": 128
749
+ },
750
+ "strategy": {
751
+ "type": "string",
752
+ "enum": [
753
+ "testid",
754
+ "component",
755
+ "role",
756
+ "position"
757
+ ]
758
+ },
759
+ "label": {
760
+ "type": "string",
761
+ "maxLength": 256
762
+ },
763
+ "source": {
764
+ "type": "object",
765
+ "properties": {
766
+ "file": {
767
+ "type": "string",
768
+ "maxLength": 4096
769
+ },
770
+ "line": {
771
+ "type": "integer",
772
+ "minimum": 0
773
+ }
774
+ },
775
+ "required": [
776
+ "file",
777
+ "line"
778
+ ],
779
+ "additionalProperties": false
780
+ },
781
+ "route": {
782
+ "type": "string",
783
+ "maxLength": 4096
784
+ }
785
+ },
786
+ "required": [
787
+ "note",
788
+ "anchor",
789
+ "strategy"
790
+ ],
791
+ "additionalProperties": false,
792
+ "$schema": "http://json-schema.org/draft-07/schema#"
793
+ }
794
+ }
795
+ }