@alienplatform/core 3.3.49 → 3.3.50

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/index.d.ts CHANGED
@@ -165,9 +165,9 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
165
165
  aws: "aws";
166
166
  azure: "azure";
167
167
  gcp: "gcp";
168
+ local: "local";
168
169
  kubernetes: "kubernetes";
169
170
  machines: "machines";
170
- local: "local";
171
171
  test: "test";
172
172
  }>;
173
173
  resourcePrefix: z$2.ZodString;
@@ -181,9 +181,9 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
181
181
  aws: "aws";
182
182
  azure: "azure";
183
183
  gcp: "gcp";
184
+ local: "local";
184
185
  kubernetes: "kubernetes";
185
186
  machines: "machines";
186
- local: "local";
187
187
  test: "test";
188
188
  }>, z$2.ZodNull]>>;
189
189
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -4393,9 +4393,9 @@ declare const ComputeClusterSchema: z$2.ZodObject<{
4393
4393
  aws: "aws";
4394
4394
  azure: "azure";
4395
4395
  gcp: "gcp";
4396
+ local: "local";
4396
4397
  kubernetes: "kubernetes";
4397
4398
  machines: "machines";
4398
- local: "local";
4399
4399
  test: "test";
4400
4400
  }>>>>;
4401
4401
  selectedFailureDomains: z$2.ZodOptional<z$2.ZodObject<{}, z$2.core.$catchall<z$2.ZodArray<z$2.ZodString>>>>;
@@ -6752,9 +6752,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
6752
6752
  aws: "aws";
6753
6753
  azure: "azure";
6754
6754
  gcp: "gcp";
6755
+ local: "local";
6755
6756
  kubernetes: "kubernetes";
6756
6757
  machines: "machines";
6757
- local: "local";
6758
6758
  test: "test";
6759
6759
  }>;
6760
6760
  resourcePrefix: z$2.ZodString;
@@ -6768,9 +6768,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
6768
6768
  aws: "aws";
6769
6769
  azure: "azure";
6770
6770
  gcp: "gcp";
6771
+ local: "local";
6771
6772
  kubernetes: "kubernetes";
6772
6773
  machines: "machines";
6773
- local: "local";
6774
6774
  test: "test";
6775
6775
  }>, z$2.ZodNull]>>;
6776
6776
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -7029,9 +7029,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
7029
7029
  aws: "aws";
7030
7030
  azure: "azure";
7031
7031
  gcp: "gcp";
7032
+ local: "local";
7032
7033
  kubernetes: "kubernetes";
7033
7034
  machines: "machines";
7034
- local: "local";
7035
7035
  test: "test";
7036
7036
  }>;
7037
7037
  resourcePrefix: z$2.ZodString;
@@ -7045,9 +7045,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
7045
7045
  aws: "aws";
7046
7046
  azure: "azure";
7047
7047
  gcp: "gcp";
7048
+ local: "local";
7048
7049
  kubernetes: "kubernetes";
7049
7050
  machines: "machines";
7050
- local: "local";
7051
7051
  test: "test";
7052
7052
  }>, z$2.ZodNull]>>;
7053
7053
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -9580,8 +9580,8 @@ declare const HeartbeatBackendSchema: z$2.ZodEnum<{
9580
9580
  aws: "aws";
9581
9581
  azure: "azure";
9582
9582
  gcp: "gcp";
9583
- kubernetes: "kubernetes";
9584
9583
  local: "local";
9584
+ kubernetes: "kubernetes";
9585
9585
  test: "test";
9586
9586
  managed: "managed";
9587
9587
  }>;
@@ -12798,8 +12798,8 @@ declare const ObservedInventoryBatchSchema: z$2.ZodObject<{
12798
12798
  aws: "aws";
12799
12799
  azure: "azure";
12800
12800
  gcp: "gcp";
12801
- kubernetes: "kubernetes";
12802
12801
  local: "local";
12802
+ kubernetes: "kubernetes";
12803
12803
  test: "test";
12804
12804
  managed: "managed";
12805
12805
  }>;
@@ -12808,9 +12808,9 @@ declare const ObservedInventoryBatchSchema: z$2.ZodObject<{
12808
12808
  aws: "aws";
12809
12809
  azure: "azure";
12810
12810
  gcp: "gcp";
12811
+ local: "local";
12811
12812
  kubernetes: "kubernetes";
12812
12813
  machines: "machines";
12813
- local: "local";
12814
12814
  test: "test";
12815
12815
  }>;
12816
12816
  inventoryScope: z$2.ZodString;
@@ -13503,9 +13503,9 @@ declare const PlatformSchema: z$2.ZodEnum<{
13503
13503
  aws: "aws";
13504
13504
  azure: "azure";
13505
13505
  gcp: "gcp";
13506
+ local: "local";
13506
13507
  kubernetes: "kubernetes";
13507
13508
  machines: "machines";
13508
- local: "local";
13509
13509
  test: "test";
13510
13510
  }>;
13511
13511
  type Platform = z$2.infer<typeof PlatformSchema>;
@@ -20059,8 +20059,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
20059
20059
  aws: "aws";
20060
20060
  azure: "azure";
20061
20061
  gcp: "gcp";
20062
- kubernetes: "kubernetes";
20063
20062
  local: "local";
20063
+ kubernetes: "kubernetes";
20064
20064
  test: "test";
20065
20065
  managed: "managed";
20066
20066
  }>;
@@ -20068,9 +20068,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
20068
20068
  aws: "aws";
20069
20069
  azure: "azure";
20070
20070
  gcp: "gcp";
20071
+ local: "local";
20071
20072
  kubernetes: "kubernetes";
20072
20073
  machines: "machines";
20073
- local: "local";
20074
20074
  test: "test";
20075
20075
  }>;
20076
20076
  data: z$2.ZodUnion<readonly [z$2.ZodObject<{
@@ -26851,9 +26851,9 @@ declare const StackInputDefinitionSchema: z$2.ZodObject<{
26851
26851
  aws: "aws";
26852
26852
  azure: "azure";
26853
26853
  gcp: "gcp";
26854
+ local: "local";
26854
26855
  kubernetes: "kubernetes";
26855
26856
  machines: "machines";
26856
- local: "local";
26857
26857
  test: "test";
26858
26858
  }>>>>;
26859
26859
  providedBy: z$2.ZodArray<z$2.ZodEnum<{
@@ -26954,9 +26954,9 @@ declare const StackResourceStateSchema: z$2.ZodObject<{
26954
26954
  aws: "aws";
26955
26955
  azure: "azure";
26956
26956
  gcp: "gcp";
26957
+ local: "local";
26957
26958
  kubernetes: "kubernetes";
26958
26959
  machines: "machines";
26959
- local: "local";
26960
26960
  test: "test";
26961
26961
  }>, z$2.ZodNull]>>;
26962
26962
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -27064,9 +27064,9 @@ declare const StackSchema: z$2.ZodObject<{
27064
27064
  aws: "aws";
27065
27065
  azure: "azure";
27066
27066
  gcp: "gcp";
27067
+ local: "local";
27067
27068
  kubernetes: "kubernetes";
27068
27069
  machines: "machines";
27069
- local: "local";
27070
27070
  test: "test";
27071
27071
  }>>>>;
27072
27072
  providedBy: z$2.ZodArray<z$2.ZodEnum<{
@@ -27399,9 +27399,9 @@ declare const StackSchema: z$2.ZodObject<{
27399
27399
  aws: "aws";
27400
27400
  azure: "azure";
27401
27401
  gcp: "gcp";
27402
+ local: "local";
27402
27403
  kubernetes: "kubernetes";
27403
27404
  machines: "machines";
27404
- local: "local";
27405
27405
  test: "test";
27406
27406
  }>>>>;
27407
27407
  }, z$2.core.$strip>;
@@ -28555,9 +28555,9 @@ declare const StackStateSchema: z$2.ZodObject<{
28555
28555
  aws: "aws";
28556
28556
  azure: "azure";
28557
28557
  gcp: "gcp";
28558
+ local: "local";
28558
28559
  kubernetes: "kubernetes";
28559
28560
  machines: "machines";
28560
- local: "local";
28561
28561
  test: "test";
28562
28562
  }>;
28563
28563
  resourcePrefix: z$2.ZodString;
@@ -28571,9 +28571,9 @@ declare const StackStateSchema: z$2.ZodObject<{
28571
28571
  aws: "aws";
28572
28572
  azure: "azure";
28573
28573
  gcp: "gcp";
28574
+ local: "local";
28574
28575
  kubernetes: "kubernetes";
28575
28576
  machines: "machines";
28576
- local: "local";
28577
28577
  test: "test";
28578
28578
  }>, z$2.ZodNull]>>;
28579
28579
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -30962,6 +30962,11 @@ declare const BindingNotFoundError: {
30962
30962
  type ComputePoolRequirements = {
30963
30963
  cpu: number | string;
30964
30964
  memory: string;
30965
+ /**
30966
+ * Storage on the disk holding the operating system (default "20Gi"). On
30967
+ * AWS, GCP and Azure it sizes each machine's root disk; a change replaces
30968
+ * the machines one at a time without rerunning setup.
30969
+ */
30965
30970
  ephemeralStorage?: string;
30966
30971
  architecture?: "arm64" | "x86_64";
30967
30972
  nestedVirtualization?: boolean;
@@ -30972,9 +30977,16 @@ type ComputePoolRequirements = {
30972
30977
  /**
30973
30978
  * An additional empty block device each machine must provide, besides the
30974
30979
  * disk holding the operating system: no partitions, no filesystem, not
30975
- * mounted, and at least `size` (for example "50Gi"). Supported on machines
30976
- * deployments, where `join` refuses a host without one. Other platforms
30977
- * reject it because Alien does not attach the disk there.
30980
+ * mounted, and at least `size` (for example "50Gi").
30981
+ *
30982
+ * On AWS, GCP and Azure, Alien attaches one new disk to every machine and
30983
+ * deletes it with the machine: an encrypted gp3 EBS volume, a pd-balanced
30984
+ * persistent disk (at least 10 GiB), or a Premium SSD managed disk at LUN 0.
30985
+ * Sizes are rounded up to a whole GiB, up to 64 TiB on AWS and GCP and
30986
+ * 32,767 GiB on Azure. Changing the size replaces the machines one at a
30987
+ * time without rerunning setup. Data on the disk lasts only as long as its
30988
+ * machine. On machines deployments, `join` refuses a host without one.
30989
+ * Kubernetes rejects it because Alien does not attach disks to nodes.
30978
30990
  */
30979
30991
  dataDisk?: {
30980
30992
  size: string;
@@ -31382,6 +31394,10 @@ declare class Daemon extends ResourceBuilder {
31382
31394
  *
31383
31395
  * Use this only for daemons that intentionally need host-level access, such
31384
31396
  * as a privileged loader that installs or supervises a native host process.
31397
+ *
31398
+ * On AWS, GCP and Azure, host access (`privileged`, host network, host PID
31399
+ * namespace or host mounts) can't be combined with `permissions`: such a
31400
+ * daemon could use the machine's credentials, so the build refuses it.
31385
31401
  */
31386
31402
  runtime(runtime: DaemonRuntime): this;
31387
31403
  /**
@@ -31416,7 +31432,8 @@ declare class Daemon extends ResourceBuilder {
31416
31432
  /**
31417
31433
  * Assigns a permission profile to this daemon. Without one, no workload cloud identity is created.
31418
31434
  * The profile defines the permissions granted to this daemon when interacting
31419
- * with other cloud resources.
31435
+ * with other cloud resources. On AWS, GCP and Azure, a daemon with permissions
31436
+ * must run without host access (see {@link runtime}).
31420
31437
  * @param permissions The permission profile name.
31421
31438
  * @returns The Daemon builder instance.
31422
31439
  */