@reticlehq/core 3.8.0 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/artifacts/drive-script.d.ts +84 -1217
  2. package/dist/artifacts/drive-script.js +1 -1
  3. package/dist/artifacts/flow-expect-flat.d.ts +8 -192
  4. package/dist/artifacts/flow-expect-flat.js +2 -2
  5. package/dist/artifacts/flow-results.d.ts +15 -0
  6. package/dist/artifacts/flow-types.d.ts +202 -2331
  7. package/dist/artifacts/flow-types.js +2 -2
  8. package/dist/artifacts/harness-map.d.ts +8 -69
  9. package/dist/artifacts/harness-map.js +1 -1
  10. package/dist/artifacts/hud-notices.d.ts +8 -82
  11. package/dist/artifacts/hud-notices.js +1 -1
  12. package/dist/artifacts/impact.d.ts +80 -1638
  13. package/dist/artifacts/impact.js +4 -4
  14. package/dist/artifacts/journal.d.ts +12 -247
  15. package/dist/artifacts/journal.js +2 -2
  16. package/dist/artifacts/prompt-context.d.ts +5 -43
  17. package/dist/artifacts/prompt-context.js +1 -1
  18. package/dist/artifacts/screenshot-upload.d.ts +3 -26
  19. package/dist/artifacts/screenshot-upload.js +1 -1
  20. package/dist/hooks/hook-events.d.ts +15 -171
  21. package/dist/hooks/hook-events.js +1 -1
  22. package/dist/onboarding.d.ts +8 -58
  23. package/dist/onboarding.js +1 -1
  24. package/dist/registry/daemon-registry.d.ts +2 -14
  25. package/dist/registry/daemon-registry.js +1 -1
  26. package/dist/registry/dev-server-registry.d.ts +2 -31
  27. package/dist/registry/dev-server-registry.js +1 -1
  28. package/dist/registry/project-registry.d.ts +4 -32
  29. package/dist/registry/project-registry.js +1 -1
  30. package/dist/schema/command-message.json +65 -68
  31. package/dist/schema/command-name.json +29 -33
  32. package/dist/schema/command-result.json +25 -30
  33. package/dist/schema/event-message.json +104 -103
  34. package/dist/schema/event-payloads.json +142 -119
  35. package/dist/schema/event-type.json +47 -50
  36. package/dist/schema/hello-message.json +150 -154
  37. package/dist/schema/reticle-event.json +98 -96
  38. package/dist/schema/reticle-message.json +338 -333
  39. package/dist/telemetry-bug.d.ts +4 -75
  40. package/dist/telemetry-bug.js +1 -1
  41. package/dist/telemetry-feedback.d.ts +11 -99
  42. package/dist/telemetry-feedback.js +1 -1
  43. package/dist/telemetry-refusal.d.ts +4 -31
  44. package/dist/telemetry-refusal.js +1 -1
  45. package/dist/telemetry-session.d.ts +39 -633
  46. package/dist/telemetry-session.js +10 -8
  47. package/dist/telemetry-signals.d.ts +58 -151
  48. package/dist/telemetry-signals.js +12 -1
  49. package/dist/telemetry.d.ts +137 -1814
  50. package/dist/telemetry.js +1 -1
  51. package/dist/verdict/compare-source.d.ts +1 -1
  52. package/dist/verdict/compare-source.js +1 -1
  53. package/dist/verdict/disparity.d.ts +8 -56
  54. package/dist/verdict/disparity.js +1 -1
  55. package/dist/verdict/instrumentation-coverage.d.ts +3 -3
  56. package/dist/verdict/instrumentation-coverage.js +1 -1
  57. package/dist/verdict/instrumentation-gap.d.ts +3 -10
  58. package/dist/verdict/instrumentation-gap.js +1 -1
  59. package/dist/verdict/intent.d.ts +25 -224
  60. package/dist/verdict/intent.js +1 -1
  61. package/dist/verdict/predicate.d.ts +1 -1
  62. package/dist/verdict/predicate.js +5 -5
  63. package/dist/verdict/property-assertion.d.ts +23 -101
  64. package/dist/verdict/property-assertion.js +1 -1
  65. package/dist/verdict/run-report.d.ts +13 -108
  66. package/dist/verdict/run-report.js +1 -1
  67. package/dist/verdict/security.d.ts +12 -0
  68. package/dist/verdict/security.js +94 -7
  69. package/dist/verdict/verification-run.d.ts +112 -1668
  70. package/dist/verdict/verification-run.js +4 -4
  71. package/dist/verdict/verify-progress.d.ts +22 -64
  72. package/dist/verdict/verify-progress.js +1 -1
  73. package/dist/wire/constants/event-types.d.ts +2 -0
  74. package/dist/wire/constants/event-types.js +2 -0
  75. package/dist/wire/constants/response-body-reason.d.ts +4 -4
  76. package/dist/wire/constants/response-body-reason.js +4 -4
  77. package/dist/wire/constants/reticle-env.d.ts +2 -0
  78. package/dist/wire/constants/reticle-env.js +2 -0
  79. package/dist/wire/event-payloads.d.ts +108 -678
  80. package/dist/wire/event-payloads.js +24 -7
  81. package/dist/wire/event-priority.js +1 -0
  82. package/dist/wire/messages.d.ts +66 -755
  83. package/dist/wire/messages.js +3 -3
  84. package/dist/wire/next-step.d.ts +11 -51
  85. package/dist/wire/next-step.js +1 -1
  86. package/dist/wire/platform-link.js +2 -2
  87. package/dist/wire/production/production-policy.d.ts +37 -83
  88. package/dist/wire/production/production-policy.js +1 -1
  89. package/dist/wire/types.d.ts +75 -698
  90. package/dist/wire/types.js +5 -5
  91. package/dist/words/upgrade.d.ts +3 -13
  92. package/dist/words/upgrade.js +1 -1
  93. package/package.json +3 -4
@@ -1,52 +1,49 @@
1
1
  {
2
- "$ref": "#/definitions/EventType",
3
- "definitions": {
4
- "EventType": {
5
- "type": "string",
6
- "enum": [
7
- "dom.added",
8
- "dom.removed",
9
- "dom.attr",
10
- "dom.text",
11
- "net.request",
12
- "net.pending",
13
- "net.stream",
14
- "perf",
15
- "route.change",
16
- "console.log",
17
- "console.warn",
18
- "console.error",
19
- "console.info",
20
- "console.debug",
21
- "error.uncaught",
22
- "visible.shown",
23
- "anim.start",
24
- "anim.end",
25
- "scroll.position",
26
- "reveal.shown",
27
- "signal",
28
- "state.change",
29
- "storage.change",
30
- "page.health",
31
- "context.opened",
32
- "dialog.opened",
33
- "render.commit",
34
- "focus.change",
35
- "field.change",
36
- "flow.recorded",
37
- "transport.overflow",
38
- "truncated",
39
- "blind-spot",
40
- "sdk.failed",
41
- "net.detail",
42
- "human.control",
43
- "human.mark",
44
- "download",
45
- "hud.used",
46
- "media.state",
47
- "canvas.digest"
48
- ]
49
- }
50
- },
51
- "$schema": "http://json-schema.org/draft-07/schema#"
2
+ "title": "EventType",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "string",
5
+ "enum": [
6
+ "dom.added",
7
+ "dom.removed",
8
+ "dom.attr",
9
+ "dom.text",
10
+ "net.request",
11
+ "net.pending",
12
+ "net.stream",
13
+ "perf",
14
+ "route.change",
15
+ "console.log",
16
+ "console.warn",
17
+ "console.error",
18
+ "console.info",
19
+ "console.debug",
20
+ "error.uncaught",
21
+ "visible.shown",
22
+ "anim.start",
23
+ "anim.end",
24
+ "scroll.position",
25
+ "reveal.shown",
26
+ "signal",
27
+ "state.change",
28
+ "storage.change",
29
+ "page.health",
30
+ "context.opened",
31
+ "dialog.opened",
32
+ "render.commit",
33
+ "focus.change",
34
+ "field.change",
35
+ "flow.recorded",
36
+ "transport.overflow",
37
+ "truncated",
38
+ "blind-spot",
39
+ "sdk.failed",
40
+ "net.detail",
41
+ "net.response-body",
42
+ "human.control",
43
+ "human.mark",
44
+ "download",
45
+ "hud.used",
46
+ "media.state",
47
+ "canvas.digest"
48
+ ]
52
49
  }
@@ -1,171 +1,167 @@
1
1
  {
2
- "$ref": "#/definitions/HelloMessage",
3
- "definitions": {
4
- "HelloMessage": {
2
+ "title": "HelloMessage",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "kind": {
7
+ "type": "string",
8
+ "const": "hello"
9
+ },
10
+ "protocolVersion": {
11
+ "type": "integer",
12
+ "minimum": 1,
13
+ "maximum": 1
14
+ },
15
+ "sessionId": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "maxLength": 128
19
+ },
20
+ "url": {
21
+ "type": "string",
22
+ "maxLength": 4096
23
+ },
24
+ "title": {
25
+ "type": "string",
26
+ "maxLength": 512
27
+ },
28
+ "projectId": {
29
+ "type": "string",
30
+ "minLength": 1,
31
+ "maxLength": 128
32
+ },
33
+ "adapters": {
34
+ "maxItems": 32,
35
+ "type": "array",
36
+ "items": {
37
+ "type": "string",
38
+ "maxLength": 128
39
+ }
40
+ },
41
+ "token": {
42
+ "type": "string",
43
+ "maxLength": 512
44
+ },
45
+ "env": {
46
+ "type": "string",
47
+ "enum": [
48
+ "development",
49
+ "production"
50
+ ]
51
+ },
52
+ "scope": {
53
+ "type": "string",
54
+ "enum": [
55
+ "observe",
56
+ "act"
57
+ ]
58
+ },
59
+ "platform": {
60
+ "type": "string",
61
+ "enum": [
62
+ "web",
63
+ "webview",
64
+ "native",
65
+ "service"
66
+ ]
67
+ },
68
+ "channels": {
69
+ "maxItems": 32,
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string",
73
+ "enum": [
74
+ "ui",
75
+ "net",
76
+ "state",
77
+ "signal",
78
+ "log",
79
+ "route",
80
+ "storage",
81
+ "time",
82
+ "visual"
83
+ ]
84
+ }
85
+ },
86
+ "commands": {
87
+ "maxItems": 32,
88
+ "type": "array",
89
+ "items": {
90
+ "type": "string",
91
+ "maxLength": 512
92
+ }
93
+ },
94
+ "contractParts": {
5
95
  "type": "object",
6
96
  "properties": {
7
- "kind": {
8
- "type": "string",
9
- "const": "hello"
10
- },
11
- "protocolVersion": {
12
- "type": "integer",
13
- "minimum": 1,
14
- "maximum": 1
15
- },
16
- "sessionId": {
17
- "type": "string",
18
- "minLength": 1,
19
- "maxLength": 128
20
- },
21
- "url": {
22
- "type": "string",
23
- "maxLength": 4096
24
- },
25
- "title": {
26
- "type": "string",
27
- "maxLength": 512
28
- },
29
- "projectId": {
30
- "$ref": "#/definitions/HelloMessage/properties/sessionId"
31
- },
32
- "adapters": {
33
- "type": "array",
34
- "items": {
35
- "type": "string",
36
- "maxLength": 128
37
- },
38
- "maxItems": 32
39
- },
40
- "token": {
41
- "type": "string",
42
- "maxLength": 512
43
- },
44
- "env": {
45
- "type": "string",
46
- "enum": [
47
- "development",
48
- "production"
49
- ]
50
- },
51
- "scope": {
52
- "type": "string",
53
- "enum": [
54
- "observe",
55
- "act"
56
- ]
57
- },
58
- "platform": {
59
- "type": "string",
60
- "enum": [
61
- "web",
62
- "webview",
63
- "native",
64
- "service"
65
- ]
66
- },
67
- "channels": {
97
+ "commands": {
98
+ "maxItems": 128,
68
99
  "type": "array",
69
100
  "items": {
70
- "type": "string",
71
- "enum": [
72
- "ui",
73
- "net",
74
- "state",
75
- "signal",
76
- "log",
77
- "route",
78
- "storage",
79
- "time",
80
- "visual"
81
- ]
82
- },
83
- "maxItems": 32
101
+ "type": "string"
102
+ }
84
103
  },
85
- "commands": {
104
+ "events": {
105
+ "maxItems": 128,
86
106
  "type": "array",
87
107
  "items": {
88
- "type": "string",
89
- "maxLength": 512
90
- },
91
- "maxItems": 32
92
- },
93
- "contractParts": {
94
- "type": "object",
95
- "properties": {
96
- "commands": {
97
- "type": "array",
98
- "items": {
99
- "type": "string"
100
- },
101
- "maxItems": 128
102
- },
103
- "events": {
104
- "type": "array",
105
- "items": {
106
- "type": "string"
107
- },
108
- "maxItems": 128
109
- },
110
- "actions": {
111
- "type": "array",
112
- "items": {
113
- "type": "string"
114
- },
115
- "maxItems": 128
116
- }
117
- },
118
- "required": [
119
- "commands",
120
- "events",
121
- "actions"
122
- ],
123
- "additionalProperties": false
124
- },
125
- "hasCapabilities": {
126
- "type": "boolean"
127
- },
128
- "captureBodies": {
129
- "type": "boolean"
130
- },
131
- "sourceMapping": {
132
- "type": "boolean"
133
- },
134
- "instrumentation": {
135
- "type": "string",
136
- "enum": [
137
- "installed",
138
- "injected"
139
- ]
140
- },
141
- "sdkVersion": {
142
- "type": "string",
143
- "maxLength": 128
144
- },
145
- "contract": {
146
- "type": "string",
147
- "maxLength": 128
108
+ "type": "string"
109
+ }
148
110
  },
149
- "redactKeys": {
111
+ "actions": {
112
+ "maxItems": 128,
150
113
  "type": "array",
151
114
  "items": {
152
- "type": "string",
153
- "minLength": 1,
154
- "maxLength": 128
155
- },
156
- "maxItems": 64
115
+ "type": "string"
116
+ }
157
117
  }
158
118
  },
159
119
  "required": [
160
- "kind",
161
- "protocolVersion",
162
- "sessionId",
163
- "url",
164
- "title",
165
- "adapters"
166
- ],
167
- "additionalProperties": false
120
+ "commands",
121
+ "events",
122
+ "actions"
123
+ ]
124
+ },
125
+ "hasCapabilities": {
126
+ "type": "boolean"
127
+ },
128
+ "captureBodies": {
129
+ "type": "boolean"
130
+ },
131
+ "sourceMapping": {
132
+ "type": "boolean"
133
+ },
134
+ "instrumentation": {
135
+ "type": "string",
136
+ "enum": [
137
+ "installed",
138
+ "injected"
139
+ ]
140
+ },
141
+ "sdkVersion": {
142
+ "type": "string",
143
+ "maxLength": 128
144
+ },
145
+ "contract": {
146
+ "type": "string",
147
+ "maxLength": 128
148
+ },
149
+ "redactKeys": {
150
+ "maxItems": 64,
151
+ "type": "array",
152
+ "items": {
153
+ "type": "string",
154
+ "minLength": 1,
155
+ "maxLength": 128
156
+ }
168
157
  }
169
158
  },
170
- "$schema": "http://json-schema.org/draft-07/schema#"
159
+ "required": [
160
+ "kind",
161
+ "protocolVersion",
162
+ "sessionId",
163
+ "url",
164
+ "title",
165
+ "adapters"
166
+ ]
171
167
  }
@@ -1,102 +1,104 @@
1
1
  {
2
- "$ref": "#/definitions/ReticleEvent",
3
- "definitions": {
4
- "ReticleEvent": {
2
+ "title": "ReticleEvent",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "t": {
7
+ "type": "number"
8
+ },
9
+ "type": {
10
+ "type": "string",
11
+ "enum": [
12
+ "dom.added",
13
+ "dom.removed",
14
+ "dom.attr",
15
+ "dom.text",
16
+ "net.request",
17
+ "net.pending",
18
+ "net.stream",
19
+ "perf",
20
+ "route.change",
21
+ "console.log",
22
+ "console.warn",
23
+ "console.error",
24
+ "console.info",
25
+ "console.debug",
26
+ "error.uncaught",
27
+ "visible.shown",
28
+ "anim.start",
29
+ "anim.end",
30
+ "scroll.position",
31
+ "reveal.shown",
32
+ "signal",
33
+ "state.change",
34
+ "storage.change",
35
+ "page.health",
36
+ "context.opened",
37
+ "dialog.opened",
38
+ "render.commit",
39
+ "focus.change",
40
+ "field.change",
41
+ "flow.recorded",
42
+ "transport.overflow",
43
+ "truncated",
44
+ "blind-spot",
45
+ "sdk.failed",
46
+ "net.detail",
47
+ "net.response-body",
48
+ "human.control",
49
+ "human.mark",
50
+ "download",
51
+ "hud.used",
52
+ "media.state",
53
+ "canvas.digest"
54
+ ]
55
+ },
56
+ "sessionId": {
57
+ "type": "string",
58
+ "minLength": 1,
59
+ "maxLength": 128
60
+ },
61
+ "ref": {
62
+ "type": "string",
63
+ "maxLength": 128
64
+ },
65
+ "seq": {
66
+ "type": "integer",
67
+ "minimum": 0,
68
+ "maximum": 9007199254740991
69
+ },
70
+ "actionId": {
71
+ "type": "string",
72
+ "maxLength": 128
73
+ },
74
+ "attribution": {
75
+ "type": "string",
76
+ "enum": [
77
+ "window"
78
+ ]
79
+ },
80
+ "documentId": {
81
+ "type": "string",
82
+ "minLength": 1,
83
+ "maxLength": 8
84
+ },
85
+ "editEpoch": {
86
+ "type": "integer",
87
+ "minimum": 0,
88
+ "maximum": 9007199254740991
89
+ },
90
+ "data": {
91
+ "default": {},
5
92
  "type": "object",
6
- "properties": {
7
- "t": {
8
- "type": "number"
9
- },
10
- "type": {
11
- "type": "string",
12
- "enum": [
13
- "dom.added",
14
- "dom.removed",
15
- "dom.attr",
16
- "dom.text",
17
- "net.request",
18
- "net.pending",
19
- "net.stream",
20
- "perf",
21
- "route.change",
22
- "console.log",
23
- "console.warn",
24
- "console.error",
25
- "console.info",
26
- "console.debug",
27
- "error.uncaught",
28
- "visible.shown",
29
- "anim.start",
30
- "anim.end",
31
- "scroll.position",
32
- "reveal.shown",
33
- "signal",
34
- "state.change",
35
- "storage.change",
36
- "page.health",
37
- "context.opened",
38
- "dialog.opened",
39
- "render.commit",
40
- "focus.change",
41
- "field.change",
42
- "flow.recorded",
43
- "transport.overflow",
44
- "truncated",
45
- "blind-spot",
46
- "sdk.failed",
47
- "net.detail",
48
- "human.control",
49
- "human.mark",
50
- "download",
51
- "hud.used",
52
- "media.state",
53
- "canvas.digest"
54
- ]
55
- },
56
- "sessionId": {
57
- "type": "string",
58
- "minLength": 1,
59
- "maxLength": 128
60
- },
61
- "ref": {
62
- "type": "string",
63
- "maxLength": 128
64
- },
65
- "seq": {
66
- "type": "integer",
67
- "minimum": 0
68
- },
69
- "actionId": {
70
- "$ref": "#/definitions/ReticleEvent/properties/ref"
71
- },
72
- "attribution": {
73
- "type": "string",
74
- "enum": [
75
- "window"
76
- ]
77
- },
78
- "documentId": {
79
- "type": "string",
80
- "minLength": 1,
81
- "maxLength": 8
82
- },
83
- "editEpoch": {
84
- "type": "integer",
85
- "minimum": 0
86
- },
87
- "data": {
88
- "type": "object",
89
- "additionalProperties": {},
90
- "default": {}
91
- }
93
+ "propertyNames": {
94
+ "type": "string"
92
95
  },
93
- "required": [
94
- "t",
95
- "type",
96
- "sessionId"
97
- ],
98
- "additionalProperties": false
96
+ "additionalProperties": {}
99
97
  }
100
98
  },
101
- "$schema": "http://json-schema.org/draft-07/schema#"
99
+ "required": [
100
+ "t",
101
+ "type",
102
+ "sessionId"
103
+ ]
102
104
  }