@reticlehq/core 2.13.0 → 2.14.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/artifacts-entry.d.ts +20 -0
- package/dist/artifacts-entry.js +20 -0
- package/dist/consequence.d.ts +8 -1
- package/dist/consequence.js +11 -2
- package/dist/constants.d.ts +33 -0
- package/dist/constants.js +32 -0
- package/dist/dev-server-registry.d.ts +2 -2
- package/dist/event-payloads.d.ts +167 -10
- package/dist/event-payloads.js +40 -0
- package/dist/findings.d.ts +61 -0
- package/dist/findings.js +67 -0
- package/dist/flow-constants.d.ts +8 -0
- package/dist/flow-constants.js +8 -0
- package/dist/flow-types.d.ts +371 -133
- package/dist/flow-types.js +55 -3
- package/dist/global-press.d.ts +30 -0
- package/dist/global-press.js +54 -0
- package/dist/impact-savings.d.ts +7 -3
- package/dist/impact-savings.js +27 -4
- package/dist/impact.d.ts +96 -44
- package/dist/impact.js +21 -0
- package/dist/index.d.ts +16 -2
- package/dist/index.js +16 -2
- package/dist/instrumentation-gap.d.ts +15 -0
- package/dist/instrumentation-gap.js +16 -0
- package/dist/intent.d.ts +24 -24
- package/dist/journal.d.ts +7 -7
- package/dist/messages.d.ts +107 -46
- package/dist/messages.js +25 -0
- package/dist/net.d.ts +40 -0
- package/dist/net.js +40 -0
- package/dist/notices.d.ts +16 -0
- package/dist/notices.js +19 -0
- package/dist/redaction.d.ts +30 -0
- package/dist/redaction.js +127 -2
- package/dist/schema/event-message.json +1 -0
- package/dist/schema/event-type.json +1 -0
- package/dist/schema/hello-message.json +6 -0
- package/dist/schema/reticle-event.json +1 -0
- package/dist/schema/reticle-message.json +7 -0
- package/dist/telemetry-entry.d.ts +15 -0
- package/dist/telemetry-entry.js +15 -0
- package/dist/telemetry-feedback.d.ts +2 -2
- package/dist/telemetry-session.d.ts +2 -2
- package/dist/telemetry.d.ts +52 -50
- package/dist/types.d.ts +83 -44
- package/dist/types.js +20 -1
- package/dist/upgrade.d.ts +2 -2
- package/dist/verification-run.d.ts +36 -36
- package/dist/verified-constants.d.ts +11 -0
- package/dist/verified-constants.js +11 -0
- package/dist/verify-progress.d.ts +133 -0
- package/dist/verify-progress.js +78 -0
- package/package.json +9 -1
package/dist/flow-types.d.ts
CHANGED
|
@@ -35,16 +35,16 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
35
35
|
column?: number | undefined;
|
|
36
36
|
}>>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
kind: "testid";
|
|
39
38
|
value: string;
|
|
39
|
+
kind: "testid";
|
|
40
40
|
source?: {
|
|
41
41
|
file: string;
|
|
42
42
|
line: number;
|
|
43
43
|
column?: number | undefined;
|
|
44
44
|
} | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
kind: "testid";
|
|
47
46
|
value: string;
|
|
47
|
+
kind: "testid";
|
|
48
48
|
source?: {
|
|
49
49
|
file: string;
|
|
50
50
|
line: number;
|
|
@@ -66,11 +66,11 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
66
66
|
kind: z.ZodLiteral<"signal">;
|
|
67
67
|
name: z.ZodString;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
kind: "signal";
|
|
70
69
|
name: string;
|
|
71
|
-
}, {
|
|
72
70
|
kind: "signal";
|
|
71
|
+
}, {
|
|
73
72
|
name: string;
|
|
73
|
+
kind: "signal";
|
|
74
74
|
}>, z.ZodObject<{
|
|
75
75
|
kind: z.ZodLiteral<"component">;
|
|
76
76
|
component: z.ZodOptional<z.ZodString>;
|
|
@@ -91,27 +91,35 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
91
91
|
name: z.ZodOptional<z.ZodString>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
93
|
kind: "component";
|
|
94
|
-
role?: string | undefined;
|
|
95
|
-
component?: string | undefined;
|
|
96
94
|
source?: {
|
|
97
95
|
file: string;
|
|
98
96
|
line: number;
|
|
99
97
|
column?: number | undefined;
|
|
100
98
|
} | undefined;
|
|
99
|
+
role?: string | undefined;
|
|
100
|
+
component?: string | undefined;
|
|
101
101
|
name?: string | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
kind: "component";
|
|
104
|
-
role?: string | undefined;
|
|
105
|
-
component?: string | undefined;
|
|
106
104
|
source?: {
|
|
107
105
|
file: string;
|
|
108
106
|
line: number;
|
|
109
107
|
column?: number | undefined;
|
|
110
108
|
} | undefined;
|
|
109
|
+
role?: string | undefined;
|
|
110
|
+
component?: string | undefined;
|
|
111
111
|
name?: string | undefined;
|
|
112
112
|
}>]>;
|
|
113
113
|
export type FlowAnchor = z.infer<typeof FlowAnchorSchema>;
|
|
114
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* A post-condition a step asserts (compiled from a structured annotation; optional).
|
|
116
|
+
*
|
|
117
|
+
* Strict, at every nesting level: an unrecognized key (a typo, or a predicate kind this schema
|
|
118
|
+
* doesn't model, e.g. `allOf`, or a typo'd `net`/`console`/`element`/`state` sub-field) must fail
|
|
119
|
+
* to parse instead of being silently dropped. A loose z.object() here would quietly discard the
|
|
120
|
+
* extra key and leave the step with a weaker (or empty) assertion than its author wrote — the
|
|
121
|
+
* flow then replays green against nothing, having proved no real regression.
|
|
122
|
+
*/
|
|
115
123
|
export declare const FlowExpectSchema: z.ZodObject<{
|
|
116
124
|
signal: z.ZodOptional<z.ZodString>;
|
|
117
125
|
/**
|
|
@@ -138,7 +146,7 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
138
146
|
* the request fired (presence passes) but fired the WRONG number of times. Omit = presence (≥1).
|
|
139
147
|
*/
|
|
140
148
|
count: z.ZodOptional<z.ZodNumber>;
|
|
141
|
-
}, "
|
|
149
|
+
}, "strict", z.ZodTypeAny, {
|
|
142
150
|
status?: number | undefined;
|
|
143
151
|
method?: string | undefined;
|
|
144
152
|
count?: number | undefined;
|
|
@@ -158,7 +166,7 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
158
166
|
console: z.ZodOptional<z.ZodObject<{
|
|
159
167
|
level: z.ZodOptional<z.ZodString>;
|
|
160
168
|
absent: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
-
}, "
|
|
169
|
+
}, "strict", z.ZodTypeAny, {
|
|
162
170
|
level?: string | undefined;
|
|
163
171
|
absent?: boolean | undefined;
|
|
164
172
|
}, {
|
|
@@ -169,7 +177,7 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
169
177
|
testid: z.ZodOptional<z.ZodString>;
|
|
170
178
|
role: z.ZodOptional<z.ZodString>;
|
|
171
179
|
name: z.ZodOptional<z.ZodString>;
|
|
172
|
-
}, "
|
|
180
|
+
}, "strict", z.ZodTypeAny, {
|
|
173
181
|
testid?: string | undefined;
|
|
174
182
|
role?: string | undefined;
|
|
175
183
|
name?: string | undefined;
|
|
@@ -178,6 +186,41 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
178
186
|
role?: string | undefined;
|
|
179
187
|
name?: string | undefined;
|
|
180
188
|
}>>;
|
|
189
|
+
/**
|
|
190
|
+
* Rendered text as an end-condition, using the shapes the assert surface already accepts.
|
|
191
|
+
*
|
|
192
|
+
* The gap this closes: an app with no testids, no `reticle.signal`, no registrable store and no
|
|
193
|
+
* network call on the interaction under test -- a discount price computed and rendered, a
|
|
194
|
+
* formatted total, a derived label -- could not produce an asserted flow AT ALL. Everything the
|
|
195
|
+
* vocabulary offered needed a channel that app does not have, so the only honest outcome was
|
|
196
|
+
* `assertion-free`, which is a permanent green (#811).
|
|
197
|
+
*
|
|
198
|
+
* Derived-DOM rendering is a large share of what actually breaks in a UI, and it was the share
|
|
199
|
+
* that could not be pinned.
|
|
200
|
+
*
|
|
201
|
+
* Classified PRESENCE, not consequence, and that is not a technicality: text is read from the
|
|
202
|
+
* DOM, so a locator healed to the wrong element can still satisfy it. It earns `presence-only`,
|
|
203
|
+
* which is a real grade above `assertion-free` and honestly below `signal`/`net`/`state`.
|
|
204
|
+
*/
|
|
205
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
contains: z.ZodString;
|
|
207
|
+
/** Narrow the search to a container, exactly as the `text` predicate's `scope` does. */
|
|
208
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
209
|
+
/** Assert the text is GONE — the regression check for a cleared error or a dismissed toast. */
|
|
210
|
+
absent: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
/** Require the match to be visible, not merely present in the DOM. */
|
|
212
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
+
}, "strict", z.ZodTypeAny, {
|
|
214
|
+
contains: string;
|
|
215
|
+
visible?: boolean | undefined;
|
|
216
|
+
absent?: boolean | undefined;
|
|
217
|
+
scope?: string | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
contains: string;
|
|
220
|
+
visible?: boolean | undefined;
|
|
221
|
+
absent?: boolean | undefined;
|
|
222
|
+
scope?: string | undefined;
|
|
223
|
+
}>>;
|
|
181
224
|
/**
|
|
182
225
|
* Assert a registered store's value — the source of truth no DOM/network read can reach. Compiles
|
|
183
226
|
* to the predicate engine's `state` predicate. Additive/optional — a flow without it still parses
|
|
@@ -194,7 +237,7 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
194
237
|
* moved") — without it a wait-until-true read passes before an over-reaching side-effect lands.
|
|
195
238
|
*/
|
|
196
239
|
hold: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
-
}, "
|
|
240
|
+
}, "strict", z.ZodTypeAny, {
|
|
198
241
|
path: string;
|
|
199
242
|
store?: string | undefined;
|
|
200
243
|
equals?: unknown;
|
|
@@ -205,8 +248,20 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
205
248
|
equals?: unknown;
|
|
206
249
|
hold?: boolean | undefined;
|
|
207
250
|
}>>;
|
|
208
|
-
}, "
|
|
251
|
+
}, "strict", z.ZodTypeAny, {
|
|
252
|
+
state?: {
|
|
253
|
+
path: string;
|
|
254
|
+
store?: string | undefined;
|
|
255
|
+
equals?: unknown;
|
|
256
|
+
hold?: boolean | undefined;
|
|
257
|
+
} | undefined;
|
|
209
258
|
signal?: string | undefined;
|
|
259
|
+
text?: {
|
|
260
|
+
contains: string;
|
|
261
|
+
visible?: boolean | undefined;
|
|
262
|
+
absent?: boolean | undefined;
|
|
263
|
+
scope?: string | undefined;
|
|
264
|
+
} | undefined;
|
|
210
265
|
signalData?: Record<string, unknown> | undefined;
|
|
211
266
|
signalCount?: number | undefined;
|
|
212
267
|
net?: {
|
|
@@ -224,14 +279,20 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
224
279
|
role?: string | undefined;
|
|
225
280
|
name?: string | undefined;
|
|
226
281
|
} | undefined;
|
|
282
|
+
}, {
|
|
227
283
|
state?: {
|
|
228
284
|
path: string;
|
|
229
285
|
store?: string | undefined;
|
|
230
286
|
equals?: unknown;
|
|
231
287
|
hold?: boolean | undefined;
|
|
232
288
|
} | undefined;
|
|
233
|
-
}, {
|
|
234
289
|
signal?: string | undefined;
|
|
290
|
+
text?: {
|
|
291
|
+
contains: string;
|
|
292
|
+
visible?: boolean | undefined;
|
|
293
|
+
absent?: boolean | undefined;
|
|
294
|
+
scope?: string | undefined;
|
|
295
|
+
} | undefined;
|
|
235
296
|
signalData?: Record<string, unknown> | undefined;
|
|
236
297
|
signalCount?: number | undefined;
|
|
237
298
|
net?: {
|
|
@@ -249,12 +310,6 @@ export declare const FlowExpectSchema: z.ZodObject<{
|
|
|
249
310
|
role?: string | undefined;
|
|
250
311
|
name?: string | undefined;
|
|
251
312
|
} | undefined;
|
|
252
|
-
state?: {
|
|
253
|
-
path: string;
|
|
254
|
-
store?: string | undefined;
|
|
255
|
-
equals?: unknown;
|
|
256
|
-
hold?: boolean | undefined;
|
|
257
|
-
} | undefined;
|
|
258
313
|
}>;
|
|
259
314
|
export type FlowExpect = z.infer<typeof FlowExpectSchema>;
|
|
260
315
|
/** One step of a flow: an anchored action (+ optional expectation). */
|
|
@@ -267,6 +322,22 @@ export interface FlowStep {
|
|
|
267
322
|
expect?: FlowExpect;
|
|
268
323
|
/** true when the anchor is best-effort (no testid was resolvable at record time). NOT dropped. */
|
|
269
324
|
degraded?: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* How long THIS step's `expect` waits for its consequence, in ms. Overrides the flow's
|
|
327
|
+
* `signalTimeoutMs` and the built-in FLOW_SIGNAL_TIMEOUT_MS default.
|
|
328
|
+
*
|
|
329
|
+
* Replay's wait was a fixed 4s with no way to raise it, and that is not a tuning knob — it decides
|
|
330
|
+
* whether an honest flow can ever be green. Two field reports, same shape: a login whose POST takes
|
|
331
|
+
* a measured 5.5s against a remote Postgres, and a CAD import whose LLM-backed perception takes
|
|
332
|
+
* ~22s. Both were verified live with `act_and_wait { timeout_ms }`, both drifted on replay at
|
|
333
|
+
* ~4020ms with `signal_not_observed`, and both were reported to the user as NO LONGER TRUE — a
|
|
334
|
+
* working feature called a regression. The only ways to green them were to weaken or delete the
|
|
335
|
+
* assertion, which the rules correctly forbid, so the flow was honest and permanently red.
|
|
336
|
+
*
|
|
337
|
+
* One agent tried exactly this field and `expect.timeout_ms`, and both were silently dropped.
|
|
338
|
+
* Replay must not be stricter than the tool that recorded the step.
|
|
339
|
+
*/
|
|
340
|
+
timeoutMs?: number;
|
|
270
341
|
/** sub-steps for an act_sequence, each independently anchored. */
|
|
271
342
|
steps?: FlowStep[];
|
|
272
343
|
}
|
|
@@ -419,6 +490,19 @@ export interface FlowReplayResult {
|
|
|
419
490
|
code: string;
|
|
420
491
|
message: string;
|
|
421
492
|
};
|
|
493
|
+
/**
|
|
494
|
+
* Set when the replay STOPPED before the end of the flow.
|
|
495
|
+
*
|
|
496
|
+
* Replay breaks on the first failing step, so a flow that halted returns fewer step results than
|
|
497
|
+
* it has steps — and nothing said so. A caller reading a two-step flow's one result saw a step
|
|
498
|
+
* that was simply absent, which was reported as replay "silently skipping" an action. It does not
|
|
499
|
+
* skip; it stops, and now it says where and how much it never reached. Omitted entirely when every
|
|
500
|
+
* step ran, so a clean pass carries no extra bytes.
|
|
501
|
+
*/
|
|
502
|
+
halted?: {
|
|
503
|
+
atStep: number;
|
|
504
|
+
notAttempted: number;
|
|
505
|
+
};
|
|
422
506
|
/**
|
|
423
507
|
* Set on an `ok` replay whose flow cannot fail: it asserts no observable consequence, or has no
|
|
424
508
|
* steps at all. The replay genuinely completed, so the status stays `ok` — but a bare `ok` read
|
|
@@ -507,6 +591,15 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
507
591
|
/** From the injected clock (ms) — deterministic in tests, byte-stable on disk. */
|
|
508
592
|
createdAt: z.ZodNumber;
|
|
509
593
|
steps: z.ZodArray<z.ZodType<FlowStep, z.ZodTypeDef, FlowStep>, "many">;
|
|
594
|
+
/**
|
|
595
|
+
* How long every step of this flow waits for its declared consequence, in ms. A step's own
|
|
596
|
+
* `timeoutMs` wins over it; absent both, FLOW_SIGNAL_TIMEOUT_MS applies.
|
|
597
|
+
*
|
|
598
|
+
* Flow-level because slowness is usually a property of the APP, not of one control — a remote
|
|
599
|
+
* database, a model-backed endpoint, a cold container. Optional + back-compat: a flow without it
|
|
600
|
+
* replays exactly as before and the on-disk version stays FLOW_FILE_VERSION 1.
|
|
601
|
+
*/
|
|
602
|
+
signalTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
510
603
|
success: z.ZodOptional<z.ZodObject<{
|
|
511
604
|
signal: z.ZodOptional<z.ZodString>;
|
|
512
605
|
/**
|
|
@@ -533,7 +626,7 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
533
626
|
* the request fired (presence passes) but fired the WRONG number of times. Omit = presence (≥1).
|
|
534
627
|
*/
|
|
535
628
|
count: z.ZodOptional<z.ZodNumber>;
|
|
536
|
-
}, "
|
|
629
|
+
}, "strict", z.ZodTypeAny, {
|
|
537
630
|
status?: number | undefined;
|
|
538
631
|
method?: string | undefined;
|
|
539
632
|
count?: number | undefined;
|
|
@@ -553,7 +646,7 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
553
646
|
console: z.ZodOptional<z.ZodObject<{
|
|
554
647
|
level: z.ZodOptional<z.ZodString>;
|
|
555
648
|
absent: z.ZodOptional<z.ZodBoolean>;
|
|
556
|
-
}, "
|
|
649
|
+
}, "strict", z.ZodTypeAny, {
|
|
557
650
|
level?: string | undefined;
|
|
558
651
|
absent?: boolean | undefined;
|
|
559
652
|
}, {
|
|
@@ -564,7 +657,7 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
564
657
|
testid: z.ZodOptional<z.ZodString>;
|
|
565
658
|
role: z.ZodOptional<z.ZodString>;
|
|
566
659
|
name: z.ZodOptional<z.ZodString>;
|
|
567
|
-
}, "
|
|
660
|
+
}, "strict", z.ZodTypeAny, {
|
|
568
661
|
testid?: string | undefined;
|
|
569
662
|
role?: string | undefined;
|
|
570
663
|
name?: string | undefined;
|
|
@@ -573,6 +666,41 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
573
666
|
role?: string | undefined;
|
|
574
667
|
name?: string | undefined;
|
|
575
668
|
}>>;
|
|
669
|
+
/**
|
|
670
|
+
* Rendered text as an end-condition, using the shapes the assert surface already accepts.
|
|
671
|
+
*
|
|
672
|
+
* The gap this closes: an app with no testids, no `reticle.signal`, no registrable store and no
|
|
673
|
+
* network call on the interaction under test -- a discount price computed and rendered, a
|
|
674
|
+
* formatted total, a derived label -- could not produce an asserted flow AT ALL. Everything the
|
|
675
|
+
* vocabulary offered needed a channel that app does not have, so the only honest outcome was
|
|
676
|
+
* `assertion-free`, which is a permanent green (#811).
|
|
677
|
+
*
|
|
678
|
+
* Derived-DOM rendering is a large share of what actually breaks in a UI, and it was the share
|
|
679
|
+
* that could not be pinned.
|
|
680
|
+
*
|
|
681
|
+
* Classified PRESENCE, not consequence, and that is not a technicality: text is read from the
|
|
682
|
+
* DOM, so a locator healed to the wrong element can still satisfy it. It earns `presence-only`,
|
|
683
|
+
* which is a real grade above `assertion-free` and honestly below `signal`/`net`/`state`.
|
|
684
|
+
*/
|
|
685
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
contains: z.ZodString;
|
|
687
|
+
/** Narrow the search to a container, exactly as the `text` predicate's `scope` does. */
|
|
688
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
689
|
+
/** Assert the text is GONE — the regression check for a cleared error or a dismissed toast. */
|
|
690
|
+
absent: z.ZodOptional<z.ZodBoolean>;
|
|
691
|
+
/** Require the match to be visible, not merely present in the DOM. */
|
|
692
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
693
|
+
}, "strict", z.ZodTypeAny, {
|
|
694
|
+
contains: string;
|
|
695
|
+
visible?: boolean | undefined;
|
|
696
|
+
absent?: boolean | undefined;
|
|
697
|
+
scope?: string | undefined;
|
|
698
|
+
}, {
|
|
699
|
+
contains: string;
|
|
700
|
+
visible?: boolean | undefined;
|
|
701
|
+
absent?: boolean | undefined;
|
|
702
|
+
scope?: string | undefined;
|
|
703
|
+
}>>;
|
|
576
704
|
/**
|
|
577
705
|
* Assert a registered store's value — the source of truth no DOM/network read can reach. Compiles
|
|
578
706
|
* to the predicate engine's `state` predicate. Additive/optional — a flow without it still parses
|
|
@@ -589,7 +717,7 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
589
717
|
* moved") — without it a wait-until-true read passes before an over-reaching side-effect lands.
|
|
590
718
|
*/
|
|
591
719
|
hold: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
-
}, "
|
|
720
|
+
}, "strict", z.ZodTypeAny, {
|
|
593
721
|
path: string;
|
|
594
722
|
store?: string | undefined;
|
|
595
723
|
equals?: unknown;
|
|
@@ -600,8 +728,20 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
600
728
|
equals?: unknown;
|
|
601
729
|
hold?: boolean | undefined;
|
|
602
730
|
}>>;
|
|
603
|
-
}, "
|
|
731
|
+
}, "strict", z.ZodTypeAny, {
|
|
732
|
+
state?: {
|
|
733
|
+
path: string;
|
|
734
|
+
store?: string | undefined;
|
|
735
|
+
equals?: unknown;
|
|
736
|
+
hold?: boolean | undefined;
|
|
737
|
+
} | undefined;
|
|
604
738
|
signal?: string | undefined;
|
|
739
|
+
text?: {
|
|
740
|
+
contains: string;
|
|
741
|
+
visible?: boolean | undefined;
|
|
742
|
+
absent?: boolean | undefined;
|
|
743
|
+
scope?: string | undefined;
|
|
744
|
+
} | undefined;
|
|
605
745
|
signalData?: Record<string, unknown> | undefined;
|
|
606
746
|
signalCount?: number | undefined;
|
|
607
747
|
net?: {
|
|
@@ -619,14 +759,20 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
619
759
|
role?: string | undefined;
|
|
620
760
|
name?: string | undefined;
|
|
621
761
|
} | undefined;
|
|
762
|
+
}, {
|
|
622
763
|
state?: {
|
|
623
764
|
path: string;
|
|
624
765
|
store?: string | undefined;
|
|
625
766
|
equals?: unknown;
|
|
626
767
|
hold?: boolean | undefined;
|
|
627
768
|
} | undefined;
|
|
628
|
-
}, {
|
|
629
769
|
signal?: string | undefined;
|
|
770
|
+
text?: {
|
|
771
|
+
contains: string;
|
|
772
|
+
visible?: boolean | undefined;
|
|
773
|
+
absent?: boolean | undefined;
|
|
774
|
+
scope?: string | undefined;
|
|
775
|
+
} | undefined;
|
|
630
776
|
signalData?: Record<string, unknown> | undefined;
|
|
631
777
|
signalCount?: number | undefined;
|
|
632
778
|
net?: {
|
|
@@ -644,12 +790,6 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
644
790
|
role?: string | undefined;
|
|
645
791
|
name?: string | undefined;
|
|
646
792
|
} | undefined;
|
|
647
|
-
state?: {
|
|
648
|
-
path: string;
|
|
649
|
-
store?: string | undefined;
|
|
650
|
-
equals?: unknown;
|
|
651
|
-
hold?: boolean | undefined;
|
|
652
|
-
} | undefined;
|
|
653
793
|
}>>;
|
|
654
794
|
/**
|
|
655
795
|
* Anchors whose CONTENT must not be asserted (e.g. LLM output). Replay asserts
|
|
@@ -672,16 +812,16 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
672
812
|
column?: number | undefined;
|
|
673
813
|
}>>;
|
|
674
814
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
-
kind: "testid";
|
|
676
815
|
value: string;
|
|
816
|
+
kind: "testid";
|
|
677
817
|
source?: {
|
|
678
818
|
file: string;
|
|
679
819
|
line: number;
|
|
680
820
|
column?: number | undefined;
|
|
681
821
|
} | undefined;
|
|
682
822
|
}, {
|
|
683
|
-
kind: "testid";
|
|
684
823
|
value: string;
|
|
824
|
+
kind: "testid";
|
|
685
825
|
source?: {
|
|
686
826
|
file: string;
|
|
687
827
|
line: number;
|
|
@@ -703,11 +843,11 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
703
843
|
kind: z.ZodLiteral<"signal">;
|
|
704
844
|
name: z.ZodString;
|
|
705
845
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
kind: "signal";
|
|
707
846
|
name: string;
|
|
708
|
-
}, {
|
|
709
847
|
kind: "signal";
|
|
848
|
+
}, {
|
|
710
849
|
name: string;
|
|
850
|
+
kind: "signal";
|
|
711
851
|
}>, z.ZodObject<{
|
|
712
852
|
kind: z.ZodLiteral<"component">;
|
|
713
853
|
component: z.ZodOptional<z.ZodString>;
|
|
@@ -728,37 +868,50 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
728
868
|
name: z.ZodOptional<z.ZodString>;
|
|
729
869
|
}, "strip", z.ZodTypeAny, {
|
|
730
870
|
kind: "component";
|
|
731
|
-
role?: string | undefined;
|
|
732
|
-
component?: string | undefined;
|
|
733
871
|
source?: {
|
|
734
872
|
file: string;
|
|
735
873
|
line: number;
|
|
736
874
|
column?: number | undefined;
|
|
737
875
|
} | undefined;
|
|
876
|
+
role?: string | undefined;
|
|
877
|
+
component?: string | undefined;
|
|
738
878
|
name?: string | undefined;
|
|
739
879
|
}, {
|
|
740
880
|
kind: "component";
|
|
741
|
-
role?: string | undefined;
|
|
742
|
-
component?: string | undefined;
|
|
743
881
|
source?: {
|
|
744
882
|
file: string;
|
|
745
883
|
line: number;
|
|
746
884
|
column?: number | undefined;
|
|
747
885
|
} | undefined;
|
|
886
|
+
role?: string | undefined;
|
|
887
|
+
component?: string | undefined;
|
|
748
888
|
name?: string | undefined;
|
|
749
889
|
}>]>, "many">>;
|
|
750
890
|
}, "strip", z.ZodTypeAny, {
|
|
891
|
+
version: 1;
|
|
751
892
|
name: string;
|
|
752
893
|
steps: FlowStep[];
|
|
753
|
-
version: 1;
|
|
754
894
|
createdAt: number;
|
|
755
|
-
intent?: string | undefined;
|
|
756
895
|
projectId?: string | undefined;
|
|
896
|
+
intent?: string | undefined;
|
|
757
897
|
intentId?: string | undefined;
|
|
758
898
|
startPath?: string | undefined;
|
|
759
899
|
fixture?: string | undefined;
|
|
900
|
+
signalTimeoutMs?: number | undefined;
|
|
760
901
|
success?: {
|
|
902
|
+
state?: {
|
|
903
|
+
path: string;
|
|
904
|
+
store?: string | undefined;
|
|
905
|
+
equals?: unknown;
|
|
906
|
+
hold?: boolean | undefined;
|
|
907
|
+
} | undefined;
|
|
761
908
|
signal?: string | undefined;
|
|
909
|
+
text?: {
|
|
910
|
+
contains: string;
|
|
911
|
+
visible?: boolean | undefined;
|
|
912
|
+
absent?: boolean | undefined;
|
|
913
|
+
scope?: string | undefined;
|
|
914
|
+
} | undefined;
|
|
762
915
|
signalData?: Record<string, unknown> | undefined;
|
|
763
916
|
signalCount?: number | undefined;
|
|
764
917
|
net?: {
|
|
@@ -776,16 +929,10 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
776
929
|
role?: string | undefined;
|
|
777
930
|
name?: string | undefined;
|
|
778
931
|
} | undefined;
|
|
779
|
-
state?: {
|
|
780
|
-
path: string;
|
|
781
|
-
store?: string | undefined;
|
|
782
|
-
equals?: unknown;
|
|
783
|
-
hold?: boolean | undefined;
|
|
784
|
-
} | undefined;
|
|
785
932
|
} | undefined;
|
|
786
933
|
dynamic?: ({
|
|
787
|
-
kind: "testid";
|
|
788
934
|
value: string;
|
|
935
|
+
kind: "testid";
|
|
789
936
|
source?: {
|
|
790
937
|
file: string;
|
|
791
938
|
line: number;
|
|
@@ -796,31 +943,44 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
796
943
|
kind: "role";
|
|
797
944
|
name?: string | undefined;
|
|
798
945
|
} | {
|
|
799
|
-
kind: "signal";
|
|
800
946
|
name: string;
|
|
947
|
+
kind: "signal";
|
|
801
948
|
} | {
|
|
802
949
|
kind: "component";
|
|
803
|
-
role?: string | undefined;
|
|
804
|
-
component?: string | undefined;
|
|
805
950
|
source?: {
|
|
806
951
|
file: string;
|
|
807
952
|
line: number;
|
|
808
953
|
column?: number | undefined;
|
|
809
954
|
} | undefined;
|
|
955
|
+
role?: string | undefined;
|
|
956
|
+
component?: string | undefined;
|
|
810
957
|
name?: string | undefined;
|
|
811
958
|
})[] | undefined;
|
|
812
959
|
}, {
|
|
960
|
+
version: 1;
|
|
813
961
|
name: string;
|
|
814
962
|
steps: FlowStep[];
|
|
815
|
-
version: 1;
|
|
816
963
|
createdAt: number;
|
|
817
|
-
intent?: string | undefined;
|
|
818
964
|
projectId?: string | undefined;
|
|
965
|
+
intent?: string | undefined;
|
|
819
966
|
intentId?: string | undefined;
|
|
820
967
|
startPath?: string | undefined;
|
|
821
968
|
fixture?: string | undefined;
|
|
969
|
+
signalTimeoutMs?: number | undefined;
|
|
822
970
|
success?: {
|
|
971
|
+
state?: {
|
|
972
|
+
path: string;
|
|
973
|
+
store?: string | undefined;
|
|
974
|
+
equals?: unknown;
|
|
975
|
+
hold?: boolean | undefined;
|
|
976
|
+
} | undefined;
|
|
823
977
|
signal?: string | undefined;
|
|
978
|
+
text?: {
|
|
979
|
+
contains: string;
|
|
980
|
+
visible?: boolean | undefined;
|
|
981
|
+
absent?: boolean | undefined;
|
|
982
|
+
scope?: string | undefined;
|
|
983
|
+
} | undefined;
|
|
824
984
|
signalData?: Record<string, unknown> | undefined;
|
|
825
985
|
signalCount?: number | undefined;
|
|
826
986
|
net?: {
|
|
@@ -838,16 +998,10 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
838
998
|
role?: string | undefined;
|
|
839
999
|
name?: string | undefined;
|
|
840
1000
|
} | undefined;
|
|
841
|
-
state?: {
|
|
842
|
-
path: string;
|
|
843
|
-
store?: string | undefined;
|
|
844
|
-
equals?: unknown;
|
|
845
|
-
hold?: boolean | undefined;
|
|
846
|
-
} | undefined;
|
|
847
1001
|
} | undefined;
|
|
848
1002
|
dynamic?: ({
|
|
849
|
-
kind: "testid";
|
|
850
1003
|
value: string;
|
|
1004
|
+
kind: "testid";
|
|
851
1005
|
source?: {
|
|
852
1006
|
file: string;
|
|
853
1007
|
line: number;
|
|
@@ -858,17 +1012,17 @@ export declare const FlowFileSchema: z.ZodObject<{
|
|
|
858
1012
|
kind: "role";
|
|
859
1013
|
name?: string | undefined;
|
|
860
1014
|
} | {
|
|
861
|
-
kind: "signal";
|
|
862
1015
|
name: string;
|
|
1016
|
+
kind: "signal";
|
|
863
1017
|
} | {
|
|
864
1018
|
kind: "component";
|
|
865
|
-
role?: string | undefined;
|
|
866
|
-
component?: string | undefined;
|
|
867
1019
|
source?: {
|
|
868
1020
|
file: string;
|
|
869
1021
|
line: number;
|
|
870
1022
|
column?: number | undefined;
|
|
871
1023
|
} | undefined;
|
|
1024
|
+
role?: string | undefined;
|
|
1025
|
+
component?: string | undefined;
|
|
872
1026
|
name?: string | undefined;
|
|
873
1027
|
})[] | undefined;
|
|
874
1028
|
}>;
|
|
@@ -924,6 +1078,15 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
924
1078
|
/** From the injected clock (ms) — deterministic in tests, byte-stable on disk. */
|
|
925
1079
|
createdAt: z.ZodNumber;
|
|
926
1080
|
steps: z.ZodArray<z.ZodType<FlowStep, z.ZodTypeDef, FlowStep>, "many">;
|
|
1081
|
+
/**
|
|
1082
|
+
* How long every step of this flow waits for its declared consequence, in ms. A step's own
|
|
1083
|
+
* `timeoutMs` wins over it; absent both, FLOW_SIGNAL_TIMEOUT_MS applies.
|
|
1084
|
+
*
|
|
1085
|
+
* Flow-level because slowness is usually a property of the APP, not of one control — a remote
|
|
1086
|
+
* database, a model-backed endpoint, a cold container. Optional + back-compat: a flow without it
|
|
1087
|
+
* replays exactly as before and the on-disk version stays FLOW_FILE_VERSION 1.
|
|
1088
|
+
*/
|
|
1089
|
+
signalTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
927
1090
|
success: z.ZodOptional<z.ZodObject<{
|
|
928
1091
|
signal: z.ZodOptional<z.ZodString>;
|
|
929
1092
|
/**
|
|
@@ -950,7 +1113,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
950
1113
|
* the request fired (presence passes) but fired the WRONG number of times. Omit = presence (≥1).
|
|
951
1114
|
*/
|
|
952
1115
|
count: z.ZodOptional<z.ZodNumber>;
|
|
953
|
-
}, "
|
|
1116
|
+
}, "strict", z.ZodTypeAny, {
|
|
954
1117
|
status?: number | undefined;
|
|
955
1118
|
method?: string | undefined;
|
|
956
1119
|
count?: number | undefined;
|
|
@@ -970,7 +1133,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
970
1133
|
console: z.ZodOptional<z.ZodObject<{
|
|
971
1134
|
level: z.ZodOptional<z.ZodString>;
|
|
972
1135
|
absent: z.ZodOptional<z.ZodBoolean>;
|
|
973
|
-
}, "
|
|
1136
|
+
}, "strict", z.ZodTypeAny, {
|
|
974
1137
|
level?: string | undefined;
|
|
975
1138
|
absent?: boolean | undefined;
|
|
976
1139
|
}, {
|
|
@@ -981,7 +1144,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
981
1144
|
testid: z.ZodOptional<z.ZodString>;
|
|
982
1145
|
role: z.ZodOptional<z.ZodString>;
|
|
983
1146
|
name: z.ZodOptional<z.ZodString>;
|
|
984
|
-
}, "
|
|
1147
|
+
}, "strict", z.ZodTypeAny, {
|
|
985
1148
|
testid?: string | undefined;
|
|
986
1149
|
role?: string | undefined;
|
|
987
1150
|
name?: string | undefined;
|
|
@@ -990,6 +1153,41 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
990
1153
|
role?: string | undefined;
|
|
991
1154
|
name?: string | undefined;
|
|
992
1155
|
}>>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Rendered text as an end-condition, using the shapes the assert surface already accepts.
|
|
1158
|
+
*
|
|
1159
|
+
* The gap this closes: an app with no testids, no `reticle.signal`, no registrable store and no
|
|
1160
|
+
* network call on the interaction under test -- a discount price computed and rendered, a
|
|
1161
|
+
* formatted total, a derived label -- could not produce an asserted flow AT ALL. Everything the
|
|
1162
|
+
* vocabulary offered needed a channel that app does not have, so the only honest outcome was
|
|
1163
|
+
* `assertion-free`, which is a permanent green (#811).
|
|
1164
|
+
*
|
|
1165
|
+
* Derived-DOM rendering is a large share of what actually breaks in a UI, and it was the share
|
|
1166
|
+
* that could not be pinned.
|
|
1167
|
+
*
|
|
1168
|
+
* Classified PRESENCE, not consequence, and that is not a technicality: text is read from the
|
|
1169
|
+
* DOM, so a locator healed to the wrong element can still satisfy it. It earns `presence-only`,
|
|
1170
|
+
* which is a real grade above `assertion-free` and honestly below `signal`/`net`/`state`.
|
|
1171
|
+
*/
|
|
1172
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
1173
|
+
contains: z.ZodString;
|
|
1174
|
+
/** Narrow the search to a container, exactly as the `text` predicate's `scope` does. */
|
|
1175
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1176
|
+
/** Assert the text is GONE — the regression check for a cleared error or a dismissed toast. */
|
|
1177
|
+
absent: z.ZodOptional<z.ZodBoolean>;
|
|
1178
|
+
/** Require the match to be visible, not merely present in the DOM. */
|
|
1179
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1180
|
+
}, "strict", z.ZodTypeAny, {
|
|
1181
|
+
contains: string;
|
|
1182
|
+
visible?: boolean | undefined;
|
|
1183
|
+
absent?: boolean | undefined;
|
|
1184
|
+
scope?: string | undefined;
|
|
1185
|
+
}, {
|
|
1186
|
+
contains: string;
|
|
1187
|
+
visible?: boolean | undefined;
|
|
1188
|
+
absent?: boolean | undefined;
|
|
1189
|
+
scope?: string | undefined;
|
|
1190
|
+
}>>;
|
|
993
1191
|
/**
|
|
994
1192
|
* Assert a registered store's value — the source of truth no DOM/network read can reach. Compiles
|
|
995
1193
|
* to the predicate engine's `state` predicate. Additive/optional — a flow without it still parses
|
|
@@ -1006,7 +1204,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1006
1204
|
* moved") — without it a wait-until-true read passes before an over-reaching side-effect lands.
|
|
1007
1205
|
*/
|
|
1008
1206
|
hold: z.ZodOptional<z.ZodBoolean>;
|
|
1009
|
-
}, "
|
|
1207
|
+
}, "strict", z.ZodTypeAny, {
|
|
1010
1208
|
path: string;
|
|
1011
1209
|
store?: string | undefined;
|
|
1012
1210
|
equals?: unknown;
|
|
@@ -1017,8 +1215,20 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1017
1215
|
equals?: unknown;
|
|
1018
1216
|
hold?: boolean | undefined;
|
|
1019
1217
|
}>>;
|
|
1020
|
-
}, "
|
|
1218
|
+
}, "strict", z.ZodTypeAny, {
|
|
1219
|
+
state?: {
|
|
1220
|
+
path: string;
|
|
1221
|
+
store?: string | undefined;
|
|
1222
|
+
equals?: unknown;
|
|
1223
|
+
hold?: boolean | undefined;
|
|
1224
|
+
} | undefined;
|
|
1021
1225
|
signal?: string | undefined;
|
|
1226
|
+
text?: {
|
|
1227
|
+
contains: string;
|
|
1228
|
+
visible?: boolean | undefined;
|
|
1229
|
+
absent?: boolean | undefined;
|
|
1230
|
+
scope?: string | undefined;
|
|
1231
|
+
} | undefined;
|
|
1022
1232
|
signalData?: Record<string, unknown> | undefined;
|
|
1023
1233
|
signalCount?: number | undefined;
|
|
1024
1234
|
net?: {
|
|
@@ -1036,14 +1246,20 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1036
1246
|
role?: string | undefined;
|
|
1037
1247
|
name?: string | undefined;
|
|
1038
1248
|
} | undefined;
|
|
1249
|
+
}, {
|
|
1039
1250
|
state?: {
|
|
1040
1251
|
path: string;
|
|
1041
1252
|
store?: string | undefined;
|
|
1042
1253
|
equals?: unknown;
|
|
1043
1254
|
hold?: boolean | undefined;
|
|
1044
1255
|
} | undefined;
|
|
1045
|
-
}, {
|
|
1046
1256
|
signal?: string | undefined;
|
|
1257
|
+
text?: {
|
|
1258
|
+
contains: string;
|
|
1259
|
+
visible?: boolean | undefined;
|
|
1260
|
+
absent?: boolean | undefined;
|
|
1261
|
+
scope?: string | undefined;
|
|
1262
|
+
} | undefined;
|
|
1047
1263
|
signalData?: Record<string, unknown> | undefined;
|
|
1048
1264
|
signalCount?: number | undefined;
|
|
1049
1265
|
net?: {
|
|
@@ -1061,12 +1277,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1061
1277
|
role?: string | undefined;
|
|
1062
1278
|
name?: string | undefined;
|
|
1063
1279
|
} | undefined;
|
|
1064
|
-
state?: {
|
|
1065
|
-
path: string;
|
|
1066
|
-
store?: string | undefined;
|
|
1067
|
-
equals?: unknown;
|
|
1068
|
-
hold?: boolean | undefined;
|
|
1069
|
-
} | undefined;
|
|
1070
1280
|
}>>;
|
|
1071
1281
|
/**
|
|
1072
1282
|
* Anchors whose CONTENT must not be asserted (e.g. LLM output). Replay asserts
|
|
@@ -1089,16 +1299,16 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1089
1299
|
column?: number | undefined;
|
|
1090
1300
|
}>>;
|
|
1091
1301
|
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
kind: "testid";
|
|
1093
1302
|
value: string;
|
|
1303
|
+
kind: "testid";
|
|
1094
1304
|
source?: {
|
|
1095
1305
|
file: string;
|
|
1096
1306
|
line: number;
|
|
1097
1307
|
column?: number | undefined;
|
|
1098
1308
|
} | undefined;
|
|
1099
1309
|
}, {
|
|
1100
|
-
kind: "testid";
|
|
1101
1310
|
value: string;
|
|
1311
|
+
kind: "testid";
|
|
1102
1312
|
source?: {
|
|
1103
1313
|
file: string;
|
|
1104
1314
|
line: number;
|
|
@@ -1120,11 +1330,11 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1120
1330
|
kind: z.ZodLiteral<"signal">;
|
|
1121
1331
|
name: z.ZodString;
|
|
1122
1332
|
}, "strip", z.ZodTypeAny, {
|
|
1123
|
-
kind: "signal";
|
|
1124
1333
|
name: string;
|
|
1125
|
-
}, {
|
|
1126
1334
|
kind: "signal";
|
|
1335
|
+
}, {
|
|
1127
1336
|
name: string;
|
|
1337
|
+
kind: "signal";
|
|
1128
1338
|
}>, z.ZodObject<{
|
|
1129
1339
|
kind: z.ZodLiteral<"component">;
|
|
1130
1340
|
component: z.ZodOptional<z.ZodString>;
|
|
@@ -1145,37 +1355,50 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1145
1355
|
name: z.ZodOptional<z.ZodString>;
|
|
1146
1356
|
}, "strip", z.ZodTypeAny, {
|
|
1147
1357
|
kind: "component";
|
|
1148
|
-
role?: string | undefined;
|
|
1149
|
-
component?: string | undefined;
|
|
1150
1358
|
source?: {
|
|
1151
1359
|
file: string;
|
|
1152
1360
|
line: number;
|
|
1153
1361
|
column?: number | undefined;
|
|
1154
1362
|
} | undefined;
|
|
1363
|
+
role?: string | undefined;
|
|
1364
|
+
component?: string | undefined;
|
|
1155
1365
|
name?: string | undefined;
|
|
1156
1366
|
}, {
|
|
1157
1367
|
kind: "component";
|
|
1158
|
-
role?: string | undefined;
|
|
1159
|
-
component?: string | undefined;
|
|
1160
1368
|
source?: {
|
|
1161
1369
|
file: string;
|
|
1162
1370
|
line: number;
|
|
1163
1371
|
column?: number | undefined;
|
|
1164
1372
|
} | undefined;
|
|
1373
|
+
role?: string | undefined;
|
|
1374
|
+
component?: string | undefined;
|
|
1165
1375
|
name?: string | undefined;
|
|
1166
1376
|
}>]>, "many">>;
|
|
1167
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1378
|
+
version: 1;
|
|
1168
1379
|
name: string;
|
|
1169
1380
|
steps: FlowStep[];
|
|
1170
|
-
version: 1;
|
|
1171
1381
|
createdAt: number;
|
|
1172
|
-
intent?: string | undefined;
|
|
1173
1382
|
projectId?: string | undefined;
|
|
1383
|
+
intent?: string | undefined;
|
|
1174
1384
|
intentId?: string | undefined;
|
|
1175
1385
|
startPath?: string | undefined;
|
|
1176
1386
|
fixture?: string | undefined;
|
|
1387
|
+
signalTimeoutMs?: number | undefined;
|
|
1177
1388
|
success?: {
|
|
1389
|
+
state?: {
|
|
1390
|
+
path: string;
|
|
1391
|
+
store?: string | undefined;
|
|
1392
|
+
equals?: unknown;
|
|
1393
|
+
hold?: boolean | undefined;
|
|
1394
|
+
} | undefined;
|
|
1178
1395
|
signal?: string | undefined;
|
|
1396
|
+
text?: {
|
|
1397
|
+
contains: string;
|
|
1398
|
+
visible?: boolean | undefined;
|
|
1399
|
+
absent?: boolean | undefined;
|
|
1400
|
+
scope?: string | undefined;
|
|
1401
|
+
} | undefined;
|
|
1179
1402
|
signalData?: Record<string, unknown> | undefined;
|
|
1180
1403
|
signalCount?: number | undefined;
|
|
1181
1404
|
net?: {
|
|
@@ -1193,16 +1416,10 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1193
1416
|
role?: string | undefined;
|
|
1194
1417
|
name?: string | undefined;
|
|
1195
1418
|
} | undefined;
|
|
1196
|
-
state?: {
|
|
1197
|
-
path: string;
|
|
1198
|
-
store?: string | undefined;
|
|
1199
|
-
equals?: unknown;
|
|
1200
|
-
hold?: boolean | undefined;
|
|
1201
|
-
} | undefined;
|
|
1202
1419
|
} | undefined;
|
|
1203
1420
|
dynamic?: ({
|
|
1204
|
-
kind: "testid";
|
|
1205
1421
|
value: string;
|
|
1422
|
+
kind: "testid";
|
|
1206
1423
|
source?: {
|
|
1207
1424
|
file: string;
|
|
1208
1425
|
line: number;
|
|
@@ -1213,31 +1430,44 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1213
1430
|
kind: "role";
|
|
1214
1431
|
name?: string | undefined;
|
|
1215
1432
|
} | {
|
|
1216
|
-
kind: "signal";
|
|
1217
1433
|
name: string;
|
|
1434
|
+
kind: "signal";
|
|
1218
1435
|
} | {
|
|
1219
1436
|
kind: "component";
|
|
1220
|
-
role?: string | undefined;
|
|
1221
|
-
component?: string | undefined;
|
|
1222
1437
|
source?: {
|
|
1223
1438
|
file: string;
|
|
1224
1439
|
line: number;
|
|
1225
1440
|
column?: number | undefined;
|
|
1226
1441
|
} | undefined;
|
|
1442
|
+
role?: string | undefined;
|
|
1443
|
+
component?: string | undefined;
|
|
1227
1444
|
name?: string | undefined;
|
|
1228
1445
|
})[] | undefined;
|
|
1229
1446
|
}, {
|
|
1447
|
+
version: 1;
|
|
1230
1448
|
name: string;
|
|
1231
1449
|
steps: FlowStep[];
|
|
1232
|
-
version: 1;
|
|
1233
1450
|
createdAt: number;
|
|
1234
|
-
intent?: string | undefined;
|
|
1235
1451
|
projectId?: string | undefined;
|
|
1452
|
+
intent?: string | undefined;
|
|
1236
1453
|
intentId?: string | undefined;
|
|
1237
1454
|
startPath?: string | undefined;
|
|
1238
1455
|
fixture?: string | undefined;
|
|
1456
|
+
signalTimeoutMs?: number | undefined;
|
|
1239
1457
|
success?: {
|
|
1458
|
+
state?: {
|
|
1459
|
+
path: string;
|
|
1460
|
+
store?: string | undefined;
|
|
1461
|
+
equals?: unknown;
|
|
1462
|
+
hold?: boolean | undefined;
|
|
1463
|
+
} | undefined;
|
|
1240
1464
|
signal?: string | undefined;
|
|
1465
|
+
text?: {
|
|
1466
|
+
contains: string;
|
|
1467
|
+
visible?: boolean | undefined;
|
|
1468
|
+
absent?: boolean | undefined;
|
|
1469
|
+
scope?: string | undefined;
|
|
1470
|
+
} | undefined;
|
|
1241
1471
|
signalData?: Record<string, unknown> | undefined;
|
|
1242
1472
|
signalCount?: number | undefined;
|
|
1243
1473
|
net?: {
|
|
@@ -1255,16 +1485,10 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1255
1485
|
role?: string | undefined;
|
|
1256
1486
|
name?: string | undefined;
|
|
1257
1487
|
} | undefined;
|
|
1258
|
-
state?: {
|
|
1259
|
-
path: string;
|
|
1260
|
-
store?: string | undefined;
|
|
1261
|
-
equals?: unknown;
|
|
1262
|
-
hold?: boolean | undefined;
|
|
1263
|
-
} | undefined;
|
|
1264
1488
|
} | undefined;
|
|
1265
1489
|
dynamic?: ({
|
|
1266
|
-
kind: "testid";
|
|
1267
1490
|
value: string;
|
|
1491
|
+
kind: "testid";
|
|
1268
1492
|
source?: {
|
|
1269
1493
|
file: string;
|
|
1270
1494
|
line: number;
|
|
@@ -1275,33 +1499,46 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1275
1499
|
kind: "role";
|
|
1276
1500
|
name?: string | undefined;
|
|
1277
1501
|
} | {
|
|
1278
|
-
kind: "signal";
|
|
1279
1502
|
name: string;
|
|
1503
|
+
kind: "signal";
|
|
1280
1504
|
} | {
|
|
1281
1505
|
kind: "component";
|
|
1282
|
-
role?: string | undefined;
|
|
1283
|
-
component?: string | undefined;
|
|
1284
1506
|
source?: {
|
|
1285
1507
|
file: string;
|
|
1286
1508
|
line: number;
|
|
1287
1509
|
column?: number | undefined;
|
|
1288
1510
|
} | undefined;
|
|
1511
|
+
role?: string | undefined;
|
|
1512
|
+
component?: string | undefined;
|
|
1289
1513
|
name?: string | undefined;
|
|
1290
1514
|
})[] | undefined;
|
|
1291
1515
|
}>;
|
|
1292
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1293
1517
|
flow: {
|
|
1518
|
+
version: 1;
|
|
1294
1519
|
name: string;
|
|
1295
1520
|
steps: FlowStep[];
|
|
1296
|
-
version: 1;
|
|
1297
1521
|
createdAt: number;
|
|
1298
|
-
intent?: string | undefined;
|
|
1299
1522
|
projectId?: string | undefined;
|
|
1523
|
+
intent?: string | undefined;
|
|
1300
1524
|
intentId?: string | undefined;
|
|
1301
1525
|
startPath?: string | undefined;
|
|
1302
1526
|
fixture?: string | undefined;
|
|
1527
|
+
signalTimeoutMs?: number | undefined;
|
|
1303
1528
|
success?: {
|
|
1529
|
+
state?: {
|
|
1530
|
+
path: string;
|
|
1531
|
+
store?: string | undefined;
|
|
1532
|
+
equals?: unknown;
|
|
1533
|
+
hold?: boolean | undefined;
|
|
1534
|
+
} | undefined;
|
|
1304
1535
|
signal?: string | undefined;
|
|
1536
|
+
text?: {
|
|
1537
|
+
contains: string;
|
|
1538
|
+
visible?: boolean | undefined;
|
|
1539
|
+
absent?: boolean | undefined;
|
|
1540
|
+
scope?: string | undefined;
|
|
1541
|
+
} | undefined;
|
|
1305
1542
|
signalData?: Record<string, unknown> | undefined;
|
|
1306
1543
|
signalCount?: number | undefined;
|
|
1307
1544
|
net?: {
|
|
@@ -1319,16 +1556,10 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1319
1556
|
role?: string | undefined;
|
|
1320
1557
|
name?: string | undefined;
|
|
1321
1558
|
} | undefined;
|
|
1322
|
-
state?: {
|
|
1323
|
-
path: string;
|
|
1324
|
-
store?: string | undefined;
|
|
1325
|
-
equals?: unknown;
|
|
1326
|
-
hold?: boolean | undefined;
|
|
1327
|
-
} | undefined;
|
|
1328
1559
|
} | undefined;
|
|
1329
1560
|
dynamic?: ({
|
|
1330
|
-
kind: "testid";
|
|
1331
1561
|
value: string;
|
|
1562
|
+
kind: "testid";
|
|
1332
1563
|
source?: {
|
|
1333
1564
|
file: string;
|
|
1334
1565
|
line: number;
|
|
@@ -1339,34 +1570,47 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1339
1570
|
kind: "role";
|
|
1340
1571
|
name?: string | undefined;
|
|
1341
1572
|
} | {
|
|
1342
|
-
kind: "signal";
|
|
1343
1573
|
name: string;
|
|
1574
|
+
kind: "signal";
|
|
1344
1575
|
} | {
|
|
1345
1576
|
kind: "component";
|
|
1346
|
-
role?: string | undefined;
|
|
1347
|
-
component?: string | undefined;
|
|
1348
1577
|
source?: {
|
|
1349
1578
|
file: string;
|
|
1350
1579
|
line: number;
|
|
1351
1580
|
column?: number | undefined;
|
|
1352
1581
|
} | undefined;
|
|
1582
|
+
role?: string | undefined;
|
|
1583
|
+
component?: string | undefined;
|
|
1353
1584
|
name?: string | undefined;
|
|
1354
1585
|
})[] | undefined;
|
|
1355
1586
|
};
|
|
1356
1587
|
name: string;
|
|
1357
1588
|
}, {
|
|
1358
1589
|
flow: {
|
|
1590
|
+
version: 1;
|
|
1359
1591
|
name: string;
|
|
1360
1592
|
steps: FlowStep[];
|
|
1361
|
-
version: 1;
|
|
1362
1593
|
createdAt: number;
|
|
1363
|
-
intent?: string | undefined;
|
|
1364
1594
|
projectId?: string | undefined;
|
|
1595
|
+
intent?: string | undefined;
|
|
1365
1596
|
intentId?: string | undefined;
|
|
1366
1597
|
startPath?: string | undefined;
|
|
1367
1598
|
fixture?: string | undefined;
|
|
1599
|
+
signalTimeoutMs?: number | undefined;
|
|
1368
1600
|
success?: {
|
|
1601
|
+
state?: {
|
|
1602
|
+
path: string;
|
|
1603
|
+
store?: string | undefined;
|
|
1604
|
+
equals?: unknown;
|
|
1605
|
+
hold?: boolean | undefined;
|
|
1606
|
+
} | undefined;
|
|
1369
1607
|
signal?: string | undefined;
|
|
1608
|
+
text?: {
|
|
1609
|
+
contains: string;
|
|
1610
|
+
visible?: boolean | undefined;
|
|
1611
|
+
absent?: boolean | undefined;
|
|
1612
|
+
scope?: string | undefined;
|
|
1613
|
+
} | undefined;
|
|
1370
1614
|
signalData?: Record<string, unknown> | undefined;
|
|
1371
1615
|
signalCount?: number | undefined;
|
|
1372
1616
|
net?: {
|
|
@@ -1384,16 +1628,10 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1384
1628
|
role?: string | undefined;
|
|
1385
1629
|
name?: string | undefined;
|
|
1386
1630
|
} | undefined;
|
|
1387
|
-
state?: {
|
|
1388
|
-
path: string;
|
|
1389
|
-
store?: string | undefined;
|
|
1390
|
-
equals?: unknown;
|
|
1391
|
-
hold?: boolean | undefined;
|
|
1392
|
-
} | undefined;
|
|
1393
1631
|
} | undefined;
|
|
1394
1632
|
dynamic?: ({
|
|
1395
|
-
kind: "testid";
|
|
1396
1633
|
value: string;
|
|
1634
|
+
kind: "testid";
|
|
1397
1635
|
source?: {
|
|
1398
1636
|
file: string;
|
|
1399
1637
|
line: number;
|
|
@@ -1404,17 +1642,17 @@ export declare const RecordedFlowSchema: z.ZodObject<{
|
|
|
1404
1642
|
kind: "role";
|
|
1405
1643
|
name?: string | undefined;
|
|
1406
1644
|
} | {
|
|
1407
|
-
kind: "signal";
|
|
1408
1645
|
name: string;
|
|
1646
|
+
kind: "signal";
|
|
1409
1647
|
} | {
|
|
1410
1648
|
kind: "component";
|
|
1411
|
-
role?: string | undefined;
|
|
1412
|
-
component?: string | undefined;
|
|
1413
1649
|
source?: {
|
|
1414
1650
|
file: string;
|
|
1415
1651
|
line: number;
|
|
1416
1652
|
column?: number | undefined;
|
|
1417
1653
|
} | undefined;
|
|
1654
|
+
role?: string | undefined;
|
|
1655
|
+
component?: string | undefined;
|
|
1418
1656
|
name?: string | undefined;
|
|
1419
1657
|
})[] | undefined;
|
|
1420
1658
|
};
|