@alienplatform/core 1.5.1 → 1.7.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @alienplatform/core@1.5.1 build /home/runner/work/alien/alien/packages/core
2
+ > @alienplatform/core@1.7.1 build /home/runner/work/alien/alien/packages/core
3
3
  > tsdown
4
4
 
5
5
  ℹ tsdown v0.13.5 powered by rolldown v1.0.3
@@ -10,21 +10,20 @@
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  65.87 kB │ gzip: 15.09 kB
13
+ ℹ dist/index.js  65.86 kB │ gzip: 15.09 kB
14
14
  ℹ dist/tests/index.js  0.26 kB │ gzip: 0.20 kB
15
- ℹ dist/stack.js.map 433.18 kB │ gzip: 61.38 kB
16
- ℹ dist/stack.js 248.16 kB │ gzip: 39.65 kB
17
- ℹ dist/index.d.ts.map 130.80 kB │ gzip: 21.99 kB
18
- ℹ dist/index.js.map  80.82 kB │ gzip: 17.13 kB
15
+ ℹ dist/stack.js.map 433.53 kB │ gzip: 61.48 kB
16
+ ℹ dist/stack.js 248.41 kB │ gzip: 39.75 kB
17
+ ℹ dist/index.d.ts.map 130.87 kB │ gzip: 22.03 kB
18
+ ℹ dist/index.js.map  80.82 kB │ gzip: 17.14 kB
19
19
  ℹ dist/tests/index.js.map  0.42 kB │ gzip: 0.31 kB
20
20
  ℹ dist/tests/index.d.ts.map  0.18 kB │ gzip: 0.15 kB
21
- ℹ dist/index.d.ts 953.36 kB │ gzip: 71.44 kB
22
- ℹ dist/tests/index.d.ts  1.44 kB │ gzip: 0.51 kB
23
- ℹ 10 files, total: 1914.49 kB
21
+ ℹ dist/index.d.ts 953.92 kB │ gzip: 71.60 kB
22
+ ℹ dist/tests/index.d.ts  1.47 kB │ gzip: 0.52 kB
23
+ ℹ 10 files, total: 1915.75 kB
24
24
  [PLUGIN_TIMINGS] Your build spent significant time in plugins. Here is a breakdown:
25
- - rolldown-plugin-dts:generate (40%)
26
- - rolldown-plugin-dts:fake-js (39%)
27
- - rolldown-plugin-dts:resolver (17%)
25
+ - rolldown-plugin-dts:generate (46%)
26
+ - rolldown-plugin-dts:fake-js (36%)
28
27
  See https://rolldown.rs/options/checks#plugintimings for more details.
29
28
 
30
- ✔ Build complete in 6142ms
29
+ ✔ Build complete in 7022ms
package/dist/index.d.ts CHANGED
@@ -35,13 +35,16 @@ declare const AgentStatusSchema: z$2.ZodObject<{
35
35
  "update-failed": "update-failed";
36
36
  deleting: "deleting";
37
37
  "delete-failed": "delete-failed";
38
+ "teardown-required": "teardown-required";
38
39
  deleted: "deleted";
39
40
  "refresh-failed": "refresh-failed";
41
+ "preflights-failed": "preflights-failed";
40
42
  "initial-setup": "initial-setup";
41
43
  "initial-setup-failed": "initial-setup-failed";
42
44
  "provisioning-failed": "provisioning-failed";
43
45
  "update-pending": "update-pending";
44
46
  "delete-pending": "delete-pending";
47
+ "teardown-failed": "teardown-failed";
45
48
  }>;
46
49
  }, z$2.core.$strip>;
47
50
  type AgentStatus = z$2.infer<typeof AgentStatusSchema>;
@@ -201,6 +204,7 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
201
204
  "update-failed": "update-failed";
202
205
  deleting: "deleting";
203
206
  "delete-failed": "delete-failed";
207
+ "teardown-required": "teardown-required";
204
208
  deleted: "deleted";
205
209
  "refresh-failed": "refresh-failed";
206
210
  }>;
@@ -3221,10 +3225,10 @@ type BuildOutputs = z$2.infer<typeof BuildOutputsSchema>;
3221
3225
  * @description Status of a build execution.
3222
3226
  */
3223
3227
  declare const BuildStatusSchema: z$2.ZodEnum<{
3224
- QUEUED: "QUEUED";
3225
- RUNNING: "RUNNING";
3226
3228
  SUCCEEDED: "SUCCEEDED";
3227
3229
  FAILED: "FAILED";
3230
+ QUEUED: "QUEUED";
3231
+ RUNNING: "RUNNING";
3228
3232
  CANCELLED: "CANCELLED";
3229
3233
  TIMED_OUT: "TIMED_OUT";
3230
3234
  }>;
@@ -3292,11 +3296,11 @@ type CommandResponse = z$2.infer<typeof CommandResponseSchema>;
3292
3296
  * @description Command states in the Commands protocol lifecycle
3293
3297
  */
3294
3298
  declare const CommandStateSchema: z$2.ZodEnum<{
3295
- SUCCEEDED: "SUCCEEDED";
3296
- FAILED: "FAILED";
3297
3299
  PENDING_UPLOAD: "PENDING_UPLOAD";
3298
3300
  PENDING: "PENDING";
3299
3301
  DISPATCHED: "DISPATCHED";
3302
+ SUCCEEDED: "SUCCEEDED";
3303
+ FAILED: "FAILED";
3300
3304
  EXPIRED: "EXPIRED";
3301
3305
  }>;
3302
3306
  type CommandState = z$2.infer<typeof CommandStateSchema>;
@@ -3360,11 +3364,11 @@ declare const CommandStatusResponseSchema: z$2.ZodObject<{
3360
3364
  }>;
3361
3365
  }, z$2.core.$strip>]>, z$2.ZodNull]>>;
3362
3366
  state: z$2.ZodEnum<{
3363
- SUCCEEDED: "SUCCEEDED";
3364
- FAILED: "FAILED";
3365
3367
  PENDING_UPLOAD: "PENDING_UPLOAD";
3366
3368
  PENDING: "PENDING";
3367
3369
  DISPATCHED: "DISPATCHED";
3370
+ SUCCEEDED: "SUCCEEDED";
3371
+ FAILED: "FAILED";
3368
3372
  EXPIRED: "EXPIRED";
3369
3373
  }>;
3370
3374
  }, z$2.core.$strip>;
@@ -4058,8 +4062,8 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
4058
4062
  }, z$2.core.$strip>;
4059
4063
  schedulingMode: z$2.ZodEnum<{
4060
4064
  stateful: "stateful";
4061
- replicated: "replicated";
4062
4065
  daemon: "daemon";
4066
+ replicated: "replicated";
4063
4067
  }>;
4064
4068
  status: z$2.ZodObject<{
4065
4069
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -4282,9 +4286,9 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
4282
4286
  value: z$2.ZodNumber;
4283
4287
  }, z$2.core.$strip>, z$2.ZodNull]>>;
4284
4288
  kind: z$2.ZodEnum<{
4285
- daemon: "daemon";
4286
4289
  container: "container";
4287
4290
  process: "process";
4291
+ daemon: "daemon";
4288
4292
  }>;
4289
4293
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
4290
4294
  unit: z$2.ZodEnum<{
@@ -4599,11 +4603,11 @@ declare const CreateCommandResponseSchema: z$2.ZodObject<{
4599
4603
  inlineAllowedUpTo: z$2.ZodInt;
4600
4604
  next: z$2.ZodString;
4601
4605
  state: z$2.ZodEnum<{
4602
- SUCCEEDED: "SUCCEEDED";
4603
- FAILED: "FAILED";
4604
4606
  PENDING_UPLOAD: "PENDING_UPLOAD";
4605
4607
  PENDING: "PENDING";
4606
4608
  DISPATCHED: "DISPATCHED";
4609
+ SUCCEEDED: "SUCCEEDED";
4610
+ FAILED: "FAILED";
4607
4611
  EXPIRED: "EXPIRED";
4608
4612
  }>;
4609
4613
  storageUpload: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
@@ -5203,9 +5207,9 @@ declare const DaemonHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
5203
5207
  value: z$2.ZodNumber;
5204
5208
  }, z$2.core.$strip>, z$2.ZodNull]>>;
5205
5209
  kind: z$2.ZodEnum<{
5206
- daemon: "daemon";
5207
5210
  container: "container";
5208
5211
  process: "process";
5212
+ daemon: "daemon";
5209
5213
  }>;
5210
5214
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
5211
5215
  unit: z$2.ZodEnum<{
@@ -5406,13 +5410,16 @@ declare const DevStatusSchema: z$2.ZodObject<{
5406
5410
  "update-failed": "update-failed";
5407
5411
  deleting: "deleting";
5408
5412
  "delete-failed": "delete-failed";
5413
+ "teardown-required": "teardown-required";
5409
5414
  deleted: "deleted";
5410
5415
  "refresh-failed": "refresh-failed";
5416
+ "preflights-failed": "preflights-failed";
5411
5417
  "initial-setup": "initial-setup";
5412
5418
  "initial-setup-failed": "initial-setup-failed";
5413
5419
  "provisioning-failed": "provisioning-failed";
5414
5420
  "update-pending": "update-pending";
5415
5421
  "delete-pending": "delete-pending";
5422
+ "teardown-failed": "teardown-failed";
5416
5423
  }>;
5417
5424
  }, z$2.core.$strip>>>>;
5418
5425
  apiUrl: z$2.ZodString;
@@ -5678,6 +5685,7 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
5678
5685
  "update-failed": "update-failed";
5679
5686
  deleting: "deleting";
5680
5687
  "delete-failed": "delete-failed";
5688
+ "teardown-required": "teardown-required";
5681
5689
  deleted: "deleted";
5682
5690
  "refresh-failed": "refresh-failed";
5683
5691
  }>;
@@ -5947,6 +5955,7 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
5947
5955
  "update-failed": "update-failed";
5948
5956
  deleting: "deleting";
5949
5957
  "delete-failed": "delete-failed";
5958
+ "teardown-required": "teardown-required";
5950
5959
  deleted: "deleted";
5951
5960
  "refresh-failed": "refresh-failed";
5952
5961
  }>;
@@ -7171,8 +7180,8 @@ declare const HorizonContainerHeartbeatDataSchema: z$2.ZodObject<{
7171
7180
  }, z$2.core.$strip>;
7172
7181
  schedulingMode: z$2.ZodEnum<{
7173
7182
  stateful: "stateful";
7174
- replicated: "replicated";
7175
7183
  daemon: "daemon";
7184
+ replicated: "replicated";
7176
7185
  }>;
7177
7186
  status: z$2.ZodObject<{
7178
7187
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -8712,9 +8721,9 @@ declare const LocalContainerHeartbeatDataSchema: z$2.ZodObject<{
8712
8721
  value: z$2.ZodNumber;
8713
8722
  }, z$2.core.$strip>, z$2.ZodNull]>>;
8714
8723
  kind: z$2.ZodEnum<{
8715
- daemon: "daemon";
8716
8724
  container: "container";
8717
8725
  process: "process";
8726
+ daemon: "daemon";
8718
8727
  }>;
8719
8728
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
8720
8729
  unit: z$2.ZodEnum<{
@@ -8837,9 +8846,9 @@ declare const LocalDaemonHeartbeatDataSchema: z$2.ZodObject<{
8837
8846
  value: z$2.ZodNumber;
8838
8847
  }, z$2.core.$strip>, z$2.ZodNull]>>;
8839
8848
  kind: z$2.ZodEnum<{
8840
- daemon: "daemon";
8841
8849
  container: "container";
8842
8850
  process: "process";
8851
+ daemon: "daemon";
8843
8852
  }>;
8844
8853
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
8845
8854
  unit: z$2.ZodEnum<{
@@ -9048,9 +9057,9 @@ type LocalRuntimeEventSubject = z$2.infer<typeof LocalRuntimeEventSubjectSchema>
9048
9057
  //#endregion
9049
9058
  //#region src/generated/zod/local-runtime-unit-kind-schema.d.ts
9050
9059
  declare const LocalRuntimeUnitKindSchema: z$2.ZodEnum<{
9051
- daemon: "daemon";
9052
9060
  container: "container";
9053
9061
  process: "process";
9062
+ daemon: "daemon";
9054
9063
  }>;
9055
9064
  type LocalRuntimeUnitKind = z$2.infer<typeof LocalRuntimeUnitKindSchema>;
9056
9065
  //#endregion
@@ -9068,9 +9077,9 @@ declare const LocalRuntimeUnitStatusSchema: z$2.ZodObject<{
9068
9077
  value: z$2.ZodNumber;
9069
9078
  }, z$2.core.$strip>, z$2.ZodNull]>>;
9070
9079
  kind: z$2.ZodEnum<{
9071
- daemon: "daemon";
9072
9080
  container: "container";
9073
9081
  process: "process";
9082
+ daemon: "daemon";
9074
9083
  }>;
9075
9084
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
9076
9085
  unit: z$2.ZodEnum<{
@@ -9293,9 +9302,9 @@ declare const LocalWorkerHeartbeatDataSchema: z$2.ZodObject<{
9293
9302
  value: z$2.ZodNumber;
9294
9303
  }, z$2.core.$strip>, z$2.ZodNull]>>;
9295
9304
  kind: z$2.ZodEnum<{
9296
- daemon: "daemon";
9297
9305
  container: "container";
9298
9306
  process: "process";
9307
+ daemon: "daemon";
9299
9308
  }>;
9300
9309
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
9301
9310
  unit: z$2.ZodEnum<{
@@ -11532,9 +11541,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
11532
11541
  value: z$2.ZodNumber;
11533
11542
  }, z$2.core.$strip>, z$2.ZodNull]>>;
11534
11543
  kind: z$2.ZodEnum<{
11535
- daemon: "daemon";
11536
11544
  container: "container";
11537
11545
  process: "process";
11546
+ daemon: "daemon";
11538
11547
  }>;
11539
11548
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
11540
11549
  unit: z$2.ZodEnum<{
@@ -11704,8 +11713,8 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
11704
11713
  }, z$2.core.$strip>;
11705
11714
  schedulingMode: z$2.ZodEnum<{
11706
11715
  stateful: "stateful";
11707
- replicated: "replicated";
11708
11716
  daemon: "daemon";
11717
+ replicated: "replicated";
11709
11718
  }>;
11710
11719
  status: z$2.ZodObject<{
11711
11720
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -11928,9 +11937,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
11928
11937
  value: z$2.ZodNumber;
11929
11938
  }, z$2.core.$strip>, z$2.ZodNull]>>;
11930
11939
  kind: z$2.ZodEnum<{
11931
- daemon: "daemon";
11932
11940
  container: "container";
11933
11941
  process: "process";
11942
+ daemon: "daemon";
11934
11943
  }>;
11935
11944
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
11936
11945
  unit: z$2.ZodEnum<{
@@ -12574,9 +12583,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
12574
12583
  value: z$2.ZodNumber;
12575
12584
  }, z$2.core.$strip>, z$2.ZodNull]>>;
12576
12585
  kind: z$2.ZodEnum<{
12577
- daemon: "daemon";
12578
12586
  container: "container";
12579
12587
  process: "process";
12588
+ daemon: "daemon";
12580
12589
  }>;
12581
12590
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
12582
12591
  unit: z$2.ZodEnum<{
@@ -16121,9 +16130,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
16121
16130
  value: z$2.ZodNumber;
16122
16131
  }, z$2.core.$strip>, z$2.ZodNull]>>;
16123
16132
  kind: z$2.ZodEnum<{
16124
- daemon: "daemon";
16125
16133
  container: "container";
16126
16134
  process: "process";
16135
+ daemon: "daemon";
16127
16136
  }>;
16128
16137
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
16129
16138
  unit: z$2.ZodEnum<{
@@ -16293,8 +16302,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
16293
16302
  }, z$2.core.$strip>;
16294
16303
  schedulingMode: z$2.ZodEnum<{
16295
16304
  stateful: "stateful";
16296
- replicated: "replicated";
16297
16305
  daemon: "daemon";
16306
+ replicated: "replicated";
16298
16307
  }>;
16299
16308
  status: z$2.ZodObject<{
16300
16309
  collectionIssues: z$2.ZodArray<z$2.ZodObject<{
@@ -16517,9 +16526,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
16517
16526
  value: z$2.ZodNumber;
16518
16527
  }, z$2.core.$strip>, z$2.ZodNull]>>;
16519
16528
  kind: z$2.ZodEnum<{
16520
- daemon: "daemon";
16521
16529
  container: "container";
16522
16530
  process: "process";
16531
+ daemon: "daemon";
16523
16532
  }>;
16524
16533
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
16525
16534
  unit: z$2.ZodEnum<{
@@ -17163,9 +17172,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
17163
17172
  value: z$2.ZodNumber;
17164
17173
  }, z$2.core.$strip>, z$2.ZodNull]>>;
17165
17174
  kind: z$2.ZodEnum<{
17166
- daemon: "daemon";
17167
17175
  container: "container";
17168
17176
  process: "process";
17177
+ daemon: "daemon";
17169
17178
  }>;
17170
17179
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
17171
17180
  unit: z$2.ZodEnum<{
@@ -20107,6 +20116,7 @@ declare const ResourceStatusSchema: z$2.ZodEnum<{
20107
20116
  "update-failed": "update-failed";
20108
20117
  deleting: "deleting";
20109
20118
  "delete-failed": "delete-failed";
20119
+ "teardown-required": "teardown-required";
20110
20120
  deleted: "deleted";
20111
20121
  "refresh-failed": "refresh-failed";
20112
20122
  }>;
@@ -20734,6 +20744,7 @@ declare const StackResourceStateSchema: z$2.ZodObject<{
20734
20744
  "update-failed": "update-failed";
20735
20745
  deleting: "deleting";
20736
20746
  "delete-failed": "delete-failed";
20747
+ "teardown-required": "teardown-required";
20737
20748
  deleted: "deleted";
20738
20749
  "refresh-failed": "refresh-failed";
20739
20750
  }>;
@@ -21372,6 +21383,7 @@ declare const StackStateSchema: z$2.ZodObject<{
21372
21383
  "update-failed": "update-failed";
21373
21384
  deleting: "deleting";
21374
21385
  "delete-failed": "delete-failed";
21386
+ "teardown-required": "teardown-required";
21375
21387
  deleted: "deleted";
21376
21388
  "refresh-failed": "refresh-failed";
21377
21389
  }>;
@@ -21909,11 +21921,11 @@ type UploadCompleteRequest = z$2.infer<typeof UploadCompleteRequestSchema>;
21909
21921
  declare const UploadCompleteResponseSchema: z$2.ZodObject<{
21910
21922
  commandId: z$2.ZodString;
21911
21923
  state: z$2.ZodEnum<{
21912
- SUCCEEDED: "SUCCEEDED";
21913
- FAILED: "FAILED";
21914
21924
  PENDING_UPLOAD: "PENDING_UPLOAD";
21915
21925
  PENDING: "PENDING";
21916
21926
  DISPATCHED: "DISPATCHED";
21927
+ SUCCEEDED: "SUCCEEDED";
21928
+ FAILED: "FAILED";
21917
21929
  EXPIRED: "EXPIRED";
21918
21930
  }>;
21919
21931
  }, z$2.core.$strip>;
@@ -22673,9 +22685,9 @@ declare const WorkerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
22673
22685
  value: z$2.ZodNumber;
22674
22686
  }, z$2.core.$strip>, z$2.ZodNull]>>;
22675
22687
  kind: z$2.ZodEnum<{
22676
- daemon: "daemon";
22677
22688
  container: "container";
22678
22689
  process: "process";
22690
+ daemon: "daemon";
22679
22691
  }>;
22680
22692
  memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
22681
22693
  unit: z$2.ZodEnum<{