@reticlehq/core 3.8.0 → 3.8.2

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 (97) 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/index.d.ts +1 -0
  23. package/dist/index.js +1 -0
  24. package/dist/onboarding.d.ts +8 -58
  25. package/dist/onboarding.js +1 -1
  26. package/dist/registry/daemon-registry.d.ts +2 -14
  27. package/dist/registry/daemon-registry.js +1 -1
  28. package/dist/registry/dev-server-registry.d.ts +2 -31
  29. package/dist/registry/dev-server-registry.js +1 -1
  30. package/dist/registry/project-registry.d.ts +4 -32
  31. package/dist/registry/project-registry.js +1 -1
  32. package/dist/schema/command-message.json +65 -68
  33. package/dist/schema/command-name.json +29 -33
  34. package/dist/schema/command-result.json +25 -30
  35. package/dist/schema/event-message.json +104 -103
  36. package/dist/schema/event-payloads.json +142 -119
  37. package/dist/schema/event-type.json +47 -50
  38. package/dist/schema/hello-message.json +150 -154
  39. package/dist/schema/reticle-event.json +98 -96
  40. package/dist/schema/reticle-message.json +338 -333
  41. package/dist/telemetry-bug.d.ts +4 -75
  42. package/dist/telemetry-bug.js +1 -1
  43. package/dist/telemetry-feedback.d.ts +11 -99
  44. package/dist/telemetry-feedback.js +1 -1
  45. package/dist/telemetry-refusal.d.ts +4 -31
  46. package/dist/telemetry-refusal.js +1 -1
  47. package/dist/telemetry-session.d.ts +39 -633
  48. package/dist/telemetry-session.js +10 -8
  49. package/dist/telemetry-signals.d.ts +58 -151
  50. package/dist/telemetry-signals.js +12 -1
  51. package/dist/telemetry.d.ts +137 -1814
  52. package/dist/telemetry.js +1 -1
  53. package/dist/verdict/compare-source.d.ts +1 -1
  54. package/dist/verdict/compare-source.js +1 -1
  55. package/dist/verdict/disparity.d.ts +8 -56
  56. package/dist/verdict/disparity.js +1 -1
  57. package/dist/verdict/instrumentation-coverage.d.ts +3 -3
  58. package/dist/verdict/instrumentation-coverage.js +1 -1
  59. package/dist/verdict/instrumentation-gap.d.ts +3 -10
  60. package/dist/verdict/instrumentation-gap.js +1 -1
  61. package/dist/verdict/intent.d.ts +25 -224
  62. package/dist/verdict/intent.js +1 -1
  63. package/dist/verdict/predicate.d.ts +1 -1
  64. package/dist/verdict/predicate.js +5 -5
  65. package/dist/verdict/property-assertion.d.ts +23 -101
  66. package/dist/verdict/property-assertion.js +1 -1
  67. package/dist/verdict/run-report.d.ts +13 -108
  68. package/dist/verdict/run-report.js +1 -1
  69. package/dist/verdict/security.d.ts +12 -0
  70. package/dist/verdict/security.js +94 -7
  71. package/dist/verdict/verification-run.d.ts +112 -1668
  72. package/dist/verdict/verification-run.js +4 -4
  73. package/dist/verdict/verify-progress.d.ts +22 -64
  74. package/dist/verdict/verify-progress.js +1 -1
  75. package/dist/wire/click-input.d.ts +15 -0
  76. package/dist/wire/click-input.js +42 -0
  77. package/dist/wire/constants/event-types.d.ts +2 -0
  78. package/dist/wire/constants/event-types.js +2 -0
  79. package/dist/wire/constants/response-body-reason.d.ts +4 -4
  80. package/dist/wire/constants/response-body-reason.js +4 -4
  81. package/dist/wire/constants/reticle-env.d.ts +2 -0
  82. package/dist/wire/constants/reticle-env.js +2 -0
  83. package/dist/wire/event-payloads.d.ts +108 -678
  84. package/dist/wire/event-payloads.js +24 -7
  85. package/dist/wire/event-priority.js +1 -0
  86. package/dist/wire/messages.d.ts +66 -755
  87. package/dist/wire/messages.js +3 -3
  88. package/dist/wire/next-step.d.ts +11 -51
  89. package/dist/wire/next-step.js +1 -1
  90. package/dist/wire/platform-link.js +2 -2
  91. package/dist/wire/production/production-policy.d.ts +37 -83
  92. package/dist/wire/production/production-policy.js +1 -1
  93. package/dist/wire/types.d.ts +75 -698
  94. package/dist/wire/types.js +5 -5
  95. package/dist/words/upgrade.d.ts +3 -13
  96. package/dist/words/upgrade.js +1 -1
  97. package/package.json +4 -5
@@ -1,77 +1,74 @@
1
1
  {
2
- "$ref": "#/definitions/CommandMessage",
3
- "definitions": {
4
- "CommandMessage": {
2
+ "title": "CommandMessage",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "kind": {
7
+ "type": "string",
8
+ "const": "command"
9
+ },
10
+ "id": {
11
+ "type": "string",
12
+ "minLength": 1,
13
+ "maxLength": 128
14
+ },
15
+ "sessionId": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "maxLength": 128
19
+ },
20
+ "name": {
21
+ "type": "string",
22
+ "minLength": 1,
23
+ "maxLength": 128
24
+ },
25
+ "args": {
26
+ "default": {},
27
+ "type": "object",
28
+ "propertyNames": {
29
+ "type": "string"
30
+ },
31
+ "additionalProperties": {}
32
+ },
33
+ "by": {
34
+ "type": "string",
35
+ "enum": [
36
+ "harness"
37
+ ]
38
+ },
39
+ "outward": {
5
40
  "type": "object",
6
41
  "properties": {
7
- "kind": {
8
- "type": "string",
9
- "const": "command"
10
- },
11
- "id": {
12
- "type": "string",
13
- "minLength": 1,
14
- "maxLength": 128
15
- },
16
- "sessionId": {
17
- "type": "string",
18
- "minLength": 1,
19
- "maxLength": 128
20
- },
21
- "name": {
22
- "type": "string",
23
- "minLength": 1,
24
- "maxLength": 128
25
- },
26
- "args": {
27
- "type": "object",
28
- "additionalProperties": {},
29
- "default": {}
30
- },
31
- "by": {
32
- "type": "string",
33
- "enum": [
34
- "harness"
35
- ]
36
- },
37
- "outward": {
38
- "type": "object",
39
- "properties": {
40
- "allowed": {
41
- "type": "array",
42
- "items": {
43
- "type": "string",
44
- "enum": [
45
- "invite",
46
- "send",
47
- "share",
48
- "delete",
49
- "pay",
50
- "publish",
51
- "revoke",
52
- "transfer",
53
- "sign out",
54
- "change role",
55
- "create key",
56
- "change state"
57
- ]
58
- },
59
- "maxItems": 16
60
- }
61
- },
62
- "required": [
63
- "allowed"
64
- ],
65
- "additionalProperties": false
42
+ "allowed": {
43
+ "maxItems": 16,
44
+ "type": "array",
45
+ "items": {
46
+ "type": "string",
47
+ "enum": [
48
+ "invite",
49
+ "send",
50
+ "share",
51
+ "delete",
52
+ "pay",
53
+ "publish",
54
+ "revoke",
55
+ "transfer",
56
+ "sign out",
57
+ "change role",
58
+ "create key",
59
+ "change state"
60
+ ]
61
+ }
66
62
  }
67
63
  },
68
64
  "required": [
69
- "kind",
70
- "id",
71
- "name"
72
- ],
73
- "additionalProperties": false
65
+ "allowed"
66
+ ]
74
67
  }
75
68
  },
76
- "$schema": "http://json-schema.org/draft-07/schema#"
69
+ "required": [
70
+ "kind",
71
+ "id",
72
+ "name"
73
+ ]
77
74
  }
@@ -1,35 +1,31 @@
1
1
  {
2
- "$ref": "#/definitions/ReticleCommand",
3
- "definitions": {
4
- "ReticleCommand": {
5
- "type": "string",
6
- "enum": [
7
- "snapshot",
8
- "query",
9
- "match",
10
- "inspect",
11
- "act",
12
- "act_sequence",
13
- "animations",
14
- "narrate",
15
- "clock",
16
- "capabilities",
17
- "state_read",
18
- "storage_read",
19
- "scroll",
20
- "session_config",
21
- "presenter",
22
- "impact",
23
- "capture",
24
- "render",
25
- "navigate",
26
- "refresh",
27
- "flows",
28
- "flow.progress",
29
- "plan",
30
- "markers"
31
- ]
32
- }
33
- },
34
- "$schema": "http://json-schema.org/draft-07/schema#"
2
+ "title": "ReticleCommand",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "string",
5
+ "enum": [
6
+ "snapshot",
7
+ "query",
8
+ "match",
9
+ "inspect",
10
+ "act",
11
+ "act_sequence",
12
+ "animations",
13
+ "narrate",
14
+ "clock",
15
+ "capabilities",
16
+ "state_read",
17
+ "storage_read",
18
+ "scroll",
19
+ "session_config",
20
+ "presenter",
21
+ "impact",
22
+ "capture",
23
+ "render",
24
+ "navigate",
25
+ "refresh",
26
+ "flows",
27
+ "flow.progress",
28
+ "plan",
29
+ "markers"
30
+ ]
35
31
  }
@@ -1,34 +1,29 @@
1
1
  {
2
- "$ref": "#/definitions/CommandResult",
3
- "definitions": {
4
- "CommandResult": {
5
- "type": "object",
6
- "properties": {
7
- "kind": {
8
- "type": "string",
9
- "const": "command_result"
10
- },
11
- "id": {
12
- "type": "string",
13
- "minLength": 1,
14
- "maxLength": 128
15
- },
16
- "ok": {
17
- "type": "boolean"
18
- },
19
- "result": {},
20
- "error": {
21
- "type": "string",
22
- "maxLength": 4096
23
- }
24
- },
25
- "required": [
26
- "kind",
27
- "id",
28
- "ok"
29
- ],
30
- "additionalProperties": false
2
+ "title": "CommandResult",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "kind": {
7
+ "type": "string",
8
+ "const": "command_result"
9
+ },
10
+ "id": {
11
+ "type": "string",
12
+ "minLength": 1,
13
+ "maxLength": 128
14
+ },
15
+ "ok": {
16
+ "type": "boolean"
17
+ },
18
+ "result": {},
19
+ "error": {
20
+ "type": "string",
21
+ "maxLength": 4096
31
22
  }
32
23
  },
33
- "$schema": "http://json-schema.org/draft-07/schema#"
24
+ "required": [
25
+ "kind",
26
+ "id",
27
+ "ok"
28
+ ]
34
29
  }
@@ -1,116 +1,117 @@
1
1
  {
2
- "$ref": "#/definitions/EventMessage",
3
- "definitions": {
4
- "EventMessage": {
2
+ "title": "EventMessage",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "kind": {
7
+ "type": "string",
8
+ "const": "event"
9
+ },
10
+ "event": {
5
11
  "type": "object",
6
12
  "properties": {
7
- "kind": {
13
+ "t": {
14
+ "type": "number"
15
+ },
16
+ "type": {
17
+ "type": "string",
18
+ "enum": [
19
+ "dom.added",
20
+ "dom.removed",
21
+ "dom.attr",
22
+ "dom.text",
23
+ "net.request",
24
+ "net.pending",
25
+ "net.stream",
26
+ "perf",
27
+ "route.change",
28
+ "console.log",
29
+ "console.warn",
30
+ "console.error",
31
+ "console.info",
32
+ "console.debug",
33
+ "error.uncaught",
34
+ "visible.shown",
35
+ "anim.start",
36
+ "anim.end",
37
+ "scroll.position",
38
+ "reveal.shown",
39
+ "signal",
40
+ "state.change",
41
+ "storage.change",
42
+ "page.health",
43
+ "context.opened",
44
+ "dialog.opened",
45
+ "render.commit",
46
+ "focus.change",
47
+ "field.change",
48
+ "flow.recorded",
49
+ "transport.overflow",
50
+ "truncated",
51
+ "blind-spot",
52
+ "sdk.failed",
53
+ "net.detail",
54
+ "net.response-body",
55
+ "human.control",
56
+ "human.mark",
57
+ "download",
58
+ "hud.used",
59
+ "media.state",
60
+ "canvas.digest"
61
+ ]
62
+ },
63
+ "sessionId": {
8
64
  "type": "string",
9
- "const": "event"
65
+ "minLength": 1,
66
+ "maxLength": 128
67
+ },
68
+ "ref": {
69
+ "type": "string",
70
+ "maxLength": 128
71
+ },
72
+ "seq": {
73
+ "type": "integer",
74
+ "minimum": 0,
75
+ "maximum": 9007199254740991
76
+ },
77
+ "actionId": {
78
+ "type": "string",
79
+ "maxLength": 128
80
+ },
81
+ "attribution": {
82
+ "type": "string",
83
+ "enum": [
84
+ "window"
85
+ ]
86
+ },
87
+ "documentId": {
88
+ "type": "string",
89
+ "minLength": 1,
90
+ "maxLength": 8
91
+ },
92
+ "editEpoch": {
93
+ "type": "integer",
94
+ "minimum": 0,
95
+ "maximum": 9007199254740991
10
96
  },
11
- "event": {
97
+ "data": {
98
+ "default": {},
12
99
  "type": "object",
13
- "properties": {
14
- "t": {
15
- "type": "number"
16
- },
17
- "type": {
18
- "type": "string",
19
- "enum": [
20
- "dom.added",
21
- "dom.removed",
22
- "dom.attr",
23
- "dom.text",
24
- "net.request",
25
- "net.pending",
26
- "net.stream",
27
- "perf",
28
- "route.change",
29
- "console.log",
30
- "console.warn",
31
- "console.error",
32
- "console.info",
33
- "console.debug",
34
- "error.uncaught",
35
- "visible.shown",
36
- "anim.start",
37
- "anim.end",
38
- "scroll.position",
39
- "reveal.shown",
40
- "signal",
41
- "state.change",
42
- "storage.change",
43
- "page.health",
44
- "context.opened",
45
- "dialog.opened",
46
- "render.commit",
47
- "focus.change",
48
- "field.change",
49
- "flow.recorded",
50
- "transport.overflow",
51
- "truncated",
52
- "blind-spot",
53
- "sdk.failed",
54
- "net.detail",
55
- "human.control",
56
- "human.mark",
57
- "download",
58
- "hud.used",
59
- "media.state",
60
- "canvas.digest"
61
- ]
62
- },
63
- "sessionId": {
64
- "type": "string",
65
- "minLength": 1,
66
- "maxLength": 128
67
- },
68
- "ref": {
69
- "type": "string",
70
- "maxLength": 128
71
- },
72
- "seq": {
73
- "type": "integer",
74
- "minimum": 0
75
- },
76
- "actionId": {
77
- "$ref": "#/definitions/EventMessage/properties/event/properties/ref"
78
- },
79
- "attribution": {
80
- "type": "string",
81
- "enum": [
82
- "window"
83
- ]
84
- },
85
- "documentId": {
86
- "type": "string",
87
- "minLength": 1,
88
- "maxLength": 8
89
- },
90
- "editEpoch": {
91
- "type": "integer",
92
- "minimum": 0
93
- },
94
- "data": {
95
- "type": "object",
96
- "additionalProperties": {},
97
- "default": {}
98
- }
100
+ "propertyNames": {
101
+ "type": "string"
99
102
  },
100
- "required": [
101
- "t",
102
- "type",
103
- "sessionId"
104
- ],
105
- "additionalProperties": false
103
+ "additionalProperties": {}
106
104
  }
107
105
  },
108
106
  "required": [
109
- "kind",
110
- "event"
111
- ],
112
- "additionalProperties": false
107
+ "t",
108
+ "type",
109
+ "sessionId"
110
+ ]
113
111
  }
114
112
  },
115
- "$schema": "http://json-schema.org/draft-07/schema#"
113
+ "required": [
114
+ "kind",
115
+ "event"
116
+ ]
116
117
  }