@reticlehq/core 3.7.0 → 3.8.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.
- package/dist/activation-entry.d.ts +9 -0
- package/dist/activation-entry.js +9 -0
- package/dist/artifacts/drive-script.d.ts +64 -64
- package/dist/artifacts/flow-constants.d.ts +15 -0
- package/dist/artifacts/flow-constants.js +15 -0
- package/dist/artifacts/flow-expect-flat.d.ts +8 -8
- package/dist/artifacts/flow-results.d.ts +11 -0
- package/dist/artifacts/flow-types.d.ts +164 -118
- package/dist/artifacts/flow-types.js +12 -0
- package/dist/artifacts/harness-credits.d.ts +6 -3
- package/dist/artifacts/harness-credits.js +9 -6
- package/dist/artifacts/harness-map.d.ts +6 -6
- package/dist/artifacts/impact.d.ts +77 -80
- package/dist/artifacts/impact.js +34 -17
- package/dist/artifacts/journal.d.ts +25 -6
- package/dist/artifacts/journal.js +13 -0
- package/dist/artifacts/prompt-context.d.ts +12 -0
- package/dist/artifacts/prompt-context.js +14 -3
- package/dist/graph/app-graph.d.ts +137 -0
- package/dist/graph/app-graph.js +498 -0
- package/dist/hooks/hook-events.d.ts +22 -22
- package/dist/hud-entry.js +1 -1
- package/dist/identity/checkout.d.ts +41 -0
- package/dist/identity/checkout.js +118 -0
- package/dist/identity/state-dir.d.ts +23 -0
- package/dist/identity/state-dir.js +43 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -0
- package/dist/onboarding.d.ts +22 -1
- package/dist/onboarding.js +19 -0
- package/dist/registry/dev-server-registry.d.ts +2 -2
- package/dist/schema/event-message.json +3 -1
- package/dist/schema/event-payloads.json +116 -1
- package/dist/schema/event-type.json +3 -1
- package/dist/schema/hello-message.json +21 -0
- package/dist/schema/reticle-event.json +3 -1
- package/dist/schema/reticle-message.json +24 -1
- package/dist/telemetry-bug.d.ts +6 -6
- package/dist/telemetry-entry.d.ts +1 -1
- package/dist/telemetry-entry.js +1 -1
- package/dist/telemetry-feedback.d.ts +14 -0
- package/dist/telemetry-feedback.js +19 -0
- package/dist/telemetry-refusal.d.ts +2 -2
- package/dist/telemetry-session.d.ts +23 -8
- package/dist/telemetry-session.js +15 -4
- package/dist/telemetry-signals.d.ts +227 -9
- package/dist/telemetry-signals.js +88 -1
- package/dist/telemetry.d.ts +379 -72
- package/dist/telemetry.js +71 -5
- package/dist/verdict/check-sentence.d.ts +34 -0
- package/dist/verdict/check-sentence.js +228 -0
- package/dist/verdict/consequence.d.ts +15 -0
- package/dist/verdict/consequence.js +11 -0
- package/dist/verdict/findings.d.ts +10 -0
- package/dist/verdict/findings.js +13 -0
- package/dist/verdict/instrumentation-coverage.d.ts +3 -34
- package/dist/verdict/instrumentation-coverage.js +14 -58
- package/dist/verdict/instrumentation-gap.d.ts +79 -0
- package/dist/verdict/instrumentation-gap.js +64 -0
- package/dist/verdict/predicate-tree.d.ts +2 -0
- package/dist/verdict/predicate-tree.js +16 -0
- package/dist/verdict/predicate.d.ts +2 -1
- package/dist/verdict/predicate.js +103 -12
- package/dist/verdict/property-assertion.d.ts +2 -2
- package/dist/verdict/run-report.d.ts +166 -0
- package/dist/verdict/run-report.js +53 -0
- package/dist/verdict/security.d.ts +36 -2
- package/dist/verdict/security.js +94 -14
- package/dist/verdict/verification-run.d.ts +95 -38
- package/dist/verdict/verification-run.js +33 -2
- package/dist/verdict/verify-progress.d.ts +6 -6
- package/dist/wire/constants/constants.d.ts +56 -141
- package/dist/wire/constants/constants.js +64 -144
- package/dist/wire/constants/discovery.d.ts +4 -4
- package/dist/wire/constants/discovery.js +4 -4
- package/dist/wire/constants/event-types.d.ts +35 -1
- package/dist/wire/constants/event-types.js +33 -1
- package/dist/wire/constants/hud-controls.js +0 -2
- package/dist/wire/constants/hud-use.d.ts +4 -0
- package/dist/wire/constants/hud-use.js +4 -0
- package/dist/wire/constants/mcp-wire.d.ts +16 -0
- package/dist/wire/constants/mcp-wire.js +16 -0
- package/dist/wire/constants/response-body-reason.d.ts +19 -0
- package/dist/wire/constants/response-body-reason.js +18 -0
- package/dist/wire/constants/reticle-env.d.ts +138 -0
- package/dist/wire/constants/reticle-env.js +138 -0
- package/dist/wire/constants/session-constants.d.ts +11 -0
- package/dist/wire/constants/session-constants.js +11 -0
- package/dist/wire/event-payloads.d.ts +150 -36
- package/dist/wire/event-payloads.js +83 -16
- package/dist/wire/messages.d.ts +102 -36
- package/dist/wire/messages.js +16 -0
- package/dist/wire/narrow.d.ts +6 -0
- package/dist/wire/narrow.js +26 -0
- package/dist/wire/next-step.d.ts +90 -0
- package/dist/wire/next-step.js +37 -0
- package/dist/wire/platform-link.d.ts +7 -0
- package/dist/wire/platform-link.js +12 -6
- package/dist/wire/production/activation-ticket.d.ts +64 -0
- package/dist/wire/production/activation-ticket.js +148 -0
- package/dist/wire/production/hello-mode.d.ts +35 -0
- package/dist/wire/production/hello-mode.js +32 -0
- package/dist/wire/production/production-policy.d.ts +138 -0
- package/dist/wire/production/production-policy.js +133 -0
- package/dist/wire/tool-names.d.ts +2 -0
- package/dist/wire/tool-names.js +2 -0
- package/dist/wire/types.d.ts +73 -48
- package/package.json +5 -1
|
@@ -116,6 +116,15 @@ export const AnchorKind = {
|
|
|
116
116
|
* here" marker that a human/self-healing pass re-binds. Satisfies the anchor min(1).
|
|
117
117
|
*/
|
|
118
118
|
export const DEGRADED_ANCHOR_ROLE = 'unresolved';
|
|
119
|
+
/**
|
|
120
|
+
* The role a document-key press (Escape, Tab, a modifier shortcut) is saved under (#1559).
|
|
121
|
+
*
|
|
122
|
+
* Such a press ran live against no element: `act` resolves it to the document and dispatches it with
|
|
123
|
+
* no ref. It has nothing to anchor to, and it needs nothing, so the saved step carries this nameless
|
|
124
|
+
* ROLE anchor, not the degraded placeholder, and replay dispatches it exactly as it ran. Only a press
|
|
125
|
+
* of a document key is read this way; on any other action the anchor addresses nothing.
|
|
126
|
+
*/
|
|
127
|
+
export const DOCUMENT_ANCHOR_ROLE = 'document';
|
|
119
128
|
/**
|
|
120
129
|
* The JSON replacer every flow is written and sent with: a predicate flag at its default is left
|
|
121
130
|
* out. An older platform's schema rejects a key it does not know (`ignoreCase` on a text check was
|
|
@@ -246,6 +255,12 @@ export const DriftReason = {
|
|
|
246
255
|
* faster endpoint; the fix for SIGNAL_NOT_OBSERVED is the handler behind the action.
|
|
247
256
|
*/
|
|
248
257
|
NET_STILL_IN_FLIGHT: 'net_still_in_flight',
|
|
258
|
+
/**
|
|
259
|
+
* The step's action reached a target no person could have clicked: covered, of no size, or off
|
|
260
|
+
* screen after scrolling. Synthetic dispatch reaches it all the same, so the consequence can hold.
|
|
261
|
+
* Undecided, as the live act answers it, never a pass and never the app's failure.
|
|
262
|
+
*/
|
|
263
|
+
TARGET_UNREACHABLE: 'target_unreachable',
|
|
249
264
|
};
|
|
250
265
|
/**
|
|
251
266
|
* Did the step's anchor resolve and its action RUN, leaving only the declared consequence unmet?
|
|
@@ -100,13 +100,13 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
100
100
|
role: z.ZodOptional<z.ZodString>;
|
|
101
101
|
name: z.ZodOptional<z.ZodString>;
|
|
102
102
|
}, "strict", z.ZodTypeAny, {
|
|
103
|
+
name?: string | undefined;
|
|
103
104
|
testid?: string | undefined;
|
|
104
105
|
role?: string | undefined;
|
|
105
|
-
name?: string | undefined;
|
|
106
106
|
}, {
|
|
107
|
+
name?: string | undefined;
|
|
107
108
|
testid?: string | undefined;
|
|
108
109
|
role?: string | undefined;
|
|
109
|
-
name?: string | undefined;
|
|
110
110
|
}>>;
|
|
111
111
|
/**
|
|
112
112
|
* Rendered text as an end-condition, using the shapes the assert surface already accepts.
|
|
@@ -134,13 +134,13 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
134
134
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
135
135
|
}, "strict", z.ZodTypeAny, {
|
|
136
136
|
contains: string;
|
|
137
|
-
visible?: boolean | undefined;
|
|
138
137
|
scope?: string | undefined;
|
|
138
|
+
visible?: boolean | undefined;
|
|
139
139
|
absent?: boolean | undefined;
|
|
140
140
|
}, {
|
|
141
141
|
contains: string;
|
|
142
|
-
visible?: boolean | undefined;
|
|
143
142
|
scope?: string | undefined;
|
|
143
|
+
visible?: boolean | undefined;
|
|
144
144
|
absent?: boolean | undefined;
|
|
145
145
|
}>>;
|
|
146
146
|
/**
|
|
@@ -185,14 +185,14 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
185
185
|
equals?: unknown;
|
|
186
186
|
} | undefined;
|
|
187
187
|
element?: {
|
|
188
|
+
name?: string | undefined;
|
|
188
189
|
testid?: string | undefined;
|
|
189
190
|
role?: string | undefined;
|
|
190
|
-
name?: string | undefined;
|
|
191
191
|
} | undefined;
|
|
192
192
|
text?: {
|
|
193
193
|
contains: string;
|
|
194
|
-
visible?: boolean | undefined;
|
|
195
194
|
scope?: string | undefined;
|
|
195
|
+
visible?: boolean | undefined;
|
|
196
196
|
absent?: boolean | undefined;
|
|
197
197
|
} | undefined;
|
|
198
198
|
route?: {
|
|
@@ -220,14 +220,14 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
220
220
|
equals?: unknown;
|
|
221
221
|
} | undefined;
|
|
222
222
|
element?: {
|
|
223
|
+
name?: string | undefined;
|
|
223
224
|
testid?: string | undefined;
|
|
224
225
|
role?: string | undefined;
|
|
225
|
-
name?: string | undefined;
|
|
226
226
|
} | undefined;
|
|
227
227
|
text?: {
|
|
228
228
|
contains: string;
|
|
229
|
-
visible?: boolean | undefined;
|
|
230
229
|
scope?: string | undefined;
|
|
230
|
+
visible?: boolean | undefined;
|
|
231
231
|
absent?: boolean | undefined;
|
|
232
232
|
} | undefined;
|
|
233
233
|
route?: {
|
|
@@ -312,6 +312,17 @@ export interface SuiteVerdict {
|
|
|
312
312
|
* Carrying them also means a green suite is not reported as `pass`: see `status`.
|
|
313
313
|
*/
|
|
314
314
|
contradictions?: SuiteContradiction[];
|
|
315
|
+
/**
|
|
316
|
+
* Each flow that cannot replay as it was saved: no starting page, an anchor a replay cannot find
|
|
317
|
+
* or that several elements share, live data in an expect, or a step that writes real data. A
|
|
318
|
+
* drift on such a flow is the flow, not the app. Omitted when every flow replays as saved.
|
|
319
|
+
*/
|
|
320
|
+
replayability?: {
|
|
321
|
+
flow: string;
|
|
322
|
+
status: string;
|
|
323
|
+
why?: string[];
|
|
324
|
+
writes?: true;
|
|
325
|
+
}[];
|
|
315
326
|
}
|
|
316
327
|
/** A step-level contradiction, addressed back to the flow and step that produced it. */
|
|
317
328
|
export interface SuiteContradiction extends Contradiction {
|