@extenshi/cli 0.16.0 → 0.18.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,1976 @@
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
+ locales: string[];
63
+ browser: "chrome" | "firefox" | "edge";
64
+ artifactDigest: 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
+ locales: string[];
76
+ browser: "chrome" | "firefox" | "edge";
77
+ artifactDigest: 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
+ locales: string[];
89
+ browser: "chrome" | "firefox" | "edge";
90
+ artifactDigest: 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
+ locales: string[];
102
+ browser: "chrome" | "firefox" | "edge";
103
+ artifactDigest: 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
+ id: string;
123
+ reason: string;
124
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
125
+ assignee: string;
126
+ }, {
127
+ id: string;
128
+ reason: string;
129
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
130
+ assignee: string;
131
+ }>, "many">;
132
+ }, "strict", z.ZodTypeAny, {
133
+ excludedFeatures: string[];
134
+ targetLocales: string[];
135
+ tasks: {
136
+ id: string;
137
+ reason: string;
138
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
139
+ assignee: string;
140
+ }[];
141
+ }, {
142
+ excludedFeatures: string[];
143
+ targetLocales: string[];
144
+ tasks: {
145
+ id: string;
146
+ reason: string;
147
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
148
+ assignee: 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
+ name: string;
237
+ manifest_version: 2 | 3;
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
+ name: string;
253
+ manifest_version: 2 | 3;
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
+ name: string;
314
+ manifest_version: 2 | 3;
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
+ name: string;
330
+ manifest_version: 2 | 3;
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
+ name: string;
391
+ manifest_version: 2 | 3;
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
+ name: string;
407
+ manifest_version: 2 | 3;
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
+ name: string;
425
+ manifest_version: 2 | 3;
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
+ name: string;
442
+ manifest_version: 2 | 3;
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
+ name: string;
459
+ manifest_version: 2 | 3;
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
+ name: string;
477
+ manifest_version: 2 | 3;
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
+ name: string;
494
+ manifest_version: 2 | 3;
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
+ name: string;
511
+ manifest_version: 2 | 3;
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
+ name: string;
574
+ manifest_version: 2 | 3;
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
+ name: string;
590
+ manifest_version: 2 | 3;
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
+ name: string;
651
+ manifest_version: 2 | 3;
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
+ name: string;
667
+ manifest_version: 2 | 3;
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
+ name: string;
728
+ manifest_version: 2 | 3;
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
+ name: string;
744
+ manifest_version: 2 | 3;
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
+ name: string;
762
+ manifest_version: 2 | 3;
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
+ name: string;
779
+ manifest_version: 2 | 3;
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
+ name: string;
796
+ manifest_version: 2 | 3;
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
+ name: string;
814
+ manifest_version: 2 | 3;
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
+ name: string;
831
+ manifest_version: 2 | 3;
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
+ name: string;
848
+ manifest_version: 2 | 3;
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
+ id: string;
873
+ reason: string;
874
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
875
+ assignee: string;
876
+ }, {
877
+ id: string;
878
+ reason: string;
879
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
880
+ assignee: string;
881
+ }>, "many">;
882
+ }, "strict", z.ZodTypeAny, {
883
+ excludedFeatures: string[];
884
+ targetLocales: string[];
885
+ tasks: {
886
+ id: string;
887
+ reason: string;
888
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
889
+ assignee: string;
890
+ }[];
891
+ }, {
892
+ excludedFeatures: string[];
893
+ targetLocales: string[];
894
+ tasks: {
895
+ id: string;
896
+ reason: string;
897
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
898
+ assignee: 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
+ locales: string[];
917
+ browser: "chrome" | "firefox" | "edge";
918
+ artifactDigest: 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
+ locales: string[];
930
+ browser: "chrome" | "firefox" | "edge";
931
+ artifactDigest: 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
+ locales: string[];
943
+ browser: "chrome" | "firefox" | "edge";
944
+ artifactDigest: 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
+ locales: string[];
956
+ browser: "chrome" | "firefox" | "edge";
957
+ artifactDigest: 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
+ release?: {
969
+ version: string;
970
+ locales: string[];
971
+ browser: "chrome" | "firefox" | "edge";
972
+ artifactDigest: string;
973
+ manifestDigest: string;
974
+ paymentRequired: boolean;
975
+ commit?: string | undefined;
976
+ dirtyTreeDigest?: string | undefined;
977
+ sourceManifestDigest?: string | undefined;
978
+ listingDigest?: string | undefined;
979
+ policyDigest?: string | undefined;
980
+ paymentDigest?: string | undefined;
981
+ } | undefined;
982
+ repository?: {
983
+ repo: string;
984
+ defaultBranch: string;
985
+ } | undefined;
986
+ sourceManifests?: {
987
+ chrome?: {
988
+ manifest: {
989
+ name: string;
990
+ manifest_version: 2 | 3;
991
+ version: string;
992
+ } & {
993
+ [k: string]: unknown;
994
+ };
995
+ provenance: {
996
+ source: "local" | "agent";
997
+ observedAt: string;
998
+ toolVersion: string;
999
+ branch?: string | undefined;
1000
+ commit?: string | undefined;
1001
+ dirtyTreeDigest?: string | undefined;
1002
+ };
1003
+ } | undefined;
1004
+ firefox?: {
1005
+ manifest: {
1006
+ name: string;
1007
+ manifest_version: 2 | 3;
1008
+ version: string;
1009
+ } & {
1010
+ [k: string]: unknown;
1011
+ };
1012
+ provenance: {
1013
+ source: "local" | "agent";
1014
+ observedAt: string;
1015
+ toolVersion: string;
1016
+ branch?: string | undefined;
1017
+ commit?: string | undefined;
1018
+ dirtyTreeDigest?: string | undefined;
1019
+ };
1020
+ } | undefined;
1021
+ edge?: {
1022
+ manifest: {
1023
+ name: string;
1024
+ manifest_version: 2 | 3;
1025
+ version: string;
1026
+ } & {
1027
+ [k: string]: unknown;
1028
+ };
1029
+ provenance: {
1030
+ source: "local" | "agent";
1031
+ observedAt: string;
1032
+ toolVersion: string;
1033
+ branch?: string | undefined;
1034
+ commit?: string | undefined;
1035
+ dirtyTreeDigest?: string | undefined;
1036
+ };
1037
+ } | undefined;
1038
+ } | undefined;
1039
+ builtManifests?: {
1040
+ chrome?: {
1041
+ manifest: {
1042
+ name: string;
1043
+ manifest_version: 2 | 3;
1044
+ version: string;
1045
+ } & {
1046
+ [k: string]: unknown;
1047
+ };
1048
+ provenance: {
1049
+ source: "local" | "agent";
1050
+ observedAt: string;
1051
+ toolVersion: string;
1052
+ branch?: string | undefined;
1053
+ commit?: string | undefined;
1054
+ dirtyTreeDigest?: string | undefined;
1055
+ };
1056
+ } | undefined;
1057
+ firefox?: {
1058
+ manifest: {
1059
+ name: string;
1060
+ manifest_version: 2 | 3;
1061
+ version: string;
1062
+ } & {
1063
+ [k: string]: unknown;
1064
+ };
1065
+ provenance: {
1066
+ source: "local" | "agent";
1067
+ observedAt: string;
1068
+ toolVersion: string;
1069
+ branch?: string | undefined;
1070
+ commit?: string | undefined;
1071
+ dirtyTreeDigest?: string | undefined;
1072
+ };
1073
+ } | undefined;
1074
+ edge?: {
1075
+ manifest: {
1076
+ name: string;
1077
+ manifest_version: 2 | 3;
1078
+ version: string;
1079
+ } & {
1080
+ [k: string]: unknown;
1081
+ };
1082
+ provenance: {
1083
+ source: "local" | "agent";
1084
+ observedAt: string;
1085
+ toolVersion: string;
1086
+ branch?: string | undefined;
1087
+ commit?: string | undefined;
1088
+ dirtyTreeDigest?: string | undefined;
1089
+ };
1090
+ } | undefined;
1091
+ } | undefined;
1092
+ spec?: {
1093
+ excludedFeatures: string[];
1094
+ targetLocales: string[];
1095
+ tasks: {
1096
+ id: string;
1097
+ reason: string;
1098
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1099
+ assignee: string;
1100
+ }[];
1101
+ } | undefined;
1102
+ }, {
1103
+ release?: {
1104
+ version: string;
1105
+ locales: string[];
1106
+ browser: "chrome" | "firefox" | "edge";
1107
+ artifactDigest: string;
1108
+ manifestDigest: string;
1109
+ paymentRequired: boolean;
1110
+ commit?: string | undefined;
1111
+ dirtyTreeDigest?: string | undefined;
1112
+ sourceManifestDigest?: string | undefined;
1113
+ listingDigest?: string | undefined;
1114
+ policyDigest?: string | undefined;
1115
+ paymentDigest?: string | undefined;
1116
+ } | undefined;
1117
+ repository?: {
1118
+ repo: string;
1119
+ defaultBranch: string;
1120
+ } | undefined;
1121
+ sourceManifests?: {
1122
+ chrome?: {
1123
+ manifest: {
1124
+ name: string;
1125
+ manifest_version: 2 | 3;
1126
+ version: string;
1127
+ } & {
1128
+ [k: string]: unknown;
1129
+ };
1130
+ provenance: {
1131
+ source: "local" | "agent";
1132
+ observedAt: string;
1133
+ toolVersion: string;
1134
+ branch?: string | undefined;
1135
+ commit?: string | undefined;
1136
+ dirtyTreeDigest?: string | undefined;
1137
+ };
1138
+ } | undefined;
1139
+ firefox?: {
1140
+ manifest: {
1141
+ name: string;
1142
+ manifest_version: 2 | 3;
1143
+ version: string;
1144
+ } & {
1145
+ [k: string]: unknown;
1146
+ };
1147
+ provenance: {
1148
+ source: "local" | "agent";
1149
+ observedAt: string;
1150
+ toolVersion: string;
1151
+ branch?: string | undefined;
1152
+ commit?: string | undefined;
1153
+ dirtyTreeDigest?: string | undefined;
1154
+ };
1155
+ } | undefined;
1156
+ edge?: {
1157
+ manifest: {
1158
+ name: string;
1159
+ manifest_version: 2 | 3;
1160
+ version: string;
1161
+ } & {
1162
+ [k: string]: unknown;
1163
+ };
1164
+ provenance: {
1165
+ source: "local" | "agent";
1166
+ observedAt: string;
1167
+ toolVersion: string;
1168
+ branch?: string | undefined;
1169
+ commit?: string | undefined;
1170
+ dirtyTreeDigest?: string | undefined;
1171
+ };
1172
+ } | undefined;
1173
+ } | undefined;
1174
+ builtManifests?: {
1175
+ chrome?: {
1176
+ manifest: {
1177
+ name: string;
1178
+ manifest_version: 2 | 3;
1179
+ version: string;
1180
+ } & {
1181
+ [k: string]: unknown;
1182
+ };
1183
+ provenance: {
1184
+ source: "local" | "agent";
1185
+ observedAt: string;
1186
+ toolVersion: string;
1187
+ branch?: string | undefined;
1188
+ commit?: string | undefined;
1189
+ dirtyTreeDigest?: string | undefined;
1190
+ };
1191
+ } | undefined;
1192
+ firefox?: {
1193
+ manifest: {
1194
+ name: string;
1195
+ manifest_version: 2 | 3;
1196
+ version: string;
1197
+ } & {
1198
+ [k: string]: unknown;
1199
+ };
1200
+ provenance: {
1201
+ source: "local" | "agent";
1202
+ observedAt: string;
1203
+ toolVersion: string;
1204
+ branch?: string | undefined;
1205
+ commit?: string | undefined;
1206
+ dirtyTreeDigest?: string | undefined;
1207
+ };
1208
+ } | undefined;
1209
+ edge?: {
1210
+ manifest: {
1211
+ name: string;
1212
+ manifest_version: 2 | 3;
1213
+ version: string;
1214
+ } & {
1215
+ [k: string]: unknown;
1216
+ };
1217
+ provenance: {
1218
+ source: "local" | "agent";
1219
+ observedAt: string;
1220
+ toolVersion: string;
1221
+ branch?: string | undefined;
1222
+ commit?: string | undefined;
1223
+ dirtyTreeDigest?: string | undefined;
1224
+ };
1225
+ } | undefined;
1226
+ } | undefined;
1227
+ spec?: {
1228
+ excludedFeatures: string[];
1229
+ targetLocales: string[];
1230
+ tasks: {
1231
+ id: string;
1232
+ reason: string;
1233
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1234
+ assignee: string;
1235
+ }[];
1236
+ } | undefined;
1237
+ }>;
1238
+ tombstones: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1239
+ }, "strict", z.ZodTypeAny, {
1240
+ patch: {
1241
+ release?: {
1242
+ version: string;
1243
+ locales: string[];
1244
+ browser: "chrome" | "firefox" | "edge";
1245
+ artifactDigest: string;
1246
+ manifestDigest: string;
1247
+ paymentRequired: boolean;
1248
+ commit?: string | undefined;
1249
+ dirtyTreeDigest?: string | undefined;
1250
+ sourceManifestDigest?: string | undefined;
1251
+ listingDigest?: string | undefined;
1252
+ policyDigest?: string | undefined;
1253
+ paymentDigest?: string | undefined;
1254
+ } | undefined;
1255
+ repository?: {
1256
+ repo: string;
1257
+ defaultBranch: string;
1258
+ } | undefined;
1259
+ sourceManifests?: {
1260
+ chrome?: {
1261
+ manifest: {
1262
+ name: string;
1263
+ manifest_version: 2 | 3;
1264
+ version: string;
1265
+ } & {
1266
+ [k: string]: unknown;
1267
+ };
1268
+ provenance: {
1269
+ source: "local" | "agent";
1270
+ observedAt: string;
1271
+ toolVersion: string;
1272
+ branch?: string | undefined;
1273
+ commit?: string | undefined;
1274
+ dirtyTreeDigest?: string | undefined;
1275
+ };
1276
+ } | undefined;
1277
+ firefox?: {
1278
+ manifest: {
1279
+ name: string;
1280
+ manifest_version: 2 | 3;
1281
+ version: string;
1282
+ } & {
1283
+ [k: string]: unknown;
1284
+ };
1285
+ provenance: {
1286
+ source: "local" | "agent";
1287
+ observedAt: string;
1288
+ toolVersion: string;
1289
+ branch?: string | undefined;
1290
+ commit?: string | undefined;
1291
+ dirtyTreeDigest?: string | undefined;
1292
+ };
1293
+ } | undefined;
1294
+ edge?: {
1295
+ manifest: {
1296
+ name: string;
1297
+ manifest_version: 2 | 3;
1298
+ version: string;
1299
+ } & {
1300
+ [k: string]: unknown;
1301
+ };
1302
+ provenance: {
1303
+ source: "local" | "agent";
1304
+ observedAt: string;
1305
+ toolVersion: string;
1306
+ branch?: string | undefined;
1307
+ commit?: string | undefined;
1308
+ dirtyTreeDigest?: string | undefined;
1309
+ };
1310
+ } | undefined;
1311
+ } | undefined;
1312
+ builtManifests?: {
1313
+ chrome?: {
1314
+ manifest: {
1315
+ name: string;
1316
+ manifest_version: 2 | 3;
1317
+ version: string;
1318
+ } & {
1319
+ [k: string]: unknown;
1320
+ };
1321
+ provenance: {
1322
+ source: "local" | "agent";
1323
+ observedAt: string;
1324
+ toolVersion: string;
1325
+ branch?: string | undefined;
1326
+ commit?: string | undefined;
1327
+ dirtyTreeDigest?: string | undefined;
1328
+ };
1329
+ } | undefined;
1330
+ firefox?: {
1331
+ manifest: {
1332
+ name: string;
1333
+ manifest_version: 2 | 3;
1334
+ version: string;
1335
+ } & {
1336
+ [k: string]: unknown;
1337
+ };
1338
+ provenance: {
1339
+ source: "local" | "agent";
1340
+ observedAt: string;
1341
+ toolVersion: string;
1342
+ branch?: string | undefined;
1343
+ commit?: string | undefined;
1344
+ dirtyTreeDigest?: string | undefined;
1345
+ };
1346
+ } | undefined;
1347
+ edge?: {
1348
+ manifest: {
1349
+ name: string;
1350
+ manifest_version: 2 | 3;
1351
+ version: string;
1352
+ } & {
1353
+ [k: string]: unknown;
1354
+ };
1355
+ provenance: {
1356
+ source: "local" | "agent";
1357
+ observedAt: string;
1358
+ toolVersion: string;
1359
+ branch?: string | undefined;
1360
+ commit?: string | undefined;
1361
+ dirtyTreeDigest?: string | undefined;
1362
+ };
1363
+ } | undefined;
1364
+ } | undefined;
1365
+ spec?: {
1366
+ excludedFeatures: string[];
1367
+ targetLocales: string[];
1368
+ tasks: {
1369
+ id: string;
1370
+ reason: string;
1371
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1372
+ assignee: string;
1373
+ }[];
1374
+ } | undefined;
1375
+ };
1376
+ provenance: {
1377
+ source: "local" | "agent";
1378
+ observedAt: string;
1379
+ toolVersion: string;
1380
+ branch?: string | undefined;
1381
+ commit?: string | undefined;
1382
+ dirtyTreeDigest?: string | undefined;
1383
+ };
1384
+ projectId: string;
1385
+ schemaVersion: 1;
1386
+ expectedRevision: number;
1387
+ idempotencyKey: string;
1388
+ tombstones: string[];
1389
+ }, {
1390
+ patch: {
1391
+ release?: {
1392
+ version: string;
1393
+ locales: string[];
1394
+ browser: "chrome" | "firefox" | "edge";
1395
+ artifactDigest: string;
1396
+ manifestDigest: string;
1397
+ paymentRequired: boolean;
1398
+ commit?: string | undefined;
1399
+ dirtyTreeDigest?: string | undefined;
1400
+ sourceManifestDigest?: string | undefined;
1401
+ listingDigest?: string | undefined;
1402
+ policyDigest?: string | undefined;
1403
+ paymentDigest?: string | undefined;
1404
+ } | undefined;
1405
+ repository?: {
1406
+ repo: string;
1407
+ defaultBranch: string;
1408
+ } | undefined;
1409
+ sourceManifests?: {
1410
+ chrome?: {
1411
+ manifest: {
1412
+ name: string;
1413
+ manifest_version: 2 | 3;
1414
+ version: string;
1415
+ } & {
1416
+ [k: string]: unknown;
1417
+ };
1418
+ provenance: {
1419
+ source: "local" | "agent";
1420
+ observedAt: string;
1421
+ toolVersion: string;
1422
+ branch?: string | undefined;
1423
+ commit?: string | undefined;
1424
+ dirtyTreeDigest?: string | undefined;
1425
+ };
1426
+ } | undefined;
1427
+ firefox?: {
1428
+ manifest: {
1429
+ name: string;
1430
+ manifest_version: 2 | 3;
1431
+ version: string;
1432
+ } & {
1433
+ [k: string]: unknown;
1434
+ };
1435
+ provenance: {
1436
+ source: "local" | "agent";
1437
+ observedAt: string;
1438
+ toolVersion: string;
1439
+ branch?: string | undefined;
1440
+ commit?: string | undefined;
1441
+ dirtyTreeDigest?: string | undefined;
1442
+ };
1443
+ } | undefined;
1444
+ edge?: {
1445
+ manifest: {
1446
+ name: string;
1447
+ manifest_version: 2 | 3;
1448
+ version: string;
1449
+ } & {
1450
+ [k: string]: unknown;
1451
+ };
1452
+ provenance: {
1453
+ source: "local" | "agent";
1454
+ observedAt: string;
1455
+ toolVersion: string;
1456
+ branch?: string | undefined;
1457
+ commit?: string | undefined;
1458
+ dirtyTreeDigest?: string | undefined;
1459
+ };
1460
+ } | undefined;
1461
+ } | undefined;
1462
+ builtManifests?: {
1463
+ chrome?: {
1464
+ manifest: {
1465
+ name: string;
1466
+ manifest_version: 2 | 3;
1467
+ version: string;
1468
+ } & {
1469
+ [k: string]: unknown;
1470
+ };
1471
+ provenance: {
1472
+ source: "local" | "agent";
1473
+ observedAt: string;
1474
+ toolVersion: string;
1475
+ branch?: string | undefined;
1476
+ commit?: string | undefined;
1477
+ dirtyTreeDigest?: string | undefined;
1478
+ };
1479
+ } | undefined;
1480
+ firefox?: {
1481
+ manifest: {
1482
+ name: string;
1483
+ manifest_version: 2 | 3;
1484
+ version: string;
1485
+ } & {
1486
+ [k: string]: unknown;
1487
+ };
1488
+ provenance: {
1489
+ source: "local" | "agent";
1490
+ observedAt: string;
1491
+ toolVersion: string;
1492
+ branch?: string | undefined;
1493
+ commit?: string | undefined;
1494
+ dirtyTreeDigest?: string | undefined;
1495
+ };
1496
+ } | undefined;
1497
+ edge?: {
1498
+ manifest: {
1499
+ name: string;
1500
+ manifest_version: 2 | 3;
1501
+ version: string;
1502
+ } & {
1503
+ [k: string]: unknown;
1504
+ };
1505
+ provenance: {
1506
+ source: "local" | "agent";
1507
+ observedAt: string;
1508
+ toolVersion: string;
1509
+ branch?: string | undefined;
1510
+ commit?: string | undefined;
1511
+ dirtyTreeDigest?: string | undefined;
1512
+ };
1513
+ } | undefined;
1514
+ } | undefined;
1515
+ spec?: {
1516
+ excludedFeatures: string[];
1517
+ targetLocales: string[];
1518
+ tasks: {
1519
+ id: string;
1520
+ reason: string;
1521
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1522
+ assignee: string;
1523
+ }[];
1524
+ } | undefined;
1525
+ };
1526
+ provenance: {
1527
+ source: "local" | "agent";
1528
+ observedAt: string;
1529
+ toolVersion: string;
1530
+ branch?: string | undefined;
1531
+ commit?: string | undefined;
1532
+ dirtyTreeDigest?: string | undefined;
1533
+ };
1534
+ projectId: string;
1535
+ schemaVersion: 1;
1536
+ expectedRevision: number;
1537
+ idempotencyKey: string;
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
+ name: string;
1606
+ manifest_version: 2 | 3;
1607
+ version: string;
1608
+ } & {
1609
+ [k: string]: unknown;
1610
+ };
1611
+ kind: "source" | "built";
1612
+ provenance: {
1613
+ source: "local" | "agent";
1614
+ observedAt: string;
1615
+ toolVersion: string;
1616
+ branch?: string | undefined;
1617
+ commit?: string | undefined;
1618
+ dirtyTreeDigest?: string | undefined;
1619
+ };
1620
+ browser: "chrome" | "firefox" | "edge";
1621
+ projectId: string;
1622
+ schemaVersion: 1;
1623
+ expectedRevision: number;
1624
+ idempotencyKey: string;
1625
+ tombstones: string[];
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
+ name: string;
1634
+ manifest_version: 2 | 3;
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
+ messages?: Record<string, z.objectInputType<{
1653
+ message: z.ZodString;
1654
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1655
+ kind?: "source" | "built" | undefined;
1656
+ tombstones?: string[] | undefined;
1657
+ dryRun?: boolean | undefined;
1658
+ expectedStateHash?: string | undefined;
1659
+ }>, {
1660
+ manifest: {
1661
+ name: string;
1662
+ manifest_version: 2 | 3;
1663
+ version: string;
1664
+ } & {
1665
+ [k: string]: unknown;
1666
+ };
1667
+ kind: "source" | "built";
1668
+ provenance: {
1669
+ source: "local" | "agent";
1670
+ observedAt: string;
1671
+ toolVersion: string;
1672
+ branch?: string | undefined;
1673
+ commit?: string | undefined;
1674
+ dirtyTreeDigest?: string | undefined;
1675
+ };
1676
+ browser: "chrome" | "firefox" | "edge";
1677
+ projectId: string;
1678
+ schemaVersion: 1;
1679
+ expectedRevision: number;
1680
+ idempotencyKey: string;
1681
+ tombstones: string[];
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
+ name: string;
1690
+ manifest_version: 2 | 3;
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
+ messages?: Record<string, z.objectInputType<{
1709
+ message: z.ZodString;
1710
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1711
+ kind?: "source" | "built" | undefined;
1712
+ tombstones?: string[] | 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: "failed" | "passed";
1751
+ kind: "permissions" | "privacy" | "tests" | "scan" | "listing" | "screenshots" | "payment" | "installed";
1752
+ provenance: {
1753
+ source: "local" | "agent";
1754
+ observedAt: string;
1755
+ toolVersion: string;
1756
+ branch?: string | undefined;
1757
+ commit?: string | undefined;
1758
+ dirtyTreeDigest?: string | undefined;
1759
+ };
1760
+ browser: "chrome" | "firefox" | "edge";
1761
+ artifactDigest: string;
1762
+ projectId: string;
1763
+ idempotencyKey: string;
1764
+ inputDigest: string;
1765
+ locale?: string | undefined;
1766
+ reportUrl?: string | undefined;
1767
+ }, {
1768
+ status: "failed" | "passed";
1769
+ kind: "permissions" | "privacy" | "tests" | "scan" | "listing" | "screenshots" | "payment" | "installed";
1770
+ provenance: {
1771
+ source: "local" | "agent";
1772
+ observedAt: string;
1773
+ toolVersion: string;
1774
+ branch?: string | undefined;
1775
+ commit?: string | undefined;
1776
+ dirtyTreeDigest?: string | undefined;
1777
+ };
1778
+ browser: "chrome" | "firefox" | "edge";
1779
+ artifactDigest: string;
1780
+ projectId: string;
1781
+ idempotencyKey: string;
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
+ release?: {
1796
+ version: string;
1797
+ locales: string[];
1798
+ browser: "chrome" | "firefox" | "edge";
1799
+ artifactDigest: string;
1800
+ manifestDigest: string;
1801
+ paymentRequired: boolean;
1802
+ commit?: string | undefined;
1803
+ dirtyTreeDigest?: string | undefined;
1804
+ sourceManifestDigest?: string | undefined;
1805
+ listingDigest?: string | undefined;
1806
+ policyDigest?: string | undefined;
1807
+ paymentDigest?: string | undefined;
1808
+ } | undefined;
1809
+ repository?: {
1810
+ repo: string;
1811
+ defaultBranch: string;
1812
+ } | undefined;
1813
+ sourceManifests?: {
1814
+ chrome?: {
1815
+ manifest: {
1816
+ name: string;
1817
+ manifest_version: 2 | 3;
1818
+ version: string;
1819
+ } & {
1820
+ [k: string]: unknown;
1821
+ };
1822
+ provenance: {
1823
+ source: "local" | "agent";
1824
+ observedAt: string;
1825
+ toolVersion: string;
1826
+ branch?: string | undefined;
1827
+ commit?: string | undefined;
1828
+ dirtyTreeDigest?: string | undefined;
1829
+ };
1830
+ } | undefined;
1831
+ firefox?: {
1832
+ manifest: {
1833
+ name: string;
1834
+ manifest_version: 2 | 3;
1835
+ version: string;
1836
+ } & {
1837
+ [k: string]: unknown;
1838
+ };
1839
+ provenance: {
1840
+ source: "local" | "agent";
1841
+ observedAt: string;
1842
+ toolVersion: string;
1843
+ branch?: string | undefined;
1844
+ commit?: string | undefined;
1845
+ dirtyTreeDigest?: string | undefined;
1846
+ };
1847
+ } | undefined;
1848
+ edge?: {
1849
+ manifest: {
1850
+ name: string;
1851
+ manifest_version: 2 | 3;
1852
+ version: string;
1853
+ } & {
1854
+ [k: string]: unknown;
1855
+ };
1856
+ provenance: {
1857
+ source: "local" | "agent";
1858
+ observedAt: string;
1859
+ toolVersion: string;
1860
+ branch?: string | undefined;
1861
+ commit?: string | undefined;
1862
+ dirtyTreeDigest?: string | undefined;
1863
+ };
1864
+ } | undefined;
1865
+ } | undefined;
1866
+ builtManifests?: {
1867
+ chrome?: {
1868
+ manifest: {
1869
+ name: string;
1870
+ manifest_version: 2 | 3;
1871
+ version: string;
1872
+ } & {
1873
+ [k: string]: unknown;
1874
+ };
1875
+ provenance: {
1876
+ source: "local" | "agent";
1877
+ observedAt: string;
1878
+ toolVersion: string;
1879
+ branch?: string | undefined;
1880
+ commit?: string | undefined;
1881
+ dirtyTreeDigest?: string | undefined;
1882
+ };
1883
+ } | undefined;
1884
+ firefox?: {
1885
+ manifest: {
1886
+ name: string;
1887
+ manifest_version: 2 | 3;
1888
+ version: string;
1889
+ } & {
1890
+ [k: string]: unknown;
1891
+ };
1892
+ provenance: {
1893
+ source: "local" | "agent";
1894
+ observedAt: string;
1895
+ toolVersion: string;
1896
+ branch?: string | undefined;
1897
+ commit?: string | undefined;
1898
+ dirtyTreeDigest?: string | undefined;
1899
+ };
1900
+ } | undefined;
1901
+ edge?: {
1902
+ manifest: {
1903
+ name: string;
1904
+ manifest_version: 2 | 3;
1905
+ version: string;
1906
+ } & {
1907
+ [k: string]: unknown;
1908
+ };
1909
+ provenance: {
1910
+ source: "local" | "agent";
1911
+ observedAt: string;
1912
+ toolVersion: string;
1913
+ branch?: string | undefined;
1914
+ commit?: string | undefined;
1915
+ dirtyTreeDigest?: string | undefined;
1916
+ };
1917
+ } | undefined;
1918
+ } | undefined;
1919
+ spec?: {
1920
+ excludedFeatures: string[];
1921
+ targetLocales: string[];
1922
+ tasks: {
1923
+ id: string;
1924
+ reason: string;
1925
+ status: "not_started" | "in_progress" | "blocked" | "completed" | "deferred" | "not_applicable";
1926
+ assignee: string;
1927
+ }[];
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
+ locales: string[];
1954
+ browser: "chrome" | "firefox" | "edge";
1955
+ artifactDigest: 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: "failed" | "passed";
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