@alienplatform/sdk 1.10.7 → 1.11.1

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 (49) hide show
  1. package/.turbo/turbo-build.log +37 -8
  2. package/dist/bearerTokenAuthenticationPolicy.js +3028 -0
  3. package/dist/bindings/index.d.ts +1 -0
  4. package/dist/bindings/index.d.ts.map +1 -1
  5. package/dist/bindings/postgres.d.ts +90 -0
  6. package/dist/bindings/postgres.d.ts.map +1 -0
  7. package/dist/bindings/postgres.test.d.ts +2 -0
  8. package/dist/bindings/postgres.test.d.ts.map +1 -0
  9. package/dist/client.js +2376 -0
  10. package/dist/commands/index.js +1 -1
  11. package/dist/dist-cjs.js +3 -0
  12. package/dist/dist-cjs2.js +718 -0
  13. package/dist/dist-cjs3.js +2486 -0
  14. package/dist/dist-cjs4.js +171 -0
  15. package/dist/dist-cjs5.js +429 -0
  16. package/dist/dist-cjs6.js +60 -0
  17. package/dist/dist-cjs7.js +978 -0
  18. package/dist/dist-cjs8.js +86 -0
  19. package/dist/dist-cjs9.js +319 -0
  20. package/dist/dist.js +498 -36
  21. package/dist/dist2.js +1239 -0
  22. package/dist/errors.d.ts +25 -0
  23. package/dist/errors.d.ts.map +1 -1
  24. package/dist/es5.js +1624 -0
  25. package/dist/esm.js +18211 -0
  26. package/dist/esm2.js +3104 -0
  27. package/dist/event-streams.js +203 -0
  28. package/dist/index.d.ts +2 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +336 -24996
  31. package/dist/jws.js +611 -0
  32. package/dist/open.js +460 -0
  33. package/dist/package.js +4 -0
  34. package/dist/protocols.js +954 -0
  35. package/dist/protocols2.js +5565 -0
  36. package/dist/rolldown-runtime.js +37 -0
  37. package/dist/serde.js +5542 -0
  38. package/dist/signin.js +723 -0
  39. package/dist/src.js +24900 -0
  40. package/dist/src2.js +114030 -0
  41. package/dist/sso-oidc.js +940 -0
  42. package/dist/sts.js +1329 -0
  43. package/dist/tslib.es6.js +543 -0
  44. package/package.json +26 -2
  45. package/src/bindings/index.ts +1 -0
  46. package/src/bindings/postgres.test.ts +17 -0
  47. package/src/bindings/postgres.ts +446 -0
  48. package/src/errors.ts +21 -0
  49. package/src/index.ts +5 -0
package/dist/dist.js CHANGED
@@ -431,7 +431,7 @@ const _parse = (_Err) => (schema, value, _ctx, _params) => {
431
431
  }, ctx);
432
432
  if (result instanceof Promise) throw new $ZodAsyncError();
433
433
  if (result.issues.length) {
434
- const e = new (_params?.Err ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
434
+ const e = new ((_params?.Err) ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
435
435
  captureStackTrace(e, _params?.callee);
436
436
  throw e;
437
437
  }
@@ -445,7 +445,7 @@ const _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
445
445
  }, ctx);
446
446
  if (result instanceof Promise) result = await result;
447
447
  if (result.issues.length) {
448
- const e = new (params?.Err ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
448
+ const e = new ((params?.Err) ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
449
449
  captureStackTrace(e, params?.callee);
450
450
  throw e;
451
451
  }
@@ -1687,6 +1687,61 @@ const $ZodUnion = /*@__PURE__*/ $constructor("$ZodUnion", (inst, def) => {
1687
1687
  });
1688
1688
  };
1689
1689
  });
1690
+ const $ZodDiscriminatedUnion = /*@__PURE__*/ $constructor("$ZodDiscriminatedUnion", (inst, def) => {
1691
+ def.inclusive = false;
1692
+ $ZodUnion.init(inst, def);
1693
+ const _super = inst._zod.parse;
1694
+ defineLazy(inst._zod, "propValues", () => {
1695
+ const propValues = {};
1696
+ for (const option of def.options) {
1697
+ const pv = option._zod.propValues;
1698
+ if (!pv || Object.keys(pv).length === 0) throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(option)}"`);
1699
+ for (const [k, v] of Object.entries(pv)) {
1700
+ if (!propValues[k]) propValues[k] = /* @__PURE__ */ new Set();
1701
+ for (const val of v) propValues[k].add(val);
1702
+ }
1703
+ }
1704
+ return propValues;
1705
+ });
1706
+ const disc = cached(() => {
1707
+ const opts = def.options;
1708
+ const map = /* @__PURE__ */ new Map();
1709
+ for (const o of opts) {
1710
+ const values = o._zod.propValues?.[def.discriminator];
1711
+ if (!values || values.size === 0) throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(o)}"`);
1712
+ for (const v of values) {
1713
+ if (map.has(v)) throw new Error(`Duplicate discriminator value "${String(v)}"`);
1714
+ map.set(v, o);
1715
+ }
1716
+ }
1717
+ return map;
1718
+ });
1719
+ inst._zod.parse = (payload, ctx) => {
1720
+ const input = payload.value;
1721
+ if (!isObject(input)) {
1722
+ payload.issues.push({
1723
+ code: "invalid_type",
1724
+ expected: "object",
1725
+ input,
1726
+ inst
1727
+ });
1728
+ return payload;
1729
+ }
1730
+ const opt = disc.value.get(input?.[def.discriminator]);
1731
+ if (opt) return opt._zod.run(payload, ctx);
1732
+ if (def.unionFallback) return _super(payload, ctx);
1733
+ payload.issues.push({
1734
+ code: "invalid_union",
1735
+ errors: [],
1736
+ note: "No matching discriminator",
1737
+ discriminator: def.discriminator,
1738
+ input,
1739
+ path: [def.discriminator],
1740
+ inst
1741
+ });
1742
+ return payload;
1743
+ };
1744
+ });
1690
1745
  const $ZodIntersection = /*@__PURE__*/ $constructor("$ZodIntersection", (inst, def) => {
1691
1746
  $ZodType.init(inst, def);
1692
1747
  inst._zod.parse = (payload, ctx) => {
@@ -1804,6 +1859,24 @@ const $ZodEnum = /*@__PURE__*/ $constructor("$ZodEnum", (inst, def) => {
1804
1859
  return payload;
1805
1860
  };
1806
1861
  });
1862
+ const $ZodLiteral = /*@__PURE__*/ $constructor("$ZodLiteral", (inst, def) => {
1863
+ $ZodType.init(inst, def);
1864
+ if (def.values.length === 0) throw new Error("Cannot create literal schema with no valid values");
1865
+ const values = new Set(def.values);
1866
+ inst._zod.values = values;
1867
+ inst._zod.pattern = new RegExp(`^(${def.values.map((o) => typeof o === "string" ? escapeRegex(o) : o ? escapeRegex(o.toString()) : String(o)).join("|")})$`);
1868
+ inst._zod.parse = (payload, _ctx) => {
1869
+ const input = payload.value;
1870
+ if (values.has(input)) return payload;
1871
+ payload.issues.push({
1872
+ code: "invalid_value",
1873
+ values: def.values,
1874
+ input,
1875
+ inst
1876
+ });
1877
+ return payload;
1878
+ };
1879
+ });
1807
1880
  const $ZodTransform = /*@__PURE__*/ $constructor("$ZodTransform", (inst, def) => {
1808
1881
  $ZodType.init(inst, def);
1809
1882
  inst._zod.parse = (payload, ctx) => {
@@ -2954,6 +3027,27 @@ const enumProcessor = (schema, _ctx, json, _params) => {
2954
3027
  if (values.every((v) => typeof v === "string")) json.type = "string";
2955
3028
  json.enum = values;
2956
3029
  };
3030
+ const literalProcessor = (schema, ctx, json, _params) => {
3031
+ const def = schema._zod.def;
3032
+ const vals = [];
3033
+ for (const val of def.values) if (val === void 0) {
3034
+ if (ctx.unrepresentable === "throw") throw new Error("Literal `undefined` cannot be represented in JSON Schema");
3035
+ } else if (typeof val === "bigint") if (ctx.unrepresentable === "throw") throw new Error("BigInt literals cannot be represented in JSON Schema");
3036
+ else vals.push(Number(val));
3037
+ else vals.push(val);
3038
+ if (vals.length === 0) {} else if (vals.length === 1) {
3039
+ const val = vals[0];
3040
+ json.type = val === null ? "null" : typeof val;
3041
+ if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") json.enum = [val];
3042
+ else json.const = val;
3043
+ } else {
3044
+ if (vals.every((v) => typeof v === "number")) json.type = "number";
3045
+ if (vals.every((v) => typeof v === "string")) json.type = "string";
3046
+ if (vals.every((v) => typeof v === "boolean")) json.type = "boolean";
3047
+ if (vals.every((v) => v === null)) json.type = "null";
3048
+ json.enum = vals;
3049
+ }
3050
+ };
2957
3051
  const customProcessor = (_schema, ctx, _json, _params) => {
2958
3052
  if (ctx.unrepresentable === "throw") throw new Error("Custom types cannot be represented in JSON Schema");
2959
3053
  };
@@ -3538,6 +3632,18 @@ function union(options, params) {
3538
3632
  ...normalizeParams(params)
3539
3633
  });
3540
3634
  }
3635
+ const ZodDiscriminatedUnion = /*@__PURE__*/ $constructor("ZodDiscriminatedUnion", (inst, def) => {
3636
+ ZodUnion.init(inst, def);
3637
+ $ZodDiscriminatedUnion.init(inst, def);
3638
+ });
3639
+ function discriminatedUnion(discriminator, options, params) {
3640
+ return new ZodDiscriminatedUnion({
3641
+ type: "union",
3642
+ options,
3643
+ discriminator,
3644
+ ...normalizeParams(params)
3645
+ });
3646
+ }
3541
3647
  const ZodIntersection = /*@__PURE__*/ $constructor("ZodIntersection", (inst, def) => {
3542
3648
  $ZodIntersection.init(inst, def);
3543
3649
  ZodType.init(inst, def);
@@ -3587,6 +3693,23 @@ function _enum(values, params) {
3587
3693
  ...normalizeParams(params)
3588
3694
  });
3589
3695
  }
3696
+ const ZodLiteral = /*@__PURE__*/ $constructor("ZodLiteral", (inst, def) => {
3697
+ $ZodLiteral.init(inst, def);
3698
+ ZodType.init(inst, def);
3699
+ inst._zod.processJSONSchema = (ctx, json, params) => literalProcessor(inst, ctx, json, params);
3700
+ inst.values = new Set(def.values);
3701
+ Object.defineProperty(inst, "value", { get() {
3702
+ if (def.values.length > 1) throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
3703
+ return def.values[0];
3704
+ } });
3705
+ });
3706
+ function literal(value, params) {
3707
+ return new ZodLiteral({
3708
+ type: "literal",
3709
+ values: Array.isArray(value) ? value : [value],
3710
+ ...normalizeParams(params)
3711
+ });
3712
+ }
3590
3713
  const ZodTransform = /*@__PURE__*/ $constructor("ZodTransform", (inst, def) => {
3591
3714
  $ZodTransform.init(inst, def);
3592
3715
  ZodType.init(inst, def);
@@ -3786,7 +3909,7 @@ const AlienErrorSchema = object({
3786
3909
  * Do not edit manually.
3787
3910
  */
3788
3911
  /**
3789
- * @description Deployment status in the deployment lifecycle
3912
+ * @description Deployment status in the deployment lifecycle.\n\nFor observe-only deployments with no release or stack state, `Running`\nmeans the Operator is attached. Connectivity comes from `lastHeartbeatAt`;\nresource health comes from inventory and resource heartbeat data.
3790
3913
  */
3791
3914
  const DeploymentStatusSchema = _enum([
3792
3915
  "pending",
@@ -3807,7 +3930,7 @@ const DeploymentStatusSchema = _enum([
3807
3930
  "teardown-failed",
3808
3931
  "deleted",
3809
3932
  "error"
3810
- ]).describe("Deployment status in the deployment lifecycle");
3933
+ ]).describe("Deployment status in the deployment lifecycle.\n\nFor observe-only deployments with no release or stack state, `Running`\nmeans the Operator is attached. Connectivity comes from `lastHeartbeatAt`;\nresource health comes from inventory and resource heartbeat data.");
3811
3934
  /**
3812
3935
  * Generated by Kubb (https://kubb.dev/).
3813
3936
  * Do not edit manually.
@@ -3836,7 +3959,7 @@ const AgentStatusSchema = object({
3836
3959
  "name": string().describe("Agent name (from --agent-name flag)"),
3837
3960
  "resources": object({}).catchall(lazy(() => DevResourceInfoSchema).describe("Information about a deployed resource")).describe("Resources deployed by this agent (keyed by resource name)"),
3838
3961
  get "status"() {
3839
- return DeploymentStatusSchema.describe("Deployment status in the deployment lifecycle");
3962
+ return DeploymentStatusSchema.describe("Deployment status in the deployment lifecycle.\n\nFor observe-only deployments with no release or stack state, `Running`\nmeans the Operator is attached. Connectivity comes from `lastHeartbeatAt`;\nresource health comes from inventory and resource heartbeat data.");
3840
3963
  }
3841
3964
  }).describe("Status of a single agent in the dev server");
3842
3965
  /**
@@ -3865,6 +3988,7 @@ const PlatformSchema = _enum([
3865
3988
  "gcp",
3866
3989
  "azure",
3867
3990
  "kubernetes",
3991
+ "machines",
3868
3992
  "local",
3869
3993
  "test"
3870
3994
  ]).describe("Represents the target cloud platform.");
@@ -4354,6 +4478,38 @@ object({
4354
4478
  "id": string().describe("Identifier for the artifact registry. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]).\nMaximum 64 characters."),
4355
4479
  "replicationRegions": optional(array(string()).describe("AWS-only: regions to replicate container images to.\nECR private image replication ensures images pushed in the registry's home region\nare automatically available in these additional regions (required when Lambda or\nother compute runs in a different region from the registry)."))
4356
4480
  }).describe("Represents an artifact registry for storing container images and other build artifacts.\nThis is a high-level wrapper resource that provides a cloud-agnostic interface over\nAWS ECR, GCP Artifact Registry, and Azure Container Registry.\n\n# Platform Mapping\n- **AWS**: Implicitly exists as the AWS account and region\n- **GCP**: Explicitly configured per project and location (Artifact Registry API enabled)\n- **Azure**: Explicitly provisioned Azure Container Registry instance\n\nThe actual repository management and permissions are handled through the bindings API.");
4481
+ /**
4482
+ * Generated by Kubb (https://kubb.dev/).
4483
+ * Do not edit manually.
4484
+ */
4485
+ const PostgresHeartbeatStatusSchema = object({
4486
+ get "collectionIssues"() {
4487
+ return array(HeartbeatCollectionIssueSchema);
4488
+ },
4489
+ get "health"() {
4490
+ return ObservedHealthSchema;
4491
+ },
4492
+ get "lifecycle"() {
4493
+ return ProviderLifecycleStateSchema;
4494
+ },
4495
+ "message": string().nullish(),
4496
+ "partial": boolean(),
4497
+ "stale": boolean()
4498
+ });
4499
+ /**
4500
+ * Generated by Kubb (https://kubb.dev/).
4501
+ * Do not edit manually.
4502
+ */
4503
+ const AuroraPostgresHeartbeatDataSchema = object({
4504
+ "clusterIdentifier": string(),
4505
+ "endpoint": string().nullish(),
4506
+ "engineVersion": string().nullish(),
4507
+ "neverPauses": boolean().describe("True when a `minCapacity: 0` instance has not reached 0 ACU over the observation\nwindow — it is silently paying always-on prices (auto-pause verification)."),
4508
+ "serverlessCapacity": number().describe("Latest sampled `ServerlessDatabaseCapacity` (ACU).").nullish(),
4509
+ get "status"() {
4510
+ return PostgresHeartbeatStatusSchema;
4511
+ }
4512
+ });
4357
4513
  object({
4358
4514
  "accountId": string().describe("AWS account ID that owns the ECR registry."),
4359
4515
  "pullRoleArn": string().describe("IAM role ARN with pull-only access."),
@@ -4476,12 +4632,54 @@ const ComputeCapacityRecommendationSchema = object({
4476
4632
  * Generated by Kubb (https://kubb.dev/).
4477
4633
  * Do not edit manually.
4478
4634
  */
4635
+ const ComputeDrainBlockerSchema = object({
4636
+ "reason": string(),
4637
+ "replicaId": string(),
4638
+ "schedulingMode": string(),
4639
+ "state": string(),
4640
+ "workloadName": string()
4641
+ });
4642
+ /**
4643
+ * Generated by Kubb (https://kubb.dev/).
4644
+ * Do not edit manually.
4645
+ */
4646
+ const ComputeDrainProgressStatusSchema = _enum([
4647
+ "draining",
4648
+ "drained",
4649
+ "terminating"
4650
+ ]);
4651
+ /**
4652
+ * Generated by Kubb (https://kubb.dev/).
4653
+ * Do not edit manually.
4654
+ */
4655
+ const ComputeDrainProgressSchema = object({
4656
+ get "blockers"() {
4657
+ return array(ComputeDrainBlockerSchema).optional();
4658
+ },
4659
+ "drainDeadlineAt": string().nullish(),
4660
+ "drainRequestedAt": string().nullish(),
4661
+ "drainedAt": string().nullish(),
4662
+ "force": boolean(),
4663
+ "machineId": string(),
4664
+ "replicaCount": int(),
4665
+ "stalled": boolean(),
4666
+ get "status"() {
4667
+ return ComputeDrainProgressStatusSchema;
4668
+ }
4669
+ });
4670
+ /**
4671
+ * Generated by Kubb (https://kubb.dev/).
4672
+ * Do not edit manually.
4673
+ */
4479
4674
  const ComputeCapacityGroupStatusSchema = object({
4480
4675
  get "capacityBlocker"() {
4481
4676
  return union([ComputeCapacityBlockerSchema, _null()]).optional();
4482
4677
  },
4483
4678
  "currentMachines": int().min(0),
4484
4679
  "desiredMachines": int().min(0),
4680
+ get "drainProgress"() {
4681
+ return union([ComputeDrainProgressSchema, _null()]).optional();
4682
+ },
4485
4683
  "groupId": string(),
4486
4684
  "instanceType": string().nullish(),
4487
4685
  "maxMachines": int().min(0).nullish(),
@@ -4675,7 +4873,7 @@ const AwsDaemonHeartbeatDataSchema = object({
4675
4873
  get "daemonInstances"() {
4676
4874
  return array(ManagedRuntimeUnitStatusSchema);
4677
4875
  },
4678
- "daemonName": string(),
4876
+ "daemonName": optional(string()),
4679
4877
  "desiredMachines": int().min(0),
4680
4878
  get "events"() {
4681
4879
  return array(ManagedRuntimeEventSnapshotSchema);
@@ -4943,6 +5141,17 @@ const AwsPlatformPermissionSchema = object({
4943
5141
  },
4944
5142
  "label": string().describe("Stable admin-facing label for this permission entry.").nullish()
4945
5143
  }).describe("AWS-specific platform permission configuration");
5144
+ object({
5145
+ "clusterEndpoint": string().describe("Cluster writer endpoint (the binding host)."),
5146
+ "clusterIdentifier": string().describe("Aurora DB cluster identifier."),
5147
+ "database": string().describe("Default database name."),
5148
+ "engineVersion": string().describe("Engine version the cluster reports."),
5149
+ "instanceIdentifier": string().describe("Writer instance identifier within the cluster."),
5150
+ "passwordSecretArn": string().describe("Secrets Manager ARN of the master password (never the password itself)."),
5151
+ "securityGroupId": string().describe("Dedicated security group admitting 5432 from the stack security group."),
5152
+ "subnetGroupName": string().describe("DB subnet group spanning the private subnets."),
5153
+ "username": string().describe("Master username.")
5154
+ }).describe("AWS Postgres (Aurora Serverless v2) registration data: the handles by which a\nsetup-created Aurora cluster is registered as a Frozen Postgres resource. Setup owns\nthe cluster, Alien refreshes and heartbeats it. Carries the master password's Secrets\nManager ARN, never the password.");
4946
5155
  object({
4947
5156
  "queueArn": string().describe("SQS queue ARN."),
4948
5157
  "queueName": string().describe("SQS queue name."),
@@ -5338,7 +5547,7 @@ const AzureDaemonHeartbeatDataSchema = object({
5338
5547
  get "daemonInstances"() {
5339
5548
  return array(ManagedRuntimeUnitStatusSchema);
5340
5549
  },
5341
- "daemonName": string(),
5550
+ "daemonName": optional(string()),
5342
5551
  "desiredMachines": int().min(0),
5343
5552
  get "events"() {
5344
5553
  return array(ManagedRuntimeEventSnapshotSchema);
@@ -5358,6 +5567,31 @@ const AzureDaemonHeartbeatDataSchema = object({
5358
5567
  * Generated by Kubb (https://kubb.dev/).
5359
5568
  * Do not edit manually.
5360
5569
  */
5570
+ const AzureFlexibleServerPostgresHeartbeatDataSchema = object({
5571
+ "serverName": string(),
5572
+ "state": string().nullish(),
5573
+ get "status"() {
5574
+ return PostgresHeartbeatStatusSchema;
5575
+ },
5576
+ "version": string().nullish()
5577
+ });
5578
+ object({
5579
+ "database": string().describe("Default database name."),
5580
+ "host": string().describe("Private DNS FQDN host workloads resolve to reach the server (the binding host)."),
5581
+ "keyVaultUrl": string().describe("Key Vault base URL holding the password (e.g. `https://<vault>.vault.azure.net`)."),
5582
+ "passwordSecretName": string().describe("Key Vault secret name of the master password (never the password)."),
5583
+ "passwordSecretUri": string().describe("Key Vault secret URI of the master password; the binding carries this and the\nworkload resolves the value at load time."),
5584
+ "privateEndpointName": string().describe("Private Endpoint name fronting the server in the dedicated PE subnet."),
5585
+ "region": string().describe("Azure region the server lives in."),
5586
+ "resourceGroup": string().describe("Resource group the server lives in."),
5587
+ "serverName": string().describe("Flexible Server name on Azure."),
5588
+ "serverResourceId": string().describe("Full ARM resource id of the Flexible Server (the deletable handle)."),
5589
+ "version": string().describe("Engine version the server reports.")
5590
+ }).describe("Azure Postgres (Flexible Server + Private Endpoint) registration data: the handles by\nwhich a setup-created Flexible Server (with its Private Endpoint, private DNS zone, and\nthe Key Vault secret holding the master password) is registered as a Frozen Postgres\nresource. Setup owns the server, Alien refreshes and heartbeats it. The raw password is\nnever carried, only the Key Vault secret URI.");
5591
+ /**
5592
+ * Generated by Kubb (https://kubb.dev/).
5593
+ * Do not edit manually.
5594
+ */
5361
5595
  const AzureKeyVaultHeartbeatDataSchema = object({
5362
5596
  "accessPolicyCount": int().min(0),
5363
5597
  "location": string().nullish(),
@@ -5751,6 +5985,7 @@ const AzureVnetNetworkHeartbeatDataSchema = object({
5751
5985
  "location": string().nullish(),
5752
5986
  "natGatewayId": string().nullish(),
5753
5987
  "nsgId": string().nullish(),
5988
+ "privateEndpointSubnetName": string().nullish(),
5754
5989
  "privateSubnetName": string().nullish(),
5755
5990
  "publicIpId": string().nullish(),
5756
5991
  "publicSubnetName": string().nullish(),
@@ -6203,10 +6438,61 @@ const LocalComputeClusterHeartbeatDataSchema = object({
6203
6438
  * Generated by Kubb (https://kubb.dev/).
6204
6439
  * Do not edit manually.
6205
6440
  */
6441
+ const MachinesComputeMachineStatusSchema = object({
6442
+ "capacityGroup": string(),
6443
+ "cpuCores": number().nullish(),
6444
+ get "drainBlockers"() {
6445
+ return array(ComputeDrainBlockerSchema).optional();
6446
+ },
6447
+ "drainDeadlineAt": string().nullish(),
6448
+ "drainForce": boolean(),
6449
+ "drainRequestedAt": string().nullish(),
6450
+ "drainedAt": string().nullish(),
6451
+ "horizondVersion": string().nullish(),
6452
+ "lastHeartbeat": string(),
6453
+ "machineId": string(),
6454
+ "memoryBytes": int().nullish(),
6455
+ "overlayIp": string().nullish(),
6456
+ "publicIp": string().nullish(),
6457
+ "replicaCount": int(),
6458
+ "status": string(),
6459
+ "zone": string()
6460
+ });
6461
+ /**
6462
+ * Generated by Kubb (https://kubb.dev/).
6463
+ * Do not edit manually.
6464
+ */
6465
+ const MachinesComputeClusterHeartbeatDataSchema = object({
6466
+ "backendClusterId": string().nullish(),
6467
+ get "capacityGroups"() {
6468
+ return array(ComputeCapacityGroupStatusSchema);
6469
+ },
6470
+ get "cpu"() {
6471
+ return union([MetricSampleSchema, _null()]).optional();
6472
+ },
6473
+ get "machines"() {
6474
+ return array(MachinesComputeMachineStatusSchema);
6475
+ },
6476
+ get "memory"() {
6477
+ return union([MetricSampleSchema, _null()]).optional();
6478
+ },
6479
+ "name": string(),
6480
+ get "nodes"() {
6481
+ return ObservedCountsSchema;
6482
+ },
6483
+ get "status"() {
6484
+ return ComputeClusterHeartbeatStatusSchema;
6485
+ }
6486
+ });
6487
+ /**
6488
+ * Generated by Kubb (https://kubb.dev/).
6489
+ * Do not edit manually.
6490
+ */
6206
6491
  const ComputeClusterHeartbeatDataSchema = union([
6207
6492
  lazy(() => AwsComputeClusterHeartbeatDataSchema).and(object({ "backend": _enum(["aws"]) })),
6208
6493
  lazy(() => GcpComputeClusterHeartbeatDataSchema).and(object({ "backend": _enum(["gcp"]) })),
6209
6494
  lazy(() => AzureComputeClusterHeartbeatDataSchema).and(object({ "backend": _enum(["azure"]) })),
6495
+ lazy(() => MachinesComputeClusterHeartbeatDataSchema).and(object({ "backend": _enum(["machines"]) })),
6210
6496
  lazy(() => LocalComputeClusterHeartbeatDataSchema).and(object({ "backend": _enum(["local"]) }))
6211
6497
  ]);
6212
6498
  object({
@@ -6733,7 +7019,8 @@ object({
6733
7019
  return array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the container.").optional();
6734
7020
  },
6735
7021
  "replicas": int().min(0).describe("Fixed replica count (for stateful containers or stateless without autoscaling)").nullish(),
6736
- "stateful": optional(boolean().describe("Whether container is stateful (gets stable ordinals, optional persistent volumes)"))
7022
+ "stateful": optional(boolean().describe("Whether container is stateful (gets stable ordinals, optional persistent volumes)")),
7023
+ "stopGracePeriodSeconds": int().min(1).max(86400).describe("Grace period in seconds for stopping replicas during updates, drains, and deletes.\n\nWhen omitted, the runtime backend applies its default. Valid values are\n1 second through 24 hours.").nullish()
6737
7024
  }).describe("Container resource for running long-running container workloads.\n\nA Container defines a deployable unit that runs on a ComputeCluster.\nThe managed container backend handles scheduling replicas across machines,\nautoscaling based on various metrics, and service discovery.\n\n## Example\n\n```rust\nuse alien_core::{Container, ContainerCode, ResourceSpec, ContainerAutoscaling, PublicEndpoint, ExposeProtocol};\n\nlet container = Container::new(\"api\".to_string())\n .cluster(\"compute\".to_string())\n .code(ContainerCode::Image {\n image: \"myapp:latest\".to_string(),\n })\n .cpu(ResourceSpec { min: \"0.5\".to_string(), desired: \"1\".to_string() })\n .memory(ResourceSpec { min: \"512Mi\".to_string(), desired: \"1Gi\".to_string() })\n .port(8080)\n .public_endpoint(PublicEndpoint {\n name: \"api\".to_string(),\n port: 8080,\n protocol: ExposeProtocol::Http,\n host_label: None,\n wildcard_subdomains: false,\n })\n .autoscaling(ContainerAutoscaling {\n min: 2,\n desired: 3,\n max: 10,\n target_cpu_percent: Some(70.0),\n target_memory_percent: None,\n target_http_in_flight_per_replica: Some(100),\n max_http_p95_latency_ms: None,\n })\n .permissions(\"container-execution\".to_string())\n .build();\n```");
6738
7025
  object({
6739
7026
  "command": string().describe("Command name (e.g., \"generate-report\", \"sync-data\")"),
@@ -6850,7 +7137,7 @@ const GcpDaemonHeartbeatDataSchema = object({
6850
7137
  get "daemonInstances"() {
6851
7138
  return array(ManagedRuntimeUnitStatusSchema);
6852
7139
  },
6853
- "daemonName": string(),
7140
+ "daemonName": optional(string()),
6854
7141
  "desiredMachines": int().min(0),
6855
7142
  get "events"() {
6856
7143
  return array(ManagedRuntimeEventSnapshotSchema);
@@ -6906,7 +7193,7 @@ const LocalDaemonHeartbeatDataSchema = object({
6906
7193
  get "daemonInstance"() {
6907
7194
  return union([LocalRuntimeUnitStatusSchema, _null()]).optional();
6908
7195
  },
6909
- "daemonName": string(),
7196
+ "daemonName": optional(string()),
6910
7197
  get "events"() {
6911
7198
  return array(LocalRuntimeEventSnapshotSchema);
6912
7199
  },
@@ -6923,10 +7210,38 @@ const LocalDaemonHeartbeatDataSchema = object({
6923
7210
  * Generated by Kubb (https://kubb.dev/).
6924
7211
  * Do not edit manually.
6925
7212
  */
7213
+ const MachinesDaemonHeartbeatDataSchema = object({
7214
+ "assignedMachines": int().min(0),
7215
+ "capacityGroup": string(),
7216
+ "commandSupported": boolean(),
7217
+ get "daemonInstances"() {
7218
+ return array(ManagedRuntimeUnitStatusSchema);
7219
+ },
7220
+ "daemonName": optional(string()),
7221
+ "desiredMachines": int().min(0),
7222
+ get "events"() {
7223
+ return array(ManagedRuntimeEventSnapshotSchema);
7224
+ },
7225
+ "healthyInstances": int().min(0),
7226
+ "horizonClusterId": string(),
7227
+ "horizonStatus": string(),
7228
+ "horizonStatusMessage": string().nullish(),
7229
+ "horizonStatusReason": string().nullish(),
7230
+ "latestUpdateTimestamp": string(),
7231
+ get "status"() {
7232
+ return WorkloadHeartbeatStatusSchema;
7233
+ },
7234
+ "unavailableInstances": int().min(0)
7235
+ });
7236
+ /**
7237
+ * Generated by Kubb (https://kubb.dev/).
7238
+ * Do not edit manually.
7239
+ */
6926
7240
  const DaemonHeartbeatDataSchema = union([
6927
7241
  lazy(() => AwsDaemonHeartbeatDataSchema).and(object({ "backend": _enum(["aws"]) })),
6928
7242
  lazy(() => GcpDaemonHeartbeatDataSchema).and(object({ "backend": _enum(["gcp"]) })),
6929
7243
  lazy(() => AzureDaemonHeartbeatDataSchema).and(object({ "backend": _enum(["azure"]) })),
7244
+ lazy(() => MachinesDaemonHeartbeatDataSchema).and(object({ "backend": _enum(["machines"]) })),
6930
7245
  lazy(() => KubernetesDaemonHeartbeatDataSchema).and(object({ "backend": _enum(["kubernetes"]) })),
6931
7246
  lazy(() => LocalDaemonHeartbeatDataSchema).and(object({ "backend": _enum(["local"]) }))
6932
7247
  ]);
@@ -6985,7 +7300,8 @@ object({
6985
7300
  },
6986
7301
  get "runtime"() {
6987
7302
  return union([DaemonRuntimeSchema, _null()]).optional();
6988
- }
7303
+ },
7304
+ "stopGracePeriodSeconds": int().min(1).max(86400).describe("Grace period in seconds for stopping daemon instances during updates, drains, and deletes.\n\nWhen omitted, the runtime backend applies its default. Valid values are\n1 second through 24 hours.").nullish()
6989
7305
  });
6990
7306
  /**
6991
7307
  * Generated by Kubb (https://kubb.dev/).
@@ -7029,9 +7345,25 @@ object({
7029
7345
  * Do not edit manually.
7030
7346
  */
7031
7347
  /**
7348
+ * @description DNS target mode for public endpoints.
7349
+ */
7350
+ const PublicEndpointTargetSettingsSchema = union([object({ "mode": _enum(["machineAddresses"]) }), object({
7351
+ "cnameTarget": string().describe("DNS name or URL for the external load balancer."),
7352
+ "mode": _enum(["loadBalancer"])
7353
+ })]).describe("DNS target mode for public endpoints.");
7354
+ /**
7355
+ * Generated by Kubb (https://kubb.dev/).
7356
+ * Do not edit manually.
7357
+ */
7358
+ /**
7032
7359
  * @description Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains and certificates. Otherwise, Alien auto-generates domains.
7033
7360
  */
7034
- const DomainSettingsSchema = object({ "customDomains": object({}).catchall(lazy(() => CustomDomainConfigSchema).describe("Custom domain configuration for a single resource.")).describe("Custom domain configuration per resource ID.").nullish() }).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains and certificates. Otherwise, Alien auto-generates domains.");
7361
+ const DomainSettingsSchema = object({
7362
+ "customDomains": object({}).catchall(lazy(() => CustomDomainConfigSchema).describe("Custom domain configuration for a single resource.")).describe("Custom domain configuration per resource ID.").nullish(),
7363
+ get "publicEndpointTarget"() {
7364
+ return union([PublicEndpointTargetSettingsSchema, _null()]).optional();
7365
+ }
7366
+ }).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains and certificates. Otherwise, Alien auto-generates domains.");
7035
7367
  /**
7036
7368
  * Generated by Kubb (https://kubb.dev/).
7037
7369
  * Do not edit manually.
@@ -7156,6 +7488,18 @@ const GcpCloudRunWorkerHeartbeatDataSchema = object({
7156
7488
  * Generated by Kubb (https://kubb.dev/).
7157
7489
  * Do not edit manually.
7158
7490
  */
7491
+ const GcpCloudSqlPostgresHeartbeatDataSchema = object({
7492
+ "databaseVersion": string().nullish(),
7493
+ "instanceName": string(),
7494
+ "state": string().nullish(),
7495
+ get "status"() {
7496
+ return PostgresHeartbeatStatusSchema;
7497
+ }
7498
+ });
7499
+ /**
7500
+ * Generated by Kubb (https://kubb.dev/).
7501
+ * Do not edit manually.
7502
+ */
7159
7503
  const GcpCloudStorageHeartbeatDataSchema = object({
7160
7504
  "bucketId": string().nullish(),
7161
7505
  "defaultKmsKeyName": string().nullish(),
@@ -7250,6 +7594,17 @@ const GcpPlatformPermissionSchema = object({
7250
7594
  },
7251
7595
  "label": string().describe("Stable admin-facing label for this permission entry.").nullish()
7252
7596
  }).describe("GCP-specific platform permission configuration");
7597
+ object({
7598
+ "database": string().describe("Default database name."),
7599
+ "databaseVersion": string().describe("Engine version the instance reports."),
7600
+ "endpointIp": string().describe("PSC consumer endpoint IP (the binding host)."),
7601
+ "instanceName": string().describe("Cloud SQL instance name."),
7602
+ "passwordSecretName": string().describe("Secret Manager secret name of the master password (never the password)."),
7603
+ "pscAddressName": string().describe("Regional internal address backing the PSC consumer endpoint."),
7604
+ "pscForwardingRuleName": string().describe("Regional forwarding rule for the PSC consumer endpoint."),
7605
+ "pscServiceAttachment": string().describe("PSC service-attachment URI exposed by the instance."),
7606
+ "region": string().describe("GCP region.")
7607
+ }).describe("GCP Postgres (Cloud SQL + Private Service Connect) registration data: the handles by\nwhich a setup-created Cloud SQL instance and its PSC consumer endpoint are registered\nas a Frozen Postgres resource. Setup owns the instance, Alien refreshes and heartbeats it.");
7253
7608
  /**
7254
7609
  * Generated by Kubb (https://kubb.dev/).
7255
7610
  * Do not edit manually.
@@ -7870,6 +8225,19 @@ const LifecycleRuleSchema = object({
7870
8225
  * Generated by Kubb (https://kubb.dev/).
7871
8226
  * Do not edit manually.
7872
8227
  */
8228
+ const LocalPostgresHeartbeatDataSchema = object({
8229
+ "name": string(),
8230
+ "port": int().min(0).nullish(),
8231
+ "processRunning": boolean(),
8232
+ get "status"() {
8233
+ return PostgresHeartbeatStatusSchema;
8234
+ },
8235
+ "version": string()
8236
+ });
8237
+ /**
8238
+ * Generated by Kubb (https://kubb.dev/).
8239
+ * Do not edit manually.
8240
+ */
7873
8241
  const LocalQueueHeartbeatDataSchema = object({
7874
8242
  "name": string(),
7875
8243
  "path": string().nullish(),
@@ -8067,6 +8435,7 @@ const NetworkSettingsSchema = union([
8067
8435
  }),
8068
8436
  object({
8069
8437
  "application_gateway_subnet_name": string().describe("Name of the dedicated classic Application Gateway subnet within the VNet.").nullish(),
8438
+ "private_endpoint_subnet_name": string().describe("Name of the dedicated subnet that hosts Private Endpoints (e.g. for a\nPostgres Flexible Server). A Private Endpoint must not share the private\nsubnet, which is already claimed by the Container Apps environment's\n`infrastructure_subnet_id`. Required only when the stack contains a\nPostgres resource; otherwise unused.").nullish(),
8070
8439
  "private_subnet_name": string().describe("Name of the private subnet within the VNet"),
8071
8440
  "public_subnet_name": string().describe("Name of the public subnet within the VNet"),
8072
8441
  "type": _enum(["byo-vnet-azure"]),
@@ -8077,6 +8446,81 @@ const NetworkSettingsSchema = union([
8077
8446
  * Generated by Kubb (https://kubb.dev/).
8078
8447
  * Do not edit manually.
8079
8448
  */
8449
+ const RawHeartbeatSnippetFormatSchema = _enum([
8450
+ "json",
8451
+ "yaml",
8452
+ "text"
8453
+ ]);
8454
+ /**
8455
+ * Generated by Kubb (https://kubb.dev/).
8456
+ * Do not edit manually.
8457
+ */
8458
+ const RawHeartbeatSnippetSchema = object({
8459
+ "body": string(),
8460
+ "collectedAt": datetime(),
8461
+ get "format"() {
8462
+ return RawHeartbeatSnippetFormatSchema;
8463
+ },
8464
+ "source": string(),
8465
+ "truncated": boolean()
8466
+ });
8467
+ /**
8468
+ * Generated by Kubb (https://kubb.dev/).
8469
+ * Do not edit manually.
8470
+ */
8471
+ const ObservedResourceSampleSchema = object({
8472
+ "alienResourceId": string().nullish(),
8473
+ "attributes": optional(object({}).catchall(lazy(() => ValueSchema))),
8474
+ get "collectionIssues"() {
8475
+ return array(HeartbeatCollectionIssueSchema).optional();
8476
+ },
8477
+ get "counts"() {
8478
+ return union([ObservedCountsSchema, _null()]).optional();
8479
+ },
8480
+ "deploymentId": string().nullish(),
8481
+ "displayName": string(),
8482
+ get "health"() {
8483
+ return ObservedHealthSchema;
8484
+ },
8485
+ "labels": optional(object({}).catchall(string())),
8486
+ get "lifecycle"() {
8487
+ return ProviderLifecycleStateSchema;
8488
+ },
8489
+ "message": string().nullish(),
8490
+ "namespace": string().nullish(),
8491
+ "partial": boolean(),
8492
+ "providerKind": string().describe("Provider-native kind, such as `apps/v1/Deployment`,\n`AWS::S3::Bucket`, `storage.googleapis.com/Bucket`, or an Azure\nresource type."),
8493
+ "providerStale": boolean(),
8494
+ get "raw"() {
8495
+ return array(RawHeartbeatSnippetSchema).optional();
8496
+ },
8497
+ "rawIdentity": string().describe("Provider-native stable identity: Kubernetes object identity, cloud ARN,\nGCP full resource name, Azure resource id, etc."),
8498
+ "region": string().nullish(),
8499
+ get "resourceTypeHint"() {
8500
+ return union([ResourceTypeSchema, _null()]).optional();
8501
+ },
8502
+ "scope": string().nullish(),
8503
+ "version": string().describe("Release/version identity observed from the provider resource, when available.").nullish()
8504
+ });
8505
+ object({
8506
+ get "backend"() {
8507
+ return HeartbeatBackendSchema.describe("Backend whose observer produced this snapshot.");
8508
+ },
8509
+ "complete": boolean().describe("Whether this batch is a complete replacement for the scope. Complete\nbatches tombstone previously observed rows in the same scope when they\nare absent from `resources`."),
8510
+ get "controllerPlatform"() {
8511
+ return PlatformSchema.describe("Represents the target cloud platform.");
8512
+ },
8513
+ "inventoryScope": string().describe("Stable scope for the provider list operation that produced this batch."),
8514
+ "observedAt": datetime().describe("Time the inventory scope was observed."),
8515
+ get "resources"() {
8516
+ return array(ObservedResourceSampleSchema);
8517
+ },
8518
+ "sourceKind": string().describe("Writer/source for this inventory pass, such as `operator` or\n`manager-observer`.")
8519
+ });
8520
+ /**
8521
+ * Generated by Kubb (https://kubb.dev/).
8522
+ * Do not edit manually.
8523
+ */
8080
8524
  /**
8081
8525
  * @description Combined permissions configuration that contains both profiles and management
8082
8526
  */
@@ -8090,6 +8534,40 @@ const PermissionsConfigSchema = object({
8090
8534
  * Generated by Kubb (https://kubb.dev/).
8091
8535
  * Do not edit manually.
8092
8536
  */
8537
+ /**
8538
+ * @description Cloud backend for a Postgres resource. Only Aurora Serverless v2 ships in v1;\nthe enum reserves the slot so provisioned RDS is an additive variant later.
8539
+ */
8540
+ const PostgresBackendSchema = object({ "type": _enum(["auroraServerlessV2"]) }).describe("Cloud backend for a Postgres resource. Only Aurora Serverless v2 ships in v1;\nthe enum reserves the slot so provisioned RDS is an additive variant later.");
8541
+ /**
8542
+ * Generated by Kubb (https://kubb.dev/).
8543
+ * Do not edit manually.
8544
+ */
8545
+ const PostgresHeartbeatDataSchema = union([
8546
+ lazy(() => AuroraPostgresHeartbeatDataSchema).and(object({ "backend": _enum(["aurora"]) })),
8547
+ lazy(() => GcpCloudSqlPostgresHeartbeatDataSchema).and(object({ "backend": _enum(["cloudSql"]) })),
8548
+ lazy(() => AzureFlexibleServerPostgresHeartbeatDataSchema).and(object({ "backend": _enum(["flexibleServer"]) })),
8549
+ lazy(() => LocalPostgresHeartbeatDataSchema).and(object({ "backend": _enum(["local"]) }))
8550
+ ]);
8551
+ object({
8552
+ "database": string().describe("The default database created for this resource. On cloud backends this is the fixed\nlabel `POSTGRES_DATABASE_NAME` (`alien`); on Local it is the resource id."),
8553
+ "endpoint": string().describe("Host (or host:port) the database listens on; never publicly reachable."),
8554
+ "port": int().min(0).describe("Listening port, when known.").nullish()
8555
+ }).describe("Outputs generated by a successfully provisioned Postgres database.");
8556
+ object({
8557
+ get "backend"() {
8558
+ return union([PostgresBackendSchema, _null()]).optional();
8559
+ },
8560
+ "cpu": string().describe("Requested vCPUs (e.g. \"0.5\", \"2\"). None = smallest available tier.").nullish(),
8561
+ "highAvailability": optional(boolean().describe("Multi-AZ / regional / zone-redundant high availability. Default false.")),
8562
+ "id": string(),
8563
+ "memory": string().describe("Requested memory (e.g. \"1Gi\", \"8Gi\"). None = smallest available tier.").nullish(),
8564
+ "storage": optional(string().default("20Gi").describe("Allocated storage (e.g. \"20Gi\"). Default \"20Gi\". Grow-only.")),
8565
+ "version": optional(string().default("17").describe("Major engine version: \"15\" | \"16\" | \"17\". Default \"17\"."))
8566
+ }).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.");
8567
+ /**
8568
+ * Generated by Kubb (https://kubb.dev/).
8569
+ * Do not edit manually.
8570
+ */
8093
8571
  const QueueHeartbeatDataSchema = union([
8094
8572
  lazy(() => AwsSqsQueueHeartbeatDataSchema).and(object({ "backend": _enum(["awsSqs"]) })),
8095
8573
  lazy(() => GcpPubSubQueueHeartbeatDataSchema).and(object({ "backend": _enum(["gcpPubSub"]) })),
@@ -8116,28 +8594,6 @@ object({ "id": string().describe("Identifier for the queue. Must contain only al
8116
8594
  * Generated by Kubb (https://kubb.dev/).
8117
8595
  * Do not edit manually.
8118
8596
  */
8119
- const RawHeartbeatSnippetFormatSchema = _enum([
8120
- "json",
8121
- "yaml",
8122
- "text"
8123
- ]);
8124
- /**
8125
- * Generated by Kubb (https://kubb.dev/).
8126
- * Do not edit manually.
8127
- */
8128
- const RawHeartbeatSnippetSchema = object({
8129
- "body": string(),
8130
- "collectedAt": datetime(),
8131
- get "format"() {
8132
- return RawHeartbeatSnippetFormatSchema;
8133
- },
8134
- "source": string(),
8135
- "truncated": boolean()
8136
- });
8137
- /**
8138
- * Generated by Kubb (https://kubb.dev/).
8139
- * Do not edit manually.
8140
- */
8141
8597
  /**
8142
8598
  * @description Configuration for HTTP-based readiness probe.\nThis probe is executed after worker provisioning/update to verify the worker is ready to serve traffic.\nOnly works with workers that have Public ingress.
8143
8599
  */
@@ -8278,6 +8734,12 @@ const ResourceHeartbeatDataSchema = union([
8278
8734
  },
8279
8735
  "resourceType": _enum(["kv"])
8280
8736
  }),
8737
+ object({
8738
+ get "data"() {
8739
+ return PostgresHeartbeatDataSchema;
8740
+ },
8741
+ "resourceType": _enum(["postgres"])
8742
+ }),
8281
8743
  object({
8282
8744
  get "data"() {
8283
8745
  return VaultHeartbeatDataSchema;
@@ -8360,7 +8822,7 @@ object({
8360
8822
  get "raw"() {
8361
8823
  return array(RawHeartbeatSnippetSchema);
8362
8824
  },
8363
- "resourceId": string(),
8825
+ "resourceId": string().describe("Alien resource id, such as the `alien.Container` or `alien.Storage`\nresource id from the stack."),
8364
8826
  get "resourceType"() {
8365
8827
  return ResourceTypeSchema.describe("Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.");
8366
8828
  }
@@ -9432,4 +9894,4 @@ defineError({
9432
9894
  httpStatusCode: 400
9433
9895
  });
9434
9896
  //#endregion
9435
- export { object as a, number as i, defineError as n, string as o, _enum as r, AlienError as t };
9897
+ export { literal as a, string as c, discriminatedUnion as i, defineError as n, number as o, _enum as r, object as s, AlienError as t };