@alienplatform/core 1.11.1 → 1.12.0

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.
@@ -1,8 +1,8 @@
1
1
 
2
- > @alienplatform/core@1.11.1 build /home/runner/work/alien/alien/packages/core
2
+ > @alienplatform/core@1.12.0 build /home/runner/work/alien/alien/packages/core
3
3
  > tsdown
4
4
 
5
- ℹ tsdown v0.13.5 powered by rolldown v1.1.1
5
+ ℹ tsdown v0.13.5 powered by rolldown v1.1.4
6
6
  ℹ Using tsdown config: /home/runner/work/alien/alien/packages/core/tsdown.config.ts
7
7
  ℹ entry: src/index.ts, src/tests/index.ts
8
8
  ℹ tsconfig: tsconfig.json
@@ -10,21 +10,21 @@
10
10
  ℹ Cleaning 11 files
11
11
  Warning: Invalid input options (1 issue found)
12
12
  - For the "define". Invalid key: Expected never but received "define". 
13
- ℹ dist/index.js  75.23 kB │ gzip: 17.41 kB
13
+ ℹ dist/index.js  75.39 kB │ gzip: 17.45 kB
14
14
  ℹ dist/tests/index.js  0.26 kB │ gzip: 0.20 kB
15
- ℹ dist/stack.js.map  527.41 kB │ gzip: 75.74 kB
16
- ℹ dist/stack.js  294.00 kB │ gzip: 48.76 kB
17
- ℹ dist/index.d.ts.map  143.69 kB │ gzip: 24.48 kB
18
- ℹ dist/index.js.map  96.33 kB │ gzip: 20.50 kB
15
+ ℹ dist/stack.js.map  528.30 kB │ gzip: 75.92 kB
16
+ ℹ dist/stack.js  294.62 kB │ gzip: 48.88 kB
17
+ ℹ dist/index.d.ts.map  143.67 kB │ gzip: 24.44 kB
18
+ ℹ dist/index.js.map  96.61 kB │ gzip: 20.56 kB
19
19
  ℹ dist/tests/index.js.map  0.42 kB │ gzip: 0.31 kB
20
20
  ℹ dist/tests/index.d.ts.map  0.19 kB │ gzip: 0.15 kB
21
- ℹ dist/index.d.ts 1051.41 kB
21
+ ℹ dist/index.d.ts 1051.60 kB
22
22
  ℹ dist/tests/index.d.ts  1.49 kB │ gzip: 0.53 kB
23
- ℹ 10 files, total: 2190.44 kB
23
+ ℹ 10 files, total: 2192.55 kB
24
24
  [PLUGIN_TIMINGS] Your build spent significant time in plugins. Here is a breakdown:
25
- - rolldown-plugin-dts:fake-js (38%)
26
- - rolldown-plugin-dts:generate (37%)
27
- - rolldown-plugin-dts:resolver (20%)
28
- See https://rolldown.rs/options/checks#plugintimings for more details.
25
+ - rolldown-plugin-dts:fake-js (39%)
26
+ - rolldown-plugin-dts:generate (36%)
27
+ - rolldown-plugin-dts:resolver (19%)
28
+ See https://rolldown.rs/reference/InputOptions.checks#plugintimings for more details.
29
29
 
30
- ✔ Build complete in 6128ms
30
+ ✔ Build complete in 6054ms
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ declare const AgentStatusSchema: z$2.ZodObject<{
41
41
  "preflights-failed": "preflights-failed";
42
42
  "initial-setup": "initial-setup";
43
43
  "initial-setup-failed": "initial-setup-failed";
44
+ "waiting-for-machines": "waiting-for-machines";
44
45
  "provisioning-failed": "provisioning-failed";
45
46
  "update-pending": "update-pending";
46
47
  "delete-pending": "delete-pending";
@@ -3270,10 +3271,10 @@ type BuildOutputs = z$2.infer<typeof BuildOutputsSchema>;
3270
3271
  * @description Status of a build execution.
3271
3272
  */
3272
3273
  declare const BuildStatusSchema: z$2.ZodEnum<{
3273
- QUEUED: "QUEUED";
3274
- RUNNING: "RUNNING";
3275
3274
  SUCCEEDED: "SUCCEEDED";
3276
3275
  FAILED: "FAILED";
3276
+ QUEUED: "QUEUED";
3277
+ RUNNING: "RUNNING";
3277
3278
  CANCELLED: "CANCELLED";
3278
3279
  TIMED_OUT: "TIMED_OUT";
3279
3280
  }>;
@@ -3421,11 +3422,11 @@ type CommandResponse = z$2.infer<typeof CommandResponseSchema>;
3421
3422
  * @description Command states in the Commands protocol lifecycle
3422
3423
  */
3423
3424
  declare const CommandStateSchema: z$2.ZodEnum<{
3424
- SUCCEEDED: "SUCCEEDED";
3425
- FAILED: "FAILED";
3426
3425
  PENDING_UPLOAD: "PENDING_UPLOAD";
3427
3426
  PENDING: "PENDING";
3428
3427
  DISPATCHED: "DISPATCHED";
3428
+ SUCCEEDED: "SUCCEEDED";
3429
+ FAILED: "FAILED";
3429
3430
  EXPIRED: "EXPIRED";
3430
3431
  }>;
3431
3432
  type CommandState = z$2.infer<typeof CommandStateSchema>;
@@ -3489,11 +3490,11 @@ declare const CommandStatusResponseSchema: z$2.ZodObject<{
3489
3490
  }>;
3490
3491
  }, z$2.core.$strip>]>, z$2.ZodNull]>>;
3491
3492
  state: z$2.ZodEnum<{
3492
- SUCCEEDED: "SUCCEEDED";
3493
- FAILED: "FAILED";
3494
3493
  PENDING_UPLOAD: "PENDING_UPLOAD";
3495
3494
  PENDING: "PENDING";
3496
3495
  DISPATCHED: "DISPATCHED";
3496
+ SUCCEEDED: "SUCCEEDED";
3497
+ FAILED: "FAILED";
3497
3498
  EXPIRED: "EXPIRED";
3498
3499
  }>;
3499
3500
  }, z$2.core.$strip>;
@@ -4490,8 +4491,8 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
4490
4491
  }, z$2.core.$strip>;
4491
4492
  schedulingMode: z$2.ZodEnum<{
4492
4493
  stateful: "stateful";
4493
- replicated: "replicated";
4494
4494
  daemon: "daemon";
4495
+ replicated: "replicated";
4495
4496
  }>;
4496
4497
  status: z$2.ZodObject<{
4497
4498
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -4714,9 +4715,9 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
4714
4715
  value: z$2.ZodNumber;
4715
4716
  }, z$2.core.$strip>, z$2.ZodNull]>>;
4716
4717
  kind: z$2.ZodEnum<{
4717
- daemon: "daemon";
4718
4718
  container: "container";
4719
4719
  process: "process";
4720
+ daemon: "daemon";
4720
4721
  }>;
4721
4722
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
4722
4723
  unit: z$2.ZodEnum<{
@@ -5038,11 +5039,11 @@ declare const CreateCommandResponseSchema: z$2.ZodObject<{
5038
5039
  inlineAllowedUpTo: z$2.ZodInt;
5039
5040
  next: z$2.ZodString;
5040
5041
  state: z$2.ZodEnum<{
5041
- SUCCEEDED: "SUCCEEDED";
5042
- FAILED: "FAILED";
5043
5042
  PENDING_UPLOAD: "PENDING_UPLOAD";
5044
5043
  PENDING: "PENDING";
5045
5044
  DISPATCHED: "DISPATCHED";
5045
+ SUCCEEDED: "SUCCEEDED";
5046
+ FAILED: "FAILED";
5046
5047
  EXPIRED: "EXPIRED";
5047
5048
  }>;
5048
5049
  storageUpload: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
@@ -5762,9 +5763,9 @@ declare const DaemonHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
5762
5763
  value: z$2.ZodNumber;
5763
5764
  }, z$2.core.$strip>, z$2.ZodNull]>>;
5764
5765
  kind: z$2.ZodEnum<{
5765
- daemon: "daemon";
5766
5766
  container: "container";
5767
5767
  process: "process";
5768
+ daemon: "daemon";
5768
5769
  }>;
5769
5770
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
5770
5771
  unit: z$2.ZodEnum<{
@@ -6023,6 +6024,7 @@ declare const DevStatusSchema: z$2.ZodObject<{
6023
6024
  "preflights-failed": "preflights-failed";
6024
6025
  "initial-setup": "initial-setup";
6025
6026
  "initial-setup-failed": "initial-setup-failed";
6027
+ "waiting-for-machines": "waiting-for-machines";
6026
6028
  "provisioning-failed": "provisioning-failed";
6027
6029
  "update-pending": "update-pending";
6028
6030
  "delete-pending": "delete-pending";
@@ -7812,8 +7814,8 @@ declare const HorizonContainerHeartbeatDataSchema: z$2.ZodObject<{
7812
7814
  }, z$2.core.$strip>;
7813
7815
  schedulingMode: z$2.ZodEnum<{
7814
7816
  stateful: "stateful";
7815
- replicated: "replicated";
7816
7817
  daemon: "daemon";
7818
+ replicated: "replicated";
7817
7819
  }>;
7818
7820
  status: z$2.ZodObject<{
7819
7821
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -9343,9 +9345,9 @@ declare const LocalContainerHeartbeatDataSchema: z$2.ZodObject<{
9343
9345
  value: z$2.ZodNumber;
9344
9346
  }, z$2.core.$strip>, z$2.ZodNull]>>;
9345
9347
  kind: z$2.ZodEnum<{
9346
- daemon: "daemon";
9347
9348
  container: "container";
9348
9349
  process: "process";
9350
+ daemon: "daemon";
9349
9351
  }>;
9350
9352
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
9351
9353
  unit: z$2.ZodEnum<{
@@ -9468,9 +9470,9 @@ declare const LocalDaemonHeartbeatDataSchema: z$2.ZodObject<{
9468
9470
  value: z$2.ZodNumber;
9469
9471
  }, z$2.core.$strip>, z$2.ZodNull]>>;
9470
9472
  kind: z$2.ZodEnum<{
9471
- daemon: "daemon";
9472
9473
  container: "container";
9473
9474
  process: "process";
9475
+ daemon: "daemon";
9474
9476
  }>;
9475
9477
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
9476
9478
  unit: z$2.ZodEnum<{
@@ -9679,9 +9681,9 @@ type LocalRuntimeEventSubject = z$2.infer<typeof LocalRuntimeEventSubjectSchema>
9679
9681
  //#endregion
9680
9682
  //#region src/generated/zod/local-runtime-unit-kind-schema.d.ts
9681
9683
  declare const LocalRuntimeUnitKindSchema: z$2.ZodEnum<{
9682
- daemon: "daemon";
9683
9684
  container: "container";
9684
9685
  process: "process";
9686
+ daemon: "daemon";
9685
9687
  }>;
9686
9688
  type LocalRuntimeUnitKind = z$2.infer<typeof LocalRuntimeUnitKindSchema>;
9687
9689
  //#endregion
@@ -9699,9 +9701,9 @@ declare const LocalRuntimeUnitStatusSchema: z$2.ZodObject<{
9699
9701
  value: z$2.ZodNumber;
9700
9702
  }, z$2.core.$strip>, z$2.ZodNull]>>;
9701
9703
  kind: z$2.ZodEnum<{
9702
- daemon: "daemon";
9703
9704
  container: "container";
9704
9705
  process: "process";
9706
+ daemon: "daemon";
9705
9707
  }>;
9706
9708
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
9707
9709
  unit: z$2.ZodEnum<{
@@ -9924,9 +9926,9 @@ declare const LocalWorkerHeartbeatDataSchema: z$2.ZodObject<{
9924
9926
  value: z$2.ZodNumber;
9925
9927
  }, z$2.core.$strip>, z$2.ZodNull]>>;
9926
9928
  kind: z$2.ZodEnum<{
9927
- daemon: "daemon";
9928
9929
  container: "container";
9929
9930
  process: "process";
9931
+ daemon: "daemon";
9930
9932
  }>;
9931
9933
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
9932
9934
  unit: z$2.ZodEnum<{
@@ -12395,9 +12397,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
12395
12397
  value: z$2.ZodNumber;
12396
12398
  }, z$2.core.$strip>, z$2.ZodNull]>>;
12397
12399
  kind: z$2.ZodEnum<{
12398
- daemon: "daemon";
12399
12400
  container: "container";
12400
12401
  process: "process";
12402
+ daemon: "daemon";
12401
12403
  }>;
12402
12404
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
12403
12405
  unit: z$2.ZodEnum<{
@@ -12567,8 +12569,8 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
12567
12569
  }, z$2.core.$strip>;
12568
12570
  schedulingMode: z$2.ZodEnum<{
12569
12571
  stateful: "stateful";
12570
- replicated: "replicated";
12571
12572
  daemon: "daemon";
12573
+ replicated: "replicated";
12572
12574
  }>;
12573
12575
  status: z$2.ZodObject<{
12574
12576
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -12791,9 +12793,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
12791
12793
  value: z$2.ZodNumber;
12792
12794
  }, z$2.core.$strip>, z$2.ZodNull]>>;
12793
12795
  kind: z$2.ZodEnum<{
12794
- daemon: "daemon";
12795
12796
  container: "container";
12796
12797
  process: "process";
12798
+ daemon: "daemon";
12797
12799
  }>;
12798
12800
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
12799
12801
  unit: z$2.ZodEnum<{
@@ -13557,9 +13559,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
13557
13559
  value: z$2.ZodNumber;
13558
13560
  }, z$2.core.$strip>, z$2.ZodNull]>>;
13559
13561
  kind: z$2.ZodEnum<{
13560
- daemon: "daemon";
13561
13562
  container: "container";
13562
13563
  process: "process";
13564
+ daemon: "daemon";
13563
13565
  }>;
13564
13566
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
13565
13567
  unit: z$2.ZodEnum<{
@@ -17519,9 +17521,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
17519
17521
  value: z$2.ZodNumber;
17520
17522
  }, z$2.core.$strip>, z$2.ZodNull]>>;
17521
17523
  kind: z$2.ZodEnum<{
17522
- daemon: "daemon";
17523
17524
  container: "container";
17524
17525
  process: "process";
17526
+ daemon: "daemon";
17525
17527
  }>;
17526
17528
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
17527
17529
  unit: z$2.ZodEnum<{
@@ -17691,8 +17693,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
17691
17693
  }, z$2.core.$strip>;
17692
17694
  schedulingMode: z$2.ZodEnum<{
17693
17695
  stateful: "stateful";
17694
- replicated: "replicated";
17695
17696
  daemon: "daemon";
17697
+ replicated: "replicated";
17696
17698
  }>;
17697
17699
  status: z$2.ZodObject<{
17698
17700
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -17915,9 +17917,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
17915
17917
  value: z$2.ZodNumber;
17916
17918
  }, z$2.core.$strip>, z$2.ZodNull]>>;
17917
17919
  kind: z$2.ZodEnum<{
17918
- daemon: "daemon";
17919
17920
  container: "container";
17920
17921
  process: "process";
17922
+ daemon: "daemon";
17921
17923
  }>;
17922
17924
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
17923
17925
  unit: z$2.ZodEnum<{
@@ -18681,9 +18683,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
18681
18683
  value: z$2.ZodNumber;
18682
18684
  }, z$2.core.$strip>, z$2.ZodNull]>>;
18683
18685
  kind: z$2.ZodEnum<{
18684
- daemon: "daemon";
18685
18686
  container: "container";
18686
18687
  process: "process";
18688
+ daemon: "daemon";
18687
18689
  }>;
18688
18690
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
18689
18691
  unit: z$2.ZodEnum<{
@@ -24112,11 +24114,11 @@ type UploadCompleteRequest = z$2.infer<typeof UploadCompleteRequestSchema>;
24112
24114
  declare const UploadCompleteResponseSchema: z$2.ZodObject<{
24113
24115
  commandId: z$2.ZodString;
24114
24116
  state: z$2.ZodEnum<{
24115
- SUCCEEDED: "SUCCEEDED";
24116
- FAILED: "FAILED";
24117
24117
  PENDING_UPLOAD: "PENDING_UPLOAD";
24118
24118
  PENDING: "PENDING";
24119
24119
  DISPATCHED: "DISPATCHED";
24120
+ SUCCEEDED: "SUCCEEDED";
24121
+ FAILED: "FAILED";
24120
24122
  EXPIRED: "EXPIRED";
24121
24123
  }>;
24122
24124
  }, z$2.core.$strip>;
@@ -24876,9 +24878,9 @@ declare const WorkerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
24876
24878
  value: z$2.ZodNumber;
24877
24879
  }, z$2.core.$strip>, z$2.ZodNull]>>;
24878
24880
  kind: z$2.ZodEnum<{
24879
- daemon: "daemon";
24880
24881
  container: "container";
24881
24882
  process: "process";
24883
+ daemon: "daemon";
24882
24884
  }>;
24883
24885
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
24884
24886
  unit: z$2.ZodEnum<{
@@ -26759,6 +26761,8 @@ declare class AlienError<TContext extends z.ZodTypeAny = z.ZodAny> extends Error
26759
26761
  readonly httpStatusCode: number;
26760
26762
  /** Type-safe context data specific to this error */
26761
26763
  readonly context?: z.infer<TContext>;
26764
+ /** Optional human-facing remediation hint */
26765
+ readonly hint?: string | null;
26762
26766
  /** Source error that caused this error (for chaining) */
26763
26767
  readonly source?: AlienError<any>;
26764
26768
  constructor(input: AlienErrorDefinition<TContext> | (AlienError$1 & {