@treeseed/sdk 0.13.0-rc.24 → 0.13.0-rc.26

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,2743 @@
1
+ import { z } from 'zod';
2
+ export declare const deploymentTrackSchema: z.ZodEnum<["stable", "development"]>;
3
+ export declare const hostComponentSchema: z.ZodObject<{
4
+ enabled: z.ZodBoolean;
5
+ track: z.ZodEnum<["stable", "development"]>;
6
+ profile: z.ZodOptional<z.ZodString>;
7
+ aliases: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
8
+ configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ enabled: boolean;
11
+ track: "stable" | "development";
12
+ aliases: Record<string, string>;
13
+ configuration: Record<string, unknown>;
14
+ profile?: string | undefined;
15
+ }, {
16
+ enabled: boolean;
17
+ track: "stable" | "development";
18
+ profile?: string | undefined;
19
+ aliases?: Record<string, string> | undefined;
20
+ configuration?: Record<string, unknown> | undefined;
21
+ }>;
22
+ export declare const hostConfigurationSchema: z.ZodObject<{
23
+ schemaVersion: z.ZodLiteral<"treeseed.host/v1">;
24
+ configurationId: z.ZodString;
25
+ generation: z.ZodNumber;
26
+ host: z.ZodObject<{
27
+ id: z.ZodString;
28
+ role: z.ZodString;
29
+ architecture: z.ZodLiteral<"amd64">;
30
+ }, "strict", z.ZodTypeAny, {
31
+ id: string;
32
+ role: string;
33
+ architecture: "amd64";
34
+ }, {
35
+ id: string;
36
+ role: string;
37
+ architecture: "amd64";
38
+ }>;
39
+ runtime: z.ZodObject<{
40
+ management: z.ZodEnum<["managed", "external"]>;
41
+ }, "strict", z.ZodTypeAny, {
42
+ management: "managed" | "external";
43
+ }, {
44
+ management: "managed" | "external";
45
+ }>;
46
+ updates: z.ZodObject<{
47
+ defaultTrack: z.ZodEnum<["stable", "development"]>;
48
+ stable: z.ZodObject<{
49
+ metadataPollSeconds: z.ZodNumber;
50
+ maintenanceWindow: z.ZodObject<{
51
+ weekday: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
52
+ localTime: z.ZodString;
53
+ jitterMinutes: z.ZodNumber;
54
+ }, "strict", z.ZodTypeAny, {
55
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
56
+ localTime: string;
57
+ jitterMinutes: number;
58
+ }, {
59
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
60
+ localTime: string;
61
+ jitterMinutes: number;
62
+ }>;
63
+ }, "strict", z.ZodTypeAny, {
64
+ metadataPollSeconds: number;
65
+ maintenanceWindow: {
66
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
67
+ localTime: string;
68
+ jitterMinutes: number;
69
+ };
70
+ }, {
71
+ metadataPollSeconds: number;
72
+ maintenanceWindow: {
73
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
74
+ localTime: string;
75
+ jitterMinutes: number;
76
+ };
77
+ }>;
78
+ development: z.ZodObject<{
79
+ pollSeconds: z.ZodLiteral<60>;
80
+ }, "strict", z.ZodTypeAny, {
81
+ pollSeconds: 60;
82
+ }, {
83
+ pollSeconds: 60;
84
+ }>;
85
+ }, "strict", z.ZodTypeAny, {
86
+ stable: {
87
+ metadataPollSeconds: number;
88
+ maintenanceWindow: {
89
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
90
+ localTime: string;
91
+ jitterMinutes: number;
92
+ };
93
+ };
94
+ development: {
95
+ pollSeconds: 60;
96
+ };
97
+ defaultTrack: "stable" | "development";
98
+ }, {
99
+ stable: {
100
+ metadataPollSeconds: number;
101
+ maintenanceWindow: {
102
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
103
+ localTime: string;
104
+ jitterMinutes: number;
105
+ };
106
+ };
107
+ development: {
108
+ pollSeconds: 60;
109
+ };
110
+ defaultTrack: "stable" | "development";
111
+ }>;
112
+ components: z.ZodRecord<z.ZodString, z.ZodObject<{
113
+ enabled: z.ZodBoolean;
114
+ track: z.ZodEnum<["stable", "development"]>;
115
+ profile: z.ZodOptional<z.ZodString>;
116
+ aliases: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
117
+ configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
118
+ }, "strict", z.ZodTypeAny, {
119
+ enabled: boolean;
120
+ track: "stable" | "development";
121
+ aliases: Record<string, string>;
122
+ configuration: Record<string, unknown>;
123
+ profile?: string | undefined;
124
+ }, {
125
+ enabled: boolean;
126
+ track: "stable" | "development";
127
+ profile?: string | undefined;
128
+ aliases?: Record<string, string> | undefined;
129
+ configuration?: Record<string, unknown> | undefined;
130
+ }>>;
131
+ network: z.ZodObject<{
132
+ manager: z.ZodObject<{
133
+ binding: z.ZodString;
134
+ aliases: z.ZodArray<z.ZodString, "many">;
135
+ sans: z.ZodArray<z.ZodString, "many">;
136
+ trustedLanCidrs: z.ZodArray<z.ZodString, "many">;
137
+ }, "strict", z.ZodTypeAny, {
138
+ aliases: string[];
139
+ binding: string;
140
+ sans: string[];
141
+ trustedLanCidrs: string[];
142
+ }, {
143
+ aliases: string[];
144
+ binding: string;
145
+ sans: string[];
146
+ trustedLanCidrs: string[];
147
+ }>;
148
+ }, "strict", z.ZodTypeAny, {
149
+ manager: {
150
+ aliases: string[];
151
+ binding: string;
152
+ sans: string[];
153
+ trustedLanCidrs: string[];
154
+ };
155
+ }, {
156
+ manager: {
157
+ aliases: string[];
158
+ binding: string;
159
+ sans: string[];
160
+ trustedLanCidrs: string[];
161
+ };
162
+ }>;
163
+ secrets: z.ZodRecord<z.ZodString, z.ZodObject<{
164
+ provider: z.ZodEnum<["file", "systemd-credential", "vault", "aws-secrets-manager"]>;
165
+ reference: z.ZodString;
166
+ }, "strict", z.ZodTypeAny, {
167
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
168
+ reference: string;
169
+ }, {
170
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
171
+ reference: string;
172
+ }>>;
173
+ }, "strict", z.ZodTypeAny, {
174
+ schemaVersion: "treeseed.host/v1";
175
+ configurationId: string;
176
+ generation: number;
177
+ host: {
178
+ id: string;
179
+ role: string;
180
+ architecture: "amd64";
181
+ };
182
+ runtime: {
183
+ management: "managed" | "external";
184
+ };
185
+ updates: {
186
+ stable: {
187
+ metadataPollSeconds: number;
188
+ maintenanceWindow: {
189
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
190
+ localTime: string;
191
+ jitterMinutes: number;
192
+ };
193
+ };
194
+ development: {
195
+ pollSeconds: 60;
196
+ };
197
+ defaultTrack: "stable" | "development";
198
+ };
199
+ components: Record<string, {
200
+ enabled: boolean;
201
+ track: "stable" | "development";
202
+ aliases: Record<string, string>;
203
+ configuration: Record<string, unknown>;
204
+ profile?: string | undefined;
205
+ }>;
206
+ network: {
207
+ manager: {
208
+ aliases: string[];
209
+ binding: string;
210
+ sans: string[];
211
+ trustedLanCidrs: string[];
212
+ };
213
+ };
214
+ secrets: Record<string, {
215
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
216
+ reference: string;
217
+ }>;
218
+ }, {
219
+ schemaVersion: "treeseed.host/v1";
220
+ configurationId: string;
221
+ generation: number;
222
+ host: {
223
+ id: string;
224
+ role: string;
225
+ architecture: "amd64";
226
+ };
227
+ runtime: {
228
+ management: "managed" | "external";
229
+ };
230
+ updates: {
231
+ stable: {
232
+ metadataPollSeconds: number;
233
+ maintenanceWindow: {
234
+ weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
235
+ localTime: string;
236
+ jitterMinutes: number;
237
+ };
238
+ };
239
+ development: {
240
+ pollSeconds: 60;
241
+ };
242
+ defaultTrack: "stable" | "development";
243
+ };
244
+ components: Record<string, {
245
+ enabled: boolean;
246
+ track: "stable" | "development";
247
+ profile?: string | undefined;
248
+ aliases?: Record<string, string> | undefined;
249
+ configuration?: Record<string, unknown> | undefined;
250
+ }>;
251
+ network: {
252
+ manager: {
253
+ aliases: string[];
254
+ binding: string;
255
+ sans: string[];
256
+ trustedLanCidrs: string[];
257
+ };
258
+ };
259
+ secrets: Record<string, {
260
+ provider: "file" | "systemd-credential" | "vault" | "aws-secrets-manager";
261
+ reference: string;
262
+ }>;
263
+ }>;
264
+ export declare const packageEndpointSchema: z.ZodEffects<z.ZodObject<{
265
+ id: z.ZodString;
266
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
267
+ port: z.ZodNumber;
268
+ visibility: z.ZodEnum<["private", "host"]>;
269
+ defaultAlias: z.ZodOptional<z.ZodString>;
270
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
271
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
272
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
273
+ healthGate: z.ZodOptional<z.ZodObject<{
274
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
275
+ path: z.ZodOptional<z.ZodString>;
276
+ timeoutSeconds: z.ZodNumber;
277
+ }, "strict", z.ZodTypeAny, {
278
+ protocol: "http" | "https" | "tcp";
279
+ timeoutSeconds: number;
280
+ path?: string | undefined;
281
+ }, {
282
+ protocol: "http" | "https" | "tcp";
283
+ timeoutSeconds: number;
284
+ path?: string | undefined;
285
+ }>>;
286
+ }, "strict", z.ZodTypeAny, {
287
+ id: string;
288
+ protocol: "http" | "https" | "tcp";
289
+ port: number;
290
+ visibility: "host" | "private";
291
+ aliasOverride: boolean;
292
+ tls: "passthrough" | "edge" | "none";
293
+ authentication: "none" | "application" | "mtls";
294
+ defaultAlias?: string | undefined;
295
+ healthGate?: {
296
+ protocol: "http" | "https" | "tcp";
297
+ timeoutSeconds: number;
298
+ path?: string | undefined;
299
+ } | undefined;
300
+ }, {
301
+ id: string;
302
+ protocol: "http" | "https" | "tcp";
303
+ port: number;
304
+ visibility: "host" | "private";
305
+ tls: "passthrough" | "edge" | "none";
306
+ authentication: "none" | "application" | "mtls";
307
+ defaultAlias?: string | undefined;
308
+ aliasOverride?: boolean | undefined;
309
+ healthGate?: {
310
+ protocol: "http" | "https" | "tcp";
311
+ timeoutSeconds: number;
312
+ path?: string | undefined;
313
+ } | undefined;
314
+ }>, {
315
+ id: string;
316
+ protocol: "http" | "https" | "tcp";
317
+ port: number;
318
+ visibility: "host" | "private";
319
+ aliasOverride: boolean;
320
+ tls: "passthrough" | "edge" | "none";
321
+ authentication: "none" | "application" | "mtls";
322
+ defaultAlias?: string | undefined;
323
+ healthGate?: {
324
+ protocol: "http" | "https" | "tcp";
325
+ timeoutSeconds: number;
326
+ path?: string | undefined;
327
+ } | undefined;
328
+ }, {
329
+ id: string;
330
+ protocol: "http" | "https" | "tcp";
331
+ port: number;
332
+ visibility: "host" | "private";
333
+ tls: "passthrough" | "edge" | "none";
334
+ authentication: "none" | "application" | "mtls";
335
+ defaultAlias?: string | undefined;
336
+ aliasOverride?: boolean | undefined;
337
+ healthGate?: {
338
+ protocol: "http" | "https" | "tcp";
339
+ timeoutSeconds: number;
340
+ path?: string | undefined;
341
+ } | undefined;
342
+ }>;
343
+ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
344
+ schemaVersion: z.ZodLiteral<"treeseed.package-runtime/v1">;
345
+ componentId: z.ZodString;
346
+ version: z.ZodString;
347
+ compose: z.ZodObject<{
348
+ projectName: z.ZodString;
349
+ files: z.ZodArray<z.ZodString, "many">;
350
+ }, "strict", z.ZodTypeAny, {
351
+ projectName: string;
352
+ files: string[];
353
+ }, {
354
+ projectName: string;
355
+ files: string[];
356
+ }>;
357
+ services: z.ZodArray<z.ZodObject<{
358
+ id: z.ZodString;
359
+ composeService: z.ZodString;
360
+ endpoints: z.ZodArray<z.ZodEffects<z.ZodObject<{
361
+ id: z.ZodString;
362
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
363
+ port: z.ZodNumber;
364
+ visibility: z.ZodEnum<["private", "host"]>;
365
+ defaultAlias: z.ZodOptional<z.ZodString>;
366
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
367
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
368
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
369
+ healthGate: z.ZodOptional<z.ZodObject<{
370
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
371
+ path: z.ZodOptional<z.ZodString>;
372
+ timeoutSeconds: z.ZodNumber;
373
+ }, "strict", z.ZodTypeAny, {
374
+ protocol: "http" | "https" | "tcp";
375
+ timeoutSeconds: number;
376
+ path?: string | undefined;
377
+ }, {
378
+ protocol: "http" | "https" | "tcp";
379
+ timeoutSeconds: number;
380
+ path?: string | undefined;
381
+ }>>;
382
+ }, "strict", z.ZodTypeAny, {
383
+ id: string;
384
+ protocol: "http" | "https" | "tcp";
385
+ port: number;
386
+ visibility: "host" | "private";
387
+ aliasOverride: boolean;
388
+ tls: "passthrough" | "edge" | "none";
389
+ authentication: "none" | "application" | "mtls";
390
+ defaultAlias?: string | undefined;
391
+ healthGate?: {
392
+ protocol: "http" | "https" | "tcp";
393
+ timeoutSeconds: number;
394
+ path?: string | undefined;
395
+ } | undefined;
396
+ }, {
397
+ id: string;
398
+ protocol: "http" | "https" | "tcp";
399
+ port: number;
400
+ visibility: "host" | "private";
401
+ tls: "passthrough" | "edge" | "none";
402
+ authentication: "none" | "application" | "mtls";
403
+ defaultAlias?: string | undefined;
404
+ aliasOverride?: boolean | undefined;
405
+ healthGate?: {
406
+ protocol: "http" | "https" | "tcp";
407
+ timeoutSeconds: number;
408
+ path?: string | undefined;
409
+ } | undefined;
410
+ }>, {
411
+ id: string;
412
+ protocol: "http" | "https" | "tcp";
413
+ port: number;
414
+ visibility: "host" | "private";
415
+ aliasOverride: boolean;
416
+ tls: "passthrough" | "edge" | "none";
417
+ authentication: "none" | "application" | "mtls";
418
+ defaultAlias?: string | undefined;
419
+ healthGate?: {
420
+ protocol: "http" | "https" | "tcp";
421
+ timeoutSeconds: number;
422
+ path?: string | undefined;
423
+ } | undefined;
424
+ }, {
425
+ id: string;
426
+ protocol: "http" | "https" | "tcp";
427
+ port: number;
428
+ visibility: "host" | "private";
429
+ tls: "passthrough" | "edge" | "none";
430
+ authentication: "none" | "application" | "mtls";
431
+ defaultAlias?: string | undefined;
432
+ aliasOverride?: boolean | undefined;
433
+ healthGate?: {
434
+ protocol: "http" | "https" | "tcp";
435
+ timeoutSeconds: number;
436
+ path?: string | undefined;
437
+ } | undefined;
438
+ }>, "many">;
439
+ }, "strict", z.ZodTypeAny, {
440
+ id: string;
441
+ composeService: string;
442
+ endpoints: {
443
+ id: string;
444
+ protocol: "http" | "https" | "tcp";
445
+ port: number;
446
+ visibility: "host" | "private";
447
+ aliasOverride: boolean;
448
+ tls: "passthrough" | "edge" | "none";
449
+ authentication: "none" | "application" | "mtls";
450
+ defaultAlias?: string | undefined;
451
+ healthGate?: {
452
+ protocol: "http" | "https" | "tcp";
453
+ timeoutSeconds: number;
454
+ path?: string | undefined;
455
+ } | undefined;
456
+ }[];
457
+ }, {
458
+ id: string;
459
+ composeService: string;
460
+ endpoints: {
461
+ id: string;
462
+ protocol: "http" | "https" | "tcp";
463
+ port: number;
464
+ visibility: "host" | "private";
465
+ tls: "passthrough" | "edge" | "none";
466
+ authentication: "none" | "application" | "mtls";
467
+ defaultAlias?: string | undefined;
468
+ aliasOverride?: boolean | undefined;
469
+ healthGate?: {
470
+ protocol: "http" | "https" | "tcp";
471
+ timeoutSeconds: number;
472
+ path?: string | undefined;
473
+ } | undefined;
474
+ }[];
475
+ }>, "many">;
476
+ stateVolumes: z.ZodArray<z.ZodObject<{
477
+ id: z.ZodString;
478
+ volume: z.ZodString;
479
+ backup: z.ZodEnum<["required", "optional", "none"]>;
480
+ }, "strict", z.ZodTypeAny, {
481
+ id: string;
482
+ volume: string;
483
+ backup: "required" | "none" | "optional";
484
+ }, {
485
+ id: string;
486
+ volume: string;
487
+ backup: "required" | "none" | "optional";
488
+ }>, "many">;
489
+ migrations: z.ZodArray<z.ZodObject<{
490
+ id: z.ZodString;
491
+ order: z.ZodNumber;
492
+ backupRequired: z.ZodBoolean;
493
+ }, "strict", z.ZodTypeAny, {
494
+ id: string;
495
+ order: number;
496
+ backupRequired: boolean;
497
+ }, {
498
+ id: string;
499
+ order: number;
500
+ backupRequired: boolean;
501
+ }>, "many">;
502
+ requiredCapabilities: z.ZodArray<z.ZodString, "many">;
503
+ }, "strict", z.ZodTypeAny, {
504
+ schemaVersion: "treeseed.package-runtime/v1";
505
+ componentId: string;
506
+ version: string;
507
+ compose: {
508
+ projectName: string;
509
+ files: string[];
510
+ };
511
+ services: {
512
+ id: string;
513
+ composeService: string;
514
+ endpoints: {
515
+ id: string;
516
+ protocol: "http" | "https" | "tcp";
517
+ port: number;
518
+ visibility: "host" | "private";
519
+ aliasOverride: boolean;
520
+ tls: "passthrough" | "edge" | "none";
521
+ authentication: "none" | "application" | "mtls";
522
+ defaultAlias?: string | undefined;
523
+ healthGate?: {
524
+ protocol: "http" | "https" | "tcp";
525
+ timeoutSeconds: number;
526
+ path?: string | undefined;
527
+ } | undefined;
528
+ }[];
529
+ }[];
530
+ stateVolumes: {
531
+ id: string;
532
+ volume: string;
533
+ backup: "required" | "none" | "optional";
534
+ }[];
535
+ migrations: {
536
+ id: string;
537
+ order: number;
538
+ backupRequired: boolean;
539
+ }[];
540
+ requiredCapabilities: string[];
541
+ }, {
542
+ schemaVersion: "treeseed.package-runtime/v1";
543
+ componentId: string;
544
+ version: string;
545
+ compose: {
546
+ projectName: string;
547
+ files: string[];
548
+ };
549
+ services: {
550
+ id: string;
551
+ composeService: string;
552
+ endpoints: {
553
+ id: string;
554
+ protocol: "http" | "https" | "tcp";
555
+ port: number;
556
+ visibility: "host" | "private";
557
+ tls: "passthrough" | "edge" | "none";
558
+ authentication: "none" | "application" | "mtls";
559
+ defaultAlias?: string | undefined;
560
+ aliasOverride?: boolean | undefined;
561
+ healthGate?: {
562
+ protocol: "http" | "https" | "tcp";
563
+ timeoutSeconds: number;
564
+ path?: string | undefined;
565
+ } | undefined;
566
+ }[];
567
+ }[];
568
+ stateVolumes: {
569
+ id: string;
570
+ volume: string;
571
+ backup: "required" | "none" | "optional";
572
+ }[];
573
+ migrations: {
574
+ id: string;
575
+ order: number;
576
+ backupRequired: boolean;
577
+ }[];
578
+ requiredCapabilities: string[];
579
+ }>, {
580
+ schemaVersion: "treeseed.package-runtime/v1";
581
+ componentId: string;
582
+ version: string;
583
+ compose: {
584
+ projectName: string;
585
+ files: string[];
586
+ };
587
+ services: {
588
+ id: string;
589
+ composeService: string;
590
+ endpoints: {
591
+ id: string;
592
+ protocol: "http" | "https" | "tcp";
593
+ port: number;
594
+ visibility: "host" | "private";
595
+ aliasOverride: boolean;
596
+ tls: "passthrough" | "edge" | "none";
597
+ authentication: "none" | "application" | "mtls";
598
+ defaultAlias?: string | undefined;
599
+ healthGate?: {
600
+ protocol: "http" | "https" | "tcp";
601
+ timeoutSeconds: number;
602
+ path?: string | undefined;
603
+ } | undefined;
604
+ }[];
605
+ }[];
606
+ stateVolumes: {
607
+ id: string;
608
+ volume: string;
609
+ backup: "required" | "none" | "optional";
610
+ }[];
611
+ migrations: {
612
+ id: string;
613
+ order: number;
614
+ backupRequired: boolean;
615
+ }[];
616
+ requiredCapabilities: string[];
617
+ }, {
618
+ schemaVersion: "treeseed.package-runtime/v1";
619
+ componentId: string;
620
+ version: string;
621
+ compose: {
622
+ projectName: string;
623
+ files: string[];
624
+ };
625
+ services: {
626
+ id: string;
627
+ composeService: string;
628
+ endpoints: {
629
+ id: string;
630
+ protocol: "http" | "https" | "tcp";
631
+ port: number;
632
+ visibility: "host" | "private";
633
+ tls: "passthrough" | "edge" | "none";
634
+ authentication: "none" | "application" | "mtls";
635
+ defaultAlias?: string | undefined;
636
+ aliasOverride?: boolean | undefined;
637
+ healthGate?: {
638
+ protocol: "http" | "https" | "tcp";
639
+ timeoutSeconds: number;
640
+ path?: string | undefined;
641
+ } | undefined;
642
+ }[];
643
+ }[];
644
+ stateVolumes: {
645
+ id: string;
646
+ volume: string;
647
+ backup: "required" | "none" | "optional";
648
+ }[];
649
+ migrations: {
650
+ id: string;
651
+ order: number;
652
+ backupRequired: boolean;
653
+ }[];
654
+ requiredCapabilities: string[];
655
+ }>;
656
+ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
657
+ schemaVersion: z.ZodLiteral<"treeseed.component-release/v1">;
658
+ componentId: z.ZodString;
659
+ release: z.ZodString;
660
+ track: z.ZodEnum<["stable", "development"]>;
661
+ source: z.ZodObject<{
662
+ repository: z.ZodString;
663
+ commit: z.ZodString;
664
+ }, "strict", z.ZodTypeAny, {
665
+ repository: string;
666
+ commit: string;
667
+ }, {
668
+ repository: string;
669
+ commit: string;
670
+ }>;
671
+ stableBase: z.ZodNullable<z.ZodObject<{
672
+ releaseRange: z.ZodString;
673
+ compatibilityId: z.ZodString;
674
+ catalogDigest: z.ZodString;
675
+ }, "strict", z.ZodTypeAny, {
676
+ releaseRange: string;
677
+ compatibilityId: string;
678
+ catalogDigest: string;
679
+ }, {
680
+ releaseRange: string;
681
+ compatibilityId: string;
682
+ catalogDigest: string;
683
+ }>>;
684
+ packages: z.ZodArray<z.ZodObject<{
685
+ name: z.ZodString;
686
+ version: z.ZodString;
687
+ architecture: z.ZodEnum<["amd64", "all"]>;
688
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
689
+ order: z.ZodNumber;
690
+ }, "strict", z.ZodTypeAny, {
691
+ architecture: "amd64" | "all";
692
+ version: string;
693
+ order: number;
694
+ name: string;
695
+ origin: "TreeSeed Deployment";
696
+ }, {
697
+ architecture: "amd64" | "all";
698
+ version: string;
699
+ order: number;
700
+ name: string;
701
+ origin: "TreeSeed Deployment";
702
+ }>, "many">;
703
+ images: z.ZodArray<z.ZodObject<{
704
+ role: z.ZodString;
705
+ repository: z.ZodString;
706
+ digest: z.ZodString;
707
+ platforms: z.ZodArray<z.ZodEnum<["linux/amd64", "linux/arm64"]>, "many">;
708
+ consumers: z.ZodArray<z.ZodString, "many">;
709
+ }, "strict", z.ZodTypeAny, {
710
+ role: string;
711
+ repository: string;
712
+ digest: string;
713
+ platforms: ("linux/amd64" | "linux/arm64")[];
714
+ consumers: string[];
715
+ }, {
716
+ role: string;
717
+ repository: string;
718
+ digest: string;
719
+ platforms: ("linux/amd64" | "linux/arm64")[];
720
+ consumers: string[];
721
+ }>, "many">;
722
+ runtime: z.ZodEffects<z.ZodObject<{
723
+ schemaVersion: z.ZodLiteral<"treeseed.package-runtime/v1">;
724
+ componentId: z.ZodString;
725
+ version: z.ZodString;
726
+ compose: z.ZodObject<{
727
+ projectName: z.ZodString;
728
+ files: z.ZodArray<z.ZodString, "many">;
729
+ }, "strict", z.ZodTypeAny, {
730
+ projectName: string;
731
+ files: string[];
732
+ }, {
733
+ projectName: string;
734
+ files: string[];
735
+ }>;
736
+ services: z.ZodArray<z.ZodObject<{
737
+ id: z.ZodString;
738
+ composeService: z.ZodString;
739
+ endpoints: z.ZodArray<z.ZodEffects<z.ZodObject<{
740
+ id: z.ZodString;
741
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
742
+ port: z.ZodNumber;
743
+ visibility: z.ZodEnum<["private", "host"]>;
744
+ defaultAlias: z.ZodOptional<z.ZodString>;
745
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
746
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
747
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
748
+ healthGate: z.ZodOptional<z.ZodObject<{
749
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
750
+ path: z.ZodOptional<z.ZodString>;
751
+ timeoutSeconds: z.ZodNumber;
752
+ }, "strict", z.ZodTypeAny, {
753
+ protocol: "http" | "https" | "tcp";
754
+ timeoutSeconds: number;
755
+ path?: string | undefined;
756
+ }, {
757
+ protocol: "http" | "https" | "tcp";
758
+ timeoutSeconds: number;
759
+ path?: string | undefined;
760
+ }>>;
761
+ }, "strict", z.ZodTypeAny, {
762
+ id: string;
763
+ protocol: "http" | "https" | "tcp";
764
+ port: number;
765
+ visibility: "host" | "private";
766
+ aliasOverride: boolean;
767
+ tls: "passthrough" | "edge" | "none";
768
+ authentication: "none" | "application" | "mtls";
769
+ defaultAlias?: string | undefined;
770
+ healthGate?: {
771
+ protocol: "http" | "https" | "tcp";
772
+ timeoutSeconds: number;
773
+ path?: string | undefined;
774
+ } | undefined;
775
+ }, {
776
+ id: string;
777
+ protocol: "http" | "https" | "tcp";
778
+ port: number;
779
+ visibility: "host" | "private";
780
+ tls: "passthrough" | "edge" | "none";
781
+ authentication: "none" | "application" | "mtls";
782
+ defaultAlias?: string | undefined;
783
+ aliasOverride?: boolean | undefined;
784
+ healthGate?: {
785
+ protocol: "http" | "https" | "tcp";
786
+ timeoutSeconds: number;
787
+ path?: string | undefined;
788
+ } | undefined;
789
+ }>, {
790
+ id: string;
791
+ protocol: "http" | "https" | "tcp";
792
+ port: number;
793
+ visibility: "host" | "private";
794
+ aliasOverride: boolean;
795
+ tls: "passthrough" | "edge" | "none";
796
+ authentication: "none" | "application" | "mtls";
797
+ defaultAlias?: string | undefined;
798
+ healthGate?: {
799
+ protocol: "http" | "https" | "tcp";
800
+ timeoutSeconds: number;
801
+ path?: string | undefined;
802
+ } | undefined;
803
+ }, {
804
+ id: string;
805
+ protocol: "http" | "https" | "tcp";
806
+ port: number;
807
+ visibility: "host" | "private";
808
+ tls: "passthrough" | "edge" | "none";
809
+ authentication: "none" | "application" | "mtls";
810
+ defaultAlias?: string | undefined;
811
+ aliasOverride?: boolean | undefined;
812
+ healthGate?: {
813
+ protocol: "http" | "https" | "tcp";
814
+ timeoutSeconds: number;
815
+ path?: string | undefined;
816
+ } | undefined;
817
+ }>, "many">;
818
+ }, "strict", z.ZodTypeAny, {
819
+ id: string;
820
+ composeService: string;
821
+ endpoints: {
822
+ id: string;
823
+ protocol: "http" | "https" | "tcp";
824
+ port: number;
825
+ visibility: "host" | "private";
826
+ aliasOverride: boolean;
827
+ tls: "passthrough" | "edge" | "none";
828
+ authentication: "none" | "application" | "mtls";
829
+ defaultAlias?: string | undefined;
830
+ healthGate?: {
831
+ protocol: "http" | "https" | "tcp";
832
+ timeoutSeconds: number;
833
+ path?: string | undefined;
834
+ } | undefined;
835
+ }[];
836
+ }, {
837
+ id: string;
838
+ composeService: string;
839
+ endpoints: {
840
+ id: string;
841
+ protocol: "http" | "https" | "tcp";
842
+ port: number;
843
+ visibility: "host" | "private";
844
+ tls: "passthrough" | "edge" | "none";
845
+ authentication: "none" | "application" | "mtls";
846
+ defaultAlias?: string | undefined;
847
+ aliasOverride?: boolean | undefined;
848
+ healthGate?: {
849
+ protocol: "http" | "https" | "tcp";
850
+ timeoutSeconds: number;
851
+ path?: string | undefined;
852
+ } | undefined;
853
+ }[];
854
+ }>, "many">;
855
+ stateVolumes: z.ZodArray<z.ZodObject<{
856
+ id: z.ZodString;
857
+ volume: z.ZodString;
858
+ backup: z.ZodEnum<["required", "optional", "none"]>;
859
+ }, "strict", z.ZodTypeAny, {
860
+ id: string;
861
+ volume: string;
862
+ backup: "required" | "none" | "optional";
863
+ }, {
864
+ id: string;
865
+ volume: string;
866
+ backup: "required" | "none" | "optional";
867
+ }>, "many">;
868
+ migrations: z.ZodArray<z.ZodObject<{
869
+ id: z.ZodString;
870
+ order: z.ZodNumber;
871
+ backupRequired: z.ZodBoolean;
872
+ }, "strict", z.ZodTypeAny, {
873
+ id: string;
874
+ order: number;
875
+ backupRequired: boolean;
876
+ }, {
877
+ id: string;
878
+ order: number;
879
+ backupRequired: boolean;
880
+ }>, "many">;
881
+ requiredCapabilities: z.ZodArray<z.ZodString, "many">;
882
+ }, "strict", z.ZodTypeAny, {
883
+ schemaVersion: "treeseed.package-runtime/v1";
884
+ componentId: string;
885
+ version: string;
886
+ compose: {
887
+ projectName: string;
888
+ files: string[];
889
+ };
890
+ services: {
891
+ id: string;
892
+ composeService: string;
893
+ endpoints: {
894
+ id: string;
895
+ protocol: "http" | "https" | "tcp";
896
+ port: number;
897
+ visibility: "host" | "private";
898
+ aliasOverride: boolean;
899
+ tls: "passthrough" | "edge" | "none";
900
+ authentication: "none" | "application" | "mtls";
901
+ defaultAlias?: string | undefined;
902
+ healthGate?: {
903
+ protocol: "http" | "https" | "tcp";
904
+ timeoutSeconds: number;
905
+ path?: string | undefined;
906
+ } | undefined;
907
+ }[];
908
+ }[];
909
+ stateVolumes: {
910
+ id: string;
911
+ volume: string;
912
+ backup: "required" | "none" | "optional";
913
+ }[];
914
+ migrations: {
915
+ id: string;
916
+ order: number;
917
+ backupRequired: boolean;
918
+ }[];
919
+ requiredCapabilities: string[];
920
+ }, {
921
+ schemaVersion: "treeseed.package-runtime/v1";
922
+ componentId: string;
923
+ version: string;
924
+ compose: {
925
+ projectName: string;
926
+ files: string[];
927
+ };
928
+ services: {
929
+ id: string;
930
+ composeService: string;
931
+ endpoints: {
932
+ id: string;
933
+ protocol: "http" | "https" | "tcp";
934
+ port: number;
935
+ visibility: "host" | "private";
936
+ tls: "passthrough" | "edge" | "none";
937
+ authentication: "none" | "application" | "mtls";
938
+ defaultAlias?: string | undefined;
939
+ aliasOverride?: boolean | undefined;
940
+ healthGate?: {
941
+ protocol: "http" | "https" | "tcp";
942
+ timeoutSeconds: number;
943
+ path?: string | undefined;
944
+ } | undefined;
945
+ }[];
946
+ }[];
947
+ stateVolumes: {
948
+ id: string;
949
+ volume: string;
950
+ backup: "required" | "none" | "optional";
951
+ }[];
952
+ migrations: {
953
+ id: string;
954
+ order: number;
955
+ backupRequired: boolean;
956
+ }[];
957
+ requiredCapabilities: string[];
958
+ }>, {
959
+ schemaVersion: "treeseed.package-runtime/v1";
960
+ componentId: string;
961
+ version: string;
962
+ compose: {
963
+ projectName: string;
964
+ files: string[];
965
+ };
966
+ services: {
967
+ id: string;
968
+ composeService: string;
969
+ endpoints: {
970
+ id: string;
971
+ protocol: "http" | "https" | "tcp";
972
+ port: number;
973
+ visibility: "host" | "private";
974
+ aliasOverride: boolean;
975
+ tls: "passthrough" | "edge" | "none";
976
+ authentication: "none" | "application" | "mtls";
977
+ defaultAlias?: string | undefined;
978
+ healthGate?: {
979
+ protocol: "http" | "https" | "tcp";
980
+ timeoutSeconds: number;
981
+ path?: string | undefined;
982
+ } | undefined;
983
+ }[];
984
+ }[];
985
+ stateVolumes: {
986
+ id: string;
987
+ volume: string;
988
+ backup: "required" | "none" | "optional";
989
+ }[];
990
+ migrations: {
991
+ id: string;
992
+ order: number;
993
+ backupRequired: boolean;
994
+ }[];
995
+ requiredCapabilities: string[];
996
+ }, {
997
+ schemaVersion: "treeseed.package-runtime/v1";
998
+ componentId: string;
999
+ version: string;
1000
+ compose: {
1001
+ projectName: string;
1002
+ files: string[];
1003
+ };
1004
+ services: {
1005
+ id: string;
1006
+ composeService: string;
1007
+ endpoints: {
1008
+ id: string;
1009
+ protocol: "http" | "https" | "tcp";
1010
+ port: number;
1011
+ visibility: "host" | "private";
1012
+ tls: "passthrough" | "edge" | "none";
1013
+ authentication: "none" | "application" | "mtls";
1014
+ defaultAlias?: string | undefined;
1015
+ aliasOverride?: boolean | undefined;
1016
+ healthGate?: {
1017
+ protocol: "http" | "https" | "tcp";
1018
+ timeoutSeconds: number;
1019
+ path?: string | undefined;
1020
+ } | undefined;
1021
+ }[];
1022
+ }[];
1023
+ stateVolumes: {
1024
+ id: string;
1025
+ volume: string;
1026
+ backup: "required" | "none" | "optional";
1027
+ }[];
1028
+ migrations: {
1029
+ id: string;
1030
+ order: number;
1031
+ backupRequired: boolean;
1032
+ }[];
1033
+ requiredCapabilities: string[];
1034
+ }>;
1035
+ runtimeDigest: z.ZodString;
1036
+ rollback: z.ZodObject<{
1037
+ compatible: z.ZodBoolean;
1038
+ requiresBackup: z.ZodBoolean;
1039
+ }, "strict", z.ZodTypeAny, {
1040
+ compatible: boolean;
1041
+ requiresBackup: boolean;
1042
+ }, {
1043
+ compatible: boolean;
1044
+ requiresBackup: boolean;
1045
+ }>;
1046
+ evidence: z.ZodObject<{
1047
+ provenance: z.ZodArray<z.ZodString, "many">;
1048
+ sboms: z.ZodArray<z.ZodString, "many">;
1049
+ vulnerabilities: z.ZodArray<z.ZodString, "many">;
1050
+ }, "strict", z.ZodTypeAny, {
1051
+ provenance: string[];
1052
+ sboms: string[];
1053
+ vulnerabilities: string[];
1054
+ }, {
1055
+ provenance: string[];
1056
+ sboms: string[];
1057
+ vulnerabilities: string[];
1058
+ }>;
1059
+ }, "strict", z.ZodTypeAny, {
1060
+ track: "stable" | "development";
1061
+ schemaVersion: "treeseed.component-release/v1";
1062
+ runtime: {
1063
+ schemaVersion: "treeseed.package-runtime/v1";
1064
+ componentId: string;
1065
+ version: string;
1066
+ compose: {
1067
+ projectName: string;
1068
+ files: string[];
1069
+ };
1070
+ services: {
1071
+ id: string;
1072
+ composeService: string;
1073
+ endpoints: {
1074
+ id: string;
1075
+ protocol: "http" | "https" | "tcp";
1076
+ port: number;
1077
+ visibility: "host" | "private";
1078
+ aliasOverride: boolean;
1079
+ tls: "passthrough" | "edge" | "none";
1080
+ authentication: "none" | "application" | "mtls";
1081
+ defaultAlias?: string | undefined;
1082
+ healthGate?: {
1083
+ protocol: "http" | "https" | "tcp";
1084
+ timeoutSeconds: number;
1085
+ path?: string | undefined;
1086
+ } | undefined;
1087
+ }[];
1088
+ }[];
1089
+ stateVolumes: {
1090
+ id: string;
1091
+ volume: string;
1092
+ backup: "required" | "none" | "optional";
1093
+ }[];
1094
+ migrations: {
1095
+ id: string;
1096
+ order: number;
1097
+ backupRequired: boolean;
1098
+ }[];
1099
+ requiredCapabilities: string[];
1100
+ };
1101
+ componentId: string;
1102
+ release: string;
1103
+ source: {
1104
+ repository: string;
1105
+ commit: string;
1106
+ };
1107
+ stableBase: {
1108
+ releaseRange: string;
1109
+ compatibilityId: string;
1110
+ catalogDigest: string;
1111
+ } | null;
1112
+ packages: {
1113
+ architecture: "amd64" | "all";
1114
+ version: string;
1115
+ order: number;
1116
+ name: string;
1117
+ origin: "TreeSeed Deployment";
1118
+ }[];
1119
+ images: {
1120
+ role: string;
1121
+ repository: string;
1122
+ digest: string;
1123
+ platforms: ("linux/amd64" | "linux/arm64")[];
1124
+ consumers: string[];
1125
+ }[];
1126
+ runtimeDigest: string;
1127
+ rollback: {
1128
+ compatible: boolean;
1129
+ requiresBackup: boolean;
1130
+ };
1131
+ evidence: {
1132
+ provenance: string[];
1133
+ sboms: string[];
1134
+ vulnerabilities: string[];
1135
+ };
1136
+ }, {
1137
+ track: "stable" | "development";
1138
+ schemaVersion: "treeseed.component-release/v1";
1139
+ runtime: {
1140
+ schemaVersion: "treeseed.package-runtime/v1";
1141
+ componentId: string;
1142
+ version: string;
1143
+ compose: {
1144
+ projectName: string;
1145
+ files: string[];
1146
+ };
1147
+ services: {
1148
+ id: string;
1149
+ composeService: string;
1150
+ endpoints: {
1151
+ id: string;
1152
+ protocol: "http" | "https" | "tcp";
1153
+ port: number;
1154
+ visibility: "host" | "private";
1155
+ tls: "passthrough" | "edge" | "none";
1156
+ authentication: "none" | "application" | "mtls";
1157
+ defaultAlias?: string | undefined;
1158
+ aliasOverride?: boolean | undefined;
1159
+ healthGate?: {
1160
+ protocol: "http" | "https" | "tcp";
1161
+ timeoutSeconds: number;
1162
+ path?: string | undefined;
1163
+ } | undefined;
1164
+ }[];
1165
+ }[];
1166
+ stateVolumes: {
1167
+ id: string;
1168
+ volume: string;
1169
+ backup: "required" | "none" | "optional";
1170
+ }[];
1171
+ migrations: {
1172
+ id: string;
1173
+ order: number;
1174
+ backupRequired: boolean;
1175
+ }[];
1176
+ requiredCapabilities: string[];
1177
+ };
1178
+ componentId: string;
1179
+ release: string;
1180
+ source: {
1181
+ repository: string;
1182
+ commit: string;
1183
+ };
1184
+ stableBase: {
1185
+ releaseRange: string;
1186
+ compatibilityId: string;
1187
+ catalogDigest: string;
1188
+ } | null;
1189
+ packages: {
1190
+ architecture: "amd64" | "all";
1191
+ version: string;
1192
+ order: number;
1193
+ name: string;
1194
+ origin: "TreeSeed Deployment";
1195
+ }[];
1196
+ images: {
1197
+ role: string;
1198
+ repository: string;
1199
+ digest: string;
1200
+ platforms: ("linux/amd64" | "linux/arm64")[];
1201
+ consumers: string[];
1202
+ }[];
1203
+ runtimeDigest: string;
1204
+ rollback: {
1205
+ compatible: boolean;
1206
+ requiresBackup: boolean;
1207
+ };
1208
+ evidence: {
1209
+ provenance: string[];
1210
+ sboms: string[];
1211
+ vulnerabilities: string[];
1212
+ };
1213
+ }>, {
1214
+ track: "stable" | "development";
1215
+ schemaVersion: "treeseed.component-release/v1";
1216
+ runtime: {
1217
+ schemaVersion: "treeseed.package-runtime/v1";
1218
+ componentId: string;
1219
+ version: string;
1220
+ compose: {
1221
+ projectName: string;
1222
+ files: string[];
1223
+ };
1224
+ services: {
1225
+ id: string;
1226
+ composeService: string;
1227
+ endpoints: {
1228
+ id: string;
1229
+ protocol: "http" | "https" | "tcp";
1230
+ port: number;
1231
+ visibility: "host" | "private";
1232
+ aliasOverride: boolean;
1233
+ tls: "passthrough" | "edge" | "none";
1234
+ authentication: "none" | "application" | "mtls";
1235
+ defaultAlias?: string | undefined;
1236
+ healthGate?: {
1237
+ protocol: "http" | "https" | "tcp";
1238
+ timeoutSeconds: number;
1239
+ path?: string | undefined;
1240
+ } | undefined;
1241
+ }[];
1242
+ }[];
1243
+ stateVolumes: {
1244
+ id: string;
1245
+ volume: string;
1246
+ backup: "required" | "none" | "optional";
1247
+ }[];
1248
+ migrations: {
1249
+ id: string;
1250
+ order: number;
1251
+ backupRequired: boolean;
1252
+ }[];
1253
+ requiredCapabilities: string[];
1254
+ };
1255
+ componentId: string;
1256
+ release: string;
1257
+ source: {
1258
+ repository: string;
1259
+ commit: string;
1260
+ };
1261
+ stableBase: {
1262
+ releaseRange: string;
1263
+ compatibilityId: string;
1264
+ catalogDigest: string;
1265
+ } | null;
1266
+ packages: {
1267
+ architecture: "amd64" | "all";
1268
+ version: string;
1269
+ order: number;
1270
+ name: string;
1271
+ origin: "TreeSeed Deployment";
1272
+ }[];
1273
+ images: {
1274
+ role: string;
1275
+ repository: string;
1276
+ digest: string;
1277
+ platforms: ("linux/amd64" | "linux/arm64")[];
1278
+ consumers: string[];
1279
+ }[];
1280
+ runtimeDigest: string;
1281
+ rollback: {
1282
+ compatible: boolean;
1283
+ requiresBackup: boolean;
1284
+ };
1285
+ evidence: {
1286
+ provenance: string[];
1287
+ sboms: string[];
1288
+ vulnerabilities: string[];
1289
+ };
1290
+ }, {
1291
+ track: "stable" | "development";
1292
+ schemaVersion: "treeseed.component-release/v1";
1293
+ runtime: {
1294
+ schemaVersion: "treeseed.package-runtime/v1";
1295
+ componentId: string;
1296
+ version: string;
1297
+ compose: {
1298
+ projectName: string;
1299
+ files: string[];
1300
+ };
1301
+ services: {
1302
+ id: string;
1303
+ composeService: string;
1304
+ endpoints: {
1305
+ id: string;
1306
+ protocol: "http" | "https" | "tcp";
1307
+ port: number;
1308
+ visibility: "host" | "private";
1309
+ tls: "passthrough" | "edge" | "none";
1310
+ authentication: "none" | "application" | "mtls";
1311
+ defaultAlias?: string | undefined;
1312
+ aliasOverride?: boolean | undefined;
1313
+ healthGate?: {
1314
+ protocol: "http" | "https" | "tcp";
1315
+ timeoutSeconds: number;
1316
+ path?: string | undefined;
1317
+ } | undefined;
1318
+ }[];
1319
+ }[];
1320
+ stateVolumes: {
1321
+ id: string;
1322
+ volume: string;
1323
+ backup: "required" | "none" | "optional";
1324
+ }[];
1325
+ migrations: {
1326
+ id: string;
1327
+ order: number;
1328
+ backupRequired: boolean;
1329
+ }[];
1330
+ requiredCapabilities: string[];
1331
+ };
1332
+ componentId: string;
1333
+ release: string;
1334
+ source: {
1335
+ repository: string;
1336
+ commit: string;
1337
+ };
1338
+ stableBase: {
1339
+ releaseRange: string;
1340
+ compatibilityId: string;
1341
+ catalogDigest: string;
1342
+ } | null;
1343
+ packages: {
1344
+ architecture: "amd64" | "all";
1345
+ version: string;
1346
+ order: number;
1347
+ name: string;
1348
+ origin: "TreeSeed Deployment";
1349
+ }[];
1350
+ images: {
1351
+ role: string;
1352
+ repository: string;
1353
+ digest: string;
1354
+ platforms: ("linux/amd64" | "linux/arm64")[];
1355
+ consumers: string[];
1356
+ }[];
1357
+ runtimeDigest: string;
1358
+ rollback: {
1359
+ compatible: boolean;
1360
+ requiresBackup: boolean;
1361
+ };
1362
+ evidence: {
1363
+ provenance: string[];
1364
+ sboms: string[];
1365
+ vulnerabilities: string[];
1366
+ };
1367
+ }>;
1368
+ export declare const releaseCatalogSchema: z.ZodObject<{
1369
+ schemaVersion: z.ZodLiteral<"treeseed.release-catalog/v1">;
1370
+ release: z.ZodString;
1371
+ generation: z.ZodNumber;
1372
+ track: z.ZodEnum<["stable", "development"]>;
1373
+ compatibilityId: z.ZodString;
1374
+ catalogDigest: z.ZodString;
1375
+ stableBase: z.ZodNullable<z.ZodObject<{
1376
+ release: z.ZodString;
1377
+ catalogDigest: z.ZodString;
1378
+ }, "strict", z.ZodTypeAny, {
1379
+ release: string;
1380
+ catalogDigest: string;
1381
+ }, {
1382
+ release: string;
1383
+ catalogDigest: string;
1384
+ }>>;
1385
+ components: z.ZodArray<z.ZodEffects<z.ZodObject<{
1386
+ schemaVersion: z.ZodLiteral<"treeseed.component-release/v1">;
1387
+ componentId: z.ZodString;
1388
+ release: z.ZodString;
1389
+ track: z.ZodEnum<["stable", "development"]>;
1390
+ source: z.ZodObject<{
1391
+ repository: z.ZodString;
1392
+ commit: z.ZodString;
1393
+ }, "strict", z.ZodTypeAny, {
1394
+ repository: string;
1395
+ commit: string;
1396
+ }, {
1397
+ repository: string;
1398
+ commit: string;
1399
+ }>;
1400
+ stableBase: z.ZodNullable<z.ZodObject<{
1401
+ releaseRange: z.ZodString;
1402
+ compatibilityId: z.ZodString;
1403
+ catalogDigest: z.ZodString;
1404
+ }, "strict", z.ZodTypeAny, {
1405
+ releaseRange: string;
1406
+ compatibilityId: string;
1407
+ catalogDigest: string;
1408
+ }, {
1409
+ releaseRange: string;
1410
+ compatibilityId: string;
1411
+ catalogDigest: string;
1412
+ }>>;
1413
+ packages: z.ZodArray<z.ZodObject<{
1414
+ name: z.ZodString;
1415
+ version: z.ZodString;
1416
+ architecture: z.ZodEnum<["amd64", "all"]>;
1417
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
1418
+ order: z.ZodNumber;
1419
+ }, "strict", z.ZodTypeAny, {
1420
+ architecture: "amd64" | "all";
1421
+ version: string;
1422
+ order: number;
1423
+ name: string;
1424
+ origin: "TreeSeed Deployment";
1425
+ }, {
1426
+ architecture: "amd64" | "all";
1427
+ version: string;
1428
+ order: number;
1429
+ name: string;
1430
+ origin: "TreeSeed Deployment";
1431
+ }>, "many">;
1432
+ images: z.ZodArray<z.ZodObject<{
1433
+ role: z.ZodString;
1434
+ repository: z.ZodString;
1435
+ digest: z.ZodString;
1436
+ platforms: z.ZodArray<z.ZodEnum<["linux/amd64", "linux/arm64"]>, "many">;
1437
+ consumers: z.ZodArray<z.ZodString, "many">;
1438
+ }, "strict", z.ZodTypeAny, {
1439
+ role: string;
1440
+ repository: string;
1441
+ digest: string;
1442
+ platforms: ("linux/amd64" | "linux/arm64")[];
1443
+ consumers: string[];
1444
+ }, {
1445
+ role: string;
1446
+ repository: string;
1447
+ digest: string;
1448
+ platforms: ("linux/amd64" | "linux/arm64")[];
1449
+ consumers: string[];
1450
+ }>, "many">;
1451
+ runtime: z.ZodEffects<z.ZodObject<{
1452
+ schemaVersion: z.ZodLiteral<"treeseed.package-runtime/v1">;
1453
+ componentId: z.ZodString;
1454
+ version: z.ZodString;
1455
+ compose: z.ZodObject<{
1456
+ projectName: z.ZodString;
1457
+ files: z.ZodArray<z.ZodString, "many">;
1458
+ }, "strict", z.ZodTypeAny, {
1459
+ projectName: string;
1460
+ files: string[];
1461
+ }, {
1462
+ projectName: string;
1463
+ files: string[];
1464
+ }>;
1465
+ services: z.ZodArray<z.ZodObject<{
1466
+ id: z.ZodString;
1467
+ composeService: z.ZodString;
1468
+ endpoints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1469
+ id: z.ZodString;
1470
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
1471
+ port: z.ZodNumber;
1472
+ visibility: z.ZodEnum<["private", "host"]>;
1473
+ defaultAlias: z.ZodOptional<z.ZodString>;
1474
+ aliasOverride: z.ZodDefault<z.ZodBoolean>;
1475
+ tls: z.ZodEnum<["edge", "passthrough", "none"]>;
1476
+ authentication: z.ZodEnum<["none", "application", "mtls"]>;
1477
+ healthGate: z.ZodOptional<z.ZodObject<{
1478
+ protocol: z.ZodEnum<["http", "https", "tcp"]>;
1479
+ path: z.ZodOptional<z.ZodString>;
1480
+ timeoutSeconds: z.ZodNumber;
1481
+ }, "strict", z.ZodTypeAny, {
1482
+ protocol: "http" | "https" | "tcp";
1483
+ timeoutSeconds: number;
1484
+ path?: string | undefined;
1485
+ }, {
1486
+ protocol: "http" | "https" | "tcp";
1487
+ timeoutSeconds: number;
1488
+ path?: string | undefined;
1489
+ }>>;
1490
+ }, "strict", z.ZodTypeAny, {
1491
+ id: string;
1492
+ protocol: "http" | "https" | "tcp";
1493
+ port: number;
1494
+ visibility: "host" | "private";
1495
+ aliasOverride: boolean;
1496
+ tls: "passthrough" | "edge" | "none";
1497
+ authentication: "none" | "application" | "mtls";
1498
+ defaultAlias?: string | undefined;
1499
+ healthGate?: {
1500
+ protocol: "http" | "https" | "tcp";
1501
+ timeoutSeconds: number;
1502
+ path?: string | undefined;
1503
+ } | undefined;
1504
+ }, {
1505
+ id: string;
1506
+ protocol: "http" | "https" | "tcp";
1507
+ port: number;
1508
+ visibility: "host" | "private";
1509
+ tls: "passthrough" | "edge" | "none";
1510
+ authentication: "none" | "application" | "mtls";
1511
+ defaultAlias?: string | undefined;
1512
+ aliasOverride?: boolean | undefined;
1513
+ healthGate?: {
1514
+ protocol: "http" | "https" | "tcp";
1515
+ timeoutSeconds: number;
1516
+ path?: string | undefined;
1517
+ } | undefined;
1518
+ }>, {
1519
+ id: string;
1520
+ protocol: "http" | "https" | "tcp";
1521
+ port: number;
1522
+ visibility: "host" | "private";
1523
+ aliasOverride: boolean;
1524
+ tls: "passthrough" | "edge" | "none";
1525
+ authentication: "none" | "application" | "mtls";
1526
+ defaultAlias?: string | undefined;
1527
+ healthGate?: {
1528
+ protocol: "http" | "https" | "tcp";
1529
+ timeoutSeconds: number;
1530
+ path?: string | undefined;
1531
+ } | undefined;
1532
+ }, {
1533
+ id: string;
1534
+ protocol: "http" | "https" | "tcp";
1535
+ port: number;
1536
+ visibility: "host" | "private";
1537
+ tls: "passthrough" | "edge" | "none";
1538
+ authentication: "none" | "application" | "mtls";
1539
+ defaultAlias?: string | undefined;
1540
+ aliasOverride?: boolean | undefined;
1541
+ healthGate?: {
1542
+ protocol: "http" | "https" | "tcp";
1543
+ timeoutSeconds: number;
1544
+ path?: string | undefined;
1545
+ } | undefined;
1546
+ }>, "many">;
1547
+ }, "strict", z.ZodTypeAny, {
1548
+ id: string;
1549
+ composeService: string;
1550
+ endpoints: {
1551
+ id: string;
1552
+ protocol: "http" | "https" | "tcp";
1553
+ port: number;
1554
+ visibility: "host" | "private";
1555
+ aliasOverride: boolean;
1556
+ tls: "passthrough" | "edge" | "none";
1557
+ authentication: "none" | "application" | "mtls";
1558
+ defaultAlias?: string | undefined;
1559
+ healthGate?: {
1560
+ protocol: "http" | "https" | "tcp";
1561
+ timeoutSeconds: number;
1562
+ path?: string | undefined;
1563
+ } | undefined;
1564
+ }[];
1565
+ }, {
1566
+ id: string;
1567
+ composeService: string;
1568
+ endpoints: {
1569
+ id: string;
1570
+ protocol: "http" | "https" | "tcp";
1571
+ port: number;
1572
+ visibility: "host" | "private";
1573
+ tls: "passthrough" | "edge" | "none";
1574
+ authentication: "none" | "application" | "mtls";
1575
+ defaultAlias?: string | undefined;
1576
+ aliasOverride?: boolean | undefined;
1577
+ healthGate?: {
1578
+ protocol: "http" | "https" | "tcp";
1579
+ timeoutSeconds: number;
1580
+ path?: string | undefined;
1581
+ } | undefined;
1582
+ }[];
1583
+ }>, "many">;
1584
+ stateVolumes: z.ZodArray<z.ZodObject<{
1585
+ id: z.ZodString;
1586
+ volume: z.ZodString;
1587
+ backup: z.ZodEnum<["required", "optional", "none"]>;
1588
+ }, "strict", z.ZodTypeAny, {
1589
+ id: string;
1590
+ volume: string;
1591
+ backup: "required" | "none" | "optional";
1592
+ }, {
1593
+ id: string;
1594
+ volume: string;
1595
+ backup: "required" | "none" | "optional";
1596
+ }>, "many">;
1597
+ migrations: z.ZodArray<z.ZodObject<{
1598
+ id: z.ZodString;
1599
+ order: z.ZodNumber;
1600
+ backupRequired: z.ZodBoolean;
1601
+ }, "strict", z.ZodTypeAny, {
1602
+ id: string;
1603
+ order: number;
1604
+ backupRequired: boolean;
1605
+ }, {
1606
+ id: string;
1607
+ order: number;
1608
+ backupRequired: boolean;
1609
+ }>, "many">;
1610
+ requiredCapabilities: z.ZodArray<z.ZodString, "many">;
1611
+ }, "strict", z.ZodTypeAny, {
1612
+ schemaVersion: "treeseed.package-runtime/v1";
1613
+ componentId: string;
1614
+ version: string;
1615
+ compose: {
1616
+ projectName: string;
1617
+ files: string[];
1618
+ };
1619
+ services: {
1620
+ id: string;
1621
+ composeService: string;
1622
+ endpoints: {
1623
+ id: string;
1624
+ protocol: "http" | "https" | "tcp";
1625
+ port: number;
1626
+ visibility: "host" | "private";
1627
+ aliasOverride: boolean;
1628
+ tls: "passthrough" | "edge" | "none";
1629
+ authentication: "none" | "application" | "mtls";
1630
+ defaultAlias?: string | undefined;
1631
+ healthGate?: {
1632
+ protocol: "http" | "https" | "tcp";
1633
+ timeoutSeconds: number;
1634
+ path?: string | undefined;
1635
+ } | undefined;
1636
+ }[];
1637
+ }[];
1638
+ stateVolumes: {
1639
+ id: string;
1640
+ volume: string;
1641
+ backup: "required" | "none" | "optional";
1642
+ }[];
1643
+ migrations: {
1644
+ id: string;
1645
+ order: number;
1646
+ backupRequired: boolean;
1647
+ }[];
1648
+ requiredCapabilities: string[];
1649
+ }, {
1650
+ schemaVersion: "treeseed.package-runtime/v1";
1651
+ componentId: string;
1652
+ version: string;
1653
+ compose: {
1654
+ projectName: string;
1655
+ files: string[];
1656
+ };
1657
+ services: {
1658
+ id: string;
1659
+ composeService: string;
1660
+ endpoints: {
1661
+ id: string;
1662
+ protocol: "http" | "https" | "tcp";
1663
+ port: number;
1664
+ visibility: "host" | "private";
1665
+ tls: "passthrough" | "edge" | "none";
1666
+ authentication: "none" | "application" | "mtls";
1667
+ defaultAlias?: string | undefined;
1668
+ aliasOverride?: boolean | undefined;
1669
+ healthGate?: {
1670
+ protocol: "http" | "https" | "tcp";
1671
+ timeoutSeconds: number;
1672
+ path?: string | undefined;
1673
+ } | undefined;
1674
+ }[];
1675
+ }[];
1676
+ stateVolumes: {
1677
+ id: string;
1678
+ volume: string;
1679
+ backup: "required" | "none" | "optional";
1680
+ }[];
1681
+ migrations: {
1682
+ id: string;
1683
+ order: number;
1684
+ backupRequired: boolean;
1685
+ }[];
1686
+ requiredCapabilities: string[];
1687
+ }>, {
1688
+ schemaVersion: "treeseed.package-runtime/v1";
1689
+ componentId: string;
1690
+ version: string;
1691
+ compose: {
1692
+ projectName: string;
1693
+ files: string[];
1694
+ };
1695
+ services: {
1696
+ id: string;
1697
+ composeService: string;
1698
+ endpoints: {
1699
+ id: string;
1700
+ protocol: "http" | "https" | "tcp";
1701
+ port: number;
1702
+ visibility: "host" | "private";
1703
+ aliasOverride: boolean;
1704
+ tls: "passthrough" | "edge" | "none";
1705
+ authentication: "none" | "application" | "mtls";
1706
+ defaultAlias?: string | undefined;
1707
+ healthGate?: {
1708
+ protocol: "http" | "https" | "tcp";
1709
+ timeoutSeconds: number;
1710
+ path?: string | undefined;
1711
+ } | undefined;
1712
+ }[];
1713
+ }[];
1714
+ stateVolumes: {
1715
+ id: string;
1716
+ volume: string;
1717
+ backup: "required" | "none" | "optional";
1718
+ }[];
1719
+ migrations: {
1720
+ id: string;
1721
+ order: number;
1722
+ backupRequired: boolean;
1723
+ }[];
1724
+ requiredCapabilities: string[];
1725
+ }, {
1726
+ schemaVersion: "treeseed.package-runtime/v1";
1727
+ componentId: string;
1728
+ version: string;
1729
+ compose: {
1730
+ projectName: string;
1731
+ files: string[];
1732
+ };
1733
+ services: {
1734
+ id: string;
1735
+ composeService: string;
1736
+ endpoints: {
1737
+ id: string;
1738
+ protocol: "http" | "https" | "tcp";
1739
+ port: number;
1740
+ visibility: "host" | "private";
1741
+ tls: "passthrough" | "edge" | "none";
1742
+ authentication: "none" | "application" | "mtls";
1743
+ defaultAlias?: string | undefined;
1744
+ aliasOverride?: boolean | undefined;
1745
+ healthGate?: {
1746
+ protocol: "http" | "https" | "tcp";
1747
+ timeoutSeconds: number;
1748
+ path?: string | undefined;
1749
+ } | undefined;
1750
+ }[];
1751
+ }[];
1752
+ stateVolumes: {
1753
+ id: string;
1754
+ volume: string;
1755
+ backup: "required" | "none" | "optional";
1756
+ }[];
1757
+ migrations: {
1758
+ id: string;
1759
+ order: number;
1760
+ backupRequired: boolean;
1761
+ }[];
1762
+ requiredCapabilities: string[];
1763
+ }>;
1764
+ runtimeDigest: z.ZodString;
1765
+ rollback: z.ZodObject<{
1766
+ compatible: z.ZodBoolean;
1767
+ requiresBackup: z.ZodBoolean;
1768
+ }, "strict", z.ZodTypeAny, {
1769
+ compatible: boolean;
1770
+ requiresBackup: boolean;
1771
+ }, {
1772
+ compatible: boolean;
1773
+ requiresBackup: boolean;
1774
+ }>;
1775
+ evidence: z.ZodObject<{
1776
+ provenance: z.ZodArray<z.ZodString, "many">;
1777
+ sboms: z.ZodArray<z.ZodString, "many">;
1778
+ vulnerabilities: z.ZodArray<z.ZodString, "many">;
1779
+ }, "strict", z.ZodTypeAny, {
1780
+ provenance: string[];
1781
+ sboms: string[];
1782
+ vulnerabilities: string[];
1783
+ }, {
1784
+ provenance: string[];
1785
+ sboms: string[];
1786
+ vulnerabilities: string[];
1787
+ }>;
1788
+ }, "strict", z.ZodTypeAny, {
1789
+ track: "stable" | "development";
1790
+ schemaVersion: "treeseed.component-release/v1";
1791
+ runtime: {
1792
+ schemaVersion: "treeseed.package-runtime/v1";
1793
+ componentId: string;
1794
+ version: string;
1795
+ compose: {
1796
+ projectName: string;
1797
+ files: string[];
1798
+ };
1799
+ services: {
1800
+ id: string;
1801
+ composeService: string;
1802
+ endpoints: {
1803
+ id: string;
1804
+ protocol: "http" | "https" | "tcp";
1805
+ port: number;
1806
+ visibility: "host" | "private";
1807
+ aliasOverride: boolean;
1808
+ tls: "passthrough" | "edge" | "none";
1809
+ authentication: "none" | "application" | "mtls";
1810
+ defaultAlias?: string | undefined;
1811
+ healthGate?: {
1812
+ protocol: "http" | "https" | "tcp";
1813
+ timeoutSeconds: number;
1814
+ path?: string | undefined;
1815
+ } | undefined;
1816
+ }[];
1817
+ }[];
1818
+ stateVolumes: {
1819
+ id: string;
1820
+ volume: string;
1821
+ backup: "required" | "none" | "optional";
1822
+ }[];
1823
+ migrations: {
1824
+ id: string;
1825
+ order: number;
1826
+ backupRequired: boolean;
1827
+ }[];
1828
+ requiredCapabilities: string[];
1829
+ };
1830
+ componentId: string;
1831
+ release: string;
1832
+ source: {
1833
+ repository: string;
1834
+ commit: string;
1835
+ };
1836
+ stableBase: {
1837
+ releaseRange: string;
1838
+ compatibilityId: string;
1839
+ catalogDigest: string;
1840
+ } | null;
1841
+ packages: {
1842
+ architecture: "amd64" | "all";
1843
+ version: string;
1844
+ order: number;
1845
+ name: string;
1846
+ origin: "TreeSeed Deployment";
1847
+ }[];
1848
+ images: {
1849
+ role: string;
1850
+ repository: string;
1851
+ digest: string;
1852
+ platforms: ("linux/amd64" | "linux/arm64")[];
1853
+ consumers: string[];
1854
+ }[];
1855
+ runtimeDigest: string;
1856
+ rollback: {
1857
+ compatible: boolean;
1858
+ requiresBackup: boolean;
1859
+ };
1860
+ evidence: {
1861
+ provenance: string[];
1862
+ sboms: string[];
1863
+ vulnerabilities: string[];
1864
+ };
1865
+ }, {
1866
+ track: "stable" | "development";
1867
+ schemaVersion: "treeseed.component-release/v1";
1868
+ runtime: {
1869
+ schemaVersion: "treeseed.package-runtime/v1";
1870
+ componentId: string;
1871
+ version: string;
1872
+ compose: {
1873
+ projectName: string;
1874
+ files: string[];
1875
+ };
1876
+ services: {
1877
+ id: string;
1878
+ composeService: string;
1879
+ endpoints: {
1880
+ id: string;
1881
+ protocol: "http" | "https" | "tcp";
1882
+ port: number;
1883
+ visibility: "host" | "private";
1884
+ tls: "passthrough" | "edge" | "none";
1885
+ authentication: "none" | "application" | "mtls";
1886
+ defaultAlias?: string | undefined;
1887
+ aliasOverride?: boolean | undefined;
1888
+ healthGate?: {
1889
+ protocol: "http" | "https" | "tcp";
1890
+ timeoutSeconds: number;
1891
+ path?: string | undefined;
1892
+ } | undefined;
1893
+ }[];
1894
+ }[];
1895
+ stateVolumes: {
1896
+ id: string;
1897
+ volume: string;
1898
+ backup: "required" | "none" | "optional";
1899
+ }[];
1900
+ migrations: {
1901
+ id: string;
1902
+ order: number;
1903
+ backupRequired: boolean;
1904
+ }[];
1905
+ requiredCapabilities: string[];
1906
+ };
1907
+ componentId: string;
1908
+ release: string;
1909
+ source: {
1910
+ repository: string;
1911
+ commit: string;
1912
+ };
1913
+ stableBase: {
1914
+ releaseRange: string;
1915
+ compatibilityId: string;
1916
+ catalogDigest: string;
1917
+ } | null;
1918
+ packages: {
1919
+ architecture: "amd64" | "all";
1920
+ version: string;
1921
+ order: number;
1922
+ name: string;
1923
+ origin: "TreeSeed Deployment";
1924
+ }[];
1925
+ images: {
1926
+ role: string;
1927
+ repository: string;
1928
+ digest: string;
1929
+ platforms: ("linux/amd64" | "linux/arm64")[];
1930
+ consumers: string[];
1931
+ }[];
1932
+ runtimeDigest: string;
1933
+ rollback: {
1934
+ compatible: boolean;
1935
+ requiresBackup: boolean;
1936
+ };
1937
+ evidence: {
1938
+ provenance: string[];
1939
+ sboms: string[];
1940
+ vulnerabilities: string[];
1941
+ };
1942
+ }>, {
1943
+ track: "stable" | "development";
1944
+ schemaVersion: "treeseed.component-release/v1";
1945
+ runtime: {
1946
+ schemaVersion: "treeseed.package-runtime/v1";
1947
+ componentId: string;
1948
+ version: string;
1949
+ compose: {
1950
+ projectName: string;
1951
+ files: string[];
1952
+ };
1953
+ services: {
1954
+ id: string;
1955
+ composeService: string;
1956
+ endpoints: {
1957
+ id: string;
1958
+ protocol: "http" | "https" | "tcp";
1959
+ port: number;
1960
+ visibility: "host" | "private";
1961
+ aliasOverride: boolean;
1962
+ tls: "passthrough" | "edge" | "none";
1963
+ authentication: "none" | "application" | "mtls";
1964
+ defaultAlias?: string | undefined;
1965
+ healthGate?: {
1966
+ protocol: "http" | "https" | "tcp";
1967
+ timeoutSeconds: number;
1968
+ path?: string | undefined;
1969
+ } | undefined;
1970
+ }[];
1971
+ }[];
1972
+ stateVolumes: {
1973
+ id: string;
1974
+ volume: string;
1975
+ backup: "required" | "none" | "optional";
1976
+ }[];
1977
+ migrations: {
1978
+ id: string;
1979
+ order: number;
1980
+ backupRequired: boolean;
1981
+ }[];
1982
+ requiredCapabilities: string[];
1983
+ };
1984
+ componentId: string;
1985
+ release: string;
1986
+ source: {
1987
+ repository: string;
1988
+ commit: string;
1989
+ };
1990
+ stableBase: {
1991
+ releaseRange: string;
1992
+ compatibilityId: string;
1993
+ catalogDigest: string;
1994
+ } | null;
1995
+ packages: {
1996
+ architecture: "amd64" | "all";
1997
+ version: string;
1998
+ order: number;
1999
+ name: string;
2000
+ origin: "TreeSeed Deployment";
2001
+ }[];
2002
+ images: {
2003
+ role: string;
2004
+ repository: string;
2005
+ digest: string;
2006
+ platforms: ("linux/amd64" | "linux/arm64")[];
2007
+ consumers: string[];
2008
+ }[];
2009
+ runtimeDigest: string;
2010
+ rollback: {
2011
+ compatible: boolean;
2012
+ requiresBackup: boolean;
2013
+ };
2014
+ evidence: {
2015
+ provenance: string[];
2016
+ sboms: string[];
2017
+ vulnerabilities: string[];
2018
+ };
2019
+ }, {
2020
+ track: "stable" | "development";
2021
+ schemaVersion: "treeseed.component-release/v1";
2022
+ runtime: {
2023
+ schemaVersion: "treeseed.package-runtime/v1";
2024
+ componentId: string;
2025
+ version: string;
2026
+ compose: {
2027
+ projectName: string;
2028
+ files: string[];
2029
+ };
2030
+ services: {
2031
+ id: string;
2032
+ composeService: string;
2033
+ endpoints: {
2034
+ id: string;
2035
+ protocol: "http" | "https" | "tcp";
2036
+ port: number;
2037
+ visibility: "host" | "private";
2038
+ tls: "passthrough" | "edge" | "none";
2039
+ authentication: "none" | "application" | "mtls";
2040
+ defaultAlias?: string | undefined;
2041
+ aliasOverride?: boolean | undefined;
2042
+ healthGate?: {
2043
+ protocol: "http" | "https" | "tcp";
2044
+ timeoutSeconds: number;
2045
+ path?: string | undefined;
2046
+ } | undefined;
2047
+ }[];
2048
+ }[];
2049
+ stateVolumes: {
2050
+ id: string;
2051
+ volume: string;
2052
+ backup: "required" | "none" | "optional";
2053
+ }[];
2054
+ migrations: {
2055
+ id: string;
2056
+ order: number;
2057
+ backupRequired: boolean;
2058
+ }[];
2059
+ requiredCapabilities: string[];
2060
+ };
2061
+ componentId: string;
2062
+ release: string;
2063
+ source: {
2064
+ repository: string;
2065
+ commit: string;
2066
+ };
2067
+ stableBase: {
2068
+ releaseRange: string;
2069
+ compatibilityId: string;
2070
+ catalogDigest: string;
2071
+ } | null;
2072
+ packages: {
2073
+ architecture: "amd64" | "all";
2074
+ version: string;
2075
+ order: number;
2076
+ name: string;
2077
+ origin: "TreeSeed Deployment";
2078
+ }[];
2079
+ images: {
2080
+ role: string;
2081
+ repository: string;
2082
+ digest: string;
2083
+ platforms: ("linux/amd64" | "linux/arm64")[];
2084
+ consumers: string[];
2085
+ }[];
2086
+ runtimeDigest: string;
2087
+ rollback: {
2088
+ compatible: boolean;
2089
+ requiresBackup: boolean;
2090
+ };
2091
+ evidence: {
2092
+ provenance: string[];
2093
+ sboms: string[];
2094
+ vulnerabilities: string[];
2095
+ };
2096
+ }>, "many">;
2097
+ createdAt: z.ZodString;
2098
+ }, "strict", z.ZodTypeAny, {
2099
+ track: "stable" | "development";
2100
+ schemaVersion: "treeseed.release-catalog/v1";
2101
+ generation: number;
2102
+ components: {
2103
+ track: "stable" | "development";
2104
+ schemaVersion: "treeseed.component-release/v1";
2105
+ runtime: {
2106
+ schemaVersion: "treeseed.package-runtime/v1";
2107
+ componentId: string;
2108
+ version: string;
2109
+ compose: {
2110
+ projectName: string;
2111
+ files: string[];
2112
+ };
2113
+ services: {
2114
+ id: string;
2115
+ composeService: string;
2116
+ endpoints: {
2117
+ id: string;
2118
+ protocol: "http" | "https" | "tcp";
2119
+ port: number;
2120
+ visibility: "host" | "private";
2121
+ aliasOverride: boolean;
2122
+ tls: "passthrough" | "edge" | "none";
2123
+ authentication: "none" | "application" | "mtls";
2124
+ defaultAlias?: string | undefined;
2125
+ healthGate?: {
2126
+ protocol: "http" | "https" | "tcp";
2127
+ timeoutSeconds: number;
2128
+ path?: string | undefined;
2129
+ } | undefined;
2130
+ }[];
2131
+ }[];
2132
+ stateVolumes: {
2133
+ id: string;
2134
+ volume: string;
2135
+ backup: "required" | "none" | "optional";
2136
+ }[];
2137
+ migrations: {
2138
+ id: string;
2139
+ order: number;
2140
+ backupRequired: boolean;
2141
+ }[];
2142
+ requiredCapabilities: string[];
2143
+ };
2144
+ componentId: string;
2145
+ release: string;
2146
+ source: {
2147
+ repository: string;
2148
+ commit: string;
2149
+ };
2150
+ stableBase: {
2151
+ releaseRange: string;
2152
+ compatibilityId: string;
2153
+ catalogDigest: string;
2154
+ } | null;
2155
+ packages: {
2156
+ architecture: "amd64" | "all";
2157
+ version: string;
2158
+ order: number;
2159
+ name: string;
2160
+ origin: "TreeSeed Deployment";
2161
+ }[];
2162
+ images: {
2163
+ role: string;
2164
+ repository: string;
2165
+ digest: string;
2166
+ platforms: ("linux/amd64" | "linux/arm64")[];
2167
+ consumers: string[];
2168
+ }[];
2169
+ runtimeDigest: string;
2170
+ rollback: {
2171
+ compatible: boolean;
2172
+ requiresBackup: boolean;
2173
+ };
2174
+ evidence: {
2175
+ provenance: string[];
2176
+ sboms: string[];
2177
+ vulnerabilities: string[];
2178
+ };
2179
+ }[];
2180
+ release: string;
2181
+ compatibilityId: string;
2182
+ catalogDigest: string;
2183
+ stableBase: {
2184
+ release: string;
2185
+ catalogDigest: string;
2186
+ } | null;
2187
+ createdAt: string;
2188
+ }, {
2189
+ track: "stable" | "development";
2190
+ schemaVersion: "treeseed.release-catalog/v1";
2191
+ generation: number;
2192
+ components: {
2193
+ track: "stable" | "development";
2194
+ schemaVersion: "treeseed.component-release/v1";
2195
+ runtime: {
2196
+ schemaVersion: "treeseed.package-runtime/v1";
2197
+ componentId: string;
2198
+ version: string;
2199
+ compose: {
2200
+ projectName: string;
2201
+ files: string[];
2202
+ };
2203
+ services: {
2204
+ id: string;
2205
+ composeService: string;
2206
+ endpoints: {
2207
+ id: string;
2208
+ protocol: "http" | "https" | "tcp";
2209
+ port: number;
2210
+ visibility: "host" | "private";
2211
+ tls: "passthrough" | "edge" | "none";
2212
+ authentication: "none" | "application" | "mtls";
2213
+ defaultAlias?: string | undefined;
2214
+ aliasOverride?: boolean | undefined;
2215
+ healthGate?: {
2216
+ protocol: "http" | "https" | "tcp";
2217
+ timeoutSeconds: number;
2218
+ path?: string | undefined;
2219
+ } | undefined;
2220
+ }[];
2221
+ }[];
2222
+ stateVolumes: {
2223
+ id: string;
2224
+ volume: string;
2225
+ backup: "required" | "none" | "optional";
2226
+ }[];
2227
+ migrations: {
2228
+ id: string;
2229
+ order: number;
2230
+ backupRequired: boolean;
2231
+ }[];
2232
+ requiredCapabilities: string[];
2233
+ };
2234
+ componentId: string;
2235
+ release: string;
2236
+ source: {
2237
+ repository: string;
2238
+ commit: string;
2239
+ };
2240
+ stableBase: {
2241
+ releaseRange: string;
2242
+ compatibilityId: string;
2243
+ catalogDigest: string;
2244
+ } | null;
2245
+ packages: {
2246
+ architecture: "amd64" | "all";
2247
+ version: string;
2248
+ order: number;
2249
+ name: string;
2250
+ origin: "TreeSeed Deployment";
2251
+ }[];
2252
+ images: {
2253
+ role: string;
2254
+ repository: string;
2255
+ digest: string;
2256
+ platforms: ("linux/amd64" | "linux/arm64")[];
2257
+ consumers: string[];
2258
+ }[];
2259
+ runtimeDigest: string;
2260
+ rollback: {
2261
+ compatible: boolean;
2262
+ requiresBackup: boolean;
2263
+ };
2264
+ evidence: {
2265
+ provenance: string[];
2266
+ sboms: string[];
2267
+ vulnerabilities: string[];
2268
+ };
2269
+ }[];
2270
+ release: string;
2271
+ compatibilityId: string;
2272
+ catalogDigest: string;
2273
+ stableBase: {
2274
+ release: string;
2275
+ catalogDigest: string;
2276
+ } | null;
2277
+ createdAt: string;
2278
+ }>;
2279
+ export declare const hostPlanSchema: z.ZodObject<{
2280
+ schemaVersion: z.ZodLiteral<"treeseed.host-plan/v1">;
2281
+ planId: z.ZodString;
2282
+ configurationDigest: z.ZodString;
2283
+ catalogDigest: z.ZodString;
2284
+ changes: z.ZodArray<z.ZodObject<{
2285
+ componentId: z.ZodString;
2286
+ action: z.ZodEnum<["install", "upgrade", "reconfigure", "remove", "noop"]>;
2287
+ from: z.ZodNullable<z.ZodString>;
2288
+ to: z.ZodNullable<z.ZodString>;
2289
+ }, "strict", z.ZodTypeAny, {
2290
+ componentId: string;
2291
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2292
+ from: string | null;
2293
+ to: string | null;
2294
+ }, {
2295
+ componentId: string;
2296
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2297
+ from: string | null;
2298
+ to: string | null;
2299
+ }>, "many">;
2300
+ blockers: z.ZodArray<z.ZodObject<{
2301
+ code: z.ZodString;
2302
+ message: z.ZodString;
2303
+ }, "strict", z.ZodTypeAny, {
2304
+ code: string;
2305
+ message: string;
2306
+ }, {
2307
+ code: string;
2308
+ message: string;
2309
+ }>, "many">;
2310
+ }, "strict", z.ZodTypeAny, {
2311
+ schemaVersion: "treeseed.host-plan/v1";
2312
+ catalogDigest: string;
2313
+ planId: string;
2314
+ configurationDigest: string;
2315
+ changes: {
2316
+ componentId: string;
2317
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2318
+ from: string | null;
2319
+ to: string | null;
2320
+ }[];
2321
+ blockers: {
2322
+ code: string;
2323
+ message: string;
2324
+ }[];
2325
+ }, {
2326
+ schemaVersion: "treeseed.host-plan/v1";
2327
+ catalogDigest: string;
2328
+ planId: string;
2329
+ configurationDigest: string;
2330
+ changes: {
2331
+ componentId: string;
2332
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
2333
+ from: string | null;
2334
+ to: string | null;
2335
+ }[];
2336
+ blockers: {
2337
+ code: string;
2338
+ message: string;
2339
+ }[];
2340
+ }>;
2341
+ export declare const hostBootstrapSchema: z.ZodObject<{
2342
+ schemaVersion: z.ZodLiteral<"treeseed.host-bootstrap/v1">;
2343
+ bootstrapId: z.ZodString;
2344
+ configurationDigest: z.ZodString;
2345
+ apt: z.ZodObject<{
2346
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
2347
+ suite: z.ZodEnum<["stable", "development"]>;
2348
+ repository: z.ZodString;
2349
+ keyFingerprint: z.ZodString;
2350
+ }, "strict", z.ZodTypeAny, {
2351
+ origin: "TreeSeed Deployment";
2352
+ repository: string;
2353
+ suite: "stable" | "development";
2354
+ keyFingerprint: string;
2355
+ }, {
2356
+ origin: "TreeSeed Deployment";
2357
+ repository: string;
2358
+ suite: "stable" | "development";
2359
+ keyFingerprint: string;
2360
+ }>;
2361
+ packages: z.ZodArray<z.ZodObject<{
2362
+ name: z.ZodString;
2363
+ version: z.ZodString;
2364
+ architecture: z.ZodEnum<["amd64", "all"]>;
2365
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
2366
+ order: z.ZodNumber;
2367
+ }, "strict", z.ZodTypeAny, {
2368
+ architecture: "amd64" | "all";
2369
+ version: string;
2370
+ order: number;
2371
+ name: string;
2372
+ origin: "TreeSeed Deployment";
2373
+ }, {
2374
+ architecture: "amd64" | "all";
2375
+ version: string;
2376
+ order: number;
2377
+ name: string;
2378
+ origin: "TreeSeed Deployment";
2379
+ }>, "many">;
2380
+ credentialPolicy: z.ZodObject<{
2381
+ noStoreResponse: z.ZodLiteral<true>;
2382
+ redactedLogging: z.ZodLiteral<true>;
2383
+ ephemeralGeneration: z.ZodLiteral<true>;
2384
+ deleteAfterInstall: z.ZodLiteral<true>;
2385
+ }, "strict", z.ZodTypeAny, {
2386
+ noStoreResponse: true;
2387
+ redactedLogging: true;
2388
+ ephemeralGeneration: true;
2389
+ deleteAfterInstall: true;
2390
+ }, {
2391
+ noStoreResponse: true;
2392
+ redactedLogging: true;
2393
+ ephemeralGeneration: true;
2394
+ deleteAfterInstall: true;
2395
+ }>;
2396
+ createdAt: z.ZodString;
2397
+ }, "strict", z.ZodTypeAny, {
2398
+ schemaVersion: "treeseed.host-bootstrap/v1";
2399
+ packages: {
2400
+ architecture: "amd64" | "all";
2401
+ version: string;
2402
+ order: number;
2403
+ name: string;
2404
+ origin: "TreeSeed Deployment";
2405
+ }[];
2406
+ createdAt: string;
2407
+ configurationDigest: string;
2408
+ bootstrapId: string;
2409
+ apt: {
2410
+ origin: "TreeSeed Deployment";
2411
+ repository: string;
2412
+ suite: "stable" | "development";
2413
+ keyFingerprint: string;
2414
+ };
2415
+ credentialPolicy: {
2416
+ noStoreResponse: true;
2417
+ redactedLogging: true;
2418
+ ephemeralGeneration: true;
2419
+ deleteAfterInstall: true;
2420
+ };
2421
+ }, {
2422
+ schemaVersion: "treeseed.host-bootstrap/v1";
2423
+ packages: {
2424
+ architecture: "amd64" | "all";
2425
+ version: string;
2426
+ order: number;
2427
+ name: string;
2428
+ origin: "TreeSeed Deployment";
2429
+ }[];
2430
+ createdAt: string;
2431
+ configurationDigest: string;
2432
+ bootstrapId: string;
2433
+ apt: {
2434
+ origin: "TreeSeed Deployment";
2435
+ repository: string;
2436
+ suite: "stable" | "development";
2437
+ keyFingerprint: string;
2438
+ };
2439
+ credentialPolicy: {
2440
+ noStoreResponse: true;
2441
+ redactedLogging: true;
2442
+ ephemeralGeneration: true;
2443
+ deleteAfterInstall: true;
2444
+ };
2445
+ }>;
2446
+ export declare const hostUpdateSchema: z.ZodObject<{
2447
+ schemaVersion: z.ZodLiteral<"treeseed.host-update/v1">;
2448
+ updateId: z.ZodString;
2449
+ track: z.ZodEnum<["stable", "development"]>;
2450
+ fromCatalogDigest: z.ZodString;
2451
+ toCatalogDigest: z.ZodString;
2452
+ components: z.ZodArray<z.ZodObject<{
2453
+ componentId: z.ZodString;
2454
+ from: z.ZodNullable<z.ZodString>;
2455
+ to: z.ZodString;
2456
+ imageDigests: z.ZodArray<z.ZodString, "many">;
2457
+ }, "strict", z.ZodTypeAny, {
2458
+ componentId: string;
2459
+ from: string | null;
2460
+ to: string;
2461
+ imageDigests: string[];
2462
+ }, {
2463
+ componentId: string;
2464
+ from: string | null;
2465
+ to: string;
2466
+ imageDigests: string[];
2467
+ }>, "many">;
2468
+ activation: z.ZodObject<{
2469
+ policy: z.ZodEnum<["maintenance-window", "continuous"]>;
2470
+ eligibleAt: z.ZodString;
2471
+ jitterSeconds: z.ZodNumber;
2472
+ }, "strict", z.ZodTypeAny, {
2473
+ policy: "maintenance-window" | "continuous";
2474
+ eligibleAt: string;
2475
+ jitterSeconds: number;
2476
+ }, {
2477
+ policy: "maintenance-window" | "continuous";
2478
+ eligibleAt: string;
2479
+ jitterSeconds: number;
2480
+ }>;
2481
+ state: z.ZodEnum<["planned", "draining", "applying", "healthy", "failed", "rolled-back"]>;
2482
+ }, "strict", z.ZodTypeAny, {
2483
+ track: "stable" | "development";
2484
+ schemaVersion: "treeseed.host-update/v1";
2485
+ components: {
2486
+ componentId: string;
2487
+ from: string | null;
2488
+ to: string;
2489
+ imageDigests: string[];
2490
+ }[];
2491
+ updateId: string;
2492
+ fromCatalogDigest: string;
2493
+ toCatalogDigest: string;
2494
+ activation: {
2495
+ policy: "maintenance-window" | "continuous";
2496
+ eligibleAt: string;
2497
+ jitterSeconds: number;
2498
+ };
2499
+ state: "planned" | "draining" | "applying" | "healthy" | "failed" | "rolled-back";
2500
+ }, {
2501
+ track: "stable" | "development";
2502
+ schemaVersion: "treeseed.host-update/v1";
2503
+ components: {
2504
+ componentId: string;
2505
+ from: string | null;
2506
+ to: string;
2507
+ imageDigests: string[];
2508
+ }[];
2509
+ updateId: string;
2510
+ fromCatalogDigest: string;
2511
+ toCatalogDigest: string;
2512
+ activation: {
2513
+ policy: "maintenance-window" | "continuous";
2514
+ eligibleAt: string;
2515
+ jitterSeconds: number;
2516
+ };
2517
+ state: "planned" | "draining" | "applying" | "healthy" | "failed" | "rolled-back";
2518
+ }>;
2519
+ export declare const hostReceiptSchema: z.ZodObject<{
2520
+ schemaVersion: z.ZodLiteral<"treeseed.host-receipt/v1">;
2521
+ receiptId: z.ZodString;
2522
+ planId: z.ZodString;
2523
+ state: z.ZodEnum<["known-good", "degraded", "rolled-back"]>;
2524
+ configurationDigest: z.ZodString;
2525
+ catalogDigest: z.ZodString;
2526
+ packages: z.ZodArray<z.ZodObject<{
2527
+ name: z.ZodString;
2528
+ version: z.ZodString;
2529
+ architecture: z.ZodEnum<["amd64", "all"]>;
2530
+ origin: z.ZodLiteral<"TreeSeed Deployment">;
2531
+ order: z.ZodNumber;
2532
+ }, "strict", z.ZodTypeAny, {
2533
+ architecture: "amd64" | "all";
2534
+ version: string;
2535
+ order: number;
2536
+ name: string;
2537
+ origin: "TreeSeed Deployment";
2538
+ }, {
2539
+ architecture: "amd64" | "all";
2540
+ version: string;
2541
+ order: number;
2542
+ name: string;
2543
+ origin: "TreeSeed Deployment";
2544
+ }>, "many">;
2545
+ images: z.ZodArray<z.ZodObject<{
2546
+ role: z.ZodString;
2547
+ repository: z.ZodString;
2548
+ digest: z.ZodString;
2549
+ platforms: z.ZodArray<z.ZodEnum<["linux/amd64", "linux/arm64"]>, "many">;
2550
+ consumers: z.ZodArray<z.ZodString, "many">;
2551
+ }, "strict", z.ZodTypeAny, {
2552
+ role: string;
2553
+ repository: string;
2554
+ digest: string;
2555
+ platforms: ("linux/amd64" | "linux/arm64")[];
2556
+ consumers: string[];
2557
+ }, {
2558
+ role: string;
2559
+ repository: string;
2560
+ digest: string;
2561
+ platforms: ("linux/amd64" | "linux/arm64")[];
2562
+ consumers: string[];
2563
+ }>, "many">;
2564
+ completedAt: z.ZodString;
2565
+ }, "strict", z.ZodTypeAny, {
2566
+ schemaVersion: "treeseed.host-receipt/v1";
2567
+ catalogDigest: string;
2568
+ packages: {
2569
+ architecture: "amd64" | "all";
2570
+ version: string;
2571
+ order: number;
2572
+ name: string;
2573
+ origin: "TreeSeed Deployment";
2574
+ }[];
2575
+ images: {
2576
+ role: string;
2577
+ repository: string;
2578
+ digest: string;
2579
+ platforms: ("linux/amd64" | "linux/arm64")[];
2580
+ consumers: string[];
2581
+ }[];
2582
+ planId: string;
2583
+ configurationDigest: string;
2584
+ state: "rolled-back" | "known-good" | "degraded";
2585
+ receiptId: string;
2586
+ completedAt: string;
2587
+ }, {
2588
+ schemaVersion: "treeseed.host-receipt/v1";
2589
+ catalogDigest: string;
2590
+ packages: {
2591
+ architecture: "amd64" | "all";
2592
+ version: string;
2593
+ order: number;
2594
+ name: string;
2595
+ origin: "TreeSeed Deployment";
2596
+ }[];
2597
+ images: {
2598
+ role: string;
2599
+ repository: string;
2600
+ digest: string;
2601
+ platforms: ("linux/amd64" | "linux/arm64")[];
2602
+ consumers: string[];
2603
+ }[];
2604
+ planId: string;
2605
+ configurationDigest: string;
2606
+ state: "rolled-back" | "known-good" | "degraded";
2607
+ receiptId: string;
2608
+ completedAt: string;
2609
+ }>;
2610
+ export declare const hostBackupSchema: z.ZodObject<{
2611
+ schemaVersion: z.ZodLiteral<"treeseed.host-backup/v1">;
2612
+ backupId: z.ZodString;
2613
+ componentId: z.ZodString;
2614
+ generation: z.ZodNumber;
2615
+ state: z.ZodEnum<["pending", "complete", "failed", "verified"]>;
2616
+ artifacts: z.ZodArray<z.ZodObject<{
2617
+ volumeId: z.ZodString;
2618
+ location: z.ZodString;
2619
+ digest: z.ZodString;
2620
+ encrypted: z.ZodBoolean;
2621
+ }, "strict", z.ZodTypeAny, {
2622
+ digest: string;
2623
+ volumeId: string;
2624
+ location: string;
2625
+ encrypted: boolean;
2626
+ }, {
2627
+ digest: string;
2628
+ volumeId: string;
2629
+ location: string;
2630
+ encrypted: boolean;
2631
+ }>, "many">;
2632
+ createdAt: z.ZodString;
2633
+ verifiedAt: z.ZodNullable<z.ZodString>;
2634
+ }, "strict", z.ZodTypeAny, {
2635
+ schemaVersion: "treeseed.host-backup/v1";
2636
+ generation: number;
2637
+ componentId: string;
2638
+ createdAt: string;
2639
+ state: "failed" | "pending" | "complete" | "verified";
2640
+ backupId: string;
2641
+ artifacts: {
2642
+ digest: string;
2643
+ volumeId: string;
2644
+ location: string;
2645
+ encrypted: boolean;
2646
+ }[];
2647
+ verifiedAt: string | null;
2648
+ }, {
2649
+ schemaVersion: "treeseed.host-backup/v1";
2650
+ generation: number;
2651
+ componentId: string;
2652
+ createdAt: string;
2653
+ state: "failed" | "pending" | "complete" | "verified";
2654
+ backupId: string;
2655
+ artifacts: {
2656
+ digest: string;
2657
+ volumeId: string;
2658
+ location: string;
2659
+ encrypted: boolean;
2660
+ }[];
2661
+ verifiedAt: string | null;
2662
+ }>;
2663
+ export declare const hostMigrationSchema: z.ZodObject<{
2664
+ schemaVersion: z.ZodLiteral<"treeseed.host-migration/v1">;
2665
+ migrationId: z.ZodString;
2666
+ componentId: z.ZodString;
2667
+ operation: z.ZodString;
2668
+ fromGeneration: z.ZodNumber;
2669
+ toGeneration: z.ZodNumber;
2670
+ backupId: z.ZodNullable<z.ZodString>;
2671
+ state: z.ZodEnum<["pending", "quiesced", "copied", "verified", "activated", "failed", "rolled-back"]>;
2672
+ sourceWritersStopped: z.ZodBoolean;
2673
+ completedAt: z.ZodNullable<z.ZodString>;
2674
+ }, "strict", z.ZodTypeAny, {
2675
+ schemaVersion: "treeseed.host-migration/v1";
2676
+ componentId: string;
2677
+ state: "failed" | "rolled-back" | "pending" | "verified" | "quiesced" | "copied" | "activated";
2678
+ completedAt: string | null;
2679
+ backupId: string | null;
2680
+ migrationId: string;
2681
+ operation: string;
2682
+ fromGeneration: number;
2683
+ toGeneration: number;
2684
+ sourceWritersStopped: boolean;
2685
+ }, {
2686
+ schemaVersion: "treeseed.host-migration/v1";
2687
+ componentId: string;
2688
+ state: "failed" | "rolled-back" | "pending" | "verified" | "quiesced" | "copied" | "activated";
2689
+ completedAt: string | null;
2690
+ backupId: string | null;
2691
+ migrationId: string;
2692
+ operation: string;
2693
+ fromGeneration: number;
2694
+ toGeneration: number;
2695
+ sourceWritersStopped: boolean;
2696
+ }>;
2697
+ export declare const hostRecoverySchema: z.ZodObject<{
2698
+ schemaVersion: z.ZodLiteral<"treeseed.host-recovery/v1">;
2699
+ recoveryId: z.ZodString;
2700
+ receiptId: z.ZodString;
2701
+ componentId: z.ZodNullable<z.ZodString>;
2702
+ trigger: z.ZodEnum<["health-gate", "operator", "boot", "interrupted-update"]>;
2703
+ action: z.ZodEnum<["retry", "rollback", "restore"]>;
2704
+ targetGeneration: z.ZodNumber;
2705
+ state: z.ZodEnum<["pending", "running", "healthy", "failed"]>;
2706
+ backupId: z.ZodNullable<z.ZodString>;
2707
+ completedAt: z.ZodNullable<z.ZodString>;
2708
+ }, "strict", z.ZodTypeAny, {
2709
+ schemaVersion: "treeseed.host-recovery/v1";
2710
+ componentId: string | null;
2711
+ action: "rollback" | "retry" | "restore";
2712
+ state: "healthy" | "failed" | "pending" | "running";
2713
+ receiptId: string;
2714
+ completedAt: string | null;
2715
+ backupId: string | null;
2716
+ recoveryId: string;
2717
+ trigger: "health-gate" | "operator" | "boot" | "interrupted-update";
2718
+ targetGeneration: number;
2719
+ }, {
2720
+ schemaVersion: "treeseed.host-recovery/v1";
2721
+ componentId: string | null;
2722
+ action: "rollback" | "retry" | "restore";
2723
+ state: "healthy" | "failed" | "pending" | "running";
2724
+ receiptId: string;
2725
+ completedAt: string | null;
2726
+ backupId: string | null;
2727
+ recoveryId: string;
2728
+ trigger: "health-gate" | "operator" | "boot" | "interrupted-update";
2729
+ targetGeneration: number;
2730
+ }>;
2731
+ export type DeploymentTrack = z.infer<typeof deploymentTrackSchema>;
2732
+ export type HostConfiguration = z.infer<typeof hostConfigurationSchema>;
2733
+ export type PackageRuntime = z.infer<typeof packageRuntimeSchema>;
2734
+ export type PackageEndpoint = z.infer<typeof packageEndpointSchema>;
2735
+ export type ComponentRelease = z.infer<typeof componentReleaseSchema>;
2736
+ export type ReleaseCatalog = z.infer<typeof releaseCatalogSchema>;
2737
+ export type HostPlan = z.infer<typeof hostPlanSchema>;
2738
+ export type HostBootstrap = z.infer<typeof hostBootstrapSchema>;
2739
+ export type HostUpdate = z.infer<typeof hostUpdateSchema>;
2740
+ export type HostReceipt = z.infer<typeof hostReceiptSchema>;
2741
+ export type HostBackup = z.infer<typeof hostBackupSchema>;
2742
+ export type HostMigration = z.infer<typeof hostMigrationSchema>;
2743
+ export type HostRecovery = z.infer<typeof hostRecoverySchema>;