@alienplatform/sdk 3.3.50 → 3.3.51

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.
Files changed (2) hide show
  1. package/dist/registry.js +6 -1
  2. package/package.json +4 -4
package/dist/registry.js CHANGED
@@ -8431,6 +8431,9 @@ const MachineProfileSchema = object({
8431
8431
  * @description Capacity group definition.\n\nA capacity group represents machines with identical hardware profiles.\nEach group becomes a separate Auto Scaling Group (AWS), Managed Instance Group (GCP),\nor VM Scale Set (Azure).
8432
8432
  */
8433
8433
  const CapacityGroupSchema = object({
8434
+ get "dataDiskGibRange"() {
8435
+ return union([ComputeChoiceRangeSchema, _null()]).optional();
8436
+ },
8434
8437
  "groupId": string().describe("Unique identifier for this capacity group (must be lowercase alphanumeric with hyphens)"),
8435
8438
  "instanceType": string().describe("Provider machine selected at deployment time.\n`alien.ts` should declare portable requirements; preflight materialization\nfills this field from `StackSettings.compute`.").nullish(),
8436
8439
  "maxSize": int().min(0).describe("Maximum number of machines (must be ≤ 10)"),
@@ -8733,7 +8736,7 @@ object({
8733
8736
  return array(PlatformSchema.describe("Represents the target cloud platform.")).describe("Cloud platforms on which the explicit node grants apply; absent applies everywhere.").nullish();
8734
8737
  },
8735
8738
  "selectedFailureDomains": optional(object({}).catchall(array(string())).describe("Concrete provider failure domains selected during setup, keyed by capacity group.\nEmpty preserves the existing aggregate layout when no spread policy is configured."))
8736
- }).describe("ComputeCluster resource for running long-running container workloads.\n\nA ComputeCluster provides the setup-owned machine boundary for containers.\nAlien may manage the worker fleet inside that boundary when setup grants\n`compute-cluster/management`.\n\n## Architecture\n\n- **Setup** creates cloud resources: ASGs/MIGs/VMSSs, IAM roles, security groups\n- **Alien** manages allowed fleet operations: machine count, runtime\n machine image rollout and, on AWS, the machine type within one CPU architecture\n- A node agent runs on each machine from the selected runtime image channel\n\n## Example\n\n```rust\nuse alien_core::{CapacityGroup, ComputeCluster, MachineProfile};\n\nlet cluster = ComputeCluster::new(\"compute\".to_string())\n .capacity_group(CapacityGroup {\n group_id: \"general\".to_string(),\n instance_type: None,\n profile: Some(MachineProfile {\n cpu: \"4.0\".to_string(),\n memory_bytes: 16 * 1024 * 1024 * 1024,\n ephemeral_storage_bytes: 20 * 1024 * 1024 * 1024,\n architecture: None,\n gpu: None,\n data_disk: None,\n }),\n min_size: 1,\n max_size: 5,\n scale_policy: None,\n nested_virtualization: None,\n })\n .build();\n```");
8739
+ }).describe("ComputeCluster resource for running long-running container workloads.\n\nA ComputeCluster provides the setup-owned machine boundary for containers.\nAlien may manage the worker fleet inside that boundary when setup grants\n`compute-cluster/management`.\n\n## Architecture\n\n- **Setup** creates cloud resources: ASGs/MIGs/VMSSs, IAM roles, security groups\n- **Alien** manages allowed fleet operations: machine count, runtime\n machine image rollout and, on AWS, the machine type within one CPU architecture\n- A node agent runs on each machine from the selected runtime image channel\n\n## Example\n\n```rust\nuse alien_core::{CapacityGroup, ComputeCluster, MachineProfile};\n\nlet cluster = ComputeCluster::new(\"compute\".to_string())\n .capacity_group(CapacityGroup {\n group_id: \"general\".to_string(),\n instance_type: None,\n profile: Some(MachineProfile {\n cpu: \"4.0\".to_string(),\n memory_bytes: 16 * 1024 * 1024 * 1024,\n ephemeral_storage_bytes: 20 * 1024 * 1024 * 1024,\n architecture: None,\n gpu: None,\n data_disk: None,\n }),\n min_size: 1,\n max_size: 5,\n scale_policy: None,\n nested_virtualization: None,\n data_disk_gib_range: None,\n })\n .build();\n```");
8737
8740
  /**
8738
8741
  * Generated by Kubb (https://kubb.dev/).
8739
8742
  * Do not edit manually.
@@ -8753,6 +8756,7 @@ const FailureDomainSelectionSchema = object({
8753
8756
  * @description User-selected deployment settings for one compute pool.
8754
8757
  */
8755
8758
  const ComputePoolSelectionSchema = union([object({
8759
+ "dataDiskGib": int().min(0).describe("Data disk size per machine, in whole GiB, within the pool's declared\nrange. Omitted uses the release default; 0 runs the pool without one.").nullish(),
8756
8760
  get "failure_domains"() {
8757
8761
  return union([FailureDomainSelectionSchema, _null()]).optional();
8758
8762
  },
@@ -8760,6 +8764,7 @@ const ComputePoolSelectionSchema = union([object({
8760
8764
  "machines": int().min(0).describe("Number of machines to run."),
8761
8765
  "mode": _enum(["fixed"])
8762
8766
  }), object({
8767
+ "dataDiskGib": int().min(0).describe("Data disk size per machine, in whole GiB, within the pool's declared\nrange. Omitted uses the release default; 0 runs the pool without one.").nullish(),
8763
8768
  get "failure_domains"() {
8764
8769
  return union([FailureDomainSelectionSchema, _null()]).optional();
8765
8770
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alienplatform/sdk",
3
- "version": "3.3.50",
3
+ "version": "3.3.51",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -57,9 +57,9 @@
57
57
  "nice-grpc": "^2.1.11",
58
58
  "nice-grpc-common": "^2.0.2",
59
59
  "zod": "^4.5.2",
60
- "@alienplatform/ai-gateway": "^3.3.50",
61
- "@alienplatform/bindings": "^3.3.50",
62
- "@alienplatform/core": "^3.3.50"
60
+ "@alienplatform/ai-gateway": "^3.3.51",
61
+ "@alienplatform/bindings": "^3.3.51",
62
+ "@alienplatform/core": "^3.3.51"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsdown && tsc --emitDeclarationOnly",