@reticlehq/core 3.1.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 +59 -2
- package/dist/artifacts/flow-constants.js +63 -3
- 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 +1071 -1225
- package/dist/artifacts/flow-types.js +96 -140
- package/dist/artifacts/impact.d.ts +200 -20
- package/dist/artifacts/impact.js +72 -0
- package/dist/artifacts/journal.d.ts +85 -6
- package/dist/artifacts/journal.js +51 -1
- 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/brand.d.ts +46 -0
- package/dist/identity/brand.js +7 -0
- package/dist/identity/source-constants.d.ts +11 -0
- package/dist/identity/source-constants.js +11 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +26 -2
- 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 +74 -1
- 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 +184 -102
- package/dist/telemetry.js +29 -1
- 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 +18 -0
- package/dist/verdict/verified-constants.js +18 -0
- package/dist/wire/constants/constants.d.ts +108 -98
- package/dist/wire/constants/constants.js +116 -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 +24 -0
- package/dist/wire/constants/session-constants.js +24 -0
- package/dist/wire/event-payloads.d.ts +70 -10
- package/dist/wire/event-payloads.js +20 -1
- package/dist/wire/messages.d.ts +90 -48
- package/dist/wire/messages.js +17 -0
- package/dist/wire/net.d.ts +42 -0
- package/dist/wire/net.js +48 -0
- package/dist/wire/snapshot-tree.d.ts +33 -0
- package/dist/wire/snapshot-tree.js +43 -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
|
@@ -251,6 +251,7 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
251
251
|
durationMs: z.ZodNumber;
|
|
252
252
|
initiator: z.ZodString;
|
|
253
253
|
urlRaw: z.ZodOptional<z.ZodString>;
|
|
254
|
+
requestShape: z.ZodOptional<z.ZodString>;
|
|
254
255
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
255
256
|
id: z.ZodString;
|
|
256
257
|
method: z.ZodString;
|
|
@@ -260,6 +261,7 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
260
261
|
durationMs: z.ZodNumber;
|
|
261
262
|
initiator: z.ZodString;
|
|
262
263
|
urlRaw: z.ZodOptional<z.ZodString>;
|
|
264
|
+
requestShape: z.ZodOptional<z.ZodString>;
|
|
263
265
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
264
266
|
id: z.ZodString;
|
|
265
267
|
method: z.ZodString;
|
|
@@ -269,6 +271,7 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
269
271
|
durationMs: z.ZodNumber;
|
|
270
272
|
initiator: z.ZodString;
|
|
271
273
|
urlRaw: z.ZodOptional<z.ZodString>;
|
|
274
|
+
requestShape: z.ZodOptional<z.ZodString>;
|
|
272
275
|
}, z.ZodTypeAny, "passthrough">>;
|
|
273
276
|
"net.pending": z.ZodObject<{
|
|
274
277
|
id: z.ZodString;
|
|
@@ -375,15 +378,15 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
375
378
|
search: z.ZodString;
|
|
376
379
|
hash: z.ZodString;
|
|
377
380
|
}, "strip", z.ZodTypeAny, {
|
|
378
|
-
pathname: string;
|
|
379
381
|
from: string;
|
|
380
382
|
to: string;
|
|
383
|
+
pathname: string;
|
|
381
384
|
search: string;
|
|
382
385
|
hash: string;
|
|
383
386
|
}, {
|
|
384
|
-
pathname: string;
|
|
385
387
|
from: string;
|
|
386
388
|
to: string;
|
|
389
|
+
pathname: string;
|
|
387
390
|
search: string;
|
|
388
391
|
hash: string;
|
|
389
392
|
}>;
|
|
@@ -471,15 +474,15 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
471
474
|
readonly DOWN: "down";
|
|
472
475
|
}>;
|
|
473
476
|
}, "strip", z.ZodTypeAny, {
|
|
477
|
+
percent: number;
|
|
474
478
|
direction: "up" | "down";
|
|
475
479
|
x: number;
|
|
476
480
|
y: number;
|
|
477
|
-
percent: number;
|
|
478
481
|
}, {
|
|
482
|
+
percent: number;
|
|
479
483
|
direction: "up" | "down";
|
|
480
484
|
x: number;
|
|
481
485
|
y: number;
|
|
482
|
-
percent: number;
|
|
483
486
|
}>;
|
|
484
487
|
"reveal.shown": z.ZodObject<{
|
|
485
488
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -695,6 +698,34 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
695
698
|
from?: string | undefined;
|
|
696
699
|
to?: string | undefined;
|
|
697
700
|
}>;
|
|
701
|
+
"field.change": z.ZodObject<{
|
|
702
|
+
/** What an assertion would call this field: its testid, else its name, else its accessible name. */
|
|
703
|
+
field: z.ZodString;
|
|
704
|
+
/** `input` is a settled burst of keystrokes; `change` is the commit that ends one. */
|
|
705
|
+
kind: z.ZodEnum<["input", "change"]>;
|
|
706
|
+
/**
|
|
707
|
+
* The length of the REAL value, never of the clipped one, and present even when redacted.
|
|
708
|
+
*
|
|
709
|
+
* "It was wiped" is the assertion this event exists for, and a length says it while carrying
|
|
710
|
+
* nobody's password. A cap that shortened this would read exactly like the wipe.
|
|
711
|
+
*/
|
|
712
|
+
length: z.ZodNumber;
|
|
713
|
+
/** Omitted for a password, a sensitive field name, or a payment autocomplete hint. */
|
|
714
|
+
value: z.ZodOptional<z.ZodString>;
|
|
715
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
length: number;
|
|
718
|
+
kind: "input" | "change";
|
|
719
|
+
field: string;
|
|
720
|
+
value?: string | undefined;
|
|
721
|
+
redacted?: true | undefined;
|
|
722
|
+
}, {
|
|
723
|
+
length: number;
|
|
724
|
+
kind: "input" | "change";
|
|
725
|
+
field: string;
|
|
726
|
+
value?: string | undefined;
|
|
727
|
+
redacted?: true | undefined;
|
|
728
|
+
}>;
|
|
698
729
|
"flow.recorded": z.ZodObject<{
|
|
699
730
|
name: z.ZodString;
|
|
700
731
|
flow: z.ZodUnknown;
|
|
@@ -784,13 +815,14 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
784
815
|
readonly MESSAGE: "message";
|
|
785
816
|
readonly REPLAY: "replay";
|
|
786
817
|
readonly SYNC: "sync";
|
|
818
|
+
readonly HARNESS: "harness";
|
|
787
819
|
}>;
|
|
788
820
|
text: z.ZodOptional<z.ZodString>;
|
|
789
821
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
kind: "message" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
822
|
+
kind: "message" | "harness" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
791
823
|
text?: string | undefined;
|
|
792
824
|
}, {
|
|
793
|
-
kind: "message" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
825
|
+
kind: "message" | "harness" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
794
826
|
text?: string | undefined;
|
|
795
827
|
}>;
|
|
796
828
|
"human.mark": z.ZodObject<{
|
|
@@ -815,9 +847,9 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
815
847
|
}>>;
|
|
816
848
|
route: z.ZodOptional<z.ZodString>;
|
|
817
849
|
}, "strip", z.ZodTypeAny, {
|
|
818
|
-
anchor: string;
|
|
819
850
|
note: string;
|
|
820
|
-
|
|
851
|
+
anchor: string;
|
|
852
|
+
strategy: "testid" | "role" | "component" | "position";
|
|
821
853
|
label?: string | undefined;
|
|
822
854
|
route?: string | undefined;
|
|
823
855
|
source?: {
|
|
@@ -825,9 +857,9 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
825
857
|
line: number;
|
|
826
858
|
} | undefined;
|
|
827
859
|
}, {
|
|
828
|
-
anchor: string;
|
|
829
860
|
note: string;
|
|
830
|
-
|
|
861
|
+
anchor: string;
|
|
862
|
+
strategy: "testid" | "role" | "component" | "position";
|
|
831
863
|
label?: string | undefined;
|
|
832
864
|
route?: string | undefined;
|
|
833
865
|
source?: {
|
|
@@ -835,6 +867,34 @@ export declare const EVENT_PAYLOAD_SCHEMAS: {
|
|
|
835
867
|
line: number;
|
|
836
868
|
} | undefined;
|
|
837
869
|
}>;
|
|
870
|
+
"hud.used": z.ZodObject<{
|
|
871
|
+
control: z.ZodOptional<z.ZodString>;
|
|
872
|
+
toggle: z.ZodOptional<z.ZodNativeEnum<{
|
|
873
|
+
readonly ON: "on";
|
|
874
|
+
readonly OFF: "off";
|
|
875
|
+
}>>;
|
|
876
|
+
view: z.ZodOptional<z.ZodNativeEnum<{
|
|
877
|
+
readonly BUBBLE: "bubble";
|
|
878
|
+
readonly COLLAPSED: "collapsed";
|
|
879
|
+
readonly EXPANDED: "expanded";
|
|
880
|
+
}>>;
|
|
881
|
+
panel: z.ZodOptional<z.ZodNativeEnum<{
|
|
882
|
+
readonly CHAT: "chat";
|
|
883
|
+
readonly SETTINGS: "settings";
|
|
884
|
+
readonly REPORT: "report";
|
|
885
|
+
readonly NONE: "none";
|
|
886
|
+
}>>;
|
|
887
|
+
}, "strip", z.ZodTypeAny, {
|
|
888
|
+
control?: string | undefined;
|
|
889
|
+
toggle?: "on" | "off" | undefined;
|
|
890
|
+
view?: "expanded" | "bubble" | "collapsed" | undefined;
|
|
891
|
+
panel?: "none" | "chat" | "settings" | "report" | undefined;
|
|
892
|
+
}, {
|
|
893
|
+
control?: string | undefined;
|
|
894
|
+
toggle?: "on" | "off" | undefined;
|
|
895
|
+
view?: "expanded" | "bubble" | "collapsed" | undefined;
|
|
896
|
+
panel?: "none" | "chat" | "settings" | "report" | undefined;
|
|
897
|
+
}>;
|
|
838
898
|
};
|
|
839
899
|
/** Narrow an event's `data` against its type's payload schema. Unknown in, typed-or-error out. */
|
|
840
900
|
export declare function parseEventPayload(type: EventType, data: unknown): z.SafeParseReturnType<unknown, unknown>;
|
|
@@ -2,7 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
import { EventType, PerfMetric } from './constants/constants.js';
|
|
3
3
|
import { BlindSpotKind } from '../verdict/verified-constants.js';
|
|
4
4
|
import { BrowserBrand } from '../telemetry-feedback.js';
|
|
5
|
-
import { HumanControlDataSchema, HumanMarkDataSchema } from './messages.js';
|
|
5
|
+
import { HudUseDataSchema, HumanControlDataSchema, HumanMarkDataSchema } from './messages.js';
|
|
6
|
+
import { REQUEST_SHAPE_FIELD } from './net.js';
|
|
6
7
|
/**
|
|
7
8
|
* Per-event-type payload schemas — the typed replacement for the envelope's open `data` record.
|
|
8
9
|
* The envelope (`ReticleEventSchema.data`) stays open on the wire so a richer SDK is never rejected
|
|
@@ -104,6 +105,7 @@ const netRequestSchema = z
|
|
|
104
105
|
durationMs: z.number(),
|
|
105
106
|
initiator: z.string(),
|
|
106
107
|
urlRaw: z.string().optional(),
|
|
108
|
+
[REQUEST_SHAPE_FIELD]: z.string().optional(),
|
|
107
109
|
})
|
|
108
110
|
.passthrough();
|
|
109
111
|
const consoleSchema = z.object({ message: z.string() }).passthrough();
|
|
@@ -221,6 +223,22 @@ export const EVENT_PAYLOAD_SCHEMAS = {
|
|
|
221
223
|
from: z.string().optional(),
|
|
222
224
|
toBody: z.boolean(),
|
|
223
225
|
}),
|
|
226
|
+
[EventType.FIELD_CHANGE]: z.object({
|
|
227
|
+
/** What an assertion would call this field: its testid, else its name, else its accessible name. */
|
|
228
|
+
field: z.string(),
|
|
229
|
+
/** `input` is a settled burst of keystrokes; `change` is the commit that ends one. */
|
|
230
|
+
kind: z.enum(['input', 'change']),
|
|
231
|
+
/**
|
|
232
|
+
* The length of the REAL value, never of the clipped one, and present even when redacted.
|
|
233
|
+
*
|
|
234
|
+
* "It was wiped" is the assertion this event exists for, and a length says it while carrying
|
|
235
|
+
* nobody's password. A cap that shortened this would read exactly like the wipe.
|
|
236
|
+
*/
|
|
237
|
+
length: z.number().int().nonnegative(),
|
|
238
|
+
/** Omitted for a password, a sensitive field name, or a payment autocomplete hint. */
|
|
239
|
+
value: z.string().optional(),
|
|
240
|
+
redacted: z.literal(true).optional(),
|
|
241
|
+
}),
|
|
224
242
|
[EventType.FLOW_RECORDED]: z.object({ name: z.string(), flow: z.unknown() }),
|
|
225
243
|
[EventType.TRANSPORT_OVERFLOW]: z.object({ dropped: z.number() }),
|
|
226
244
|
[EventType.TRUNCATED]: z.object({ channel: z.string(), dropped: z.number() }),
|
|
@@ -243,6 +261,7 @@ export const EVENT_PAYLOAD_SCHEMAS = {
|
|
|
243
261
|
.passthrough(),
|
|
244
262
|
[EventType.HUMAN_CONTROL]: HumanControlDataSchema,
|
|
245
263
|
[EventType.HUMAN_MARK]: HumanMarkDataSchema,
|
|
264
|
+
[EventType.HUD_USED]: HudUseDataSchema,
|
|
246
265
|
};
|
|
247
266
|
/** Narrow an event's `data` against its type's payload schema. Unknown in, typed-or-error out. */
|
|
248
267
|
export function parseEventPayload(type, data) {
|
package/dist/wire/messages.d.ts
CHANGED
|
@@ -11,16 +11,52 @@ export declare const HumanControlDataSchema: z.ZodObject<{
|
|
|
11
11
|
readonly MESSAGE: "message";
|
|
12
12
|
readonly REPLAY: "replay";
|
|
13
13
|
readonly SYNC: "sync";
|
|
14
|
+
readonly HARNESS: "harness";
|
|
14
15
|
}>;
|
|
15
16
|
text: z.ZodOptional<z.ZodString>;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
kind: "message" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
18
|
+
kind: "message" | "harness" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
18
19
|
text?: string | undefined;
|
|
19
20
|
}, {
|
|
20
|
-
kind: "message" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
21
|
+
kind: "message" | "harness" | "pause" | "resume" | "end" | "replay" | "sync";
|
|
21
22
|
text?: string | undefined;
|
|
22
23
|
}>;
|
|
23
24
|
export type HumanControlData = z.infer<typeof HumanControlDataSchema>;
|
|
25
|
+
/**
|
|
26
|
+
* The narrowed payload of a HUD_USED event: a control pressed, or where the HUD now sits.
|
|
27
|
+
*
|
|
28
|
+
* The shape of a control id only. Membership in HUD_CONTROLS is checked where it is counted, in the
|
|
29
|
+
* daemon, so the list stays out of the bytes every page downloads on load.
|
|
30
|
+
*/
|
|
31
|
+
export declare const HudUseDataSchema: z.ZodObject<{
|
|
32
|
+
control: z.ZodOptional<z.ZodString>;
|
|
33
|
+
toggle: z.ZodOptional<z.ZodNativeEnum<{
|
|
34
|
+
readonly ON: "on";
|
|
35
|
+
readonly OFF: "off";
|
|
36
|
+
}>>;
|
|
37
|
+
view: z.ZodOptional<z.ZodNativeEnum<{
|
|
38
|
+
readonly BUBBLE: "bubble";
|
|
39
|
+
readonly COLLAPSED: "collapsed";
|
|
40
|
+
readonly EXPANDED: "expanded";
|
|
41
|
+
}>>;
|
|
42
|
+
panel: z.ZodOptional<z.ZodNativeEnum<{
|
|
43
|
+
readonly CHAT: "chat";
|
|
44
|
+
readonly SETTINGS: "settings";
|
|
45
|
+
readonly REPORT: "report";
|
|
46
|
+
readonly NONE: "none";
|
|
47
|
+
}>>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
control?: string | undefined;
|
|
50
|
+
toggle?: "on" | "off" | undefined;
|
|
51
|
+
view?: "expanded" | "bubble" | "collapsed" | undefined;
|
|
52
|
+
panel?: "none" | "chat" | "settings" | "report" | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
control?: string | undefined;
|
|
55
|
+
toggle?: "on" | "off" | undefined;
|
|
56
|
+
view?: "expanded" | "bubble" | "collapsed" | undefined;
|
|
57
|
+
panel?: "none" | "chat" | "settings" | "report" | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
export type HudUseData = z.infer<typeof HudUseDataSchema>;
|
|
24
60
|
/**
|
|
25
61
|
* Human review: the narrowed payload of a HUMAN_MARK event. A human flagged a mistake pinned to an
|
|
26
62
|
* element on the running page; the server safeParses `event.data` against this at the inbound
|
|
@@ -56,9 +92,9 @@ export declare const HumanMarkDataSchema: z.ZodObject<{
|
|
|
56
92
|
/** Route/URL the mark was made on, so the agent can reproduce the context. */
|
|
57
93
|
route: z.ZodOptional<z.ZodString>;
|
|
58
94
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
anchor: string;
|
|
60
95
|
note: string;
|
|
61
|
-
|
|
96
|
+
anchor: string;
|
|
97
|
+
strategy: "testid" | "role" | "component" | "position";
|
|
62
98
|
label?: string | undefined;
|
|
63
99
|
route?: string | undefined;
|
|
64
100
|
source?: {
|
|
@@ -66,9 +102,9 @@ export declare const HumanMarkDataSchema: z.ZodObject<{
|
|
|
66
102
|
line: number;
|
|
67
103
|
} | undefined;
|
|
68
104
|
}, {
|
|
69
|
-
anchor: string;
|
|
70
105
|
note: string;
|
|
71
|
-
|
|
106
|
+
anchor: string;
|
|
107
|
+
strategy: "testid" | "role" | "component" | "position";
|
|
72
108
|
label?: string | undefined;
|
|
73
109
|
route?: string | undefined;
|
|
74
110
|
source?: {
|
|
@@ -113,6 +149,7 @@ export declare const ReticleEventSchema: z.ZodObject<{
|
|
|
113
149
|
readonly DIALOG_OPENED: "dialog.opened";
|
|
114
150
|
readonly RENDER_COMMIT: "render.commit";
|
|
115
151
|
readonly FOCUS_CHANGE: "focus.change";
|
|
152
|
+
readonly FIELD_CHANGE: "field.change";
|
|
116
153
|
readonly FLOW_RECORDED: "flow.recorded";
|
|
117
154
|
readonly TRANSPORT_OVERFLOW: "transport.overflow";
|
|
118
155
|
readonly TRUNCATED: "truncated";
|
|
@@ -122,6 +159,7 @@ export declare const ReticleEventSchema: z.ZodObject<{
|
|
|
122
159
|
readonly HUMAN_CONTROL: "human.control";
|
|
123
160
|
readonly HUMAN_MARK: "human.mark";
|
|
124
161
|
readonly DOWNLOAD: "download";
|
|
162
|
+
readonly HUD_USED: "hud.used";
|
|
125
163
|
}>;
|
|
126
164
|
sessionId: z.ZodString;
|
|
127
165
|
/** Stable element reference this event concerns, when applicable (e.g. "e7"). */
|
|
@@ -161,27 +199,27 @@ export declare const ReticleEventSchema: z.ZodObject<{
|
|
|
161
199
|
/** Event-type-specific payload. Kept open here; refined per observer at the edges. */
|
|
162
200
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
163
201
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
type: "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" | "
|
|
202
|
+
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";
|
|
203
|
+
data: Record<string, unknown>;
|
|
165
204
|
t: number;
|
|
166
205
|
sessionId: string;
|
|
167
|
-
|
|
206
|
+
editEpoch?: number | undefined;
|
|
168
207
|
ref?: string | undefined;
|
|
169
208
|
seq?: number | undefined;
|
|
170
209
|
actionId?: string | undefined;
|
|
171
210
|
attribution?: "window" | undefined;
|
|
172
211
|
documentId?: string | undefined;
|
|
173
|
-
editEpoch?: number | undefined;
|
|
174
212
|
}, {
|
|
175
|
-
type: "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" | "
|
|
213
|
+
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";
|
|
176
214
|
t: number;
|
|
177
215
|
sessionId: string;
|
|
216
|
+
editEpoch?: number | undefined;
|
|
217
|
+
data?: Record<string, unknown> | undefined;
|
|
178
218
|
ref?: string | undefined;
|
|
179
219
|
seq?: number | undefined;
|
|
180
220
|
actionId?: string | undefined;
|
|
181
221
|
attribution?: "window" | undefined;
|
|
182
222
|
documentId?: string | undefined;
|
|
183
|
-
editEpoch?: number | undefined;
|
|
184
|
-
data?: Record<string, unknown> | undefined;
|
|
185
223
|
}>;
|
|
186
224
|
export type ReticleEvent = z.infer<typeof ReticleEventSchema>;
|
|
187
225
|
/** Browser announces itself to the bridge on connect. */
|
|
@@ -347,7 +385,7 @@ export declare const HelloMessageSchema: z.ZodObject<{
|
|
|
347
385
|
projectId?: string | undefined;
|
|
348
386
|
token?: string | undefined;
|
|
349
387
|
platform?: "native" | "web" | "webview" | "service" | undefined;
|
|
350
|
-
channels?: ("
|
|
388
|
+
channels?: ("signal" | "visual" | "net" | "state" | "route" | "ui" | "log" | "storage" | "time")[] | undefined;
|
|
351
389
|
commands?: string[] | undefined;
|
|
352
390
|
contractParts?: {
|
|
353
391
|
events: string[];
|
|
@@ -370,7 +408,7 @@ export declare const HelloMessageSchema: z.ZodObject<{
|
|
|
370
408
|
projectId?: string | undefined;
|
|
371
409
|
token?: string | undefined;
|
|
372
410
|
platform?: "native" | "web" | "webview" | "service" | undefined;
|
|
373
|
-
channels?: ("
|
|
411
|
+
channels?: ("signal" | "visual" | "net" | "state" | "route" | "ui" | "log" | "storage" | "time")[] | undefined;
|
|
374
412
|
commands?: string[] | undefined;
|
|
375
413
|
contractParts?: {
|
|
376
414
|
events: string[];
|
|
@@ -394,14 +432,14 @@ export declare const CommandMessageSchema: z.ZodObject<{
|
|
|
394
432
|
args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
395
433
|
}, "strip", z.ZodTypeAny, {
|
|
396
434
|
id: string;
|
|
397
|
-
kind: "command";
|
|
398
435
|
name: string;
|
|
436
|
+
kind: "command";
|
|
399
437
|
args: Record<string, unknown>;
|
|
400
438
|
sessionId?: string | undefined;
|
|
401
439
|
}, {
|
|
402
440
|
id: string;
|
|
403
|
-
kind: "command";
|
|
404
441
|
name: string;
|
|
442
|
+
kind: "command";
|
|
405
443
|
args?: Record<string, unknown> | undefined;
|
|
406
444
|
sessionId?: string | undefined;
|
|
407
445
|
}>;
|
|
@@ -414,14 +452,14 @@ export declare const CommandResultSchema: z.ZodObject<{
|
|
|
414
452
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
415
453
|
error: z.ZodOptional<z.ZodString>;
|
|
416
454
|
}, "strip", z.ZodTypeAny, {
|
|
417
|
-
id: string;
|
|
418
455
|
ok: boolean;
|
|
456
|
+
id: string;
|
|
419
457
|
kind: "command_result";
|
|
420
458
|
error?: string | undefined;
|
|
421
459
|
result?: unknown;
|
|
422
460
|
}, {
|
|
423
|
-
id: string;
|
|
424
461
|
ok: boolean;
|
|
462
|
+
id: string;
|
|
425
463
|
kind: "command_result";
|
|
426
464
|
error?: string | undefined;
|
|
427
465
|
result?: unknown;
|
|
@@ -461,6 +499,7 @@ export declare const EventMessageSchema: z.ZodObject<{
|
|
|
461
499
|
readonly DIALOG_OPENED: "dialog.opened";
|
|
462
500
|
readonly RENDER_COMMIT: "render.commit";
|
|
463
501
|
readonly FOCUS_CHANGE: "focus.change";
|
|
502
|
+
readonly FIELD_CHANGE: "field.change";
|
|
464
503
|
readonly FLOW_RECORDED: "flow.recorded";
|
|
465
504
|
readonly TRANSPORT_OVERFLOW: "transport.overflow";
|
|
466
505
|
readonly TRUNCATED: "truncated";
|
|
@@ -470,6 +509,7 @@ export declare const EventMessageSchema: z.ZodObject<{
|
|
|
470
509
|
readonly HUMAN_CONTROL: "human.control";
|
|
471
510
|
readonly HUMAN_MARK: "human.mark";
|
|
472
511
|
readonly DOWNLOAD: "download";
|
|
512
|
+
readonly HUD_USED: "hud.used";
|
|
473
513
|
}>;
|
|
474
514
|
sessionId: z.ZodString;
|
|
475
515
|
/** Stable element reference this event concerns, when applicable (e.g. "e7"). */
|
|
@@ -509,54 +549,54 @@ export declare const EventMessageSchema: z.ZodObject<{
|
|
|
509
549
|
/** Event-type-specific payload. Kept open here; refined per observer at the edges. */
|
|
510
550
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
511
551
|
}, "strip", z.ZodTypeAny, {
|
|
512
|
-
type: "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" | "
|
|
552
|
+
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";
|
|
553
|
+
data: Record<string, unknown>;
|
|
513
554
|
t: number;
|
|
514
555
|
sessionId: string;
|
|
515
|
-
|
|
556
|
+
editEpoch?: number | undefined;
|
|
516
557
|
ref?: string | undefined;
|
|
517
558
|
seq?: number | undefined;
|
|
518
559
|
actionId?: string | undefined;
|
|
519
560
|
attribution?: "window" | undefined;
|
|
520
561
|
documentId?: string | undefined;
|
|
521
|
-
editEpoch?: number | undefined;
|
|
522
562
|
}, {
|
|
523
|
-
type: "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" | "
|
|
563
|
+
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";
|
|
524
564
|
t: number;
|
|
525
565
|
sessionId: string;
|
|
566
|
+
editEpoch?: number | undefined;
|
|
567
|
+
data?: Record<string, unknown> | undefined;
|
|
526
568
|
ref?: string | undefined;
|
|
527
569
|
seq?: number | undefined;
|
|
528
570
|
actionId?: string | undefined;
|
|
529
571
|
attribution?: "window" | undefined;
|
|
530
572
|
documentId?: string | undefined;
|
|
531
|
-
editEpoch?: number | undefined;
|
|
532
|
-
data?: Record<string, unknown> | undefined;
|
|
533
573
|
}>;
|
|
534
574
|
}, "strip", z.ZodTypeAny, {
|
|
535
575
|
event: {
|
|
536
|
-
type: "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" | "
|
|
576
|
+
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";
|
|
577
|
+
data: Record<string, unknown>;
|
|
537
578
|
t: number;
|
|
538
579
|
sessionId: string;
|
|
539
|
-
|
|
580
|
+
editEpoch?: number | undefined;
|
|
540
581
|
ref?: string | undefined;
|
|
541
582
|
seq?: number | undefined;
|
|
542
583
|
actionId?: string | undefined;
|
|
543
584
|
attribution?: "window" | undefined;
|
|
544
585
|
documentId?: string | undefined;
|
|
545
|
-
editEpoch?: number | undefined;
|
|
546
586
|
};
|
|
547
587
|
kind: "event";
|
|
548
588
|
}, {
|
|
549
589
|
event: {
|
|
550
|
-
type: "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" | "
|
|
590
|
+
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";
|
|
551
591
|
t: number;
|
|
552
592
|
sessionId: string;
|
|
593
|
+
editEpoch?: number | undefined;
|
|
594
|
+
data?: Record<string, unknown> | undefined;
|
|
553
595
|
ref?: string | undefined;
|
|
554
596
|
seq?: number | undefined;
|
|
555
597
|
actionId?: string | undefined;
|
|
556
598
|
attribution?: "window" | undefined;
|
|
557
599
|
documentId?: string | undefined;
|
|
558
|
-
editEpoch?: number | undefined;
|
|
559
|
-
data?: Record<string, unknown> | undefined;
|
|
560
600
|
};
|
|
561
601
|
kind: "event";
|
|
562
602
|
}>;
|
|
@@ -723,7 +763,7 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
723
763
|
projectId?: string | undefined;
|
|
724
764
|
token?: string | undefined;
|
|
725
765
|
platform?: "native" | "web" | "webview" | "service" | undefined;
|
|
726
|
-
channels?: ("
|
|
766
|
+
channels?: ("signal" | "visual" | "net" | "state" | "route" | "ui" | "log" | "storage" | "time")[] | undefined;
|
|
727
767
|
commands?: string[] | undefined;
|
|
728
768
|
contractParts?: {
|
|
729
769
|
events: string[];
|
|
@@ -746,7 +786,7 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
746
786
|
projectId?: string | undefined;
|
|
747
787
|
token?: string | undefined;
|
|
748
788
|
platform?: "native" | "web" | "webview" | "service" | undefined;
|
|
749
|
-
channels?: ("
|
|
789
|
+
channels?: ("signal" | "visual" | "net" | "state" | "route" | "ui" | "log" | "storage" | "time")[] | undefined;
|
|
750
790
|
commands?: string[] | undefined;
|
|
751
791
|
contractParts?: {
|
|
752
792
|
events: string[];
|
|
@@ -767,14 +807,14 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
767
807
|
args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
768
808
|
}, "strip", z.ZodTypeAny, {
|
|
769
809
|
id: string;
|
|
770
|
-
kind: "command";
|
|
771
810
|
name: string;
|
|
811
|
+
kind: "command";
|
|
772
812
|
args: Record<string, unknown>;
|
|
773
813
|
sessionId?: string | undefined;
|
|
774
814
|
}, {
|
|
775
815
|
id: string;
|
|
776
|
-
kind: "command";
|
|
777
816
|
name: string;
|
|
817
|
+
kind: "command";
|
|
778
818
|
args?: Record<string, unknown> | undefined;
|
|
779
819
|
sessionId?: string | undefined;
|
|
780
820
|
}>, z.ZodObject<{
|
|
@@ -784,14 +824,14 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
784
824
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
785
825
|
error: z.ZodOptional<z.ZodString>;
|
|
786
826
|
}, "strip", z.ZodTypeAny, {
|
|
787
|
-
id: string;
|
|
788
827
|
ok: boolean;
|
|
828
|
+
id: string;
|
|
789
829
|
kind: "command_result";
|
|
790
830
|
error?: string | undefined;
|
|
791
831
|
result?: unknown;
|
|
792
832
|
}, {
|
|
793
|
-
id: string;
|
|
794
833
|
ok: boolean;
|
|
834
|
+
id: string;
|
|
795
835
|
kind: "command_result";
|
|
796
836
|
error?: string | undefined;
|
|
797
837
|
result?: unknown;
|
|
@@ -828,6 +868,7 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
828
868
|
readonly DIALOG_OPENED: "dialog.opened";
|
|
829
869
|
readonly RENDER_COMMIT: "render.commit";
|
|
830
870
|
readonly FOCUS_CHANGE: "focus.change";
|
|
871
|
+
readonly FIELD_CHANGE: "field.change";
|
|
831
872
|
readonly FLOW_RECORDED: "flow.recorded";
|
|
832
873
|
readonly TRANSPORT_OVERFLOW: "transport.overflow";
|
|
833
874
|
readonly TRUNCATED: "truncated";
|
|
@@ -837,6 +878,7 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
837
878
|
readonly HUMAN_CONTROL: "human.control";
|
|
838
879
|
readonly HUMAN_MARK: "human.mark";
|
|
839
880
|
readonly DOWNLOAD: "download";
|
|
881
|
+
readonly HUD_USED: "hud.used";
|
|
840
882
|
}>;
|
|
841
883
|
sessionId: z.ZodString;
|
|
842
884
|
/** Stable element reference this event concerns, when applicable (e.g. "e7"). */
|
|
@@ -876,54 +918,54 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
876
918
|
/** Event-type-specific payload. Kept open here; refined per observer at the edges. */
|
|
877
919
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
878
920
|
}, "strip", z.ZodTypeAny, {
|
|
879
|
-
type: "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" | "
|
|
921
|
+
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";
|
|
922
|
+
data: Record<string, unknown>;
|
|
880
923
|
t: number;
|
|
881
924
|
sessionId: string;
|
|
882
|
-
|
|
925
|
+
editEpoch?: number | undefined;
|
|
883
926
|
ref?: string | undefined;
|
|
884
927
|
seq?: number | undefined;
|
|
885
928
|
actionId?: string | undefined;
|
|
886
929
|
attribution?: "window" | undefined;
|
|
887
930
|
documentId?: string | undefined;
|
|
888
|
-
editEpoch?: number | undefined;
|
|
889
931
|
}, {
|
|
890
|
-
type: "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" | "
|
|
932
|
+
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";
|
|
891
933
|
t: number;
|
|
892
934
|
sessionId: string;
|
|
935
|
+
editEpoch?: number | undefined;
|
|
936
|
+
data?: Record<string, unknown> | undefined;
|
|
893
937
|
ref?: string | undefined;
|
|
894
938
|
seq?: number | undefined;
|
|
895
939
|
actionId?: string | undefined;
|
|
896
940
|
attribution?: "window" | undefined;
|
|
897
941
|
documentId?: string | undefined;
|
|
898
|
-
editEpoch?: number | undefined;
|
|
899
|
-
data?: Record<string, unknown> | undefined;
|
|
900
942
|
}>;
|
|
901
943
|
}, "strip", z.ZodTypeAny, {
|
|
902
944
|
event: {
|
|
903
|
-
type: "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" | "
|
|
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";
|
|
946
|
+
data: Record<string, unknown>;
|
|
904
947
|
t: number;
|
|
905
948
|
sessionId: string;
|
|
906
|
-
|
|
949
|
+
editEpoch?: number | undefined;
|
|
907
950
|
ref?: string | undefined;
|
|
908
951
|
seq?: number | undefined;
|
|
909
952
|
actionId?: string | undefined;
|
|
910
953
|
attribution?: "window" | undefined;
|
|
911
954
|
documentId?: string | undefined;
|
|
912
|
-
editEpoch?: number | undefined;
|
|
913
955
|
};
|
|
914
956
|
kind: "event";
|
|
915
957
|
}, {
|
|
916
958
|
event: {
|
|
917
|
-
type: "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" | "
|
|
959
|
+
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";
|
|
918
960
|
t: number;
|
|
919
961
|
sessionId: string;
|
|
962
|
+
editEpoch?: number | undefined;
|
|
963
|
+
data?: Record<string, unknown> | undefined;
|
|
920
964
|
ref?: string | undefined;
|
|
921
965
|
seq?: number | undefined;
|
|
922
966
|
actionId?: string | undefined;
|
|
923
967
|
attribution?: "window" | undefined;
|
|
924
968
|
documentId?: string | undefined;
|
|
925
|
-
editEpoch?: number | undefined;
|
|
926
|
-
data?: Record<string, unknown> | undefined;
|
|
927
969
|
};
|
|
928
970
|
kind: "event";
|
|
929
971
|
}>]>;
|