@alienplatform/sdk 3.3.67 → 3.3.69

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 +30 -4
  2. package/package.json +4 -4
package/dist/registry.js CHANGED
@@ -6016,6 +6016,22 @@ const AlienEventSchema = union([
6016
6016
  * Do not edit manually.
6017
6017
  */
6018
6018
  /**
6019
+ * @description AWS Bedrock AI binding configuration
6020
+ */
6021
+ const BedrockAiBindingSchema = object({ "region": string().describe("The AWS region where Bedrock is accessed (for example `us-east-1`). The gateway builds\n`https://bedrock-runtime.<region>.amazonaws.com` from it, so parsing refuses anything\nthat is not a plain AWS region name.") }).describe("AWS Bedrock AI binding configuration");
6022
+ /**
6023
+ * Generated by Kubb (https://kubb.dev/).
6024
+ * Do not edit manually.
6025
+ */
6026
+ /**
6027
+ * @description A managed cloud AI service the workload reaches with its ambient identity. The installer owns\nthe identity and its permissions; Alien grants nothing for it.
6028
+ */
6029
+ const AmbientAiBindingSchema = lazy(() => BedrockAiBindingSchema).and(object({ "service": _enum(["bedrock"]) })).describe("AWS Bedrock AI binding configuration").describe("A managed cloud AI service the workload reaches with its ambient identity. The installer owns\nthe identity and its permissions; Alien grants nothing for it.");
6030
+ /**
6031
+ * Generated by Kubb (https://kubb.dev/).
6032
+ * Do not edit manually.
6033
+ */
6034
+ /**
6019
6035
  * @description CPU architecture.
6020
6036
  */
6021
6037
  const ArchitectureSchema = _enum(["arm64", "x86_64"]).describe("CPU architecture.");
@@ -7813,17 +7829,18 @@ const AzureManagementConfigSchema = object({
7813
7829
  * Do not edit manually.
7814
7830
  */
7815
7831
  /**
7816
- * @description Setup-owned subnet coordinates consumed by an internal sandbox gateway load balancer.
7832
+ * @description Setup-owned subnet coordinates consumed by the sandbox gateway VMs.
7817
7833
  */
7818
7834
  const AzureSandboxNetworkSchema = object({
7819
7835
  "gatewayCidrs": array(string()).describe("Gateway ranges allowed by the sandbox subnet NSGs on TCP 3128. Deployments set up before\nthe admin port was removed from that rule also allow TCP 3129; both are accepted."),
7820
- "gatewaySubnetIds": array(string()).describe("Undelegated subnet reserved for the gateway load balancer's frontend."),
7836
+ "gatewayIps": optional(array(string()).describe("Static private IPs of the setup-created gateway VMs (one per replica). Setup releases\nthat predate the VMs leave this empty, and Internet sandboxes then refuse to start.")),
7837
+ "gatewaySubnetIds": array(string()).describe("Undelegated subnet reserved for the gateway replicas' static NICs."),
7821
7838
  "sandboxCidrs": array(string()).describe("Sandbox source ranges allowed on the proxy listener."),
7822
7839
  "sandboxCidrsByResource": optional(object({}).catchall(array(string())).describe("Dedicated source ranges keyed by Sandbox resource id for exact linked-resource access.")),
7823
7840
  "sandboxSubnetIds": array(string()).describe("Dedicated delegated subnets whose sandboxes use the gateway."),
7824
7841
  "vpcCidrs": array(string()).describe("Every VNet range excluded from gateway destinations."),
7825
7842
  "workloadCidrs": array(string()).describe("Workload source ranges allowed on the authenticated admin listener.")
7826
- }).describe("Setup-owned subnet coordinates consumed by an internal sandbox gateway load balancer.");
7843
+ }).describe("Setup-owned subnet coordinates consumed by the sandbox gateway VMs.");
7827
7844
  object({
7828
7845
  "applicationGatewaySubnetId": string().describe("Dedicated subnet for classic Azure Application Gateway ingress.").nullish(),
7829
7846
  "applicationGatewaySubnetName": string().describe("Dedicated subnet name for classic Azure Application Gateway ingress.").nullish(),
@@ -10475,6 +10492,14 @@ const ExternalAiBindingSchema = object({
10475
10492
  * Do not edit manually.
10476
10493
  */
10477
10494
  /**
10495
+ * @description What an installer supplies for an AI resource with an external binding.\n\nTwo inputs, told apart by whether the JSON carries a `service` tag (other than `external-ai`):\n- `{ \"provider\", \"apiKey\" }` — BYO key (the original input; stored deployments and Helm values\n carry it, so it parses exactly as before). `{ \"service\": \"external-ai\", \"provider\",\n \"apiKey\" }` also parses, as it did before the cloud-identity form existed.\n- `{ \"service\": \"bedrock\", \"region\" }` — the cloud\'s own AI service, called with the workload\'s\n ambient identity (for example an EKS pod\'s IRSA role). No key, no Secret.\n\nThe cloud-identity form needs the pod to have its own AWS identity: on Kubernetes, an IRSA role\non the service account (or an EKS Pod Identity association) with `bedrock:InvokeModel` and\n`bedrock:InvokeModelWithResponseStream`. Without one the gateway refuses to sign and never uses\nthe node\'s role. The `region` must be a plain AWS region name such as `us-east-1`.\n\nAccess is not checked at install time (the setup credentials cannot speak for the pod\'s role):\nit is checked on the first call, and a model the role cannot use fails with\n`provider_access_unavailable`.\n\nUntagged, because the BYO-key input has no tag and must keep parsing unchanged. The two shapes\ncannot overlap: the ambient one requires `service`, the key one requires `provider` and `apiKey`.\n`Deserialize` is hand-written (see below) so a typo gets an error naming both accepted forms, and\nso an ambient input carrying an unused key such as `apiKey` is refused instead of dropped.
10496
+ */
10497
+ const ExternalAiSchema = union([lazy(() => AmbientAiBindingSchema), lazy(() => ExternalAiBindingSchema)]).describe("What an installer supplies for an AI resource with an external binding.\n\nTwo inputs, told apart by whether the JSON carries a `service` tag (other than `external-ai`):\n- `{ \"provider\", \"apiKey\" }` — BYO key (the original input; stored deployments and Helm values\n carry it, so it parses exactly as before). `{ \"service\": \"external-ai\", \"provider\",\n \"apiKey\" }` also parses, as it did before the cloud-identity form existed.\n- `{ \"service\": \"bedrock\", \"region\" }` — the cloud's own AI service, called with the workload's\n ambient identity (for example an EKS pod's IRSA role). No key, no Secret.\n\nThe cloud-identity form needs the pod to have its own AWS identity: on Kubernetes, an IRSA role\non the service account (or an EKS Pod Identity association) with `bedrock:InvokeModel` and\n`bedrock:InvokeModelWithResponseStream`. Without one the gateway refuses to sign and never uses\nthe node's role. The `region` must be a plain AWS region name such as `us-east-1`.\n\nAccess is not checked at install time (the setup credentials cannot speak for the pod's role):\nit is checked on the first call, and a model the role cannot use fails with\n`provider_access_unavailable`.\n\nUntagged, because the BYO-key input has no tag and must keep parsing unchanged. The two shapes\ncannot overlap: the ambient one requires `service`, the key one requires `provider` and `apiKey`.\n`Deserialize` is hand-written (see below) so a typo gets an error naming both accepted forms, and\nso an ambient input carrying an unused key such as `apiKey` is refused instead of dropped.");
10498
+ /**
10499
+ * Generated by Kubb (https://kubb.dev/).
10500
+ * Do not edit manually.
10501
+ */
10502
+ /**
10478
10503
  * @description GCP Firestore KV binding configuration
10479
10504
  */
10480
10505
  const FirestoreKvBindingSchema = object({
@@ -10969,7 +10994,7 @@ const ExternalBindingSchema = union([
10969
10994
  lazy(() => ContainerAppsEnvironmentBindingSchema).and(object({ "type": _enum(["container_apps_environment"]) })).describe("Binding configuration for a pre-existing Azure Container Apps Environment.\n\nUsed when deploying to an existing environment instead of having Alien provision one.\nThis is useful for shared environments (e.g., test infrastructure) or enterprise\nsetups where environments are managed by a separate team."),
10970
10995
  lazy(() => PostgresBindingSchema).and(object({ "type": _enum(["postgres"]) })).describe("Connection details for a Postgres database, one variant per backend."),
10971
10996
  lazy(() => RedisBindingSchema).and(object({ "type": _enum(["redis"]) })).describe("Connection details for a Redis-compatible server, one variant per backend.\n\nService tags are unique across all binding enums (serde dispatches on\n`service` alone), so the key-value store's `redis` tag is not reused."),
10972
- lazy(() => ExternalAiBindingSchema).and(object({ "type": _enum(["ai"]) })).describe("External AI provider binding configuration (BYO-key).\n\nThe operator-supplied secret rides inside the binding via\n`BindingValue<String>`, so it is a literal on cloud platforms and gains\nKubernetes SecretRef resolution for free (`extract_binding_secrets` walks\nthe binding JSON for `secretRef`).")
10997
+ lazy(() => ExternalAiSchema).and(object({ "type": _enum(["ai"]) })).describe("What an installer supplies for an AI resource with an external binding.\n\nTwo inputs, told apart by whether the JSON carries a `service` tag (other than `external-ai`):\n- `{ \"provider\", \"apiKey\" }` — BYO key (the original input; stored deployments and Helm values\n carry it, so it parses exactly as before). `{ \"service\": \"external-ai\", \"provider\",\n \"apiKey\" }` also parses, as it did before the cloud-identity form existed.\n- `{ \"service\": \"bedrock\", \"region\" }` — the cloud's own AI service, called with the workload's\n ambient identity (for example an EKS pod's IRSA role). No key, no Secret.\n\nThe cloud-identity form needs the pod to have its own AWS identity: on Kubernetes, an IRSA role\non the service account (or an EKS Pod Identity association) with `bedrock:InvokeModel` and\n`bedrock:InvokeModelWithResponseStream`. Without one the gateway refuses to sign and never uses\nthe node's role. The `region` must be a plain AWS region name such as `us-east-1`.\n\nAccess is not checked at install time (the setup credentials cannot speak for the pod's role):\nit is checked on the first call, and a model the role cannot use fails with\n`provider_access_unavailable`.\n\nUntagged, because the BYO-key input has no tag and must keep parsing unchanged. The two shapes\ncannot overlap: the ambient one requires `service`, the key one requires `provider` and `apiKey`.\n`Deserialize` is hand-written (see below) so a typo gets an error naming both accepted forms, and\nso an ambient input carrying an unused key such as `apiKey` is refused instead of dropped.")
10973
10998
  ]).describe("Represents a binding to pre-existing infrastructure.\n\nThe binding type must match the resource type it's applied to.\nValidated at runtime by the executor.");
10974
10999
  /**
10975
11000
  * Generated by Kubb (https://kubb.dev/).
@@ -13171,6 +13196,7 @@ const StackInputDefinitionSchema = object({
13171
13196
  }).describe("Stack input definition serialized into a release stack.");
13172
13197
  union([object({ "external": string().describe("Reference to another stack by ID") }), _enum(["current"])]).describe("Reference to a stack for management permissions");
13173
13198
  object({
13199
+ "builtArchitectures": optional(object({}).catchall(array(lazy(() => ArchitectureSchema).describe("CPU architecture."))).describe("Set by `alien build` for a Kubernetes stack: the CPU architectures of the image\nbuilt for each Container, Daemon and Worker, by resource id (more than one means a\nmulti-architecture image). Pods of a single-architecture image are placed on\nmatching nodes. A resource with no entry was not recorded (a prebuilt image or an\nolder release), so no architecture is selected. Build output replaces any value\nwritten in the stack definition.\n\nKept on the stack, not on the resources: older managers and Operators read every\nresource strictly and refuse a field they do not know, but ignore an unknown\nstack-level field.")),
13174
13200
  "dynamicContainerImageResources": optional(array(string()).describe("Released Container resources whose image repositories are approved for\ncontainers created after installation.")),
13175
13201
  "dynamicContainerRepositories": optional(array(string()).describe("Exact image repositories approved for containers created after installation.\nThe runtime API also requires an immutable SHA-256 digest.")),
13176
13202
  "id": string().describe("Unique identifier for the stack"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alienplatform/sdk",
3
- "version": "3.3.67",
3
+ "version": "3.3.69",
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.67",
61
- "@alienplatform/core": "^3.3.67",
62
- "@alienplatform/bindings": "^3.3.67"
60
+ "@alienplatform/ai-gateway": "^3.3.69",
61
+ "@alienplatform/bindings": "^3.3.69",
62
+ "@alienplatform/core": "^3.3.69"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsdown && tsc --emitDeclarationOnly",