@reticlehq/core 3.5.0 → 3.6.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/artifacts-entry.d.ts +2 -0
- package/dist/artifacts/artifacts-entry.js +2 -0
- package/dist/artifacts/drive-script.d.ts +1298 -0
- package/dist/artifacts/drive-script.js +197 -0
- package/dist/artifacts/flow-constants.d.ts +1 -0
- package/dist/artifacts/flow-constants.js +1 -0
- package/dist/artifacts/flow-types.d.ts +60 -0
- package/dist/artifacts/flow-types.js +10 -0
- package/dist/artifacts/hud-notices.d.ts +134 -0
- package/dist/artifacts/hud-notices.js +124 -0
- package/dist/artifacts/impact.d.ts +135 -44
- package/dist/artifacts/impact.js +25 -0
- package/dist/artifacts/journal.d.ts +49 -0
- package/dist/artifacts/journal.js +15 -0
- package/dist/artifacts/prompt-context.d.ts +105 -0
- package/dist/artifacts/prompt-context.js +108 -0
- package/dist/desktop-contract.cjs +1 -0
- package/dist/desktop-contract.d.cts +1 -0
- package/dist/hud-entry.d.ts +1 -0
- package/dist/hud-entry.js +2 -0
- package/dist/identity/contract-fingerprint.d.ts +9 -0
- package/dist/identity/contract-fingerprint.js +12 -0
- package/dist/identity/testid-attribute.d.ts +18 -0
- package/dist/identity/testid-attribute.js +24 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/dist/onboarding.d.ts +2 -2
- package/dist/schema/command-message.json +6 -0
- package/dist/schema/command-name.json +3 -1
- package/dist/schema/event-payloads.json +16 -0
- package/dist/schema/reticle-message.json +6 -0
- package/dist/telemetry-refusal.d.ts +3 -2
- package/dist/telemetry-session.d.ts +5 -1
- package/dist/telemetry-session.js +3 -1
- package/dist/telemetry.d.ts +36 -28
- package/dist/tour.d.ts +1 -0
- package/dist/tour.js +13 -5
- package/dist/verdict/consequence.d.ts +3 -0
- package/dist/verdict/findings.d.ts +5 -0
- package/dist/verdict/findings.js +7 -0
- package/dist/verdict/predicate.d.ts +14 -0
- package/dist/verdict/predicate.js +7 -12
- package/dist/verdict/verdict-attribution.js +1 -0
- package/dist/verdict/verification-run.d.ts +18 -0
- package/dist/verdict/verification-run.js +8 -0
- package/dist/verdict/verified-constants.d.ts +19 -0
- package/dist/verdict/verified-constants.js +22 -0
- package/dist/wire/constants/constants.d.ts +44 -15
- package/dist/wire/constants/constants.js +44 -15
- package/dist/wire/constants/hud-controls.d.ts +1 -1
- package/dist/wire/constants/hud-controls.js +21 -0
- package/dist/wire/constants/hud-use.d.ts +64 -1
- package/dist/wire/constants/hud-use.js +40 -1
- package/dist/wire/constants/session-constants.d.ts +8 -0
- package/dist/wire/constants/session-constants.js +8 -0
- package/dist/wire/desktop-contract.d.ts +3 -0
- package/dist/wire/desktop-contract.js +3 -0
- package/dist/wire/event-payloads.d.ts +25 -4
- package/dist/wire/event-payloads.js +10 -0
- package/dist/wire/global-press.d.ts +34 -3
- package/dist/wire/global-press.js +91 -3
- package/dist/wire/hold.d.ts +14 -0
- package/dist/wire/hold.js +18 -0
- package/dist/wire/messages.d.ts +42 -18
- package/dist/wire/messages.js +8 -0
- package/dist/wire/platform-link.d.ts +161 -0
- package/dist/wire/platform-link.js +189 -0
- package/dist/wire/types.d.ts +7 -0
- package/dist/words/no-session-reason.d.ts +7 -0
- package/dist/words/no-session-reason.js +7 -0
- package/dist/words/notices.js +4 -2
- package/package.json +1 -1
|
@@ -486,11 +486,13 @@ export declare const SessionSummarySchema: z.ZodObject<{
|
|
|
486
486
|
* `hudControls` counts presses per control id (a toggle as `id:on` / `id:off`), `hudViewMs` and
|
|
487
487
|
* `hudPanelMs` time how the HUD sat (bubble / collapsed / expanded) and which panel was showing,
|
|
488
488
|
* and `hudJourney` is the window's presses and view changes in order, cut at 60 with
|
|
489
|
-
* `hudJourneyCut`.
|
|
489
|
+
* `hudJourneyCut`. `hudSlides` counts how often each rail slide was shown, by its id. Every key
|
|
490
|
+
* is a control or slide id Reticle authored: names, never values.
|
|
490
491
|
*/
|
|
491
492
|
hudControls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
492
493
|
hudViewMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
493
494
|
hudPanelMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
495
|
+
hudSlides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
494
496
|
hudJourney: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
495
497
|
hudJourneyCut: z.ZodOptional<z.ZodLiteral<true>>;
|
|
496
498
|
/** Was this a clean shutdown, or a periodic flush of a still-running session? */
|
|
@@ -575,6 +577,7 @@ export declare const SessionSummarySchema: z.ZodObject<{
|
|
|
575
577
|
hudControls?: Record<string, number> | undefined;
|
|
576
578
|
hudViewMs?: Record<string, number> | undefined;
|
|
577
579
|
hudPanelMs?: Record<string, number> | undefined;
|
|
580
|
+
hudSlides?: Record<string, number> | undefined;
|
|
578
581
|
hudJourney?: string[] | undefined;
|
|
579
582
|
hudJourneyCut?: true | undefined;
|
|
580
583
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
@@ -645,6 +648,7 @@ export declare const SessionSummarySchema: z.ZodObject<{
|
|
|
645
648
|
hudControls?: Record<string, number> | undefined;
|
|
646
649
|
hudViewMs?: Record<string, number> | undefined;
|
|
647
650
|
hudPanelMs?: Record<string, number> | undefined;
|
|
651
|
+
hudSlides?: Record<string, number> | undefined;
|
|
648
652
|
hudJourney?: string[] | undefined;
|
|
649
653
|
hudJourneyCut?: true | undefined;
|
|
650
654
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
@@ -355,11 +355,13 @@ export const SessionSummarySchema = z.object({
|
|
|
355
355
|
* `hudControls` counts presses per control id (a toggle as `id:on` / `id:off`), `hudViewMs` and
|
|
356
356
|
* `hudPanelMs` time how the HUD sat (bubble / collapsed / expanded) and which panel was showing,
|
|
357
357
|
* and `hudJourney` is the window's presses and view changes in order, cut at 60 with
|
|
358
|
-
* `hudJourneyCut`.
|
|
358
|
+
* `hudJourneyCut`. `hudSlides` counts how often each rail slide was shown, by its id. Every key
|
|
359
|
+
* is a control or slide id Reticle authored: names, never values.
|
|
359
360
|
*/
|
|
360
361
|
hudControls: z.record(z.number()).optional(),
|
|
361
362
|
hudViewMs: z.record(z.number()).optional(),
|
|
362
363
|
hudPanelMs: z.record(z.number()).optional(),
|
|
364
|
+
hudSlides: z.record(z.number()).optional(),
|
|
363
365
|
hudJourney: z.array(z.string().max(64)).max(60).optional(),
|
|
364
366
|
hudJourneyCut: z.literal(true).optional(),
|
|
365
367
|
/** Was this a clean shutdown, or a periodic flush of a still-running session? */
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -314,6 +314,7 @@ export declare const VerificationSchema: z.ZodObject<{
|
|
|
314
314
|
readonly ASSERTION_FAILED: "assertion_failed";
|
|
315
315
|
readonly CONTRADICTED: "contradicted";
|
|
316
316
|
readonly ALREADY_TRUE: "already_true";
|
|
317
|
+
readonly HIDDEN_MATCH: "hidden_match";
|
|
317
318
|
readonly UNCLEAN_CAPTURE: "unclean_capture";
|
|
318
319
|
readonly VACUOUS_GRADE: "vacuous_grade";
|
|
319
320
|
readonly NOTHING_DECLARED: "nothing_declared";
|
|
@@ -351,23 +352,23 @@ export declare const VerificationSchema: z.ZodObject<{
|
|
|
351
352
|
readonly HARNESS: "harness";
|
|
352
353
|
}>>;
|
|
353
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
passed: boolean;
|
|
354
356
|
verified: string;
|
|
355
357
|
via: string;
|
|
356
|
-
passed: boolean;
|
|
357
358
|
falseGreenCaught: boolean;
|
|
358
359
|
durationMs?: number | undefined;
|
|
359
|
-
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
360
|
+
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "hidden_match" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
360
361
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
361
362
|
driven?: "harness" | undefined;
|
|
362
363
|
browser?: string | undefined;
|
|
363
364
|
uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "journal_loss" | "other" | undefined;
|
|
364
365
|
}, {
|
|
366
|
+
passed: boolean;
|
|
365
367
|
verified: string;
|
|
366
368
|
via: string;
|
|
367
|
-
passed: boolean;
|
|
368
369
|
falseGreenCaught: boolean;
|
|
369
370
|
durationMs?: number | undefined;
|
|
370
|
-
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
371
|
+
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "hidden_match" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
371
372
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
372
373
|
driven?: "harness" | undefined;
|
|
373
374
|
browser?: string | undefined;
|
|
@@ -515,6 +516,7 @@ export declare const CrashSchema: z.ZodObject<{
|
|
|
515
516
|
kind: string;
|
|
516
517
|
message?: string | undefined;
|
|
517
518
|
tool?: string | undefined;
|
|
519
|
+
frames?: string[] | undefined;
|
|
518
520
|
errorType?: string | undefined;
|
|
519
521
|
port?: "reticle" | "other" | undefined;
|
|
520
522
|
fingerprint?: string | undefined;
|
|
@@ -526,7 +528,6 @@ export declare const CrashSchema: z.ZodObject<{
|
|
|
526
528
|
load1x100: number;
|
|
527
529
|
cpuCount: number;
|
|
528
530
|
} | undefined;
|
|
529
|
-
frames?: string[] | undefined;
|
|
530
531
|
breadcrumb?: string[] | undefined;
|
|
531
532
|
nodeVersion?: string | undefined;
|
|
532
533
|
arch?: string | undefined;
|
|
@@ -538,6 +539,7 @@ export declare const CrashSchema: z.ZodObject<{
|
|
|
538
539
|
kind: string;
|
|
539
540
|
message?: string | undefined;
|
|
540
541
|
tool?: string | undefined;
|
|
542
|
+
frames?: string[] | undefined;
|
|
541
543
|
errorType?: string | undefined;
|
|
542
544
|
port?: "reticle" | "other" | undefined;
|
|
543
545
|
fingerprint?: string | undefined;
|
|
@@ -549,7 +551,6 @@ export declare const CrashSchema: z.ZodObject<{
|
|
|
549
551
|
load1x100: number;
|
|
550
552
|
cpuCount: number;
|
|
551
553
|
} | undefined;
|
|
552
|
-
frames?: string[] | undefined;
|
|
553
554
|
breadcrumb?: string[] | undefined;
|
|
554
555
|
nodeVersion?: string | undefined;
|
|
555
556
|
arch?: string | undefined;
|
|
@@ -1455,6 +1456,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1455
1456
|
hudControls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1456
1457
|
hudViewMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1457
1458
|
hudPanelMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1459
|
+
hudSlides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1458
1460
|
hudJourney: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1459
1461
|
hudJourneyCut: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1460
1462
|
final: z.ZodBoolean;
|
|
@@ -1526,6 +1528,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1526
1528
|
hudControls?: Record<string, number> | undefined;
|
|
1527
1529
|
hudViewMs?: Record<string, number> | undefined;
|
|
1528
1530
|
hudPanelMs?: Record<string, number> | undefined;
|
|
1531
|
+
hudSlides?: Record<string, number> | undefined;
|
|
1529
1532
|
hudJourney?: string[] | undefined;
|
|
1530
1533
|
hudJourneyCut?: true | undefined;
|
|
1531
1534
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
@@ -1596,6 +1599,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1596
1599
|
hudControls?: Record<string, number> | undefined;
|
|
1597
1600
|
hudViewMs?: Record<string, number> | undefined;
|
|
1598
1601
|
hudPanelMs?: Record<string, number> | undefined;
|
|
1602
|
+
hudSlides?: Record<string, number> | undefined;
|
|
1599
1603
|
hudJourney?: string[] | undefined;
|
|
1600
1604
|
hudJourneyCut?: true | undefined;
|
|
1601
1605
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
@@ -1758,6 +1762,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1758
1762
|
readonly ASSERTION_FAILED: "assertion_failed";
|
|
1759
1763
|
readonly CONTRADICTED: "contradicted";
|
|
1760
1764
|
readonly ALREADY_TRUE: "already_true";
|
|
1765
|
+
readonly HIDDEN_MATCH: "hidden_match";
|
|
1761
1766
|
readonly UNCLEAN_CAPTURE: "unclean_capture";
|
|
1762
1767
|
readonly VACUOUS_GRADE: "vacuous_grade";
|
|
1763
1768
|
readonly NOTHING_DECLARED: "nothing_declared";
|
|
@@ -1795,23 +1800,23 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1795
1800
|
readonly HARNESS: "harness";
|
|
1796
1801
|
}>>;
|
|
1797
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1803
|
+
passed: boolean;
|
|
1798
1804
|
verified: string;
|
|
1799
1805
|
via: string;
|
|
1800
|
-
passed: boolean;
|
|
1801
1806
|
falseGreenCaught: boolean;
|
|
1802
1807
|
durationMs?: number | undefined;
|
|
1803
|
-
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
1808
|
+
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "hidden_match" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
1804
1809
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
1805
1810
|
driven?: "harness" | undefined;
|
|
1806
1811
|
browser?: string | undefined;
|
|
1807
1812
|
uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "journal_loss" | "other" | undefined;
|
|
1808
1813
|
}, {
|
|
1814
|
+
passed: boolean;
|
|
1809
1815
|
verified: string;
|
|
1810
1816
|
via: string;
|
|
1811
|
-
passed: boolean;
|
|
1812
1817
|
falseGreenCaught: boolean;
|
|
1813
1818
|
durationMs?: number | undefined;
|
|
1814
|
-
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
1819
|
+
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "hidden_match" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
1815
1820
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
1816
1821
|
driven?: "harness" | undefined;
|
|
1817
1822
|
browser?: string | undefined;
|
|
@@ -1939,6 +1944,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1939
1944
|
kind: string;
|
|
1940
1945
|
message?: string | undefined;
|
|
1941
1946
|
tool?: string | undefined;
|
|
1947
|
+
frames?: string[] | undefined;
|
|
1942
1948
|
errorType?: string | undefined;
|
|
1943
1949
|
port?: "reticle" | "other" | undefined;
|
|
1944
1950
|
fingerprint?: string | undefined;
|
|
@@ -1950,7 +1956,6 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1950
1956
|
load1x100: number;
|
|
1951
1957
|
cpuCount: number;
|
|
1952
1958
|
} | undefined;
|
|
1953
|
-
frames?: string[] | undefined;
|
|
1954
1959
|
breadcrumb?: string[] | undefined;
|
|
1955
1960
|
nodeVersion?: string | undefined;
|
|
1956
1961
|
arch?: string | undefined;
|
|
@@ -1962,6 +1967,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1962
1967
|
kind: string;
|
|
1963
1968
|
message?: string | undefined;
|
|
1964
1969
|
tool?: string | undefined;
|
|
1970
|
+
frames?: string[] | undefined;
|
|
1965
1971
|
errorType?: string | undefined;
|
|
1966
1972
|
port?: "reticle" | "other" | undefined;
|
|
1967
1973
|
fingerprint?: string | undefined;
|
|
@@ -1973,7 +1979,6 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1973
1979
|
load1x100: number;
|
|
1974
1980
|
cpuCount: number;
|
|
1975
1981
|
} | undefined;
|
|
1976
|
-
frames?: string[] | undefined;
|
|
1977
1982
|
breadcrumb?: string[] | undefined;
|
|
1978
1983
|
nodeVersion?: string | undefined;
|
|
1979
1984
|
arch?: string | undefined;
|
|
@@ -2114,7 +2119,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2114
2119
|
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
2115
2120
|
}, "strip", z.ZodTypeAny, {
|
|
2116
2121
|
step: string;
|
|
2117
|
-
status: "skipped" | "completed" | "
|
|
2122
|
+
status: "skipped" | "completed" | "failed" | "started" | "abandoned";
|
|
2118
2123
|
phase: "install" | "onboard" | "first_run";
|
|
2119
2124
|
reason?: string | undefined;
|
|
2120
2125
|
stack?: string | undefined;
|
|
@@ -2122,7 +2127,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2122
2127
|
unattended?: boolean | undefined;
|
|
2123
2128
|
}, {
|
|
2124
2129
|
step: string;
|
|
2125
|
-
status: "skipped" | "completed" | "
|
|
2130
|
+
status: "skipped" | "completed" | "failed" | "started" | "abandoned";
|
|
2126
2131
|
phase: "install" | "onboard" | "first_run";
|
|
2127
2132
|
reason?: string | undefined;
|
|
2128
2133
|
stack?: string | undefined;
|
|
@@ -2243,6 +2248,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2243
2248
|
readonly AUTH_REFUSED: "auth_refused";
|
|
2244
2249
|
readonly LEASE_EXPIRED: "lease_expired";
|
|
2245
2250
|
readonly TAB_GONE: "tab_gone";
|
|
2251
|
+
readonly NAVIGATED_AWAY: "navigated_away";
|
|
2246
2252
|
readonly ROUTE_SERVER_ERROR: "route_server_error";
|
|
2247
2253
|
readonly APP_NOT_REOPENED: "app_not_reopened";
|
|
2248
2254
|
readonly CONFIG_ELSEWHERE: "config_elsewhere";
|
|
@@ -2256,12 +2262,12 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2256
2262
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2257
2263
|
tool: string;
|
|
2258
2264
|
retried: boolean;
|
|
2259
|
-
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2265
|
+
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "navigated_away" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2260
2266
|
}, {
|
|
2261
2267
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2262
2268
|
tool: string;
|
|
2263
2269
|
retried: boolean;
|
|
2264
|
-
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2270
|
+
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "navigated_away" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2265
2271
|
}>>;
|
|
2266
2272
|
/** Only on `mcp_connection_lost`: which stage of the outage, why, and after how many retries. */
|
|
2267
2273
|
outage: z.ZodOptional<z.ZodObject<{
|
|
@@ -2529,6 +2535,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2529
2535
|
hudControls?: Record<string, number> | undefined;
|
|
2530
2536
|
hudViewMs?: Record<string, number> | undefined;
|
|
2531
2537
|
hudPanelMs?: Record<string, number> | undefined;
|
|
2538
|
+
hudSlides?: Record<string, number> | undefined;
|
|
2532
2539
|
hudJourney?: string[] | undefined;
|
|
2533
2540
|
hudJourneyCut?: true | undefined;
|
|
2534
2541
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
@@ -2540,12 +2547,12 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2540
2547
|
actor?: "human" | "agent" | undefined;
|
|
2541
2548
|
flags?: string[] | undefined;
|
|
2542
2549
|
verification?: {
|
|
2550
|
+
passed: boolean;
|
|
2543
2551
|
verified: string;
|
|
2544
2552
|
via: string;
|
|
2545
|
-
passed: boolean;
|
|
2546
2553
|
falseGreenCaught: boolean;
|
|
2547
2554
|
durationMs?: number | undefined;
|
|
2548
|
-
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
2555
|
+
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "hidden_match" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
2549
2556
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
2550
2557
|
driven?: "harness" | undefined;
|
|
2551
2558
|
browser?: string | undefined;
|
|
@@ -2561,6 +2568,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2561
2568
|
kind: string;
|
|
2562
2569
|
message?: string | undefined;
|
|
2563
2570
|
tool?: string | undefined;
|
|
2571
|
+
frames?: string[] | undefined;
|
|
2564
2572
|
errorType?: string | undefined;
|
|
2565
2573
|
port?: "reticle" | "other" | undefined;
|
|
2566
2574
|
fingerprint?: string | undefined;
|
|
@@ -2572,7 +2580,6 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2572
2580
|
load1x100: number;
|
|
2573
2581
|
cpuCount: number;
|
|
2574
2582
|
} | undefined;
|
|
2575
|
-
frames?: string[] | undefined;
|
|
2576
2583
|
breadcrumb?: string[] | undefined;
|
|
2577
2584
|
nodeVersion?: string | undefined;
|
|
2578
2585
|
arch?: string | undefined;
|
|
@@ -2601,7 +2608,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2601
2608
|
} | undefined;
|
|
2602
2609
|
onboarding?: {
|
|
2603
2610
|
step: string;
|
|
2604
|
-
status: "skipped" | "completed" | "
|
|
2611
|
+
status: "skipped" | "completed" | "failed" | "started" | "abandoned";
|
|
2605
2612
|
phase: "install" | "onboard" | "first_run";
|
|
2606
2613
|
reason?: string | undefined;
|
|
2607
2614
|
stack?: string | undefined;
|
|
@@ -2612,7 +2619,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2612
2619
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2613
2620
|
tool: string;
|
|
2614
2621
|
retried: boolean;
|
|
2615
|
-
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2622
|
+
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "navigated_away" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2616
2623
|
} | undefined;
|
|
2617
2624
|
outage?: {
|
|
2618
2625
|
reason: "other" | "sse_ended" | "daemon_shutdown" | "sse_error" | "sse_aborted" | "sse_closed" | "connect_error";
|
|
@@ -2627,7 +2634,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2627
2634
|
} | undefined;
|
|
2628
2635
|
installSource?: "unknown" | "skill_file" | "npx_skill" | "plugin" | "docs_site" | "readme" | "cli_direct" | undefined;
|
|
2629
2636
|
licenseId?: string | undefined;
|
|
2630
|
-
licenseStatus?: "active" | "
|
|
2637
|
+
licenseStatus?: "active" | "invalid" | "missing" | "expired" | "eval" | undefined;
|
|
2631
2638
|
}, {
|
|
2632
2639
|
event: "reticle_installed" | "cli_command_run" | "daemon_started" | "daemon_stopped" | "session_progress" | "verification_completed" | "project_profiled" | "version_changed" | "runtime_crashed" | "feedback_submitted" | "identified" | "mcp_client_connected" | "app_instrumented" | "mcp_connection_lost" | "init_completed" | "onboarding_step" | "bug_found" | "tool_refused";
|
|
2633
2640
|
ci: boolean;
|
|
@@ -2755,6 +2762,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2755
2762
|
hudControls?: Record<string, number> | undefined;
|
|
2756
2763
|
hudViewMs?: Record<string, number> | undefined;
|
|
2757
2764
|
hudPanelMs?: Record<string, number> | undefined;
|
|
2765
|
+
hudSlides?: Record<string, number> | undefined;
|
|
2758
2766
|
hudJourney?: string[] | undefined;
|
|
2759
2767
|
hudJourneyCut?: true | undefined;
|
|
2760
2768
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
@@ -2766,12 +2774,12 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2766
2774
|
actor?: "human" | "agent" | undefined;
|
|
2767
2775
|
flags?: string[] | undefined;
|
|
2768
2776
|
verification?: {
|
|
2777
|
+
passed: boolean;
|
|
2769
2778
|
verified: string;
|
|
2770
2779
|
via: string;
|
|
2771
|
-
passed: boolean;
|
|
2772
2780
|
falseGreenCaught: boolean;
|
|
2773
2781
|
durationMs?: number | undefined;
|
|
2774
|
-
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
2782
|
+
reason?: "version_skew" | "capability-absent" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "hidden_match" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
|
|
2775
2783
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
2776
2784
|
driven?: "harness" | undefined;
|
|
2777
2785
|
browser?: string | undefined;
|
|
@@ -2787,6 +2795,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2787
2795
|
kind: string;
|
|
2788
2796
|
message?: string | undefined;
|
|
2789
2797
|
tool?: string | undefined;
|
|
2798
|
+
frames?: string[] | undefined;
|
|
2790
2799
|
errorType?: string | undefined;
|
|
2791
2800
|
port?: "reticle" | "other" | undefined;
|
|
2792
2801
|
fingerprint?: string | undefined;
|
|
@@ -2798,7 +2807,6 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2798
2807
|
load1x100: number;
|
|
2799
2808
|
cpuCount: number;
|
|
2800
2809
|
} | undefined;
|
|
2801
|
-
frames?: string[] | undefined;
|
|
2802
2810
|
breadcrumb?: string[] | undefined;
|
|
2803
2811
|
nodeVersion?: string | undefined;
|
|
2804
2812
|
arch?: string | undefined;
|
|
@@ -2827,7 +2835,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2827
2835
|
} | undefined;
|
|
2828
2836
|
onboarding?: {
|
|
2829
2837
|
step: string;
|
|
2830
|
-
status: "skipped" | "completed" | "
|
|
2838
|
+
status: "skipped" | "completed" | "failed" | "started" | "abandoned";
|
|
2831
2839
|
phase: "install" | "onboard" | "first_run";
|
|
2832
2840
|
reason?: string | undefined;
|
|
2833
2841
|
stack?: string | undefined;
|
|
@@ -2838,7 +2846,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2838
2846
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2839
2847
|
tool: string;
|
|
2840
2848
|
retried: boolean;
|
|
2841
|
-
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2849
|
+
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "navigated_away" | "route_server_error" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2842
2850
|
} | undefined;
|
|
2843
2851
|
outage?: {
|
|
2844
2852
|
reason: "other" | "sse_ended" | "daemon_shutdown" | "sse_error" | "sse_aborted" | "sse_closed" | "connect_error";
|
|
@@ -2853,6 +2861,6 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2853
2861
|
} | undefined;
|
|
2854
2862
|
installSource?: "unknown" | "skill_file" | "npx_skill" | "plugin" | "docs_site" | "readme" | "cli_direct" | undefined;
|
|
2855
2863
|
licenseId?: string | undefined;
|
|
2856
|
-
licenseStatus?: "active" | "
|
|
2864
|
+
licenseStatus?: "active" | "invalid" | "missing" | "expired" | "eval" | undefined;
|
|
2857
2865
|
}>;
|
|
2858
2866
|
export type TelemetryEvent = z.infer<typeof TelemetryEventSchema>;
|
package/dist/tour.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare const TourAnchor: {
|
|
|
39
39
|
readonly APP: "app";
|
|
40
40
|
/** One control in the HUD's toolbar. Ours, so naming it is not a guess. */
|
|
41
41
|
readonly HUD_CHAT: "hud-chat";
|
|
42
|
+
readonly HUD_FLOWS: "hud-flows";
|
|
42
43
|
readonly HUD_ANNOTATE: "hud-annotate";
|
|
43
44
|
readonly HUD_IMPACT: "hud-impact";
|
|
44
45
|
readonly HUD_SETTINGS: "hud-settings";
|
package/dist/tour.js
CHANGED
|
@@ -39,6 +39,7 @@ export const TourAnchor = {
|
|
|
39
39
|
APP: 'app',
|
|
40
40
|
/** One control in the HUD's toolbar. Ours, so naming it is not a guess. */
|
|
41
41
|
HUD_CHAT: 'hud-chat',
|
|
42
|
+
HUD_FLOWS: 'hud-flows',
|
|
42
43
|
HUD_ANNOTATE: 'hud-annotate',
|
|
43
44
|
HUD_IMPACT: 'hud-impact',
|
|
44
45
|
HUD_SETTINGS: 'hud-settings',
|
|
@@ -136,17 +137,24 @@ export const TOUR_STEPS = [
|
|
|
136
137
|
export const TOUR_HUD_STEPS = [
|
|
137
138
|
{
|
|
138
139
|
id: 'hud-chat',
|
|
139
|
-
title: '
|
|
140
|
-
say: 'Watch what your agent is doing in your app, as it happens.',
|
|
140
|
+
title: 'Agent Log',
|
|
141
|
+
say: 'Watch what your agent is doing in your app, as it happens, and which steps it proved.',
|
|
141
142
|
anchor: TourAnchor.HUD_CHAT,
|
|
142
143
|
tryIt: 'Open it.',
|
|
143
144
|
},
|
|
145
|
+
{
|
|
146
|
+
id: 'hud-flows',
|
|
147
|
+
title: 'Saved flows',
|
|
148
|
+
say: 'Every journey your agent verifies is saved here. Replay one with a click, with no agent in the loop.',
|
|
149
|
+
anchor: TourAnchor.HUD_FLOWS,
|
|
150
|
+
tryIt: 'Open them.',
|
|
151
|
+
},
|
|
144
152
|
{
|
|
145
153
|
id: 'hud-annotate',
|
|
146
|
-
title: '
|
|
147
|
-
say: '
|
|
154
|
+
title: 'Notes',
|
|
155
|
+
say: 'Open Notes, then click anywhere in your app to drop a numbered pin with a note. Hand the pins to your agent and it fixes them.',
|
|
148
156
|
anchor: TourAnchor.HUD_ANNOTATE,
|
|
149
|
-
tryIt: '
|
|
157
|
+
tryIt: 'Open Notes, then pin something in your app.',
|
|
150
158
|
},
|
|
151
159
|
{
|
|
152
160
|
id: 'hud-impact',
|
|
@@ -87,6 +87,9 @@ export type ExpectedLink = {
|
|
|
87
87
|
kind: typeof ConsequenceKind.NET;
|
|
88
88
|
urlContains: string;
|
|
89
89
|
status?: number;
|
|
90
|
+
/** The method the clause named, when it named one — a claim about `GET /save` is not a claim
|
|
91
|
+
* about the `POST /save` that is still pending. */
|
|
92
|
+
method?: string;
|
|
90
93
|
} | {
|
|
91
94
|
kind: typeof ConsequenceKind.STATE;
|
|
92
95
|
name: string;
|
|
@@ -124,6 +124,11 @@ export declare const ContradictionKind: {
|
|
|
124
124
|
* exactly the number on the screen, so every other channel agrees it is correct.
|
|
125
125
|
*/
|
|
126
126
|
readonly UNIT_MISMATCH: "unit-mismatch";
|
|
127
|
+
/**
|
|
128
|
+
* The page label moved ("Page 2") while the app re-requested the page it already had (`page=1`):
|
|
129
|
+
* everything past the first page is unreachable, and every channel on its own looks healthy.
|
|
130
|
+
*/
|
|
131
|
+
readonly PAGINATION_NOT_FETCHED: "pagination-not-fetched";
|
|
127
132
|
/**
|
|
128
133
|
* A write returned success and its OWN echo shows a field it was asked to set was not applied.
|
|
129
134
|
*
|
package/dist/verdict/findings.js
CHANGED
|
@@ -93,6 +93,11 @@ export const ContradictionKind = {
|
|
|
93
93
|
* exactly the number on the screen, so every other channel agrees it is correct.
|
|
94
94
|
*/
|
|
95
95
|
UNIT_MISMATCH: 'unit-mismatch',
|
|
96
|
+
/**
|
|
97
|
+
* The page label moved ("Page 2") while the app re-requested the page it already had (`page=1`):
|
|
98
|
+
* everything past the first page is unreachable, and every channel on its own looks healthy.
|
|
99
|
+
*/
|
|
100
|
+
PAGINATION_NOT_FETCHED: 'pagination-not-fetched',
|
|
96
101
|
/**
|
|
97
102
|
* A write returned success and its OWN echo shows a field it was asked to set was not applied.
|
|
98
103
|
*
|
|
@@ -358,6 +363,8 @@ export const CONTRADICTION_CHANNELS = {
|
|
|
358
363
|
// Both sides are the server's own answer: the status line and the payload under it.
|
|
359
364
|
[ContradictionKind.PARTIAL_FAILURE_IN_OK_RESPONSE]: [ChannelId.NET, ChannelId.NET],
|
|
360
365
|
[ContradictionKind.UNIT_MISMATCH]: [ChannelId.UI, ChannelId.NET],
|
|
366
|
+
// The label the UI shows against the query string it sent.
|
|
367
|
+
[ContradictionKind.PAGINATION_NOT_FETCHED]: [ChannelId.UI, ChannelId.NET],
|
|
361
368
|
// What was sent against what came back -- the request and its echo, neither derived from the click.
|
|
362
369
|
[ContradictionKind.WRITE_FIELD_IGNORED]: [ChannelId.NET, ChannelId.NET],
|
|
363
370
|
[ContradictionKind.REQUEST_NEVER_SETTLED]: [ChannelId.TIME, ChannelId.NET],
|
|
@@ -127,6 +127,20 @@ export type Predicate = {
|
|
|
127
127
|
kind: typeof PredicateKind.NOT;
|
|
128
128
|
predicate: Predicate;
|
|
129
129
|
};
|
|
130
|
+
/**
|
|
131
|
+
* Element-query fields an agent writes FLAT on an `element` predicate instead of nested under
|
|
132
|
+
* `query`. `reticle_query` takes exactly these at the top level, so an agent that has just located
|
|
133
|
+
* something writes the same words again when it asserts on it — and got `query: Required` plus an
|
|
134
|
+
* `unknown field` list for its trouble. Lifting them is unambiguous: they have no other meaning on
|
|
135
|
+
* this kind.
|
|
136
|
+
*
|
|
137
|
+
* Derived from the schema rather than listed beside it. The hand-written list this replaces had
|
|
138
|
+
* already fallen four fields behind `ElementQuerySchema` — `scope`, `self`, `attrs` and `source` —
|
|
139
|
+
* so a flat `scope` was refused as an unknown key on the predicate while `reticle_look` accepts it
|
|
140
|
+
* at the top level, and the agent that had just scoped a search wrote the word it had been taught.
|
|
141
|
+
* A list beside a schema is a list that drifts; a list read FROM the schema cannot.
|
|
142
|
+
*/
|
|
143
|
+
export declare const ELEMENT_QUERY_FIELDS: readonly (keyof ElementQuery)[];
|
|
130
144
|
export declare const PredicateSchema: z.ZodType<Predicate>;
|
|
131
145
|
/**
|
|
132
146
|
* The fields one predicate kind accepts, as the schema itself declares them.
|
|
@@ -76,19 +76,14 @@ const KIND_SPELLING = 'type';
|
|
|
76
76
|
* something writes the same words again when it asserts on it — and got `query: Required` plus an
|
|
77
77
|
* `unknown field` list for its trouble. Lifting them is unambiguous: they have no other meaning on
|
|
78
78
|
* this kind.
|
|
79
|
+
*
|
|
80
|
+
* Derived from the schema rather than listed beside it. The hand-written list this replaces had
|
|
81
|
+
* already fallen four fields behind `ElementQuerySchema` — `scope`, `self`, `attrs` and `source` —
|
|
82
|
+
* so a flat `scope` was refused as an unknown key on the predicate while `reticle_look` accepts it
|
|
83
|
+
* at the top level, and the agent that had just scoped a search wrote the word it had been taught.
|
|
84
|
+
* A list beside a schema is a list that drifts; a list read FROM the schema cannot.
|
|
79
85
|
*/
|
|
80
|
-
const ELEMENT_QUERY_FIELDS =
|
|
81
|
-
'by',
|
|
82
|
-
'value',
|
|
83
|
-
'role',
|
|
84
|
-
'name',
|
|
85
|
-
'text',
|
|
86
|
-
'label',
|
|
87
|
-
'placeholder',
|
|
88
|
-
'testid',
|
|
89
|
-
'alt',
|
|
90
|
-
'component',
|
|
91
|
-
];
|
|
86
|
+
export const ELEMENT_QUERY_FIELDS = Object.keys(ElementQuerySchema.shape);
|
|
92
87
|
/** `type` read as the discriminator when — and only when — `kind` is absent. */
|
|
93
88
|
function renameKindSpelling(obj) {
|
|
94
89
|
if (obj['kind'] !== undefined || 'string' !== typeof obj[KIND_SPELLING])
|
|
@@ -71,6 +71,7 @@ const OWNER = {
|
|
|
71
71
|
[VerifiedReason.NOTHING_DECLARED]: VerdictAttribution.HARNESS,
|
|
72
72
|
[VerifiedReason.VACUOUS_GRADE]: VerdictAttribution.HARNESS,
|
|
73
73
|
[VerifiedReason.ALREADY_TRUE]: VerdictAttribution.HARNESS,
|
|
74
|
+
[VerifiedReason.HIDDEN_MATCH]: VerdictAttribution.HARNESS,
|
|
74
75
|
// The evidence was not there to read.
|
|
75
76
|
[VerifiedReason.CAPABILITY_ABSENT]: VerdictAttribution.COULD_NOT_SEE,
|
|
76
77
|
[VerifiedReason.OBSERVATION_LOST]: VerdictAttribution.COULD_NOT_SEE,
|
|
@@ -255,6 +255,8 @@ export declare const RunFlowRecordingSchema: z.ZodObject<{
|
|
|
255
255
|
/** A flow that was replayed as part of the run. */
|
|
256
256
|
export declare const RunFlowResultSchema: z.ZodObject<{
|
|
257
257
|
name: z.ZodString;
|
|
258
|
+
/** The saved flow this replayed copy was generated from — see the flow file's `template`. */
|
|
259
|
+
template: z.ZodOptional<z.ZodString>;
|
|
258
260
|
status: z.ZodNativeEnum<{
|
|
259
261
|
readonly PASS: "pass";
|
|
260
262
|
readonly FAIL: "fail";
|
|
@@ -336,6 +338,7 @@ export declare const RunFlowResultSchema: z.ZodObject<{
|
|
|
336
338
|
to: string;
|
|
337
339
|
consequenceVerified: boolean;
|
|
338
340
|
} | undefined;
|
|
341
|
+
template?: string | undefined;
|
|
339
342
|
oracle?: string | undefined;
|
|
340
343
|
evidenceRef?: string | undefined;
|
|
341
344
|
failureReason?: string | undefined;
|
|
@@ -364,6 +367,7 @@ export declare const RunFlowResultSchema: z.ZodObject<{
|
|
|
364
367
|
to: string;
|
|
365
368
|
consequenceVerified: boolean;
|
|
366
369
|
} | undefined;
|
|
370
|
+
template?: string | undefined;
|
|
367
371
|
oracle?: string | undefined;
|
|
368
372
|
evidenceRef?: string | undefined;
|
|
369
373
|
failureReason?: string | undefined;
|
|
@@ -884,6 +888,12 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
884
888
|
locator?: string | undefined;
|
|
885
889
|
revision?: string | undefined;
|
|
886
890
|
}>>;
|
|
891
|
+
/**
|
|
892
|
+
* The prompt this verification answered, when the agent relayed one. Loose here because this
|
|
893
|
+
* schema loads with every page; its shape is `PromptContextSchema` in `@reticlehq/core/artifacts`,
|
|
894
|
+
* which the daemon writes and reads it with.
|
|
895
|
+
*/
|
|
896
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
887
897
|
changedFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
888
898
|
path: z.ZodString;
|
|
889
899
|
changeKind: z.ZodNativeEnum<{
|
|
@@ -912,6 +922,8 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
912
922
|
}>, "many">>;
|
|
913
923
|
flows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
914
924
|
name: z.ZodString;
|
|
925
|
+
/** The saved flow this replayed copy was generated from — see the flow file's `template`. */
|
|
926
|
+
template: z.ZodOptional<z.ZodString>;
|
|
915
927
|
status: z.ZodNativeEnum<{
|
|
916
928
|
readonly PASS: "pass";
|
|
917
929
|
readonly FAIL: "fail";
|
|
@@ -993,6 +1005,7 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
993
1005
|
to: string;
|
|
994
1006
|
consequenceVerified: boolean;
|
|
995
1007
|
} | undefined;
|
|
1008
|
+
template?: string | undefined;
|
|
996
1009
|
oracle?: string | undefined;
|
|
997
1010
|
evidenceRef?: string | undefined;
|
|
998
1011
|
failureReason?: string | undefined;
|
|
@@ -1021,6 +1034,7 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1021
1034
|
to: string;
|
|
1022
1035
|
consequenceVerified: boolean;
|
|
1023
1036
|
} | undefined;
|
|
1037
|
+
template?: string | undefined;
|
|
1024
1038
|
oracle?: string | undefined;
|
|
1025
1039
|
evidenceRef?: string | undefined;
|
|
1026
1040
|
failureReason?: string | undefined;
|
|
@@ -1448,6 +1462,7 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1448
1462
|
to: string;
|
|
1449
1463
|
consequenceVerified: boolean;
|
|
1450
1464
|
} | undefined;
|
|
1465
|
+
template?: string | undefined;
|
|
1451
1466
|
oracle?: string | undefined;
|
|
1452
1467
|
evidenceRef?: string | undefined;
|
|
1453
1468
|
failureReason?: string | undefined;
|
|
@@ -1554,6 +1569,7 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1554
1569
|
locator?: string | undefined;
|
|
1555
1570
|
revision?: string | undefined;
|
|
1556
1571
|
} | undefined;
|
|
1572
|
+
context?: Record<string, unknown> | undefined;
|
|
1557
1573
|
repair?: {
|
|
1558
1574
|
failurePackets: {
|
|
1559
1575
|
expected: string;
|
|
@@ -1643,6 +1659,7 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1643
1659
|
to: string;
|
|
1644
1660
|
consequenceVerified: boolean;
|
|
1645
1661
|
} | undefined;
|
|
1662
|
+
template?: string | undefined;
|
|
1646
1663
|
oracle?: string | undefined;
|
|
1647
1664
|
evidenceRef?: string | undefined;
|
|
1648
1665
|
failureReason?: string | undefined;
|
|
@@ -1666,6 +1683,7 @@ export declare const ReticleVerificationRunSchema: z.ZodObject<{
|
|
|
1666
1683
|
locator?: string | undefined;
|
|
1667
1684
|
revision?: string | undefined;
|
|
1668
1685
|
} | undefined;
|
|
1686
|
+
context?: Record<string, unknown> | undefined;
|
|
1669
1687
|
changedFiles?: {
|
|
1670
1688
|
path: string;
|
|
1671
1689
|
changeKind: "added" | "modified" | "deleted";
|
|
@@ -220,6 +220,8 @@ export const RunFlowRecordingSchema = z.object({
|
|
|
220
220
|
/** A flow that was replayed as part of the run. */
|
|
221
221
|
export const RunFlowResultSchema = z.object({
|
|
222
222
|
name: z.string(),
|
|
223
|
+
/** The saved flow this replayed copy was generated from — see the flow file's `template`. */
|
|
224
|
+
template: z.string().optional(),
|
|
223
225
|
status: z.nativeEnum(RunFlowStatus),
|
|
224
226
|
steps: z.number(),
|
|
225
227
|
durationMs: z.number(),
|
|
@@ -428,6 +430,12 @@ export const ReticleVerificationRunSchema = z.object({
|
|
|
428
430
|
* an invented subject is worse than an absent one.
|
|
429
431
|
*/
|
|
430
432
|
subject: SubjectRefSchema.optional(),
|
|
433
|
+
/**
|
|
434
|
+
* The prompt this verification answered, when the agent relayed one. Loose here because this
|
|
435
|
+
* schema loads with every page; its shape is `PromptContextSchema` in `@reticlehq/core/artifacts`,
|
|
436
|
+
* which the daemon writes and reads it with.
|
|
437
|
+
*/
|
|
438
|
+
context: z.record(z.unknown()).optional(),
|
|
431
439
|
changedFiles: z.array(RunChangedFileSchema).default([]),
|
|
432
440
|
flows: z.array(RunFlowResultSchema).default([]),
|
|
433
441
|
checks: z.array(RunCheckSchema).default([]),
|