@extenshi/mcp 0.6.0 → 0.7.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.
@@ -1,1976 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const WORKSPACE_SCHEMA_VERSION = 1;
3
- export declare const MAX_WORKSPACE_BYTES: number;
4
- export declare const provenanceSchema: z.ZodObject<{
5
- source: z.ZodEnum<["local", "agent"]>;
6
- observedAt: z.ZodString;
7
- branch: z.ZodOptional<z.ZodString>;
8
- commit: z.ZodOptional<z.ZodString>;
9
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
10
- toolVersion: z.ZodString;
11
- }, "strict", z.ZodTypeAny, {
12
- source: "local" | "agent";
13
- observedAt: string;
14
- toolVersion: string;
15
- branch?: string | undefined;
16
- commit?: string | undefined;
17
- dirtyTreeDigest?: string | undefined;
18
- }, {
19
- source: "local" | "agent";
20
- observedAt: string;
21
- toolVersion: string;
22
- branch?: string | undefined;
23
- commit?: string | undefined;
24
- dirtyTreeDigest?: string | undefined;
25
- }>;
26
- export declare const manifestSchema: z.ZodEffects<z.ZodObject<{
27
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
28
- name: z.ZodString;
29
- version: z.ZodString;
30
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
31
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
32
- name: z.ZodString;
33
- version: z.ZodString;
34
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
36
- name: z.ZodString;
37
- version: z.ZodString;
38
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
39
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
40
- name: z.ZodString;
41
- version: z.ZodString;
42
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
43
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
44
- name: z.ZodString;
45
- version: z.ZodString;
46
- }, z.ZodTypeAny, "passthrough">>;
47
- export declare const releaseSchema: z.ZodEffects<z.ZodObject<{
48
- browser: z.ZodEnum<["chrome", "firefox", "edge"]>;
49
- version: z.ZodString;
50
- artifactDigest: z.ZodString;
51
- commit: z.ZodOptional<z.ZodString>;
52
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
53
- locales: z.ZodArray<z.ZodString, "many">;
54
- manifestDigest: z.ZodString;
55
- sourceManifestDigest: z.ZodOptional<z.ZodString>;
56
- listingDigest: z.ZodOptional<z.ZodString>;
57
- policyDigest: z.ZodOptional<z.ZodString>;
58
- paymentDigest: z.ZodOptional<z.ZodString>;
59
- paymentRequired: z.ZodBoolean;
60
- }, "strict", z.ZodTypeAny, {
61
- version: string;
62
- browser: "chrome" | "firefox" | "edge";
63
- artifactDigest: string;
64
- locales: string[];
65
- manifestDigest: string;
66
- paymentRequired: boolean;
67
- commit?: string | undefined;
68
- dirtyTreeDigest?: string | undefined;
69
- sourceManifestDigest?: string | undefined;
70
- listingDigest?: string | undefined;
71
- policyDigest?: string | undefined;
72
- paymentDigest?: string | undefined;
73
- }, {
74
- version: string;
75
- browser: "chrome" | "firefox" | "edge";
76
- artifactDigest: string;
77
- locales: string[];
78
- manifestDigest: string;
79
- paymentRequired: boolean;
80
- commit?: string | undefined;
81
- dirtyTreeDigest?: string | undefined;
82
- sourceManifestDigest?: string | undefined;
83
- listingDigest?: string | undefined;
84
- policyDigest?: string | undefined;
85
- paymentDigest?: string | undefined;
86
- }>, {
87
- version: string;
88
- browser: "chrome" | "firefox" | "edge";
89
- artifactDigest: string;
90
- locales: string[];
91
- manifestDigest: string;
92
- paymentRequired: boolean;
93
- commit?: string | undefined;
94
- dirtyTreeDigest?: string | undefined;
95
- sourceManifestDigest?: string | undefined;
96
- listingDigest?: string | undefined;
97
- policyDigest?: string | undefined;
98
- paymentDigest?: string | undefined;
99
- }, {
100
- version: string;
101
- browser: "chrome" | "firefox" | "edge";
102
- artifactDigest: string;
103
- locales: string[];
104
- manifestDigest: string;
105
- paymentRequired: boolean;
106
- commit?: string | undefined;
107
- dirtyTreeDigest?: string | undefined;
108
- sourceManifestDigest?: string | undefined;
109
- listingDigest?: string | undefined;
110
- policyDigest?: string | undefined;
111
- paymentDigest?: string | undefined;
112
- }>;
113
- export declare const specSchema: z.ZodObject<{
114
- excludedFeatures: z.ZodArray<z.ZodString, "many">;
115
- targetLocales: z.ZodArray<z.ZodString, "many">;
116
- tasks: z.ZodArray<z.ZodObject<{
117
- id: z.ZodString;
118
- status: z.ZodEnum<["not_started", "in_progress", "blocked", "completed", "deferred", "not_applicable"]>;
119
- assignee: z.ZodString;
120
- reason: z.ZodString;
121
- }, "strict", z.ZodTypeAny, {
122
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
123
- id: string;
124
- assignee: string;
125
- reason: string;
126
- }, {
127
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
128
- id: string;
129
- assignee: string;
130
- reason: string;
131
- }>, "many">;
132
- }, "strict", z.ZodTypeAny, {
133
- excludedFeatures: string[];
134
- targetLocales: string[];
135
- tasks: {
136
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
137
- id: string;
138
- assignee: string;
139
- reason: string;
140
- }[];
141
- }, {
142
- excludedFeatures: string[];
143
- targetLocales: string[];
144
- tasks: {
145
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
146
- id: string;
147
- assignee: string;
148
- reason: string;
149
- }[];
150
- }>;
151
- export declare const workspacePatchSchema: z.ZodObject<{
152
- projectId: z.ZodString;
153
- schemaVersion: z.ZodLiteral<1>;
154
- expectedRevision: z.ZodNumber;
155
- idempotencyKey: z.ZodString;
156
- provenance: z.ZodObject<{
157
- source: z.ZodEnum<["local", "agent"]>;
158
- observedAt: z.ZodString;
159
- branch: z.ZodOptional<z.ZodString>;
160
- commit: z.ZodOptional<z.ZodString>;
161
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
162
- toolVersion: z.ZodString;
163
- }, "strict", z.ZodTypeAny, {
164
- source: "local" | "agent";
165
- observedAt: string;
166
- toolVersion: string;
167
- branch?: string | undefined;
168
- commit?: string | undefined;
169
- dirtyTreeDigest?: string | undefined;
170
- }, {
171
- source: "local" | "agent";
172
- observedAt: string;
173
- toolVersion: string;
174
- branch?: string | undefined;
175
- commit?: string | undefined;
176
- dirtyTreeDigest?: string | undefined;
177
- }>;
178
- patch: z.ZodObject<{
179
- repository: z.ZodOptional<z.ZodObject<{
180
- repo: z.ZodString;
181
- defaultBranch: z.ZodString;
182
- }, "strict", z.ZodTypeAny, {
183
- repo: string;
184
- defaultBranch: string;
185
- }, {
186
- repo: string;
187
- defaultBranch: string;
188
- }>>;
189
- sourceManifests: z.ZodOptional<z.ZodObject<{
190
- chrome: z.ZodOptional<z.ZodObject<{
191
- manifest: z.ZodEffects<z.ZodObject<{
192
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
193
- name: z.ZodString;
194
- version: z.ZodString;
195
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
196
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
197
- name: z.ZodString;
198
- version: z.ZodString;
199
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
200
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
201
- name: z.ZodString;
202
- version: z.ZodString;
203
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
204
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
205
- name: z.ZodString;
206
- version: z.ZodString;
207
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
208
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
209
- name: z.ZodString;
210
- version: z.ZodString;
211
- }, z.ZodTypeAny, "passthrough">>;
212
- provenance: z.ZodObject<{
213
- source: z.ZodEnum<["local", "agent"]>;
214
- observedAt: z.ZodString;
215
- branch: z.ZodOptional<z.ZodString>;
216
- commit: z.ZodOptional<z.ZodString>;
217
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
218
- toolVersion: z.ZodString;
219
- }, "strict", z.ZodTypeAny, {
220
- source: "local" | "agent";
221
- observedAt: string;
222
- toolVersion: string;
223
- branch?: string | undefined;
224
- commit?: string | undefined;
225
- dirtyTreeDigest?: string | undefined;
226
- }, {
227
- source: "local" | "agent";
228
- observedAt: string;
229
- toolVersion: string;
230
- branch?: string | undefined;
231
- commit?: string | undefined;
232
- dirtyTreeDigest?: string | undefined;
233
- }>;
234
- }, "strict", z.ZodTypeAny, {
235
- manifest: {
236
- manifest_version: 3 | 2;
237
- name: string;
238
- version: string;
239
- } & {
240
- [k: string]: unknown;
241
- };
242
- provenance: {
243
- source: "local" | "agent";
244
- observedAt: string;
245
- toolVersion: string;
246
- branch?: string | undefined;
247
- commit?: string | undefined;
248
- dirtyTreeDigest?: string | undefined;
249
- };
250
- }, {
251
- manifest: {
252
- manifest_version: 3 | 2;
253
- name: string;
254
- version: string;
255
- } & {
256
- [k: string]: unknown;
257
- };
258
- provenance: {
259
- source: "local" | "agent";
260
- observedAt: string;
261
- toolVersion: string;
262
- branch?: string | undefined;
263
- commit?: string | undefined;
264
- dirtyTreeDigest?: string | undefined;
265
- };
266
- }>>;
267
- firefox: z.ZodOptional<z.ZodObject<{
268
- manifest: z.ZodEffects<z.ZodObject<{
269
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
270
- name: z.ZodString;
271
- version: z.ZodString;
272
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
273
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
274
- name: z.ZodString;
275
- version: z.ZodString;
276
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
277
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
278
- name: z.ZodString;
279
- version: z.ZodString;
280
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
281
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
282
- name: z.ZodString;
283
- version: z.ZodString;
284
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
285
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
286
- name: z.ZodString;
287
- version: z.ZodString;
288
- }, z.ZodTypeAny, "passthrough">>;
289
- provenance: z.ZodObject<{
290
- source: z.ZodEnum<["local", "agent"]>;
291
- observedAt: z.ZodString;
292
- branch: z.ZodOptional<z.ZodString>;
293
- commit: z.ZodOptional<z.ZodString>;
294
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
295
- toolVersion: z.ZodString;
296
- }, "strict", z.ZodTypeAny, {
297
- source: "local" | "agent";
298
- observedAt: string;
299
- toolVersion: string;
300
- branch?: string | undefined;
301
- commit?: string | undefined;
302
- dirtyTreeDigest?: string | undefined;
303
- }, {
304
- source: "local" | "agent";
305
- observedAt: string;
306
- toolVersion: string;
307
- branch?: string | undefined;
308
- commit?: string | undefined;
309
- dirtyTreeDigest?: string | undefined;
310
- }>;
311
- }, "strict", z.ZodTypeAny, {
312
- manifest: {
313
- manifest_version: 3 | 2;
314
- name: string;
315
- version: string;
316
- } & {
317
- [k: string]: unknown;
318
- };
319
- provenance: {
320
- source: "local" | "agent";
321
- observedAt: string;
322
- toolVersion: string;
323
- branch?: string | undefined;
324
- commit?: string | undefined;
325
- dirtyTreeDigest?: string | undefined;
326
- };
327
- }, {
328
- manifest: {
329
- manifest_version: 3 | 2;
330
- name: string;
331
- version: string;
332
- } & {
333
- [k: string]: unknown;
334
- };
335
- provenance: {
336
- source: "local" | "agent";
337
- observedAt: string;
338
- toolVersion: string;
339
- branch?: string | undefined;
340
- commit?: string | undefined;
341
- dirtyTreeDigest?: string | undefined;
342
- };
343
- }>>;
344
- edge: z.ZodOptional<z.ZodObject<{
345
- manifest: z.ZodEffects<z.ZodObject<{
346
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
347
- name: z.ZodString;
348
- version: z.ZodString;
349
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
350
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
351
- name: z.ZodString;
352
- version: z.ZodString;
353
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
354
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
355
- name: z.ZodString;
356
- version: z.ZodString;
357
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
358
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
359
- name: z.ZodString;
360
- version: z.ZodString;
361
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
362
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
363
- name: z.ZodString;
364
- version: z.ZodString;
365
- }, z.ZodTypeAny, "passthrough">>;
366
- provenance: z.ZodObject<{
367
- source: z.ZodEnum<["local", "agent"]>;
368
- observedAt: z.ZodString;
369
- branch: z.ZodOptional<z.ZodString>;
370
- commit: z.ZodOptional<z.ZodString>;
371
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
372
- toolVersion: z.ZodString;
373
- }, "strict", z.ZodTypeAny, {
374
- source: "local" | "agent";
375
- observedAt: string;
376
- toolVersion: string;
377
- branch?: string | undefined;
378
- commit?: string | undefined;
379
- dirtyTreeDigest?: string | undefined;
380
- }, {
381
- source: "local" | "agent";
382
- observedAt: string;
383
- toolVersion: string;
384
- branch?: string | undefined;
385
- commit?: string | undefined;
386
- dirtyTreeDigest?: string | undefined;
387
- }>;
388
- }, "strict", z.ZodTypeAny, {
389
- manifest: {
390
- manifest_version: 3 | 2;
391
- name: string;
392
- version: string;
393
- } & {
394
- [k: string]: unknown;
395
- };
396
- provenance: {
397
- source: "local" | "agent";
398
- observedAt: string;
399
- toolVersion: string;
400
- branch?: string | undefined;
401
- commit?: string | undefined;
402
- dirtyTreeDigest?: string | undefined;
403
- };
404
- }, {
405
- manifest: {
406
- manifest_version: 3 | 2;
407
- name: string;
408
- version: string;
409
- } & {
410
- [k: string]: unknown;
411
- };
412
- provenance: {
413
- source: "local" | "agent";
414
- observedAt: string;
415
- toolVersion: string;
416
- branch?: string | undefined;
417
- commit?: string | undefined;
418
- dirtyTreeDigest?: string | undefined;
419
- };
420
- }>>;
421
- }, "strict", z.ZodTypeAny, {
422
- chrome?: {
423
- manifest: {
424
- manifest_version: 3 | 2;
425
- name: string;
426
- version: string;
427
- } & {
428
- [k: string]: unknown;
429
- };
430
- provenance: {
431
- source: "local" | "agent";
432
- observedAt: string;
433
- toolVersion: string;
434
- branch?: string | undefined;
435
- commit?: string | undefined;
436
- dirtyTreeDigest?: string | undefined;
437
- };
438
- } | undefined;
439
- firefox?: {
440
- manifest: {
441
- manifest_version: 3 | 2;
442
- name: string;
443
- version: string;
444
- } & {
445
- [k: string]: unknown;
446
- };
447
- provenance: {
448
- source: "local" | "agent";
449
- observedAt: string;
450
- toolVersion: string;
451
- branch?: string | undefined;
452
- commit?: string | undefined;
453
- dirtyTreeDigest?: string | undefined;
454
- };
455
- } | undefined;
456
- edge?: {
457
- manifest: {
458
- manifest_version: 3 | 2;
459
- name: string;
460
- version: string;
461
- } & {
462
- [k: string]: unknown;
463
- };
464
- provenance: {
465
- source: "local" | "agent";
466
- observedAt: string;
467
- toolVersion: string;
468
- branch?: string | undefined;
469
- commit?: string | undefined;
470
- dirtyTreeDigest?: string | undefined;
471
- };
472
- } | undefined;
473
- }, {
474
- chrome?: {
475
- manifest: {
476
- manifest_version: 3 | 2;
477
- name: string;
478
- version: string;
479
- } & {
480
- [k: string]: unknown;
481
- };
482
- provenance: {
483
- source: "local" | "agent";
484
- observedAt: string;
485
- toolVersion: string;
486
- branch?: string | undefined;
487
- commit?: string | undefined;
488
- dirtyTreeDigest?: string | undefined;
489
- };
490
- } | undefined;
491
- firefox?: {
492
- manifest: {
493
- manifest_version: 3 | 2;
494
- name: string;
495
- version: string;
496
- } & {
497
- [k: string]: unknown;
498
- };
499
- provenance: {
500
- source: "local" | "agent";
501
- observedAt: string;
502
- toolVersion: string;
503
- branch?: string | undefined;
504
- commit?: string | undefined;
505
- dirtyTreeDigest?: string | undefined;
506
- };
507
- } | undefined;
508
- edge?: {
509
- manifest: {
510
- manifest_version: 3 | 2;
511
- name: string;
512
- version: string;
513
- } & {
514
- [k: string]: unknown;
515
- };
516
- provenance: {
517
- source: "local" | "agent";
518
- observedAt: string;
519
- toolVersion: string;
520
- branch?: string | undefined;
521
- commit?: string | undefined;
522
- dirtyTreeDigest?: string | undefined;
523
- };
524
- } | undefined;
525
- }>>;
526
- builtManifests: z.ZodOptional<z.ZodObject<{
527
- chrome: z.ZodOptional<z.ZodObject<{
528
- manifest: z.ZodEffects<z.ZodObject<{
529
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
530
- name: z.ZodString;
531
- version: z.ZodString;
532
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
533
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
534
- name: z.ZodString;
535
- version: z.ZodString;
536
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
537
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
538
- name: z.ZodString;
539
- version: z.ZodString;
540
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
541
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
542
- name: z.ZodString;
543
- version: z.ZodString;
544
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
545
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
546
- name: z.ZodString;
547
- version: z.ZodString;
548
- }, z.ZodTypeAny, "passthrough">>;
549
- provenance: z.ZodObject<{
550
- source: z.ZodEnum<["local", "agent"]>;
551
- observedAt: z.ZodString;
552
- branch: z.ZodOptional<z.ZodString>;
553
- commit: z.ZodOptional<z.ZodString>;
554
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
555
- toolVersion: z.ZodString;
556
- }, "strict", z.ZodTypeAny, {
557
- source: "local" | "agent";
558
- observedAt: string;
559
- toolVersion: string;
560
- branch?: string | undefined;
561
- commit?: string | undefined;
562
- dirtyTreeDigest?: string | undefined;
563
- }, {
564
- source: "local" | "agent";
565
- observedAt: string;
566
- toolVersion: string;
567
- branch?: string | undefined;
568
- commit?: string | undefined;
569
- dirtyTreeDigest?: string | undefined;
570
- }>;
571
- }, "strict", z.ZodTypeAny, {
572
- manifest: {
573
- manifest_version: 3 | 2;
574
- name: string;
575
- version: string;
576
- } & {
577
- [k: string]: unknown;
578
- };
579
- provenance: {
580
- source: "local" | "agent";
581
- observedAt: string;
582
- toolVersion: string;
583
- branch?: string | undefined;
584
- commit?: string | undefined;
585
- dirtyTreeDigest?: string | undefined;
586
- };
587
- }, {
588
- manifest: {
589
- manifest_version: 3 | 2;
590
- name: string;
591
- version: string;
592
- } & {
593
- [k: string]: unknown;
594
- };
595
- provenance: {
596
- source: "local" | "agent";
597
- observedAt: string;
598
- toolVersion: string;
599
- branch?: string | undefined;
600
- commit?: string | undefined;
601
- dirtyTreeDigest?: string | undefined;
602
- };
603
- }>>;
604
- firefox: z.ZodOptional<z.ZodObject<{
605
- manifest: z.ZodEffects<z.ZodObject<{
606
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
607
- name: z.ZodString;
608
- version: z.ZodString;
609
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
610
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
611
- name: z.ZodString;
612
- version: z.ZodString;
613
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
614
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
615
- name: z.ZodString;
616
- version: z.ZodString;
617
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
618
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
619
- name: z.ZodString;
620
- version: z.ZodString;
621
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
622
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
623
- name: z.ZodString;
624
- version: z.ZodString;
625
- }, z.ZodTypeAny, "passthrough">>;
626
- provenance: z.ZodObject<{
627
- source: z.ZodEnum<["local", "agent"]>;
628
- observedAt: z.ZodString;
629
- branch: z.ZodOptional<z.ZodString>;
630
- commit: z.ZodOptional<z.ZodString>;
631
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
632
- toolVersion: z.ZodString;
633
- }, "strict", z.ZodTypeAny, {
634
- source: "local" | "agent";
635
- observedAt: string;
636
- toolVersion: string;
637
- branch?: string | undefined;
638
- commit?: string | undefined;
639
- dirtyTreeDigest?: string | undefined;
640
- }, {
641
- source: "local" | "agent";
642
- observedAt: string;
643
- toolVersion: string;
644
- branch?: string | undefined;
645
- commit?: string | undefined;
646
- dirtyTreeDigest?: string | undefined;
647
- }>;
648
- }, "strict", z.ZodTypeAny, {
649
- manifest: {
650
- manifest_version: 3 | 2;
651
- name: string;
652
- version: string;
653
- } & {
654
- [k: string]: unknown;
655
- };
656
- provenance: {
657
- source: "local" | "agent";
658
- observedAt: string;
659
- toolVersion: string;
660
- branch?: string | undefined;
661
- commit?: string | undefined;
662
- dirtyTreeDigest?: string | undefined;
663
- };
664
- }, {
665
- manifest: {
666
- manifest_version: 3 | 2;
667
- name: string;
668
- version: string;
669
- } & {
670
- [k: string]: unknown;
671
- };
672
- provenance: {
673
- source: "local" | "agent";
674
- observedAt: string;
675
- toolVersion: string;
676
- branch?: string | undefined;
677
- commit?: string | undefined;
678
- dirtyTreeDigest?: string | undefined;
679
- };
680
- }>>;
681
- edge: z.ZodOptional<z.ZodObject<{
682
- manifest: z.ZodEffects<z.ZodObject<{
683
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
684
- name: z.ZodString;
685
- version: z.ZodString;
686
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
687
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
688
- name: z.ZodString;
689
- version: z.ZodString;
690
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
691
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
692
- name: z.ZodString;
693
- version: z.ZodString;
694
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
695
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
696
- name: z.ZodString;
697
- version: z.ZodString;
698
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
699
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
700
- name: z.ZodString;
701
- version: z.ZodString;
702
- }, z.ZodTypeAny, "passthrough">>;
703
- provenance: z.ZodObject<{
704
- source: z.ZodEnum<["local", "agent"]>;
705
- observedAt: z.ZodString;
706
- branch: z.ZodOptional<z.ZodString>;
707
- commit: z.ZodOptional<z.ZodString>;
708
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
709
- toolVersion: z.ZodString;
710
- }, "strict", z.ZodTypeAny, {
711
- source: "local" | "agent";
712
- observedAt: string;
713
- toolVersion: string;
714
- branch?: string | undefined;
715
- commit?: string | undefined;
716
- dirtyTreeDigest?: string | undefined;
717
- }, {
718
- source: "local" | "agent";
719
- observedAt: string;
720
- toolVersion: string;
721
- branch?: string | undefined;
722
- commit?: string | undefined;
723
- dirtyTreeDigest?: string | undefined;
724
- }>;
725
- }, "strict", z.ZodTypeAny, {
726
- manifest: {
727
- manifest_version: 3 | 2;
728
- name: string;
729
- version: string;
730
- } & {
731
- [k: string]: unknown;
732
- };
733
- provenance: {
734
- source: "local" | "agent";
735
- observedAt: string;
736
- toolVersion: string;
737
- branch?: string | undefined;
738
- commit?: string | undefined;
739
- dirtyTreeDigest?: string | undefined;
740
- };
741
- }, {
742
- manifest: {
743
- manifest_version: 3 | 2;
744
- name: string;
745
- version: string;
746
- } & {
747
- [k: string]: unknown;
748
- };
749
- provenance: {
750
- source: "local" | "agent";
751
- observedAt: string;
752
- toolVersion: string;
753
- branch?: string | undefined;
754
- commit?: string | undefined;
755
- dirtyTreeDigest?: string | undefined;
756
- };
757
- }>>;
758
- }, "strict", z.ZodTypeAny, {
759
- chrome?: {
760
- manifest: {
761
- manifest_version: 3 | 2;
762
- name: string;
763
- version: string;
764
- } & {
765
- [k: string]: unknown;
766
- };
767
- provenance: {
768
- source: "local" | "agent";
769
- observedAt: string;
770
- toolVersion: string;
771
- branch?: string | undefined;
772
- commit?: string | undefined;
773
- dirtyTreeDigest?: string | undefined;
774
- };
775
- } | undefined;
776
- firefox?: {
777
- manifest: {
778
- manifest_version: 3 | 2;
779
- name: string;
780
- version: string;
781
- } & {
782
- [k: string]: unknown;
783
- };
784
- provenance: {
785
- source: "local" | "agent";
786
- observedAt: string;
787
- toolVersion: string;
788
- branch?: string | undefined;
789
- commit?: string | undefined;
790
- dirtyTreeDigest?: string | undefined;
791
- };
792
- } | undefined;
793
- edge?: {
794
- manifest: {
795
- manifest_version: 3 | 2;
796
- name: string;
797
- version: string;
798
- } & {
799
- [k: string]: unknown;
800
- };
801
- provenance: {
802
- source: "local" | "agent";
803
- observedAt: string;
804
- toolVersion: string;
805
- branch?: string | undefined;
806
- commit?: string | undefined;
807
- dirtyTreeDigest?: string | undefined;
808
- };
809
- } | undefined;
810
- }, {
811
- chrome?: {
812
- manifest: {
813
- manifest_version: 3 | 2;
814
- name: string;
815
- version: string;
816
- } & {
817
- [k: string]: unknown;
818
- };
819
- provenance: {
820
- source: "local" | "agent";
821
- observedAt: string;
822
- toolVersion: string;
823
- branch?: string | undefined;
824
- commit?: string | undefined;
825
- dirtyTreeDigest?: string | undefined;
826
- };
827
- } | undefined;
828
- firefox?: {
829
- manifest: {
830
- manifest_version: 3 | 2;
831
- name: string;
832
- version: string;
833
- } & {
834
- [k: string]: unknown;
835
- };
836
- provenance: {
837
- source: "local" | "agent";
838
- observedAt: string;
839
- toolVersion: string;
840
- branch?: string | undefined;
841
- commit?: string | undefined;
842
- dirtyTreeDigest?: string | undefined;
843
- };
844
- } | undefined;
845
- edge?: {
846
- manifest: {
847
- manifest_version: 3 | 2;
848
- name: string;
849
- version: string;
850
- } & {
851
- [k: string]: unknown;
852
- };
853
- provenance: {
854
- source: "local" | "agent";
855
- observedAt: string;
856
- toolVersion: string;
857
- branch?: string | undefined;
858
- commit?: string | undefined;
859
- dirtyTreeDigest?: string | undefined;
860
- };
861
- } | undefined;
862
- }>>;
863
- spec: z.ZodOptional<z.ZodObject<{
864
- excludedFeatures: z.ZodArray<z.ZodString, "many">;
865
- targetLocales: z.ZodArray<z.ZodString, "many">;
866
- tasks: z.ZodArray<z.ZodObject<{
867
- id: z.ZodString;
868
- status: z.ZodEnum<["not_started", "in_progress", "blocked", "completed", "deferred", "not_applicable"]>;
869
- assignee: z.ZodString;
870
- reason: z.ZodString;
871
- }, "strict", z.ZodTypeAny, {
872
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
873
- id: string;
874
- assignee: string;
875
- reason: string;
876
- }, {
877
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
878
- id: string;
879
- assignee: string;
880
- reason: string;
881
- }>, "many">;
882
- }, "strict", z.ZodTypeAny, {
883
- excludedFeatures: string[];
884
- targetLocales: string[];
885
- tasks: {
886
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
887
- id: string;
888
- assignee: string;
889
- reason: string;
890
- }[];
891
- }, {
892
- excludedFeatures: string[];
893
- targetLocales: string[];
894
- tasks: {
895
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
896
- id: string;
897
- assignee: string;
898
- reason: string;
899
- }[];
900
- }>>;
901
- release: z.ZodOptional<z.ZodEffects<z.ZodObject<{
902
- browser: z.ZodEnum<["chrome", "firefox", "edge"]>;
903
- version: z.ZodString;
904
- artifactDigest: z.ZodString;
905
- commit: z.ZodOptional<z.ZodString>;
906
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
907
- locales: z.ZodArray<z.ZodString, "many">;
908
- manifestDigest: z.ZodString;
909
- sourceManifestDigest: z.ZodOptional<z.ZodString>;
910
- listingDigest: z.ZodOptional<z.ZodString>;
911
- policyDigest: z.ZodOptional<z.ZodString>;
912
- paymentDigest: z.ZodOptional<z.ZodString>;
913
- paymentRequired: z.ZodBoolean;
914
- }, "strict", z.ZodTypeAny, {
915
- version: string;
916
- browser: "chrome" | "firefox" | "edge";
917
- artifactDigest: string;
918
- locales: string[];
919
- manifestDigest: string;
920
- paymentRequired: boolean;
921
- commit?: string | undefined;
922
- dirtyTreeDigest?: string | undefined;
923
- sourceManifestDigest?: string | undefined;
924
- listingDigest?: string | undefined;
925
- policyDigest?: string | undefined;
926
- paymentDigest?: string | undefined;
927
- }, {
928
- version: string;
929
- browser: "chrome" | "firefox" | "edge";
930
- artifactDigest: string;
931
- locales: string[];
932
- manifestDigest: string;
933
- paymentRequired: boolean;
934
- commit?: string | undefined;
935
- dirtyTreeDigest?: string | undefined;
936
- sourceManifestDigest?: string | undefined;
937
- listingDigest?: string | undefined;
938
- policyDigest?: string | undefined;
939
- paymentDigest?: string | undefined;
940
- }>, {
941
- version: string;
942
- browser: "chrome" | "firefox" | "edge";
943
- artifactDigest: string;
944
- locales: string[];
945
- manifestDigest: string;
946
- paymentRequired: boolean;
947
- commit?: string | undefined;
948
- dirtyTreeDigest?: string | undefined;
949
- sourceManifestDigest?: string | undefined;
950
- listingDigest?: string | undefined;
951
- policyDigest?: string | undefined;
952
- paymentDigest?: string | undefined;
953
- }, {
954
- version: string;
955
- browser: "chrome" | "firefox" | "edge";
956
- artifactDigest: string;
957
- locales: string[];
958
- manifestDigest: string;
959
- paymentRequired: boolean;
960
- commit?: string | undefined;
961
- dirtyTreeDigest?: string | undefined;
962
- sourceManifestDigest?: string | undefined;
963
- listingDigest?: string | undefined;
964
- policyDigest?: string | undefined;
965
- paymentDigest?: string | undefined;
966
- }>>;
967
- }, "strict", z.ZodTypeAny, {
968
- repository?: {
969
- repo: string;
970
- defaultBranch: string;
971
- } | undefined;
972
- sourceManifests?: {
973
- chrome?: {
974
- manifest: {
975
- manifest_version: 3 | 2;
976
- name: string;
977
- version: string;
978
- } & {
979
- [k: string]: unknown;
980
- };
981
- provenance: {
982
- source: "local" | "agent";
983
- observedAt: string;
984
- toolVersion: string;
985
- branch?: string | undefined;
986
- commit?: string | undefined;
987
- dirtyTreeDigest?: string | undefined;
988
- };
989
- } | undefined;
990
- firefox?: {
991
- manifest: {
992
- manifest_version: 3 | 2;
993
- name: string;
994
- version: string;
995
- } & {
996
- [k: string]: unknown;
997
- };
998
- provenance: {
999
- source: "local" | "agent";
1000
- observedAt: string;
1001
- toolVersion: string;
1002
- branch?: string | undefined;
1003
- commit?: string | undefined;
1004
- dirtyTreeDigest?: string | undefined;
1005
- };
1006
- } | undefined;
1007
- edge?: {
1008
- manifest: {
1009
- manifest_version: 3 | 2;
1010
- name: string;
1011
- version: string;
1012
- } & {
1013
- [k: string]: unknown;
1014
- };
1015
- provenance: {
1016
- source: "local" | "agent";
1017
- observedAt: string;
1018
- toolVersion: string;
1019
- branch?: string | undefined;
1020
- commit?: string | undefined;
1021
- dirtyTreeDigest?: string | undefined;
1022
- };
1023
- } | undefined;
1024
- } | undefined;
1025
- builtManifests?: {
1026
- chrome?: {
1027
- manifest: {
1028
- manifest_version: 3 | 2;
1029
- name: string;
1030
- version: string;
1031
- } & {
1032
- [k: string]: unknown;
1033
- };
1034
- provenance: {
1035
- source: "local" | "agent";
1036
- observedAt: string;
1037
- toolVersion: string;
1038
- branch?: string | undefined;
1039
- commit?: string | undefined;
1040
- dirtyTreeDigest?: string | undefined;
1041
- };
1042
- } | undefined;
1043
- firefox?: {
1044
- manifest: {
1045
- manifest_version: 3 | 2;
1046
- name: string;
1047
- version: string;
1048
- } & {
1049
- [k: string]: unknown;
1050
- };
1051
- provenance: {
1052
- source: "local" | "agent";
1053
- observedAt: string;
1054
- toolVersion: string;
1055
- branch?: string | undefined;
1056
- commit?: string | undefined;
1057
- dirtyTreeDigest?: string | undefined;
1058
- };
1059
- } | undefined;
1060
- edge?: {
1061
- manifest: {
1062
- manifest_version: 3 | 2;
1063
- name: string;
1064
- version: string;
1065
- } & {
1066
- [k: string]: unknown;
1067
- };
1068
- provenance: {
1069
- source: "local" | "agent";
1070
- observedAt: string;
1071
- toolVersion: string;
1072
- branch?: string | undefined;
1073
- commit?: string | undefined;
1074
- dirtyTreeDigest?: string | undefined;
1075
- };
1076
- } | undefined;
1077
- } | undefined;
1078
- spec?: {
1079
- excludedFeatures: string[];
1080
- targetLocales: string[];
1081
- tasks: {
1082
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1083
- id: string;
1084
- assignee: string;
1085
- reason: string;
1086
- }[];
1087
- } | undefined;
1088
- release?: {
1089
- version: string;
1090
- browser: "chrome" | "firefox" | "edge";
1091
- artifactDigest: string;
1092
- locales: string[];
1093
- manifestDigest: string;
1094
- paymentRequired: boolean;
1095
- commit?: string | undefined;
1096
- dirtyTreeDigest?: string | undefined;
1097
- sourceManifestDigest?: string | undefined;
1098
- listingDigest?: string | undefined;
1099
- policyDigest?: string | undefined;
1100
- paymentDigest?: string | undefined;
1101
- } | undefined;
1102
- }, {
1103
- repository?: {
1104
- repo: string;
1105
- defaultBranch: string;
1106
- } | undefined;
1107
- sourceManifests?: {
1108
- chrome?: {
1109
- manifest: {
1110
- manifest_version: 3 | 2;
1111
- name: string;
1112
- version: string;
1113
- } & {
1114
- [k: string]: unknown;
1115
- };
1116
- provenance: {
1117
- source: "local" | "agent";
1118
- observedAt: string;
1119
- toolVersion: string;
1120
- branch?: string | undefined;
1121
- commit?: string | undefined;
1122
- dirtyTreeDigest?: string | undefined;
1123
- };
1124
- } | undefined;
1125
- firefox?: {
1126
- manifest: {
1127
- manifest_version: 3 | 2;
1128
- name: string;
1129
- version: string;
1130
- } & {
1131
- [k: string]: unknown;
1132
- };
1133
- provenance: {
1134
- source: "local" | "agent";
1135
- observedAt: string;
1136
- toolVersion: string;
1137
- branch?: string | undefined;
1138
- commit?: string | undefined;
1139
- dirtyTreeDigest?: string | undefined;
1140
- };
1141
- } | undefined;
1142
- edge?: {
1143
- manifest: {
1144
- manifest_version: 3 | 2;
1145
- name: string;
1146
- version: string;
1147
- } & {
1148
- [k: string]: unknown;
1149
- };
1150
- provenance: {
1151
- source: "local" | "agent";
1152
- observedAt: string;
1153
- toolVersion: string;
1154
- branch?: string | undefined;
1155
- commit?: string | undefined;
1156
- dirtyTreeDigest?: string | undefined;
1157
- };
1158
- } | undefined;
1159
- } | undefined;
1160
- builtManifests?: {
1161
- chrome?: {
1162
- manifest: {
1163
- manifest_version: 3 | 2;
1164
- name: string;
1165
- version: string;
1166
- } & {
1167
- [k: string]: unknown;
1168
- };
1169
- provenance: {
1170
- source: "local" | "agent";
1171
- observedAt: string;
1172
- toolVersion: string;
1173
- branch?: string | undefined;
1174
- commit?: string | undefined;
1175
- dirtyTreeDigest?: string | undefined;
1176
- };
1177
- } | undefined;
1178
- firefox?: {
1179
- manifest: {
1180
- manifest_version: 3 | 2;
1181
- name: string;
1182
- version: string;
1183
- } & {
1184
- [k: string]: unknown;
1185
- };
1186
- provenance: {
1187
- source: "local" | "agent";
1188
- observedAt: string;
1189
- toolVersion: string;
1190
- branch?: string | undefined;
1191
- commit?: string | undefined;
1192
- dirtyTreeDigest?: string | undefined;
1193
- };
1194
- } | undefined;
1195
- edge?: {
1196
- manifest: {
1197
- manifest_version: 3 | 2;
1198
- name: string;
1199
- version: string;
1200
- } & {
1201
- [k: string]: unknown;
1202
- };
1203
- provenance: {
1204
- source: "local" | "agent";
1205
- observedAt: string;
1206
- toolVersion: string;
1207
- branch?: string | undefined;
1208
- commit?: string | undefined;
1209
- dirtyTreeDigest?: string | undefined;
1210
- };
1211
- } | undefined;
1212
- } | undefined;
1213
- spec?: {
1214
- excludedFeatures: string[];
1215
- targetLocales: string[];
1216
- tasks: {
1217
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1218
- id: string;
1219
- assignee: string;
1220
- reason: string;
1221
- }[];
1222
- } | undefined;
1223
- release?: {
1224
- version: string;
1225
- browser: "chrome" | "firefox" | "edge";
1226
- artifactDigest: string;
1227
- locales: string[];
1228
- manifestDigest: string;
1229
- paymentRequired: boolean;
1230
- commit?: string | undefined;
1231
- dirtyTreeDigest?: string | undefined;
1232
- sourceManifestDigest?: string | undefined;
1233
- listingDigest?: string | undefined;
1234
- policyDigest?: string | undefined;
1235
- paymentDigest?: string | undefined;
1236
- } | undefined;
1237
- }>;
1238
- tombstones: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1239
- }, "strict", z.ZodTypeAny, {
1240
- provenance: {
1241
- source: "local" | "agent";
1242
- observedAt: string;
1243
- toolVersion: string;
1244
- branch?: string | undefined;
1245
- commit?: string | undefined;
1246
- dirtyTreeDigest?: string | undefined;
1247
- };
1248
- projectId: string;
1249
- schemaVersion: 1;
1250
- expectedRevision: number;
1251
- idempotencyKey: string;
1252
- patch: {
1253
- repository?: {
1254
- repo: string;
1255
- defaultBranch: string;
1256
- } | undefined;
1257
- sourceManifests?: {
1258
- chrome?: {
1259
- manifest: {
1260
- manifest_version: 3 | 2;
1261
- name: string;
1262
- version: string;
1263
- } & {
1264
- [k: string]: unknown;
1265
- };
1266
- provenance: {
1267
- source: "local" | "agent";
1268
- observedAt: string;
1269
- toolVersion: string;
1270
- branch?: string | undefined;
1271
- commit?: string | undefined;
1272
- dirtyTreeDigest?: string | undefined;
1273
- };
1274
- } | undefined;
1275
- firefox?: {
1276
- manifest: {
1277
- manifest_version: 3 | 2;
1278
- name: string;
1279
- version: string;
1280
- } & {
1281
- [k: string]: unknown;
1282
- };
1283
- provenance: {
1284
- source: "local" | "agent";
1285
- observedAt: string;
1286
- toolVersion: string;
1287
- branch?: string | undefined;
1288
- commit?: string | undefined;
1289
- dirtyTreeDigest?: string | undefined;
1290
- };
1291
- } | undefined;
1292
- edge?: {
1293
- manifest: {
1294
- manifest_version: 3 | 2;
1295
- name: string;
1296
- version: string;
1297
- } & {
1298
- [k: string]: unknown;
1299
- };
1300
- provenance: {
1301
- source: "local" | "agent";
1302
- observedAt: string;
1303
- toolVersion: string;
1304
- branch?: string | undefined;
1305
- commit?: string | undefined;
1306
- dirtyTreeDigest?: string | undefined;
1307
- };
1308
- } | undefined;
1309
- } | undefined;
1310
- builtManifests?: {
1311
- chrome?: {
1312
- manifest: {
1313
- manifest_version: 3 | 2;
1314
- name: string;
1315
- version: string;
1316
- } & {
1317
- [k: string]: unknown;
1318
- };
1319
- provenance: {
1320
- source: "local" | "agent";
1321
- observedAt: string;
1322
- toolVersion: string;
1323
- branch?: string | undefined;
1324
- commit?: string | undefined;
1325
- dirtyTreeDigest?: string | undefined;
1326
- };
1327
- } | undefined;
1328
- firefox?: {
1329
- manifest: {
1330
- manifest_version: 3 | 2;
1331
- name: string;
1332
- version: string;
1333
- } & {
1334
- [k: string]: unknown;
1335
- };
1336
- provenance: {
1337
- source: "local" | "agent";
1338
- observedAt: string;
1339
- toolVersion: string;
1340
- branch?: string | undefined;
1341
- commit?: string | undefined;
1342
- dirtyTreeDigest?: string | undefined;
1343
- };
1344
- } | undefined;
1345
- edge?: {
1346
- manifest: {
1347
- manifest_version: 3 | 2;
1348
- name: string;
1349
- version: string;
1350
- } & {
1351
- [k: string]: unknown;
1352
- };
1353
- provenance: {
1354
- source: "local" | "agent";
1355
- observedAt: string;
1356
- toolVersion: string;
1357
- branch?: string | undefined;
1358
- commit?: string | undefined;
1359
- dirtyTreeDigest?: string | undefined;
1360
- };
1361
- } | undefined;
1362
- } | undefined;
1363
- spec?: {
1364
- excludedFeatures: string[];
1365
- targetLocales: string[];
1366
- tasks: {
1367
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1368
- id: string;
1369
- assignee: string;
1370
- reason: string;
1371
- }[];
1372
- } | undefined;
1373
- release?: {
1374
- version: string;
1375
- browser: "chrome" | "firefox" | "edge";
1376
- artifactDigest: string;
1377
- locales: string[];
1378
- manifestDigest: string;
1379
- paymentRequired: boolean;
1380
- commit?: string | undefined;
1381
- dirtyTreeDigest?: string | undefined;
1382
- sourceManifestDigest?: string | undefined;
1383
- listingDigest?: string | undefined;
1384
- policyDigest?: string | undefined;
1385
- paymentDigest?: string | undefined;
1386
- } | undefined;
1387
- };
1388
- tombstones: string[];
1389
- }, {
1390
- provenance: {
1391
- source: "local" | "agent";
1392
- observedAt: string;
1393
- toolVersion: string;
1394
- branch?: string | undefined;
1395
- commit?: string | undefined;
1396
- dirtyTreeDigest?: string | undefined;
1397
- };
1398
- projectId: string;
1399
- schemaVersion: 1;
1400
- expectedRevision: number;
1401
- idempotencyKey: string;
1402
- patch: {
1403
- repository?: {
1404
- repo: string;
1405
- defaultBranch: string;
1406
- } | undefined;
1407
- sourceManifests?: {
1408
- chrome?: {
1409
- manifest: {
1410
- manifest_version: 3 | 2;
1411
- name: string;
1412
- version: string;
1413
- } & {
1414
- [k: string]: unknown;
1415
- };
1416
- provenance: {
1417
- source: "local" | "agent";
1418
- observedAt: string;
1419
- toolVersion: string;
1420
- branch?: string | undefined;
1421
- commit?: string | undefined;
1422
- dirtyTreeDigest?: string | undefined;
1423
- };
1424
- } | undefined;
1425
- firefox?: {
1426
- manifest: {
1427
- manifest_version: 3 | 2;
1428
- name: string;
1429
- version: string;
1430
- } & {
1431
- [k: string]: unknown;
1432
- };
1433
- provenance: {
1434
- source: "local" | "agent";
1435
- observedAt: string;
1436
- toolVersion: string;
1437
- branch?: string | undefined;
1438
- commit?: string | undefined;
1439
- dirtyTreeDigest?: string | undefined;
1440
- };
1441
- } | undefined;
1442
- edge?: {
1443
- manifest: {
1444
- manifest_version: 3 | 2;
1445
- name: string;
1446
- version: string;
1447
- } & {
1448
- [k: string]: unknown;
1449
- };
1450
- provenance: {
1451
- source: "local" | "agent";
1452
- observedAt: string;
1453
- toolVersion: string;
1454
- branch?: string | undefined;
1455
- commit?: string | undefined;
1456
- dirtyTreeDigest?: string | undefined;
1457
- };
1458
- } | undefined;
1459
- } | undefined;
1460
- builtManifests?: {
1461
- chrome?: {
1462
- manifest: {
1463
- manifest_version: 3 | 2;
1464
- name: string;
1465
- version: string;
1466
- } & {
1467
- [k: string]: unknown;
1468
- };
1469
- provenance: {
1470
- source: "local" | "agent";
1471
- observedAt: string;
1472
- toolVersion: string;
1473
- branch?: string | undefined;
1474
- commit?: string | undefined;
1475
- dirtyTreeDigest?: string | undefined;
1476
- };
1477
- } | undefined;
1478
- firefox?: {
1479
- manifest: {
1480
- manifest_version: 3 | 2;
1481
- name: string;
1482
- version: string;
1483
- } & {
1484
- [k: string]: unknown;
1485
- };
1486
- provenance: {
1487
- source: "local" | "agent";
1488
- observedAt: string;
1489
- toolVersion: string;
1490
- branch?: string | undefined;
1491
- commit?: string | undefined;
1492
- dirtyTreeDigest?: string | undefined;
1493
- };
1494
- } | undefined;
1495
- edge?: {
1496
- manifest: {
1497
- manifest_version: 3 | 2;
1498
- name: string;
1499
- version: string;
1500
- } & {
1501
- [k: string]: unknown;
1502
- };
1503
- provenance: {
1504
- source: "local" | "agent";
1505
- observedAt: string;
1506
- toolVersion: string;
1507
- branch?: string | undefined;
1508
- commit?: string | undefined;
1509
- dirtyTreeDigest?: string | undefined;
1510
- };
1511
- } | undefined;
1512
- } | undefined;
1513
- spec?: {
1514
- excludedFeatures: string[];
1515
- targetLocales: string[];
1516
- tasks: {
1517
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1518
- id: string;
1519
- assignee: string;
1520
- reason: string;
1521
- }[];
1522
- } | undefined;
1523
- release?: {
1524
- version: string;
1525
- browser: "chrome" | "firefox" | "edge";
1526
- artifactDigest: string;
1527
- locales: string[];
1528
- manifestDigest: string;
1529
- paymentRequired: boolean;
1530
- commit?: string | undefined;
1531
- dirtyTreeDigest?: string | undefined;
1532
- sourceManifestDigest?: string | undefined;
1533
- listingDigest?: string | undefined;
1534
- policyDigest?: string | undefined;
1535
- paymentDigest?: string | undefined;
1536
- } | undefined;
1537
- };
1538
- tombstones?: string[] | undefined;
1539
- }>;
1540
- export type WorkspacePatch = z.infer<typeof workspacePatchSchema>;
1541
- export type WorkspaceDocument = WorkspacePatch['patch'];
1542
- export declare const importManifestSchema: z.ZodEffects<z.ZodObject<{
1543
- projectId: z.ZodString;
1544
- schemaVersion: z.ZodLiteral<1>;
1545
- expectedRevision: z.ZodNumber;
1546
- idempotencyKey: z.ZodString;
1547
- provenance: z.ZodObject<{
1548
- source: z.ZodEnum<["local", "agent"]>;
1549
- observedAt: z.ZodString;
1550
- branch: z.ZodOptional<z.ZodString>;
1551
- commit: z.ZodOptional<z.ZodString>;
1552
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
1553
- toolVersion: z.ZodString;
1554
- }, "strict", z.ZodTypeAny, {
1555
- source: "local" | "agent";
1556
- observedAt: string;
1557
- toolVersion: string;
1558
- branch?: string | undefined;
1559
- commit?: string | undefined;
1560
- dirtyTreeDigest?: string | undefined;
1561
- }, {
1562
- source: "local" | "agent";
1563
- observedAt: string;
1564
- toolVersion: string;
1565
- branch?: string | undefined;
1566
- commit?: string | undefined;
1567
- dirtyTreeDigest?: string | undefined;
1568
- }>;
1569
- browser: z.ZodEnum<["chrome", "firefox", "edge"]>;
1570
- kind: z.ZodDefault<z.ZodEnum<["source", "built"]>>;
1571
- manifest: z.ZodEffects<z.ZodObject<{
1572
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1573
- name: z.ZodString;
1574
- version: z.ZodString;
1575
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1576
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1577
- name: z.ZodString;
1578
- version: z.ZodString;
1579
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1580
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1581
- name: z.ZodString;
1582
- version: z.ZodString;
1583
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
1584
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1585
- name: z.ZodString;
1586
- version: z.ZodString;
1587
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1588
- manifest_version: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1589
- name: z.ZodString;
1590
- version: z.ZodString;
1591
- }, z.ZodTypeAny, "passthrough">>;
1592
- /** Default-locale messages resolve project labels; the original __MSG_*__ tokens stay intact. */
1593
- messages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1594
- message: z.ZodString;
1595
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1596
- message: z.ZodString;
1597
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1598
- message: z.ZodString;
1599
- }, z.ZodTypeAny, "passthrough">>>>;
1600
- tombstones: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1601
- dryRun: z.ZodDefault<z.ZodBoolean>;
1602
- expectedStateHash: z.ZodOptional<z.ZodString>;
1603
- }, "strict", z.ZodTypeAny, {
1604
- manifest: {
1605
- manifest_version: 3 | 2;
1606
- name: string;
1607
- version: string;
1608
- } & {
1609
- [k: string]: unknown;
1610
- };
1611
- provenance: {
1612
- source: "local" | "agent";
1613
- observedAt: string;
1614
- toolVersion: string;
1615
- branch?: string | undefined;
1616
- commit?: string | undefined;
1617
- dirtyTreeDigest?: string | undefined;
1618
- };
1619
- browser: "chrome" | "firefox" | "edge";
1620
- projectId: string;
1621
- schemaVersion: 1;
1622
- expectedRevision: number;
1623
- idempotencyKey: string;
1624
- tombstones: string[];
1625
- kind: "source" | "built";
1626
- dryRun: boolean;
1627
- messages?: Record<string, z.objectOutputType<{
1628
- message: z.ZodString;
1629
- }, z.ZodTypeAny, "passthrough">> | undefined;
1630
- expectedStateHash?: string | undefined;
1631
- }, {
1632
- manifest: {
1633
- manifest_version: 3 | 2;
1634
- name: string;
1635
- version: string;
1636
- } & {
1637
- [k: string]: unknown;
1638
- };
1639
- provenance: {
1640
- source: "local" | "agent";
1641
- observedAt: string;
1642
- toolVersion: string;
1643
- branch?: string | undefined;
1644
- commit?: string | undefined;
1645
- dirtyTreeDigest?: string | undefined;
1646
- };
1647
- browser: "chrome" | "firefox" | "edge";
1648
- projectId: string;
1649
- schemaVersion: 1;
1650
- expectedRevision: number;
1651
- idempotencyKey: string;
1652
- tombstones?: string[] | undefined;
1653
- kind?: "source" | "built" | undefined;
1654
- messages?: Record<string, z.objectInputType<{
1655
- message: z.ZodString;
1656
- }, z.ZodTypeAny, "passthrough">> | undefined;
1657
- dryRun?: boolean | undefined;
1658
- expectedStateHash?: string | undefined;
1659
- }>, {
1660
- manifest: {
1661
- manifest_version: 3 | 2;
1662
- name: string;
1663
- version: string;
1664
- } & {
1665
- [k: string]: unknown;
1666
- };
1667
- provenance: {
1668
- source: "local" | "agent";
1669
- observedAt: string;
1670
- toolVersion: string;
1671
- branch?: string | undefined;
1672
- commit?: string | undefined;
1673
- dirtyTreeDigest?: string | undefined;
1674
- };
1675
- browser: "chrome" | "firefox" | "edge";
1676
- projectId: string;
1677
- schemaVersion: 1;
1678
- expectedRevision: number;
1679
- idempotencyKey: string;
1680
- tombstones: string[];
1681
- kind: "source" | "built";
1682
- dryRun: boolean;
1683
- messages?: Record<string, z.objectOutputType<{
1684
- message: z.ZodString;
1685
- }, z.ZodTypeAny, "passthrough">> | undefined;
1686
- expectedStateHash?: string | undefined;
1687
- }, {
1688
- manifest: {
1689
- manifest_version: 3 | 2;
1690
- name: string;
1691
- version: string;
1692
- } & {
1693
- [k: string]: unknown;
1694
- };
1695
- provenance: {
1696
- source: "local" | "agent";
1697
- observedAt: string;
1698
- toolVersion: string;
1699
- branch?: string | undefined;
1700
- commit?: string | undefined;
1701
- dirtyTreeDigest?: string | undefined;
1702
- };
1703
- browser: "chrome" | "firefox" | "edge";
1704
- projectId: string;
1705
- schemaVersion: 1;
1706
- expectedRevision: number;
1707
- idempotencyKey: string;
1708
- tombstones?: string[] | undefined;
1709
- kind?: "source" | "built" | undefined;
1710
- messages?: Record<string, z.objectInputType<{
1711
- message: z.ZodString;
1712
- }, z.ZodTypeAny, "passthrough">> | undefined;
1713
- dryRun?: boolean | undefined;
1714
- expectedStateHash?: string | undefined;
1715
- }>;
1716
- export type ManifestImport = z.infer<typeof importManifestSchema>;
1717
- export declare const evidenceSchema: z.ZodObject<{
1718
- projectId: z.ZodString;
1719
- idempotencyKey: z.ZodString;
1720
- kind: z.ZodEnum<["tests", "scan", "permissions", "privacy", "listing", "screenshots", "payment", "installed"]>;
1721
- browser: z.ZodEnum<["chrome", "firefox", "edge"]>;
1722
- locale: z.ZodOptional<z.ZodString>;
1723
- artifactDigest: z.ZodString;
1724
- inputDigest: z.ZodString;
1725
- status: z.ZodEnum<["passed", "failed"]>;
1726
- provenance: z.ZodObject<{
1727
- source: z.ZodEnum<["local", "agent"]>;
1728
- observedAt: z.ZodString;
1729
- branch: z.ZodOptional<z.ZodString>;
1730
- commit: z.ZodOptional<z.ZodString>;
1731
- dirtyTreeDigest: z.ZodOptional<z.ZodString>;
1732
- toolVersion: z.ZodString;
1733
- }, "strict", z.ZodTypeAny, {
1734
- source: "local" | "agent";
1735
- observedAt: string;
1736
- toolVersion: string;
1737
- branch?: string | undefined;
1738
- commit?: string | undefined;
1739
- dirtyTreeDigest?: string | undefined;
1740
- }, {
1741
- source: "local" | "agent";
1742
- observedAt: string;
1743
- toolVersion: string;
1744
- branch?: string | undefined;
1745
- commit?: string | undefined;
1746
- dirtyTreeDigest?: string | undefined;
1747
- }>;
1748
- reportUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1749
- }, "strict", z.ZodTypeAny, {
1750
- status: "passed" | "failed";
1751
- provenance: {
1752
- source: "local" | "agent";
1753
- observedAt: string;
1754
- toolVersion: string;
1755
- branch?: string | undefined;
1756
- commit?: string | undefined;
1757
- dirtyTreeDigest?: string | undefined;
1758
- };
1759
- browser: "chrome" | "firefox" | "edge";
1760
- artifactDigest: string;
1761
- projectId: string;
1762
- idempotencyKey: string;
1763
- kind: "tests" | "scan" | "permissions" | "privacy" | "listing" | "screenshots" | "payment" | "installed";
1764
- inputDigest: string;
1765
- locale?: string | undefined;
1766
- reportUrl?: string | undefined;
1767
- }, {
1768
- status: "passed" | "failed";
1769
- provenance: {
1770
- source: "local" | "agent";
1771
- observedAt: string;
1772
- toolVersion: string;
1773
- branch?: string | undefined;
1774
- commit?: string | undefined;
1775
- dirtyTreeDigest?: string | undefined;
1776
- };
1777
- browser: "chrome" | "firefox" | "edge";
1778
- artifactDigest: string;
1779
- projectId: string;
1780
- idempotencyKey: string;
1781
- kind: "tests" | "scan" | "permissions" | "privacy" | "listing" | "screenshots" | "payment" | "installed";
1782
- inputDigest: string;
1783
- locale?: string | undefined;
1784
- reportUrl?: string | undefined;
1785
- }>;
1786
- export type Evidence = z.infer<typeof evidenceSchema> & {
1787
- id: string;
1788
- recordedAt: string;
1789
- };
1790
- export declare function stableJson(value: unknown): string;
1791
- export declare const hashMetadata: (value: unknown) => string;
1792
- /** Server-held base revision makes three-way conflict detection authoritative. Arrays are atomic. */
1793
- export declare function mergeWorkspace(base: WorkspaceDocument, current: WorkspaceDocument, input: WorkspacePatch): {
1794
- document: {
1795
- repository?: {
1796
- repo: string;
1797
- defaultBranch: string;
1798
- } | undefined;
1799
- sourceManifests?: {
1800
- chrome?: {
1801
- manifest: {
1802
- manifest_version: 3 | 2;
1803
- name: string;
1804
- version: string;
1805
- } & {
1806
- [k: string]: unknown;
1807
- };
1808
- provenance: {
1809
- source: "local" | "agent";
1810
- observedAt: string;
1811
- toolVersion: string;
1812
- branch?: string | undefined;
1813
- commit?: string | undefined;
1814
- dirtyTreeDigest?: string | undefined;
1815
- };
1816
- } | undefined;
1817
- firefox?: {
1818
- manifest: {
1819
- manifest_version: 3 | 2;
1820
- name: string;
1821
- version: string;
1822
- } & {
1823
- [k: string]: unknown;
1824
- };
1825
- provenance: {
1826
- source: "local" | "agent";
1827
- observedAt: string;
1828
- toolVersion: string;
1829
- branch?: string | undefined;
1830
- commit?: string | undefined;
1831
- dirtyTreeDigest?: string | undefined;
1832
- };
1833
- } | undefined;
1834
- edge?: {
1835
- manifest: {
1836
- manifest_version: 3 | 2;
1837
- name: string;
1838
- version: string;
1839
- } & {
1840
- [k: string]: unknown;
1841
- };
1842
- provenance: {
1843
- source: "local" | "agent";
1844
- observedAt: string;
1845
- toolVersion: string;
1846
- branch?: string | undefined;
1847
- commit?: string | undefined;
1848
- dirtyTreeDigest?: string | undefined;
1849
- };
1850
- } | undefined;
1851
- } | undefined;
1852
- builtManifests?: {
1853
- chrome?: {
1854
- manifest: {
1855
- manifest_version: 3 | 2;
1856
- name: string;
1857
- version: string;
1858
- } & {
1859
- [k: string]: unknown;
1860
- };
1861
- provenance: {
1862
- source: "local" | "agent";
1863
- observedAt: string;
1864
- toolVersion: string;
1865
- branch?: string | undefined;
1866
- commit?: string | undefined;
1867
- dirtyTreeDigest?: string | undefined;
1868
- };
1869
- } | undefined;
1870
- firefox?: {
1871
- manifest: {
1872
- manifest_version: 3 | 2;
1873
- name: string;
1874
- version: string;
1875
- } & {
1876
- [k: string]: unknown;
1877
- };
1878
- provenance: {
1879
- source: "local" | "agent";
1880
- observedAt: string;
1881
- toolVersion: string;
1882
- branch?: string | undefined;
1883
- commit?: string | undefined;
1884
- dirtyTreeDigest?: string | undefined;
1885
- };
1886
- } | undefined;
1887
- edge?: {
1888
- manifest: {
1889
- manifest_version: 3 | 2;
1890
- name: string;
1891
- version: string;
1892
- } & {
1893
- [k: string]: unknown;
1894
- };
1895
- provenance: {
1896
- source: "local" | "agent";
1897
- observedAt: string;
1898
- toolVersion: string;
1899
- branch?: string | undefined;
1900
- commit?: string | undefined;
1901
- dirtyTreeDigest?: string | undefined;
1902
- };
1903
- } | undefined;
1904
- } | undefined;
1905
- spec?: {
1906
- excludedFeatures: string[];
1907
- targetLocales: string[];
1908
- tasks: {
1909
- status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1910
- id: string;
1911
- assignee: string;
1912
- reason: string;
1913
- }[];
1914
- } | undefined;
1915
- release?: {
1916
- version: string;
1917
- browser: "chrome" | "firefox" | "edge";
1918
- artifactDigest: string;
1919
- locales: string[];
1920
- manifestDigest: string;
1921
- paymentRequired: boolean;
1922
- commit?: string | undefined;
1923
- dirtyTreeDigest?: string | undefined;
1924
- sourceManifestDigest?: string | undefined;
1925
- listingDigest?: string | undefined;
1926
- policyDigest?: string | undefined;
1927
- paymentDigest?: string | undefined;
1928
- } | undefined;
1929
- };
1930
- applied: string[];
1931
- conflicts: {
1932
- path: string;
1933
- base: unknown;
1934
- local: unknown;
1935
- server: unknown;
1936
- }[];
1937
- };
1938
- /** Evidence is a caller report, never an agent-issued CI attestation. */
1939
- export declare function releaseReadiness(document: WorkspaceDocument, evidence: Evidence[]): {
1940
- ready: boolean;
1941
- basis: string;
1942
- ciVerified: boolean;
1943
- blockers: string[];
1944
- checks: never[];
1945
- nextActions: string[];
1946
- release?: undefined;
1947
- } | {
1948
- ready: boolean;
1949
- basis: string;
1950
- ciVerified: boolean;
1951
- release: {
1952
- version: string;
1953
- browser: "chrome" | "firefox" | "edge";
1954
- artifactDigest: string;
1955
- locales: string[];
1956
- manifestDigest: string;
1957
- paymentRequired: boolean;
1958
- commit?: string | undefined;
1959
- dirtyTreeDigest?: string | undefined;
1960
- sourceManifestDigest?: string | undefined;
1961
- listingDigest?: string | undefined;
1962
- policyDigest?: string | undefined;
1963
- paymentDigest?: string | undefined;
1964
- };
1965
- checks: {
1966
- kind: string;
1967
- locale: string | null;
1968
- verification: "passed" | "failed";
1969
- evidenceId: string;
1970
- source: "local" | "agent";
1971
- ciVerified: boolean;
1972
- }[];
1973
- blockers: string[];
1974
- nextActions: string[];
1975
- };
1976
- //# sourceMappingURL=project-workspace.d.ts.map