@siteverb/contracts 0.1.0-rc.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.
@@ -0,0 +1,698 @@
1
+ import { z } from 'zod';
2
+ export type JsonValue = null | boolean | number | string | JsonValue[] | {
3
+ [key: string]: JsonValue;
4
+ };
5
+ export declare const jsonValueSchema: z.ZodType<JsonValue>;
6
+ export declare const toolAnnotationsSchema: z.ZodOptional<z.ZodObject<{
7
+ readOnlyHint: z.ZodOptional<z.ZodBoolean>;
8
+ untrustedContentHint: z.ZodOptional<z.ZodBoolean>;
9
+ }, z.core.$strict>>;
10
+ export declare const toolExampleSchema: z.ZodObject<{
11
+ name: z.ZodString;
12
+ input: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
13
+ }, z.core.$strict>;
14
+ export declare const toolContractSchema: z.ZodObject<{
15
+ id: z.ZodString;
16
+ name: z.ZodString;
17
+ title: z.ZodOptional<z.ZodString>;
18
+ description: z.ZodString;
19
+ inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
+ annotations: z.ZodOptional<z.ZodObject<{
21
+ readOnlyHint: z.ZodOptional<z.ZodBoolean>;
22
+ untrustedContentHint: z.ZodOptional<z.ZodBoolean>;
23
+ }, z.core.$strict>>;
24
+ risk: z.ZodEnum<{
25
+ consequential: "consequential";
26
+ "read-only": "read-only";
27
+ reversible: "reversible";
28
+ }>;
29
+ registration: z.ZodDefault<z.ZodEnum<{
30
+ declarative: "declarative";
31
+ imperative: "imperative";
32
+ }>>;
33
+ frame: z.ZodDefault<z.ZodEnum<{
34
+ "cross-origin-iframe": "cross-origin-iframe";
35
+ "same-origin-iframe": "same-origin-iframe";
36
+ "top-level": "top-level";
37
+ }>>;
38
+ routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ owners: z.ZodOptional<z.ZodArray<z.ZodString>>;
40
+ examples: z.ZodArray<z.ZodObject<{
41
+ name: z.ZodString;
42
+ input: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
43
+ }, z.core.$strict>>;
44
+ }, z.core.$strict>;
45
+ export declare const resultExpectationSchema: z.ZodObject<{
46
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
47
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
48
+ }, z.core.$strict>;
49
+ export declare const urlExpectationSchema: z.ZodObject<{
50
+ pathname: z.ZodOptional<z.ZodString>;
51
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
52
+ }, z.core.$strict>;
53
+ export declare const domExpectationSchema: z.ZodObject<{
54
+ selector: z.ZodString;
55
+ state: z.ZodDefault<z.ZodEnum<{
56
+ attached: "attached";
57
+ detached: "detached";
58
+ hidden: "hidden";
59
+ visible: "visible";
60
+ }>>;
61
+ textContains: z.ZodOptional<z.ZodString>;
62
+ attribute: z.ZodOptional<z.ZodObject<{
63
+ name: z.ZodString;
64
+ equals: z.ZodString;
65
+ }, z.core.$strict>>;
66
+ }, z.core.$strict>;
67
+ export declare const stepExpectationSchema: z.ZodObject<{
68
+ result: z.ZodOptional<z.ZodObject<{
69
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
70
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
71
+ }, z.core.$strict>>;
72
+ url: z.ZodOptional<z.ZodObject<{
73
+ pathname: z.ZodOptional<z.ZodString>;
74
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
75
+ }, z.core.$strict>>;
76
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
77
+ selector: z.ZodString;
78
+ state: z.ZodDefault<z.ZodEnum<{
79
+ attached: "attached";
80
+ detached: "detached";
81
+ hidden: "hidden";
82
+ visible: "visible";
83
+ }>>;
84
+ textContains: z.ZodOptional<z.ZodString>;
85
+ attribute: z.ZodOptional<z.ZodObject<{
86
+ name: z.ZodString;
87
+ equals: z.ZodString;
88
+ }, z.core.$strict>>;
89
+ }, z.core.$strict>>>;
90
+ }, z.core.$strict>;
91
+ export declare const journeyStepSchema: z.ZodObject<{
92
+ tool: z.ZodString;
93
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
94
+ expect: z.ZodOptional<z.ZodObject<{
95
+ result: z.ZodOptional<z.ZodObject<{
96
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
97
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
98
+ }, z.core.$strict>>;
99
+ url: z.ZodOptional<z.ZodObject<{
100
+ pathname: z.ZodOptional<z.ZodString>;
101
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
102
+ }, z.core.$strict>>;
103
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
104
+ selector: z.ZodString;
105
+ state: z.ZodDefault<z.ZodEnum<{
106
+ attached: "attached";
107
+ detached: "detached";
108
+ hidden: "hidden";
109
+ visible: "visible";
110
+ }>>;
111
+ textContains: z.ZodOptional<z.ZodString>;
112
+ attribute: z.ZodOptional<z.ZodObject<{
113
+ name: z.ZodString;
114
+ equals: z.ZodString;
115
+ }, z.core.$strict>>;
116
+ }, z.core.$strict>>>;
117
+ }, z.core.$strict>>;
118
+ }, z.core.$strict>;
119
+ export declare const journeyContractSchema: z.ZodObject<{
120
+ id: z.ZodString;
121
+ name: z.ZodString;
122
+ description: z.ZodOptional<z.ZodString>;
123
+ start: z.ZodString;
124
+ auth: z.ZodOptional<z.ZodString>;
125
+ owners: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ steps: z.ZodArray<z.ZodObject<{
127
+ tool: z.ZodString;
128
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
129
+ expect: z.ZodOptional<z.ZodObject<{
130
+ result: z.ZodOptional<z.ZodObject<{
131
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
132
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
133
+ }, z.core.$strict>>;
134
+ url: z.ZodOptional<z.ZodObject<{
135
+ pathname: z.ZodOptional<z.ZodString>;
136
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
137
+ }, z.core.$strict>>;
138
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
139
+ selector: z.ZodString;
140
+ state: z.ZodDefault<z.ZodEnum<{
141
+ attached: "attached";
142
+ detached: "detached";
143
+ hidden: "hidden";
144
+ visible: "visible";
145
+ }>>;
146
+ textContains: z.ZodOptional<z.ZodString>;
147
+ attribute: z.ZodOptional<z.ZodObject<{
148
+ name: z.ZodString;
149
+ equals: z.ZodString;
150
+ }, z.core.$strict>>;
151
+ }, z.core.$strict>>>;
152
+ }, z.core.$strict>>;
153
+ }, z.core.$strict>>;
154
+ cleanup: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
+ tool: z.ZodString;
156
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
157
+ expect: z.ZodOptional<z.ZodObject<{
158
+ result: z.ZodOptional<z.ZodObject<{
159
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
160
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
161
+ }, z.core.$strict>>;
162
+ url: z.ZodOptional<z.ZodObject<{
163
+ pathname: z.ZodOptional<z.ZodString>;
164
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
165
+ }, z.core.$strict>>;
166
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
167
+ selector: z.ZodString;
168
+ state: z.ZodDefault<z.ZodEnum<{
169
+ attached: "attached";
170
+ detached: "detached";
171
+ hidden: "hidden";
172
+ visible: "visible";
173
+ }>>;
174
+ textContains: z.ZodOptional<z.ZodString>;
175
+ attribute: z.ZodOptional<z.ZodObject<{
176
+ name: z.ZodString;
177
+ equals: z.ZodString;
178
+ }, z.core.$strict>>;
179
+ }, z.core.$strict>>>;
180
+ }, z.core.$strict>>;
181
+ }, z.core.$strict>>>;
182
+ policy: z.ZodDefault<z.ZodObject<{
183
+ requireHumanBefore: z.ZodDefault<z.ZodArray<z.ZodString>>;
184
+ }, z.core.$strict>>;
185
+ }, z.core.$strict>;
186
+ export declare const supportProfileSchema: z.ZodObject<{
187
+ id: z.ZodString;
188
+ version: z.ZodString;
189
+ evidence: z.ZodEnum<{
190
+ "documented-profile": "documented-profile";
191
+ "official-sdk": "official-sdk";
192
+ "real-browser": "real-browser";
193
+ "real-client": "real-client";
194
+ }>;
195
+ }, z.core.$strict>;
196
+ export declare const projectContractSchema: z.ZodObject<{
197
+ $schema: z.ZodOptional<z.ZodString>;
198
+ version: z.ZodLiteral<1>;
199
+ project: z.ZodString;
200
+ support: z.ZodDefault<z.ZodArray<z.ZodObject<{
201
+ id: z.ZodString;
202
+ version: z.ZodString;
203
+ evidence: z.ZodEnum<{
204
+ "documented-profile": "documented-profile";
205
+ "official-sdk": "official-sdk";
206
+ "real-browser": "real-browser";
207
+ "real-client": "real-client";
208
+ }>;
209
+ }, z.core.$strict>>>;
210
+ tools: z.ZodArray<z.ZodObject<{
211
+ id: z.ZodString;
212
+ name: z.ZodString;
213
+ title: z.ZodOptional<z.ZodString>;
214
+ description: z.ZodString;
215
+ inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
216
+ annotations: z.ZodOptional<z.ZodObject<{
217
+ readOnlyHint: z.ZodOptional<z.ZodBoolean>;
218
+ untrustedContentHint: z.ZodOptional<z.ZodBoolean>;
219
+ }, z.core.$strict>>;
220
+ risk: z.ZodEnum<{
221
+ consequential: "consequential";
222
+ "read-only": "read-only";
223
+ reversible: "reversible";
224
+ }>;
225
+ registration: z.ZodDefault<z.ZodEnum<{
226
+ declarative: "declarative";
227
+ imperative: "imperative";
228
+ }>>;
229
+ frame: z.ZodDefault<z.ZodEnum<{
230
+ "cross-origin-iframe": "cross-origin-iframe";
231
+ "same-origin-iframe": "same-origin-iframe";
232
+ "top-level": "top-level";
233
+ }>>;
234
+ routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
235
+ owners: z.ZodOptional<z.ZodArray<z.ZodString>>;
236
+ examples: z.ZodArray<z.ZodObject<{
237
+ name: z.ZodString;
238
+ input: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
239
+ }, z.core.$strict>>;
240
+ }, z.core.$strict>>;
241
+ journeys: z.ZodArray<z.ZodObject<{
242
+ id: z.ZodString;
243
+ name: z.ZodString;
244
+ description: z.ZodOptional<z.ZodString>;
245
+ start: z.ZodString;
246
+ auth: z.ZodOptional<z.ZodString>;
247
+ owners: z.ZodOptional<z.ZodArray<z.ZodString>>;
248
+ steps: z.ZodArray<z.ZodObject<{
249
+ tool: z.ZodString;
250
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
251
+ expect: z.ZodOptional<z.ZodObject<{
252
+ result: z.ZodOptional<z.ZodObject<{
253
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
254
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
255
+ }, z.core.$strict>>;
256
+ url: z.ZodOptional<z.ZodObject<{
257
+ pathname: z.ZodOptional<z.ZodString>;
258
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
259
+ }, z.core.$strict>>;
260
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
261
+ selector: z.ZodString;
262
+ state: z.ZodDefault<z.ZodEnum<{
263
+ attached: "attached";
264
+ detached: "detached";
265
+ hidden: "hidden";
266
+ visible: "visible";
267
+ }>>;
268
+ textContains: z.ZodOptional<z.ZodString>;
269
+ attribute: z.ZodOptional<z.ZodObject<{
270
+ name: z.ZodString;
271
+ equals: z.ZodString;
272
+ }, z.core.$strict>>;
273
+ }, z.core.$strict>>>;
274
+ }, z.core.$strict>>;
275
+ }, z.core.$strict>>;
276
+ cleanup: z.ZodOptional<z.ZodArray<z.ZodObject<{
277
+ tool: z.ZodString;
278
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
279
+ expect: z.ZodOptional<z.ZodObject<{
280
+ result: z.ZodOptional<z.ZodObject<{
281
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
282
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
283
+ }, z.core.$strict>>;
284
+ url: z.ZodOptional<z.ZodObject<{
285
+ pathname: z.ZodOptional<z.ZodString>;
286
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
287
+ }, z.core.$strict>>;
288
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
+ selector: z.ZodString;
290
+ state: z.ZodDefault<z.ZodEnum<{
291
+ attached: "attached";
292
+ detached: "detached";
293
+ hidden: "hidden";
294
+ visible: "visible";
295
+ }>>;
296
+ textContains: z.ZodOptional<z.ZodString>;
297
+ attribute: z.ZodOptional<z.ZodObject<{
298
+ name: z.ZodString;
299
+ equals: z.ZodString;
300
+ }, z.core.$strict>>;
301
+ }, z.core.$strict>>>;
302
+ }, z.core.$strict>>;
303
+ }, z.core.$strict>>>;
304
+ policy: z.ZodDefault<z.ZodObject<{
305
+ requireHumanBefore: z.ZodDefault<z.ZodArray<z.ZodString>>;
306
+ }, z.core.$strict>>;
307
+ }, z.core.$strict>>;
308
+ }, z.core.$strict>;
309
+ export declare const evidenceLevelSchema: z.ZodEnum<{
310
+ "documented-profile": "documented-profile";
311
+ "official-sdk": "official-sdk";
312
+ "real-browser": "real-browser";
313
+ "real-client": "real-client";
314
+ "spec-only": "spec-only";
315
+ }>;
316
+ export declare const stepReportSchema: z.ZodObject<{
317
+ index: z.ZodNumber;
318
+ toolId: z.ZodString;
319
+ toolName: z.ZodString;
320
+ status: z.ZodEnum<{
321
+ failed: "failed";
322
+ passed: "passed";
323
+ skipped: "skipped";
324
+ }>;
325
+ durationMs: z.ZodNumber;
326
+ error: z.ZodOptional<z.ZodString>;
327
+ }, z.core.$strict>;
328
+ export declare const journeyReportSchema: z.ZodObject<{
329
+ id: z.ZodString;
330
+ name: z.ZodString;
331
+ status: z.ZodEnum<{
332
+ failed: "failed";
333
+ passed: "passed";
334
+ skipped: "skipped";
335
+ }>;
336
+ durationMs: z.ZodNumber;
337
+ steps: z.ZodArray<z.ZodObject<{
338
+ index: z.ZodNumber;
339
+ toolId: z.ZodString;
340
+ toolName: z.ZodString;
341
+ status: z.ZodEnum<{
342
+ failed: "failed";
343
+ passed: "passed";
344
+ skipped: "skipped";
345
+ }>;
346
+ durationMs: z.ZodNumber;
347
+ error: z.ZodOptional<z.ZodString>;
348
+ }, z.core.$strict>>;
349
+ cleanup: z.ZodDefault<z.ZodArray<z.ZodObject<{
350
+ index: z.ZodNumber;
351
+ toolId: z.ZodString;
352
+ toolName: z.ZodString;
353
+ status: z.ZodEnum<{
354
+ failed: "failed";
355
+ passed: "passed";
356
+ skipped: "skipped";
357
+ }>;
358
+ durationMs: z.ZodNumber;
359
+ error: z.ZodOptional<z.ZodString>;
360
+ }, z.core.$strict>>>;
361
+ error: z.ZodOptional<z.ZodString>;
362
+ }, z.core.$strict>;
363
+ export declare const compatibilityFindingSchema: z.ZodObject<{
364
+ code: z.ZodString;
365
+ evidence: z.ZodEnum<{
366
+ "documented-profile": "documented-profile";
367
+ "official-sdk": "official-sdk";
368
+ "real-browser": "real-browser";
369
+ "real-client": "real-client";
370
+ "spec-only": "spec-only";
371
+ }>;
372
+ message: z.ZodString;
373
+ severity: z.ZodEnum<{
374
+ error: "error";
375
+ warning: "warning";
376
+ }>;
377
+ source: z.ZodString;
378
+ toolId: z.ZodString;
379
+ }, z.core.$strict>;
380
+ export declare const compatibilityAssessmentSchema: z.ZodObject<{
381
+ profileId: z.ZodString;
382
+ status: z.ZodEnum<{
383
+ compatible: "compatible";
384
+ incompatible: "incompatible";
385
+ unknown: "unknown";
386
+ }>;
387
+ findings: z.ZodArray<z.ZodObject<{
388
+ code: z.ZodString;
389
+ evidence: z.ZodEnum<{
390
+ "documented-profile": "documented-profile";
391
+ "official-sdk": "official-sdk";
392
+ "real-browser": "real-browser";
393
+ "real-client": "real-client";
394
+ "spec-only": "spec-only";
395
+ }>;
396
+ message: z.ZodString;
397
+ severity: z.ZodEnum<{
398
+ error: "error";
399
+ warning: "warning";
400
+ }>;
401
+ source: z.ZodString;
402
+ toolId: z.ZodString;
403
+ }, z.core.$strict>>;
404
+ }, z.core.$strict>;
405
+ export declare const runReportSchema: z.ZodObject<{
406
+ version: z.ZodLiteral<1>;
407
+ runId: z.ZodString;
408
+ startedAt: z.ZodString;
409
+ finishedAt: z.ZodString;
410
+ targetUrl: z.ZodString;
411
+ project: z.ZodString;
412
+ contractHash: z.ZodString;
413
+ runner: z.ZodObject<{
414
+ name: z.ZodString;
415
+ version: z.ZodString;
416
+ }, z.core.$strict>;
417
+ browser: z.ZodObject<{
418
+ name: z.ZodString;
419
+ version: z.ZodString;
420
+ channel: z.ZodString;
421
+ evidence: z.ZodEnum<{
422
+ "documented-profile": "documented-profile";
423
+ "official-sdk": "official-sdk";
424
+ "real-browser": "real-browser";
425
+ "real-client": "real-client";
426
+ "spec-only": "spec-only";
427
+ }>;
428
+ }, z.core.$strict>;
429
+ summary: z.ZodObject<{
430
+ passed: z.ZodNumber;
431
+ failed: z.ZodNumber;
432
+ skipped: z.ZodNumber;
433
+ }, z.core.$strict>;
434
+ compatibility: z.ZodDefault<z.ZodArray<z.ZodObject<{
435
+ profileId: z.ZodString;
436
+ status: z.ZodEnum<{
437
+ compatible: "compatible";
438
+ incompatible: "incompatible";
439
+ unknown: "unknown";
440
+ }>;
441
+ findings: z.ZodArray<z.ZodObject<{
442
+ code: z.ZodString;
443
+ evidence: z.ZodEnum<{
444
+ "documented-profile": "documented-profile";
445
+ "official-sdk": "official-sdk";
446
+ "real-browser": "real-browser";
447
+ "real-client": "real-client";
448
+ "spec-only": "spec-only";
449
+ }>;
450
+ message: z.ZodString;
451
+ severity: z.ZodEnum<{
452
+ error: "error";
453
+ warning: "warning";
454
+ }>;
455
+ source: z.ZodString;
456
+ toolId: z.ZodString;
457
+ }, z.core.$strict>>;
458
+ }, z.core.$strict>>>;
459
+ journeys: z.ZodArray<z.ZodObject<{
460
+ id: z.ZodString;
461
+ name: z.ZodString;
462
+ status: z.ZodEnum<{
463
+ failed: "failed";
464
+ passed: "passed";
465
+ skipped: "skipped";
466
+ }>;
467
+ durationMs: z.ZodNumber;
468
+ steps: z.ZodArray<z.ZodObject<{
469
+ index: z.ZodNumber;
470
+ toolId: z.ZodString;
471
+ toolName: z.ZodString;
472
+ status: z.ZodEnum<{
473
+ failed: "failed";
474
+ passed: "passed";
475
+ skipped: "skipped";
476
+ }>;
477
+ durationMs: z.ZodNumber;
478
+ error: z.ZodOptional<z.ZodString>;
479
+ }, z.core.$strict>>;
480
+ cleanup: z.ZodDefault<z.ZodArray<z.ZodObject<{
481
+ index: z.ZodNumber;
482
+ toolId: z.ZodString;
483
+ toolName: z.ZodString;
484
+ status: z.ZodEnum<{
485
+ failed: "failed";
486
+ passed: "passed";
487
+ skipped: "skipped";
488
+ }>;
489
+ durationMs: z.ZodNumber;
490
+ error: z.ZodOptional<z.ZodString>;
491
+ }, z.core.$strict>>>;
492
+ error: z.ZodOptional<z.ZodString>;
493
+ }, z.core.$strict>>;
494
+ }, z.core.$strict>;
495
+ export declare const projectContractJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
496
+ $schema: z.ZodOptional<z.ZodString>;
497
+ version: z.ZodLiteral<1>;
498
+ project: z.ZodString;
499
+ support: z.ZodDefault<z.ZodArray<z.ZodObject<{
500
+ id: z.ZodString;
501
+ version: z.ZodString;
502
+ evidence: z.ZodEnum<{
503
+ "documented-profile": "documented-profile";
504
+ "official-sdk": "official-sdk";
505
+ "real-browser": "real-browser";
506
+ "real-client": "real-client";
507
+ }>;
508
+ }, z.core.$strict>>>;
509
+ tools: z.ZodArray<z.ZodObject<{
510
+ id: z.ZodString;
511
+ name: z.ZodString;
512
+ title: z.ZodOptional<z.ZodString>;
513
+ description: z.ZodString;
514
+ inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
515
+ annotations: z.ZodOptional<z.ZodObject<{
516
+ readOnlyHint: z.ZodOptional<z.ZodBoolean>;
517
+ untrustedContentHint: z.ZodOptional<z.ZodBoolean>;
518
+ }, z.core.$strict>>;
519
+ risk: z.ZodEnum<{
520
+ consequential: "consequential";
521
+ "read-only": "read-only";
522
+ reversible: "reversible";
523
+ }>;
524
+ registration: z.ZodDefault<z.ZodEnum<{
525
+ declarative: "declarative";
526
+ imperative: "imperative";
527
+ }>>;
528
+ frame: z.ZodDefault<z.ZodEnum<{
529
+ "cross-origin-iframe": "cross-origin-iframe";
530
+ "same-origin-iframe": "same-origin-iframe";
531
+ "top-level": "top-level";
532
+ }>>;
533
+ routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
534
+ owners: z.ZodOptional<z.ZodArray<z.ZodString>>;
535
+ examples: z.ZodArray<z.ZodObject<{
536
+ name: z.ZodString;
537
+ input: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
538
+ }, z.core.$strict>>;
539
+ }, z.core.$strict>>;
540
+ journeys: z.ZodArray<z.ZodObject<{
541
+ id: z.ZodString;
542
+ name: z.ZodString;
543
+ description: z.ZodOptional<z.ZodString>;
544
+ start: z.ZodString;
545
+ auth: z.ZodOptional<z.ZodString>;
546
+ owners: z.ZodOptional<z.ZodArray<z.ZodString>>;
547
+ steps: z.ZodArray<z.ZodObject<{
548
+ tool: z.ZodString;
549
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
550
+ expect: z.ZodOptional<z.ZodObject<{
551
+ result: z.ZodOptional<z.ZodObject<{
552
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
553
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
554
+ }, z.core.$strict>>;
555
+ url: z.ZodOptional<z.ZodObject<{
556
+ pathname: z.ZodOptional<z.ZodString>;
557
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
558
+ }, z.core.$strict>>;
559
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
560
+ selector: z.ZodString;
561
+ state: z.ZodDefault<z.ZodEnum<{
562
+ attached: "attached";
563
+ detached: "detached";
564
+ hidden: "hidden";
565
+ visible: "visible";
566
+ }>>;
567
+ textContains: z.ZodOptional<z.ZodString>;
568
+ attribute: z.ZodOptional<z.ZodObject<{
569
+ name: z.ZodString;
570
+ equals: z.ZodString;
571
+ }, z.core.$strict>>;
572
+ }, z.core.$strict>>>;
573
+ }, z.core.$strict>>;
574
+ }, z.core.$strict>>;
575
+ cleanup: z.ZodOptional<z.ZodArray<z.ZodObject<{
576
+ tool: z.ZodString;
577
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
578
+ expect: z.ZodOptional<z.ZodObject<{
579
+ result: z.ZodOptional<z.ZodObject<{
580
+ equals: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
581
+ contains: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
582
+ }, z.core.$strict>>;
583
+ url: z.ZodOptional<z.ZodObject<{
584
+ pathname: z.ZodOptional<z.ZodString>;
585
+ searchParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
586
+ }, z.core.$strict>>;
587
+ dom: z.ZodOptional<z.ZodArray<z.ZodObject<{
588
+ selector: z.ZodString;
589
+ state: z.ZodDefault<z.ZodEnum<{
590
+ attached: "attached";
591
+ detached: "detached";
592
+ hidden: "hidden";
593
+ visible: "visible";
594
+ }>>;
595
+ textContains: z.ZodOptional<z.ZodString>;
596
+ attribute: z.ZodOptional<z.ZodObject<{
597
+ name: z.ZodString;
598
+ equals: z.ZodString;
599
+ }, z.core.$strict>>;
600
+ }, z.core.$strict>>>;
601
+ }, z.core.$strict>>;
602
+ }, z.core.$strict>>>;
603
+ policy: z.ZodDefault<z.ZodObject<{
604
+ requireHumanBefore: z.ZodDefault<z.ZodArray<z.ZodString>>;
605
+ }, z.core.$strict>>;
606
+ }, z.core.$strict>>;
607
+ }, z.core.$strict>>;
608
+ export declare const runReportJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
609
+ version: z.ZodLiteral<1>;
610
+ runId: z.ZodString;
611
+ startedAt: z.ZodString;
612
+ finishedAt: z.ZodString;
613
+ targetUrl: z.ZodString;
614
+ project: z.ZodString;
615
+ contractHash: z.ZodString;
616
+ runner: z.ZodObject<{
617
+ name: z.ZodString;
618
+ version: z.ZodString;
619
+ }, z.core.$strict>;
620
+ browser: z.ZodObject<{
621
+ name: z.ZodString;
622
+ version: z.ZodString;
623
+ channel: z.ZodString;
624
+ evidence: z.ZodEnum<{
625
+ "documented-profile": "documented-profile";
626
+ "official-sdk": "official-sdk";
627
+ "real-browser": "real-browser";
628
+ "real-client": "real-client";
629
+ "spec-only": "spec-only";
630
+ }>;
631
+ }, z.core.$strict>;
632
+ summary: z.ZodObject<{
633
+ passed: z.ZodNumber;
634
+ failed: z.ZodNumber;
635
+ skipped: z.ZodNumber;
636
+ }, z.core.$strict>;
637
+ compatibility: z.ZodDefault<z.ZodArray<z.ZodObject<{
638
+ profileId: z.ZodString;
639
+ status: z.ZodEnum<{
640
+ compatible: "compatible";
641
+ incompatible: "incompatible";
642
+ unknown: "unknown";
643
+ }>;
644
+ findings: z.ZodArray<z.ZodObject<{
645
+ code: z.ZodString;
646
+ evidence: z.ZodEnum<{
647
+ "documented-profile": "documented-profile";
648
+ "official-sdk": "official-sdk";
649
+ "real-browser": "real-browser";
650
+ "real-client": "real-client";
651
+ "spec-only": "spec-only";
652
+ }>;
653
+ message: z.ZodString;
654
+ severity: z.ZodEnum<{
655
+ error: "error";
656
+ warning: "warning";
657
+ }>;
658
+ source: z.ZodString;
659
+ toolId: z.ZodString;
660
+ }, z.core.$strict>>;
661
+ }, z.core.$strict>>>;
662
+ journeys: z.ZodArray<z.ZodObject<{
663
+ id: z.ZodString;
664
+ name: z.ZodString;
665
+ status: z.ZodEnum<{
666
+ failed: "failed";
667
+ passed: "passed";
668
+ skipped: "skipped";
669
+ }>;
670
+ durationMs: z.ZodNumber;
671
+ steps: z.ZodArray<z.ZodObject<{
672
+ index: z.ZodNumber;
673
+ toolId: z.ZodString;
674
+ toolName: z.ZodString;
675
+ status: z.ZodEnum<{
676
+ failed: "failed";
677
+ passed: "passed";
678
+ skipped: "skipped";
679
+ }>;
680
+ durationMs: z.ZodNumber;
681
+ error: z.ZodOptional<z.ZodString>;
682
+ }, z.core.$strict>>;
683
+ cleanup: z.ZodDefault<z.ZodArray<z.ZodObject<{
684
+ index: z.ZodNumber;
685
+ toolId: z.ZodString;
686
+ toolName: z.ZodString;
687
+ status: z.ZodEnum<{
688
+ failed: "failed";
689
+ passed: "passed";
690
+ skipped: "skipped";
691
+ }>;
692
+ durationMs: z.ZodNumber;
693
+ error: z.ZodOptional<z.ZodString>;
694
+ }, z.core.$strict>>>;
695
+ error: z.ZodOptional<z.ZodString>;
696
+ }, z.core.$strict>>;
697
+ }, z.core.$strict>>;
698
+ //# sourceMappingURL=schema.d.ts.map