@alienplatform/core 3.3.17 → 3.3.18

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 CHANGED
@@ -3358,10 +3358,10 @@ type BuildOutputs = z$2.infer<typeof BuildOutputsSchema>;
3358
3358
  * @description Status of a build execution.
3359
3359
  */
3360
3360
  declare const BuildStatusSchema: z$2.ZodEnum<{
3361
- SUCCEEDED: "SUCCEEDED";
3362
- FAILED: "FAILED";
3363
3361
  QUEUED: "QUEUED";
3364
3362
  RUNNING: "RUNNING";
3363
+ SUCCEEDED: "SUCCEEDED";
3364
+ FAILED: "FAILED";
3365
3365
  CANCELLED: "CANCELLED";
3366
3366
  TIMED_OUT: "TIMED_OUT";
3367
3367
  }>;
@@ -3519,11 +3519,11 @@ type CommandResponse = z$2.infer<typeof CommandResponseSchema>;
3519
3519
  * @description Command states in the Commands protocol lifecycle
3520
3520
  */
3521
3521
  declare const CommandStateSchema: z$2.ZodEnum<{
3522
+ SUCCEEDED: "SUCCEEDED";
3523
+ FAILED: "FAILED";
3522
3524
  PENDING_UPLOAD: "PENDING_UPLOAD";
3523
3525
  PENDING: "PENDING";
3524
3526
  DISPATCHED: "DISPATCHED";
3525
- SUCCEEDED: "SUCCEEDED";
3526
- FAILED: "FAILED";
3527
3527
  EXPIRED: "EXPIRED";
3528
3528
  }>;
3529
3529
  type CommandState = z$2.infer<typeof CommandStateSchema>;
@@ -3587,11 +3587,11 @@ declare const CommandStatusResponseSchema: z$2.ZodObject<{
3587
3587
  }>;
3588
3588
  }, z$2.core.$strip>]>, z$2.ZodNull]>>;
3589
3589
  state: z$2.ZodEnum<{
3590
+ SUCCEEDED: "SUCCEEDED";
3591
+ FAILED: "FAILED";
3590
3592
  PENDING_UPLOAD: "PENDING_UPLOAD";
3591
3593
  PENDING: "PENDING";
3592
3594
  DISPATCHED: "DISPATCHED";
3593
- SUCCEEDED: "SUCCEEDED";
3594
- FAILED: "FAILED";
3595
3595
  EXPIRED: "EXPIRED";
3596
3596
  }>;
3597
3597
  target: z$2.ZodObject<{
@@ -5180,11 +5180,11 @@ declare const CreateCommandResponseSchema: z$2.ZodObject<{
5180
5180
  inlineAllowedUpTo: z$2.ZodInt;
5181
5181
  next: z$2.ZodString;
5182
5182
  state: z$2.ZodEnum<{
5183
+ SUCCEEDED: "SUCCEEDED";
5184
+ FAILED: "FAILED";
5183
5185
  PENDING_UPLOAD: "PENDING_UPLOAD";
5184
5186
  PENDING: "PENDING";
5185
5187
  DISPATCHED: "DISPATCHED";
5186
- SUCCEEDED: "SUCCEEDED";
5187
- FAILED: "FAILED";
5188
5188
  EXPIRED: "EXPIRED";
5189
5189
  }>;
5190
5190
  storageUpload: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
@@ -23737,6 +23737,7 @@ declare const SandboxCapabilitiesSchema: z$2.ZodObject<{
23737
23737
  reconnect: z$2.ZodBoolean;
23738
23738
  sessionLifetime: z$2.ZodBoolean;
23739
23739
  snapshot: z$2.ZodBoolean;
23740
+ supervisorIsolation: z$2.ZodBoolean;
23740
23741
  supervisorPidNamespace: z$2.ZodBoolean;
23741
23742
  suspendResume: z$2.ZodBoolean;
23742
23743
  }, z$2.core.$strip>;
@@ -25941,11 +25942,11 @@ type UploadCompleteRequest = z$2.infer<typeof UploadCompleteRequestSchema>;
25941
25942
  declare const UploadCompleteResponseSchema: z$2.ZodObject<{
25942
25943
  commandId: z$2.ZodString;
25943
25944
  state: z$2.ZodEnum<{
25945
+ SUCCEEDED: "SUCCEEDED";
25946
+ FAILED: "FAILED";
25944
25947
  PENDING_UPLOAD: "PENDING_UPLOAD";
25945
25948
  PENDING: "PENDING";
25946
25949
  DISPATCHED: "DISPATCHED";
25947
- SUCCEEDED: "SUCCEEDED";
25948
- FAILED: "FAILED";
25949
25950
  EXPIRED: "EXPIRED";
25950
25951
  }>;
25951
25952
  }, z$2.core.$strip>;
@@ -26872,7 +26873,6 @@ declare const WorkerSchema: z$2.ZodObject<{
26872
26873
  }>>;
26873
26874
  path: z$2.ZodOptional<z$2.ZodString>;
26874
26875
  }, z$2.core.$strip>, z$2.ZodNull]>>;
26875
- sandboxLauncher: z$2.ZodOptional<z$2.ZodBoolean>;
26876
26876
  timeoutSeconds: z$2.ZodOptional<z$2.ZodDefault<z$2.ZodInt>>;
26877
26877
  triggers: z$2.ZodArray<z$2.ZodUnion<readonly [z$2.ZodObject<{
26878
26878
  queue: z$2.ZodObject<{
@@ -28272,7 +28272,6 @@ declare const ResourceSchemaMapping: {
28272
28272
  }>>;
28273
28273
  path: z$1.ZodOptional<z$1.ZodString>;
28274
28274
  }, z$1.core.$strip>, z$1.ZodNull]>>;
28275
- sandboxLauncher: z$1.ZodOptional<z$1.ZodBoolean>;
28276
28275
  timeoutSeconds: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodInt>>;
28277
28276
  triggers: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
28278
28277
  queue: z$1.ZodObject<{
@@ -28790,8 +28789,11 @@ declare class Queue extends ResourceBuilder {
28790
28789
  *
28791
28790
  * Capabilities are not uniform. Call `capabilities()` on the binding and branch, or handle the
28792
28791
  * typed error — an unsupported capability never silently succeeds. Notably GCP cannot
28793
- * reconnect to a session (its session id is scoped to one Cloud Run instance), the Azure
28794
- * binding implements no file transfer, and no binding renders a hostname egress allowlist.
28792
+ * reconnect to a session (its session id is scoped to one Cloud Run instance), only Azure
28793
+ * restricts egress to a hostname allowlist, no platform can snapshot a session, and only AWS
28794
+ * and Local run a command under a different identity than the process supervising it. Elsewhere the
28795
+ * command shares the supervisor's user, so it can read the supervisor's environment and
28796
+ * signal it, and the container is the isolation boundary.
28795
28797
  *
28796
28798
  * Limits are enforced ceilings, not scheduling hints, and are validated when the stack is
28797
28799
  * planned. A platform that cannot enforce them rejects the sandbox rather than ignoring them.