@reticlehq/core 3.2.0 → 3.3.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/flow-composition.d.ts +3 -2
- package/dist/artifacts/flow-constants.d.ts +49 -2
- package/dist/artifacts/flow-constants.js +49 -2
- package/dist/artifacts/flow-expect-flat.d.ts +260 -0
- package/dist/artifacts/flow-expect-flat.js +284 -0
- package/dist/artifacts/flow-mutation-target.d.ts +0 -1
- package/dist/artifacts/flow-mutation-target.js +26 -2
- package/dist/artifacts/flow-step-tool.d.ts +2 -0
- package/dist/artifacts/flow-types.d.ts +1074 -1228
- package/dist/artifacts/flow-types.js +96 -140
- package/dist/artifacts/impact.d.ts +48 -20
- package/dist/artifacts/impact.js +11 -0
- package/dist/artifacts/journal.d.ts +33 -6
- package/dist/artifacts/journal.js +13 -0
- package/dist/hooks/hook-events.d.ts +18 -18
- package/dist/hud-entry.d.ts +9 -0
- package/dist/hud-entry.js +9 -0
- package/dist/identity/source-constants.d.ts +11 -0
- package/dist/identity/source-constants.js +11 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +24 -1
- package/dist/onboarding.d.ts +2 -2
- package/dist/realm/registry.d.ts +0 -8
- package/dist/realm/registry.js +1 -11
- package/dist/schema/event-message.json +3 -1
- package/dist/schema/event-payloads.json +69 -0
- package/dist/schema/event-type.json +3 -1
- package/dist/schema/reticle-event.json +3 -1
- package/dist/schema/reticle-message.json +3 -1
- package/dist/source-constants.cjs +1 -0
- package/dist/source-constants.d.cts +1 -0
- package/dist/telemetry-feedback.d.ts +6 -6
- package/dist/telemetry-refusal.d.ts +2 -2
- package/dist/telemetry-session.d.ts +25 -2
- package/dist/telemetry-session.js +13 -0
- package/dist/telemetry.d.ts +121 -94
- package/dist/verdict/consequence.d.ts +10 -0
- package/dist/verdict/consequence.js +13 -0
- package/dist/verdict/intent.d.ts +36 -12
- package/dist/verdict/intent.js +66 -10
- package/dist/verdict/predicate-tree.d.ts +47 -0
- package/dist/verdict/predicate-tree.js +146 -0
- package/dist/verdict/predicate.d.ts +129 -0
- package/dist/verdict/predicate.js +394 -0
- package/dist/verdict/property-assertion.d.ts +191 -0
- package/dist/verdict/property-assertion.js +42 -0
- package/dist/verdict/security.js +16 -4
- package/dist/verdict/verdict-attribution.d.ts +52 -0
- package/dist/verdict/verdict-attribution.js +87 -0
- package/dist/verdict/verification-run.d.ts +98 -84
- package/dist/verdict/verification-run.js +8 -1
- package/dist/verdict/verified-constants.d.ts +9 -0
- package/dist/verdict/verified-constants.js +9 -0
- package/dist/wire/constants/constants.d.ts +20 -98
- package/dist/wire/constants/constants.js +22 -97
- package/dist/wire/constants/discovery.d.ts +25 -0
- package/dist/wire/constants/discovery.js +25 -0
- package/dist/wire/constants/event-types.d.ts +122 -0
- package/dist/wire/constants/event-types.js +121 -0
- package/dist/wire/constants/hud-controls.d.ts +19 -0
- package/dist/wire/constants/hud-controls.js +95 -0
- package/dist/wire/constants/hud-use.d.ts +27 -0
- package/dist/wire/constants/hud-use.js +24 -0
- package/dist/wire/constants/session-constants.d.ts +10 -0
- package/dist/wire/constants/session-constants.js +10 -0
- package/dist/wire/event-payloads.d.ts +66 -10
- package/dist/wire/event-payloads.js +18 -1
- package/dist/wire/messages.d.ts +89 -48
- package/dist/wire/messages.js +17 -0
- package/dist/wire/net.d.ts +18 -0
- package/dist/wire/net.js +24 -0
- package/dist/wire/state-select.d.ts +2 -1
- package/dist/wire/state-select.js +56 -3
- package/dist/wire/toon.js +28 -7
- package/dist/wire/types.d.ts +91 -66
- package/dist/wire/types.js +23 -1
- package/package.json +5 -1
|
@@ -349,6 +349,19 @@ export const SessionSummarySchema = z.object({
|
|
|
349
349
|
* something was and the nudge did not fire — and only the second is a defect.
|
|
350
350
|
*/
|
|
351
351
|
updateOffered: z.string().max(32).optional(),
|
|
352
|
+
/**
|
|
353
|
+
* How people used the in-page HUD this window. All windowed, all absent when nobody touched it.
|
|
354
|
+
*
|
|
355
|
+
* `hudControls` counts presses per control id (a toggle as `id:on` / `id:off`), `hudViewMs` and
|
|
356
|
+
* `hudPanelMs` time how the HUD sat (bubble / collapsed / expanded) and which panel was showing,
|
|
357
|
+
* and `hudJourney` is the window's presses and view changes in order, cut at 60 with
|
|
358
|
+
* `hudJourneyCut`. Every key is a control id from core's closed list: names, never values.
|
|
359
|
+
*/
|
|
360
|
+
hudControls: z.record(z.number()).optional(),
|
|
361
|
+
hudViewMs: z.record(z.number()).optional(),
|
|
362
|
+
hudPanelMs: z.record(z.number()).optional(),
|
|
363
|
+
hudJourney: z.array(z.string().max(64)).max(60).optional(),
|
|
364
|
+
hudJourneyCut: z.literal(true).optional(),
|
|
352
365
|
/** Was this a clean shutdown, or a periodic flush of a still-running session? */
|
|
353
366
|
final: z.boolean(),
|
|
354
367
|
/**
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -306,6 +306,7 @@ export declare const VerificationSchema: z.ZodObject<{
|
|
|
306
306
|
* no clause behind it, and an older SDK reports none. Absent means unclassified, never guessed.
|
|
307
307
|
*/
|
|
308
308
|
reason: z.ZodOptional<z.ZodNativeEnum<{
|
|
309
|
+
readonly VERSION_SKEW: "version_skew";
|
|
309
310
|
readonly CAPABILITY_ABSENT: "capability-absent";
|
|
310
311
|
readonly INCONCLUSIVE: "inconclusive";
|
|
311
312
|
readonly OBSERVATION_LOST: "observation_lost";
|
|
@@ -354,8 +355,8 @@ export declare const VerificationSchema: z.ZodObject<{
|
|
|
354
355
|
via: string;
|
|
355
356
|
passed: boolean;
|
|
356
357
|
falseGreenCaught: boolean;
|
|
357
|
-
reason?: "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;
|
|
358
358
|
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;
|
|
359
360
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
360
361
|
driven?: "harness" | undefined;
|
|
361
362
|
browser?: string | undefined;
|
|
@@ -365,8 +366,8 @@ export declare const VerificationSchema: z.ZodObject<{
|
|
|
365
366
|
via: string;
|
|
366
367
|
passed: boolean;
|
|
367
368
|
falseGreenCaught: boolean;
|
|
368
|
-
reason?: "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;
|
|
369
369
|
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;
|
|
370
371
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
371
372
|
driven?: "harness" | undefined;
|
|
372
373
|
browser?: string | undefined;
|
|
@@ -389,14 +390,14 @@ export declare const VersionChangeSchema: z.ZodObject<{
|
|
|
389
390
|
/** `update` (forward) or `rollback` (back) — a rollback is a release-quality alarm. */
|
|
390
391
|
direction: z.ZodString;
|
|
391
392
|
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
direction: string;
|
|
393
393
|
from: string;
|
|
394
394
|
to: string;
|
|
395
|
+
direction: string;
|
|
395
396
|
nudged?: boolean | undefined;
|
|
396
397
|
}, {
|
|
397
|
-
direction: string;
|
|
398
398
|
from: string;
|
|
399
399
|
to: string;
|
|
400
|
+
direction: string;
|
|
400
401
|
nudged?: boolean | undefined;
|
|
401
402
|
}>;
|
|
402
403
|
export type VersionChange = z.infer<typeof VersionChangeSchema>;
|
|
@@ -1292,13 +1293,13 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1292
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1293
1294
|
text: string;
|
|
1294
1295
|
kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
|
|
1295
|
-
source: "
|
|
1296
|
+
source: "human" | "agent";
|
|
1296
1297
|
impact?: string | undefined;
|
|
1298
|
+
model?: string | undefined;
|
|
1297
1299
|
trace?: string | undefined;
|
|
1298
1300
|
rating?: number | undefined;
|
|
1299
1301
|
need?: string | undefined;
|
|
1300
1302
|
currentApproach?: string | undefined;
|
|
1301
|
-
model?: string | undefined;
|
|
1302
1303
|
clientVersion?: string | undefined;
|
|
1303
1304
|
stack?: string | undefined;
|
|
1304
1305
|
stackMajor?: number | undefined;
|
|
@@ -1306,17 +1307,17 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1306
1307
|
engine?: "blink" | "gecko" | "webkit" | undefined;
|
|
1307
1308
|
driver?: "cdp" | "sdk" | undefined;
|
|
1308
1309
|
client?: string | undefined;
|
|
1309
|
-
mcpScope?: "
|
|
1310
|
+
mcpScope?: "project" | "user" | undefined;
|
|
1310
1311
|
}, {
|
|
1311
1312
|
text: string;
|
|
1312
1313
|
kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
|
|
1313
|
-
source: "
|
|
1314
|
+
source: "human" | "agent";
|
|
1314
1315
|
impact?: string | undefined;
|
|
1316
|
+
model?: string | undefined;
|
|
1315
1317
|
trace?: string | undefined;
|
|
1316
1318
|
rating?: number | undefined;
|
|
1317
1319
|
need?: string | undefined;
|
|
1318
1320
|
currentApproach?: string | undefined;
|
|
1319
|
-
model?: string | undefined;
|
|
1320
1321
|
clientVersion?: string | undefined;
|
|
1321
1322
|
stack?: string | undefined;
|
|
1322
1323
|
stackMajor?: number | undefined;
|
|
@@ -1324,7 +1325,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1324
1325
|
engine?: "blink" | "gecko" | "webkit" | undefined;
|
|
1325
1326
|
driver?: "cdp" | "sdk" | undefined;
|
|
1326
1327
|
client?: string | undefined;
|
|
1327
|
-
mcpScope?: "
|
|
1328
|
+
mcpScope?: "project" | "user" | undefined;
|
|
1328
1329
|
}>>;
|
|
1329
1330
|
/** Human or agent. Absent on events that are neither (a crash, a version change). */
|
|
1330
1331
|
actor: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -1451,6 +1452,11 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1451
1452
|
endedWithVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
1452
1453
|
updateNudged: z.ZodOptional<z.ZodBoolean>;
|
|
1453
1454
|
updateOffered: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
hudControls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1456
|
+
hudViewMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1457
|
+
hudPanelMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1458
|
+
hudJourney: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1459
|
+
hudJourneyCut: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1454
1460
|
final: z.ZodBoolean;
|
|
1455
1461
|
exit: z.ZodOptional<z.ZodEnum<["idle", "signal", "unknown"]>>;
|
|
1456
1462
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1517,6 +1523,11 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1517
1523
|
endedWithVerdict?: boolean | undefined;
|
|
1518
1524
|
updateNudged?: boolean | undefined;
|
|
1519
1525
|
updateOffered?: string | undefined;
|
|
1526
|
+
hudControls?: Record<string, number> | undefined;
|
|
1527
|
+
hudViewMs?: Record<string, number> | undefined;
|
|
1528
|
+
hudPanelMs?: Record<string, number> | undefined;
|
|
1529
|
+
hudJourney?: string[] | undefined;
|
|
1530
|
+
hudJourneyCut?: true | undefined;
|
|
1520
1531
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
1521
1532
|
}, {
|
|
1522
1533
|
durationMs: number;
|
|
@@ -1582,6 +1593,11 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1582
1593
|
endedWithVerdict?: boolean | undefined;
|
|
1583
1594
|
updateNudged?: boolean | undefined;
|
|
1584
1595
|
updateOffered?: string | undefined;
|
|
1596
|
+
hudControls?: Record<string, number> | undefined;
|
|
1597
|
+
hudViewMs?: Record<string, number> | undefined;
|
|
1598
|
+
hudPanelMs?: Record<string, number> | undefined;
|
|
1599
|
+
hudJourney?: string[] | undefined;
|
|
1600
|
+
hudJourneyCut?: true | undefined;
|
|
1585
1601
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
1586
1602
|
}>>;
|
|
1587
1603
|
/** Only on `project_profiled`: the shape and depth-of-use of the project. */
|
|
@@ -1641,9 +1657,9 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1641
1657
|
featureDepth: number;
|
|
1642
1658
|
stack?: string | undefined;
|
|
1643
1659
|
stackMajor?: number | undefined;
|
|
1660
|
+
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
1644
1661
|
stackSource?: "cwd" | "workspace" | undefined;
|
|
1645
1662
|
stackUnknownReason?: "no_app_found" | "manifest_unrecognised" | "workspace_apps_unrecognised" | "workspace_root_no_apps" | "discovery_failed" | undefined;
|
|
1646
|
-
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
1647
1663
|
monorepo?: boolean | undefined;
|
|
1648
1664
|
forge?: "github" | "gitlab" | "bitbucket" | "azure" | "sourcehut" | "codeberg" | "self_hosted" | undefined;
|
|
1649
1665
|
ageWeeks?: number | undefined;
|
|
@@ -1661,9 +1677,9 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1661
1677
|
featureDepth: number;
|
|
1662
1678
|
stack?: string | undefined;
|
|
1663
1679
|
stackMajor?: number | undefined;
|
|
1680
|
+
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
1664
1681
|
stackSource?: "cwd" | "workspace" | undefined;
|
|
1665
1682
|
stackUnknownReason?: "no_app_found" | "manifest_unrecognised" | "workspace_apps_unrecognised" | "workspace_root_no_apps" | "discovery_failed" | undefined;
|
|
1666
|
-
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
1667
1683
|
monorepo?: boolean | undefined;
|
|
1668
1684
|
forge?: "github" | "gitlab" | "bitbucket" | "azure" | "sourcehut" | "codeberg" | "self_hosted" | undefined;
|
|
1669
1685
|
ageWeeks?: number | undefined;
|
|
@@ -1734,6 +1750,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1734
1750
|
* no clause behind it, and an older SDK reports none. Absent means unclassified, never guessed.
|
|
1735
1751
|
*/
|
|
1736
1752
|
reason: z.ZodOptional<z.ZodNativeEnum<{
|
|
1753
|
+
readonly VERSION_SKEW: "version_skew";
|
|
1737
1754
|
readonly CAPABILITY_ABSENT: "capability-absent";
|
|
1738
1755
|
readonly INCONCLUSIVE: "inconclusive";
|
|
1739
1756
|
readonly OBSERVATION_LOST: "observation_lost";
|
|
@@ -1782,8 +1799,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1782
1799
|
via: string;
|
|
1783
1800
|
passed: boolean;
|
|
1784
1801
|
falseGreenCaught: boolean;
|
|
1785
|
-
reason?: "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;
|
|
1786
1802
|
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;
|
|
1787
1804
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
1788
1805
|
driven?: "harness" | undefined;
|
|
1789
1806
|
browser?: string | undefined;
|
|
@@ -1793,8 +1810,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1793
1810
|
via: string;
|
|
1794
1811
|
passed: boolean;
|
|
1795
1812
|
falseGreenCaught: boolean;
|
|
1796
|
-
reason?: "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;
|
|
1797
1813
|
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;
|
|
1798
1815
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
1799
1816
|
driven?: "harness" | undefined;
|
|
1800
1817
|
browser?: string | undefined;
|
|
@@ -1816,14 +1833,14 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
1816
1833
|
/** `update` (forward) or `rollback` (back) — a rollback is a release-quality alarm. */
|
|
1817
1834
|
direction: z.ZodString;
|
|
1818
1835
|
}, "strip", z.ZodTypeAny, {
|
|
1819
|
-
direction: string;
|
|
1820
1836
|
from: string;
|
|
1821
1837
|
to: string;
|
|
1838
|
+
direction: string;
|
|
1822
1839
|
nudged?: boolean | undefined;
|
|
1823
1840
|
}, {
|
|
1824
|
-
direction: string;
|
|
1825
1841
|
from: string;
|
|
1826
1842
|
to: string;
|
|
1843
|
+
direction: string;
|
|
1827
1844
|
nudged?: boolean | undefined;
|
|
1828
1845
|
}>>;
|
|
1829
1846
|
/** Only on `runtime_crashed`. */
|
|
@@ -2096,16 +2113,16 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2096
2113
|
stack: z.ZodOptional<z.ZodString>;
|
|
2097
2114
|
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
2098
2115
|
}, "strip", z.ZodTypeAny, {
|
|
2099
|
-
status: "skipped" | "started" | "completed" | "failed" | "abandoned";
|
|
2100
2116
|
step: string;
|
|
2117
|
+
status: "skipped" | "completed" | "started" | "failed" | "abandoned";
|
|
2101
2118
|
phase: "install" | "onboard" | "first_run";
|
|
2102
2119
|
reason?: string | undefined;
|
|
2103
2120
|
stack?: string | undefined;
|
|
2104
2121
|
elapsedMs?: number | undefined;
|
|
2105
2122
|
unattended?: boolean | undefined;
|
|
2106
2123
|
}, {
|
|
2107
|
-
status: "skipped" | "started" | "completed" | "failed" | "abandoned";
|
|
2108
2124
|
step: string;
|
|
2125
|
+
status: "skipped" | "completed" | "started" | "failed" | "abandoned";
|
|
2109
2126
|
phase: "install" | "onboard" | "first_run";
|
|
2110
2127
|
reason?: string | undefined;
|
|
2111
2128
|
stack?: string | undefined;
|
|
@@ -2235,13 +2252,13 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2235
2252
|
}>>;
|
|
2236
2253
|
retried: z.ZodBoolean;
|
|
2237
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2238
|
-
tool: string;
|
|
2239
2255
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2256
|
+
tool: string;
|
|
2240
2257
|
retried: boolean;
|
|
2241
2258
|
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2242
2259
|
}, {
|
|
2243
|
-
tool: string;
|
|
2244
2260
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2261
|
+
tool: string;
|
|
2245
2262
|
retried: boolean;
|
|
2246
2263
|
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2247
2264
|
}>>;
|
|
@@ -2386,24 +2403,32 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2386
2403
|
licenseKeyPresent: z.ZodOptional<z.ZodBoolean>;
|
|
2387
2404
|
}, "strip", z.ZodTypeAny, {
|
|
2388
2405
|
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";
|
|
2389
|
-
version: string;
|
|
2390
2406
|
ci: boolean;
|
|
2407
|
+
version: string;
|
|
2391
2408
|
v: 3;
|
|
2392
2409
|
anonymousId: string;
|
|
2393
2410
|
ts: number;
|
|
2394
2411
|
os: string;
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2412
|
+
feedback?: {
|
|
2413
|
+
text: string;
|
|
2414
|
+
kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
|
|
2415
|
+
source: "human" | "agent";
|
|
2416
|
+
impact?: string | undefined;
|
|
2417
|
+
model?: string | undefined;
|
|
2418
|
+
trace?: string | undefined;
|
|
2419
|
+
rating?: number | undefined;
|
|
2420
|
+
need?: string | undefined;
|
|
2421
|
+
currentApproach?: string | undefined;
|
|
2422
|
+
clientVersion?: string | undefined;
|
|
2423
|
+
stack?: string | undefined;
|
|
2424
|
+
stackMajor?: number | undefined;
|
|
2425
|
+
runtime?: "web" | "electron" | "tauri" | undefined;
|
|
2426
|
+
engine?: "blink" | "gecko" | "webkit" | undefined;
|
|
2427
|
+
driver?: "cdp" | "sdk" | undefined;
|
|
2428
|
+
client?: string | undefined;
|
|
2429
|
+
mcpScope?: "project" | "user" | undefined;
|
|
2406
2430
|
} | undefined;
|
|
2431
|
+
command?: string | undefined;
|
|
2407
2432
|
project?: {
|
|
2408
2433
|
git: "none" | "local_only" | "remote";
|
|
2409
2434
|
flowCount: number;
|
|
@@ -2416,15 +2441,26 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2416
2441
|
featureDepth: number;
|
|
2417
2442
|
stack?: string | undefined;
|
|
2418
2443
|
stackMajor?: number | undefined;
|
|
2444
|
+
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
2419
2445
|
stackSource?: "cwd" | "workspace" | undefined;
|
|
2420
2446
|
stackUnknownReason?: "no_app_found" | "manifest_unrecognised" | "workspace_apps_unrecognised" | "workspace_root_no_apps" | "discovery_failed" | undefined;
|
|
2421
|
-
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
2422
2447
|
monorepo?: boolean | undefined;
|
|
2423
2448
|
forge?: "github" | "gitlab" | "bitbucket" | "azure" | "sourcehut" | "codeberg" | "self_hosted" | undefined;
|
|
2424
2449
|
ageWeeks?: number | undefined;
|
|
2425
2450
|
initialized?: boolean | undefined;
|
|
2426
2451
|
appConnectedBefore?: boolean | undefined;
|
|
2427
2452
|
} | undefined;
|
|
2453
|
+
projectId?: string | undefined;
|
|
2454
|
+
sessionId?: string | undefined;
|
|
2455
|
+
bug?: {
|
|
2456
|
+
kind: string;
|
|
2457
|
+
source: "replay" | "contradiction" | "crawl" | "assertion";
|
|
2458
|
+
attribution: "reticle" | "app" | "request" | "unclassified";
|
|
2459
|
+
falseGreen: boolean;
|
|
2460
|
+
repeat: boolean;
|
|
2461
|
+
tool?: string | undefined;
|
|
2462
|
+
fingerprint?: string | undefined;
|
|
2463
|
+
} | undefined;
|
|
2428
2464
|
session?: {
|
|
2429
2465
|
durationMs: number;
|
|
2430
2466
|
toolCalls: number;
|
|
@@ -2489,49 +2525,35 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2489
2525
|
endedWithVerdict?: boolean | undefined;
|
|
2490
2526
|
updateNudged?: boolean | undefined;
|
|
2491
2527
|
updateOffered?: string | undefined;
|
|
2528
|
+
hudControls?: Record<string, number> | undefined;
|
|
2529
|
+
hudViewMs?: Record<string, number> | undefined;
|
|
2530
|
+
hudPanelMs?: Record<string, number> | undefined;
|
|
2531
|
+
hudJourney?: string[] | undefined;
|
|
2532
|
+
hudJourneyCut?: true | undefined;
|
|
2492
2533
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
2493
2534
|
} | undefined;
|
|
2494
2535
|
licenseKeyPresent?: boolean | undefined;
|
|
2495
2536
|
automation?: "container" | "hosted_workspace" | "no_tty" | undefined;
|
|
2496
2537
|
projectIdSource?: "cwd" | "git_origin" | "git_root" | "package_root" | undefined;
|
|
2497
2538
|
tzOffsetMin?: number | undefined;
|
|
2498
|
-
|
|
2499
|
-
text: string;
|
|
2500
|
-
kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
|
|
2501
|
-
source: "agent" | "human";
|
|
2502
|
-
impact?: string | undefined;
|
|
2503
|
-
trace?: string | undefined;
|
|
2504
|
-
rating?: number | undefined;
|
|
2505
|
-
need?: string | undefined;
|
|
2506
|
-
currentApproach?: string | undefined;
|
|
2507
|
-
model?: string | undefined;
|
|
2508
|
-
clientVersion?: string | undefined;
|
|
2509
|
-
stack?: string | undefined;
|
|
2510
|
-
stackMajor?: number | undefined;
|
|
2511
|
-
runtime?: "web" | "electron" | "tauri" | undefined;
|
|
2512
|
-
engine?: "blink" | "gecko" | "webkit" | undefined;
|
|
2513
|
-
driver?: "cdp" | "sdk" | undefined;
|
|
2514
|
-
client?: string | undefined;
|
|
2515
|
-
mcpScope?: "user" | "project" | undefined;
|
|
2516
|
-
} | undefined;
|
|
2517
|
-
actor?: "agent" | "human" | undefined;
|
|
2539
|
+
actor?: "human" | "agent" | undefined;
|
|
2518
2540
|
flags?: string[] | undefined;
|
|
2519
2541
|
verification?: {
|
|
2520
2542
|
verified: string;
|
|
2521
2543
|
via: string;
|
|
2522
2544
|
passed: boolean;
|
|
2523
2545
|
falseGreenCaught: boolean;
|
|
2524
|
-
reason?: "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;
|
|
2525
2546
|
durationMs?: number | undefined;
|
|
2547
|
+
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;
|
|
2526
2548
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
2527
2549
|
driven?: "harness" | undefined;
|
|
2528
2550
|
browser?: string | undefined;
|
|
2529
2551
|
uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "journal_loss" | "other" | undefined;
|
|
2530
2552
|
} | undefined;
|
|
2531
2553
|
versionChange?: {
|
|
2532
|
-
direction: string;
|
|
2533
2554
|
from: string;
|
|
2534
2555
|
to: string;
|
|
2556
|
+
direction: string;
|
|
2535
2557
|
nudged?: boolean | undefined;
|
|
2536
2558
|
} | undefined;
|
|
2537
2559
|
crash?: {
|
|
@@ -2577,8 +2599,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2577
2599
|
confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
|
|
2578
2600
|
} | undefined;
|
|
2579
2601
|
onboarding?: {
|
|
2580
|
-
status: "skipped" | "started" | "completed" | "failed" | "abandoned";
|
|
2581
2602
|
step: string;
|
|
2603
|
+
status: "skipped" | "completed" | "started" | "failed" | "abandoned";
|
|
2582
2604
|
phase: "install" | "onboard" | "first_run";
|
|
2583
2605
|
reason?: string | undefined;
|
|
2584
2606
|
stack?: string | undefined;
|
|
@@ -2586,8 +2608,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2586
2608
|
unattended?: boolean | undefined;
|
|
2587
2609
|
} | undefined;
|
|
2588
2610
|
refusal?: {
|
|
2589
|
-
tool: string;
|
|
2590
2611
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2612
|
+
tool: string;
|
|
2591
2613
|
retried: boolean;
|
|
2592
2614
|
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2593
2615
|
} | undefined;
|
|
@@ -2607,24 +2629,32 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2607
2629
|
licenseStatus?: "active" | "missing" | "invalid" | "expired" | "eval" | undefined;
|
|
2608
2630
|
}, {
|
|
2609
2631
|
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";
|
|
2610
|
-
version: string;
|
|
2611
2632
|
ci: boolean;
|
|
2633
|
+
version: string;
|
|
2612
2634
|
v: 3;
|
|
2613
2635
|
anonymousId: string;
|
|
2614
2636
|
ts: number;
|
|
2615
2637
|
os: string;
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2638
|
+
feedback?: {
|
|
2639
|
+
text: string;
|
|
2640
|
+
kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
|
|
2641
|
+
source: "human" | "agent";
|
|
2642
|
+
impact?: string | undefined;
|
|
2643
|
+
model?: string | undefined;
|
|
2644
|
+
trace?: string | undefined;
|
|
2645
|
+
rating?: number | undefined;
|
|
2646
|
+
need?: string | undefined;
|
|
2647
|
+
currentApproach?: string | undefined;
|
|
2648
|
+
clientVersion?: string | undefined;
|
|
2649
|
+
stack?: string | undefined;
|
|
2650
|
+
stackMajor?: number | undefined;
|
|
2651
|
+
runtime?: "web" | "electron" | "tauri" | undefined;
|
|
2652
|
+
engine?: "blink" | "gecko" | "webkit" | undefined;
|
|
2653
|
+
driver?: "cdp" | "sdk" | undefined;
|
|
2654
|
+
client?: string | undefined;
|
|
2655
|
+
mcpScope?: "project" | "user" | undefined;
|
|
2627
2656
|
} | undefined;
|
|
2657
|
+
command?: string | undefined;
|
|
2628
2658
|
project?: {
|
|
2629
2659
|
git: "none" | "local_only" | "remote";
|
|
2630
2660
|
flowCount: number;
|
|
@@ -2637,15 +2667,26 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2637
2667
|
featureDepth: number;
|
|
2638
2668
|
stack?: string | undefined;
|
|
2639
2669
|
stackMajor?: number | undefined;
|
|
2670
|
+
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
2640
2671
|
stackSource?: "cwd" | "workspace" | undefined;
|
|
2641
2672
|
stackUnknownReason?: "no_app_found" | "manifest_unrecognised" | "workspace_apps_unrecognised" | "workspace_root_no_apps" | "discovery_failed" | undefined;
|
|
2642
|
-
size?: "medium" | "tiny" | "small" | "large" | "huge" | undefined;
|
|
2643
2673
|
monorepo?: boolean | undefined;
|
|
2644
2674
|
forge?: "github" | "gitlab" | "bitbucket" | "azure" | "sourcehut" | "codeberg" | "self_hosted" | undefined;
|
|
2645
2675
|
ageWeeks?: number | undefined;
|
|
2646
2676
|
initialized?: boolean | undefined;
|
|
2647
2677
|
appConnectedBefore?: boolean | undefined;
|
|
2648
2678
|
} | undefined;
|
|
2679
|
+
projectId?: string | undefined;
|
|
2680
|
+
sessionId?: string | undefined;
|
|
2681
|
+
bug?: {
|
|
2682
|
+
kind: string;
|
|
2683
|
+
source: "replay" | "contradiction" | "crawl" | "assertion";
|
|
2684
|
+
attribution: "reticle" | "app" | "request" | "unclassified";
|
|
2685
|
+
falseGreen: boolean;
|
|
2686
|
+
repeat: boolean;
|
|
2687
|
+
tool?: string | undefined;
|
|
2688
|
+
fingerprint?: string | undefined;
|
|
2689
|
+
} | undefined;
|
|
2649
2690
|
session?: {
|
|
2650
2691
|
durationMs: number;
|
|
2651
2692
|
toolCalls: number;
|
|
@@ -2710,49 +2751,35 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2710
2751
|
endedWithVerdict?: boolean | undefined;
|
|
2711
2752
|
updateNudged?: boolean | undefined;
|
|
2712
2753
|
updateOffered?: string | undefined;
|
|
2754
|
+
hudControls?: Record<string, number> | undefined;
|
|
2755
|
+
hudViewMs?: Record<string, number> | undefined;
|
|
2756
|
+
hudPanelMs?: Record<string, number> | undefined;
|
|
2757
|
+
hudJourney?: string[] | undefined;
|
|
2758
|
+
hudJourneyCut?: true | undefined;
|
|
2713
2759
|
exit?: "signal" | "idle" | "unknown" | undefined;
|
|
2714
2760
|
} | undefined;
|
|
2715
2761
|
licenseKeyPresent?: boolean | undefined;
|
|
2716
2762
|
automation?: "container" | "hosted_workspace" | "no_tty" | undefined;
|
|
2717
2763
|
projectIdSource?: "cwd" | "git_origin" | "git_root" | "package_root" | undefined;
|
|
2718
2764
|
tzOffsetMin?: number | undefined;
|
|
2719
|
-
|
|
2720
|
-
text: string;
|
|
2721
|
-
kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
|
|
2722
|
-
source: "agent" | "human";
|
|
2723
|
-
impact?: string | undefined;
|
|
2724
|
-
trace?: string | undefined;
|
|
2725
|
-
rating?: number | undefined;
|
|
2726
|
-
need?: string | undefined;
|
|
2727
|
-
currentApproach?: string | undefined;
|
|
2728
|
-
model?: string | undefined;
|
|
2729
|
-
clientVersion?: string | undefined;
|
|
2730
|
-
stack?: string | undefined;
|
|
2731
|
-
stackMajor?: number | undefined;
|
|
2732
|
-
runtime?: "web" | "electron" | "tauri" | undefined;
|
|
2733
|
-
engine?: "blink" | "gecko" | "webkit" | undefined;
|
|
2734
|
-
driver?: "cdp" | "sdk" | undefined;
|
|
2735
|
-
client?: string | undefined;
|
|
2736
|
-
mcpScope?: "user" | "project" | undefined;
|
|
2737
|
-
} | undefined;
|
|
2738
|
-
actor?: "agent" | "human" | undefined;
|
|
2765
|
+
actor?: "human" | "agent" | undefined;
|
|
2739
2766
|
flags?: string[] | undefined;
|
|
2740
2767
|
verification?: {
|
|
2741
2768
|
verified: string;
|
|
2742
2769
|
via: string;
|
|
2743
2770
|
passed: boolean;
|
|
2744
2771
|
falseGreenCaught: boolean;
|
|
2745
|
-
reason?: "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;
|
|
2746
2772
|
durationMs?: number | undefined;
|
|
2773
|
+
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;
|
|
2747
2774
|
brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
|
|
2748
2775
|
driven?: "harness" | undefined;
|
|
2749
2776
|
browser?: string | undefined;
|
|
2750
2777
|
uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "journal_loss" | "other" | undefined;
|
|
2751
2778
|
} | undefined;
|
|
2752
2779
|
versionChange?: {
|
|
2753
|
-
direction: string;
|
|
2754
2780
|
from: string;
|
|
2755
2781
|
to: string;
|
|
2782
|
+
direction: string;
|
|
2756
2783
|
nudged?: boolean | undefined;
|
|
2757
2784
|
} | undefined;
|
|
2758
2785
|
crash?: {
|
|
@@ -2798,8 +2825,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2798
2825
|
confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
|
|
2799
2826
|
} | undefined;
|
|
2800
2827
|
onboarding?: {
|
|
2801
|
-
status: "skipped" | "started" | "completed" | "failed" | "abandoned";
|
|
2802
2828
|
step: string;
|
|
2829
|
+
status: "skipped" | "completed" | "started" | "failed" | "abandoned";
|
|
2803
2830
|
phase: "install" | "onboard" | "first_run";
|
|
2804
2831
|
reason?: string | undefined;
|
|
2805
2832
|
stack?: string | undefined;
|
|
@@ -2807,8 +2834,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
2807
2834
|
unattended?: boolean | undefined;
|
|
2808
2835
|
} | undefined;
|
|
2809
2836
|
refusal?: {
|
|
2810
|
-
tool: string;
|
|
2811
2837
|
reason: "other" | "no_session" | "no_match" | "unsupported" | "bad_args" | "not_ready";
|
|
2838
|
+
tool: string;
|
|
2812
2839
|
retried: boolean;
|
|
2813
2840
|
noSessionReason?: "auth_refused" | "lease_expired" | "tab_gone" | "app_not_reopened" | "config_elsewhere" | "no_listener_no_config" | "no_listener" | "no_config" | "sdk_not_reaching_daemon" | undefined;
|
|
2814
2841
|
} | undefined;
|
|
@@ -49,6 +49,16 @@ export declare const PredicateKind: {
|
|
|
49
49
|
};
|
|
50
50
|
export type PredicateKind = (typeof PredicateKind)[keyof typeof PredicateKind];
|
|
51
51
|
export declare const CONSEQUENCE_KINDS: ReadonlySet<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The kinds that grade a flow as PRESENCE-ONLY rather than assertion-free.
|
|
54
|
+
*
|
|
55
|
+
* `element` and `text` are the weak checks `PresenceKind` names. `route` joins them here and only
|
|
56
|
+
* here: a route change is observed on a channel rather than queried from the DOM, so it is not a
|
|
57
|
+
* presence check in the sense `isPresenceKind` means, but a route-only expect must still grade as
|
|
58
|
+
* presence rather than falling through to `assertion-free` — which would be a permanent green
|
|
59
|
+
* wearing an assertion.
|
|
60
|
+
*/
|
|
61
|
+
export declare const PRESENCE_GRADED: ReadonlySet<string>;
|
|
52
62
|
/** True when `kind` (a predicate/expect kind) asserts a consequence (signal/net/state). */
|
|
53
63
|
export declare function isConsequenceKind(kind: string): boolean;
|
|
54
64
|
/** True when `kind` is a weak presence check (element/text). */
|
|
@@ -47,6 +47,19 @@ export const PredicateKind = {
|
|
|
47
47
|
};
|
|
48
48
|
export const CONSEQUENCE_KINDS = new Set(Object.values(ConsequenceKind));
|
|
49
49
|
const PRESENCE_KINDS = new Set(Object.values(PresenceKind));
|
|
50
|
+
/**
|
|
51
|
+
* The kinds that grade a flow as PRESENCE-ONLY rather than assertion-free.
|
|
52
|
+
*
|
|
53
|
+
* `element` and `text` are the weak checks `PresenceKind` names. `route` joins them here and only
|
|
54
|
+
* here: a route change is observed on a channel rather than queried from the DOM, so it is not a
|
|
55
|
+
* presence check in the sense `isPresenceKind` means, but a route-only expect must still grade as
|
|
56
|
+
* presence rather than falling through to `assertion-free` — which would be a permanent green
|
|
57
|
+
* wearing an assertion.
|
|
58
|
+
*/
|
|
59
|
+
export const PRESENCE_GRADED = new Set([
|
|
60
|
+
...PRESENCE_KINDS,
|
|
61
|
+
PredicateKind.ROUTE,
|
|
62
|
+
]);
|
|
50
63
|
/** True when `kind` (a predicate/expect kind) asserts a consequence (signal/net/state). */
|
|
51
64
|
export function isConsequenceKind(kind) {
|
|
52
65
|
return CONSEQUENCE_KINDS.has(kind);
|