@reticlehq/core 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/activation-entry.d.ts +9 -0
  2. package/dist/activation-entry.js +9 -0
  3. package/dist/artifacts/artifacts-entry.d.ts +2 -0
  4. package/dist/artifacts/artifacts-entry.js +2 -0
  5. package/dist/artifacts/drive-script.d.ts +222 -116
  6. package/dist/artifacts/drive-script.js +24 -1
  7. package/dist/artifacts/flow-constants.d.ts +33 -0
  8. package/dist/artifacts/flow-constants.js +35 -0
  9. package/dist/artifacts/flow-expect-flat.d.ts +8 -8
  10. package/dist/artifacts/flow-results.d.ts +461 -0
  11. package/dist/artifacts/flow-results.js +1 -0
  12. package/dist/artifacts/flow-types.d.ts +177 -543
  13. package/dist/artifacts/flow-types.js +17 -2
  14. package/dist/artifacts/harness-credits.d.ts +42 -0
  15. package/dist/artifacts/harness-credits.js +72 -0
  16. package/dist/artifacts/harness-map.d.ts +98 -0
  17. package/dist/artifacts/harness-map.js +36 -0
  18. package/dist/artifacts/impact.d.ts +355 -149
  19. package/dist/artifacts/impact.js +84 -49
  20. package/dist/artifacts/journal.d.ts +81 -11
  21. package/dist/artifacts/journal.js +39 -0
  22. package/dist/artifacts/prompt-context.d.ts +12 -0
  23. package/dist/artifacts/prompt-context.js +14 -3
  24. package/dist/artifacts/screenshot-upload.d.ts +51 -0
  25. package/dist/artifacts/screenshot-upload.js +26 -0
  26. package/dist/graph/app-graph.d.ts +137 -0
  27. package/dist/graph/app-graph.js +498 -0
  28. package/dist/hooks/hook-events.d.ts +26 -26
  29. package/dist/hud-entry.d.ts +1 -0
  30. package/dist/hud-entry.js +2 -0
  31. package/dist/identity/checkout.d.ts +41 -0
  32. package/dist/identity/checkout.js +118 -0
  33. package/dist/identity/state-dir.d.ts +23 -0
  34. package/dist/identity/state-dir.js +43 -0
  35. package/dist/index.d.ts +15 -0
  36. package/dist/index.js +15 -0
  37. package/dist/onboarding.d.ts +30 -1
  38. package/dist/onboarding.js +25 -0
  39. package/dist/realm/registry.js +19 -1
  40. package/dist/registry/dev-server-registry.d.ts +2 -2
  41. package/dist/schema/command-message.json +30 -0
  42. package/dist/schema/command-name.json +3 -1
  43. package/dist/schema/event-message.json +3 -1
  44. package/dist/schema/event-payloads.json +156 -3
  45. package/dist/schema/event-type.json +3 -1
  46. package/dist/schema/hello-message.json +21 -0
  47. package/dist/schema/reticle-event.json +3 -1
  48. package/dist/schema/reticle-message.json +54 -1
  49. package/dist/telemetry-bug.d.ts +169 -0
  50. package/dist/telemetry-bug.js +123 -0
  51. package/dist/telemetry-entry.d.ts +2 -1
  52. package/dist/telemetry-entry.js +2 -1
  53. package/dist/telemetry-feedback.d.ts +16 -2
  54. package/dist/telemetry-feedback.js +19 -0
  55. package/dist/telemetry-session.d.ts +91 -2
  56. package/dist/telemetry-session.js +65 -0
  57. package/dist/telemetry-signals.d.ts +557 -0
  58. package/dist/telemetry-signals.js +225 -0
  59. package/dist/telemetry.d.ts +649 -296
  60. package/dist/telemetry.js +110 -119
  61. package/dist/verdict/check-sentence.d.ts +34 -0
  62. package/dist/verdict/check-sentence.js +228 -0
  63. package/dist/verdict/consequence.d.ts +15 -0
  64. package/dist/verdict/consequence.js +11 -0
  65. package/dist/verdict/disparity.d.ts +105 -0
  66. package/dist/verdict/disparity.js +40 -0
  67. package/dist/verdict/findings.d.ts +16 -0
  68. package/dist/verdict/findings.js +22 -0
  69. package/dist/verdict/instrumentation-coverage.d.ts +84 -0
  70. package/dist/verdict/instrumentation-coverage.js +182 -0
  71. package/dist/verdict/instrumentation-gap.d.ts +79 -0
  72. package/dist/verdict/instrumentation-gap.js +65 -1
  73. package/dist/verdict/intent.d.ts +19 -5
  74. package/dist/verdict/intent.js +13 -1
  75. package/dist/verdict/predicate-tree.d.ts +17 -0
  76. package/dist/verdict/predicate-tree.js +37 -0
  77. package/dist/verdict/predicate.d.ts +16 -1
  78. package/dist/verdict/predicate.js +188 -13
  79. package/dist/verdict/property-assertion.d.ts +2 -2
  80. package/dist/verdict/run-report.d.ts +166 -0
  81. package/dist/verdict/run-report.js +53 -0
  82. package/dist/verdict/security.d.ts +60 -1
  83. package/dist/verdict/security.js +174 -12
  84. package/dist/verdict/verification-run.d.ts +713 -68
  85. package/dist/verdict/verification-run.js +113 -0
  86. package/dist/verdict/verify-progress.d.ts +6 -6
  87. package/dist/wire/constants/constants.d.ts +69 -155
  88. package/dist/wire/constants/constants.js +78 -159
  89. package/dist/wire/constants/discovery.d.ts +4 -4
  90. package/dist/wire/constants/discovery.js +4 -4
  91. package/dist/wire/constants/event-types.d.ts +35 -1
  92. package/dist/wire/constants/event-types.js +33 -1
  93. package/dist/wire/constants/hud-controls.js +15 -5
  94. package/dist/wire/constants/hud-use.d.ts +33 -4
  95. package/dist/wire/constants/hud-use.js +30 -4
  96. package/dist/wire/constants/mcp-wire.d.ts +26 -0
  97. package/dist/wire/constants/mcp-wire.js +26 -0
  98. package/dist/wire/constants/response-body-reason.d.ts +19 -0
  99. package/dist/wire/constants/response-body-reason.js +18 -0
  100. package/dist/wire/constants/reticle-chrome.d.ts +19 -0
  101. package/dist/wire/constants/reticle-chrome.js +19 -0
  102. package/dist/wire/constants/reticle-env.d.ts +138 -0
  103. package/dist/wire/constants/reticle-env.js +138 -0
  104. package/dist/wire/constants/session-constants.d.ts +26 -2
  105. package/dist/wire/constants/session-constants.js +26 -2
  106. package/dist/wire/desktop-contract.d.ts +8 -0
  107. package/dist/wire/desktop-contract.js +11 -0
  108. package/dist/wire/event-payloads.d.ts +202 -36
  109. package/dist/wire/event-payloads.js +100 -16
  110. package/dist/wire/messages.d.ts +193 -54
  111. package/dist/wire/messages.js +25 -1
  112. package/dist/wire/narrow.d.ts +6 -0
  113. package/dist/wire/narrow.js +26 -0
  114. package/dist/wire/next-step.d.ts +90 -0
  115. package/dist/wire/next-step.js +37 -0
  116. package/dist/wire/platform-link.d.ts +84 -0
  117. package/dist/wire/platform-link.js +57 -6
  118. package/dist/wire/production/activation-ticket.d.ts +64 -0
  119. package/dist/wire/production/activation-ticket.js +148 -0
  120. package/dist/wire/production/hello-mode.d.ts +35 -0
  121. package/dist/wire/production/hello-mode.js +32 -0
  122. package/dist/wire/production/production-policy.d.ts +138 -0
  123. package/dist/wire/production/production-policy.js +133 -0
  124. package/dist/wire/tool-names.d.ts +4 -0
  125. package/dist/wire/tool-names.js +4 -0
  126. package/dist/wire/types.d.ts +90 -52
  127. package/dist/wire/types.js +5 -0
  128. package/dist/words/notices.d.ts +1 -1
  129. package/dist/words/notices.js +1 -1
  130. package/dist/words/upgrade.js +1 -1
  131. package/dist/words/writing-rule.d.ts +14 -0
  132. package/dist/words/writing-rule.js +17 -0
  133. package/package.json +5 -1
@@ -13,13 +13,16 @@ export declare const HumanControlDataSchema: z.ZodObject<{
13
13
  readonly SYNC: "sync";
14
14
  readonly SIGNIN: "signin";
15
15
  readonly HARNESS: "harness";
16
+ readonly HARNESS_RUN: "harness-run";
17
+ readonly HARNESS_STOP: "harness-stop";
18
+ readonly HARNESS_LINK: "harness-link";
16
19
  }>;
17
20
  text: z.ZodOptional<z.ZodString>;
18
21
  }, "strip", z.ZodTypeAny, {
19
- kind: "message" | "harness" | "pause" | "resume" | "end" | "replay" | "sync" | "signin";
22
+ kind: "pause" | "message" | "harness" | "resume" | "end" | "replay" | "sync" | "signin" | "harness-run" | "harness-stop" | "harness-link";
20
23
  text?: string | undefined;
21
24
  }, {
22
- kind: "message" | "harness" | "pause" | "resume" | "end" | "replay" | "sync" | "signin";
25
+ kind: "pause" | "message" | "harness" | "resume" | "end" | "replay" | "sync" | "signin" | "harness-run" | "harness-stop" | "harness-link";
23
26
  text?: string | undefined;
24
27
  }>;
25
28
  export type HumanControlData = z.infer<typeof HumanControlDataSchema>;
@@ -44,24 +47,34 @@ export declare const HudUseDataSchema: z.ZodObject<{
44
47
  readonly CHAT: "chat";
45
48
  readonly FLOWS: "flows";
46
49
  readonly NOTES: "notes";
50
+ readonly HARNESS: "harness";
47
51
  readonly SETTINGS: "settings";
48
52
  readonly REPORT: "report";
53
+ readonly ACCOUNT: "account";
49
54
  readonly NONE: "none";
50
55
  }>>;
51
56
  /** A rail slide that became the visible one. Its shape is checked where it is counted. */
52
57
  slide: z.ZodOptional<z.ZodString>;
58
+ /** A sign-in or link prompt became visible on this surface. */
59
+ prompt: z.ZodOptional<z.ZodNativeEnum<{
60
+ readonly RAIL: "rail";
61
+ readonly HARNESS: "harness";
62
+ readonly HEADER: "header";
63
+ }>>;
53
64
  }, "strip", z.ZodTypeAny, {
54
65
  control?: string | undefined;
55
66
  toggle?: "on" | "off" | undefined;
56
67
  view?: "expanded" | "bubble" | "collapsed" | undefined;
57
- panel?: "flows" | "none" | "chat" | "notes" | "settings" | "report" | undefined;
68
+ panel?: "flows" | "harness" | "none" | "chat" | "notes" | "settings" | "report" | "account" | undefined;
58
69
  slide?: string | undefined;
70
+ prompt?: "harness" | "rail" | "header" | undefined;
59
71
  }, {
60
72
  control?: string | undefined;
61
73
  toggle?: "on" | "off" | undefined;
62
74
  view?: "expanded" | "bubble" | "collapsed" | undefined;
63
- panel?: "flows" | "none" | "chat" | "notes" | "settings" | "report" | undefined;
75
+ panel?: "flows" | "harness" | "none" | "chat" | "notes" | "settings" | "report" | "account" | undefined;
64
76
  slide?: string | undefined;
77
+ prompt?: "harness" | "rail" | "header" | undefined;
65
78
  }>;
66
79
  export type HudUseData = z.infer<typeof HudUseDataSchema>;
67
80
  /**
@@ -167,6 +180,8 @@ export declare const ReticleEventSchema: z.ZodObject<{
167
180
  readonly HUMAN_MARK: "human.mark";
168
181
  readonly DOWNLOAD: "download";
169
182
  readonly HUD_USED: "hud.used";
183
+ readonly MEDIA_STATE: "media.state";
184
+ readonly CANVAS_DIGEST: "canvas.digest";
170
185
  }>;
171
186
  sessionId: z.ZodString;
172
187
  /** Stable element reference this event concerns, when applicable (e.g. "e7"). */
@@ -206,25 +221,25 @@ export declare const ReticleEventSchema: z.ZodObject<{
206
221
  /** Event-type-specific payload. Kept open here; refined per observer at the edges. */
207
222
  data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
208
223
  }, "strip", z.ZodTypeAny, {
209
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
224
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
210
225
  data: Record<string, unknown>;
211
226
  t: number;
212
227
  sessionId: string;
213
- editEpoch?: number | undefined;
214
228
  seq?: number | undefined;
215
- ref?: string | undefined;
216
229
  actionId?: string | undefined;
230
+ editEpoch?: number | undefined;
231
+ ref?: string | undefined;
217
232
  attribution?: "window" | undefined;
218
233
  documentId?: string | undefined;
219
234
  }, {
220
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
235
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
221
236
  t: number;
222
237
  sessionId: string;
238
+ seq?: number | undefined;
239
+ actionId?: string | undefined;
223
240
  editEpoch?: number | undefined;
224
241
  data?: Record<string, unknown> | undefined;
225
- seq?: number | undefined;
226
242
  ref?: string | undefined;
227
- actionId?: string | undefined;
228
243
  attribution?: "window" | undefined;
229
244
  documentId?: string | undefined;
230
245
  }>;
@@ -255,6 +270,22 @@ export declare const HelloMessageSchema: z.ZodObject<{
255
270
  adapters: z.ZodArray<z.ZodString, "many">;
256
271
  /** Optional browser/bridge pairing token. Required when the bridge configures one. */
257
272
  token: z.ZodOptional<z.ZodString>;
273
+ /**
274
+ * Where this page runs. ABSENT MEANS `development`: every SDK before this field was a dev build.
275
+ * The bridge accepts `production` only with a session nonce, never with the pairing token.
276
+ */
277
+ env: z.ZodOptional<z.ZodNativeEnum<{
278
+ readonly DEVELOPMENT: "development";
279
+ readonly PRODUCTION: "production";
280
+ }>>;
281
+ /**
282
+ * What a drive may do here: `observe` or `act`. Absent means `act` in development. The bridge
283
+ * refuses a production HELLO without it, and a page can only narrow what its nonce granted.
284
+ */
285
+ scope: z.ZodOptional<z.ZodNativeEnum<{
286
+ readonly OBSERVE: "observe";
287
+ readonly ACT: "act";
288
+ }>>;
258
289
  /**
259
290
  * What kind of surface this is: a browser document, a web page in somebody else's window, a
260
291
  * native view tree, or no rendering surface at all. See platform.ts.
@@ -317,12 +348,12 @@ export declare const HelloMessageSchema: z.ZodObject<{
317
348
  events: z.ZodArray<z.ZodString, "many">;
318
349
  actions: z.ZodArray<z.ZodString, "many">;
319
350
  }, "strip", z.ZodTypeAny, {
320
- events: string[];
321
351
  commands: string[];
352
+ events: string[];
322
353
  actions: string[];
323
354
  }, {
324
- events: string[];
325
355
  commands: string[];
356
+ events: string[];
326
357
  actions: string[];
327
358
  }>>;
328
359
  /** Whether the app has advertised a capability registry (reticle.describe). */
@@ -352,6 +383,14 @@ export declare const HelloMessageSchema: z.ZodObject<{
352
383
  * would suppress the honest gap for every app that simply has no source mapping at all.
353
384
  */
354
385
  sourceMapping: z.ZodOptional<z.ZodBoolean>;
386
+ /**
387
+ * Who put the SDK in this page: `installed` by the app, or `injected` from outside by a hosted
388
+ * verifier. ABSENT means `installed`. See `HelloInstrumentation`.
389
+ */
390
+ instrumentation: z.ZodOptional<z.ZodNativeEnum<{
391
+ readonly INSTALLED: "installed";
392
+ readonly INJECTED: "injected";
393
+ }>>;
355
394
  /**
356
395
  * The version of the SDK in the page, so a version-skewed pair can SAY so.
357
396
  *
@@ -389,19 +428,22 @@ export declare const HelloMessageSchema: z.ZodObject<{
389
428
  protocolVersion: number;
390
429
  title: string;
391
430
  adapters: string[];
431
+ scope?: "observe" | "act" | undefined;
432
+ env?: "development" | "production" | undefined;
392
433
  projectId?: string | undefined;
393
- platform?: "native" | "web" | "webview" | "service" | undefined;
394
434
  token?: string | undefined;
435
+ platform?: "native" | "web" | "webview" | "service" | undefined;
395
436
  channels?: ("signal" | "net" | "state" | "route" | "visual" | "ui" | "log" | "storage" | "time")[] | undefined;
396
437
  commands?: string[] | undefined;
397
438
  contractParts?: {
398
- events: string[];
399
439
  commands: string[];
440
+ events: string[];
400
441
  actions: string[];
401
442
  } | undefined;
402
443
  hasCapabilities?: boolean | undefined;
403
444
  captureBodies?: boolean | undefined;
404
445
  sourceMapping?: boolean | undefined;
446
+ instrumentation?: "installed" | "injected" | undefined;
405
447
  sdkVersion?: string | undefined;
406
448
  contract?: string | undefined;
407
449
  redactKeys?: string[] | undefined;
@@ -412,19 +454,22 @@ export declare const HelloMessageSchema: z.ZodObject<{
412
454
  protocolVersion: number;
413
455
  title: string;
414
456
  adapters: string[];
457
+ scope?: "observe" | "act" | undefined;
458
+ env?: "development" | "production" | undefined;
415
459
  projectId?: string | undefined;
416
- platform?: "native" | "web" | "webview" | "service" | undefined;
417
460
  token?: string | undefined;
461
+ platform?: "native" | "web" | "webview" | "service" | undefined;
418
462
  channels?: ("signal" | "net" | "state" | "route" | "visual" | "ui" | "log" | "storage" | "time")[] | undefined;
419
463
  commands?: string[] | undefined;
420
464
  contractParts?: {
421
- events: string[];
422
465
  commands: string[];
466
+ events: string[];
423
467
  actions: string[];
424
468
  } | undefined;
425
469
  hasCapabilities?: boolean | undefined;
426
470
  captureBodies?: boolean | undefined;
427
471
  sourceMapping?: boolean | undefined;
472
+ instrumentation?: "installed" | "injected" | undefined;
428
473
  sdkVersion?: string | undefined;
429
474
  contract?: string | undefined;
430
475
  redactKeys?: string[] | undefined;
@@ -446,20 +491,50 @@ export declare const CommandMessageSchema: z.ZodObject<{
446
491
  by: z.ZodOptional<z.ZodNativeEnum<{
447
492
  readonly HARNESS: "harness";
448
493
  }>>;
494
+ /**
495
+ * Set on a Harness command a model chose: the outward actions (`OutwardAction`) its journey asks
496
+ * for. The page presses no other outward control. Absent: not gated (an agent, a saved flow).
497
+ */
498
+ outward: z.ZodOptional<z.ZodObject<{
499
+ allowed: z.ZodArray<z.ZodNativeEnum<{
500
+ readonly INVITE: "invite";
501
+ readonly SEND: "send";
502
+ readonly SHARE: "share";
503
+ readonly DELETE: "delete";
504
+ readonly PAY: "pay";
505
+ readonly PUBLISH: "publish";
506
+ readonly REVOKE: "revoke";
507
+ readonly TRANSFER: "transfer";
508
+ readonly SIGN_OUT: "sign out";
509
+ readonly CHANGE_ROLE: "change role";
510
+ readonly CREATE_KEY: "create key";
511
+ readonly CHANGE_STATE: "change state";
512
+ }>, "many">;
513
+ }, "strip", z.ZodTypeAny, {
514
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
515
+ }, {
516
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
517
+ }>>;
449
518
  }, "strip", z.ZodTypeAny, {
450
- kind: "command";
451
519
  name: string;
520
+ kind: "command";
452
521
  id: string;
453
522
  args: Record<string, unknown>;
454
523
  by?: "harness" | undefined;
455
524
  sessionId?: string | undefined;
525
+ outward?: {
526
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
527
+ } | undefined;
456
528
  }, {
457
- kind: "command";
458
529
  name: string;
530
+ kind: "command";
459
531
  id: string;
460
532
  by?: "harness" | undefined;
461
533
  args?: Record<string, unknown> | undefined;
462
534
  sessionId?: string | undefined;
535
+ outward?: {
536
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
537
+ } | undefined;
463
538
  }>;
464
539
  export type CommandMessage = z.infer<typeof CommandMessageSchema>;
465
540
  /** Browser -> agent reply to a command. */
@@ -470,14 +545,14 @@ export declare const CommandResultSchema: z.ZodObject<{
470
545
  result: z.ZodOptional<z.ZodUnknown>;
471
546
  error: z.ZodOptional<z.ZodString>;
472
547
  }, "strip", z.ZodTypeAny, {
473
- kind: "command_result";
474
548
  ok: boolean;
549
+ kind: "command_result";
475
550
  id: string;
476
551
  error?: string | undefined;
477
552
  result?: unknown;
478
553
  }, {
479
- kind: "command_result";
480
554
  ok: boolean;
555
+ kind: "command_result";
481
556
  id: string;
482
557
  error?: string | undefined;
483
558
  result?: unknown;
@@ -528,6 +603,8 @@ export declare const EventMessageSchema: z.ZodObject<{
528
603
  readonly HUMAN_MARK: "human.mark";
529
604
  readonly DOWNLOAD: "download";
530
605
  readonly HUD_USED: "hud.used";
606
+ readonly MEDIA_STATE: "media.state";
607
+ readonly CANVAS_DIGEST: "canvas.digest";
531
608
  }>;
532
609
  sessionId: z.ZodString;
533
610
  /** Stable element reference this event concerns, when applicable (e.g. "e7"). */
@@ -567,53 +644,53 @@ export declare const EventMessageSchema: z.ZodObject<{
567
644
  /** Event-type-specific payload. Kept open here; refined per observer at the edges. */
568
645
  data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
569
646
  }, "strip", z.ZodTypeAny, {
570
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
647
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
571
648
  data: Record<string, unknown>;
572
649
  t: number;
573
650
  sessionId: string;
574
- editEpoch?: number | undefined;
575
651
  seq?: number | undefined;
576
- ref?: string | undefined;
577
652
  actionId?: string | undefined;
653
+ editEpoch?: number | undefined;
654
+ ref?: string | undefined;
578
655
  attribution?: "window" | undefined;
579
656
  documentId?: string | undefined;
580
657
  }, {
581
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
658
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
582
659
  t: number;
583
660
  sessionId: string;
661
+ seq?: number | undefined;
662
+ actionId?: string | undefined;
584
663
  editEpoch?: number | undefined;
585
664
  data?: Record<string, unknown> | undefined;
586
- seq?: number | undefined;
587
665
  ref?: string | undefined;
588
- actionId?: string | undefined;
589
666
  attribution?: "window" | undefined;
590
667
  documentId?: string | undefined;
591
668
  }>;
592
669
  }, "strip", z.ZodTypeAny, {
593
670
  kind: "event";
594
671
  event: {
595
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
672
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
596
673
  data: Record<string, unknown>;
597
674
  t: number;
598
675
  sessionId: string;
599
- editEpoch?: number | undefined;
600
676
  seq?: number | undefined;
601
- ref?: string | undefined;
602
677
  actionId?: string | undefined;
678
+ editEpoch?: number | undefined;
679
+ ref?: string | undefined;
603
680
  attribution?: "window" | undefined;
604
681
  documentId?: string | undefined;
605
682
  };
606
683
  }, {
607
684
  kind: "event";
608
685
  event: {
609
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
686
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
610
687
  t: number;
611
688
  sessionId: string;
689
+ seq?: number | undefined;
690
+ actionId?: string | undefined;
612
691
  editEpoch?: number | undefined;
613
692
  data?: Record<string, unknown> | undefined;
614
- seq?: number | undefined;
615
693
  ref?: string | undefined;
616
- actionId?: string | undefined;
617
694
  attribution?: "window" | undefined;
618
695
  documentId?: string | undefined;
619
696
  };
@@ -644,6 +721,22 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
644
721
  adapters: z.ZodArray<z.ZodString, "many">;
645
722
  /** Optional browser/bridge pairing token. Required when the bridge configures one. */
646
723
  token: z.ZodOptional<z.ZodString>;
724
+ /**
725
+ * Where this page runs. ABSENT MEANS `development`: every SDK before this field was a dev build.
726
+ * The bridge accepts `production` only with a session nonce, never with the pairing token.
727
+ */
728
+ env: z.ZodOptional<z.ZodNativeEnum<{
729
+ readonly DEVELOPMENT: "development";
730
+ readonly PRODUCTION: "production";
731
+ }>>;
732
+ /**
733
+ * What a drive may do here: `observe` or `act`. Absent means `act` in development. The bridge
734
+ * refuses a production HELLO without it, and a page can only narrow what its nonce granted.
735
+ */
736
+ scope: z.ZodOptional<z.ZodNativeEnum<{
737
+ readonly OBSERVE: "observe";
738
+ readonly ACT: "act";
739
+ }>>;
647
740
  /**
648
741
  * What kind of surface this is: a browser document, a web page in somebody else's window, a
649
742
  * native view tree, or no rendering surface at all. See platform.ts.
@@ -706,12 +799,12 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
706
799
  events: z.ZodArray<z.ZodString, "many">;
707
800
  actions: z.ZodArray<z.ZodString, "many">;
708
801
  }, "strip", z.ZodTypeAny, {
709
- events: string[];
710
802
  commands: string[];
803
+ events: string[];
711
804
  actions: string[];
712
805
  }, {
713
- events: string[];
714
806
  commands: string[];
807
+ events: string[];
715
808
  actions: string[];
716
809
  }>>;
717
810
  /** Whether the app has advertised a capability registry (reticle.describe). */
@@ -741,6 +834,14 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
741
834
  * would suppress the honest gap for every app that simply has no source mapping at all.
742
835
  */
743
836
  sourceMapping: z.ZodOptional<z.ZodBoolean>;
837
+ /**
838
+ * Who put the SDK in this page: `installed` by the app, or `injected` from outside by a hosted
839
+ * verifier. ABSENT means `installed`. See `HelloInstrumentation`.
840
+ */
841
+ instrumentation: z.ZodOptional<z.ZodNativeEnum<{
842
+ readonly INSTALLED: "installed";
843
+ readonly INJECTED: "injected";
844
+ }>>;
744
845
  /**
745
846
  * The version of the SDK in the page, so a version-skewed pair can SAY so.
746
847
  *
@@ -778,19 +879,22 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
778
879
  protocolVersion: number;
779
880
  title: string;
780
881
  adapters: string[];
882
+ scope?: "observe" | "act" | undefined;
883
+ env?: "development" | "production" | undefined;
781
884
  projectId?: string | undefined;
782
- platform?: "native" | "web" | "webview" | "service" | undefined;
783
885
  token?: string | undefined;
886
+ platform?: "native" | "web" | "webview" | "service" | undefined;
784
887
  channels?: ("signal" | "net" | "state" | "route" | "visual" | "ui" | "log" | "storage" | "time")[] | undefined;
785
888
  commands?: string[] | undefined;
786
889
  contractParts?: {
787
- events: string[];
788
890
  commands: string[];
891
+ events: string[];
789
892
  actions: string[];
790
893
  } | undefined;
791
894
  hasCapabilities?: boolean | undefined;
792
895
  captureBodies?: boolean | undefined;
793
896
  sourceMapping?: boolean | undefined;
897
+ instrumentation?: "installed" | "injected" | undefined;
794
898
  sdkVersion?: string | undefined;
795
899
  contract?: string | undefined;
796
900
  redactKeys?: string[] | undefined;
@@ -801,19 +905,22 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
801
905
  protocolVersion: number;
802
906
  title: string;
803
907
  adapters: string[];
908
+ scope?: "observe" | "act" | undefined;
909
+ env?: "development" | "production" | undefined;
804
910
  projectId?: string | undefined;
805
- platform?: "native" | "web" | "webview" | "service" | undefined;
806
911
  token?: string | undefined;
912
+ platform?: "native" | "web" | "webview" | "service" | undefined;
807
913
  channels?: ("signal" | "net" | "state" | "route" | "visual" | "ui" | "log" | "storage" | "time")[] | undefined;
808
914
  commands?: string[] | undefined;
809
915
  contractParts?: {
810
- events: string[];
811
916
  commands: string[];
917
+ events: string[];
812
918
  actions: string[];
813
919
  } | undefined;
814
920
  hasCapabilities?: boolean | undefined;
815
921
  captureBodies?: boolean | undefined;
816
922
  sourceMapping?: boolean | undefined;
923
+ instrumentation?: "installed" | "injected" | undefined;
817
924
  sdkVersion?: string | undefined;
818
925
  contract?: string | undefined;
819
926
  redactKeys?: string[] | undefined;
@@ -827,20 +934,50 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
827
934
  by: z.ZodOptional<z.ZodNativeEnum<{
828
935
  readonly HARNESS: "harness";
829
936
  }>>;
937
+ /**
938
+ * Set on a Harness command a model chose: the outward actions (`OutwardAction`) its journey asks
939
+ * for. The page presses no other outward control. Absent: not gated (an agent, a saved flow).
940
+ */
941
+ outward: z.ZodOptional<z.ZodObject<{
942
+ allowed: z.ZodArray<z.ZodNativeEnum<{
943
+ readonly INVITE: "invite";
944
+ readonly SEND: "send";
945
+ readonly SHARE: "share";
946
+ readonly DELETE: "delete";
947
+ readonly PAY: "pay";
948
+ readonly PUBLISH: "publish";
949
+ readonly REVOKE: "revoke";
950
+ readonly TRANSFER: "transfer";
951
+ readonly SIGN_OUT: "sign out";
952
+ readonly CHANGE_ROLE: "change role";
953
+ readonly CREATE_KEY: "create key";
954
+ readonly CHANGE_STATE: "change state";
955
+ }>, "many">;
956
+ }, "strip", z.ZodTypeAny, {
957
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
958
+ }, {
959
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
960
+ }>>;
830
961
  }, "strip", z.ZodTypeAny, {
831
- kind: "command";
832
962
  name: string;
963
+ kind: "command";
833
964
  id: string;
834
965
  args: Record<string, unknown>;
835
966
  by?: "harness" | undefined;
836
967
  sessionId?: string | undefined;
968
+ outward?: {
969
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
970
+ } | undefined;
837
971
  }, {
838
- kind: "command";
839
972
  name: string;
973
+ kind: "command";
840
974
  id: string;
841
975
  by?: "harness" | undefined;
842
976
  args?: Record<string, unknown> | undefined;
843
977
  sessionId?: string | undefined;
978
+ outward?: {
979
+ allowed: ("invite" | "send" | "share" | "delete" | "pay" | "publish" | "revoke" | "transfer" | "sign out" | "change role" | "create key" | "change state")[];
980
+ } | undefined;
844
981
  }>, z.ZodObject<{
845
982
  kind: z.ZodLiteral<"command_result">;
846
983
  id: z.ZodString;
@@ -848,14 +985,14 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
848
985
  result: z.ZodOptional<z.ZodUnknown>;
849
986
  error: z.ZodOptional<z.ZodString>;
850
987
  }, "strip", z.ZodTypeAny, {
851
- kind: "command_result";
852
988
  ok: boolean;
989
+ kind: "command_result";
853
990
  id: string;
854
991
  error?: string | undefined;
855
992
  result?: unknown;
856
993
  }, {
857
- kind: "command_result";
858
994
  ok: boolean;
995
+ kind: "command_result";
859
996
  id: string;
860
997
  error?: string | undefined;
861
998
  result?: unknown;
@@ -903,6 +1040,8 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
903
1040
  readonly HUMAN_MARK: "human.mark";
904
1041
  readonly DOWNLOAD: "download";
905
1042
  readonly HUD_USED: "hud.used";
1043
+ readonly MEDIA_STATE: "media.state";
1044
+ readonly CANVAS_DIGEST: "canvas.digest";
906
1045
  }>;
907
1046
  sessionId: z.ZodString;
908
1047
  /** Stable element reference this event concerns, when applicable (e.g. "e7"). */
@@ -942,53 +1081,53 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
942
1081
  /** Event-type-specific payload. Kept open here; refined per observer at the edges. */
943
1082
  data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
944
1083
  }, "strip", z.ZodTypeAny, {
945
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
1084
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
946
1085
  data: Record<string, unknown>;
947
1086
  t: number;
948
1087
  sessionId: string;
949
- editEpoch?: number | undefined;
950
1088
  seq?: number | undefined;
951
- ref?: string | undefined;
952
1089
  actionId?: string | undefined;
1090
+ editEpoch?: number | undefined;
1091
+ ref?: string | undefined;
953
1092
  attribution?: "window" | undefined;
954
1093
  documentId?: string | undefined;
955
1094
  }, {
956
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
1095
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
957
1096
  t: number;
958
1097
  sessionId: string;
1098
+ seq?: number | undefined;
1099
+ actionId?: string | undefined;
959
1100
  editEpoch?: number | undefined;
960
1101
  data?: Record<string, unknown> | undefined;
961
- seq?: number | undefined;
962
1102
  ref?: string | undefined;
963
- actionId?: string | undefined;
964
1103
  attribution?: "window" | undefined;
965
1104
  documentId?: string | undefined;
966
1105
  }>;
967
1106
  }, "strip", z.ZodTypeAny, {
968
1107
  kind: "event";
969
1108
  event: {
970
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
1109
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
971
1110
  data: Record<string, unknown>;
972
1111
  t: number;
973
1112
  sessionId: string;
974
- editEpoch?: number | undefined;
975
1113
  seq?: number | undefined;
976
- ref?: string | undefined;
977
1114
  actionId?: string | undefined;
1115
+ editEpoch?: number | undefined;
1116
+ ref?: string | undefined;
978
1117
  attribution?: "window" | undefined;
979
1118
  documentId?: string | undefined;
980
1119
  };
981
1120
  }, {
982
1121
  kind: "event";
983
1122
  event: {
984
- type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used";
1123
+ type: "signal" | "dom.added" | "dom.removed" | "dom.attr" | "dom.text" | "net.request" | "net.pending" | "net.stream" | "perf" | "route.change" | "console.log" | "console.warn" | "console.error" | "console.info" | "console.debug" | "error.uncaught" | "visible.shown" | "anim.start" | "anim.end" | "scroll.position" | "reveal.shown" | "state.change" | "storage.change" | "page.health" | "context.opened" | "dialog.opened" | "render.commit" | "focus.change" | "field.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download" | "hud.used" | "media.state" | "canvas.digest";
985
1124
  t: number;
986
1125
  sessionId: string;
1126
+ seq?: number | undefined;
1127
+ actionId?: string | undefined;
987
1128
  editEpoch?: number | undefined;
988
1129
  data?: Record<string, unknown> | undefined;
989
- seq?: number | undefined;
990
1130
  ref?: string | undefined;
991
- actionId?: string | undefined;
992
1131
  attribution?: "window" | undefined;
993
1132
  documentId?: string | undefined;
994
1133
  };