@forgezero/agent 0.1.64 → 0.1.67
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/README.md +745 -157
- package/dist/agent-heartbeat.js +1 -1
- package/dist/bootstrap-bundle.d.ts +1 -0
- package/dist/bootstrap-bundle.js +4 -3
- package/dist/bootstrap.d.ts +7 -1
- package/dist/bootstrap.js +264 -13
- package/dist/cli/agent-install.d.ts +9 -0
- package/dist/community-rehearsal-host.d.ts +12 -0
- package/dist/community-rehearsal-host.js +99 -36
- package/dist/definition.js +41 -4
- package/dist/deploy-compiler.js +4 -4
- package/dist/deploy-file.js +41 -4
- package/dist/deploy-plan-runner.js +4 -4
- package/dist/deploy-plan.js +4 -4
- package/dist/fz-agent.js +165 -76
- package/dist/fz.js +501 -258
- package/dist/index.d.ts +1 -1
- package/dist/metal-bootstrap.js +120 -46
- package/dist/metal-helper-socket.js +406 -65
- package/dist/metal-provision.js +402 -61
- package/dist/operator-bootstrap.d.ts +20 -4
- package/dist/operator-bootstrap.js +429 -203
- package/dist/platform-bootstrap-runtime.d.ts +33 -0
- package/dist/platform-bootstrap-runtime.js +551 -44
- package/dist/platform-fleet-verification.js +242 -18
- package/dist/platform-genesis-config.d.ts +7 -1
- package/dist/platform-genesis.d.ts +16 -17
- package/dist/platform-genesis.js +464 -0
- package/dist/provision.js +42 -5
- package/dist/software-helper.js +41 -4
- package/dist/software.d.ts +8 -2
- package/dist/software.js +41 -4
- package/dist/ssh-bootstrap.d.ts +5 -0
- package/dist/ubuntu.d.ts +15 -14
- package/dist/ubuntu.js +345 -9
- package/dist/version.d.ts +1 -1
- package/package.json +8 -4
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
export type PlatformSoftwareProfile = 'platform-db-api' | 'platform-api';
|
|
3
3
|
export type PlatformDatabaseRole = 'master' | 'joiner' | 'none';
|
|
4
4
|
export type ApiSlot = 'blue' | 'green';
|
|
5
|
+
export interface PlatformInitialInventoryCompute {
|
|
6
|
+
name: string;
|
|
7
|
+
address: string;
|
|
8
|
+
imageKey: string;
|
|
9
|
+
cpuPoolKey?: string;
|
|
10
|
+
physicalCores: number;
|
|
11
|
+
vcpu: number;
|
|
12
|
+
memoryGib: number;
|
|
13
|
+
diskGib: number;
|
|
14
|
+
egressGuaranteedMbps: number;
|
|
15
|
+
egressBurstMbps: number;
|
|
16
|
+
confidential: true;
|
|
17
|
+
databaseRole: 'master' | 'joiner';
|
|
18
|
+
databaseAgency: 'member';
|
|
19
|
+
}
|
|
20
|
+
export interface PlatformInitialInventory {
|
|
21
|
+
metalHostname: string;
|
|
22
|
+
region: {
|
|
23
|
+
key: string;
|
|
24
|
+
label: string;
|
|
25
|
+
country: string;
|
|
26
|
+
city?: string;
|
|
27
|
+
confidentialCapable: true;
|
|
28
|
+
};
|
|
29
|
+
computes: readonly [
|
|
30
|
+
PlatformInitialInventoryCompute,
|
|
31
|
+
PlatformInitialInventoryCompute,
|
|
32
|
+
PlatformInitialInventoryCompute
|
|
33
|
+
];
|
|
34
|
+
}
|
|
5
35
|
export type PlatformBootstrapEmail = {
|
|
6
36
|
provider: 'smtp';
|
|
7
37
|
host: string;
|
|
@@ -61,7 +91,10 @@ export interface PlatformSharedEnvironment {
|
|
|
61
91
|
producer: string;
|
|
62
92
|
};
|
|
63
93
|
deployProfile: string;
|
|
94
|
+
/** Exact reviewed generation-one inventory; live API boot never reconstructs it from an environment name. */
|
|
95
|
+
initialInventory?: PlatformInitialInventory;
|
|
64
96
|
}
|
|
97
|
+
export declare function validatePlatformInitialInventory(value: PlatformInitialInventory): PlatformInitialInventory;
|
|
65
98
|
export declare function validatePlatformSharedEnvironment(input: PlatformSharedEnvironment): PlatformSharedEnvironment;
|
|
66
99
|
/** Render only non-secret runtime coordinates. Passwords/tokens have no field in this contract. */
|
|
67
100
|
export declare function renderPlatformSharedEnvironment(input: PlatformSharedEnvironment): string;
|