@alienplatform/sdk 3.3.22 → 3.3.24

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/dist.js +27 -1
  2. package/package.json +4 -4
package/dist/dist.js CHANGED
@@ -8413,6 +8413,12 @@ const ToolchainConfigSchema = union([
8413
8413
  "binaryName": string().describe("Name of the compiled binary (defaults to package.json name if not specified)").nullish(),
8414
8414
  "type": _enum(["typescript"])
8415
8415
  }),
8416
+ object({
8417
+ "command": array(string()).describe("Process argv used to start the application"),
8418
+ "package": string().describe("Workspace package to install (omit for a single-package project)").nullish(),
8419
+ "pythonVersion": string().describe("Python version used by the runtime image (defaults to 3.12)").nullish(),
8420
+ "type": _enum(["python"])
8421
+ }),
8416
8422
  object({
8417
8423
  "buildArgs": object({}).catchall(string()).describe("Build arguments for docker build").nullish(),
8418
8424
  "dockerfile": string().describe("Dockerfile path relative to src (default: \"Dockerfile\")").nullish(),
@@ -8888,6 +8894,7 @@ object({
8888
8894
  "deadline": datetime().describe("Optional deadline for command completion").nullish(),
8889
8895
  "deploymentId": string().describe("Target deployment identifier"),
8890
8896
  "idempotencyKey": string().describe("Optional idempotency key").nullish(),
8897
+ "operationResultContract": optional(any().describe("Opaque result-handling contract the registry must persist atomically\nwith command creation before the command becomes executable.")),
8891
8898
  get "params"() {
8892
8899
  return BodySpecSchema.describe("Body specification supporting inline and storage modes");
8893
8900
  },
@@ -8908,6 +8915,7 @@ const StorageUploadSchema = object({
8908
8915
  }).describe("Storage upload information");
8909
8916
  object({
8910
8917
  "commandId": string().describe("Unique command identifier"),
8918
+ "created": optional(boolean().describe("Whether this request created the returned command. False means an\nidempotent replay returned a command created by another request.")),
8911
8919
  "inlineAllowedUpTo": int().min(0).describe("Maximum inline body size allowed"),
8912
8920
  "next": string().describe("Next action for client: \"upload\" | \"poll\""),
8913
8921
  get "state"() {
@@ -10614,6 +10622,23 @@ object({
10614
10622
  * Do not edit manually.
10615
10623
  */
10616
10624
  /**
10625
+ * @description Origin of the exact Operator image running this process.
10626
+ */
10627
+ const OperatorImageSourceSchema = _enum(["package", "configured"]).describe("Origin of the exact Operator image running this process.");
10628
+ object({
10629
+ "digest": string().describe("Exact lowercase OCI digest in `sha256:digest` form."),
10630
+ "image": string().describe("Exact OCI image reference in `repository@sha256:digest` form."),
10631
+ "packageId": string().describe("Package ID when `source` is `package`; otherwise `null`.").nullish(),
10632
+ "packageVersion": string().describe("Package version when `source` is `package`; otherwise `null`.").nullish(),
10633
+ get "source"() {
10634
+ return OperatorImageSourceSchema.describe("Origin of the exact Operator image running this process.");
10635
+ }
10636
+ }).describe("Exact immutable Operator image identity observed by the running process.");
10637
+ /**
10638
+ * Generated by Kubb (https://kubb.dev/).
10639
+ * Do not edit manually.
10640
+ */
10641
+ /**
10617
10642
  * @description Combined permissions configuration that contains both profiles and management
10618
10643
  */
10619
10644
  const PermissionsConfigSchema = object({
@@ -11076,7 +11101,8 @@ object({
11076
11101
  get "limits"() {
11077
11102
  return union([SandboxLimitsSchema, _null()]).optional();
11078
11103
  },
11079
- "previewPorts": optional(array(int().min(0)).describe("Ports eligible for a preview capability. An application reaches its sandbox through the\nprovider, so it cannot widen its own ingress at runtime; a holder of a remote binding's\ncredentials is bounded by no port condition, which is why a remote sandbox declares none."))
11104
+ "previewPorts": optional(array(int().min(0)).describe("Ports eligible for a preview capability. An application reaches its sandbox through the\nprovider, so it cannot widen its own ingress at runtime; a holder of a remote binding's\ncredentials is bounded by no port condition, which is why a remote sandbox declares none.")),
11105
+ "privateBaseImage": string().describe("Private ECR base image an AWS build pulls; `code.image` names only the S3 bundle, so this is\nwhat the cross-account grant opens. Live only: the grant needs the customer account,\nwhich registration reports. Absent means the base image is pulled anonymously.").nullish()
11080
11106
  }).describe("An isolated environment for running untrusted code, created at runtime.");
11081
11107
  object({ "timestamp": datetime().describe("The timestamp when the event was scheduled or triggered.") }).describe("Represents a scheduled event trigger, typically from a cron job or timer.\n\nThis struct aims to provide a common representation for scheduled events\nacross different providers like AWS CloudWatch Events, Google Cloud Scheduler,\nand Azure Timer Triggers.");
11082
11108
  object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alienplatform/sdk",
3
- "version": "3.3.22",
3
+ "version": "3.3.24",
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.22",
61
- "@alienplatform/bindings": "^3.3.22",
62
- "@alienplatform/core": "^3.3.22"
60
+ "@alienplatform/ai-gateway": "^3.3.24",
61
+ "@alienplatform/bindings": "^3.3.24",
62
+ "@alienplatform/core": "^3.3.24"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsdown && tsc --emitDeclarationOnly",