@reticlehq/core 2.13.1 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/artifacts-entry.d.ts +20 -0
  2. package/dist/artifacts-entry.js +20 -0
  3. package/dist/consequence.d.ts +8 -1
  4. package/dist/consequence.js +11 -2
  5. package/dist/constants.d.ts +33 -0
  6. package/dist/constants.js +32 -0
  7. package/dist/dev-server-registry.d.ts +2 -2
  8. package/dist/event-payloads.d.ts +167 -10
  9. package/dist/event-payloads.js +40 -0
  10. package/dist/findings.d.ts +61 -0
  11. package/dist/findings.js +67 -0
  12. package/dist/flow-constants.d.ts +8 -0
  13. package/dist/flow-constants.js +8 -0
  14. package/dist/flow-types.d.ts +371 -133
  15. package/dist/flow-types.js +55 -3
  16. package/dist/global-press.d.ts +30 -0
  17. package/dist/global-press.js +54 -0
  18. package/dist/impact-savings.d.ts +7 -3
  19. package/dist/impact-savings.js +27 -4
  20. package/dist/impact.d.ts +96 -44
  21. package/dist/impact.js +21 -0
  22. package/dist/index.d.ts +16 -2
  23. package/dist/index.js +16 -2
  24. package/dist/instrumentation-gap.d.ts +15 -0
  25. package/dist/instrumentation-gap.js +16 -0
  26. package/dist/intent.d.ts +24 -24
  27. package/dist/journal.d.ts +7 -7
  28. package/dist/messages.d.ts +107 -46
  29. package/dist/messages.js +25 -0
  30. package/dist/net.d.ts +40 -0
  31. package/dist/net.js +40 -0
  32. package/dist/notices.d.ts +16 -0
  33. package/dist/notices.js +19 -0
  34. package/dist/redaction.d.ts +30 -0
  35. package/dist/redaction.js +127 -2
  36. package/dist/schema/event-message.json +1 -0
  37. package/dist/schema/event-type.json +1 -0
  38. package/dist/schema/hello-message.json +6 -0
  39. package/dist/schema/reticle-event.json +1 -0
  40. package/dist/schema/reticle-message.json +7 -0
  41. package/dist/telemetry-entry.d.ts +15 -0
  42. package/dist/telemetry-entry.js +15 -0
  43. package/dist/telemetry-feedback.d.ts +2 -2
  44. package/dist/telemetry-session.d.ts +2 -2
  45. package/dist/telemetry.d.ts +52 -50
  46. package/dist/types.d.ts +83 -44
  47. package/dist/types.js +20 -1
  48. package/dist/upgrade.d.ts +2 -2
  49. package/dist/verification-run.d.ts +36 -36
  50. package/dist/verified-constants.d.ts +11 -0
  51. package/dist/verified-constants.js +11 -0
  52. package/dist/verify-progress.d.ts +133 -0
  53. package/dist/verify-progress.js +78 -0
  54. package/package.json +9 -1
@@ -288,6 +288,7 @@ export declare const VerificationSchema: z.ZodObject<{
288
288
  reason: z.ZodOptional<z.ZodNativeEnum<{
289
289
  readonly INCONCLUSIVE: "inconclusive";
290
290
  readonly OBSERVATION_LOST: "observation_lost";
291
+ readonly WINDOW_CLOSED_EARLY: "window_closed_early";
291
292
  readonly ASSERTION_FAILED: "assertion_failed";
292
293
  readonly CONTRADICTED: "contradicted";
293
294
  readonly ALREADY_TRUE: "already_true";
@@ -323,8 +324,8 @@ export declare const VerificationSchema: z.ZodObject<{
323
324
  via: string;
324
325
  passed: boolean;
325
326
  falseGreenCaught: boolean;
327
+ reason?: "proved" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "absence_blind_spot" | undefined;
326
328
  durationMs?: number | undefined;
327
- reason?: "inconclusive" | "observation_lost" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
328
329
  brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
329
330
  browser?: string | undefined;
330
331
  uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "other" | undefined;
@@ -333,8 +334,8 @@ export declare const VerificationSchema: z.ZodObject<{
333
334
  via: string;
334
335
  passed: boolean;
335
336
  falseGreenCaught: boolean;
337
+ reason?: "proved" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "absence_blind_spot" | undefined;
336
338
  durationMs?: number | undefined;
337
- reason?: "inconclusive" | "observation_lost" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
338
339
  brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
339
340
  browser?: string | undefined;
340
341
  uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "other" | undefined;
@@ -356,14 +357,14 @@ export declare const VersionChangeSchema: z.ZodObject<{
356
357
  /** `update` (forward) or `rollback` (back) — a rollback is a release-quality alarm. */
357
358
  direction: z.ZodString;
358
359
  }, "strip", z.ZodTypeAny, {
359
- direction: string;
360
360
  from: string;
361
361
  to: string;
362
+ direction: string;
362
363
  nudged?: boolean | undefined;
363
364
  }, {
364
- direction: string;
365
365
  from: string;
366
366
  to: string;
367
+ direction: string;
367
368
  nudged?: boolean | undefined;
368
369
  }>;
369
370
  export type VersionChange = z.infer<typeof VersionChangeSchema>;
@@ -481,10 +482,10 @@ export declare const CrashSchema: z.ZodObject<{
481
482
  internalFrame: z.ZodOptional<z.ZodString>;
482
483
  }, "strip", z.ZodTypeAny, {
483
484
  kind: string;
485
+ port?: "other" | "reticle" | undefined;
484
486
  message?: string | undefined;
485
- errorType?: string | undefined;
486
487
  tool?: string | undefined;
487
- port?: "reticle" | "other" | undefined;
488
+ errorType?: string | undefined;
488
489
  fingerprint?: string | undefined;
489
490
  machine?: {
490
491
  rssMb: number;
@@ -504,10 +505,10 @@ export declare const CrashSchema: z.ZodObject<{
504
505
  internalFrame?: string | undefined;
505
506
  }, {
506
507
  kind: string;
508
+ port?: "other" | "reticle" | undefined;
507
509
  message?: string | undefined;
508
- errorType?: string | undefined;
509
510
  tool?: string | undefined;
510
- port?: "reticle" | "other" | undefined;
511
+ errorType?: string | undefined;
511
512
  fingerprint?: string | undefined;
512
513
  machine?: {
513
514
  rssMb: number;
@@ -673,16 +674,16 @@ export declare const BugFoundSchema: z.ZodObject<{
673
674
  */
674
675
  fingerprint: z.ZodOptional<z.ZodString>;
675
676
  }, "strip", z.ZodTypeAny, {
676
- kind: string;
677
677
  source: "replay" | "contradiction" | "crawl" | "assertion";
678
+ kind: string;
678
679
  attribution: "reticle" | "app" | "request" | "unclassified";
679
680
  falseGreen: boolean;
680
681
  repeat: boolean;
681
682
  tool?: string | undefined;
682
683
  fingerprint?: string | undefined;
683
684
  }, {
684
- kind: string;
685
685
  source: "replay" | "contradiction" | "crawl" | "assertion";
686
+ kind: string;
686
687
  attribution: "reticle" | "app" | "request" | "unclassified";
687
688
  falseGreen: boolean;
688
689
  repeat: boolean;
@@ -1008,14 +1009,14 @@ export declare const InitOutcomeSchema: z.ZodObject<{
1008
1009
  }>>;
1009
1010
  }, "strip", z.ZodTypeAny, {
1010
1011
  ok: boolean;
1011
- stack?: string | undefined;
1012
1012
  reason?: string | undefined;
1013
+ stack?: string | undefined;
1013
1014
  mcpRegistered?: boolean | undefined;
1014
1015
  confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
1015
1016
  }, {
1016
1017
  ok: boolean;
1017
- stack?: string | undefined;
1018
1018
  reason?: string | undefined;
1019
+ stack?: string | undefined;
1019
1020
  mcpRegistered?: boolean | undefined;
1020
1021
  confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
1021
1022
  }>;
@@ -1278,9 +1279,9 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1278
1279
  readonly PROJECT: "project";
1279
1280
  }>>;
1280
1281
  }, "strip", z.ZodTypeAny, {
1282
+ source: "agent" | "human";
1281
1283
  text: string;
1282
1284
  kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
1283
- source: "agent" | "human";
1284
1285
  impact?: string | undefined;
1285
1286
  trace?: string | undefined;
1286
1287
  rating?: number | undefined;
@@ -1296,9 +1297,9 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1296
1297
  client?: string | undefined;
1297
1298
  mcpScope?: "user" | "project" | undefined;
1298
1299
  }, {
1300
+ source: "agent" | "human";
1299
1301
  text: string;
1300
1302
  kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
1301
- source: "agent" | "human";
1302
1303
  impact?: string | undefined;
1303
1304
  trace?: string | undefined;
1304
1305
  rating?: number | undefined;
@@ -1505,7 +1506,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1505
1506
  endedWithVerdict?: boolean | undefined;
1506
1507
  updateNudged?: boolean | undefined;
1507
1508
  updateOffered?: string | undefined;
1508
- exit?: "signal" | "idle" | "unknown" | undefined;
1509
+ exit?: "unknown" | "signal" | "idle" | undefined;
1509
1510
  }, {
1510
1511
  durationMs: number;
1511
1512
  toolCalls: number;
@@ -1570,7 +1571,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1570
1571
  endedWithVerdict?: boolean | undefined;
1571
1572
  updateNudged?: boolean | undefined;
1572
1573
  updateOffered?: string | undefined;
1573
- exit?: "signal" | "idle" | "unknown" | undefined;
1574
+ exit?: "unknown" | "signal" | "idle" | undefined;
1574
1575
  }>>;
1575
1576
  /** Only on `project_profiled`: the shape and depth-of-use of the project. */
1576
1577
  project: z.ZodOptional<z.ZodObject<{
@@ -1718,6 +1719,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1718
1719
  reason: z.ZodOptional<z.ZodNativeEnum<{
1719
1720
  readonly INCONCLUSIVE: "inconclusive";
1720
1721
  readonly OBSERVATION_LOST: "observation_lost";
1722
+ readonly WINDOW_CLOSED_EARLY: "window_closed_early";
1721
1723
  readonly ASSERTION_FAILED: "assertion_failed";
1722
1724
  readonly CONTRADICTED: "contradicted";
1723
1725
  readonly ALREADY_TRUE: "already_true";
@@ -1753,8 +1755,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1753
1755
  via: string;
1754
1756
  passed: boolean;
1755
1757
  falseGreenCaught: boolean;
1758
+ reason?: "proved" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "absence_blind_spot" | undefined;
1756
1759
  durationMs?: number | undefined;
1757
- reason?: "inconclusive" | "observation_lost" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
1758
1760
  brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
1759
1761
  browser?: string | undefined;
1760
1762
  uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "other" | undefined;
@@ -1763,8 +1765,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1763
1765
  via: string;
1764
1766
  passed: boolean;
1765
1767
  falseGreenCaught: boolean;
1768
+ reason?: "proved" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "absence_blind_spot" | undefined;
1766
1769
  durationMs?: number | undefined;
1767
- reason?: "inconclusive" | "observation_lost" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
1768
1770
  brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
1769
1771
  browser?: string | undefined;
1770
1772
  uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "other" | undefined;
@@ -1785,14 +1787,14 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1785
1787
  /** `update` (forward) or `rollback` (back) — a rollback is a release-quality alarm. */
1786
1788
  direction: z.ZodString;
1787
1789
  }, "strip", z.ZodTypeAny, {
1788
- direction: string;
1789
1790
  from: string;
1790
1791
  to: string;
1792
+ direction: string;
1791
1793
  nudged?: boolean | undefined;
1792
1794
  }, {
1793
- direction: string;
1794
1795
  from: string;
1795
1796
  to: string;
1797
+ direction: string;
1796
1798
  nudged?: boolean | undefined;
1797
1799
  }>>;
1798
1800
  /** Only on `runtime_crashed`. */
@@ -1889,10 +1891,10 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1889
1891
  internalFrame: z.ZodOptional<z.ZodString>;
1890
1892
  }, "strip", z.ZodTypeAny, {
1891
1893
  kind: string;
1894
+ port?: "other" | "reticle" | undefined;
1892
1895
  message?: string | undefined;
1893
- errorType?: string | undefined;
1894
1896
  tool?: string | undefined;
1895
- port?: "reticle" | "other" | undefined;
1897
+ errorType?: string | undefined;
1896
1898
  fingerprint?: string | undefined;
1897
1899
  machine?: {
1898
1900
  rssMb: number;
@@ -1912,10 +1914,10 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1912
1914
  internalFrame?: string | undefined;
1913
1915
  }, {
1914
1916
  kind: string;
1917
+ port?: "other" | "reticle" | undefined;
1915
1918
  message?: string | undefined;
1916
- errorType?: string | undefined;
1917
1919
  tool?: string | undefined;
1918
- port?: "reticle" | "other" | undefined;
1920
+ errorType?: string | undefined;
1919
1921
  fingerprint?: string | undefined;
1920
1922
  machine?: {
1921
1923
  rssMb: number;
@@ -2034,14 +2036,14 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2034
2036
  }>>;
2035
2037
  }, "strip", z.ZodTypeAny, {
2036
2038
  ok: boolean;
2037
- stack?: string | undefined;
2038
2039
  reason?: string | undefined;
2040
+ stack?: string | undefined;
2039
2041
  mcpRegistered?: boolean | undefined;
2040
2042
  confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
2041
2043
  }, {
2042
2044
  ok: boolean;
2043
- stack?: string | undefined;
2044
2045
  reason?: string | undefined;
2046
+ stack?: string | undefined;
2045
2047
  mcpRegistered?: boolean | undefined;
2046
2048
  confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
2047
2049
  }>>;
@@ -2128,16 +2130,16 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2128
2130
  */
2129
2131
  fingerprint: z.ZodOptional<z.ZodString>;
2130
2132
  }, "strip", z.ZodTypeAny, {
2131
- kind: string;
2132
2133
  source: "replay" | "contradiction" | "crawl" | "assertion";
2134
+ kind: string;
2133
2135
  attribution: "reticle" | "app" | "request" | "unclassified";
2134
2136
  falseGreen: boolean;
2135
2137
  repeat: boolean;
2136
2138
  tool?: string | undefined;
2137
2139
  fingerprint?: string | undefined;
2138
2140
  }, {
2139
- kind: string;
2140
2141
  source: "replay" | "contradiction" | "crawl" | "assertion";
2142
+ kind: string;
2141
2143
  attribution: "reticle" | "app" | "request" | "unclassified";
2142
2144
  falseGreen: boolean;
2143
2145
  repeat: boolean;
@@ -2319,19 +2321,19 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2319
2321
  */
2320
2322
  licenseKeyPresent: z.ZodOptional<z.ZodBoolean>;
2321
2323
  }, "strip", z.ZodTypeAny, {
2322
- 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" | "bug_found" | "tool_refused";
2323
2324
  version: string;
2324
- ci: boolean;
2325
+ 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" | "bug_found" | "tool_refused";
2325
2326
  v: 3;
2327
+ ci: boolean;
2326
2328
  anonymousId: string;
2327
2329
  ts: number;
2328
2330
  os: string;
2331
+ projectId?: string | undefined;
2329
2332
  command?: string | undefined;
2330
2333
  sessionId?: string | undefined;
2331
- projectId?: string | undefined;
2332
2334
  bug?: {
2333
- kind: string;
2334
2335
  source: "replay" | "contradiction" | "crawl" | "assertion";
2336
+ kind: string;
2335
2337
  attribution: "reticle" | "app" | "request" | "unclassified";
2336
2338
  falseGreen: boolean;
2337
2339
  repeat: boolean;
@@ -2423,16 +2425,16 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2423
2425
  endedWithVerdict?: boolean | undefined;
2424
2426
  updateNudged?: boolean | undefined;
2425
2427
  updateOffered?: string | undefined;
2426
- exit?: "signal" | "idle" | "unknown" | undefined;
2428
+ exit?: "unknown" | "signal" | "idle" | undefined;
2427
2429
  } | undefined;
2428
2430
  licenseKeyPresent?: boolean | undefined;
2429
2431
  automation?: "container" | "hosted_workspace" | "no_tty" | undefined;
2430
2432
  projectIdSource?: "cwd" | "git_origin" | "git_root" | "package_root" | undefined;
2431
2433
  tzOffsetMin?: number | undefined;
2432
2434
  feedback?: {
2435
+ source: "agent" | "human";
2433
2436
  text: string;
2434
2437
  kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
2435
- source: "agent" | "human";
2436
2438
  impact?: string | undefined;
2437
2439
  trace?: string | undefined;
2438
2440
  rating?: number | undefined;
@@ -2455,24 +2457,24 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2455
2457
  via: string;
2456
2458
  passed: boolean;
2457
2459
  falseGreenCaught: boolean;
2460
+ reason?: "proved" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "absence_blind_spot" | undefined;
2458
2461
  durationMs?: number | undefined;
2459
- reason?: "inconclusive" | "observation_lost" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
2460
2462
  brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
2461
2463
  browser?: string | undefined;
2462
2464
  uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "other" | undefined;
2463
2465
  } | undefined;
2464
2466
  versionChange?: {
2465
- direction: string;
2466
2467
  from: string;
2467
2468
  to: string;
2469
+ direction: string;
2468
2470
  nudged?: boolean | undefined;
2469
2471
  } | undefined;
2470
2472
  crash?: {
2471
2473
  kind: string;
2474
+ port?: "other" | "reticle" | undefined;
2472
2475
  message?: string | undefined;
2473
- errorType?: string | undefined;
2474
2476
  tool?: string | undefined;
2475
- port?: "reticle" | "other" | undefined;
2477
+ errorType?: string | undefined;
2476
2478
  fingerprint?: string | undefined;
2477
2479
  machine?: {
2478
2480
  rssMb: number;
@@ -2504,8 +2506,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2504
2506
  } | undefined;
2505
2507
  init?: {
2506
2508
  ok: boolean;
2507
- stack?: string | undefined;
2508
2509
  reason?: string | undefined;
2510
+ stack?: string | undefined;
2509
2511
  mcpRegistered?: boolean | undefined;
2510
2512
  confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
2511
2513
  } | undefined;
@@ -2530,19 +2532,19 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2530
2532
  licenseId?: string | undefined;
2531
2533
  licenseStatus?: "active" | "missing" | "invalid" | "expired" | "eval" | undefined;
2532
2534
  }, {
2533
- 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" | "bug_found" | "tool_refused";
2534
2535
  version: string;
2535
- ci: boolean;
2536
+ 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" | "bug_found" | "tool_refused";
2536
2537
  v: 3;
2538
+ ci: boolean;
2537
2539
  anonymousId: string;
2538
2540
  ts: number;
2539
2541
  os: string;
2542
+ projectId?: string | undefined;
2540
2543
  command?: string | undefined;
2541
2544
  sessionId?: string | undefined;
2542
- projectId?: string | undefined;
2543
2545
  bug?: {
2544
- kind: string;
2545
2546
  source: "replay" | "contradiction" | "crawl" | "assertion";
2547
+ kind: string;
2546
2548
  attribution: "reticle" | "app" | "request" | "unclassified";
2547
2549
  falseGreen: boolean;
2548
2550
  repeat: boolean;
@@ -2634,16 +2636,16 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2634
2636
  endedWithVerdict?: boolean | undefined;
2635
2637
  updateNudged?: boolean | undefined;
2636
2638
  updateOffered?: string | undefined;
2637
- exit?: "signal" | "idle" | "unknown" | undefined;
2639
+ exit?: "unknown" | "signal" | "idle" | undefined;
2638
2640
  } | undefined;
2639
2641
  licenseKeyPresent?: boolean | undefined;
2640
2642
  automation?: "container" | "hosted_workspace" | "no_tty" | undefined;
2641
2643
  projectIdSource?: "cwd" | "git_origin" | "git_root" | "package_root" | undefined;
2642
2644
  tzOffsetMin?: number | undefined;
2643
2645
  feedback?: {
2646
+ source: "agent" | "human";
2644
2647
  text: string;
2645
2648
  kind: "bug" | "gap" | "ambiguity" | "feature_request" | "improvement" | "experience";
2646
- source: "agent" | "human";
2647
2649
  impact?: string | undefined;
2648
2650
  trace?: string | undefined;
2649
2651
  rating?: number | undefined;
@@ -2666,24 +2668,24 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2666
2668
  via: string;
2667
2669
  passed: boolean;
2668
2670
  falseGreenCaught: boolean;
2671
+ reason?: "proved" | "inconclusive" | "observation_lost" | "window_closed_early" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "absence_blind_spot" | undefined;
2669
2672
  durationMs?: number | undefined;
2670
- reason?: "inconclusive" | "observation_lost" | "assertion_failed" | "contradicted" | "already_true" | "unclean_capture" | "vacuous_grade" | "nothing_declared" | "outcome_pending" | "outcome_unread" | "unsettled" | "evidence_incomplete" | "proved" | "absence_blind_spot" | undefined;
2671
2673
  brand?: "other" | "chrome" | "edge" | "arc" | "dia" | "brave" | "opera" | "firefox" | "safari" | undefined;
2672
2674
  browser?: string | undefined;
2673
2675
  uncleanLoss?: "buffer_loss" | "transport_gap" | "blind_spot" | "other" | undefined;
2674
2676
  } | undefined;
2675
2677
  versionChange?: {
2676
- direction: string;
2677
2678
  from: string;
2678
2679
  to: string;
2680
+ direction: string;
2679
2681
  nudged?: boolean | undefined;
2680
2682
  } | undefined;
2681
2683
  crash?: {
2682
2684
  kind: string;
2685
+ port?: "other" | "reticle" | undefined;
2683
2686
  message?: string | undefined;
2684
- errorType?: string | undefined;
2685
2687
  tool?: string | undefined;
2686
- port?: "reticle" | "other" | undefined;
2688
+ errorType?: string | undefined;
2687
2689
  fingerprint?: string | undefined;
2688
2690
  machine?: {
2689
2691
  rssMb: number;
@@ -2715,8 +2717,8 @@ export declare const TelemetryEventSchema: z.ZodObject<{
2715
2717
  } | undefined;
2716
2718
  init?: {
2717
2719
  ok: boolean;
2718
- stack?: string | undefined;
2719
2720
  reason?: string | undefined;
2721
+ stack?: string | undefined;
2720
2722
  mcpRegistered?: boolean | undefined;
2721
2723
  confirmation?: "no_session" | "connected" | "no_daemon" | "no_page" | undefined;
2722
2724
  } | undefined;