@alienplatform/sdk 3.3.31 → 3.3.32
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/dist.js +45 -1
- package/package.json +4 -4
package/dist/dist.js
CHANGED
|
@@ -8887,9 +8887,23 @@ const ComputePoolSelectionSchema = union([object({
|
|
|
8887
8887
|
* Do not edit manually.
|
|
8888
8888
|
*/
|
|
8889
8889
|
/**
|
|
8890
|
+
* @description Deployment-time resource allocation for a container. Omitted fields use release defaults.
|
|
8891
|
+
*/
|
|
8892
|
+
const ContainerResourceSelectionSchema = object({
|
|
8893
|
+
"cpu": number().describe("CPU allocation in vCPUs.").nullish(),
|
|
8894
|
+
"memory": string().describe("Memory allocation, using binary units such as Mi or Gi.").nullish()
|
|
8895
|
+
}).describe("Deployment-time resource allocation for a container. Omitted fields use release defaults.");
|
|
8896
|
+
/**
|
|
8897
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8898
|
+
* Do not edit manually.
|
|
8899
|
+
*/
|
|
8900
|
+
/**
|
|
8890
8901
|
* @description Deployment-time compute choices for Alien-managed compute pools.\n\nApplication source declares portable pool requirements. This settings\nobject stores the concrete choices made for one deployment, such as the\nprovider machine type and selected machine counts.
|
|
8891
8902
|
*/
|
|
8892
|
-
const ComputeSettingsSchema = object({
|
|
8903
|
+
const ComputeSettingsSchema = object({
|
|
8904
|
+
"containers": optional(object({}).catchall(lazy(() => ContainerResourceSelectionSchema).describe("Deployment-time resource allocation for a container. Omitted fields use release defaults.")).describe("Per-replica resources selected within each container's declared ranges.")),
|
|
8905
|
+
"pools": optional(object({}).catchall(lazy(() => ComputePoolSelectionSchema).describe("User-selected deployment settings for one compute pool.")).describe("Selected compute choices keyed by pool ID."))
|
|
8906
|
+
}).describe("Deployment-time compute choices for Alien-managed compute pools.\n\nApplication source declares portable pool requirements. This settings\nobject stores the concrete choices made for one deployment, such as the\nprovider machine type and selected machine counts.");
|
|
8893
8907
|
/**
|
|
8894
8908
|
* Generated by Kubb (https://kubb.dev/).
|
|
8895
8909
|
* Do not edit manually.
|
|
@@ -9408,6 +9422,33 @@ const ContainerPortSchema = object({ "port": int().min(0).describe("Port number"
|
|
|
9408
9422
|
* Do not edit manually.
|
|
9409
9423
|
*/
|
|
9410
9424
|
/**
|
|
9425
|
+
* @description Allowed deployment-time resource quantities. These are choices, not autoscaling targets.
|
|
9426
|
+
*/
|
|
9427
|
+
const ResourceChoiceRangeSchema = object({
|
|
9428
|
+
"default": string().describe("Allocation used when deployment settings omit a selection."),
|
|
9429
|
+
"max": string().describe("Largest permitted allocation."),
|
|
9430
|
+
"min": string().describe("Smallest permitted allocation.")
|
|
9431
|
+
}).describe("Allowed deployment-time resource quantities. These are choices, not autoscaling targets.");
|
|
9432
|
+
/**
|
|
9433
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
9434
|
+
* Do not edit manually.
|
|
9435
|
+
*/
|
|
9436
|
+
/**
|
|
9437
|
+
* @description Release-declared choices for each container resource dimension.
|
|
9438
|
+
*/
|
|
9439
|
+
const ContainerResourceChoicesSchema = object({
|
|
9440
|
+
get "cpu"() {
|
|
9441
|
+
return union([ResourceChoiceRangeSchema, _null()]).optional();
|
|
9442
|
+
},
|
|
9443
|
+
get "memory"() {
|
|
9444
|
+
return union([ResourceChoiceRangeSchema, _null()]).optional();
|
|
9445
|
+
}
|
|
9446
|
+
}).describe("Release-declared choices for each container resource dimension.");
|
|
9447
|
+
/**
|
|
9448
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
9449
|
+
* Do not edit manually.
|
|
9450
|
+
*/
|
|
9451
|
+
/**
|
|
9411
9452
|
* @description Security profile shared by container runtimes.
|
|
9412
9453
|
*/
|
|
9413
9454
|
const ContainerSecurityProfileSchema = _enum(["restricted"]).describe("Security profile shared by container runtimes.");
|
|
@@ -9572,6 +9613,9 @@ object({
|
|
|
9572
9613
|
return array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the container.").optional();
|
|
9573
9614
|
},
|
|
9574
9615
|
"replicas": int().min(0).describe("Fixed replica count (for stateful containers or stateless without autoscaling)").nullish(),
|
|
9616
|
+
get "resourceChoices"() {
|
|
9617
|
+
return union([ContainerResourceChoicesSchema, _null()]).optional();
|
|
9618
|
+
},
|
|
9575
9619
|
get "security"() {
|
|
9576
9620
|
return union([ContainerSecuritySchema, _null()]).optional();
|
|
9577
9621
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alienplatform/sdk",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.32",
|
|
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.
|
|
61
|
-
"@alienplatform/bindings": "^3.3.
|
|
62
|
-
"@alienplatform/core": "^3.3.
|
|
60
|
+
"@alienplatform/ai-gateway": "^3.3.32",
|
|
61
|
+
"@alienplatform/bindings": "^3.3.32",
|
|
62
|
+
"@alienplatform/core": "^3.3.32"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown && tsc --emitDeclarationOnly",
|