@treeseed/sdk 0.13.0-rc.102 → 0.13.0-rc.104
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.
- package/dist/.treeseed-build-complete.json +1 -1
- package/dist/deployment/index.d.ts +1 -0
- package/dist/deployment/index.js +1 -0
- package/dist/deployment/postgres/contracts.js +5 -1
- package/dist/deployment/postgres/requirements.d.ts +14 -0
- package/dist/deployment/postgres/requirements.js +30 -0
- package/dist/deployment/schemas.d.ts +1173 -4
- package/dist/deployment/schemas.js +32 -2
- package/package.json +1 -1
|
@@ -552,7 +552,7 @@ export declare const hostComponentSchema: z.ZodObject<{
|
|
|
552
552
|
};
|
|
553
553
|
}> | undefined;
|
|
554
554
|
}>;
|
|
555
|
-
export declare const hostConfigurationSchema: z.ZodObject<{
|
|
555
|
+
export declare const hostConfigurationSchema: z.ZodEffects<z.ZodObject<{
|
|
556
556
|
schemaVersion: z.ZodLiteral<"treeseed.host/v1">;
|
|
557
557
|
configurationId: z.ZodString;
|
|
558
558
|
generation: z.ZodNumber;
|
|
@@ -908,6 +908,278 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
908
908
|
};
|
|
909
909
|
}> | undefined;
|
|
910
910
|
}>>;
|
|
911
|
+
postgres: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
912
|
+
schemaVersion: z.ZodLiteral<"treeseed.postgres-topology/v1">;
|
|
913
|
+
installationId: z.ZodString;
|
|
914
|
+
environment: z.ZodEnum<["staging", "production"]>;
|
|
915
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
916
|
+
id: z.ZodString;
|
|
917
|
+
installationId: z.ZodString;
|
|
918
|
+
environment: z.ZodEnum<["staging", "production"]>;
|
|
919
|
+
mode: z.ZodEnum<["shared", "dedicated", "external"]>;
|
|
920
|
+
hostname: z.ZodString;
|
|
921
|
+
port: z.ZodNumber;
|
|
922
|
+
major: z.ZodNumber;
|
|
923
|
+
extensions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
|
|
924
|
+
tls: z.ZodObject<{
|
|
925
|
+
mode: z.ZodLiteral<"verify-full">;
|
|
926
|
+
trustReference: z.ZodString;
|
|
927
|
+
}, "strict", z.ZodTypeAny, {
|
|
928
|
+
mode: "verify-full";
|
|
929
|
+
trustReference: string;
|
|
930
|
+
}, {
|
|
931
|
+
mode: "verify-full";
|
|
932
|
+
trustReference: string;
|
|
933
|
+
}>;
|
|
934
|
+
}, "strict", z.ZodTypeAny, {
|
|
935
|
+
id: string;
|
|
936
|
+
mode: "shared" | "dedicated" | "external";
|
|
937
|
+
environment: "production" | "staging";
|
|
938
|
+
port: number;
|
|
939
|
+
major: number;
|
|
940
|
+
extensions: string[];
|
|
941
|
+
installationId: string;
|
|
942
|
+
hostname: string;
|
|
943
|
+
tls: {
|
|
944
|
+
mode: "verify-full";
|
|
945
|
+
trustReference: string;
|
|
946
|
+
};
|
|
947
|
+
}, {
|
|
948
|
+
id: string;
|
|
949
|
+
mode: "shared" | "dedicated" | "external";
|
|
950
|
+
environment: "production" | "staging";
|
|
951
|
+
port: number;
|
|
952
|
+
major: number;
|
|
953
|
+
extensions: string[];
|
|
954
|
+
installationId: string;
|
|
955
|
+
hostname: string;
|
|
956
|
+
tls: {
|
|
957
|
+
mode: "verify-full";
|
|
958
|
+
trustReference: string;
|
|
959
|
+
};
|
|
960
|
+
}>, "many">;
|
|
961
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
962
|
+
id: z.ZodString;
|
|
963
|
+
componentId: z.ZodString;
|
|
964
|
+
enabled: z.ZodBoolean;
|
|
965
|
+
supportedMajors: z.ZodEffects<z.ZodArray<z.ZodNumber, "atleastone">, [number, ...number[]], [number, ...number[]]>;
|
|
966
|
+
extensions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
|
|
967
|
+
runtimeConnectionLimit: z.ZodNumber;
|
|
968
|
+
}, "strict", z.ZodTypeAny, {
|
|
969
|
+
id: string;
|
|
970
|
+
componentId: string;
|
|
971
|
+
enabled: boolean;
|
|
972
|
+
supportedMajors: [number, ...number[]];
|
|
973
|
+
extensions: string[];
|
|
974
|
+
runtimeConnectionLimit: number;
|
|
975
|
+
}, {
|
|
976
|
+
id: string;
|
|
977
|
+
componentId: string;
|
|
978
|
+
enabled: boolean;
|
|
979
|
+
supportedMajors: [number, ...number[]];
|
|
980
|
+
extensions: string[];
|
|
981
|
+
runtimeConnectionLimit: number;
|
|
982
|
+
}>, "many">;
|
|
983
|
+
allocations: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
984
|
+
requirementId: z.ZodString;
|
|
985
|
+
serverId: z.ZodString;
|
|
986
|
+
database: z.ZodEffects<z.ZodString, string, string>;
|
|
987
|
+
ownerRole: z.ZodEffects<z.ZodString, string, string>;
|
|
988
|
+
migrationRole: z.ZodEffects<z.ZodString, string, string>;
|
|
989
|
+
runtimeRole: z.ZodEffects<z.ZodString, string, string>;
|
|
990
|
+
migrationCredentialReference: z.ZodString;
|
|
991
|
+
runtimeCredentialReference: z.ZodString;
|
|
992
|
+
onDisable: z.ZodLiteral<"preserve">;
|
|
993
|
+
}, "strict", z.ZodTypeAny, {
|
|
994
|
+
requirementId: string;
|
|
995
|
+
serverId: string;
|
|
996
|
+
database: string;
|
|
997
|
+
ownerRole: string;
|
|
998
|
+
migrationRole: string;
|
|
999
|
+
runtimeRole: string;
|
|
1000
|
+
migrationCredentialReference: string;
|
|
1001
|
+
runtimeCredentialReference: string;
|
|
1002
|
+
onDisable: "preserve";
|
|
1003
|
+
}, {
|
|
1004
|
+
requirementId: string;
|
|
1005
|
+
serverId: string;
|
|
1006
|
+
database: string;
|
|
1007
|
+
ownerRole: string;
|
|
1008
|
+
migrationRole: string;
|
|
1009
|
+
runtimeRole: string;
|
|
1010
|
+
migrationCredentialReference: string;
|
|
1011
|
+
runtimeCredentialReference: string;
|
|
1012
|
+
onDisable: "preserve";
|
|
1013
|
+
}>, {
|
|
1014
|
+
requirementId: string;
|
|
1015
|
+
serverId: string;
|
|
1016
|
+
database: string;
|
|
1017
|
+
ownerRole: string;
|
|
1018
|
+
migrationRole: string;
|
|
1019
|
+
runtimeRole: string;
|
|
1020
|
+
migrationCredentialReference: string;
|
|
1021
|
+
runtimeCredentialReference: string;
|
|
1022
|
+
onDisable: "preserve";
|
|
1023
|
+
}, {
|
|
1024
|
+
requirementId: string;
|
|
1025
|
+
serverId: string;
|
|
1026
|
+
database: string;
|
|
1027
|
+
ownerRole: string;
|
|
1028
|
+
migrationRole: string;
|
|
1029
|
+
runtimeRole: string;
|
|
1030
|
+
migrationCredentialReference: string;
|
|
1031
|
+
runtimeCredentialReference: string;
|
|
1032
|
+
onDisable: "preserve";
|
|
1033
|
+
}>, "many">;
|
|
1034
|
+
}, "strict", z.ZodTypeAny, {
|
|
1035
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
1036
|
+
environment: "production" | "staging";
|
|
1037
|
+
installationId: string;
|
|
1038
|
+
servers: {
|
|
1039
|
+
id: string;
|
|
1040
|
+
mode: "shared" | "dedicated" | "external";
|
|
1041
|
+
environment: "production" | "staging";
|
|
1042
|
+
port: number;
|
|
1043
|
+
major: number;
|
|
1044
|
+
extensions: string[];
|
|
1045
|
+
installationId: string;
|
|
1046
|
+
hostname: string;
|
|
1047
|
+
tls: {
|
|
1048
|
+
mode: "verify-full";
|
|
1049
|
+
trustReference: string;
|
|
1050
|
+
};
|
|
1051
|
+
}[];
|
|
1052
|
+
requirements: {
|
|
1053
|
+
id: string;
|
|
1054
|
+
componentId: string;
|
|
1055
|
+
enabled: boolean;
|
|
1056
|
+
supportedMajors: [number, ...number[]];
|
|
1057
|
+
extensions: string[];
|
|
1058
|
+
runtimeConnectionLimit: number;
|
|
1059
|
+
}[];
|
|
1060
|
+
allocations: {
|
|
1061
|
+
requirementId: string;
|
|
1062
|
+
serverId: string;
|
|
1063
|
+
database: string;
|
|
1064
|
+
ownerRole: string;
|
|
1065
|
+
migrationRole: string;
|
|
1066
|
+
runtimeRole: string;
|
|
1067
|
+
migrationCredentialReference: string;
|
|
1068
|
+
runtimeCredentialReference: string;
|
|
1069
|
+
onDisable: "preserve";
|
|
1070
|
+
}[];
|
|
1071
|
+
}, {
|
|
1072
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
1073
|
+
environment: "production" | "staging";
|
|
1074
|
+
installationId: string;
|
|
1075
|
+
servers: {
|
|
1076
|
+
id: string;
|
|
1077
|
+
mode: "shared" | "dedicated" | "external";
|
|
1078
|
+
environment: "production" | "staging";
|
|
1079
|
+
port: number;
|
|
1080
|
+
major: number;
|
|
1081
|
+
extensions: string[];
|
|
1082
|
+
installationId: string;
|
|
1083
|
+
hostname: string;
|
|
1084
|
+
tls: {
|
|
1085
|
+
mode: "verify-full";
|
|
1086
|
+
trustReference: string;
|
|
1087
|
+
};
|
|
1088
|
+
}[];
|
|
1089
|
+
requirements: {
|
|
1090
|
+
id: string;
|
|
1091
|
+
componentId: string;
|
|
1092
|
+
enabled: boolean;
|
|
1093
|
+
supportedMajors: [number, ...number[]];
|
|
1094
|
+
extensions: string[];
|
|
1095
|
+
runtimeConnectionLimit: number;
|
|
1096
|
+
}[];
|
|
1097
|
+
allocations: {
|
|
1098
|
+
requirementId: string;
|
|
1099
|
+
serverId: string;
|
|
1100
|
+
database: string;
|
|
1101
|
+
ownerRole: string;
|
|
1102
|
+
migrationRole: string;
|
|
1103
|
+
runtimeRole: string;
|
|
1104
|
+
migrationCredentialReference: string;
|
|
1105
|
+
runtimeCredentialReference: string;
|
|
1106
|
+
onDisable: "preserve";
|
|
1107
|
+
}[];
|
|
1108
|
+
}>, {
|
|
1109
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
1110
|
+
environment: "production" | "staging";
|
|
1111
|
+
installationId: string;
|
|
1112
|
+
servers: {
|
|
1113
|
+
id: string;
|
|
1114
|
+
mode: "shared" | "dedicated" | "external";
|
|
1115
|
+
environment: "production" | "staging";
|
|
1116
|
+
port: number;
|
|
1117
|
+
major: number;
|
|
1118
|
+
extensions: string[];
|
|
1119
|
+
installationId: string;
|
|
1120
|
+
hostname: string;
|
|
1121
|
+
tls: {
|
|
1122
|
+
mode: "verify-full";
|
|
1123
|
+
trustReference: string;
|
|
1124
|
+
};
|
|
1125
|
+
}[];
|
|
1126
|
+
requirements: {
|
|
1127
|
+
id: string;
|
|
1128
|
+
componentId: string;
|
|
1129
|
+
enabled: boolean;
|
|
1130
|
+
supportedMajors: [number, ...number[]];
|
|
1131
|
+
extensions: string[];
|
|
1132
|
+
runtimeConnectionLimit: number;
|
|
1133
|
+
}[];
|
|
1134
|
+
allocations: {
|
|
1135
|
+
requirementId: string;
|
|
1136
|
+
serverId: string;
|
|
1137
|
+
database: string;
|
|
1138
|
+
ownerRole: string;
|
|
1139
|
+
migrationRole: string;
|
|
1140
|
+
runtimeRole: string;
|
|
1141
|
+
migrationCredentialReference: string;
|
|
1142
|
+
runtimeCredentialReference: string;
|
|
1143
|
+
onDisable: "preserve";
|
|
1144
|
+
}[];
|
|
1145
|
+
}, {
|
|
1146
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
1147
|
+
environment: "production" | "staging";
|
|
1148
|
+
installationId: string;
|
|
1149
|
+
servers: {
|
|
1150
|
+
id: string;
|
|
1151
|
+
mode: "shared" | "dedicated" | "external";
|
|
1152
|
+
environment: "production" | "staging";
|
|
1153
|
+
port: number;
|
|
1154
|
+
major: number;
|
|
1155
|
+
extensions: string[];
|
|
1156
|
+
installationId: string;
|
|
1157
|
+
hostname: string;
|
|
1158
|
+
tls: {
|
|
1159
|
+
mode: "verify-full";
|
|
1160
|
+
trustReference: string;
|
|
1161
|
+
};
|
|
1162
|
+
}[];
|
|
1163
|
+
requirements: {
|
|
1164
|
+
id: string;
|
|
1165
|
+
componentId: string;
|
|
1166
|
+
enabled: boolean;
|
|
1167
|
+
supportedMajors: [number, ...number[]];
|
|
1168
|
+
extensions: string[];
|
|
1169
|
+
runtimeConnectionLimit: number;
|
|
1170
|
+
}[];
|
|
1171
|
+
allocations: {
|
|
1172
|
+
requirementId: string;
|
|
1173
|
+
serverId: string;
|
|
1174
|
+
database: string;
|
|
1175
|
+
ownerRole: string;
|
|
1176
|
+
migrationRole: string;
|
|
1177
|
+
runtimeRole: string;
|
|
1178
|
+
migrationCredentialReference: string;
|
|
1179
|
+
runtimeCredentialReference: string;
|
|
1180
|
+
onDisable: "preserve";
|
|
1181
|
+
}[];
|
|
1182
|
+
}>>;
|
|
911
1183
|
network: z.ZodObject<{
|
|
912
1184
|
manager: z.ZodObject<{
|
|
913
1185
|
binding: z.ZodString;
|
|
@@ -1416,7 +1688,363 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1416
1688
|
activeKeyVersion: number;
|
|
1417
1689
|
diagnosticsKeyVersion: number;
|
|
1418
1690
|
};
|
|
1419
|
-
}, {
|
|
1691
|
+
}, {
|
|
1692
|
+
sandbox: {
|
|
1693
|
+
runtime: "kata-runtime-rs-qemu";
|
|
1694
|
+
profiles: {
|
|
1695
|
+
id: string;
|
|
1696
|
+
guestImage: string;
|
|
1697
|
+
guestImageDigest: string;
|
|
1698
|
+
}[];
|
|
1699
|
+
required: boolean;
|
|
1700
|
+
brokerSocket: string;
|
|
1701
|
+
modelGateway: {
|
|
1702
|
+
provider: "openai";
|
|
1703
|
+
upstreamBaseUrl: "https://api.openai.com";
|
|
1704
|
+
allowedModels: string[];
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
providerVolume: {
|
|
1708
|
+
encryption: "luks2";
|
|
1709
|
+
backingPath: string;
|
|
1710
|
+
mountPath: string;
|
|
1711
|
+
sizeBytes: number;
|
|
1712
|
+
unlock: "systemd-credential" | "tpm2";
|
|
1713
|
+
recoveryRequired: true;
|
|
1714
|
+
};
|
|
1715
|
+
applicationEncryption: {
|
|
1716
|
+
provider: "systemd-credential";
|
|
1717
|
+
activeKeyVersion: number;
|
|
1718
|
+
diagnosticsKeyVersion: number;
|
|
1719
|
+
};
|
|
1720
|
+
}>>;
|
|
1721
|
+
}, "strict", z.ZodTypeAny, {
|
|
1722
|
+
schemaVersion: "treeseed.host/v1";
|
|
1723
|
+
runtime: {
|
|
1724
|
+
environment: "development" | "production";
|
|
1725
|
+
management: "external" | "managed";
|
|
1726
|
+
dataRoot?: string | undefined;
|
|
1727
|
+
};
|
|
1728
|
+
components: Record<string, {
|
|
1729
|
+
resources: {
|
|
1730
|
+
gpuDevices: string[];
|
|
1731
|
+
cpuCores?: number | undefined;
|
|
1732
|
+
memoryBytes?: number | undefined;
|
|
1733
|
+
storageBytes?: number | undefined;
|
|
1734
|
+
};
|
|
1735
|
+
enabled: boolean;
|
|
1736
|
+
track: "development" | "stable";
|
|
1737
|
+
aliases: Record<string, string>;
|
|
1738
|
+
configuration: Record<string, unknown>;
|
|
1739
|
+
connections: Record<string, {
|
|
1740
|
+
kind: "local";
|
|
1741
|
+
componentId: string;
|
|
1742
|
+
serviceId: string;
|
|
1743
|
+
endpointId: string;
|
|
1744
|
+
} | {
|
|
1745
|
+
kind: "remote";
|
|
1746
|
+
audience: string;
|
|
1747
|
+
url: string;
|
|
1748
|
+
authentication: {
|
|
1749
|
+
mode: "none" | "application" | "mtls" | "bearer";
|
|
1750
|
+
secretRef?: string | undefined;
|
|
1751
|
+
};
|
|
1752
|
+
tls: {
|
|
1753
|
+
trust: "secret" | "system" | "spki";
|
|
1754
|
+
serverName?: string | undefined;
|
|
1755
|
+
caSecretRef?: string | undefined;
|
|
1756
|
+
spkiSha256?: string | undefined;
|
|
1757
|
+
};
|
|
1758
|
+
healthGate: {
|
|
1759
|
+
timeoutSeconds: number;
|
|
1760
|
+
protocol: "http" | "tcp" | "https";
|
|
1761
|
+
path?: string | undefined;
|
|
1762
|
+
};
|
|
1763
|
+
}>;
|
|
1764
|
+
profile?: string | undefined;
|
|
1765
|
+
}>;
|
|
1766
|
+
network: {
|
|
1767
|
+
manager: {
|
|
1768
|
+
aliases: string[];
|
|
1769
|
+
binding: string;
|
|
1770
|
+
sans: string[];
|
|
1771
|
+
trustedLanCidrs: string[];
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
host: {
|
|
1775
|
+
id: string;
|
|
1776
|
+
role: string;
|
|
1777
|
+
architecture: "amd64";
|
|
1778
|
+
};
|
|
1779
|
+
generation: number;
|
|
1780
|
+
configurationId: string;
|
|
1781
|
+
updates: {
|
|
1782
|
+
development: {
|
|
1783
|
+
pollSeconds: 60;
|
|
1784
|
+
};
|
|
1785
|
+
stable: {
|
|
1786
|
+
metadataPollSeconds: number;
|
|
1787
|
+
maintenanceWindow: {
|
|
1788
|
+
weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
1789
|
+
localTime: string;
|
|
1790
|
+
jitterMinutes: number;
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
defaultTrack: "development" | "stable";
|
|
1794
|
+
};
|
|
1795
|
+
fleet: {
|
|
1796
|
+
rolloutGroup: string;
|
|
1797
|
+
receiptReporting: {
|
|
1798
|
+
enabled: boolean;
|
|
1799
|
+
intervalSeconds: number;
|
|
1800
|
+
connection?: {
|
|
1801
|
+
kind: "local";
|
|
1802
|
+
componentId: string;
|
|
1803
|
+
serviceId: string;
|
|
1804
|
+
endpointId: string;
|
|
1805
|
+
} | {
|
|
1806
|
+
kind: "remote";
|
|
1807
|
+
audience: string;
|
|
1808
|
+
url: string;
|
|
1809
|
+
authentication: {
|
|
1810
|
+
mode: "none" | "application" | "mtls" | "bearer";
|
|
1811
|
+
secretRef?: string | undefined;
|
|
1812
|
+
};
|
|
1813
|
+
tls: {
|
|
1814
|
+
trust: "secret" | "system" | "spki";
|
|
1815
|
+
serverName?: string | undefined;
|
|
1816
|
+
caSecretRef?: string | undefined;
|
|
1817
|
+
spkiSha256?: string | undefined;
|
|
1818
|
+
};
|
|
1819
|
+
healthGate: {
|
|
1820
|
+
timeoutSeconds: number;
|
|
1821
|
+
protocol: "http" | "tcp" | "https";
|
|
1822
|
+
path?: string | undefined;
|
|
1823
|
+
};
|
|
1824
|
+
} | undefined;
|
|
1825
|
+
};
|
|
1826
|
+
};
|
|
1827
|
+
secrets: Record<string, {
|
|
1828
|
+
provider: "file" | "systemd-credential";
|
|
1829
|
+
reference: string;
|
|
1830
|
+
}>;
|
|
1831
|
+
postgres?: {
|
|
1832
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
1833
|
+
environment: "production" | "staging";
|
|
1834
|
+
installationId: string;
|
|
1835
|
+
servers: {
|
|
1836
|
+
id: string;
|
|
1837
|
+
mode: "shared" | "dedicated" | "external";
|
|
1838
|
+
environment: "production" | "staging";
|
|
1839
|
+
port: number;
|
|
1840
|
+
major: number;
|
|
1841
|
+
extensions: string[];
|
|
1842
|
+
installationId: string;
|
|
1843
|
+
hostname: string;
|
|
1844
|
+
tls: {
|
|
1845
|
+
mode: "verify-full";
|
|
1846
|
+
trustReference: string;
|
|
1847
|
+
};
|
|
1848
|
+
}[];
|
|
1849
|
+
requirements: {
|
|
1850
|
+
id: string;
|
|
1851
|
+
componentId: string;
|
|
1852
|
+
enabled: boolean;
|
|
1853
|
+
supportedMajors: [number, ...number[]];
|
|
1854
|
+
extensions: string[];
|
|
1855
|
+
runtimeConnectionLimit: number;
|
|
1856
|
+
}[];
|
|
1857
|
+
allocations: {
|
|
1858
|
+
requirementId: string;
|
|
1859
|
+
serverId: string;
|
|
1860
|
+
database: string;
|
|
1861
|
+
ownerRole: string;
|
|
1862
|
+
migrationRole: string;
|
|
1863
|
+
runtimeRole: string;
|
|
1864
|
+
migrationCredentialReference: string;
|
|
1865
|
+
runtimeCredentialReference: string;
|
|
1866
|
+
onDisable: "preserve";
|
|
1867
|
+
}[];
|
|
1868
|
+
} | undefined;
|
|
1869
|
+
security?: {
|
|
1870
|
+
sandbox: {
|
|
1871
|
+
runtime: "kata-runtime-rs-qemu";
|
|
1872
|
+
profiles: {
|
|
1873
|
+
id: string;
|
|
1874
|
+
guestImage: string;
|
|
1875
|
+
guestImageDigest: string;
|
|
1876
|
+
}[];
|
|
1877
|
+
required: boolean;
|
|
1878
|
+
brokerSocket: string;
|
|
1879
|
+
modelGateway: {
|
|
1880
|
+
provider: "openai";
|
|
1881
|
+
upstreamBaseUrl: "https://api.openai.com";
|
|
1882
|
+
allowedModels: string[];
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
providerVolume: {
|
|
1886
|
+
encryption: "luks2";
|
|
1887
|
+
backingPath: string;
|
|
1888
|
+
mountPath: string;
|
|
1889
|
+
sizeBytes: number;
|
|
1890
|
+
unlock: "systemd-credential" | "tpm2";
|
|
1891
|
+
recoveryRequired: true;
|
|
1892
|
+
};
|
|
1893
|
+
applicationEncryption: {
|
|
1894
|
+
provider: "systemd-credential";
|
|
1895
|
+
activeKeyVersion: number;
|
|
1896
|
+
diagnosticsKeyVersion: number;
|
|
1897
|
+
};
|
|
1898
|
+
} | undefined;
|
|
1899
|
+
}, {
|
|
1900
|
+
schemaVersion: "treeseed.host/v1";
|
|
1901
|
+
runtime: {
|
|
1902
|
+
management: "external" | "managed";
|
|
1903
|
+
environment?: "development" | "production" | undefined;
|
|
1904
|
+
dataRoot?: string | undefined;
|
|
1905
|
+
};
|
|
1906
|
+
components: Record<string, {
|
|
1907
|
+
enabled: boolean;
|
|
1908
|
+
track: "development" | "stable";
|
|
1909
|
+
resources?: {
|
|
1910
|
+
cpuCores?: number | undefined;
|
|
1911
|
+
memoryBytes?: number | undefined;
|
|
1912
|
+
storageBytes?: number | undefined;
|
|
1913
|
+
gpuDevices?: string[] | undefined;
|
|
1914
|
+
} | undefined;
|
|
1915
|
+
profile?: string | undefined;
|
|
1916
|
+
aliases?: Record<string, string> | undefined;
|
|
1917
|
+
configuration?: Record<string, unknown> | undefined;
|
|
1918
|
+
connections?: Record<string, {
|
|
1919
|
+
kind: "local";
|
|
1920
|
+
componentId: string;
|
|
1921
|
+
serviceId: string;
|
|
1922
|
+
endpointId: string;
|
|
1923
|
+
} | {
|
|
1924
|
+
kind: "remote";
|
|
1925
|
+
audience: string;
|
|
1926
|
+
url: string;
|
|
1927
|
+
authentication: {
|
|
1928
|
+
mode: "none" | "application" | "mtls" | "bearer";
|
|
1929
|
+
secretRef?: string | undefined;
|
|
1930
|
+
};
|
|
1931
|
+
tls: {
|
|
1932
|
+
trust: "secret" | "system" | "spki";
|
|
1933
|
+
serverName?: string | undefined;
|
|
1934
|
+
caSecretRef?: string | undefined;
|
|
1935
|
+
spkiSha256?: string | undefined;
|
|
1936
|
+
};
|
|
1937
|
+
healthGate: {
|
|
1938
|
+
timeoutSeconds: number;
|
|
1939
|
+
protocol: "http" | "tcp" | "https";
|
|
1940
|
+
path?: string | undefined;
|
|
1941
|
+
};
|
|
1942
|
+
}> | undefined;
|
|
1943
|
+
}>;
|
|
1944
|
+
network: {
|
|
1945
|
+
manager: {
|
|
1946
|
+
binding: string;
|
|
1947
|
+
aliases?: string[] | undefined;
|
|
1948
|
+
sans?: string[] | undefined;
|
|
1949
|
+
trustedLanCidrs?: string[] | undefined;
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1952
|
+
host: {
|
|
1953
|
+
id: string;
|
|
1954
|
+
role: string;
|
|
1955
|
+
architecture: "amd64";
|
|
1956
|
+
};
|
|
1957
|
+
generation: number;
|
|
1958
|
+
configurationId: string;
|
|
1959
|
+
updates: {
|
|
1960
|
+
development: {
|
|
1961
|
+
pollSeconds: 60;
|
|
1962
|
+
};
|
|
1963
|
+
stable: {
|
|
1964
|
+
metadataPollSeconds: number;
|
|
1965
|
+
maintenanceWindow: {
|
|
1966
|
+
weekday: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
1967
|
+
localTime: string;
|
|
1968
|
+
jitterMinutes: number;
|
|
1969
|
+
};
|
|
1970
|
+
};
|
|
1971
|
+
defaultTrack: "development" | "stable";
|
|
1972
|
+
};
|
|
1973
|
+
fleet: {
|
|
1974
|
+
rolloutGroup: string;
|
|
1975
|
+
receiptReporting: {
|
|
1976
|
+
enabled: boolean;
|
|
1977
|
+
intervalSeconds: number;
|
|
1978
|
+
connection?: {
|
|
1979
|
+
kind: "local";
|
|
1980
|
+
componentId: string;
|
|
1981
|
+
serviceId: string;
|
|
1982
|
+
endpointId: string;
|
|
1983
|
+
} | {
|
|
1984
|
+
kind: "remote";
|
|
1985
|
+
audience: string;
|
|
1986
|
+
url: string;
|
|
1987
|
+
authentication: {
|
|
1988
|
+
mode: "none" | "application" | "mtls" | "bearer";
|
|
1989
|
+
secretRef?: string | undefined;
|
|
1990
|
+
};
|
|
1991
|
+
tls: {
|
|
1992
|
+
trust: "secret" | "system" | "spki";
|
|
1993
|
+
serverName?: string | undefined;
|
|
1994
|
+
caSecretRef?: string | undefined;
|
|
1995
|
+
spkiSha256?: string | undefined;
|
|
1996
|
+
};
|
|
1997
|
+
healthGate: {
|
|
1998
|
+
timeoutSeconds: number;
|
|
1999
|
+
protocol: "http" | "tcp" | "https";
|
|
2000
|
+
path?: string | undefined;
|
|
2001
|
+
};
|
|
2002
|
+
} | undefined;
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
2005
|
+
secrets: Record<string, {
|
|
2006
|
+
provider: "file" | "systemd-credential";
|
|
2007
|
+
reference: string;
|
|
2008
|
+
}>;
|
|
2009
|
+
postgres?: {
|
|
2010
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
2011
|
+
environment: "production" | "staging";
|
|
2012
|
+
installationId: string;
|
|
2013
|
+
servers: {
|
|
2014
|
+
id: string;
|
|
2015
|
+
mode: "shared" | "dedicated" | "external";
|
|
2016
|
+
environment: "production" | "staging";
|
|
2017
|
+
port: number;
|
|
2018
|
+
major: number;
|
|
2019
|
+
extensions: string[];
|
|
2020
|
+
installationId: string;
|
|
2021
|
+
hostname: string;
|
|
2022
|
+
tls: {
|
|
2023
|
+
mode: "verify-full";
|
|
2024
|
+
trustReference: string;
|
|
2025
|
+
};
|
|
2026
|
+
}[];
|
|
2027
|
+
requirements: {
|
|
2028
|
+
id: string;
|
|
2029
|
+
componentId: string;
|
|
2030
|
+
enabled: boolean;
|
|
2031
|
+
supportedMajors: [number, ...number[]];
|
|
2032
|
+
extensions: string[];
|
|
2033
|
+
runtimeConnectionLimit: number;
|
|
2034
|
+
}[];
|
|
2035
|
+
allocations: {
|
|
2036
|
+
requirementId: string;
|
|
2037
|
+
serverId: string;
|
|
2038
|
+
database: string;
|
|
2039
|
+
ownerRole: string;
|
|
2040
|
+
migrationRole: string;
|
|
2041
|
+
runtimeRole: string;
|
|
2042
|
+
migrationCredentialReference: string;
|
|
2043
|
+
runtimeCredentialReference: string;
|
|
2044
|
+
onDisable: "preserve";
|
|
2045
|
+
}[];
|
|
2046
|
+
} | undefined;
|
|
2047
|
+
security?: {
|
|
1420
2048
|
sandbox: {
|
|
1421
2049
|
runtime: "kata-runtime-rs-qemu";
|
|
1422
2050
|
profiles: {
|
|
@@ -1445,8 +2073,8 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1445
2073
|
activeKeyVersion: number;
|
|
1446
2074
|
diagnosticsKeyVersion: number;
|
|
1447
2075
|
};
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
2076
|
+
} | undefined;
|
|
2077
|
+
}>, {
|
|
1450
2078
|
schemaVersion: "treeseed.host/v1";
|
|
1451
2079
|
runtime: {
|
|
1452
2080
|
environment: "development" | "production";
|
|
@@ -1556,6 +2184,44 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1556
2184
|
provider: "file" | "systemd-credential";
|
|
1557
2185
|
reference: string;
|
|
1558
2186
|
}>;
|
|
2187
|
+
postgres?: {
|
|
2188
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
2189
|
+
environment: "production" | "staging";
|
|
2190
|
+
installationId: string;
|
|
2191
|
+
servers: {
|
|
2192
|
+
id: string;
|
|
2193
|
+
mode: "shared" | "dedicated" | "external";
|
|
2194
|
+
environment: "production" | "staging";
|
|
2195
|
+
port: number;
|
|
2196
|
+
major: number;
|
|
2197
|
+
extensions: string[];
|
|
2198
|
+
installationId: string;
|
|
2199
|
+
hostname: string;
|
|
2200
|
+
tls: {
|
|
2201
|
+
mode: "verify-full";
|
|
2202
|
+
trustReference: string;
|
|
2203
|
+
};
|
|
2204
|
+
}[];
|
|
2205
|
+
requirements: {
|
|
2206
|
+
id: string;
|
|
2207
|
+
componentId: string;
|
|
2208
|
+
enabled: boolean;
|
|
2209
|
+
supportedMajors: [number, ...number[]];
|
|
2210
|
+
extensions: string[];
|
|
2211
|
+
runtimeConnectionLimit: number;
|
|
2212
|
+
}[];
|
|
2213
|
+
allocations: {
|
|
2214
|
+
requirementId: string;
|
|
2215
|
+
serverId: string;
|
|
2216
|
+
database: string;
|
|
2217
|
+
ownerRole: string;
|
|
2218
|
+
migrationRole: string;
|
|
2219
|
+
runtimeRole: string;
|
|
2220
|
+
migrationCredentialReference: string;
|
|
2221
|
+
runtimeCredentialReference: string;
|
|
2222
|
+
onDisable: "preserve";
|
|
2223
|
+
}[];
|
|
2224
|
+
} | undefined;
|
|
1559
2225
|
security?: {
|
|
1560
2226
|
sandbox: {
|
|
1561
2227
|
runtime: "kata-runtime-rs-qemu";
|
|
@@ -1696,6 +2362,44 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1696
2362
|
provider: "file" | "systemd-credential";
|
|
1697
2363
|
reference: string;
|
|
1698
2364
|
}>;
|
|
2365
|
+
postgres?: {
|
|
2366
|
+
schemaVersion: "treeseed.postgres-topology/v1";
|
|
2367
|
+
environment: "production" | "staging";
|
|
2368
|
+
installationId: string;
|
|
2369
|
+
servers: {
|
|
2370
|
+
id: string;
|
|
2371
|
+
mode: "shared" | "dedicated" | "external";
|
|
2372
|
+
environment: "production" | "staging";
|
|
2373
|
+
port: number;
|
|
2374
|
+
major: number;
|
|
2375
|
+
extensions: string[];
|
|
2376
|
+
installationId: string;
|
|
2377
|
+
hostname: string;
|
|
2378
|
+
tls: {
|
|
2379
|
+
mode: "verify-full";
|
|
2380
|
+
trustReference: string;
|
|
2381
|
+
};
|
|
2382
|
+
}[];
|
|
2383
|
+
requirements: {
|
|
2384
|
+
id: string;
|
|
2385
|
+
componentId: string;
|
|
2386
|
+
enabled: boolean;
|
|
2387
|
+
supportedMajors: [number, ...number[]];
|
|
2388
|
+
extensions: string[];
|
|
2389
|
+
runtimeConnectionLimit: number;
|
|
2390
|
+
}[];
|
|
2391
|
+
allocations: {
|
|
2392
|
+
requirementId: string;
|
|
2393
|
+
serverId: string;
|
|
2394
|
+
database: string;
|
|
2395
|
+
ownerRole: string;
|
|
2396
|
+
migrationRole: string;
|
|
2397
|
+
runtimeRole: string;
|
|
2398
|
+
migrationCredentialReference: string;
|
|
2399
|
+
runtimeCredentialReference: string;
|
|
2400
|
+
onDisable: "preserve";
|
|
2401
|
+
}[];
|
|
2402
|
+
} | undefined;
|
|
1699
2403
|
security?: {
|
|
1700
2404
|
sandbox: {
|
|
1701
2405
|
runtime: "kata-runtime-rs-qemu";
|
|
@@ -2027,6 +2731,57 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2027
2731
|
extensions: string[];
|
|
2028
2732
|
runtimeConnectionLimit: number;
|
|
2029
2733
|
}>, "many">>;
|
|
2734
|
+
postgresLifecycle: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2735
|
+
requirementId: z.ZodString;
|
|
2736
|
+
credentialOwner: z.ZodObject<{
|
|
2737
|
+
uid: z.ZodNumber;
|
|
2738
|
+
gid: z.ZodNumber;
|
|
2739
|
+
}, "strict", z.ZodTypeAny, {
|
|
2740
|
+
uid: number;
|
|
2741
|
+
gid: number;
|
|
2742
|
+
}, {
|
|
2743
|
+
uid: number;
|
|
2744
|
+
gid: number;
|
|
2745
|
+
}>;
|
|
2746
|
+
migration: z.ZodObject<{
|
|
2747
|
+
composeService: z.ZodString;
|
|
2748
|
+
completion: z.ZodEnum<["exit-zero", "healthy-stop"]>;
|
|
2749
|
+
timeoutSeconds: z.ZodNumber;
|
|
2750
|
+
}, "strict", z.ZodTypeAny, {
|
|
2751
|
+
timeoutSeconds: number;
|
|
2752
|
+
composeService: string;
|
|
2753
|
+
completion: "exit-zero" | "healthy-stop";
|
|
2754
|
+
}, {
|
|
2755
|
+
timeoutSeconds: number;
|
|
2756
|
+
composeService: string;
|
|
2757
|
+
completion: "exit-zero" | "healthy-stop";
|
|
2758
|
+
}>;
|
|
2759
|
+
runtimeServices: z.ZodArray<z.ZodString, "many">;
|
|
2760
|
+
}, "strict", z.ZodTypeAny, {
|
|
2761
|
+
requirementId: string;
|
|
2762
|
+
credentialOwner: {
|
|
2763
|
+
uid: number;
|
|
2764
|
+
gid: number;
|
|
2765
|
+
};
|
|
2766
|
+
migration: {
|
|
2767
|
+
timeoutSeconds: number;
|
|
2768
|
+
composeService: string;
|
|
2769
|
+
completion: "exit-zero" | "healthy-stop";
|
|
2770
|
+
};
|
|
2771
|
+
runtimeServices: string[];
|
|
2772
|
+
}, {
|
|
2773
|
+
requirementId: string;
|
|
2774
|
+
credentialOwner: {
|
|
2775
|
+
uid: number;
|
|
2776
|
+
gid: number;
|
|
2777
|
+
};
|
|
2778
|
+
migration: {
|
|
2779
|
+
timeoutSeconds: number;
|
|
2780
|
+
composeService: string;
|
|
2781
|
+
completion: "exit-zero" | "healthy-stop";
|
|
2782
|
+
};
|
|
2783
|
+
runtimeServices: string[];
|
|
2784
|
+
}>, "many">>;
|
|
2030
2785
|
services: z.ZodArray<z.ZodObject<{
|
|
2031
2786
|
id: z.ZodString;
|
|
2032
2787
|
composeService: z.ZodString;
|
|
@@ -2340,6 +3095,19 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2340
3095
|
extensions: string[];
|
|
2341
3096
|
runtimeConnectionLimit: number;
|
|
2342
3097
|
}[] | undefined;
|
|
3098
|
+
postgresLifecycle?: {
|
|
3099
|
+
requirementId: string;
|
|
3100
|
+
credentialOwner: {
|
|
3101
|
+
uid: number;
|
|
3102
|
+
gid: number;
|
|
3103
|
+
};
|
|
3104
|
+
migration: {
|
|
3105
|
+
timeoutSeconds: number;
|
|
3106
|
+
composeService: string;
|
|
3107
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3108
|
+
};
|
|
3109
|
+
runtimeServices: string[];
|
|
3110
|
+
}[] | undefined;
|
|
2343
3111
|
modeControl?: {
|
|
2344
3112
|
resource: "ai-gpu";
|
|
2345
3113
|
role: "inference" | "training" | "controller";
|
|
@@ -2435,6 +3203,19 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2435
3203
|
extensions: string[];
|
|
2436
3204
|
runtimeConnectionLimit: number;
|
|
2437
3205
|
}[] | undefined;
|
|
3206
|
+
postgresLifecycle?: {
|
|
3207
|
+
requirementId: string;
|
|
3208
|
+
credentialOwner: {
|
|
3209
|
+
uid: number;
|
|
3210
|
+
gid: number;
|
|
3211
|
+
};
|
|
3212
|
+
migration: {
|
|
3213
|
+
timeoutSeconds: number;
|
|
3214
|
+
composeService: string;
|
|
3215
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3216
|
+
};
|
|
3217
|
+
runtimeServices: string[];
|
|
3218
|
+
}[] | undefined;
|
|
2438
3219
|
modeControl?: {
|
|
2439
3220
|
resource: "ai-gpu";
|
|
2440
3221
|
role: "inference" | "training" | "controller";
|
|
@@ -2530,6 +3311,19 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2530
3311
|
extensions: string[];
|
|
2531
3312
|
runtimeConnectionLimit: number;
|
|
2532
3313
|
}[] | undefined;
|
|
3314
|
+
postgresLifecycle?: {
|
|
3315
|
+
requirementId: string;
|
|
3316
|
+
credentialOwner: {
|
|
3317
|
+
uid: number;
|
|
3318
|
+
gid: number;
|
|
3319
|
+
};
|
|
3320
|
+
migration: {
|
|
3321
|
+
timeoutSeconds: number;
|
|
3322
|
+
composeService: string;
|
|
3323
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3324
|
+
};
|
|
3325
|
+
runtimeServices: string[];
|
|
3326
|
+
}[] | undefined;
|
|
2533
3327
|
modeControl?: {
|
|
2534
3328
|
resource: "ai-gpu";
|
|
2535
3329
|
role: "inference" | "training" | "controller";
|
|
@@ -2625,6 +3419,19 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2625
3419
|
extensions: string[];
|
|
2626
3420
|
runtimeConnectionLimit: number;
|
|
2627
3421
|
}[] | undefined;
|
|
3422
|
+
postgresLifecycle?: {
|
|
3423
|
+
requirementId: string;
|
|
3424
|
+
credentialOwner: {
|
|
3425
|
+
uid: number;
|
|
3426
|
+
gid: number;
|
|
3427
|
+
};
|
|
3428
|
+
migration: {
|
|
3429
|
+
timeoutSeconds: number;
|
|
3430
|
+
composeService: string;
|
|
3431
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3432
|
+
};
|
|
3433
|
+
runtimeServices: string[];
|
|
3434
|
+
}[] | undefined;
|
|
2628
3435
|
modeControl?: {
|
|
2629
3436
|
resource: "ai-gpu";
|
|
2630
3437
|
role: "inference" | "training" | "controller";
|
|
@@ -2933,6 +3740,57 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2933
3740
|
extensions: string[];
|
|
2934
3741
|
runtimeConnectionLimit: number;
|
|
2935
3742
|
}>, "many">>;
|
|
3743
|
+
postgresLifecycle: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3744
|
+
requirementId: z.ZodString;
|
|
3745
|
+
credentialOwner: z.ZodObject<{
|
|
3746
|
+
uid: z.ZodNumber;
|
|
3747
|
+
gid: z.ZodNumber;
|
|
3748
|
+
}, "strict", z.ZodTypeAny, {
|
|
3749
|
+
uid: number;
|
|
3750
|
+
gid: number;
|
|
3751
|
+
}, {
|
|
3752
|
+
uid: number;
|
|
3753
|
+
gid: number;
|
|
3754
|
+
}>;
|
|
3755
|
+
migration: z.ZodObject<{
|
|
3756
|
+
composeService: z.ZodString;
|
|
3757
|
+
completion: z.ZodEnum<["exit-zero", "healthy-stop"]>;
|
|
3758
|
+
timeoutSeconds: z.ZodNumber;
|
|
3759
|
+
}, "strict", z.ZodTypeAny, {
|
|
3760
|
+
timeoutSeconds: number;
|
|
3761
|
+
composeService: string;
|
|
3762
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3763
|
+
}, {
|
|
3764
|
+
timeoutSeconds: number;
|
|
3765
|
+
composeService: string;
|
|
3766
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3767
|
+
}>;
|
|
3768
|
+
runtimeServices: z.ZodArray<z.ZodString, "many">;
|
|
3769
|
+
}, "strict", z.ZodTypeAny, {
|
|
3770
|
+
requirementId: string;
|
|
3771
|
+
credentialOwner: {
|
|
3772
|
+
uid: number;
|
|
3773
|
+
gid: number;
|
|
3774
|
+
};
|
|
3775
|
+
migration: {
|
|
3776
|
+
timeoutSeconds: number;
|
|
3777
|
+
composeService: string;
|
|
3778
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3779
|
+
};
|
|
3780
|
+
runtimeServices: string[];
|
|
3781
|
+
}, {
|
|
3782
|
+
requirementId: string;
|
|
3783
|
+
credentialOwner: {
|
|
3784
|
+
uid: number;
|
|
3785
|
+
gid: number;
|
|
3786
|
+
};
|
|
3787
|
+
migration: {
|
|
3788
|
+
timeoutSeconds: number;
|
|
3789
|
+
composeService: string;
|
|
3790
|
+
completion: "exit-zero" | "healthy-stop";
|
|
3791
|
+
};
|
|
3792
|
+
runtimeServices: string[];
|
|
3793
|
+
}>, "many">>;
|
|
2936
3794
|
services: z.ZodArray<z.ZodObject<{
|
|
2937
3795
|
id: z.ZodString;
|
|
2938
3796
|
composeService: z.ZodString;
|
|
@@ -3246,6 +4104,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3246
4104
|
extensions: string[];
|
|
3247
4105
|
runtimeConnectionLimit: number;
|
|
3248
4106
|
}[] | undefined;
|
|
4107
|
+
postgresLifecycle?: {
|
|
4108
|
+
requirementId: string;
|
|
4109
|
+
credentialOwner: {
|
|
4110
|
+
uid: number;
|
|
4111
|
+
gid: number;
|
|
4112
|
+
};
|
|
4113
|
+
migration: {
|
|
4114
|
+
timeoutSeconds: number;
|
|
4115
|
+
composeService: string;
|
|
4116
|
+
completion: "exit-zero" | "healthy-stop";
|
|
4117
|
+
};
|
|
4118
|
+
runtimeServices: string[];
|
|
4119
|
+
}[] | undefined;
|
|
3249
4120
|
modeControl?: {
|
|
3250
4121
|
resource: "ai-gpu";
|
|
3251
4122
|
role: "inference" | "training" | "controller";
|
|
@@ -3341,6 +4212,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3341
4212
|
extensions: string[];
|
|
3342
4213
|
runtimeConnectionLimit: number;
|
|
3343
4214
|
}[] | undefined;
|
|
4215
|
+
postgresLifecycle?: {
|
|
4216
|
+
requirementId: string;
|
|
4217
|
+
credentialOwner: {
|
|
4218
|
+
uid: number;
|
|
4219
|
+
gid: number;
|
|
4220
|
+
};
|
|
4221
|
+
migration: {
|
|
4222
|
+
timeoutSeconds: number;
|
|
4223
|
+
composeService: string;
|
|
4224
|
+
completion: "exit-zero" | "healthy-stop";
|
|
4225
|
+
};
|
|
4226
|
+
runtimeServices: string[];
|
|
4227
|
+
}[] | undefined;
|
|
3344
4228
|
modeControl?: {
|
|
3345
4229
|
resource: "ai-gpu";
|
|
3346
4230
|
role: "inference" | "training" | "controller";
|
|
@@ -3436,6 +4320,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3436
4320
|
extensions: string[];
|
|
3437
4321
|
runtimeConnectionLimit: number;
|
|
3438
4322
|
}[] | undefined;
|
|
4323
|
+
postgresLifecycle?: {
|
|
4324
|
+
requirementId: string;
|
|
4325
|
+
credentialOwner: {
|
|
4326
|
+
uid: number;
|
|
4327
|
+
gid: number;
|
|
4328
|
+
};
|
|
4329
|
+
migration: {
|
|
4330
|
+
timeoutSeconds: number;
|
|
4331
|
+
composeService: string;
|
|
4332
|
+
completion: "exit-zero" | "healthy-stop";
|
|
4333
|
+
};
|
|
4334
|
+
runtimeServices: string[];
|
|
4335
|
+
}[] | undefined;
|
|
3439
4336
|
modeControl?: {
|
|
3440
4337
|
resource: "ai-gpu";
|
|
3441
4338
|
role: "inference" | "training" | "controller";
|
|
@@ -3531,6 +4428,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3531
4428
|
extensions: string[];
|
|
3532
4429
|
runtimeConnectionLimit: number;
|
|
3533
4430
|
}[] | undefined;
|
|
4431
|
+
postgresLifecycle?: {
|
|
4432
|
+
requirementId: string;
|
|
4433
|
+
credentialOwner: {
|
|
4434
|
+
uid: number;
|
|
4435
|
+
gid: number;
|
|
4436
|
+
};
|
|
4437
|
+
migration: {
|
|
4438
|
+
timeoutSeconds: number;
|
|
4439
|
+
composeService: string;
|
|
4440
|
+
completion: "exit-zero" | "healthy-stop";
|
|
4441
|
+
};
|
|
4442
|
+
runtimeServices: string[];
|
|
4443
|
+
}[] | undefined;
|
|
3534
4444
|
modeControl?: {
|
|
3535
4445
|
resource: "ai-gpu";
|
|
3536
4446
|
role: "inference" | "training" | "controller";
|
|
@@ -3653,6 +4563,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3653
4563
|
extensions: string[];
|
|
3654
4564
|
runtimeConnectionLimit: number;
|
|
3655
4565
|
}[] | undefined;
|
|
4566
|
+
postgresLifecycle?: {
|
|
4567
|
+
requirementId: string;
|
|
4568
|
+
credentialOwner: {
|
|
4569
|
+
uid: number;
|
|
4570
|
+
gid: number;
|
|
4571
|
+
};
|
|
4572
|
+
migration: {
|
|
4573
|
+
timeoutSeconds: number;
|
|
4574
|
+
composeService: string;
|
|
4575
|
+
completion: "exit-zero" | "healthy-stop";
|
|
4576
|
+
};
|
|
4577
|
+
runtimeServices: string[];
|
|
4578
|
+
}[] | undefined;
|
|
3656
4579
|
modeControl?: {
|
|
3657
4580
|
resource: "ai-gpu";
|
|
3658
4581
|
role: "inference" | "training" | "controller";
|
|
@@ -3789,6 +4712,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3789
4712
|
extensions: string[];
|
|
3790
4713
|
runtimeConnectionLimit: number;
|
|
3791
4714
|
}[] | undefined;
|
|
4715
|
+
postgresLifecycle?: {
|
|
4716
|
+
requirementId: string;
|
|
4717
|
+
credentialOwner: {
|
|
4718
|
+
uid: number;
|
|
4719
|
+
gid: number;
|
|
4720
|
+
};
|
|
4721
|
+
migration: {
|
|
4722
|
+
timeoutSeconds: number;
|
|
4723
|
+
composeService: string;
|
|
4724
|
+
completion: "exit-zero" | "healthy-stop";
|
|
4725
|
+
};
|
|
4726
|
+
runtimeServices: string[];
|
|
4727
|
+
}[] | undefined;
|
|
3792
4728
|
modeControl?: {
|
|
3793
4729
|
resource: "ai-gpu";
|
|
3794
4730
|
role: "inference" | "training" | "controller";
|
|
@@ -3925,6 +4861,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3925
4861
|
extensions: string[];
|
|
3926
4862
|
runtimeConnectionLimit: number;
|
|
3927
4863
|
}[] | undefined;
|
|
4864
|
+
postgresLifecycle?: {
|
|
4865
|
+
requirementId: string;
|
|
4866
|
+
credentialOwner: {
|
|
4867
|
+
uid: number;
|
|
4868
|
+
gid: number;
|
|
4869
|
+
};
|
|
4870
|
+
migration: {
|
|
4871
|
+
timeoutSeconds: number;
|
|
4872
|
+
composeService: string;
|
|
4873
|
+
completion: "exit-zero" | "healthy-stop";
|
|
4874
|
+
};
|
|
4875
|
+
runtimeServices: string[];
|
|
4876
|
+
}[] | undefined;
|
|
3928
4877
|
modeControl?: {
|
|
3929
4878
|
resource: "ai-gpu";
|
|
3930
4879
|
role: "inference" | "training" | "controller";
|
|
@@ -4061,6 +5010,19 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4061
5010
|
extensions: string[];
|
|
4062
5011
|
runtimeConnectionLimit: number;
|
|
4063
5012
|
}[] | undefined;
|
|
5013
|
+
postgresLifecycle?: {
|
|
5014
|
+
requirementId: string;
|
|
5015
|
+
credentialOwner: {
|
|
5016
|
+
uid: number;
|
|
5017
|
+
gid: number;
|
|
5018
|
+
};
|
|
5019
|
+
migration: {
|
|
5020
|
+
timeoutSeconds: number;
|
|
5021
|
+
composeService: string;
|
|
5022
|
+
completion: "exit-zero" | "healthy-stop";
|
|
5023
|
+
};
|
|
5024
|
+
runtimeServices: string[];
|
|
5025
|
+
}[] | undefined;
|
|
4064
5026
|
modeControl?: {
|
|
4065
5027
|
resource: "ai-gpu";
|
|
4066
5028
|
role: "inference" | "training" | "controller";
|
|
@@ -4878,6 +5840,57 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4878
5840
|
extensions: string[];
|
|
4879
5841
|
runtimeConnectionLimit: number;
|
|
4880
5842
|
}>, "many">>;
|
|
5843
|
+
postgresLifecycle: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5844
|
+
requirementId: z.ZodString;
|
|
5845
|
+
credentialOwner: z.ZodObject<{
|
|
5846
|
+
uid: z.ZodNumber;
|
|
5847
|
+
gid: z.ZodNumber;
|
|
5848
|
+
}, "strict", z.ZodTypeAny, {
|
|
5849
|
+
uid: number;
|
|
5850
|
+
gid: number;
|
|
5851
|
+
}, {
|
|
5852
|
+
uid: number;
|
|
5853
|
+
gid: number;
|
|
5854
|
+
}>;
|
|
5855
|
+
migration: z.ZodObject<{
|
|
5856
|
+
composeService: z.ZodString;
|
|
5857
|
+
completion: z.ZodEnum<["exit-zero", "healthy-stop"]>;
|
|
5858
|
+
timeoutSeconds: z.ZodNumber;
|
|
5859
|
+
}, "strict", z.ZodTypeAny, {
|
|
5860
|
+
timeoutSeconds: number;
|
|
5861
|
+
composeService: string;
|
|
5862
|
+
completion: "exit-zero" | "healthy-stop";
|
|
5863
|
+
}, {
|
|
5864
|
+
timeoutSeconds: number;
|
|
5865
|
+
composeService: string;
|
|
5866
|
+
completion: "exit-zero" | "healthy-stop";
|
|
5867
|
+
}>;
|
|
5868
|
+
runtimeServices: z.ZodArray<z.ZodString, "many">;
|
|
5869
|
+
}, "strict", z.ZodTypeAny, {
|
|
5870
|
+
requirementId: string;
|
|
5871
|
+
credentialOwner: {
|
|
5872
|
+
uid: number;
|
|
5873
|
+
gid: number;
|
|
5874
|
+
};
|
|
5875
|
+
migration: {
|
|
5876
|
+
timeoutSeconds: number;
|
|
5877
|
+
composeService: string;
|
|
5878
|
+
completion: "exit-zero" | "healthy-stop";
|
|
5879
|
+
};
|
|
5880
|
+
runtimeServices: string[];
|
|
5881
|
+
}, {
|
|
5882
|
+
requirementId: string;
|
|
5883
|
+
credentialOwner: {
|
|
5884
|
+
uid: number;
|
|
5885
|
+
gid: number;
|
|
5886
|
+
};
|
|
5887
|
+
migration: {
|
|
5888
|
+
timeoutSeconds: number;
|
|
5889
|
+
composeService: string;
|
|
5890
|
+
completion: "exit-zero" | "healthy-stop";
|
|
5891
|
+
};
|
|
5892
|
+
runtimeServices: string[];
|
|
5893
|
+
}>, "many">>;
|
|
4881
5894
|
services: z.ZodArray<z.ZodObject<{
|
|
4882
5895
|
id: z.ZodString;
|
|
4883
5896
|
composeService: z.ZodString;
|
|
@@ -5191,6 +6204,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5191
6204
|
extensions: string[];
|
|
5192
6205
|
runtimeConnectionLimit: number;
|
|
5193
6206
|
}[] | undefined;
|
|
6207
|
+
postgresLifecycle?: {
|
|
6208
|
+
requirementId: string;
|
|
6209
|
+
credentialOwner: {
|
|
6210
|
+
uid: number;
|
|
6211
|
+
gid: number;
|
|
6212
|
+
};
|
|
6213
|
+
migration: {
|
|
6214
|
+
timeoutSeconds: number;
|
|
6215
|
+
composeService: string;
|
|
6216
|
+
completion: "exit-zero" | "healthy-stop";
|
|
6217
|
+
};
|
|
6218
|
+
runtimeServices: string[];
|
|
6219
|
+
}[] | undefined;
|
|
5194
6220
|
modeControl?: {
|
|
5195
6221
|
resource: "ai-gpu";
|
|
5196
6222
|
role: "inference" | "training" | "controller";
|
|
@@ -5286,6 +6312,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5286
6312
|
extensions: string[];
|
|
5287
6313
|
runtimeConnectionLimit: number;
|
|
5288
6314
|
}[] | undefined;
|
|
6315
|
+
postgresLifecycle?: {
|
|
6316
|
+
requirementId: string;
|
|
6317
|
+
credentialOwner: {
|
|
6318
|
+
uid: number;
|
|
6319
|
+
gid: number;
|
|
6320
|
+
};
|
|
6321
|
+
migration: {
|
|
6322
|
+
timeoutSeconds: number;
|
|
6323
|
+
composeService: string;
|
|
6324
|
+
completion: "exit-zero" | "healthy-stop";
|
|
6325
|
+
};
|
|
6326
|
+
runtimeServices: string[];
|
|
6327
|
+
}[] | undefined;
|
|
5289
6328
|
modeControl?: {
|
|
5290
6329
|
resource: "ai-gpu";
|
|
5291
6330
|
role: "inference" | "training" | "controller";
|
|
@@ -5381,6 +6420,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5381
6420
|
extensions: string[];
|
|
5382
6421
|
runtimeConnectionLimit: number;
|
|
5383
6422
|
}[] | undefined;
|
|
6423
|
+
postgresLifecycle?: {
|
|
6424
|
+
requirementId: string;
|
|
6425
|
+
credentialOwner: {
|
|
6426
|
+
uid: number;
|
|
6427
|
+
gid: number;
|
|
6428
|
+
};
|
|
6429
|
+
migration: {
|
|
6430
|
+
timeoutSeconds: number;
|
|
6431
|
+
composeService: string;
|
|
6432
|
+
completion: "exit-zero" | "healthy-stop";
|
|
6433
|
+
};
|
|
6434
|
+
runtimeServices: string[];
|
|
6435
|
+
}[] | undefined;
|
|
5384
6436
|
modeControl?: {
|
|
5385
6437
|
resource: "ai-gpu";
|
|
5386
6438
|
role: "inference" | "training" | "controller";
|
|
@@ -5476,6 +6528,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5476
6528
|
extensions: string[];
|
|
5477
6529
|
runtimeConnectionLimit: number;
|
|
5478
6530
|
}[] | undefined;
|
|
6531
|
+
postgresLifecycle?: {
|
|
6532
|
+
requirementId: string;
|
|
6533
|
+
credentialOwner: {
|
|
6534
|
+
uid: number;
|
|
6535
|
+
gid: number;
|
|
6536
|
+
};
|
|
6537
|
+
migration: {
|
|
6538
|
+
timeoutSeconds: number;
|
|
6539
|
+
composeService: string;
|
|
6540
|
+
completion: "exit-zero" | "healthy-stop";
|
|
6541
|
+
};
|
|
6542
|
+
runtimeServices: string[];
|
|
6543
|
+
}[] | undefined;
|
|
5479
6544
|
modeControl?: {
|
|
5480
6545
|
resource: "ai-gpu";
|
|
5481
6546
|
role: "inference" | "training" | "controller";
|
|
@@ -5598,6 +6663,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5598
6663
|
extensions: string[];
|
|
5599
6664
|
runtimeConnectionLimit: number;
|
|
5600
6665
|
}[] | undefined;
|
|
6666
|
+
postgresLifecycle?: {
|
|
6667
|
+
requirementId: string;
|
|
6668
|
+
credentialOwner: {
|
|
6669
|
+
uid: number;
|
|
6670
|
+
gid: number;
|
|
6671
|
+
};
|
|
6672
|
+
migration: {
|
|
6673
|
+
timeoutSeconds: number;
|
|
6674
|
+
composeService: string;
|
|
6675
|
+
completion: "exit-zero" | "healthy-stop";
|
|
6676
|
+
};
|
|
6677
|
+
runtimeServices: string[];
|
|
6678
|
+
}[] | undefined;
|
|
5601
6679
|
modeControl?: {
|
|
5602
6680
|
resource: "ai-gpu";
|
|
5603
6681
|
role: "inference" | "training" | "controller";
|
|
@@ -5734,6 +6812,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5734
6812
|
extensions: string[];
|
|
5735
6813
|
runtimeConnectionLimit: number;
|
|
5736
6814
|
}[] | undefined;
|
|
6815
|
+
postgresLifecycle?: {
|
|
6816
|
+
requirementId: string;
|
|
6817
|
+
credentialOwner: {
|
|
6818
|
+
uid: number;
|
|
6819
|
+
gid: number;
|
|
6820
|
+
};
|
|
6821
|
+
migration: {
|
|
6822
|
+
timeoutSeconds: number;
|
|
6823
|
+
composeService: string;
|
|
6824
|
+
completion: "exit-zero" | "healthy-stop";
|
|
6825
|
+
};
|
|
6826
|
+
runtimeServices: string[];
|
|
6827
|
+
}[] | undefined;
|
|
5737
6828
|
modeControl?: {
|
|
5738
6829
|
resource: "ai-gpu";
|
|
5739
6830
|
role: "inference" | "training" | "controller";
|
|
@@ -5870,6 +6961,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5870
6961
|
extensions: string[];
|
|
5871
6962
|
runtimeConnectionLimit: number;
|
|
5872
6963
|
}[] | undefined;
|
|
6964
|
+
postgresLifecycle?: {
|
|
6965
|
+
requirementId: string;
|
|
6966
|
+
credentialOwner: {
|
|
6967
|
+
uid: number;
|
|
6968
|
+
gid: number;
|
|
6969
|
+
};
|
|
6970
|
+
migration: {
|
|
6971
|
+
timeoutSeconds: number;
|
|
6972
|
+
composeService: string;
|
|
6973
|
+
completion: "exit-zero" | "healthy-stop";
|
|
6974
|
+
};
|
|
6975
|
+
runtimeServices: string[];
|
|
6976
|
+
}[] | undefined;
|
|
5873
6977
|
modeControl?: {
|
|
5874
6978
|
resource: "ai-gpu";
|
|
5875
6979
|
role: "inference" | "training" | "controller";
|
|
@@ -6006,6 +7110,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6006
7110
|
extensions: string[];
|
|
6007
7111
|
runtimeConnectionLimit: number;
|
|
6008
7112
|
}[] | undefined;
|
|
7113
|
+
postgresLifecycle?: {
|
|
7114
|
+
requirementId: string;
|
|
7115
|
+
credentialOwner: {
|
|
7116
|
+
uid: number;
|
|
7117
|
+
gid: number;
|
|
7118
|
+
};
|
|
7119
|
+
migration: {
|
|
7120
|
+
timeoutSeconds: number;
|
|
7121
|
+
composeService: string;
|
|
7122
|
+
completion: "exit-zero" | "healthy-stop";
|
|
7123
|
+
};
|
|
7124
|
+
runtimeServices: string[];
|
|
7125
|
+
}[] | undefined;
|
|
6009
7126
|
modeControl?: {
|
|
6010
7127
|
resource: "ai-gpu";
|
|
6011
7128
|
role: "inference" | "training" | "controller";
|
|
@@ -6258,6 +7375,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6258
7375
|
extensions: string[];
|
|
6259
7376
|
runtimeConnectionLimit: number;
|
|
6260
7377
|
}[] | undefined;
|
|
7378
|
+
postgresLifecycle?: {
|
|
7379
|
+
requirementId: string;
|
|
7380
|
+
credentialOwner: {
|
|
7381
|
+
uid: number;
|
|
7382
|
+
gid: number;
|
|
7383
|
+
};
|
|
7384
|
+
migration: {
|
|
7385
|
+
timeoutSeconds: number;
|
|
7386
|
+
composeService: string;
|
|
7387
|
+
completion: "exit-zero" | "healthy-stop";
|
|
7388
|
+
};
|
|
7389
|
+
runtimeServices: string[];
|
|
7390
|
+
}[] | undefined;
|
|
6261
7391
|
modeControl?: {
|
|
6262
7392
|
resource: "ai-gpu";
|
|
6263
7393
|
role: "inference" | "training" | "controller";
|
|
@@ -6426,6 +7556,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6426
7556
|
extensions: string[];
|
|
6427
7557
|
runtimeConnectionLimit: number;
|
|
6428
7558
|
}[] | undefined;
|
|
7559
|
+
postgresLifecycle?: {
|
|
7560
|
+
requirementId: string;
|
|
7561
|
+
credentialOwner: {
|
|
7562
|
+
uid: number;
|
|
7563
|
+
gid: number;
|
|
7564
|
+
};
|
|
7565
|
+
migration: {
|
|
7566
|
+
timeoutSeconds: number;
|
|
7567
|
+
composeService: string;
|
|
7568
|
+
completion: "exit-zero" | "healthy-stop";
|
|
7569
|
+
};
|
|
7570
|
+
runtimeServices: string[];
|
|
7571
|
+
}[] | undefined;
|
|
6429
7572
|
modeControl?: {
|
|
6430
7573
|
resource: "ai-gpu";
|
|
6431
7574
|
role: "inference" | "training" | "controller";
|
|
@@ -6594,6 +7737,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6594
7737
|
extensions: string[];
|
|
6595
7738
|
runtimeConnectionLimit: number;
|
|
6596
7739
|
}[] | undefined;
|
|
7740
|
+
postgresLifecycle?: {
|
|
7741
|
+
requirementId: string;
|
|
7742
|
+
credentialOwner: {
|
|
7743
|
+
uid: number;
|
|
7744
|
+
gid: number;
|
|
7745
|
+
};
|
|
7746
|
+
migration: {
|
|
7747
|
+
timeoutSeconds: number;
|
|
7748
|
+
composeService: string;
|
|
7749
|
+
completion: "exit-zero" | "healthy-stop";
|
|
7750
|
+
};
|
|
7751
|
+
runtimeServices: string[];
|
|
7752
|
+
}[] | undefined;
|
|
6597
7753
|
modeControl?: {
|
|
6598
7754
|
resource: "ai-gpu";
|
|
6599
7755
|
role: "inference" | "training" | "controller";
|
|
@@ -6762,6 +7918,19 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6762
7918
|
extensions: string[];
|
|
6763
7919
|
runtimeConnectionLimit: number;
|
|
6764
7920
|
}[] | undefined;
|
|
7921
|
+
postgresLifecycle?: {
|
|
7922
|
+
requirementId: string;
|
|
7923
|
+
credentialOwner: {
|
|
7924
|
+
uid: number;
|
|
7925
|
+
gid: number;
|
|
7926
|
+
};
|
|
7927
|
+
migration: {
|
|
7928
|
+
timeoutSeconds: number;
|
|
7929
|
+
composeService: string;
|
|
7930
|
+
completion: "exit-zero" | "healthy-stop";
|
|
7931
|
+
};
|
|
7932
|
+
runtimeServices: string[];
|
|
7933
|
+
}[] | undefined;
|
|
6765
7934
|
modeControl?: {
|
|
6766
7935
|
resource: "ai-gpu";
|
|
6767
7936
|
role: "inference" | "training" | "controller";
|