@alienplatform/core 3.3.37 → 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.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
  },
@@ -6069,6 +6071,21 @@ const PostgresBindingSchema = z$2.union([
6069
6071
  z$2.lazy(() => LocalPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["local-postgres"]) })).describe("Local embedded Postgres binding.")
6070
6072
  ]).describe("Connection details for a Postgres database, one variant per backend.");
6071
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
6072
6089
  //#region src/generated/zod/local-queue-binding-schema.ts
6073
6090
  /**
6074
6091
  * Generated by Kubb (https://kubb.dev/).
@@ -6139,7 +6156,8 @@ const QueueBindingSchema = z$2.union([
6139
6156
  z$2.lazy(() => SqsQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["sqs"]) })).describe("AWS SQS queue parameters"),
6140
6157
  z$2.lazy(() => PubSubQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["pubsub"]) })).describe("GCP Pub/Sub parameters"),
6141
6158
  z$2.lazy(() => ServiceBusQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["servicebus"]) })).describe("Azure Service Bus parameters"),
6142
- 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.")
6143
6161
  ]).describe("Binding parameters for Queue at runtime or in templates.");
6144
6162
  //#endregion
6145
6163
  //#region src/generated/zod/gcs-storage-binding-schema.ts
@@ -6471,6 +6489,38 @@ const GcpComputeClusterImportDataSchema = z$2.object({
6471
6489
  "nodeServiceAccountEmail": z$2.string().describe("Service account email attached to cluster nodes.")
6472
6490
  }).describe("GCP ComputeCluster ImportData — GKE node pool identity + network.");
6473
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
6474
6524
  //#region src/generated/zod/gcp-firestore-kv-heartbeat-data-schema.ts
6475
6525
  /**
6476
6526
  * Generated by Kubb (https://kubb.dev/).
@@ -6525,7 +6575,12 @@ const GcpKvImportDataSchema = z$2.object({
6525
6575
  /**
6526
6576
  * @description GCP management configuration extracted from stack settings
6527
6577
  */
6528
- const GcpManagementConfigSchema = z$2.object({ "serviceAccountEmail": z$2.string().describe("Service account email for management roles") }).describe("GCP management configuration extracted from stack settings");
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");
6529
6584
  //#endregion
6530
6585
  //#region src/generated/zod/gcp-network-import-data-schema.ts
6531
6586
  /**
@@ -6617,6 +6672,9 @@ const GcpQueueImportDataSchema = z$2.object({
6617
6672
  "topicName": z$2.string().describe("Pub/Sub topic full resource name (`projects/<id>/topics/<name>`).")
6618
6673
  }).describe("GCP Queue ImportData — a Pub/Sub topic plus subscription created in\nthe customer's project.");
6619
6674
  z$2.object({
6675
+ get "federation"() {
6676
+ return GcpFederationAccessSchema.describe("Setup-owned federation access. Contains no assertions, keys or access tokens.");
6677
+ },
6620
6678
  "projectId": z$2.string(),
6621
6679
  "serviceAccountEmail": z$2.string(),
6622
6680
  "serviceAccountUniqueId": z$2.string()
@@ -6643,15 +6701,18 @@ const GcpRemoteStackManagementHeartbeatDataSchema = z$2.object({
6643
6701
  * Do not edit manually.
6644
6702
  */
6645
6703
  /**
6646
- * @description GCP RemoteStackManagement ImportData — cross-project service account\nthe manager impersonates.
6704
+ * @description Setup-owned GCP management account and customer-owned federation trust.
6647
6705
  */
6648
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
+ },
6649
6710
  "managementPermissionsApplied": z$2.boolean().describe("Whether the management role binding was attached by the\ngenerated stack."),
6650
6711
  "projectId": z$2.string().describe("Project ID containing the management service account."),
6651
6712
  "projectNumber": z$2.string().describe("Numeric project number containing the management service account.").nullish(),
6652
6713
  "serviceAccountEmail": z$2.string().describe("Service account email the manager impersonates."),
6653
6714
  "serviceAccountUniqueId": z$2.string().describe("Stable unique id Google assigns to the service account.")
6654
- }).describe("GCP RemoteStackManagement ImportData — cross-project service account\nthe manager impersonates.");
6715
+ }).describe("Setup-owned GCP management account and customer-owned federation trust.");
6655
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.");
6656
6717
  //#endregion
6657
6718
  //#region src/generated/zod/gcp-secret-manager-vault-heartbeat-data-schema.ts
@@ -7928,6 +7989,19 @@ const PostgresSchema = z$2.object({
7928
7989
  "version": z$2.optional(z$2.string().default("17").describe("Major engine version: \"15\" | \"16\" | \"17\". Default \"17\"."))
7929
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.");
7930
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
7931
8005
  //#region src/generated/zod/queue-heartbeat-data-schema.ts
7932
8006
  /**
7933
8007
  * Generated by Kubb (https://kubb.dev/).
@@ -9037,6 +9111,9 @@ const WorkerPublicEndpointSchema = z$2.object({
9037
9111
  */
9038
9112
  const WorkerTriggerSchema = z$2.union([
9039
9113
  z$2.object({
9114
+ get "batch"() {
9115
+ return z$2.union([QueueBatchConfigSchema, z$2.null()]).optional();
9116
+ },
9040
9117
  get "queue"() {
9041
9118
  return ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.");
9042
9119
  },