@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
package/dist/wire/types.d.ts
CHANGED
|
@@ -88,6 +88,8 @@ export declare const ElementQuerySchema: z.ZodObject<{
|
|
|
88
88
|
*/
|
|
89
89
|
matchCase: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
}, "strict", z.ZodTypeAny, {
|
|
91
|
+
scope?: string | undefined;
|
|
92
|
+
name?: string | undefined;
|
|
91
93
|
text?: string | undefined;
|
|
92
94
|
testid?: string | undefined;
|
|
93
95
|
role?: string | undefined;
|
|
@@ -101,13 +103,13 @@ export declare const ElementQuerySchema: z.ZodObject<{
|
|
|
101
103
|
line: number;
|
|
102
104
|
column?: number | undefined;
|
|
103
105
|
} | undefined;
|
|
104
|
-
name?: string | undefined;
|
|
105
106
|
by?: "text" | "testid" | "role" | "component" | "label" | "placeholder" | "alt" | undefined;
|
|
106
107
|
attrs?: string[] | undefined;
|
|
107
|
-
scope?: string | undefined;
|
|
108
108
|
self?: boolean | undefined;
|
|
109
109
|
matchCase?: boolean | undefined;
|
|
110
110
|
}, {
|
|
111
|
+
scope?: string | undefined;
|
|
112
|
+
name?: string | undefined;
|
|
111
113
|
text?: string | undefined;
|
|
112
114
|
testid?: string | undefined;
|
|
113
115
|
role?: string | undefined;
|
|
@@ -121,10 +123,8 @@ export declare const ElementQuerySchema: z.ZodObject<{
|
|
|
121
123
|
line: number;
|
|
122
124
|
column?: number | undefined;
|
|
123
125
|
} | undefined;
|
|
124
|
-
name?: string | undefined;
|
|
125
126
|
by?: "text" | "testid" | "role" | "component" | "label" | "placeholder" | "alt" | undefined;
|
|
126
127
|
attrs?: string[] | undefined;
|
|
127
|
-
scope?: string | undefined;
|
|
128
128
|
self?: boolean | undefined;
|
|
129
129
|
matchCase?: boolean | undefined;
|
|
130
130
|
}>;
|
|
@@ -183,6 +183,18 @@ export interface MatchResult {
|
|
|
183
183
|
* confirmed absence (a false negative); both are the false-green shape this tool exists to prevent.
|
|
184
184
|
*/
|
|
185
185
|
scopeMissing?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Present only when a framework error dialog (Next.js, Vite) is open over the page and a match is
|
|
188
|
+
* under it: the name of that dialog. The match is in the DOM, but a user sees only the dialog, so a
|
|
189
|
+
* presence check is not a plain pass (#1768).
|
|
190
|
+
*/
|
|
191
|
+
coveredBy?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Present only when a query matched by text and a person cannot read any match: why not. The
|
|
194
|
+
* text colour is almost the colour behind it, or the composed opacity is almost zero. The text is
|
|
195
|
+
* in the DOM, but nobody can see it, so a presence check is not a plain pass (#1797).
|
|
196
|
+
*/
|
|
197
|
+
unreadable?: string;
|
|
186
198
|
/**
|
|
187
199
|
* Zero-match diagnosis, present only on a miss: what IS on the page. `reticle_query` has always
|
|
188
200
|
* returned this; MATCH (the command every PREDICATE uses) did not, so a failed assertion was a
|
|
@@ -228,9 +240,15 @@ export interface QueryEmptyHint {
|
|
|
228
240
|
* ever match it.
|
|
229
241
|
*
|
|
230
242
|
* The descriptor is the tightest container that holds the whole string; its `ref` is a locator, so
|
|
231
|
-
* the recovery is `{ scope: <ref>, self: true }` rather than another guess at the text.
|
|
243
|
+
* the recovery is `{ scope: <ref>, self: true }` rather than another guess at the text. When the
|
|
244
|
+
* container carries a testid or an id, `selector` names it instead: a selector can be written
|
|
245
|
+
* into an `act_and_wait` `until` before the action runs, which is when the recovery has to be
|
|
246
|
+
* written, while a ref exists only after a snapshot (#1147).
|
|
232
247
|
*/
|
|
233
|
-
splitText?: ElementDescriptor
|
|
248
|
+
splitText?: ElementDescriptor & {
|
|
249
|
+
/** A stable CSS selector for the container, present when it carries a testid or an id. */
|
|
250
|
+
selector?: string;
|
|
251
|
+
};
|
|
234
252
|
/**
|
|
235
253
|
* Present only when a case-exact TEXT check missed and the page shows the text in another case:
|
|
236
254
|
* what it shows. Reported as "split across children" before, with the same failing check as the
|
|
@@ -254,6 +272,13 @@ export interface QueryEmptyHint {
|
|
|
254
272
|
* (`testIdAttribute` in `.reticle.json`).
|
|
255
273
|
*/
|
|
256
274
|
testidFoundUnder?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Present only when a text/name search missed and the string IS on the page but inside an
|
|
277
|
+
* `aria-hidden="true"` subtree — drawn on screen but excluded from the accessible tree. The
|
|
278
|
+
* note is the difference between "not rendered" and "rendered but hidden from assistive
|
|
279
|
+
* technology", which have opposite fixes (#1070).
|
|
280
|
+
*/
|
|
281
|
+
ariaHiddenMatch?: boolean;
|
|
257
282
|
}
|
|
258
283
|
/** Result of the QUERY command / reticle_query tool. `hint` present ONLY on zero matches. */
|
|
259
284
|
export interface QueryResult {
|
|
@@ -275,11 +300,11 @@ export declare const CapabilityFlowSchema: z.ZodObject<{
|
|
|
275
300
|
name: z.ZodString;
|
|
276
301
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
277
302
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
steps: string[];
|
|
279
303
|
name: string;
|
|
280
|
-
}, {
|
|
281
304
|
steps: string[];
|
|
305
|
+
}, {
|
|
282
306
|
name: string;
|
|
307
|
+
steps: string[];
|
|
283
308
|
}>;
|
|
284
309
|
/**
|
|
285
310
|
* A declared risk zone — the app naming a surface (auth/payment/db/…) and the paths it covers, so a
|
|
@@ -342,22 +367,22 @@ export declare const ManifestGovernanceSchema: z.ZodObject<{
|
|
|
342
367
|
paths?: string[] | undefined;
|
|
343
368
|
}>, "many">>;
|
|
344
369
|
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
scope?: string[] | undefined;
|
|
345
371
|
risk?: {
|
|
346
372
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
347
373
|
note?: string | undefined;
|
|
348
374
|
paths?: string[] | undefined;
|
|
349
375
|
}[] | undefined;
|
|
350
|
-
scope?: string[] | undefined;
|
|
351
376
|
owner?: string | undefined;
|
|
352
377
|
safety?: string[] | undefined;
|
|
353
378
|
redact?: string[] | undefined;
|
|
354
379
|
}, {
|
|
380
|
+
scope?: string[] | undefined;
|
|
355
381
|
risk?: {
|
|
356
382
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
357
383
|
note?: string | undefined;
|
|
358
384
|
paths?: string[] | undefined;
|
|
359
385
|
}[] | undefined;
|
|
360
|
-
scope?: string[] | undefined;
|
|
361
386
|
owner?: string | undefined;
|
|
362
387
|
safety?: string[] | undefined;
|
|
363
388
|
redact?: string[] | undefined;
|
|
@@ -372,11 +397,11 @@ export declare const CapabilitiesSchema: z.ZodObject<{
|
|
|
372
397
|
name: z.ZodString;
|
|
373
398
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
374
399
|
}, "strip", z.ZodTypeAny, {
|
|
375
|
-
steps: string[];
|
|
376
400
|
name: string;
|
|
377
|
-
}, {
|
|
378
401
|
steps: string[];
|
|
402
|
+
}, {
|
|
379
403
|
name: string;
|
|
404
|
+
steps: string[];
|
|
380
405
|
}>, "many">;
|
|
381
406
|
/** Optional declared governance (owner/safety/scope/redact/risk). Additive — back-compat safe. */
|
|
382
407
|
governance: z.ZodOptional<z.ZodObject<{
|
|
@@ -407,60 +432,60 @@ export declare const CapabilitiesSchema: z.ZodObject<{
|
|
|
407
432
|
paths?: string[] | undefined;
|
|
408
433
|
}>, "many">>;
|
|
409
434
|
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
scope?: string[] | undefined;
|
|
410
436
|
risk?: {
|
|
411
437
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
412
438
|
note?: string | undefined;
|
|
413
439
|
paths?: string[] | undefined;
|
|
414
440
|
}[] | undefined;
|
|
415
|
-
scope?: string[] | undefined;
|
|
416
441
|
owner?: string | undefined;
|
|
417
442
|
safety?: string[] | undefined;
|
|
418
443
|
redact?: string[] | undefined;
|
|
419
444
|
}, {
|
|
445
|
+
scope?: string[] | undefined;
|
|
420
446
|
risk?: {
|
|
421
447
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
422
448
|
note?: string | undefined;
|
|
423
449
|
paths?: string[] | undefined;
|
|
424
450
|
}[] | undefined;
|
|
425
|
-
scope?: string[] | undefined;
|
|
426
451
|
owner?: string | undefined;
|
|
427
452
|
safety?: string[] | undefined;
|
|
428
453
|
redact?: string[] | undefined;
|
|
429
454
|
}>>;
|
|
430
455
|
}, "strip", z.ZodTypeAny, {
|
|
431
456
|
flows: {
|
|
432
|
-
steps: string[];
|
|
433
457
|
name: string;
|
|
458
|
+
steps: string[];
|
|
434
459
|
}[];
|
|
435
460
|
testids: string[];
|
|
436
461
|
signals: string[];
|
|
437
462
|
stores: string[];
|
|
438
463
|
governance?: {
|
|
464
|
+
scope?: string[] | undefined;
|
|
439
465
|
risk?: {
|
|
440
466
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
441
467
|
note?: string | undefined;
|
|
442
468
|
paths?: string[] | undefined;
|
|
443
469
|
}[] | undefined;
|
|
444
|
-
scope?: string[] | undefined;
|
|
445
470
|
owner?: string | undefined;
|
|
446
471
|
safety?: string[] | undefined;
|
|
447
472
|
redact?: string[] | undefined;
|
|
448
473
|
} | undefined;
|
|
449
474
|
}, {
|
|
450
475
|
flows: {
|
|
451
|
-
steps: string[];
|
|
452
476
|
name: string;
|
|
477
|
+
steps: string[];
|
|
453
478
|
}[];
|
|
454
479
|
testids: string[];
|
|
455
480
|
signals: string[];
|
|
456
481
|
stores: string[];
|
|
457
482
|
governance?: {
|
|
483
|
+
scope?: string[] | undefined;
|
|
458
484
|
risk?: {
|
|
459
485
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
460
486
|
note?: string | undefined;
|
|
461
487
|
paths?: string[] | undefined;
|
|
462
488
|
}[] | undefined;
|
|
463
|
-
scope?: string[] | undefined;
|
|
464
489
|
owner?: string | undefined;
|
|
465
490
|
safety?: string[] | undefined;
|
|
466
491
|
redact?: string[] | undefined;
|
|
@@ -479,11 +504,11 @@ export declare const ContractFileSchema: z.ZodObject<{
|
|
|
479
504
|
name: z.ZodString;
|
|
480
505
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
481
506
|
}, "strip", z.ZodTypeAny, {
|
|
482
|
-
steps: string[];
|
|
483
507
|
name: string;
|
|
484
|
-
}, {
|
|
485
508
|
steps: string[];
|
|
509
|
+
}, {
|
|
486
510
|
name: string;
|
|
511
|
+
steps: string[];
|
|
487
512
|
}>, "many">;
|
|
488
513
|
/** Optional declared governance (owner/safety/scope/redact/risk). Additive — back-compat safe. */
|
|
489
514
|
governance: z.ZodOptional<z.ZodObject<{
|
|
@@ -514,60 +539,60 @@ export declare const ContractFileSchema: z.ZodObject<{
|
|
|
514
539
|
paths?: string[] | undefined;
|
|
515
540
|
}>, "many">>;
|
|
516
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
|
+
scope?: string[] | undefined;
|
|
517
543
|
risk?: {
|
|
518
544
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
519
545
|
note?: string | undefined;
|
|
520
546
|
paths?: string[] | undefined;
|
|
521
547
|
}[] | undefined;
|
|
522
|
-
scope?: string[] | undefined;
|
|
523
548
|
owner?: string | undefined;
|
|
524
549
|
safety?: string[] | undefined;
|
|
525
550
|
redact?: string[] | undefined;
|
|
526
551
|
}, {
|
|
552
|
+
scope?: string[] | undefined;
|
|
527
553
|
risk?: {
|
|
528
554
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
529
555
|
note?: string | undefined;
|
|
530
556
|
paths?: string[] | undefined;
|
|
531
557
|
}[] | undefined;
|
|
532
|
-
scope?: string[] | undefined;
|
|
533
558
|
owner?: string | undefined;
|
|
534
559
|
safety?: string[] | undefined;
|
|
535
560
|
redact?: string[] | undefined;
|
|
536
561
|
}>>;
|
|
537
562
|
}, "strip", z.ZodTypeAny, {
|
|
538
563
|
flows: {
|
|
539
|
-
steps: string[];
|
|
540
564
|
name: string;
|
|
565
|
+
steps: string[];
|
|
541
566
|
}[];
|
|
542
567
|
testids: string[];
|
|
543
568
|
signals: string[];
|
|
544
569
|
stores: string[];
|
|
545
570
|
governance?: {
|
|
571
|
+
scope?: string[] | undefined;
|
|
546
572
|
risk?: {
|
|
547
573
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
548
574
|
note?: string | undefined;
|
|
549
575
|
paths?: string[] | undefined;
|
|
550
576
|
}[] | undefined;
|
|
551
|
-
scope?: string[] | undefined;
|
|
552
577
|
owner?: string | undefined;
|
|
553
578
|
safety?: string[] | undefined;
|
|
554
579
|
redact?: string[] | undefined;
|
|
555
580
|
} | undefined;
|
|
556
581
|
}, {
|
|
557
582
|
flows: {
|
|
558
|
-
steps: string[];
|
|
559
583
|
name: string;
|
|
584
|
+
steps: string[];
|
|
560
585
|
}[];
|
|
561
586
|
testids: string[];
|
|
562
587
|
signals: string[];
|
|
563
588
|
stores: string[];
|
|
564
589
|
governance?: {
|
|
590
|
+
scope?: string[] | undefined;
|
|
565
591
|
risk?: {
|
|
566
592
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
567
593
|
note?: string | undefined;
|
|
568
594
|
paths?: string[] | undefined;
|
|
569
595
|
}[] | undefined;
|
|
570
|
-
scope?: string[] | undefined;
|
|
571
596
|
owner?: string | undefined;
|
|
572
597
|
safety?: string[] | undefined;
|
|
573
598
|
redact?: string[] | undefined;
|
|
@@ -576,19 +601,19 @@ export declare const ContractFileSchema: z.ZodObject<{
|
|
|
576
601
|
}, "strip", z.ZodTypeAny, {
|
|
577
602
|
capabilities: {
|
|
578
603
|
flows: {
|
|
579
|
-
steps: string[];
|
|
580
604
|
name: string;
|
|
605
|
+
steps: string[];
|
|
581
606
|
}[];
|
|
582
607
|
testids: string[];
|
|
583
608
|
signals: string[];
|
|
584
609
|
stores: string[];
|
|
585
610
|
governance?: {
|
|
611
|
+
scope?: string[] | undefined;
|
|
586
612
|
risk?: {
|
|
587
613
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
588
614
|
note?: string | undefined;
|
|
589
615
|
paths?: string[] | undefined;
|
|
590
616
|
}[] | undefined;
|
|
591
|
-
scope?: string[] | undefined;
|
|
592
617
|
owner?: string | undefined;
|
|
593
618
|
safety?: string[] | undefined;
|
|
594
619
|
redact?: string[] | undefined;
|
|
@@ -599,19 +624,19 @@ export declare const ContractFileSchema: z.ZodObject<{
|
|
|
599
624
|
}, {
|
|
600
625
|
capabilities: {
|
|
601
626
|
flows: {
|
|
602
|
-
steps: string[];
|
|
603
627
|
name: string;
|
|
628
|
+
steps: string[];
|
|
604
629
|
}[];
|
|
605
630
|
testids: string[];
|
|
606
631
|
signals: string[];
|
|
607
632
|
stores: string[];
|
|
608
633
|
governance?: {
|
|
634
|
+
scope?: string[] | undefined;
|
|
609
635
|
risk?: {
|
|
610
636
|
surface: "auth" | "payment" | "db" | "migration" | "rls" | "secrets" | "destructive" | "external";
|
|
611
637
|
note?: string | undefined;
|
|
612
638
|
paths?: string[] | undefined;
|
|
613
639
|
}[] | undefined;
|
|
614
|
-
scope?: string[] | undefined;
|
|
615
640
|
owner?: string | undefined;
|
|
616
641
|
safety?: string[] | undefined;
|
|
617
642
|
redact?: string[] | undefined;
|
|
@@ -667,10 +692,10 @@ export declare const RunRecordSchema: z.ZodObject<{
|
|
|
667
692
|
}>>;
|
|
668
693
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
669
694
|
}, "strip", z.ZodTypeAny, {
|
|
695
|
+
name: string;
|
|
696
|
+
at: number;
|
|
670
697
|
kind: "flow_replay" | "manual";
|
|
671
698
|
status: "pass" | "drift" | "error" | "fail";
|
|
672
|
-
at: number;
|
|
673
|
-
name: string;
|
|
674
699
|
durationMs?: number | undefined;
|
|
675
700
|
evidence?: {
|
|
676
701
|
consoleErrors?: number | undefined;
|
|
@@ -679,10 +704,10 @@ export declare const RunRecordSchema: z.ZodObject<{
|
|
|
679
704
|
} | undefined;
|
|
680
705
|
summary?: string | undefined;
|
|
681
706
|
}, {
|
|
707
|
+
name: string;
|
|
708
|
+
at: number;
|
|
682
709
|
kind: "flow_replay" | "manual";
|
|
683
710
|
status: "pass" | "drift" | "error" | "fail";
|
|
684
|
-
at: number;
|
|
685
|
-
name: string;
|
|
686
711
|
durationMs?: number | undefined;
|
|
687
712
|
evidence?: {
|
|
688
713
|
consoleErrors?: number | undefined;
|
|
@@ -808,10 +833,10 @@ export declare const ProjectFileSchema: z.ZodObject<{
|
|
|
808
833
|
}>>;
|
|
809
834
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
810
835
|
}, "strip", z.ZodTypeAny, {
|
|
836
|
+
name: string;
|
|
837
|
+
at: number;
|
|
811
838
|
kind: "flow_replay" | "manual";
|
|
812
839
|
status: "pass" | "drift" | "error" | "fail";
|
|
813
|
-
at: number;
|
|
814
|
-
name: string;
|
|
815
840
|
durationMs?: number | undefined;
|
|
816
841
|
evidence?: {
|
|
817
842
|
consoleErrors?: number | undefined;
|
|
@@ -820,10 +845,10 @@ export declare const ProjectFileSchema: z.ZodObject<{
|
|
|
820
845
|
} | undefined;
|
|
821
846
|
summary?: string | undefined;
|
|
822
847
|
}, {
|
|
848
|
+
name: string;
|
|
849
|
+
at: number;
|
|
823
850
|
kind: "flow_replay" | "manual";
|
|
824
851
|
status: "pass" | "drift" | "error" | "fail";
|
|
825
|
-
at: number;
|
|
826
|
-
name: string;
|
|
827
852
|
durationMs?: number | undefined;
|
|
828
853
|
evidence?: {
|
|
829
854
|
consoleErrors?: number | undefined;
|
|
@@ -834,10 +859,10 @@ export declare const ProjectFileSchema: z.ZodObject<{
|
|
|
834
859
|
}>, "many">;
|
|
835
860
|
}, "strip", z.ZodTypeAny, {
|
|
836
861
|
runs: {
|
|
862
|
+
name: string;
|
|
863
|
+
at: number;
|
|
837
864
|
kind: "flow_replay" | "manual";
|
|
838
865
|
status: "pass" | "drift" | "error" | "fail";
|
|
839
|
-
at: number;
|
|
840
|
-
name: string;
|
|
841
866
|
durationMs?: number | undefined;
|
|
842
867
|
evidence?: {
|
|
843
868
|
consoleErrors?: number | undefined;
|
|
@@ -857,10 +882,10 @@ export declare const ProjectFileSchema: z.ZodObject<{
|
|
|
857
882
|
} | undefined;
|
|
858
883
|
}, {
|
|
859
884
|
runs: {
|
|
885
|
+
name: string;
|
|
886
|
+
at: number;
|
|
860
887
|
kind: "flow_replay" | "manual";
|
|
861
888
|
status: "pass" | "drift" | "error" | "fail";
|
|
862
|
-
at: number;
|
|
863
|
-
name: string;
|
|
864
889
|
durationMs?: number | undefined;
|
|
865
890
|
evidence?: {
|
|
866
891
|
consoleErrors?: number | undefined;
|
|
@@ -896,12 +921,12 @@ export declare const AnnotationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
896
921
|
name: z.ZodString;
|
|
897
922
|
dataMatches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
898
923
|
}, "strip", z.ZodTypeAny, {
|
|
899
|
-
kind: "assert-signal";
|
|
900
924
|
name: string;
|
|
925
|
+
kind: "assert-signal";
|
|
901
926
|
dataMatches?: Record<string, unknown> | undefined;
|
|
902
927
|
}, {
|
|
903
|
-
kind: "assert-signal";
|
|
904
928
|
name: string;
|
|
929
|
+
kind: "assert-signal";
|
|
905
930
|
dataMatches?: Record<string, unknown> | undefined;
|
|
906
931
|
}>, z.ZodObject<{
|
|
907
932
|
kind: z.ZodLiteral<"assert-visible">;
|
|
@@ -1011,13 +1036,13 @@ export declare const AnnotationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
1011
1036
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1012
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1013
1038
|
contains: string;
|
|
1014
|
-
visible?: boolean | undefined;
|
|
1015
1039
|
scope?: string | undefined;
|
|
1040
|
+
visible?: boolean | undefined;
|
|
1016
1041
|
absent?: boolean | undefined;
|
|
1017
1042
|
}, {
|
|
1018
1043
|
contains: string;
|
|
1019
|
-
visible?: boolean | undefined;
|
|
1020
1044
|
scope?: string | undefined;
|
|
1045
|
+
visible?: boolean | undefined;
|
|
1021
1046
|
absent?: boolean | undefined;
|
|
1022
1047
|
}>>;
|
|
1023
1048
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1031,8 +1056,8 @@ export declare const AnnotationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
1031
1056
|
} | undefined;
|
|
1032
1057
|
text?: {
|
|
1033
1058
|
contains: string;
|
|
1034
|
-
visible?: boolean | undefined;
|
|
1035
1059
|
scope?: string | undefined;
|
|
1060
|
+
visible?: boolean | undefined;
|
|
1036
1061
|
absent?: boolean | undefined;
|
|
1037
1062
|
} | undefined;
|
|
1038
1063
|
console?: {
|
|
@@ -1055,8 +1080,8 @@ export declare const AnnotationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
1055
1080
|
} | undefined;
|
|
1056
1081
|
text?: {
|
|
1057
1082
|
contains: string;
|
|
1058
|
-
visible?: boolean | undefined;
|
|
1059
1083
|
scope?: string | undefined;
|
|
1084
|
+
visible?: boolean | undefined;
|
|
1060
1085
|
absent?: boolean | undefined;
|
|
1061
1086
|
} | undefined;
|
|
1062
1087
|
console?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reticlehq/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "The Reticle foundation: the shared wire contract — types, zod schemas, constants, messages, and the isomorphic kernel that every Reticle package (browser SDK, server, kits, test harness) imports. Depends only on zod and open-verification.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
"./hud": {
|
|
40
40
|
"types": "./dist/hud-entry.d.ts",
|
|
41
41
|
"default": "./dist/hud-entry.js"
|
|
42
|
+
},
|
|
43
|
+
"./activation": {
|
|
44
|
+
"types": "./dist/activation-entry.d.ts",
|
|
45
|
+
"default": "./dist/activation-entry.js"
|
|
42
46
|
}
|
|
43
47
|
},
|
|
44
48
|
"dependencies": {
|