@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.
- package/dist/artifacts-entry.d.ts +20 -0
- package/dist/artifacts-entry.js +20 -0
- package/dist/consequence.d.ts +8 -1
- package/dist/consequence.js +11 -2
- package/dist/constants.d.ts +33 -0
- package/dist/constants.js +32 -0
- package/dist/dev-server-registry.d.ts +2 -2
- package/dist/event-payloads.d.ts +167 -10
- package/dist/event-payloads.js +40 -0
- package/dist/findings.d.ts +61 -0
- package/dist/findings.js +67 -0
- package/dist/flow-constants.d.ts +8 -0
- package/dist/flow-constants.js +8 -0
- package/dist/flow-types.d.ts +371 -133
- package/dist/flow-types.js +55 -3
- package/dist/global-press.d.ts +30 -0
- package/dist/global-press.js +54 -0
- package/dist/impact-savings.d.ts +7 -3
- package/dist/impact-savings.js +27 -4
- package/dist/impact.d.ts +96 -44
- package/dist/impact.js +21 -0
- package/dist/index.d.ts +16 -2
- package/dist/index.js +16 -2
- package/dist/instrumentation-gap.d.ts +15 -0
- package/dist/instrumentation-gap.js +16 -0
- package/dist/intent.d.ts +24 -24
- package/dist/journal.d.ts +7 -7
- package/dist/messages.d.ts +107 -46
- package/dist/messages.js +25 -0
- package/dist/net.d.ts +40 -0
- package/dist/net.js +40 -0
- package/dist/notices.d.ts +16 -0
- package/dist/notices.js +19 -0
- package/dist/redaction.d.ts +30 -0
- package/dist/redaction.js +127 -2
- package/dist/schema/event-message.json +1 -0
- package/dist/schema/event-type.json +1 -0
- package/dist/schema/hello-message.json +6 -0
- package/dist/schema/reticle-event.json +1 -0
- package/dist/schema/reticle-message.json +7 -0
- package/dist/telemetry-entry.d.ts +15 -0
- package/dist/telemetry-entry.js +15 -0
- package/dist/telemetry-feedback.d.ts +2 -2
- package/dist/telemetry-session.d.ts +2 -2
- package/dist/telemetry.d.ts +52 -50
- package/dist/types.d.ts +83 -44
- package/dist/types.js +20 -1
- package/dist/upgrade.d.ts +2 -2
- package/dist/verification-run.d.ts +36 -36
- package/dist/verified-constants.d.ts +11 -0
- package/dist/verified-constants.js +11 -0
- package/dist/verify-progress.d.ts +133 -0
- package/dist/verify-progress.js +78 -0
- package/package.json +9 -1
package/dist/intent.d.ts
CHANGED
|
@@ -50,12 +50,12 @@ export declare const IntentSurfaceSchema: z.ZodObject<{
|
|
|
50
50
|
flow: z.ZodOptional<z.ZodString>;
|
|
51
51
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
flow?: string | undefined;
|
|
54
53
|
route?: string | undefined;
|
|
54
|
+
flow?: string | undefined;
|
|
55
55
|
files?: string[] | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
flow?: string | undefined;
|
|
58
57
|
route?: string | undefined;
|
|
58
|
+
flow?: string | undefined;
|
|
59
59
|
files?: string[] | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
export type IntentSurface = z.infer<typeof IntentSurfaceSchema>;
|
|
@@ -86,12 +86,12 @@ export declare const IntentSchema: z.ZodObject<{
|
|
|
86
86
|
flow: z.ZodOptional<z.ZodString>;
|
|
87
87
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
flow?: string | undefined;
|
|
90
89
|
route?: string | undefined;
|
|
90
|
+
flow?: string | undefined;
|
|
91
91
|
files?: string[] | undefined;
|
|
92
92
|
}, {
|
|
93
|
-
flow?: string | undefined;
|
|
94
93
|
route?: string | undefined;
|
|
94
|
+
flow?: string | undefined;
|
|
95
95
|
files?: string[] | undefined;
|
|
96
96
|
}>>;
|
|
97
97
|
provenBy: z.ZodOptional<z.ZodObject<{
|
|
@@ -120,15 +120,15 @@ export declare const IntentSchema: z.ZodObject<{
|
|
|
120
120
|
}>, "many">>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
122
|
id: string;
|
|
123
|
-
state: "proved" | "declared" | "bound";
|
|
124
123
|
statement: string;
|
|
124
|
+
state: "declared" | "bound" | "proved";
|
|
125
125
|
declaredAt: number;
|
|
126
|
+
binding?: unknown;
|
|
126
127
|
surface?: {
|
|
127
|
-
flow?: string | undefined;
|
|
128
128
|
route?: string | undefined;
|
|
129
|
+
flow?: string | undefined;
|
|
129
130
|
files?: string[] | undefined;
|
|
130
131
|
} | undefined;
|
|
131
|
-
binding?: unknown;
|
|
132
132
|
provenBy?: {
|
|
133
133
|
at: number;
|
|
134
134
|
verdictId: string;
|
|
@@ -140,15 +140,15 @@ export declare const IntentSchema: z.ZodObject<{
|
|
|
140
140
|
}[] | undefined;
|
|
141
141
|
}, {
|
|
142
142
|
id: string;
|
|
143
|
-
state: "proved" | "declared" | "bound";
|
|
144
143
|
statement: string;
|
|
144
|
+
state: "declared" | "bound" | "proved";
|
|
145
145
|
declaredAt: number;
|
|
146
|
+
binding?: unknown;
|
|
146
147
|
surface?: {
|
|
147
|
-
flow?: string | undefined;
|
|
148
148
|
route?: string | undefined;
|
|
149
|
+
flow?: string | undefined;
|
|
149
150
|
files?: string[] | undefined;
|
|
150
151
|
} | undefined;
|
|
151
|
-
binding?: unknown;
|
|
152
152
|
provenBy?: {
|
|
153
153
|
at: number;
|
|
154
154
|
verdictId: string;
|
|
@@ -175,12 +175,12 @@ export declare const IntentFileSchema: z.ZodObject<{
|
|
|
175
175
|
flow: z.ZodOptional<z.ZodString>;
|
|
176
176
|
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
flow?: string | undefined;
|
|
179
178
|
route?: string | undefined;
|
|
179
|
+
flow?: string | undefined;
|
|
180
180
|
files?: string[] | undefined;
|
|
181
181
|
}, {
|
|
182
|
-
flow?: string | undefined;
|
|
183
182
|
route?: string | undefined;
|
|
183
|
+
flow?: string | undefined;
|
|
184
184
|
files?: string[] | undefined;
|
|
185
185
|
}>>;
|
|
186
186
|
provenBy: z.ZodOptional<z.ZodObject<{
|
|
@@ -209,15 +209,15 @@ export declare const IntentFileSchema: z.ZodObject<{
|
|
|
209
209
|
}>, "many">>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
211
|
id: string;
|
|
212
|
-
state: "proved" | "declared" | "bound";
|
|
213
212
|
statement: string;
|
|
213
|
+
state: "declared" | "bound" | "proved";
|
|
214
214
|
declaredAt: number;
|
|
215
|
+
binding?: unknown;
|
|
215
216
|
surface?: {
|
|
216
|
-
flow?: string | undefined;
|
|
217
217
|
route?: string | undefined;
|
|
218
|
+
flow?: string | undefined;
|
|
218
219
|
files?: string[] | undefined;
|
|
219
220
|
} | undefined;
|
|
220
|
-
binding?: unknown;
|
|
221
221
|
provenBy?: {
|
|
222
222
|
at: number;
|
|
223
223
|
verdictId: string;
|
|
@@ -229,15 +229,15 @@ export declare const IntentFileSchema: z.ZodObject<{
|
|
|
229
229
|
}[] | undefined;
|
|
230
230
|
}, {
|
|
231
231
|
id: string;
|
|
232
|
-
state: "proved" | "declared" | "bound";
|
|
233
232
|
statement: string;
|
|
233
|
+
state: "declared" | "bound" | "proved";
|
|
234
234
|
declaredAt: number;
|
|
235
|
+
binding?: unknown;
|
|
235
236
|
surface?: {
|
|
236
|
-
flow?: string | undefined;
|
|
237
237
|
route?: string | undefined;
|
|
238
|
+
flow?: string | undefined;
|
|
238
239
|
files?: string[] | undefined;
|
|
239
240
|
} | undefined;
|
|
240
|
-
binding?: unknown;
|
|
241
241
|
provenBy?: {
|
|
242
242
|
at: number;
|
|
243
243
|
verdictId: string;
|
|
@@ -252,15 +252,15 @@ export declare const IntentFileSchema: z.ZodObject<{
|
|
|
252
252
|
version: 1;
|
|
253
253
|
intents: Record<string, {
|
|
254
254
|
id: string;
|
|
255
|
-
state: "proved" | "declared" | "bound";
|
|
256
255
|
statement: string;
|
|
256
|
+
state: "declared" | "bound" | "proved";
|
|
257
257
|
declaredAt: number;
|
|
258
|
+
binding?: unknown;
|
|
258
259
|
surface?: {
|
|
259
|
-
flow?: string | undefined;
|
|
260
260
|
route?: string | undefined;
|
|
261
|
+
flow?: string | undefined;
|
|
261
262
|
files?: string[] | undefined;
|
|
262
263
|
} | undefined;
|
|
263
|
-
binding?: unknown;
|
|
264
264
|
provenBy?: {
|
|
265
265
|
at: number;
|
|
266
266
|
verdictId: string;
|
|
@@ -275,15 +275,15 @@ export declare const IntentFileSchema: z.ZodObject<{
|
|
|
275
275
|
version: 1;
|
|
276
276
|
intents: Record<string, {
|
|
277
277
|
id: string;
|
|
278
|
-
state: "proved" | "declared" | "bound";
|
|
279
278
|
statement: string;
|
|
279
|
+
state: "declared" | "bound" | "proved";
|
|
280
280
|
declaredAt: number;
|
|
281
|
+
binding?: unknown;
|
|
281
282
|
surface?: {
|
|
282
|
-
flow?: string | undefined;
|
|
283
283
|
route?: string | undefined;
|
|
284
|
+
flow?: string | undefined;
|
|
284
285
|
files?: string[] | undefined;
|
|
285
286
|
} | undefined;
|
|
286
|
-
binding?: unknown;
|
|
287
287
|
provenBy?: {
|
|
288
288
|
at: number;
|
|
289
289
|
verdictId: string;
|
package/dist/journal.d.ts
CHANGED
|
@@ -53,16 +53,16 @@ export declare const JournalActionSchema: z.ZodObject<{
|
|
|
53
53
|
at: z.ZodNumber;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
at: number;
|
|
56
|
+
v: 1;
|
|
56
57
|
actionId: string;
|
|
57
|
-
args: Record<string, unknown>;
|
|
58
58
|
tool: string;
|
|
59
|
-
|
|
59
|
+
args: Record<string, unknown>;
|
|
60
60
|
tRange: {
|
|
61
61
|
from: number;
|
|
62
62
|
to: number;
|
|
63
63
|
};
|
|
64
|
-
settled?: boolean | undefined;
|
|
65
64
|
effect?: unknown;
|
|
65
|
+
settled?: boolean | undefined;
|
|
66
66
|
settledInMs?: number | undefined;
|
|
67
67
|
seqRange?: {
|
|
68
68
|
from: number;
|
|
@@ -70,16 +70,16 @@ export declare const JournalActionSchema: z.ZodObject<{
|
|
|
70
70
|
} | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
at: number;
|
|
73
|
+
v: 1;
|
|
73
74
|
actionId: string;
|
|
74
75
|
tool: string;
|
|
75
|
-
v: 1;
|
|
76
76
|
tRange: {
|
|
77
77
|
from: number;
|
|
78
78
|
to: number;
|
|
79
79
|
};
|
|
80
80
|
args?: Record<string, unknown> | undefined;
|
|
81
|
-
settled?: boolean | undefined;
|
|
82
81
|
effect?: unknown;
|
|
82
|
+
settled?: boolean | undefined;
|
|
83
83
|
settledInMs?: number | undefined;
|
|
84
84
|
seqRange?: {
|
|
85
85
|
from: number;
|
|
@@ -112,11 +112,11 @@ export declare const JournalVerdictEffectSchema: z.ZodObject<{
|
|
|
112
112
|
source: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
claim: string;
|
|
115
|
-
verified: "
|
|
115
|
+
verified: "unknown" | "yes" | "no" | "no-fault";
|
|
116
116
|
source?: string | undefined;
|
|
117
117
|
}, {
|
|
118
118
|
claim: string;
|
|
119
|
-
verified: "
|
|
119
|
+
verified: "unknown" | "yes" | "no" | "no-fault";
|
|
120
120
|
source?: string | undefined;
|
|
121
121
|
}>;
|
|
122
122
|
export type JournalVerdictEffect = z.infer<typeof JournalVerdictEffectSchema>;
|
package/dist/messages.d.ts
CHANGED
|
@@ -13,10 +13,10 @@ export declare const HumanControlDataSchema: z.ZodObject<{
|
|
|
13
13
|
}>;
|
|
14
14
|
text: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
kind: "
|
|
16
|
+
kind: "message" | "pause" | "resume" | "end" | "replay";
|
|
17
17
|
text?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
kind: "
|
|
19
|
+
kind: "message" | "pause" | "resume" | "end" | "replay";
|
|
20
20
|
text?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export type HumanControlData = z.infer<typeof HumanControlDataSchema>;
|
|
@@ -58,22 +58,22 @@ export declare const HumanMarkDataSchema: z.ZodObject<{
|
|
|
58
58
|
note: string;
|
|
59
59
|
anchor: string;
|
|
60
60
|
strategy: "testid" | "role" | "component" | "position";
|
|
61
|
-
|
|
61
|
+
route?: string | undefined;
|
|
62
62
|
source?: {
|
|
63
63
|
file: string;
|
|
64
64
|
line: number;
|
|
65
65
|
} | undefined;
|
|
66
|
-
|
|
66
|
+
label?: string | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
note: string;
|
|
69
69
|
anchor: string;
|
|
70
70
|
strategy: "testid" | "role" | "component" | "position";
|
|
71
|
-
|
|
71
|
+
route?: string | undefined;
|
|
72
72
|
source?: {
|
|
73
73
|
file: string;
|
|
74
74
|
line: number;
|
|
75
75
|
} | undefined;
|
|
76
|
-
|
|
76
|
+
label?: string | undefined;
|
|
77
77
|
}>;
|
|
78
78
|
export type HumanMarkData = z.infer<typeof HumanMarkDataSchema>;
|
|
79
79
|
/**
|
|
@@ -109,6 +109,7 @@ export declare const ReticleEventSchema: z.ZodObject<{
|
|
|
109
109
|
readonly STORAGE_CHANGE: "storage.change";
|
|
110
110
|
readonly PAGE_HEALTH: "page.health";
|
|
111
111
|
readonly CONTEXT_OPENED: "context.opened";
|
|
112
|
+
readonly DIALOG_OPENED: "dialog.opened";
|
|
112
113
|
readonly RENDER_COMMIT: "render.commit";
|
|
113
114
|
readonly FOCUS_CHANGE: "focus.change";
|
|
114
115
|
readonly FLOW_RECORDED: "flow.recorded";
|
|
@@ -159,23 +160,23 @@ export declare const ReticleEventSchema: z.ZodObject<{
|
|
|
159
160
|
/** Event-type-specific payload. Kept open here; refined per observer at the edges. */
|
|
160
161
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
161
162
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
163
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
163
164
|
t: number;
|
|
164
165
|
sessionId: string;
|
|
165
166
|
data: Record<string, unknown>;
|
|
166
167
|
ref?: string | undefined;
|
|
167
|
-
seq?: number | undefined;
|
|
168
168
|
actionId?: string | undefined;
|
|
169
|
+
seq?: number | undefined;
|
|
169
170
|
attribution?: "window" | undefined;
|
|
170
171
|
documentId?: string | undefined;
|
|
171
172
|
editEpoch?: number | undefined;
|
|
172
173
|
}, {
|
|
173
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
174
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
174
175
|
t: number;
|
|
175
176
|
sessionId: string;
|
|
176
177
|
ref?: string | undefined;
|
|
177
|
-
seq?: number | undefined;
|
|
178
178
|
actionId?: string | undefined;
|
|
179
|
+
seq?: number | undefined;
|
|
179
180
|
attribution?: "window" | undefined;
|
|
180
181
|
documentId?: string | undefined;
|
|
181
182
|
editEpoch?: number | undefined;
|
|
@@ -201,6 +202,31 @@ export declare const HelloMessageSchema: z.ZodObject<{
|
|
|
201
202
|
token: z.ZodOptional<z.ZodString>;
|
|
202
203
|
/** Whether the app has advertised a capability registry (reticle.describe). */
|
|
203
204
|
hasCapabilities: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
/**
|
|
206
|
+
* Whether this page records request/response bodies (`connect({ captureNetworkBodies: true })`).
|
|
207
|
+
*
|
|
208
|
+
* Announced so an assertion that can only be answered from a body is refused BEFORE the action is
|
|
209
|
+
* spent, rather than after. Reported from the field: an `act_and_wait` matched the right call and
|
|
210
|
+
* came back `verified: "no"` with "a matching call with no recorded body" — knowable in advance,
|
|
211
|
+
* and on a drive that mutates state the action is not always repeatable.
|
|
212
|
+
*
|
|
213
|
+
* ABSENT means unknown, never false. An SDK predating this field says nothing, and treating
|
|
214
|
+
* silence as "off" would refuse a clause every one of those sessions can satisfy.
|
|
215
|
+
*/
|
|
216
|
+
captureBodies: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
/**
|
|
218
|
+
* Whether the build plugin's `data-reticle-source` stamp is switched OFF for this project.
|
|
219
|
+
*
|
|
220
|
+
* Announced for the same reason `captureBodies` is, and read by the same kind of rule: a verdict
|
|
221
|
+
* that cannot name a file and line needs to know WHY before it prescribes a fix. Without it, an
|
|
222
|
+
* app that disabled the stamp deliberately — which react-three-fiber apps must, and which `reticle
|
|
223
|
+
* init` now does for them automatically — was told on every red verdict to install a build plugin
|
|
224
|
+
* it already had.
|
|
225
|
+
*
|
|
226
|
+
* ABSENT means unknown, never false. An older SDK says nothing, and reading silence as "off"
|
|
227
|
+
* would suppress the honest gap for every app that simply has no source mapping at all.
|
|
228
|
+
*/
|
|
229
|
+
sourceMapping: z.ZodOptional<z.ZodBoolean>;
|
|
204
230
|
/**
|
|
205
231
|
* The version of the SDK in the page, so a version-skewed pair can SAY so.
|
|
206
232
|
*
|
|
@@ -232,29 +258,33 @@ export declare const HelloMessageSchema: z.ZodObject<{
|
|
|
232
258
|
*/
|
|
233
259
|
redactKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
234
260
|
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
url: string;
|
|
235
262
|
kind: "hello";
|
|
236
263
|
sessionId: string;
|
|
237
264
|
protocolVersion: 1;
|
|
238
|
-
url: string;
|
|
239
265
|
title: string;
|
|
240
266
|
adapters: string[];
|
|
241
267
|
projectId?: string | undefined;
|
|
268
|
+
sdkVersion?: string | undefined;
|
|
242
269
|
token?: string | undefined;
|
|
243
270
|
hasCapabilities?: boolean | undefined;
|
|
244
|
-
|
|
271
|
+
captureBodies?: boolean | undefined;
|
|
272
|
+
sourceMapping?: boolean | undefined;
|
|
245
273
|
contract?: string | undefined;
|
|
246
274
|
redactKeys?: string[] | undefined;
|
|
247
275
|
}, {
|
|
276
|
+
url: string;
|
|
248
277
|
kind: "hello";
|
|
249
278
|
sessionId: string;
|
|
250
279
|
protocolVersion: 1;
|
|
251
|
-
url: string;
|
|
252
280
|
title: string;
|
|
253
281
|
adapters: string[];
|
|
254
282
|
projectId?: string | undefined;
|
|
283
|
+
sdkVersion?: string | undefined;
|
|
255
284
|
token?: string | undefined;
|
|
256
285
|
hasCapabilities?: boolean | undefined;
|
|
257
|
-
|
|
286
|
+
captureBodies?: boolean | undefined;
|
|
287
|
+
sourceMapping?: boolean | undefined;
|
|
258
288
|
contract?: string | undefined;
|
|
259
289
|
redactKeys?: string[] | undefined;
|
|
260
290
|
}>;
|
|
@@ -267,17 +297,17 @@ export declare const CommandMessageSchema: z.ZodObject<{
|
|
|
267
297
|
name: z.ZodString;
|
|
268
298
|
args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
269
299
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
kind: "command";
|
|
271
300
|
id: string;
|
|
272
|
-
name: string;
|
|
273
301
|
args: Record<string, unknown>;
|
|
302
|
+
name: string;
|
|
303
|
+
kind: "command";
|
|
274
304
|
sessionId?: string | undefined;
|
|
275
305
|
}, {
|
|
276
|
-
kind: "command";
|
|
277
306
|
id: string;
|
|
278
307
|
name: string;
|
|
279
|
-
|
|
308
|
+
kind: "command";
|
|
280
309
|
args?: Record<string, unknown> | undefined;
|
|
310
|
+
sessionId?: string | undefined;
|
|
281
311
|
}>;
|
|
282
312
|
export type CommandMessage = z.infer<typeof CommandMessageSchema>;
|
|
283
313
|
/** Browser -> agent reply to a command. */
|
|
@@ -288,15 +318,15 @@ export declare const CommandResultSchema: z.ZodObject<{
|
|
|
288
318
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
289
319
|
error: z.ZodOptional<z.ZodString>;
|
|
290
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
id: string;
|
|
291
322
|
ok: boolean;
|
|
292
323
|
kind: "command_result";
|
|
293
|
-
id: string;
|
|
294
324
|
error?: string | undefined;
|
|
295
325
|
result?: unknown;
|
|
296
326
|
}, {
|
|
327
|
+
id: string;
|
|
297
328
|
ok: boolean;
|
|
298
329
|
kind: "command_result";
|
|
299
|
-
id: string;
|
|
300
330
|
error?: string | undefined;
|
|
301
331
|
result?: unknown;
|
|
302
332
|
}>;
|
|
@@ -332,6 +362,7 @@ export declare const EventMessageSchema: z.ZodObject<{
|
|
|
332
362
|
readonly STORAGE_CHANGE: "storage.change";
|
|
333
363
|
readonly PAGE_HEALTH: "page.health";
|
|
334
364
|
readonly CONTEXT_OPENED: "context.opened";
|
|
365
|
+
readonly DIALOG_OPENED: "dialog.opened";
|
|
335
366
|
readonly RENDER_COMMIT: "render.commit";
|
|
336
367
|
readonly FOCUS_CHANGE: "focus.change";
|
|
337
368
|
readonly FLOW_RECORDED: "flow.recorded";
|
|
@@ -382,23 +413,23 @@ export declare const EventMessageSchema: z.ZodObject<{
|
|
|
382
413
|
/** Event-type-specific payload. Kept open here; refined per observer at the edges. */
|
|
383
414
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
384
415
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
416
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
386
417
|
t: number;
|
|
387
418
|
sessionId: string;
|
|
388
419
|
data: Record<string, unknown>;
|
|
389
420
|
ref?: string | undefined;
|
|
390
|
-
seq?: number | undefined;
|
|
391
421
|
actionId?: string | undefined;
|
|
422
|
+
seq?: number | undefined;
|
|
392
423
|
attribution?: "window" | undefined;
|
|
393
424
|
documentId?: string | undefined;
|
|
394
425
|
editEpoch?: number | undefined;
|
|
395
426
|
}, {
|
|
396
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
427
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
397
428
|
t: number;
|
|
398
429
|
sessionId: string;
|
|
399
430
|
ref?: string | undefined;
|
|
400
|
-
seq?: number | undefined;
|
|
401
431
|
actionId?: string | undefined;
|
|
432
|
+
seq?: number | undefined;
|
|
402
433
|
attribution?: "window" | undefined;
|
|
403
434
|
documentId?: string | undefined;
|
|
404
435
|
editEpoch?: number | undefined;
|
|
@@ -406,13 +437,13 @@ export declare const EventMessageSchema: z.ZodObject<{
|
|
|
406
437
|
}>;
|
|
407
438
|
}, "strip", z.ZodTypeAny, {
|
|
408
439
|
event: {
|
|
409
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
440
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
410
441
|
t: number;
|
|
411
442
|
sessionId: string;
|
|
412
443
|
data: Record<string, unknown>;
|
|
413
444
|
ref?: string | undefined;
|
|
414
|
-
seq?: number | undefined;
|
|
415
445
|
actionId?: string | undefined;
|
|
446
|
+
seq?: number | undefined;
|
|
416
447
|
attribution?: "window" | undefined;
|
|
417
448
|
documentId?: string | undefined;
|
|
418
449
|
editEpoch?: number | undefined;
|
|
@@ -420,12 +451,12 @@ export declare const EventMessageSchema: z.ZodObject<{
|
|
|
420
451
|
kind: "event";
|
|
421
452
|
}, {
|
|
422
453
|
event: {
|
|
423
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
454
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
424
455
|
t: number;
|
|
425
456
|
sessionId: string;
|
|
426
457
|
ref?: string | undefined;
|
|
427
|
-
seq?: number | undefined;
|
|
428
458
|
actionId?: string | undefined;
|
|
459
|
+
seq?: number | undefined;
|
|
429
460
|
attribution?: "window" | undefined;
|
|
430
461
|
documentId?: string | undefined;
|
|
431
462
|
editEpoch?: number | undefined;
|
|
@@ -452,6 +483,31 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
452
483
|
token: z.ZodOptional<z.ZodString>;
|
|
453
484
|
/** Whether the app has advertised a capability registry (reticle.describe). */
|
|
454
485
|
hasCapabilities: z.ZodOptional<z.ZodBoolean>;
|
|
486
|
+
/**
|
|
487
|
+
* Whether this page records request/response bodies (`connect({ captureNetworkBodies: true })`).
|
|
488
|
+
*
|
|
489
|
+
* Announced so an assertion that can only be answered from a body is refused BEFORE the action is
|
|
490
|
+
* spent, rather than after. Reported from the field: an `act_and_wait` matched the right call and
|
|
491
|
+
* came back `verified: "no"` with "a matching call with no recorded body" — knowable in advance,
|
|
492
|
+
* and on a drive that mutates state the action is not always repeatable.
|
|
493
|
+
*
|
|
494
|
+
* ABSENT means unknown, never false. An SDK predating this field says nothing, and treating
|
|
495
|
+
* silence as "off" would refuse a clause every one of those sessions can satisfy.
|
|
496
|
+
*/
|
|
497
|
+
captureBodies: z.ZodOptional<z.ZodBoolean>;
|
|
498
|
+
/**
|
|
499
|
+
* Whether the build plugin's `data-reticle-source` stamp is switched OFF for this project.
|
|
500
|
+
*
|
|
501
|
+
* Announced for the same reason `captureBodies` is, and read by the same kind of rule: a verdict
|
|
502
|
+
* that cannot name a file and line needs to know WHY before it prescribes a fix. Without it, an
|
|
503
|
+
* app that disabled the stamp deliberately — which react-three-fiber apps must, and which `reticle
|
|
504
|
+
* init` now does for them automatically — was told on every red verdict to install a build plugin
|
|
505
|
+
* it already had.
|
|
506
|
+
*
|
|
507
|
+
* ABSENT means unknown, never false. An older SDK says nothing, and reading silence as "off"
|
|
508
|
+
* would suppress the honest gap for every app that simply has no source mapping at all.
|
|
509
|
+
*/
|
|
510
|
+
sourceMapping: z.ZodOptional<z.ZodBoolean>;
|
|
455
511
|
/**
|
|
456
512
|
* The version of the SDK in the page, so a version-skewed pair can SAY so.
|
|
457
513
|
*
|
|
@@ -483,29 +539,33 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
483
539
|
*/
|
|
484
540
|
redactKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
485
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
|
+
url: string;
|
|
486
543
|
kind: "hello";
|
|
487
544
|
sessionId: string;
|
|
488
545
|
protocolVersion: 1;
|
|
489
|
-
url: string;
|
|
490
546
|
title: string;
|
|
491
547
|
adapters: string[];
|
|
492
548
|
projectId?: string | undefined;
|
|
549
|
+
sdkVersion?: string | undefined;
|
|
493
550
|
token?: string | undefined;
|
|
494
551
|
hasCapabilities?: boolean | undefined;
|
|
495
|
-
|
|
552
|
+
captureBodies?: boolean | undefined;
|
|
553
|
+
sourceMapping?: boolean | undefined;
|
|
496
554
|
contract?: string | undefined;
|
|
497
555
|
redactKeys?: string[] | undefined;
|
|
498
556
|
}, {
|
|
557
|
+
url: string;
|
|
499
558
|
kind: "hello";
|
|
500
559
|
sessionId: string;
|
|
501
560
|
protocolVersion: 1;
|
|
502
|
-
url: string;
|
|
503
561
|
title: string;
|
|
504
562
|
adapters: string[];
|
|
505
563
|
projectId?: string | undefined;
|
|
564
|
+
sdkVersion?: string | undefined;
|
|
506
565
|
token?: string | undefined;
|
|
507
566
|
hasCapabilities?: boolean | undefined;
|
|
508
|
-
|
|
567
|
+
captureBodies?: boolean | undefined;
|
|
568
|
+
sourceMapping?: boolean | undefined;
|
|
509
569
|
contract?: string | undefined;
|
|
510
570
|
redactKeys?: string[] | undefined;
|
|
511
571
|
}>, z.ZodObject<{
|
|
@@ -515,17 +575,17 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
515
575
|
name: z.ZodString;
|
|
516
576
|
args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
517
577
|
}, "strip", z.ZodTypeAny, {
|
|
518
|
-
kind: "command";
|
|
519
578
|
id: string;
|
|
520
|
-
name: string;
|
|
521
579
|
args: Record<string, unknown>;
|
|
580
|
+
name: string;
|
|
581
|
+
kind: "command";
|
|
522
582
|
sessionId?: string | undefined;
|
|
523
583
|
}, {
|
|
524
|
-
kind: "command";
|
|
525
584
|
id: string;
|
|
526
585
|
name: string;
|
|
527
|
-
|
|
586
|
+
kind: "command";
|
|
528
587
|
args?: Record<string, unknown> | undefined;
|
|
588
|
+
sessionId?: string | undefined;
|
|
529
589
|
}>, z.ZodObject<{
|
|
530
590
|
kind: z.ZodLiteral<"command_result">;
|
|
531
591
|
id: z.ZodString;
|
|
@@ -533,15 +593,15 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
533
593
|
result: z.ZodOptional<z.ZodUnknown>;
|
|
534
594
|
error: z.ZodOptional<z.ZodString>;
|
|
535
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
+
id: string;
|
|
536
597
|
ok: boolean;
|
|
537
598
|
kind: "command_result";
|
|
538
|
-
id: string;
|
|
539
599
|
error?: string | undefined;
|
|
540
600
|
result?: unknown;
|
|
541
601
|
}, {
|
|
602
|
+
id: string;
|
|
542
603
|
ok: boolean;
|
|
543
604
|
kind: "command_result";
|
|
544
|
-
id: string;
|
|
545
605
|
error?: string | undefined;
|
|
546
606
|
result?: unknown;
|
|
547
607
|
}>, z.ZodObject<{
|
|
@@ -574,6 +634,7 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
574
634
|
readonly STORAGE_CHANGE: "storage.change";
|
|
575
635
|
readonly PAGE_HEALTH: "page.health";
|
|
576
636
|
readonly CONTEXT_OPENED: "context.opened";
|
|
637
|
+
readonly DIALOG_OPENED: "dialog.opened";
|
|
577
638
|
readonly RENDER_COMMIT: "render.commit";
|
|
578
639
|
readonly FOCUS_CHANGE: "focus.change";
|
|
579
640
|
readonly FLOW_RECORDED: "flow.recorded";
|
|
@@ -624,23 +685,23 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
624
685
|
/** Event-type-specific payload. Kept open here; refined per observer at the edges. */
|
|
625
686
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
626
687
|
}, "strip", z.ZodTypeAny, {
|
|
627
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
688
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
628
689
|
t: number;
|
|
629
690
|
sessionId: string;
|
|
630
691
|
data: Record<string, unknown>;
|
|
631
692
|
ref?: string | undefined;
|
|
632
|
-
seq?: number | undefined;
|
|
633
693
|
actionId?: string | undefined;
|
|
694
|
+
seq?: number | undefined;
|
|
634
695
|
attribution?: "window" | undefined;
|
|
635
696
|
documentId?: string | undefined;
|
|
636
697
|
editEpoch?: number | undefined;
|
|
637
698
|
}, {
|
|
638
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
699
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
639
700
|
t: number;
|
|
640
701
|
sessionId: string;
|
|
641
702
|
ref?: string | undefined;
|
|
642
|
-
seq?: number | undefined;
|
|
643
703
|
actionId?: string | undefined;
|
|
704
|
+
seq?: number | undefined;
|
|
644
705
|
attribution?: "window" | undefined;
|
|
645
706
|
documentId?: string | undefined;
|
|
646
707
|
editEpoch?: number | undefined;
|
|
@@ -648,13 +709,13 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
648
709
|
}>;
|
|
649
710
|
}, "strip", z.ZodTypeAny, {
|
|
650
711
|
event: {
|
|
651
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
712
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
652
713
|
t: number;
|
|
653
714
|
sessionId: string;
|
|
654
715
|
data: Record<string, unknown>;
|
|
655
716
|
ref?: string | undefined;
|
|
656
|
-
seq?: number | undefined;
|
|
657
717
|
actionId?: string | undefined;
|
|
718
|
+
seq?: number | undefined;
|
|
658
719
|
attribution?: "window" | undefined;
|
|
659
720
|
documentId?: string | undefined;
|
|
660
721
|
editEpoch?: number | undefined;
|
|
@@ -662,12 +723,12 @@ export declare const ReticleMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
662
723
|
kind: "event";
|
|
663
724
|
}, {
|
|
664
725
|
event: {
|
|
665
|
-
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" | "render.commit" | "focus.change" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
726
|
+
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" | "flow.recorded" | "transport.overflow" | "truncated" | "blind-spot" | "sdk.failed" | "net.detail" | "human.control" | "human.mark" | "download";
|
|
666
727
|
t: number;
|
|
667
728
|
sessionId: string;
|
|
668
729
|
ref?: string | undefined;
|
|
669
|
-
seq?: number | undefined;
|
|
670
730
|
actionId?: string | undefined;
|
|
731
|
+
seq?: number | undefined;
|
|
671
732
|
attribution?: "window" | undefined;
|
|
672
733
|
documentId?: string | undefined;
|
|
673
734
|
editEpoch?: number | undefined;
|