@treeseed/sdk 0.13.0-rc.50 → 0.13.0-rc.52

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.
@@ -1478,17 +1478,30 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1478
1478
  projectName: string;
1479
1479
  }>;
1480
1480
  configuration: z.ZodEffects<z.ZodDefault<z.ZodObject<{
1481
- environment: z.ZodDefault<z.ZodArray<z.ZodObject<{
1481
+ environment: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
1482
1482
  name: z.ZodString;
1483
1483
  required: z.ZodBoolean;
1484
+ source: z.ZodDefault<z.ZodEnum<["configuration", "manager"]>>;
1484
1485
  default: z.ZodOptional<z.ZodString>;
1485
1486
  }, "strict", z.ZodTypeAny, {
1487
+ source: "configuration" | "manager";
1486
1488
  name: string;
1487
1489
  required: boolean;
1488
1490
  default?: string | undefined;
1489
1491
  }, {
1490
1492
  name: string;
1491
1493
  required: boolean;
1494
+ source?: "configuration" | "manager" | undefined;
1495
+ default?: string | undefined;
1496
+ }>, {
1497
+ source: "configuration" | "manager";
1498
+ name: string;
1499
+ required: boolean;
1500
+ default?: string | undefined;
1501
+ }, {
1502
+ name: string;
1503
+ required: boolean;
1504
+ source?: "configuration" | "manager" | undefined;
1492
1505
  default?: string | undefined;
1493
1506
  }>, "many">>;
1494
1507
  secretEnvironment: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1532,6 +1545,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1532
1545
  }>, "many">>;
1533
1546
  }, "strict", z.ZodTypeAny, {
1534
1547
  environment: {
1548
+ source: "configuration" | "manager";
1535
1549
  name: string;
1536
1550
  required: boolean;
1537
1551
  default?: string | undefined;
@@ -1555,6 +1569,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1555
1569
  environment?: {
1556
1570
  name: string;
1557
1571
  required: boolean;
1572
+ source?: "configuration" | "manager" | undefined;
1558
1573
  default?: string | undefined;
1559
1574
  }[] | undefined;
1560
1575
  secretEnvironment?: {
@@ -1574,6 +1589,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1574
1589
  }[] | undefined;
1575
1590
  }>>, {
1576
1591
  environment: {
1592
+ source: "configuration" | "manager";
1577
1593
  name: string;
1578
1594
  required: boolean;
1579
1595
  default?: string | undefined;
@@ -1597,6 +1613,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1597
1613
  environment?: {
1598
1614
  name: string;
1599
1615
  required: boolean;
1616
+ source?: "configuration" | "manager" | undefined;
1600
1617
  default?: string | undefined;
1601
1618
  }[] | undefined;
1602
1619
  secretEnvironment?: {
@@ -1777,6 +1794,80 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1777
1794
  locality: "local" | "remote" | "either";
1778
1795
  optional?: boolean | undefined;
1779
1796
  }>, "many">>;
1797
+ modeControl: z.ZodOptional<z.ZodObject<{
1798
+ resource: z.ZodLiteral<"ai-gpu">;
1799
+ role: z.ZodEnum<["inference", "training", "controller"]>;
1800
+ gate: z.ZodOptional<z.ZodObject<{
1801
+ service: z.ZodString;
1802
+ executable: z.ZodLiteral<"/usr/local/bin/treeseed-ai-gpu-gate">;
1803
+ }, "strict", z.ZodTypeAny, {
1804
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
1805
+ service: string;
1806
+ }, {
1807
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
1808
+ service: string;
1809
+ }>>;
1810
+ services: z.ZodObject<{
1811
+ base: z.ZodArray<z.ZodString, "many">;
1812
+ gpu: z.ZodArray<z.ZodString, "many">;
1813
+ warm: z.ZodOptional<z.ZodString>;
1814
+ }, "strict", z.ZodTypeAny, {
1815
+ base: string[];
1816
+ gpu: string[];
1817
+ warm?: string | undefined;
1818
+ }, {
1819
+ base: string[];
1820
+ gpu: string[];
1821
+ warm?: string | undefined;
1822
+ }>;
1823
+ internalControl: z.ZodOptional<z.ZodObject<{
1824
+ transport: z.ZodLiteral<"mtls">;
1825
+ clientCommonName: z.ZodLiteral<"client-ai-lab-mode">;
1826
+ path: z.ZodLiteral<string>;
1827
+ }, "strict", z.ZodTypeAny, {
1828
+ path: string;
1829
+ transport: "mtls";
1830
+ clientCommonName: "client-ai-lab-mode";
1831
+ }, {
1832
+ path: string;
1833
+ transport: "mtls";
1834
+ clientCommonName: "client-ai-lab-mode";
1835
+ }>>;
1836
+ }, "strict", z.ZodTypeAny, {
1837
+ resource: "ai-gpu";
1838
+ role: "inference" | "training" | "controller";
1839
+ services: {
1840
+ base: string[];
1841
+ gpu: string[];
1842
+ warm?: string | undefined;
1843
+ };
1844
+ gate?: {
1845
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
1846
+ service: string;
1847
+ } | undefined;
1848
+ internalControl?: {
1849
+ path: string;
1850
+ transport: "mtls";
1851
+ clientCommonName: "client-ai-lab-mode";
1852
+ } | undefined;
1853
+ }, {
1854
+ resource: "ai-gpu";
1855
+ role: "inference" | "training" | "controller";
1856
+ services: {
1857
+ base: string[];
1858
+ gpu: string[];
1859
+ warm?: string | undefined;
1860
+ };
1861
+ gate?: {
1862
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
1863
+ service: string;
1864
+ } | undefined;
1865
+ internalControl?: {
1866
+ path: string;
1867
+ transport: "mtls";
1868
+ clientCommonName: "client-ai-lab-mode";
1869
+ } | undefined;
1870
+ }>>;
1780
1871
  }, "strict", z.ZodTypeAny, {
1781
1872
  dependencies: {
1782
1873
  id: string;
@@ -1796,6 +1887,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1796
1887
  componentId: string;
1797
1888
  configuration: {
1798
1889
  environment: {
1890
+ source: "configuration" | "manager";
1799
1891
  name: string;
1800
1892
  required: boolean;
1801
1893
  default?: string | undefined;
@@ -1846,6 +1938,24 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1846
1938
  backupRequired: boolean;
1847
1939
  }[];
1848
1940
  requiredCapabilities: string[];
1941
+ modeControl?: {
1942
+ resource: "ai-gpu";
1943
+ role: "inference" | "training" | "controller";
1944
+ services: {
1945
+ base: string[];
1946
+ gpu: string[];
1947
+ warm?: string | undefined;
1948
+ };
1949
+ gate?: {
1950
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
1951
+ service: string;
1952
+ } | undefined;
1953
+ internalControl?: {
1954
+ path: string;
1955
+ transport: "mtls";
1956
+ clientCommonName: "client-ai-lab-mode";
1957
+ } | undefined;
1958
+ } | undefined;
1849
1959
  }, {
1850
1960
  schemaVersion: "treeseed.package-runtime/v1";
1851
1961
  compose: {
@@ -1897,6 +2007,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1897
2007
  environment?: {
1898
2008
  name: string;
1899
2009
  required: boolean;
2010
+ source?: "configuration" | "manager" | undefined;
1900
2011
  default?: string | undefined;
1901
2012
  }[] | undefined;
1902
2013
  secretEnvironment?: {
@@ -1915,6 +2026,24 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1915
2026
  sensitive?: boolean | undefined;
1916
2027
  }[] | undefined;
1917
2028
  } | undefined;
2029
+ modeControl?: {
2030
+ resource: "ai-gpu";
2031
+ role: "inference" | "training" | "controller";
2032
+ services: {
2033
+ base: string[];
2034
+ gpu: string[];
2035
+ warm?: string | undefined;
2036
+ };
2037
+ gate?: {
2038
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2039
+ service: string;
2040
+ } | undefined;
2041
+ internalControl?: {
2042
+ path: string;
2043
+ transport: "mtls";
2044
+ clientCommonName: "client-ai-lab-mode";
2045
+ } | undefined;
2046
+ } | undefined;
1918
2047
  }>, {
1919
2048
  dependencies: {
1920
2049
  id: string;
@@ -1934,6 +2063,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1934
2063
  componentId: string;
1935
2064
  configuration: {
1936
2065
  environment: {
2066
+ source: "configuration" | "manager";
1937
2067
  name: string;
1938
2068
  required: boolean;
1939
2069
  default?: string | undefined;
@@ -1984,6 +2114,24 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
1984
2114
  backupRequired: boolean;
1985
2115
  }[];
1986
2116
  requiredCapabilities: string[];
2117
+ modeControl?: {
2118
+ resource: "ai-gpu";
2119
+ role: "inference" | "training" | "controller";
2120
+ services: {
2121
+ base: string[];
2122
+ gpu: string[];
2123
+ warm?: string | undefined;
2124
+ };
2125
+ gate?: {
2126
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2127
+ service: string;
2128
+ } | undefined;
2129
+ internalControl?: {
2130
+ path: string;
2131
+ transport: "mtls";
2132
+ clientCommonName: "client-ai-lab-mode";
2133
+ } | undefined;
2134
+ } | undefined;
1987
2135
  }, {
1988
2136
  schemaVersion: "treeseed.package-runtime/v1";
1989
2137
  compose: {
@@ -2035,6 +2183,7 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
2035
2183
  environment?: {
2036
2184
  name: string;
2037
2185
  required: boolean;
2186
+ source?: "configuration" | "manager" | undefined;
2038
2187
  default?: string | undefined;
2039
2188
  }[] | undefined;
2040
2189
  secretEnvironment?: {
@@ -2053,6 +2202,24 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
2053
2202
  sensitive?: boolean | undefined;
2054
2203
  }[] | undefined;
2055
2204
  } | undefined;
2205
+ modeControl?: {
2206
+ resource: "ai-gpu";
2207
+ role: "inference" | "training" | "controller";
2208
+ services: {
2209
+ base: string[];
2210
+ gpu: string[];
2211
+ warm?: string | undefined;
2212
+ };
2213
+ gate?: {
2214
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2215
+ service: string;
2216
+ } | undefined;
2217
+ internalControl?: {
2218
+ path: string;
2219
+ transport: "mtls";
2220
+ clientCommonName: "client-ai-lab-mode";
2221
+ } | undefined;
2222
+ } | undefined;
2056
2223
  }>;
2057
2224
  export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2058
2225
  schemaVersion: z.ZodLiteral<"treeseed.component-release/v1">;
@@ -2152,18 +2319,31 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2152
2319
  projectName: string;
2153
2320
  }>;
2154
2321
  configuration: z.ZodEffects<z.ZodDefault<z.ZodObject<{
2155
- environment: z.ZodDefault<z.ZodArray<z.ZodObject<{
2322
+ environment: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
2156
2323
  name: z.ZodString;
2157
2324
  required: z.ZodBoolean;
2325
+ source: z.ZodDefault<z.ZodEnum<["configuration", "manager"]>>;
2158
2326
  default: z.ZodOptional<z.ZodString>;
2159
2327
  }, "strict", z.ZodTypeAny, {
2328
+ source: "configuration" | "manager";
2160
2329
  name: string;
2161
2330
  required: boolean;
2162
2331
  default?: string | undefined;
2163
2332
  }, {
2333
+ name: string;
2334
+ required: boolean;
2335
+ source?: "configuration" | "manager" | undefined;
2336
+ default?: string | undefined;
2337
+ }>, {
2338
+ source: "configuration" | "manager";
2164
2339
  name: string;
2165
2340
  required: boolean;
2166
2341
  default?: string | undefined;
2342
+ }, {
2343
+ name: string;
2344
+ required: boolean;
2345
+ source?: "configuration" | "manager" | undefined;
2346
+ default?: string | undefined;
2167
2347
  }>, "many">>;
2168
2348
  secretEnvironment: z.ZodDefault<z.ZodArray<z.ZodObject<{
2169
2349
  name: z.ZodString;
@@ -2206,6 +2386,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2206
2386
  }>, "many">>;
2207
2387
  }, "strict", z.ZodTypeAny, {
2208
2388
  environment: {
2389
+ source: "configuration" | "manager";
2209
2390
  name: string;
2210
2391
  required: boolean;
2211
2392
  default?: string | undefined;
@@ -2229,6 +2410,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2229
2410
  environment?: {
2230
2411
  name: string;
2231
2412
  required: boolean;
2413
+ source?: "configuration" | "manager" | undefined;
2232
2414
  default?: string | undefined;
2233
2415
  }[] | undefined;
2234
2416
  secretEnvironment?: {
@@ -2248,6 +2430,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2248
2430
  }[] | undefined;
2249
2431
  }>>, {
2250
2432
  environment: {
2433
+ source: "configuration" | "manager";
2251
2434
  name: string;
2252
2435
  required: boolean;
2253
2436
  default?: string | undefined;
@@ -2271,6 +2454,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2271
2454
  environment?: {
2272
2455
  name: string;
2273
2456
  required: boolean;
2457
+ source?: "configuration" | "manager" | undefined;
2274
2458
  default?: string | undefined;
2275
2459
  }[] | undefined;
2276
2460
  secretEnvironment?: {
@@ -2451,6 +2635,80 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2451
2635
  locality: "local" | "remote" | "either";
2452
2636
  optional?: boolean | undefined;
2453
2637
  }>, "many">>;
2638
+ modeControl: z.ZodOptional<z.ZodObject<{
2639
+ resource: z.ZodLiteral<"ai-gpu">;
2640
+ role: z.ZodEnum<["inference", "training", "controller"]>;
2641
+ gate: z.ZodOptional<z.ZodObject<{
2642
+ service: z.ZodString;
2643
+ executable: z.ZodLiteral<"/usr/local/bin/treeseed-ai-gpu-gate">;
2644
+ }, "strict", z.ZodTypeAny, {
2645
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2646
+ service: string;
2647
+ }, {
2648
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2649
+ service: string;
2650
+ }>>;
2651
+ services: z.ZodObject<{
2652
+ base: z.ZodArray<z.ZodString, "many">;
2653
+ gpu: z.ZodArray<z.ZodString, "many">;
2654
+ warm: z.ZodOptional<z.ZodString>;
2655
+ }, "strict", z.ZodTypeAny, {
2656
+ base: string[];
2657
+ gpu: string[];
2658
+ warm?: string | undefined;
2659
+ }, {
2660
+ base: string[];
2661
+ gpu: string[];
2662
+ warm?: string | undefined;
2663
+ }>;
2664
+ internalControl: z.ZodOptional<z.ZodObject<{
2665
+ transport: z.ZodLiteral<"mtls">;
2666
+ clientCommonName: z.ZodLiteral<"client-ai-lab-mode">;
2667
+ path: z.ZodLiteral<string>;
2668
+ }, "strict", z.ZodTypeAny, {
2669
+ path: string;
2670
+ transport: "mtls";
2671
+ clientCommonName: "client-ai-lab-mode";
2672
+ }, {
2673
+ path: string;
2674
+ transport: "mtls";
2675
+ clientCommonName: "client-ai-lab-mode";
2676
+ }>>;
2677
+ }, "strict", z.ZodTypeAny, {
2678
+ resource: "ai-gpu";
2679
+ role: "inference" | "training" | "controller";
2680
+ services: {
2681
+ base: string[];
2682
+ gpu: string[];
2683
+ warm?: string | undefined;
2684
+ };
2685
+ gate?: {
2686
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2687
+ service: string;
2688
+ } | undefined;
2689
+ internalControl?: {
2690
+ path: string;
2691
+ transport: "mtls";
2692
+ clientCommonName: "client-ai-lab-mode";
2693
+ } | undefined;
2694
+ }, {
2695
+ resource: "ai-gpu";
2696
+ role: "inference" | "training" | "controller";
2697
+ services: {
2698
+ base: string[];
2699
+ gpu: string[];
2700
+ warm?: string | undefined;
2701
+ };
2702
+ gate?: {
2703
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2704
+ service: string;
2705
+ } | undefined;
2706
+ internalControl?: {
2707
+ path: string;
2708
+ transport: "mtls";
2709
+ clientCommonName: "client-ai-lab-mode";
2710
+ } | undefined;
2711
+ }>>;
2454
2712
  }, "strict", z.ZodTypeAny, {
2455
2713
  dependencies: {
2456
2714
  id: string;
@@ -2470,6 +2728,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2470
2728
  componentId: string;
2471
2729
  configuration: {
2472
2730
  environment: {
2731
+ source: "configuration" | "manager";
2473
2732
  name: string;
2474
2733
  required: boolean;
2475
2734
  default?: string | undefined;
@@ -2520,6 +2779,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2520
2779
  backupRequired: boolean;
2521
2780
  }[];
2522
2781
  requiredCapabilities: string[];
2782
+ modeControl?: {
2783
+ resource: "ai-gpu";
2784
+ role: "inference" | "training" | "controller";
2785
+ services: {
2786
+ base: string[];
2787
+ gpu: string[];
2788
+ warm?: string | undefined;
2789
+ };
2790
+ gate?: {
2791
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2792
+ service: string;
2793
+ } | undefined;
2794
+ internalControl?: {
2795
+ path: string;
2796
+ transport: "mtls";
2797
+ clientCommonName: "client-ai-lab-mode";
2798
+ } | undefined;
2799
+ } | undefined;
2523
2800
  }, {
2524
2801
  schemaVersion: "treeseed.package-runtime/v1";
2525
2802
  compose: {
@@ -2571,6 +2848,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2571
2848
  environment?: {
2572
2849
  name: string;
2573
2850
  required: boolean;
2851
+ source?: "configuration" | "manager" | undefined;
2574
2852
  default?: string | undefined;
2575
2853
  }[] | undefined;
2576
2854
  secretEnvironment?: {
@@ -2589,6 +2867,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2589
2867
  sensitive?: boolean | undefined;
2590
2868
  }[] | undefined;
2591
2869
  } | undefined;
2870
+ modeControl?: {
2871
+ resource: "ai-gpu";
2872
+ role: "inference" | "training" | "controller";
2873
+ services: {
2874
+ base: string[];
2875
+ gpu: string[];
2876
+ warm?: string | undefined;
2877
+ };
2878
+ gate?: {
2879
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2880
+ service: string;
2881
+ } | undefined;
2882
+ internalControl?: {
2883
+ path: string;
2884
+ transport: "mtls";
2885
+ clientCommonName: "client-ai-lab-mode";
2886
+ } | undefined;
2887
+ } | undefined;
2592
2888
  }>, {
2593
2889
  dependencies: {
2594
2890
  id: string;
@@ -2608,6 +2904,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2608
2904
  componentId: string;
2609
2905
  configuration: {
2610
2906
  environment: {
2907
+ source: "configuration" | "manager";
2611
2908
  name: string;
2612
2909
  required: boolean;
2613
2910
  default?: string | undefined;
@@ -2658,6 +2955,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2658
2955
  backupRequired: boolean;
2659
2956
  }[];
2660
2957
  requiredCapabilities: string[];
2958
+ modeControl?: {
2959
+ resource: "ai-gpu";
2960
+ role: "inference" | "training" | "controller";
2961
+ services: {
2962
+ base: string[];
2963
+ gpu: string[];
2964
+ warm?: string | undefined;
2965
+ };
2966
+ gate?: {
2967
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
2968
+ service: string;
2969
+ } | undefined;
2970
+ internalControl?: {
2971
+ path: string;
2972
+ transport: "mtls";
2973
+ clientCommonName: "client-ai-lab-mode";
2974
+ } | undefined;
2975
+ } | undefined;
2661
2976
  }, {
2662
2977
  schemaVersion: "treeseed.package-runtime/v1";
2663
2978
  compose: {
@@ -2709,6 +3024,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2709
3024
  environment?: {
2710
3025
  name: string;
2711
3026
  required: boolean;
3027
+ source?: "configuration" | "manager" | undefined;
2712
3028
  default?: string | undefined;
2713
3029
  }[] | undefined;
2714
3030
  secretEnvironment?: {
@@ -2727,6 +3043,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2727
3043
  sensitive?: boolean | undefined;
2728
3044
  }[] | undefined;
2729
3045
  } | undefined;
3046
+ modeControl?: {
3047
+ resource: "ai-gpu";
3048
+ role: "inference" | "training" | "controller";
3049
+ services: {
3050
+ base: string[];
3051
+ gpu: string[];
3052
+ warm?: string | undefined;
3053
+ };
3054
+ gate?: {
3055
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
3056
+ service: string;
3057
+ } | undefined;
3058
+ internalControl?: {
3059
+ path: string;
3060
+ transport: "mtls";
3061
+ clientCommonName: "client-ai-lab-mode";
3062
+ } | undefined;
3063
+ } | undefined;
2730
3064
  }>;
2731
3065
  runtimeDigest: z.ZodString;
2732
3066
  rollback: z.ZodObject<{
@@ -2765,6 +3099,10 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2765
3099
  order: number;
2766
3100
  origin: "TreeSeed Deployment";
2767
3101
  }[];
3102
+ rollback: {
3103
+ compatible: boolean;
3104
+ requiresBackup: boolean;
3105
+ };
2768
3106
  componentId: string;
2769
3107
  track: "stable" | "development";
2770
3108
  runtime: {
@@ -2786,6 +3124,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2786
3124
  componentId: string;
2787
3125
  configuration: {
2788
3126
  environment: {
3127
+ source: "configuration" | "manager";
2789
3128
  name: string;
2790
3129
  required: boolean;
2791
3130
  default?: string | undefined;
@@ -2836,6 +3175,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2836
3175
  backupRequired: boolean;
2837
3176
  }[];
2838
3177
  requiredCapabilities: string[];
3178
+ modeControl?: {
3179
+ resource: "ai-gpu";
3180
+ role: "inference" | "training" | "controller";
3181
+ services: {
3182
+ base: string[];
3183
+ gpu: string[];
3184
+ warm?: string | undefined;
3185
+ };
3186
+ gate?: {
3187
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
3188
+ service: string;
3189
+ } | undefined;
3190
+ internalControl?: {
3191
+ path: string;
3192
+ transport: "mtls";
3193
+ clientCommonName: "client-ai-lab-mode";
3194
+ } | undefined;
3195
+ } | undefined;
2839
3196
  };
2840
3197
  release: string;
2841
3198
  applicationVersion: string;
@@ -2853,10 +3210,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2853
3210
  consumers: string[];
2854
3211
  }[];
2855
3212
  runtimeDigest: string;
2856
- rollback: {
2857
- compatible: boolean;
2858
- requiresBackup: boolean;
2859
- };
2860
3213
  evidence: {
2861
3214
  provenance: string[];
2862
3215
  sboms: string[];
@@ -2875,6 +3228,10 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2875
3228
  order: number;
2876
3229
  origin: "TreeSeed Deployment";
2877
3230
  }[];
3231
+ rollback: {
3232
+ compatible: boolean;
3233
+ requiresBackup: boolean;
3234
+ };
2878
3235
  componentId: string;
2879
3236
  track: "stable" | "development";
2880
3237
  runtime: {
@@ -2928,6 +3285,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2928
3285
  environment?: {
2929
3286
  name: string;
2930
3287
  required: boolean;
3288
+ source?: "configuration" | "manager" | undefined;
2931
3289
  default?: string | undefined;
2932
3290
  }[] | undefined;
2933
3291
  secretEnvironment?: {
@@ -2946,6 +3304,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2946
3304
  sensitive?: boolean | undefined;
2947
3305
  }[] | undefined;
2948
3306
  } | undefined;
3307
+ modeControl?: {
3308
+ resource: "ai-gpu";
3309
+ role: "inference" | "training" | "controller";
3310
+ services: {
3311
+ base: string[];
3312
+ gpu: string[];
3313
+ warm?: string | undefined;
3314
+ };
3315
+ gate?: {
3316
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
3317
+ service: string;
3318
+ } | undefined;
3319
+ internalControl?: {
3320
+ path: string;
3321
+ transport: "mtls";
3322
+ clientCommonName: "client-ai-lab-mode";
3323
+ } | undefined;
3324
+ } | undefined;
2949
3325
  };
2950
3326
  release: string;
2951
3327
  applicationVersion: string;
@@ -2963,10 +3339,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2963
3339
  consumers: string[];
2964
3340
  }[];
2965
3341
  runtimeDigest: string;
2966
- rollback: {
2967
- compatible: boolean;
2968
- requiresBackup: boolean;
2969
- };
2970
3342
  evidence: {
2971
3343
  provenance: string[];
2972
3344
  sboms: string[];
@@ -2985,6 +3357,10 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2985
3357
  order: number;
2986
3358
  origin: "TreeSeed Deployment";
2987
3359
  }[];
3360
+ rollback: {
3361
+ compatible: boolean;
3362
+ requiresBackup: boolean;
3363
+ };
2988
3364
  componentId: string;
2989
3365
  track: "stable" | "development";
2990
3366
  runtime: {
@@ -3006,6 +3382,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3006
3382
  componentId: string;
3007
3383
  configuration: {
3008
3384
  environment: {
3385
+ source: "configuration" | "manager";
3009
3386
  name: string;
3010
3387
  required: boolean;
3011
3388
  default?: string | undefined;
@@ -3056,6 +3433,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3056
3433
  backupRequired: boolean;
3057
3434
  }[];
3058
3435
  requiredCapabilities: string[];
3436
+ modeControl?: {
3437
+ resource: "ai-gpu";
3438
+ role: "inference" | "training" | "controller";
3439
+ services: {
3440
+ base: string[];
3441
+ gpu: string[];
3442
+ warm?: string | undefined;
3443
+ };
3444
+ gate?: {
3445
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
3446
+ service: string;
3447
+ } | undefined;
3448
+ internalControl?: {
3449
+ path: string;
3450
+ transport: "mtls";
3451
+ clientCommonName: "client-ai-lab-mode";
3452
+ } | undefined;
3453
+ } | undefined;
3059
3454
  };
3060
3455
  release: string;
3061
3456
  applicationVersion: string;
@@ -3073,10 +3468,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3073
3468
  consumers: string[];
3074
3469
  }[];
3075
3470
  runtimeDigest: string;
3076
- rollback: {
3077
- compatible: boolean;
3078
- requiresBackup: boolean;
3079
- };
3080
3471
  evidence: {
3081
3472
  provenance: string[];
3082
3473
  sboms: string[];
@@ -3095,6 +3486,10 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3095
3486
  order: number;
3096
3487
  origin: "TreeSeed Deployment";
3097
3488
  }[];
3489
+ rollback: {
3490
+ compatible: boolean;
3491
+ requiresBackup: boolean;
3492
+ };
3098
3493
  componentId: string;
3099
3494
  track: "stable" | "development";
3100
3495
  runtime: {
@@ -3148,6 +3543,7 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3148
3543
  environment?: {
3149
3544
  name: string;
3150
3545
  required: boolean;
3546
+ source?: "configuration" | "manager" | undefined;
3151
3547
  default?: string | undefined;
3152
3548
  }[] | undefined;
3153
3549
  secretEnvironment?: {
@@ -3166,6 +3562,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3166
3562
  sensitive?: boolean | undefined;
3167
3563
  }[] | undefined;
3168
3564
  } | undefined;
3565
+ modeControl?: {
3566
+ resource: "ai-gpu";
3567
+ role: "inference" | "training" | "controller";
3568
+ services: {
3569
+ base: string[];
3570
+ gpu: string[];
3571
+ warm?: string | undefined;
3572
+ };
3573
+ gate?: {
3574
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
3575
+ service: string;
3576
+ } | undefined;
3577
+ internalControl?: {
3578
+ path: string;
3579
+ transport: "mtls";
3580
+ clientCommonName: "client-ai-lab-mode";
3581
+ } | undefined;
3582
+ } | undefined;
3169
3583
  };
3170
3584
  release: string;
3171
3585
  applicationVersion: string;
@@ -3183,10 +3597,6 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3183
3597
  consumers: string[];
3184
3598
  }[];
3185
3599
  runtimeDigest: string;
3186
- rollback: {
3187
- compatible: boolean;
3188
- requiresBackup: boolean;
3189
- };
3190
3600
  evidence: {
3191
3601
  provenance: string[];
3192
3602
  sboms: string[];
@@ -3597,17 +4007,30 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3597
4007
  projectName: string;
3598
4008
  }>;
3599
4009
  configuration: z.ZodEffects<z.ZodDefault<z.ZodObject<{
3600
- environment: z.ZodDefault<z.ZodArray<z.ZodObject<{
4010
+ environment: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
3601
4011
  name: z.ZodString;
3602
4012
  required: z.ZodBoolean;
4013
+ source: z.ZodDefault<z.ZodEnum<["configuration", "manager"]>>;
3603
4014
  default: z.ZodOptional<z.ZodString>;
3604
4015
  }, "strict", z.ZodTypeAny, {
4016
+ source: "configuration" | "manager";
4017
+ name: string;
4018
+ required: boolean;
4019
+ default?: string | undefined;
4020
+ }, {
4021
+ name: string;
4022
+ required: boolean;
4023
+ source?: "configuration" | "manager" | undefined;
4024
+ default?: string | undefined;
4025
+ }>, {
4026
+ source: "configuration" | "manager";
3605
4027
  name: string;
3606
4028
  required: boolean;
3607
4029
  default?: string | undefined;
3608
4030
  }, {
3609
4031
  name: string;
3610
4032
  required: boolean;
4033
+ source?: "configuration" | "manager" | undefined;
3611
4034
  default?: string | undefined;
3612
4035
  }>, "many">>;
3613
4036
  secretEnvironment: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3651,6 +4074,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3651
4074
  }>, "many">>;
3652
4075
  }, "strict", z.ZodTypeAny, {
3653
4076
  environment: {
4077
+ source: "configuration" | "manager";
3654
4078
  name: string;
3655
4079
  required: boolean;
3656
4080
  default?: string | undefined;
@@ -3674,6 +4098,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3674
4098
  environment?: {
3675
4099
  name: string;
3676
4100
  required: boolean;
4101
+ source?: "configuration" | "manager" | undefined;
3677
4102
  default?: string | undefined;
3678
4103
  }[] | undefined;
3679
4104
  secretEnvironment?: {
@@ -3693,6 +4118,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3693
4118
  }[] | undefined;
3694
4119
  }>>, {
3695
4120
  environment: {
4121
+ source: "configuration" | "manager";
3696
4122
  name: string;
3697
4123
  required: boolean;
3698
4124
  default?: string | undefined;
@@ -3716,6 +4142,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3716
4142
  environment?: {
3717
4143
  name: string;
3718
4144
  required: boolean;
4145
+ source?: "configuration" | "manager" | undefined;
3719
4146
  default?: string | undefined;
3720
4147
  }[] | undefined;
3721
4148
  secretEnvironment?: {
@@ -3896,6 +4323,80 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3896
4323
  locality: "local" | "remote" | "either";
3897
4324
  optional?: boolean | undefined;
3898
4325
  }>, "many">>;
4326
+ modeControl: z.ZodOptional<z.ZodObject<{
4327
+ resource: z.ZodLiteral<"ai-gpu">;
4328
+ role: z.ZodEnum<["inference", "training", "controller"]>;
4329
+ gate: z.ZodOptional<z.ZodObject<{
4330
+ service: z.ZodString;
4331
+ executable: z.ZodLiteral<"/usr/local/bin/treeseed-ai-gpu-gate">;
4332
+ }, "strict", z.ZodTypeAny, {
4333
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4334
+ service: string;
4335
+ }, {
4336
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4337
+ service: string;
4338
+ }>>;
4339
+ services: z.ZodObject<{
4340
+ base: z.ZodArray<z.ZodString, "many">;
4341
+ gpu: z.ZodArray<z.ZodString, "many">;
4342
+ warm: z.ZodOptional<z.ZodString>;
4343
+ }, "strict", z.ZodTypeAny, {
4344
+ base: string[];
4345
+ gpu: string[];
4346
+ warm?: string | undefined;
4347
+ }, {
4348
+ base: string[];
4349
+ gpu: string[];
4350
+ warm?: string | undefined;
4351
+ }>;
4352
+ internalControl: z.ZodOptional<z.ZodObject<{
4353
+ transport: z.ZodLiteral<"mtls">;
4354
+ clientCommonName: z.ZodLiteral<"client-ai-lab-mode">;
4355
+ path: z.ZodLiteral<string>;
4356
+ }, "strict", z.ZodTypeAny, {
4357
+ path: string;
4358
+ transport: "mtls";
4359
+ clientCommonName: "client-ai-lab-mode";
4360
+ }, {
4361
+ path: string;
4362
+ transport: "mtls";
4363
+ clientCommonName: "client-ai-lab-mode";
4364
+ }>>;
4365
+ }, "strict", z.ZodTypeAny, {
4366
+ resource: "ai-gpu";
4367
+ role: "inference" | "training" | "controller";
4368
+ services: {
4369
+ base: string[];
4370
+ gpu: string[];
4371
+ warm?: string | undefined;
4372
+ };
4373
+ gate?: {
4374
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4375
+ service: string;
4376
+ } | undefined;
4377
+ internalControl?: {
4378
+ path: string;
4379
+ transport: "mtls";
4380
+ clientCommonName: "client-ai-lab-mode";
4381
+ } | undefined;
4382
+ }, {
4383
+ resource: "ai-gpu";
4384
+ role: "inference" | "training" | "controller";
4385
+ services: {
4386
+ base: string[];
4387
+ gpu: string[];
4388
+ warm?: string | undefined;
4389
+ };
4390
+ gate?: {
4391
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4392
+ service: string;
4393
+ } | undefined;
4394
+ internalControl?: {
4395
+ path: string;
4396
+ transport: "mtls";
4397
+ clientCommonName: "client-ai-lab-mode";
4398
+ } | undefined;
4399
+ }>>;
3899
4400
  }, "strict", z.ZodTypeAny, {
3900
4401
  dependencies: {
3901
4402
  id: string;
@@ -3915,6 +4416,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3915
4416
  componentId: string;
3916
4417
  configuration: {
3917
4418
  environment: {
4419
+ source: "configuration" | "manager";
3918
4420
  name: string;
3919
4421
  required: boolean;
3920
4422
  default?: string | undefined;
@@ -3965,6 +4467,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
3965
4467
  backupRequired: boolean;
3966
4468
  }[];
3967
4469
  requiredCapabilities: string[];
4470
+ modeControl?: {
4471
+ resource: "ai-gpu";
4472
+ role: "inference" | "training" | "controller";
4473
+ services: {
4474
+ base: string[];
4475
+ gpu: string[];
4476
+ warm?: string | undefined;
4477
+ };
4478
+ gate?: {
4479
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4480
+ service: string;
4481
+ } | undefined;
4482
+ internalControl?: {
4483
+ path: string;
4484
+ transport: "mtls";
4485
+ clientCommonName: "client-ai-lab-mode";
4486
+ } | undefined;
4487
+ } | undefined;
3968
4488
  }, {
3969
4489
  schemaVersion: "treeseed.package-runtime/v1";
3970
4490
  compose: {
@@ -4016,6 +4536,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4016
4536
  environment?: {
4017
4537
  name: string;
4018
4538
  required: boolean;
4539
+ source?: "configuration" | "manager" | undefined;
4019
4540
  default?: string | undefined;
4020
4541
  }[] | undefined;
4021
4542
  secretEnvironment?: {
@@ -4034,6 +4555,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4034
4555
  sensitive?: boolean | undefined;
4035
4556
  }[] | undefined;
4036
4557
  } | undefined;
4558
+ modeControl?: {
4559
+ resource: "ai-gpu";
4560
+ role: "inference" | "training" | "controller";
4561
+ services: {
4562
+ base: string[];
4563
+ gpu: string[];
4564
+ warm?: string | undefined;
4565
+ };
4566
+ gate?: {
4567
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4568
+ service: string;
4569
+ } | undefined;
4570
+ internalControl?: {
4571
+ path: string;
4572
+ transport: "mtls";
4573
+ clientCommonName: "client-ai-lab-mode";
4574
+ } | undefined;
4575
+ } | undefined;
4037
4576
  }>, {
4038
4577
  dependencies: {
4039
4578
  id: string;
@@ -4053,6 +4592,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4053
4592
  componentId: string;
4054
4593
  configuration: {
4055
4594
  environment: {
4595
+ source: "configuration" | "manager";
4056
4596
  name: string;
4057
4597
  required: boolean;
4058
4598
  default?: string | undefined;
@@ -4103,6 +4643,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4103
4643
  backupRequired: boolean;
4104
4644
  }[];
4105
4645
  requiredCapabilities: string[];
4646
+ modeControl?: {
4647
+ resource: "ai-gpu";
4648
+ role: "inference" | "training" | "controller";
4649
+ services: {
4650
+ base: string[];
4651
+ gpu: string[];
4652
+ warm?: string | undefined;
4653
+ };
4654
+ gate?: {
4655
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4656
+ service: string;
4657
+ } | undefined;
4658
+ internalControl?: {
4659
+ path: string;
4660
+ transport: "mtls";
4661
+ clientCommonName: "client-ai-lab-mode";
4662
+ } | undefined;
4663
+ } | undefined;
4106
4664
  }, {
4107
4665
  schemaVersion: "treeseed.package-runtime/v1";
4108
4666
  compose: {
@@ -4154,6 +4712,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4154
4712
  environment?: {
4155
4713
  name: string;
4156
4714
  required: boolean;
4715
+ source?: "configuration" | "manager" | undefined;
4157
4716
  default?: string | undefined;
4158
4717
  }[] | undefined;
4159
4718
  secretEnvironment?: {
@@ -4172,6 +4731,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4172
4731
  sensitive?: boolean | undefined;
4173
4732
  }[] | undefined;
4174
4733
  } | undefined;
4734
+ modeControl?: {
4735
+ resource: "ai-gpu";
4736
+ role: "inference" | "training" | "controller";
4737
+ services: {
4738
+ base: string[];
4739
+ gpu: string[];
4740
+ warm?: string | undefined;
4741
+ };
4742
+ gate?: {
4743
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4744
+ service: string;
4745
+ } | undefined;
4746
+ internalControl?: {
4747
+ path: string;
4748
+ transport: "mtls";
4749
+ clientCommonName: "client-ai-lab-mode";
4750
+ } | undefined;
4751
+ } | undefined;
4175
4752
  }>;
4176
4753
  runtimeDigest: z.ZodString;
4177
4754
  rollback: z.ZodObject<{
@@ -4210,6 +4787,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4210
4787
  order: number;
4211
4788
  origin: "TreeSeed Deployment";
4212
4789
  }[];
4790
+ rollback: {
4791
+ compatible: boolean;
4792
+ requiresBackup: boolean;
4793
+ };
4213
4794
  componentId: string;
4214
4795
  track: "stable" | "development";
4215
4796
  runtime: {
@@ -4231,6 +4812,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4231
4812
  componentId: string;
4232
4813
  configuration: {
4233
4814
  environment: {
4815
+ source: "configuration" | "manager";
4234
4816
  name: string;
4235
4817
  required: boolean;
4236
4818
  default?: string | undefined;
@@ -4281,6 +4863,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4281
4863
  backupRequired: boolean;
4282
4864
  }[];
4283
4865
  requiredCapabilities: string[];
4866
+ modeControl?: {
4867
+ resource: "ai-gpu";
4868
+ role: "inference" | "training" | "controller";
4869
+ services: {
4870
+ base: string[];
4871
+ gpu: string[];
4872
+ warm?: string | undefined;
4873
+ };
4874
+ gate?: {
4875
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
4876
+ service: string;
4877
+ } | undefined;
4878
+ internalControl?: {
4879
+ path: string;
4880
+ transport: "mtls";
4881
+ clientCommonName: "client-ai-lab-mode";
4882
+ } | undefined;
4883
+ } | undefined;
4284
4884
  };
4285
4885
  release: string;
4286
4886
  applicationVersion: string;
@@ -4298,10 +4898,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4298
4898
  consumers: string[];
4299
4899
  }[];
4300
4900
  runtimeDigest: string;
4301
- rollback: {
4302
- compatible: boolean;
4303
- requiresBackup: boolean;
4304
- };
4305
4901
  evidence: {
4306
4902
  provenance: string[];
4307
4903
  sboms: string[];
@@ -4320,6 +4916,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4320
4916
  order: number;
4321
4917
  origin: "TreeSeed Deployment";
4322
4918
  }[];
4919
+ rollback: {
4920
+ compatible: boolean;
4921
+ requiresBackup: boolean;
4922
+ };
4323
4923
  componentId: string;
4324
4924
  track: "stable" | "development";
4325
4925
  runtime: {
@@ -4373,6 +4973,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4373
4973
  environment?: {
4374
4974
  name: string;
4375
4975
  required: boolean;
4976
+ source?: "configuration" | "manager" | undefined;
4376
4977
  default?: string | undefined;
4377
4978
  }[] | undefined;
4378
4979
  secretEnvironment?: {
@@ -4391,6 +4992,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4391
4992
  sensitive?: boolean | undefined;
4392
4993
  }[] | undefined;
4393
4994
  } | undefined;
4995
+ modeControl?: {
4996
+ resource: "ai-gpu";
4997
+ role: "inference" | "training" | "controller";
4998
+ services: {
4999
+ base: string[];
5000
+ gpu: string[];
5001
+ warm?: string | undefined;
5002
+ };
5003
+ gate?: {
5004
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
5005
+ service: string;
5006
+ } | undefined;
5007
+ internalControl?: {
5008
+ path: string;
5009
+ transport: "mtls";
5010
+ clientCommonName: "client-ai-lab-mode";
5011
+ } | undefined;
5012
+ } | undefined;
4394
5013
  };
4395
5014
  release: string;
4396
5015
  applicationVersion: string;
@@ -4408,10 +5027,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4408
5027
  consumers: string[];
4409
5028
  }[];
4410
5029
  runtimeDigest: string;
4411
- rollback: {
4412
- compatible: boolean;
4413
- requiresBackup: boolean;
4414
- };
4415
5030
  evidence: {
4416
5031
  provenance: string[];
4417
5032
  sboms: string[];
@@ -4430,6 +5045,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4430
5045
  order: number;
4431
5046
  origin: "TreeSeed Deployment";
4432
5047
  }[];
5048
+ rollback: {
5049
+ compatible: boolean;
5050
+ requiresBackup: boolean;
5051
+ };
4433
5052
  componentId: string;
4434
5053
  track: "stable" | "development";
4435
5054
  runtime: {
@@ -4451,6 +5070,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4451
5070
  componentId: string;
4452
5071
  configuration: {
4453
5072
  environment: {
5073
+ source: "configuration" | "manager";
4454
5074
  name: string;
4455
5075
  required: boolean;
4456
5076
  default?: string | undefined;
@@ -4501,6 +5121,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4501
5121
  backupRequired: boolean;
4502
5122
  }[];
4503
5123
  requiredCapabilities: string[];
5124
+ modeControl?: {
5125
+ resource: "ai-gpu";
5126
+ role: "inference" | "training" | "controller";
5127
+ services: {
5128
+ base: string[];
5129
+ gpu: string[];
5130
+ warm?: string | undefined;
5131
+ };
5132
+ gate?: {
5133
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
5134
+ service: string;
5135
+ } | undefined;
5136
+ internalControl?: {
5137
+ path: string;
5138
+ transport: "mtls";
5139
+ clientCommonName: "client-ai-lab-mode";
5140
+ } | undefined;
5141
+ } | undefined;
4504
5142
  };
4505
5143
  release: string;
4506
5144
  applicationVersion: string;
@@ -4518,10 +5156,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4518
5156
  consumers: string[];
4519
5157
  }[];
4520
5158
  runtimeDigest: string;
4521
- rollback: {
4522
- compatible: boolean;
4523
- requiresBackup: boolean;
4524
- };
4525
5159
  evidence: {
4526
5160
  provenance: string[];
4527
5161
  sboms: string[];
@@ -4540,6 +5174,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4540
5174
  order: number;
4541
5175
  origin: "TreeSeed Deployment";
4542
5176
  }[];
5177
+ rollback: {
5178
+ compatible: boolean;
5179
+ requiresBackup: boolean;
5180
+ };
4543
5181
  componentId: string;
4544
5182
  track: "stable" | "development";
4545
5183
  runtime: {
@@ -4593,6 +5231,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4593
5231
  environment?: {
4594
5232
  name: string;
4595
5233
  required: boolean;
5234
+ source?: "configuration" | "manager" | undefined;
4596
5235
  default?: string | undefined;
4597
5236
  }[] | undefined;
4598
5237
  secretEnvironment?: {
@@ -4611,6 +5250,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4611
5250
  sensitive?: boolean | undefined;
4612
5251
  }[] | undefined;
4613
5252
  } | undefined;
5253
+ modeControl?: {
5254
+ resource: "ai-gpu";
5255
+ role: "inference" | "training" | "controller";
5256
+ services: {
5257
+ base: string[];
5258
+ gpu: string[];
5259
+ warm?: string | undefined;
5260
+ };
5261
+ gate?: {
5262
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
5263
+ service: string;
5264
+ } | undefined;
5265
+ internalControl?: {
5266
+ path: string;
5267
+ transport: "mtls";
5268
+ clientCommonName: "client-ai-lab-mode";
5269
+ } | undefined;
5270
+ } | undefined;
4614
5271
  };
4615
5272
  release: string;
4616
5273
  applicationVersion: string;
@@ -4628,10 +5285,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4628
5285
  consumers: string[];
4629
5286
  }[];
4630
5287
  runtimeDigest: string;
4631
- rollback: {
4632
- compatible: boolean;
4633
- requiresBackup: boolean;
4634
- };
4635
5288
  evidence: {
4636
5289
  provenance: string[];
4637
5290
  sboms: string[];
@@ -4657,6 +5310,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4657
5310
  order: number;
4658
5311
  origin: "TreeSeed Deployment";
4659
5312
  }[];
5313
+ rollback: {
5314
+ compatible: boolean;
5315
+ requiresBackup: boolean;
5316
+ };
4660
5317
  componentId: string;
4661
5318
  track: "stable" | "development";
4662
5319
  runtime: {
@@ -4678,6 +5335,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4678
5335
  componentId: string;
4679
5336
  configuration: {
4680
5337
  environment: {
5338
+ source: "configuration" | "manager";
4681
5339
  name: string;
4682
5340
  required: boolean;
4683
5341
  default?: string | undefined;
@@ -4728,6 +5386,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4728
5386
  backupRequired: boolean;
4729
5387
  }[];
4730
5388
  requiredCapabilities: string[];
5389
+ modeControl?: {
5390
+ resource: "ai-gpu";
5391
+ role: "inference" | "training" | "controller";
5392
+ services: {
5393
+ base: string[];
5394
+ gpu: string[];
5395
+ warm?: string | undefined;
5396
+ };
5397
+ gate?: {
5398
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
5399
+ service: string;
5400
+ } | undefined;
5401
+ internalControl?: {
5402
+ path: string;
5403
+ transport: "mtls";
5404
+ clientCommonName: "client-ai-lab-mode";
5405
+ } | undefined;
5406
+ } | undefined;
4731
5407
  };
4732
5408
  release: string;
4733
5409
  applicationVersion: string;
@@ -4745,10 +5421,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4745
5421
  consumers: string[];
4746
5422
  }[];
4747
5423
  runtimeDigest: string;
4748
- rollback: {
4749
- compatible: boolean;
4750
- requiresBackup: boolean;
4751
- };
4752
5424
  evidence: {
4753
5425
  provenance: string[];
4754
5426
  sboms: string[];
@@ -4780,6 +5452,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4780
5452
  order: number;
4781
5453
  origin: "TreeSeed Deployment";
4782
5454
  }[];
5455
+ rollback: {
5456
+ compatible: boolean;
5457
+ requiresBackup: boolean;
5458
+ };
4783
5459
  componentId: string;
4784
5460
  track: "stable" | "development";
4785
5461
  runtime: {
@@ -4833,6 +5509,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4833
5509
  environment?: {
4834
5510
  name: string;
4835
5511
  required: boolean;
5512
+ source?: "configuration" | "manager" | undefined;
4836
5513
  default?: string | undefined;
4837
5514
  }[] | undefined;
4838
5515
  secretEnvironment?: {
@@ -4851,6 +5528,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4851
5528
  sensitive?: boolean | undefined;
4852
5529
  }[] | undefined;
4853
5530
  } | undefined;
5531
+ modeControl?: {
5532
+ resource: "ai-gpu";
5533
+ role: "inference" | "training" | "controller";
5534
+ services: {
5535
+ base: string[];
5536
+ gpu: string[];
5537
+ warm?: string | undefined;
5538
+ };
5539
+ gate?: {
5540
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
5541
+ service: string;
5542
+ } | undefined;
5543
+ internalControl?: {
5544
+ path: string;
5545
+ transport: "mtls";
5546
+ clientCommonName: "client-ai-lab-mode";
5547
+ } | undefined;
5548
+ } | undefined;
4854
5549
  };
4855
5550
  release: string;
4856
5551
  applicationVersion: string;
@@ -4868,10 +5563,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4868
5563
  consumers: string[];
4869
5564
  }[];
4870
5565
  runtimeDigest: string;
4871
- rollback: {
4872
- compatible: boolean;
4873
- requiresBackup: boolean;
4874
- };
4875
5566
  evidence: {
4876
5567
  provenance: string[];
4877
5568
  sboms: string[];
@@ -4903,6 +5594,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4903
5594
  order: number;
4904
5595
  origin: "TreeSeed Deployment";
4905
5596
  }[];
5597
+ rollback: {
5598
+ compatible: boolean;
5599
+ requiresBackup: boolean;
5600
+ };
4906
5601
  componentId: string;
4907
5602
  track: "stable" | "development";
4908
5603
  runtime: {
@@ -4924,6 +5619,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4924
5619
  componentId: string;
4925
5620
  configuration: {
4926
5621
  environment: {
5622
+ source: "configuration" | "manager";
4927
5623
  name: string;
4928
5624
  required: boolean;
4929
5625
  default?: string | undefined;
@@ -4974,6 +5670,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4974
5670
  backupRequired: boolean;
4975
5671
  }[];
4976
5672
  requiredCapabilities: string[];
5673
+ modeControl?: {
5674
+ resource: "ai-gpu";
5675
+ role: "inference" | "training" | "controller";
5676
+ services: {
5677
+ base: string[];
5678
+ gpu: string[];
5679
+ warm?: string | undefined;
5680
+ };
5681
+ gate?: {
5682
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
5683
+ service: string;
5684
+ } | undefined;
5685
+ internalControl?: {
5686
+ path: string;
5687
+ transport: "mtls";
5688
+ clientCommonName: "client-ai-lab-mode";
5689
+ } | undefined;
5690
+ } | undefined;
4977
5691
  };
4978
5692
  release: string;
4979
5693
  applicationVersion: string;
@@ -4991,10 +5705,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4991
5705
  consumers: string[];
4992
5706
  }[];
4993
5707
  runtimeDigest: string;
4994
- rollback: {
4995
- compatible: boolean;
4996
- requiresBackup: boolean;
4997
- };
4998
5708
  evidence: {
4999
5709
  provenance: string[];
5000
5710
  sboms: string[];
@@ -5026,6 +5736,10 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5026
5736
  order: number;
5027
5737
  origin: "TreeSeed Deployment";
5028
5738
  }[];
5739
+ rollback: {
5740
+ compatible: boolean;
5741
+ requiresBackup: boolean;
5742
+ };
5029
5743
  componentId: string;
5030
5744
  track: "stable" | "development";
5031
5745
  runtime: {
@@ -5079,6 +5793,7 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5079
5793
  environment?: {
5080
5794
  name: string;
5081
5795
  required: boolean;
5796
+ source?: "configuration" | "manager" | undefined;
5082
5797
  default?: string | undefined;
5083
5798
  }[] | undefined;
5084
5799
  secretEnvironment?: {
@@ -5097,6 +5812,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5097
5812
  sensitive?: boolean | undefined;
5098
5813
  }[] | undefined;
5099
5814
  } | undefined;
5815
+ modeControl?: {
5816
+ resource: "ai-gpu";
5817
+ role: "inference" | "training" | "controller";
5818
+ services: {
5819
+ base: string[];
5820
+ gpu: string[];
5821
+ warm?: string | undefined;
5822
+ };
5823
+ gate?: {
5824
+ executable: "/usr/local/bin/treeseed-ai-gpu-gate";
5825
+ service: string;
5826
+ } | undefined;
5827
+ internalControl?: {
5828
+ path: string;
5829
+ transport: "mtls";
5830
+ clientCommonName: "client-ai-lab-mode";
5831
+ } | undefined;
5832
+ } | undefined;
5100
5833
  };
5101
5834
  release: string;
5102
5835
  applicationVersion: string;
@@ -5114,10 +5847,6 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5114
5847
  consumers: string[];
5115
5848
  }[];
5116
5849
  runtimeDigest: string;
5117
- rollback: {
5118
- compatible: boolean;
5119
- requiresBackup: boolean;
5120
- };
5121
5850
  evidence: {
5122
5851
  provenance: string[];
5123
5852
  sboms: string[];
@@ -5143,15 +5872,15 @@ export declare const hostPlanSchema: z.ZodObject<{
5143
5872
  from: z.ZodNullable<z.ZodString>;
5144
5873
  to: z.ZodNullable<z.ZodString>;
5145
5874
  }, "strict", z.ZodTypeAny, {
5146
- componentId: string;
5147
- action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
5148
5875
  from: string | null;
5149
5876
  to: string | null;
5150
- }, {
5151
5877
  componentId: string;
5152
5878
  action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
5879
+ }, {
5153
5880
  from: string | null;
5154
5881
  to: string | null;
5882
+ componentId: string;
5883
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
5155
5884
  }>, "many">;
5156
5885
  blockers: z.ZodArray<z.ZodObject<{
5157
5886
  code: z.ZodString;
@@ -5173,10 +5902,10 @@ export declare const hostPlanSchema: z.ZodObject<{
5173
5902
  catalogDigest: string;
5174
5903
  planId: string;
5175
5904
  changes: {
5176
- componentId: string;
5177
- action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
5178
5905
  from: string | null;
5179
5906
  to: string | null;
5907
+ componentId: string;
5908
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
5180
5909
  }[];
5181
5910
  }, {
5182
5911
  schemaVersion: "treeseed.host-plan/v1";
@@ -5188,10 +5917,10 @@ export declare const hostPlanSchema: z.ZodObject<{
5188
5917
  catalogDigest: string;
5189
5918
  planId: string;
5190
5919
  changes: {
5191
- componentId: string;
5192
- action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
5193
5920
  from: string | null;
5194
5921
  to: string | null;
5922
+ componentId: string;
5923
+ action: "install" | "upgrade" | "reconfigure" | "remove" | "noop";
5195
5924
  }[];
5196
5925
  }>;
5197
5926
  export declare const hostBootstrapSchema: z.ZodObject<{
@@ -5311,14 +6040,14 @@ export declare const hostUpdateSchema: z.ZodObject<{
5311
6040
  to: z.ZodString;
5312
6041
  imageDigests: z.ZodArray<z.ZodString, "many">;
5313
6042
  }, "strict", z.ZodTypeAny, {
5314
- componentId: string;
5315
6043
  from: string | null;
5316
6044
  to: string;
6045
+ componentId: string;
5317
6046
  imageDigests: string[];
5318
6047
  }, {
5319
- componentId: string;
5320
6048
  from: string | null;
5321
6049
  to: string;
6050
+ componentId: string;
5322
6051
  imageDigests: string[];
5323
6052
  }>, "many">;
5324
6053
  activation: z.ZodObject<{
@@ -5337,12 +6066,12 @@ export declare const hostUpdateSchema: z.ZodObject<{
5337
6066
  state: z.ZodEnum<["planned", "draining", "applying", "healthy", "failed", "rolled-back"]>;
5338
6067
  }, "strict", z.ZodTypeAny, {
5339
6068
  schemaVersion: "treeseed.host-update/v1";
5340
- state: "failed" | "planned" | "draining" | "applying" | "healthy" | "rolled-back";
6069
+ state: "failed" | "planned" | "rolled-back" | "draining" | "applying" | "healthy";
5341
6070
  track: "stable" | "development";
5342
6071
  components: {
5343
- componentId: string;
5344
6072
  from: string | null;
5345
6073
  to: string;
6074
+ componentId: string;
5346
6075
  imageDigests: string[];
5347
6076
  }[];
5348
6077
  updateId: string;
@@ -5355,12 +6084,12 @@ export declare const hostUpdateSchema: z.ZodObject<{
5355
6084
  };
5356
6085
  }, {
5357
6086
  schemaVersion: "treeseed.host-update/v1";
5358
- state: "failed" | "planned" | "draining" | "applying" | "healthy" | "rolled-back";
6087
+ state: "failed" | "planned" | "rolled-back" | "draining" | "applying" | "healthy";
5359
6088
  track: "stable" | "development";
5360
6089
  components: {
5361
- componentId: string;
5362
6090
  from: string | null;
5363
6091
  to: string;
6092
+ componentId: string;
5364
6093
  imageDigests: string[];
5365
6094
  }[];
5366
6095
  updateId: string;
@@ -5595,25 +6324,25 @@ export declare const hostRecoverySchema: z.ZodObject<{
5595
6324
  completedAt: z.ZodNullable<z.ZodString>;
5596
6325
  }, "strict", z.ZodTypeAny, {
5597
6326
  schemaVersion: "treeseed.host-recovery/v1";
5598
- state: "pending" | "failed" | "healthy" | "running";
6327
+ state: "pending" | "failed" | "running" | "healthy";
5599
6328
  completedAt: string | null;
5600
6329
  componentId: string | null;
5601
6330
  action: "rollback" | "retry" | "restore";
5602
6331
  receiptId: string;
5603
6332
  backupId: string | null;
5604
6333
  recoveryId: string;
5605
- trigger: "health-gate" | "operator" | "boot" | "interrupted-update";
6334
+ trigger: "operator" | "health-gate" | "boot" | "interrupted-update";
5606
6335
  targetGeneration: number;
5607
6336
  }, {
5608
6337
  schemaVersion: "treeseed.host-recovery/v1";
5609
- state: "pending" | "failed" | "healthy" | "running";
6338
+ state: "pending" | "failed" | "running" | "healthy";
5610
6339
  completedAt: string | null;
5611
6340
  componentId: string | null;
5612
6341
  action: "rollback" | "retry" | "restore";
5613
6342
  receiptId: string;
5614
6343
  backupId: string | null;
5615
6344
  recoveryId: string;
5616
- trigger: "health-gate" | "operator" | "boot" | "interrupted-update";
6345
+ trigger: "operator" | "health-gate" | "boot" | "interrupted-update";
5617
6346
  targetGeneration: number;
5618
6347
  }>;
5619
6348
  export type DeploymentTrack = z.infer<typeof deploymentTrackSchema>;