@alienplatform/core 3.3.36 → 3.3.38
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 +1260 -1168
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +104 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -772,6 +772,8 @@ const ArchitectureSchema = z$2.enum(["arm64", "x86_64"]).describe("CPU architect
|
|
|
772
772
|
* @description AWS ECR (Elastic Container Registry) binding configuration
|
|
773
773
|
*/
|
|
774
774
|
const EcrArtifactRegistryBindingSchema = z$2.object({
|
|
775
|
+
"legacyRepositoryPrefixes": z$2.optional(z$2.array(z$2.string()).describe("Repository prefixes this registry used before `repositoryPrefix`. Images already released\nunder them stay readable and keep their cross-account grants; nothing new is written there.")),
|
|
776
|
+
"legacySandboxRepositoryPrefixes": z$2.optional(z$2.array(z$2.string()).describe("Sandbox namespaces this registry used before `sandboxRepositoryPrefix`, read the same way.")),
|
|
775
777
|
get "pullRoleArn"() {
|
|
776
778
|
return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
|
|
777
779
|
},
|
|
@@ -1488,6 +1490,7 @@ const ManagedRuntimeUnitStatusSchema = z$2.object({
|
|
|
1488
1490
|
get "cpu"() {
|
|
1489
1491
|
return z$2.union([MetricSampleSchema, z$2.null()]).optional();
|
|
1490
1492
|
},
|
|
1493
|
+
"image": z$2.string().describe("Image this replica runs.").nullish(),
|
|
1491
1494
|
"ip": z$2.string().nullish(),
|
|
1492
1495
|
"machineId": z$2.string().nullish(),
|
|
1493
1496
|
get "memory"() {
|
|
@@ -2760,6 +2763,24 @@ const AzureManagementConfigSchema = z$2.object({
|
|
|
2760
2763
|
"oidcSubject": z$2.string().describe("OIDC subject claim trusted by the target-side managed identity.")
|
|
2761
2764
|
}).describe("Azure management configuration extracted from stack settings");
|
|
2762
2765
|
//#endregion
|
|
2766
|
+
//#region src/generated/zod/azure-sandbox-network-schema.ts
|
|
2767
|
+
/**
|
|
2768
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2769
|
+
* Do not edit manually.
|
|
2770
|
+
*/
|
|
2771
|
+
/**
|
|
2772
|
+
* @description Setup-owned subnet coordinates consumed by an internal sandbox gateway load balancer.
|
|
2773
|
+
*/
|
|
2774
|
+
const AzureSandboxNetworkSchema = z$2.object({
|
|
2775
|
+
"gatewayCidrs": z$2.array(z$2.string()).describe("Gateway ranges allowed by the sandbox subnet NSGs on TCP3128 and TCP3129."),
|
|
2776
|
+
"gatewaySubnetIds": z$2.array(z$2.string()).describe("Undelegated subnet reserved for the gateway load balancer's frontend."),
|
|
2777
|
+
"sandboxCidrs": z$2.array(z$2.string()).describe("Sandbox source ranges allowed on the proxy listener."),
|
|
2778
|
+
"sandboxCidrsByResource": z$2.optional(z$2.object({}).catchall(z$2.array(z$2.string())).describe("Dedicated source ranges keyed by Sandbox resource id for exact linked-resource access.")),
|
|
2779
|
+
"sandboxSubnetIds": z$2.array(z$2.string()).describe("Dedicated delegated subnets whose sandboxes use the gateway."),
|
|
2780
|
+
"vpcCidrs": z$2.array(z$2.string()).describe("Every VNet range excluded from gateway destinations."),
|
|
2781
|
+
"workloadCidrs": z$2.array(z$2.string()).describe("Workload source ranges allowed on the authenticated admin listener.")
|
|
2782
|
+
}).describe("Setup-owned subnet coordinates consumed by an internal sandbox gateway load balancer.");
|
|
2783
|
+
//#endregion
|
|
2763
2784
|
//#region src/generated/zod/azure-network-import-data-schema.ts
|
|
2764
2785
|
/**
|
|
2765
2786
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -2771,11 +2792,15 @@ const AzureManagementConfigSchema = z$2.object({
|
|
|
2771
2792
|
const AzureNetworkImportDataSchema = z$2.object({
|
|
2772
2793
|
"applicationGatewaySubnetId": z$2.string().describe("Dedicated subnet for classic Azure Application Gateway ingress.").nullish(),
|
|
2773
2794
|
"applicationGatewaySubnetName": z$2.string().describe("Dedicated subnet name for classic Azure Application Gateway ingress.").nullish(),
|
|
2795
|
+
"egressPublicIps": z$2.optional(z$2.array(z$2.string()).describe("NAT public addresses owned by setup; empty for an unknown external egress path.")),
|
|
2774
2796
|
"isByoVnet": z$2.boolean().describe("True when the VNet is owned outside this stack."),
|
|
2775
2797
|
"natGatewayId": z$2.string().describe("NAT gateway resource id when one was created.").nullish(),
|
|
2776
2798
|
"networkSecurityGroupId": z$2.string().describe("Network Security Group resource id attached to workload subnets.").nullish(),
|
|
2777
2799
|
"privateEndpointSubnetName": z$2.string().describe("Dedicated subnet name for Private Endpoints (e.g. Postgres Flexible Server). Distinct from\nthe Container Apps infrastructure (\"private\") subnet, which a Private Endpoint cannot share.").nullish(),
|
|
2778
2800
|
"resourceGroup": z$2.string().describe("Resource group containing the VNet."),
|
|
2801
|
+
get "sandboxNetwork"() {
|
|
2802
|
+
return z$2.union([AzureSandboxNetworkSchema, z$2.null()]).optional();
|
|
2803
|
+
},
|
|
2779
2804
|
"subnetIds": z$2.array(z$2.string()).describe("Subnet resource ids in this VNet used by workloads."),
|
|
2780
2805
|
"subscriptionId": z$2.string().describe("Subscription ID containing the VNet."),
|
|
2781
2806
|
"vnetId": z$2.string().describe("VNet resource id (full ARM path). Absent when the controller\nwill look up the default VNet at runtime.").nullish(),
|
|
@@ -6046,6 +6071,21 @@ const PostgresBindingSchema = z$2.union([
|
|
|
6046
6071
|
z$2.lazy(() => LocalPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["local-postgres"]) })).describe("Local embedded Postgres binding.")
|
|
6047
6072
|
]).describe("Connection details for a Postgres database, one variant per backend.");
|
|
6048
6073
|
//#endregion
|
|
6074
|
+
//#region src/generated/zod/local-http-queue-binding-schema.ts
|
|
6075
|
+
/**
|
|
6076
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
6077
|
+
* Do not edit manually.
|
|
6078
|
+
*/
|
|
6079
|
+
/**
|
|
6080
|
+
* @description Connection to one manager-owned local queue. Old SDKs reject its distinct service tag.
|
|
6081
|
+
*/
|
|
6082
|
+
const LocalHttpQueueBindingSchema = z$2.object({
|
|
6083
|
+
get "endpoint"() {
|
|
6084
|
+
return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
|
|
6085
|
+
},
|
|
6086
|
+
"token": z$2.string().describe("Queue-scoped credential, injected at process start rather than persisted in stack state.").nullish()
|
|
6087
|
+
}).describe("Connection to one manager-owned local queue. Old SDKs reject its distinct service tag.");
|
|
6088
|
+
//#endregion
|
|
6049
6089
|
//#region src/generated/zod/local-queue-binding-schema.ts
|
|
6050
6090
|
/**
|
|
6051
6091
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -6116,7 +6156,8 @@ const QueueBindingSchema = z$2.union([
|
|
|
6116
6156
|
z$2.lazy(() => SqsQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["sqs"]) })).describe("AWS SQS queue parameters"),
|
|
6117
6157
|
z$2.lazy(() => PubSubQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["pubsub"]) })).describe("GCP Pub/Sub parameters"),
|
|
6118
6158
|
z$2.lazy(() => ServiceBusQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["servicebus"]) })).describe("Azure Service Bus parameters"),
|
|
6119
|
-
z$2.lazy(() => LocalQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["local-queue"]) })).describe("Local queue parameters")
|
|
6159
|
+
z$2.lazy(() => LocalQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["local-queue"]) })).describe("Local queue parameters"),
|
|
6160
|
+
z$2.lazy(() => LocalHttpQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["local-queue-http"]) })).describe("Connection to one manager-owned local queue. Old SDKs reject its distinct service tag.")
|
|
6120
6161
|
]).describe("Binding parameters for Queue at runtime or in templates.");
|
|
6121
6162
|
//#endregion
|
|
6122
6163
|
//#region src/generated/zod/gcs-storage-binding-schema.ts
|
|
@@ -6448,6 +6489,38 @@ const GcpComputeClusterImportDataSchema = z$2.object({
|
|
|
6448
6489
|
"nodeServiceAccountEmail": z$2.string().describe("Service account email attached to cluster nodes.")
|
|
6449
6490
|
}).describe("GCP ComputeCluster ImportData — GKE node pool identity + network.");
|
|
6450
6491
|
//#endregion
|
|
6492
|
+
//#region src/generated/zod/gcp-federation-trust-schema.ts
|
|
6493
|
+
/**
|
|
6494
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
6495
|
+
* Do not edit manually.
|
|
6496
|
+
*/
|
|
6497
|
+
/**
|
|
6498
|
+
* @description The exact manager identity trusted by a deployment-owned identity pool.
|
|
6499
|
+
*/
|
|
6500
|
+
const GcpFederationTrustSchema = z$2.object({
|
|
6501
|
+
"issuer": z$2.string().describe("OIDC issuer; Google or the manager's Kubernetes issuer."),
|
|
6502
|
+
"subject": z$2.string().describe("Exact immutable Google account ID or Kubernetes service-account subject.")
|
|
6503
|
+
}).describe("The exact manager identity trusted by a deployment-owned identity pool.");
|
|
6504
|
+
//#endregion
|
|
6505
|
+
//#region src/generated/zod/gcp-federation-access-schema.ts
|
|
6506
|
+
/**
|
|
6507
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
6508
|
+
* Do not edit manually.
|
|
6509
|
+
*/
|
|
6510
|
+
/**
|
|
6511
|
+
* @description Setup-owned federation access. Contains no assertions, keys or access tokens.
|
|
6512
|
+
*/
|
|
6513
|
+
const GcpFederationAccessSchema = z$2.object({
|
|
6514
|
+
"assertionAudience": z$2.string().describe("Installation- and purpose-specific assertion audience, independently\nchecked by the manager against its authorized deployment record."),
|
|
6515
|
+
"poolId": z$2.string(),
|
|
6516
|
+
"projectNumber": z$2.string(),
|
|
6517
|
+
"providerId": z$2.string(),
|
|
6518
|
+
"serviceAccountEmail": z$2.string(),
|
|
6519
|
+
get "trust"() {
|
|
6520
|
+
return GcpFederationTrustSchema.describe("The exact manager identity trusted by a deployment-owned identity pool.");
|
|
6521
|
+
}
|
|
6522
|
+
}).describe("Setup-owned federation access. Contains no assertions, keys or access tokens.");
|
|
6523
|
+
//#endregion
|
|
6451
6524
|
//#region src/generated/zod/gcp-firestore-kv-heartbeat-data-schema.ts
|
|
6452
6525
|
/**
|
|
6453
6526
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -6502,7 +6575,12 @@ const GcpKvImportDataSchema = z$2.object({
|
|
|
6502
6575
|
/**
|
|
6503
6576
|
* @description GCP management configuration extracted from stack settings
|
|
6504
6577
|
*/
|
|
6505
|
-
const GcpManagementConfigSchema = z$2.object({
|
|
6578
|
+
const GcpManagementConfigSchema = z$2.object({
|
|
6579
|
+
get "federationTrust"() {
|
|
6580
|
+
return z$2.union([GcpFederationTrustSchema, z$2.null()]).optional();
|
|
6581
|
+
},
|
|
6582
|
+
"serviceAccountEmail": z$2.string().describe("Linked source account metadata; never a direct target trust grant.")
|
|
6583
|
+
}).describe("GCP management configuration extracted from stack settings");
|
|
6506
6584
|
//#endregion
|
|
6507
6585
|
//#region src/generated/zod/gcp-network-import-data-schema.ts
|
|
6508
6586
|
/**
|
|
@@ -6594,6 +6672,9 @@ const GcpQueueImportDataSchema = z$2.object({
|
|
|
6594
6672
|
"topicName": z$2.string().describe("Pub/Sub topic full resource name (`projects/<id>/topics/<name>`).")
|
|
6595
6673
|
}).describe("GCP Queue ImportData — a Pub/Sub topic plus subscription created in\nthe customer's project.");
|
|
6596
6674
|
z$2.object({
|
|
6675
|
+
get "federation"() {
|
|
6676
|
+
return GcpFederationAccessSchema.describe("Setup-owned federation access. Contains no assertions, keys or access tokens.");
|
|
6677
|
+
},
|
|
6597
6678
|
"projectId": z$2.string(),
|
|
6598
6679
|
"serviceAccountEmail": z$2.string(),
|
|
6599
6680
|
"serviceAccountUniqueId": z$2.string()
|
|
@@ -6620,15 +6701,18 @@ const GcpRemoteStackManagementHeartbeatDataSchema = z$2.object({
|
|
|
6620
6701
|
* Do not edit manually.
|
|
6621
6702
|
*/
|
|
6622
6703
|
/**
|
|
6623
|
-
* @description GCP
|
|
6704
|
+
* @description Setup-owned GCP management account and customer-owned federation trust.
|
|
6624
6705
|
*/
|
|
6625
6706
|
const GcpRemoteStackManagementImportDataSchema = z$2.object({
|
|
6707
|
+
get "federation"() {
|
|
6708
|
+
return GcpFederationAccessSchema.describe("Setup-owned federation access. Contains no assertions, keys or access tokens.");
|
|
6709
|
+
},
|
|
6626
6710
|
"managementPermissionsApplied": z$2.boolean().describe("Whether the management role binding was attached by the\ngenerated stack."),
|
|
6627
6711
|
"projectId": z$2.string().describe("Project ID containing the management service account."),
|
|
6628
6712
|
"projectNumber": z$2.string().describe("Numeric project number containing the management service account.").nullish(),
|
|
6629
6713
|
"serviceAccountEmail": z$2.string().describe("Service account email the manager impersonates."),
|
|
6630
6714
|
"serviceAccountUniqueId": z$2.string().describe("Stable unique id Google assigns to the service account.")
|
|
6631
|
-
}).describe("GCP
|
|
6715
|
+
}).describe("Setup-owned GCP management account and customer-owned federation trust.");
|
|
6632
6716
|
z$2.object({ "region": z$2.string().describe("Region the setup stack applied in; selects the regional Agent Platform endpoint.") }).describe("GCP Agent Platform sandbox ImportData.\n\nThe sandbox is the environment template, which is release-owned under either lifecycle: setup\ncreates no template, so this carries only the region the stack applied in. The engine registers\nits own id, and the template controller reads it from that dependency.");
|
|
6633
6717
|
//#endregion
|
|
6634
6718
|
//#region src/generated/zod/gcp-secret-manager-vault-heartbeat-data-schema.ts
|
|
@@ -7905,6 +7989,19 @@ const PostgresSchema = z$2.object({
|
|
|
7905
7989
|
"version": z$2.optional(z$2.string().default("17").describe("Major engine version: \"15\" | \"16\" | \"17\". Default \"17\"."))
|
|
7906
7990
|
}).describe("A managed PostgreSQL database. The target platform decides the backend\n(AWS Aurora Serverless v2, GCP Cloud SQL, Azure Flexible Server, or an\nembedded native process on Local); the database is never publicly reachable.");
|
|
7907
7991
|
//#endregion
|
|
7992
|
+
//#region src/generated/zod/queue-batch-config-schema.ts
|
|
7993
|
+
/**
|
|
7994
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
7995
|
+
* Do not edit manually.
|
|
7996
|
+
*/
|
|
7997
|
+
/**
|
|
7998
|
+
* @description Opt-in queue batching. Counts and windows are upper bounds, not guarantees.\nProviders may deliver smaller batches. Delivery remains at least once and unordered.
|
|
7999
|
+
*/
|
|
8000
|
+
const QueueBatchConfigSchema = z$2.object({
|
|
8001
|
+
"maxMessages": z$2.int().min(1).max(100).describe("Maximum deliveries per batch (1–100)."),
|
|
8002
|
+
"maxWindowSeconds": z$2.int().min(0).max(300).describe("Maximum collection window in seconds (0–300).\nAWS may wait up to 20 seconds with sparse traffic even with a shorter window.")
|
|
8003
|
+
}).describe("Opt-in queue batching. Counts and windows are upper bounds, not guarantees.\nProviders may deliver smaller batches. Delivery remains at least once and unordered.");
|
|
8004
|
+
//#endregion
|
|
7908
8005
|
//#region src/generated/zod/queue-heartbeat-data-schema.ts
|
|
7909
8006
|
/**
|
|
7910
8007
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -9014,6 +9111,9 @@ const WorkerPublicEndpointSchema = z$2.object({
|
|
|
9014
9111
|
*/
|
|
9015
9112
|
const WorkerTriggerSchema = z$2.union([
|
|
9016
9113
|
z$2.object({
|
|
9114
|
+
get "batch"() {
|
|
9115
|
+
return z$2.union([QueueBatchConfigSchema, z$2.null()]).optional();
|
|
9116
|
+
},
|
|
9017
9117
|
get "queue"() {
|
|
9018
9118
|
return ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.");
|
|
9019
9119
|
},
|