@alienplatform/core 1.11.2 → 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.2 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:generate (42%)
26
- - rolldown-plugin-dts:fake-js (34%)
27
- - rolldown-plugin-dts:resolver (21%)
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 5598ms
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";
@@ -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<{
@@ -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<{
@@ -22670,8 +22672,8 @@ declare const StackInputDefinitionSchema: z$2.ZodObject<{
22670
22672
  name: z$2.ZodString;
22671
22673
  targetResources: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>>;
22672
22674
  type: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodEnum<{
22673
- secret: "secret";
22674
22675
  plain: "plain";
22676
+ secret: "secret";
22675
22677
  }>, z$2.ZodNull]>>;
22676
22678
  }, z$2.core.$strip>>>;
22677
22679
  id: z$2.ZodString;
@@ -22680,9 +22682,9 @@ declare const StackInputDefinitionSchema: z$2.ZodObject<{
22680
22682
  number: "number";
22681
22683
  boolean: "boolean";
22682
22684
  enum: "enum";
22685
+ stringList: "stringList";
22683
22686
  secret: "secret";
22684
22687
  integer: "integer";
22685
- stringList: "stringList";
22686
22688
  }>;
22687
22689
  label: z$2.ZodString;
22688
22690
  placeholder: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
@@ -22722,8 +22724,8 @@ declare const StackInputEnvironmentMappingSchema: z$2.ZodObject<{
22722
22724
  name: z$2.ZodString;
22723
22725
  targetResources: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>>;
22724
22726
  type: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodEnum<{
22725
- secret: "secret";
22726
22727
  plain: "plain";
22728
+ secret: "secret";
22727
22729
  }>, z$2.ZodNull]>>;
22728
22730
  }, z$2.core.$strip>;
22729
22731
  type StackInputEnvironmentMapping = z$2.infer<typeof StackInputEnvironmentMappingSchema>;
@@ -22733,8 +22735,8 @@ type StackInputEnvironmentMapping = z$2.infer<typeof StackInputEnvironmentMappin
22733
22735
  * @description Environment variable handling for a stack input mapping.
22734
22736
  */
22735
22737
  declare const StackInputEnvironmentVariableTypeSchema: z$2.ZodEnum<{
22736
- secret: "secret";
22737
22738
  plain: "plain";
22739
+ secret: "secret";
22738
22740
  }>;
22739
22741
  type StackInputEnvironmentVariableType = z$2.infer<typeof StackInputEnvironmentVariableTypeSchema>;
22740
22742
  //#endregion
@@ -22747,9 +22749,9 @@ declare const StackInputKindSchema: z$2.ZodEnum<{
22747
22749
  number: "number";
22748
22750
  boolean: "boolean";
22749
22751
  enum: "enum";
22752
+ stringList: "stringList";
22750
22753
  secret: "secret";
22751
22754
  integer: "integer";
22752
- stringList: "stringList";
22753
22755
  }>;
22754
22756
  type StackInputKind = z$2.infer<typeof StackInputKindSchema>;
22755
22757
  //#endregion
@@ -22877,8 +22879,8 @@ declare const StackSchema: z$2.ZodObject<{
22877
22879
  name: z$2.ZodString;
22878
22880
  targetResources: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>>;
22879
22881
  type: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodEnum<{
22880
- secret: "secret";
22881
22882
  plain: "plain";
22883
+ secret: "secret";
22882
22884
  }>, z$2.ZodNull]>>;
22883
22885
  }, z$2.core.$strip>>>;
22884
22886
  id: z$2.ZodString;
@@ -22887,9 +22889,9 @@ declare const StackSchema: z$2.ZodObject<{
22887
22889
  number: "number";
22888
22890
  boolean: "boolean";
22889
22891
  enum: "enum";
22892
+ stringList: "stringList";
22890
22893
  secret: "secret";
22891
22894
  integer: "integer";
22892
- stringList: "stringList";
22893
22895
  }>;
22894
22896
  label: z$2.ZodString;
22895
22897
  placeholder: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
@@ -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 & {