@alienplatform/core 1.10.4 → 1.10.5

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/stack.js CHANGED
@@ -3597,7 +3597,7 @@ const ContainerSchema = z.object({
3597
3597
  return z.array(ContainerPortSchema.describe("Container port configuration.")).describe("Internal container ports (at least one required).");
3598
3598
  },
3599
3599
  get "publicEndpoints"() {
3600
- return z.array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the container.");
3600
+ return z.array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the container.").optional();
3601
3601
  },
3602
3602
  "replicas": z.int().min(0).describe("Fixed replica count (for stateful containers or stateless without autoscaling)").nullish(),
3603
3603
  "stateful": z.optional(z.boolean().describe("Whether container is stateful (gets stable ordinals, optional persistent volumes)"))
@@ -3904,7 +3904,7 @@ const DaemonSchema = z.object({
3904
3904
  "permissions": z.string(),
3905
3905
  "pool": z.string().describe("Capacity group/pool to run on for backends that expose machine pools.").nullish(),
3906
3906
  get "publicEndpoints"() {
3907
- return z.array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the daemon.");
3907
+ return z.array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the daemon.").optional();
3908
3908
  },
3909
3909
  get "runtime"() {
3910
3910
  return z.union([DaemonRuntimeSchema, z.null()]).optional();
@@ -6198,7 +6198,7 @@ const WorkerSchema = z.object({
6198
6198
  "memoryMb": z.optional(z.int().min(0).default(256).describe("Memory allocated to the worker in megabytes (MB).\nDefault: 256\n\nPlatform-specific constraints:\n- **AWS Lambda**: 128–10240 MB in 1 MB increments\n- **GCP Cloud Run**: 128–32768 MB\n- **Azure Container Apps**: fixed CPU/memory pairs — 512, 1024, 1536, 2048, 2560,\n 3072, 3584, 4096 MB. Values below 512 are automatically rounded up at deploy time.")),
6199
6199
  "permissions": z.string().describe("Permission profile name that defines the permissions granted to this worker.\nThis references a profile defined in the stack's permission definitions."),
6200
6200
  get "publicEndpoints"() {
6201
- return z.array(WorkerPublicEndpointSchema.describe("Public endpoint configuration for Worker resources.")).describe("Public endpoints exposed by this worker.");
6201
+ return z.array(WorkerPublicEndpointSchema.describe("Public endpoint configuration for Worker resources.")).describe("Public endpoints exposed by this worker.").optional();
6202
6202
  },
6203
6203
  get "readinessProbe"() {
6204
6204
  return z.union([ReadinessProbeSchema, z.null()]).optional();