@zgeoff/imp-client 0.16.0 → 0.18.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.
package/dist/index.d.ts CHANGED
@@ -363,6 +363,20 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
363
363
  reserveMib: z.ZodOptional<z.ZodInt>;
364
364
  neededMib: z.ZodOptional<z.ZodInt>;
365
365
  protectedCount: z.ZodOptional<z.ZodInt>;
366
+ }, z.core.$strip>, z.ZodObject<{
367
+ v: z.ZodLiteral<1>;
368
+ at: z.ZodDate;
369
+ ev: z.ZodLiteral<"AgentExec">;
370
+ name: z.ZodString;
371
+ actor: z.ZodEnum<{
372
+ dashboard: "dashboard";
373
+ ssh: "ssh";
374
+ tailnet: "tailnet";
375
+ token: "token";
376
+ }>;
377
+ actorName: z.ZodString;
378
+ tty: z.ZodBoolean;
379
+ command: z.ZodString;
366
380
  }, z.core.$strip>], "ev">;
367
381
  type ImpEvent = z.infer<typeof ImpEventSchema>;
368
382
  //#endregion
@@ -568,7 +582,27 @@ declare const impContract: {
568
582
  sleeping: "sleeping";
569
583
  stopped: "stopped";
570
584
  }>>;
571
- }, z.core.$strip>;
585
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
586
+ bootId: z.ZodString;
587
+ cause: z.ZodEnum<{
588
+ recovery: "recovery";
589
+ restore: "restore";
590
+ start: "start";
591
+ unknown: "unknown";
592
+ wake_fallback: "wake_fallback";
593
+ watchdog: "watchdog";
594
+ }>;
595
+ at: z.ZodISODateTime;
596
+ }, z.core.$strip>>>>>;
597
+ }, z.core.$strip>;
598
+ };
599
+ INVALID_RESUME: {
600
+ readonly message: "The resume offset is past the end of the output";
601
+ readonly status: 409;
602
+ readonly data: z.ZodReadonly<z.ZodObject<{
603
+ end: z.ZodInt;
604
+ bufferStart: z.ZodInt;
605
+ }, z.core.$strip>>;
572
606
  };
573
607
  DISK_FULL: {
574
608
  readonly message: "Not enough free disk on the host";
@@ -777,7 +811,27 @@ declare const impContract: {
777
811
  sleeping: "sleeping";
778
812
  stopped: "stopped";
779
813
  }>>;
780
- }, z.core.$strip>;
814
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
815
+ bootId: z.ZodString;
816
+ cause: z.ZodEnum<{
817
+ recovery: "recovery";
818
+ restore: "restore";
819
+ start: "start";
820
+ unknown: "unknown";
821
+ wake_fallback: "wake_fallback";
822
+ watchdog: "watchdog";
823
+ }>;
824
+ at: z.ZodISODateTime;
825
+ }, z.core.$strip>>>>>;
826
+ }, z.core.$strip>;
827
+ };
828
+ INVALID_RESUME: {
829
+ readonly message: "The resume offset is past the end of the output";
830
+ readonly status: 409;
831
+ readonly data: z.ZodReadonly<z.ZodObject<{
832
+ end: z.ZodInt;
833
+ bufferStart: z.ZodInt;
834
+ }, z.core.$strip>>;
781
835
  };
782
836
  DISK_FULL: {
783
837
  readonly message: "Not enough free disk on the host";
@@ -988,7 +1042,27 @@ declare const impContract: {
988
1042
  sleeping: "sleeping";
989
1043
  stopped: "stopped";
990
1044
  }>>;
991
- }, z.core.$strip>;
1045
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1046
+ bootId: z.ZodString;
1047
+ cause: z.ZodEnum<{
1048
+ recovery: "recovery";
1049
+ restore: "restore";
1050
+ start: "start";
1051
+ unknown: "unknown";
1052
+ wake_fallback: "wake_fallback";
1053
+ watchdog: "watchdog";
1054
+ }>;
1055
+ at: z.ZodISODateTime;
1056
+ }, z.core.$strip>>>>>;
1057
+ }, z.core.$strip>;
1058
+ };
1059
+ INVALID_RESUME: {
1060
+ readonly message: "The resume offset is past the end of the output";
1061
+ readonly status: 409;
1062
+ readonly data: z.ZodReadonly<z.ZodObject<{
1063
+ end: z.ZodInt;
1064
+ bufferStart: z.ZodInt;
1065
+ }, z.core.$strip>>;
992
1066
  };
993
1067
  DISK_FULL: {
994
1068
  readonly message: "Not enough free disk on the host";
@@ -1116,7 +1190,27 @@ declare const impContract: {
1116
1190
  sleeping: "sleeping";
1117
1191
  stopped: "stopped";
1118
1192
  }>>;
1119
- }, z.core.$strip>;
1193
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1194
+ bootId: z.ZodString;
1195
+ cause: z.ZodEnum<{
1196
+ recovery: "recovery";
1197
+ restore: "restore";
1198
+ start: "start";
1199
+ unknown: "unknown";
1200
+ wake_fallback: "wake_fallback";
1201
+ watchdog: "watchdog";
1202
+ }>;
1203
+ at: z.ZodISODateTime;
1204
+ }, z.core.$strip>>>>>;
1205
+ }, z.core.$strip>;
1206
+ };
1207
+ INVALID_RESUME: {
1208
+ readonly message: "The resume offset is past the end of the output";
1209
+ readonly status: 409;
1210
+ readonly data: z.ZodReadonly<z.ZodObject<{
1211
+ end: z.ZodInt;
1212
+ bufferStart: z.ZodInt;
1213
+ }, z.core.$strip>>;
1120
1214
  };
1121
1215
  DISK_FULL: {
1122
1216
  readonly message: "Not enough free disk on the host";
@@ -1327,7 +1421,27 @@ declare const impContract: {
1327
1421
  sleeping: "sleeping";
1328
1422
  stopped: "stopped";
1329
1423
  }>>;
1330
- }, z.core.$strip>;
1424
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1425
+ bootId: z.ZodString;
1426
+ cause: z.ZodEnum<{
1427
+ recovery: "recovery";
1428
+ restore: "restore";
1429
+ start: "start";
1430
+ unknown: "unknown";
1431
+ wake_fallback: "wake_fallback";
1432
+ watchdog: "watchdog";
1433
+ }>;
1434
+ at: z.ZodISODateTime;
1435
+ }, z.core.$strip>>>>>;
1436
+ }, z.core.$strip>;
1437
+ };
1438
+ INVALID_RESUME: {
1439
+ readonly message: "The resume offset is past the end of the output";
1440
+ readonly status: 409;
1441
+ readonly data: z.ZodReadonly<z.ZodObject<{
1442
+ end: z.ZodInt;
1443
+ bufferStart: z.ZodInt;
1444
+ }, z.core.$strip>>;
1331
1445
  };
1332
1446
  DISK_FULL: {
1333
1447
  readonly message: "Not enough free disk on the host";
@@ -1539,7 +1653,27 @@ declare const impContract: {
1539
1653
  sleeping: "sleeping";
1540
1654
  stopped: "stopped";
1541
1655
  }>>;
1542
- }, z.core.$strip>;
1656
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1657
+ bootId: z.ZodString;
1658
+ cause: z.ZodEnum<{
1659
+ recovery: "recovery";
1660
+ restore: "restore";
1661
+ start: "start";
1662
+ unknown: "unknown";
1663
+ wake_fallback: "wake_fallback";
1664
+ watchdog: "watchdog";
1665
+ }>;
1666
+ at: z.ZodISODateTime;
1667
+ }, z.core.$strip>>>>>;
1668
+ }, z.core.$strip>;
1669
+ };
1670
+ INVALID_RESUME: {
1671
+ readonly message: "The resume offset is past the end of the output";
1672
+ readonly status: 409;
1673
+ readonly data: z.ZodReadonly<z.ZodObject<{
1674
+ end: z.ZodInt;
1675
+ bufferStart: z.ZodInt;
1676
+ }, z.core.$strip>>;
1543
1677
  };
1544
1678
  DISK_FULL: {
1545
1679
  readonly message: "Not enough free disk on the host";
@@ -1751,7 +1885,27 @@ declare const impContract: {
1751
1885
  sleeping: "sleeping";
1752
1886
  stopped: "stopped";
1753
1887
  }>>;
1754
- }, z.core.$strip>;
1888
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1889
+ bootId: z.ZodString;
1890
+ cause: z.ZodEnum<{
1891
+ recovery: "recovery";
1892
+ restore: "restore";
1893
+ start: "start";
1894
+ unknown: "unknown";
1895
+ wake_fallback: "wake_fallback";
1896
+ watchdog: "watchdog";
1897
+ }>;
1898
+ at: z.ZodISODateTime;
1899
+ }, z.core.$strip>>>>>;
1900
+ }, z.core.$strip>;
1901
+ };
1902
+ INVALID_RESUME: {
1903
+ readonly message: "The resume offset is past the end of the output";
1904
+ readonly status: 409;
1905
+ readonly data: z.ZodReadonly<z.ZodObject<{
1906
+ end: z.ZodInt;
1907
+ bufferStart: z.ZodInt;
1908
+ }, z.core.$strip>>;
1755
1909
  };
1756
1910
  DISK_FULL: {
1757
1911
  readonly message: "Not enough free disk on the host";
@@ -1963,7 +2117,27 @@ declare const impContract: {
1963
2117
  sleeping: "sleeping";
1964
2118
  stopped: "stopped";
1965
2119
  }>>;
1966
- }, z.core.$strip>;
2120
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
2121
+ bootId: z.ZodString;
2122
+ cause: z.ZodEnum<{
2123
+ recovery: "recovery";
2124
+ restore: "restore";
2125
+ start: "start";
2126
+ unknown: "unknown";
2127
+ wake_fallback: "wake_fallback";
2128
+ watchdog: "watchdog";
2129
+ }>;
2130
+ at: z.ZodISODateTime;
2131
+ }, z.core.$strip>>>>>;
2132
+ }, z.core.$strip>;
2133
+ };
2134
+ INVALID_RESUME: {
2135
+ readonly message: "The resume offset is past the end of the output";
2136
+ readonly status: 409;
2137
+ readonly data: z.ZodReadonly<z.ZodObject<{
2138
+ end: z.ZodInt;
2139
+ bufferStart: z.ZodInt;
2140
+ }, z.core.$strip>>;
1967
2141
  };
1968
2142
  DISK_FULL: {
1969
2143
  readonly message: "Not enough free disk on the host";
@@ -2175,7 +2349,27 @@ declare const impContract: {
2175
2349
  sleeping: "sleeping";
2176
2350
  stopped: "stopped";
2177
2351
  }>>;
2178
- }, z.core.$strip>;
2352
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
2353
+ bootId: z.ZodString;
2354
+ cause: z.ZodEnum<{
2355
+ recovery: "recovery";
2356
+ restore: "restore";
2357
+ start: "start";
2358
+ unknown: "unknown";
2359
+ wake_fallback: "wake_fallback";
2360
+ watchdog: "watchdog";
2361
+ }>;
2362
+ at: z.ZodISODateTime;
2363
+ }, z.core.$strip>>>>>;
2364
+ }, z.core.$strip>;
2365
+ };
2366
+ INVALID_RESUME: {
2367
+ readonly message: "The resume offset is past the end of the output";
2368
+ readonly status: 409;
2369
+ readonly data: z.ZodReadonly<z.ZodObject<{
2370
+ end: z.ZodInt;
2371
+ bufferStart: z.ZodInt;
2372
+ }, z.core.$strip>>;
2179
2373
  };
2180
2374
  DISK_FULL: {
2181
2375
  readonly message: "Not enough free disk on the host";
@@ -2387,7 +2581,27 @@ declare const impContract: {
2387
2581
  sleeping: "sleeping";
2388
2582
  stopped: "stopped";
2389
2583
  }>>;
2390
- }, z.core.$strip>;
2584
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
2585
+ bootId: z.ZodString;
2586
+ cause: z.ZodEnum<{
2587
+ recovery: "recovery";
2588
+ restore: "restore";
2589
+ start: "start";
2590
+ unknown: "unknown";
2591
+ wake_fallback: "wake_fallback";
2592
+ watchdog: "watchdog";
2593
+ }>;
2594
+ at: z.ZodISODateTime;
2595
+ }, z.core.$strip>>>>>;
2596
+ }, z.core.$strip>;
2597
+ };
2598
+ INVALID_RESUME: {
2599
+ readonly message: "The resume offset is past the end of the output";
2600
+ readonly status: 409;
2601
+ readonly data: z.ZodReadonly<z.ZodObject<{
2602
+ end: z.ZodInt;
2603
+ bufferStart: z.ZodInt;
2604
+ }, z.core.$strip>>;
2391
2605
  };
2392
2606
  DISK_FULL: {
2393
2607
  readonly message: "Not enough free disk on the host";
@@ -2521,7 +2735,27 @@ declare const impContract: {
2521
2735
  sleeping: "sleeping";
2522
2736
  stopped: "stopped";
2523
2737
  }>>;
2524
- }, z.core.$strip>;
2738
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
2739
+ bootId: z.ZodString;
2740
+ cause: z.ZodEnum<{
2741
+ recovery: "recovery";
2742
+ restore: "restore";
2743
+ start: "start";
2744
+ unknown: "unknown";
2745
+ wake_fallback: "wake_fallback";
2746
+ watchdog: "watchdog";
2747
+ }>;
2748
+ at: z.ZodISODateTime;
2749
+ }, z.core.$strip>>>>>;
2750
+ }, z.core.$strip>;
2751
+ };
2752
+ INVALID_RESUME: {
2753
+ readonly message: "The resume offset is past the end of the output";
2754
+ readonly status: 409;
2755
+ readonly data: z.ZodReadonly<z.ZodObject<{
2756
+ end: z.ZodInt;
2757
+ bufferStart: z.ZodInt;
2758
+ }, z.core.$strip>>;
2525
2759
  };
2526
2760
  DISK_FULL: {
2527
2761
  readonly message: "Not enough free disk on the host";
@@ -2656,7 +2890,27 @@ declare const impContract: {
2656
2890
  sleeping: "sleeping";
2657
2891
  stopped: "stopped";
2658
2892
  }>>;
2659
- }, z.core.$strip>;
2893
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
2894
+ bootId: z.ZodString;
2895
+ cause: z.ZodEnum<{
2896
+ recovery: "recovery";
2897
+ restore: "restore";
2898
+ start: "start";
2899
+ unknown: "unknown";
2900
+ wake_fallback: "wake_fallback";
2901
+ watchdog: "watchdog";
2902
+ }>;
2903
+ at: z.ZodISODateTime;
2904
+ }, z.core.$strip>>>>>;
2905
+ }, z.core.$strip>;
2906
+ };
2907
+ INVALID_RESUME: {
2908
+ readonly message: "The resume offset is past the end of the output";
2909
+ readonly status: 409;
2910
+ readonly data: z.ZodReadonly<z.ZodObject<{
2911
+ end: z.ZodInt;
2912
+ bufferStart: z.ZodInt;
2913
+ }, z.core.$strip>>;
2660
2914
  };
2661
2915
  DISK_FULL: {
2662
2916
  readonly message: "Not enough free disk on the host";
@@ -2799,7 +3053,27 @@ declare const impContract: {
2799
3053
  sleeping: "sleeping";
2800
3054
  stopped: "stopped";
2801
3055
  }>>;
2802
- }, z.core.$strip>;
3056
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
3057
+ bootId: z.ZodString;
3058
+ cause: z.ZodEnum<{
3059
+ recovery: "recovery";
3060
+ restore: "restore";
3061
+ start: "start";
3062
+ unknown: "unknown";
3063
+ wake_fallback: "wake_fallback";
3064
+ watchdog: "watchdog";
3065
+ }>;
3066
+ at: z.ZodISODateTime;
3067
+ }, z.core.$strip>>>>>;
3068
+ }, z.core.$strip>;
3069
+ };
3070
+ INVALID_RESUME: {
3071
+ readonly message: "The resume offset is past the end of the output";
3072
+ readonly status: 409;
3073
+ readonly data: z.ZodReadonly<z.ZodObject<{
3074
+ end: z.ZodInt;
3075
+ bufferStart: z.ZodInt;
3076
+ }, z.core.$strip>>;
2803
3077
  };
2804
3078
  DISK_FULL: {
2805
3079
  readonly message: "Not enough free disk on the host";
@@ -2943,7 +3217,27 @@ declare const impContract: {
2943
3217
  sleeping: "sleeping";
2944
3218
  stopped: "stopped";
2945
3219
  }>>;
2946
- }, z.core.$strip>;
3220
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
3221
+ bootId: z.ZodString;
3222
+ cause: z.ZodEnum<{
3223
+ recovery: "recovery";
3224
+ restore: "restore";
3225
+ start: "start";
3226
+ unknown: "unknown";
3227
+ wake_fallback: "wake_fallback";
3228
+ watchdog: "watchdog";
3229
+ }>;
3230
+ at: z.ZodISODateTime;
3231
+ }, z.core.$strip>>>>>;
3232
+ }, z.core.$strip>;
3233
+ };
3234
+ INVALID_RESUME: {
3235
+ readonly message: "The resume offset is past the end of the output";
3236
+ readonly status: 409;
3237
+ readonly data: z.ZodReadonly<z.ZodObject<{
3238
+ end: z.ZodInt;
3239
+ bufferStart: z.ZodInt;
3240
+ }, z.core.$strip>>;
2947
3241
  };
2948
3242
  DISK_FULL: {
2949
3243
  readonly message: "Not enough free disk on the host";
@@ -3154,7 +3448,27 @@ declare const impContract: {
3154
3448
  sleeping: "sleeping";
3155
3449
  stopped: "stopped";
3156
3450
  }>>;
3157
- }, z.core.$strip>;
3451
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
3452
+ bootId: z.ZodString;
3453
+ cause: z.ZodEnum<{
3454
+ recovery: "recovery";
3455
+ restore: "restore";
3456
+ start: "start";
3457
+ unknown: "unknown";
3458
+ wake_fallback: "wake_fallback";
3459
+ watchdog: "watchdog";
3460
+ }>;
3461
+ at: z.ZodISODateTime;
3462
+ }, z.core.$strip>>>>>;
3463
+ }, z.core.$strip>;
3464
+ };
3465
+ INVALID_RESUME: {
3466
+ readonly message: "The resume offset is past the end of the output";
3467
+ readonly status: 409;
3468
+ readonly data: z.ZodReadonly<z.ZodObject<{
3469
+ end: z.ZodInt;
3470
+ bufferStart: z.ZodInt;
3471
+ }, z.core.$strip>>;
3158
3472
  };
3159
3473
  DISK_FULL: {
3160
3474
  readonly message: "Not enough free disk on the host";
@@ -3367,7 +3681,27 @@ declare const impContract: {
3367
3681
  sleeping: "sleeping";
3368
3682
  stopped: "stopped";
3369
3683
  }>>;
3370
- }, z.core.$strip>;
3684
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
3685
+ bootId: z.ZodString;
3686
+ cause: z.ZodEnum<{
3687
+ recovery: "recovery";
3688
+ restore: "restore";
3689
+ start: "start";
3690
+ unknown: "unknown";
3691
+ wake_fallback: "wake_fallback";
3692
+ watchdog: "watchdog";
3693
+ }>;
3694
+ at: z.ZodISODateTime;
3695
+ }, z.core.$strip>>>>>;
3696
+ }, z.core.$strip>;
3697
+ };
3698
+ INVALID_RESUME: {
3699
+ readonly message: "The resume offset is past the end of the output";
3700
+ readonly status: 409;
3701
+ readonly data: z.ZodReadonly<z.ZodObject<{
3702
+ end: z.ZodInt;
3703
+ bufferStart: z.ZodInt;
3704
+ }, z.core.$strip>>;
3371
3705
  };
3372
3706
  DISK_FULL: {
3373
3707
  readonly message: "Not enough free disk on the host";
@@ -3582,7 +3916,27 @@ declare const impContract: {
3582
3916
  sleeping: "sleeping";
3583
3917
  stopped: "stopped";
3584
3918
  }>>;
3585
- }, z.core.$strip>;
3919
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
3920
+ bootId: z.ZodString;
3921
+ cause: z.ZodEnum<{
3922
+ recovery: "recovery";
3923
+ restore: "restore";
3924
+ start: "start";
3925
+ unknown: "unknown";
3926
+ wake_fallback: "wake_fallback";
3927
+ watchdog: "watchdog";
3928
+ }>;
3929
+ at: z.ZodISODateTime;
3930
+ }, z.core.$strip>>>>>;
3931
+ }, z.core.$strip>;
3932
+ };
3933
+ INVALID_RESUME: {
3934
+ readonly message: "The resume offset is past the end of the output";
3935
+ readonly status: 409;
3936
+ readonly data: z.ZodReadonly<z.ZodObject<{
3937
+ end: z.ZodInt;
3938
+ bufferStart: z.ZodInt;
3939
+ }, z.core.$strip>>;
3586
3940
  };
3587
3941
  DISK_FULL: {
3588
3942
  readonly message: "Not enough free disk on the host";
@@ -3722,7 +4076,27 @@ declare const impContract: {
3722
4076
  sleeping: "sleeping";
3723
4077
  stopped: "stopped";
3724
4078
  }>>;
3725
- }, z.core.$strip>;
4079
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
4080
+ bootId: z.ZodString;
4081
+ cause: z.ZodEnum<{
4082
+ recovery: "recovery";
4083
+ restore: "restore";
4084
+ start: "start";
4085
+ unknown: "unknown";
4086
+ wake_fallback: "wake_fallback";
4087
+ watchdog: "watchdog";
4088
+ }>;
4089
+ at: z.ZodISODateTime;
4090
+ }, z.core.$strip>>>>>;
4091
+ }, z.core.$strip>;
4092
+ };
4093
+ INVALID_RESUME: {
4094
+ readonly message: "The resume offset is past the end of the output";
4095
+ readonly status: 409;
4096
+ readonly data: z.ZodReadonly<z.ZodObject<{
4097
+ end: z.ZodInt;
4098
+ bufferStart: z.ZodInt;
4099
+ }, z.core.$strip>>;
3726
4100
  };
3727
4101
  DISK_FULL: {
3728
4102
  readonly message: "Not enough free disk on the host";
@@ -3860,7 +4234,27 @@ declare const impContract: {
3860
4234
  sleeping: "sleeping";
3861
4235
  stopped: "stopped";
3862
4236
  }>>;
3863
- }, z.core.$strip>;
4237
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
4238
+ bootId: z.ZodString;
4239
+ cause: z.ZodEnum<{
4240
+ recovery: "recovery";
4241
+ restore: "restore";
4242
+ start: "start";
4243
+ unknown: "unknown";
4244
+ wake_fallback: "wake_fallback";
4245
+ watchdog: "watchdog";
4246
+ }>;
4247
+ at: z.ZodISODateTime;
4248
+ }, z.core.$strip>>>>>;
4249
+ }, z.core.$strip>;
4250
+ };
4251
+ INVALID_RESUME: {
4252
+ readonly message: "The resume offset is past the end of the output";
4253
+ readonly status: 409;
4254
+ readonly data: z.ZodReadonly<z.ZodObject<{
4255
+ end: z.ZodInt;
4256
+ bufferStart: z.ZodInt;
4257
+ }, z.core.$strip>>;
3864
4258
  };
3865
4259
  DISK_FULL: {
3866
4260
  readonly message: "Not enough free disk on the host";
@@ -3991,7 +4385,27 @@ declare const impContract: {
3991
4385
  sleeping: "sleeping";
3992
4386
  stopped: "stopped";
3993
4387
  }>>;
3994
- }, z.core.$strip>;
4388
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
4389
+ bootId: z.ZodString;
4390
+ cause: z.ZodEnum<{
4391
+ recovery: "recovery";
4392
+ restore: "restore";
4393
+ start: "start";
4394
+ unknown: "unknown";
4395
+ wake_fallback: "wake_fallback";
4396
+ watchdog: "watchdog";
4397
+ }>;
4398
+ at: z.ZodISODateTime;
4399
+ }, z.core.$strip>>>>>;
4400
+ }, z.core.$strip>;
4401
+ };
4402
+ INVALID_RESUME: {
4403
+ readonly message: "The resume offset is past the end of the output";
4404
+ readonly status: 409;
4405
+ readonly data: z.ZodReadonly<z.ZodObject<{
4406
+ end: z.ZodInt;
4407
+ bufferStart: z.ZodInt;
4408
+ }, z.core.$strip>>;
3995
4409
  };
3996
4410
  DISK_FULL: {
3997
4411
  readonly message: "Not enough free disk on the host";
@@ -4128,7 +4542,27 @@ declare const impContract: {
4128
4542
  sleeping: "sleeping";
4129
4543
  stopped: "stopped";
4130
4544
  }>>;
4131
- }, z.core.$strip>;
4545
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
4546
+ bootId: z.ZodString;
4547
+ cause: z.ZodEnum<{
4548
+ recovery: "recovery";
4549
+ restore: "restore";
4550
+ start: "start";
4551
+ unknown: "unknown";
4552
+ wake_fallback: "wake_fallback";
4553
+ watchdog: "watchdog";
4554
+ }>;
4555
+ at: z.ZodISODateTime;
4556
+ }, z.core.$strip>>>>>;
4557
+ }, z.core.$strip>;
4558
+ };
4559
+ INVALID_RESUME: {
4560
+ readonly message: "The resume offset is past the end of the output";
4561
+ readonly status: 409;
4562
+ readonly data: z.ZodReadonly<z.ZodObject<{
4563
+ end: z.ZodInt;
4564
+ bufferStart: z.ZodInt;
4565
+ }, z.core.$strip>>;
4132
4566
  };
4133
4567
  DISK_FULL: {
4134
4568
  readonly message: "Not enough free disk on the host";
@@ -4266,7 +4700,27 @@ declare const impContract: {
4266
4700
  sleeping: "sleeping";
4267
4701
  stopped: "stopped";
4268
4702
  }>>;
4269
- }, z.core.$strip>;
4703
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
4704
+ bootId: z.ZodString;
4705
+ cause: z.ZodEnum<{
4706
+ recovery: "recovery";
4707
+ restore: "restore";
4708
+ start: "start";
4709
+ unknown: "unknown";
4710
+ wake_fallback: "wake_fallback";
4711
+ watchdog: "watchdog";
4712
+ }>;
4713
+ at: z.ZodISODateTime;
4714
+ }, z.core.$strip>>>>>;
4715
+ }, z.core.$strip>;
4716
+ };
4717
+ INVALID_RESUME: {
4718
+ readonly message: "The resume offset is past the end of the output";
4719
+ readonly status: 409;
4720
+ readonly data: z.ZodReadonly<z.ZodObject<{
4721
+ end: z.ZodInt;
4722
+ bufferStart: z.ZodInt;
4723
+ }, z.core.$strip>>;
4270
4724
  };
4271
4725
  DISK_FULL: {
4272
4726
  readonly message: "Not enough free disk on the host";
@@ -4399,7 +4853,27 @@ declare const impContract: {
4399
4853
  sleeping: "sleeping";
4400
4854
  stopped: "stopped";
4401
4855
  }>>;
4402
- }, z.core.$strip>;
4856
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
4857
+ bootId: z.ZodString;
4858
+ cause: z.ZodEnum<{
4859
+ recovery: "recovery";
4860
+ restore: "restore";
4861
+ start: "start";
4862
+ unknown: "unknown";
4863
+ wake_fallback: "wake_fallback";
4864
+ watchdog: "watchdog";
4865
+ }>;
4866
+ at: z.ZodISODateTime;
4867
+ }, z.core.$strip>>>>>;
4868
+ }, z.core.$strip>;
4869
+ };
4870
+ INVALID_RESUME: {
4871
+ readonly message: "The resume offset is past the end of the output";
4872
+ readonly status: 409;
4873
+ readonly data: z.ZodReadonly<z.ZodObject<{
4874
+ end: z.ZodInt;
4875
+ bufferStart: z.ZodInt;
4876
+ }, z.core.$strip>>;
4403
4877
  };
4404
4878
  DISK_FULL: {
4405
4879
  readonly message: "Not enough free disk on the host";
@@ -4540,7 +5014,27 @@ declare const impContract: {
4540
5014
  sleeping: "sleeping";
4541
5015
  stopped: "stopped";
4542
5016
  }>>;
4543
- }, z.core.$strip>;
5017
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
5018
+ bootId: z.ZodString;
5019
+ cause: z.ZodEnum<{
5020
+ recovery: "recovery";
5021
+ restore: "restore";
5022
+ start: "start";
5023
+ unknown: "unknown";
5024
+ wake_fallback: "wake_fallback";
5025
+ watchdog: "watchdog";
5026
+ }>;
5027
+ at: z.ZodISODateTime;
5028
+ }, z.core.$strip>>>>>;
5029
+ }, z.core.$strip>;
5030
+ };
5031
+ INVALID_RESUME: {
5032
+ readonly message: "The resume offset is past the end of the output";
5033
+ readonly status: 409;
5034
+ readonly data: z.ZodReadonly<z.ZodObject<{
5035
+ end: z.ZodInt;
5036
+ bufferStart: z.ZodInt;
5037
+ }, z.core.$strip>>;
4544
5038
  };
4545
5039
  DISK_FULL: {
4546
5040
  readonly message: "Not enough free disk on the host";
@@ -4679,7 +5173,27 @@ declare const impContract: {
4679
5173
  sleeping: "sleeping";
4680
5174
  stopped: "stopped";
4681
5175
  }>>;
4682
- }, z.core.$strip>;
5176
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
5177
+ bootId: z.ZodString;
5178
+ cause: z.ZodEnum<{
5179
+ recovery: "recovery";
5180
+ restore: "restore";
5181
+ start: "start";
5182
+ unknown: "unknown";
5183
+ wake_fallback: "wake_fallback";
5184
+ watchdog: "watchdog";
5185
+ }>;
5186
+ at: z.ZodISODateTime;
5187
+ }, z.core.$strip>>>>>;
5188
+ }, z.core.$strip>;
5189
+ };
5190
+ INVALID_RESUME: {
5191
+ readonly message: "The resume offset is past the end of the output";
5192
+ readonly status: 409;
5193
+ readonly data: z.ZodReadonly<z.ZodObject<{
5194
+ end: z.ZodInt;
5195
+ bufferStart: z.ZodInt;
5196
+ }, z.core.$strip>>;
4683
5197
  };
4684
5198
  DISK_FULL: {
4685
5199
  readonly message: "Not enough free disk on the host";
@@ -4811,7 +5325,27 @@ declare const impContract: {
4811
5325
  sleeping: "sleeping";
4812
5326
  stopped: "stopped";
4813
5327
  }>>;
4814
- }, z.core.$strip>;
5328
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
5329
+ bootId: z.ZodString;
5330
+ cause: z.ZodEnum<{
5331
+ recovery: "recovery";
5332
+ restore: "restore";
5333
+ start: "start";
5334
+ unknown: "unknown";
5335
+ wake_fallback: "wake_fallback";
5336
+ watchdog: "watchdog";
5337
+ }>;
5338
+ at: z.ZodISODateTime;
5339
+ }, z.core.$strip>>>>>;
5340
+ }, z.core.$strip>;
5341
+ };
5342
+ INVALID_RESUME: {
5343
+ readonly message: "The resume offset is past the end of the output";
5344
+ readonly status: 409;
5345
+ readonly data: z.ZodReadonly<z.ZodObject<{
5346
+ end: z.ZodInt;
5347
+ bufferStart: z.ZodInt;
5348
+ }, z.core.$strip>>;
4815
5349
  };
4816
5350
  DISK_FULL: {
4817
5351
  readonly message: "Not enough free disk on the host";
@@ -4951,7 +5485,27 @@ declare const impContract: {
4951
5485
  sleeping: "sleeping";
4952
5486
  stopped: "stopped";
4953
5487
  }>>;
4954
- }, z.core.$strip>;
5488
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
5489
+ bootId: z.ZodString;
5490
+ cause: z.ZodEnum<{
5491
+ recovery: "recovery";
5492
+ restore: "restore";
5493
+ start: "start";
5494
+ unknown: "unknown";
5495
+ wake_fallback: "wake_fallback";
5496
+ watchdog: "watchdog";
5497
+ }>;
5498
+ at: z.ZodISODateTime;
5499
+ }, z.core.$strip>>>>>;
5500
+ }, z.core.$strip>;
5501
+ };
5502
+ INVALID_RESUME: {
5503
+ readonly message: "The resume offset is past the end of the output";
5504
+ readonly status: 409;
5505
+ readonly data: z.ZodReadonly<z.ZodObject<{
5506
+ end: z.ZodInt;
5507
+ bufferStart: z.ZodInt;
5508
+ }, z.core.$strip>>;
4955
5509
  };
4956
5510
  DISK_FULL: {
4957
5511
  readonly message: "Not enough free disk on the host";
@@ -5090,7 +5644,27 @@ declare const impContract: {
5090
5644
  sleeping: "sleeping";
5091
5645
  stopped: "stopped";
5092
5646
  }>>;
5093
- }, z.core.$strip>;
5647
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
5648
+ bootId: z.ZodString;
5649
+ cause: z.ZodEnum<{
5650
+ recovery: "recovery";
5651
+ restore: "restore";
5652
+ start: "start";
5653
+ unknown: "unknown";
5654
+ wake_fallback: "wake_fallback";
5655
+ watchdog: "watchdog";
5656
+ }>;
5657
+ at: z.ZodISODateTime;
5658
+ }, z.core.$strip>>>>>;
5659
+ }, z.core.$strip>;
5660
+ };
5661
+ INVALID_RESUME: {
5662
+ readonly message: "The resume offset is past the end of the output";
5663
+ readonly status: 409;
5664
+ readonly data: z.ZodReadonly<z.ZodObject<{
5665
+ end: z.ZodInt;
5666
+ bufferStart: z.ZodInt;
5667
+ }, z.core.$strip>>;
5094
5668
  };
5095
5669
  DISK_FULL: {
5096
5670
  readonly message: "Not enough free disk on the host";
@@ -5227,7 +5801,27 @@ declare const impContract: {
5227
5801
  sleeping: "sleeping";
5228
5802
  stopped: "stopped";
5229
5803
  }>>;
5230
- }, z.core.$strip>;
5804
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
5805
+ bootId: z.ZodString;
5806
+ cause: z.ZodEnum<{
5807
+ recovery: "recovery";
5808
+ restore: "restore";
5809
+ start: "start";
5810
+ unknown: "unknown";
5811
+ wake_fallback: "wake_fallback";
5812
+ watchdog: "watchdog";
5813
+ }>;
5814
+ at: z.ZodISODateTime;
5815
+ }, z.core.$strip>>>>>;
5816
+ }, z.core.$strip>;
5817
+ };
5818
+ INVALID_RESUME: {
5819
+ readonly message: "The resume offset is past the end of the output";
5820
+ readonly status: 409;
5821
+ readonly data: z.ZodReadonly<z.ZodObject<{
5822
+ end: z.ZodInt;
5823
+ bufferStart: z.ZodInt;
5824
+ }, z.core.$strip>>;
5231
5825
  };
5232
5826
  DISK_FULL: {
5233
5827
  readonly message: "Not enough free disk on the host";
@@ -5361,7 +5955,27 @@ declare const impContract: {
5361
5955
  sleeping: "sleeping";
5362
5956
  stopped: "stopped";
5363
5957
  }>>;
5364
- }, z.core.$strip>;
5958
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
5959
+ bootId: z.ZodString;
5960
+ cause: z.ZodEnum<{
5961
+ recovery: "recovery";
5962
+ restore: "restore";
5963
+ start: "start";
5964
+ unknown: "unknown";
5965
+ wake_fallback: "wake_fallback";
5966
+ watchdog: "watchdog";
5967
+ }>;
5968
+ at: z.ZodISODateTime;
5969
+ }, z.core.$strip>>>>>;
5970
+ }, z.core.$strip>;
5971
+ };
5972
+ INVALID_RESUME: {
5973
+ readonly message: "The resume offset is past the end of the output";
5974
+ readonly status: 409;
5975
+ readonly data: z.ZodReadonly<z.ZodObject<{
5976
+ end: z.ZodInt;
5977
+ bufferStart: z.ZodInt;
5978
+ }, z.core.$strip>>;
5365
5979
  };
5366
5980
  DISK_FULL: {
5367
5981
  readonly message: "Not enough free disk on the host";
@@ -5573,7 +6187,27 @@ declare const impContract: {
5573
6187
  sleeping: "sleeping";
5574
6188
  stopped: "stopped";
5575
6189
  }>>;
5576
- }, z.core.$strip>;
6190
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
6191
+ bootId: z.ZodString;
6192
+ cause: z.ZodEnum<{
6193
+ recovery: "recovery";
6194
+ restore: "restore";
6195
+ start: "start";
6196
+ unknown: "unknown";
6197
+ wake_fallback: "wake_fallback";
6198
+ watchdog: "watchdog";
6199
+ }>;
6200
+ at: z.ZodISODateTime;
6201
+ }, z.core.$strip>>>>>;
6202
+ }, z.core.$strip>;
6203
+ };
6204
+ INVALID_RESUME: {
6205
+ readonly message: "The resume offset is past the end of the output";
6206
+ readonly status: 409;
6207
+ readonly data: z.ZodReadonly<z.ZodObject<{
6208
+ end: z.ZodInt;
6209
+ bufferStart: z.ZodInt;
6210
+ }, z.core.$strip>>;
5577
6211
  };
5578
6212
  DISK_FULL: {
5579
6213
  readonly message: "Not enough free disk on the host";
@@ -5702,7 +6336,27 @@ declare const impContract: {
5702
6336
  sleeping: "sleeping";
5703
6337
  stopped: "stopped";
5704
6338
  }>>;
5705
- }, z.core.$strip>;
6339
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
6340
+ bootId: z.ZodString;
6341
+ cause: z.ZodEnum<{
6342
+ recovery: "recovery";
6343
+ restore: "restore";
6344
+ start: "start";
6345
+ unknown: "unknown";
6346
+ wake_fallback: "wake_fallback";
6347
+ watchdog: "watchdog";
6348
+ }>;
6349
+ at: z.ZodISODateTime;
6350
+ }, z.core.$strip>>>>>;
6351
+ }, z.core.$strip>;
6352
+ };
6353
+ INVALID_RESUME: {
6354
+ readonly message: "The resume offset is past the end of the output";
6355
+ readonly status: 409;
6356
+ readonly data: z.ZodReadonly<z.ZodObject<{
6357
+ end: z.ZodInt;
6358
+ bufferStart: z.ZodInt;
6359
+ }, z.core.$strip>>;
5706
6360
  };
5707
6361
  DISK_FULL: {
5708
6362
  readonly message: "Not enough free disk on the host";
@@ -5839,7 +6493,27 @@ declare const impContract: {
5839
6493
  sleeping: "sleeping";
5840
6494
  stopped: "stopped";
5841
6495
  }>>;
5842
- }, z.core.$strip>;
6496
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
6497
+ bootId: z.ZodString;
6498
+ cause: z.ZodEnum<{
6499
+ recovery: "recovery";
6500
+ restore: "restore";
6501
+ start: "start";
6502
+ unknown: "unknown";
6503
+ wake_fallback: "wake_fallback";
6504
+ watchdog: "watchdog";
6505
+ }>;
6506
+ at: z.ZodISODateTime;
6507
+ }, z.core.$strip>>>>>;
6508
+ }, z.core.$strip>;
6509
+ };
6510
+ INVALID_RESUME: {
6511
+ readonly message: "The resume offset is past the end of the output";
6512
+ readonly status: 409;
6513
+ readonly data: z.ZodReadonly<z.ZodObject<{
6514
+ end: z.ZodInt;
6515
+ bufferStart: z.ZodInt;
6516
+ }, z.core.$strip>>;
5843
6517
  };
5844
6518
  DISK_FULL: {
5845
6519
  readonly message: "Not enough free disk on the host";
@@ -5977,7 +6651,27 @@ declare const impContract: {
5977
6651
  sleeping: "sleeping";
5978
6652
  stopped: "stopped";
5979
6653
  }>>;
5980
- }, z.core.$strip>;
6654
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
6655
+ bootId: z.ZodString;
6656
+ cause: z.ZodEnum<{
6657
+ recovery: "recovery";
6658
+ restore: "restore";
6659
+ start: "start";
6660
+ unknown: "unknown";
6661
+ wake_fallback: "wake_fallback";
6662
+ watchdog: "watchdog";
6663
+ }>;
6664
+ at: z.ZodISODateTime;
6665
+ }, z.core.$strip>>>>>;
6666
+ }, z.core.$strip>;
6667
+ };
6668
+ INVALID_RESUME: {
6669
+ readonly message: "The resume offset is past the end of the output";
6670
+ readonly status: 409;
6671
+ readonly data: z.ZodReadonly<z.ZodObject<{
6672
+ end: z.ZodInt;
6673
+ bufferStart: z.ZodInt;
6674
+ }, z.core.$strip>>;
5981
6675
  };
5982
6676
  DISK_FULL: {
5983
6677
  readonly message: "Not enough free disk on the host";
@@ -6199,7 +6893,27 @@ declare const impContract: {
6199
6893
  sleeping: "sleeping";
6200
6894
  stopped: "stopped";
6201
6895
  }>>;
6202
- }, z.core.$strip>;
6896
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
6897
+ bootId: z.ZodString;
6898
+ cause: z.ZodEnum<{
6899
+ recovery: "recovery";
6900
+ restore: "restore";
6901
+ start: "start";
6902
+ unknown: "unknown";
6903
+ wake_fallback: "wake_fallback";
6904
+ watchdog: "watchdog";
6905
+ }>;
6906
+ at: z.ZodISODateTime;
6907
+ }, z.core.$strip>>>>>;
6908
+ }, z.core.$strip>;
6909
+ };
6910
+ INVALID_RESUME: {
6911
+ readonly message: "The resume offset is past the end of the output";
6912
+ readonly status: 409;
6913
+ readonly data: z.ZodReadonly<z.ZodObject<{
6914
+ end: z.ZodInt;
6915
+ bufferStart: z.ZodInt;
6916
+ }, z.core.$strip>>;
6203
6917
  };
6204
6918
  DISK_FULL: {
6205
6919
  readonly message: "Not enough free disk on the host";
@@ -6327,7 +7041,27 @@ declare const impContract: {
6327
7041
  sleeping: "sleeping";
6328
7042
  stopped: "stopped";
6329
7043
  }>>;
6330
- }, z.core.$strip>;
7044
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
7045
+ bootId: z.ZodString;
7046
+ cause: z.ZodEnum<{
7047
+ recovery: "recovery";
7048
+ restore: "restore";
7049
+ start: "start";
7050
+ unknown: "unknown";
7051
+ wake_fallback: "wake_fallback";
7052
+ watchdog: "watchdog";
7053
+ }>;
7054
+ at: z.ZodISODateTime;
7055
+ }, z.core.$strip>>>>>;
7056
+ }, z.core.$strip>;
7057
+ };
7058
+ INVALID_RESUME: {
7059
+ readonly message: "The resume offset is past the end of the output";
7060
+ readonly status: 409;
7061
+ readonly data: z.ZodReadonly<z.ZodObject<{
7062
+ end: z.ZodInt;
7063
+ bufferStart: z.ZodInt;
7064
+ }, z.core.$strip>>;
6331
7065
  };
6332
7066
  DISK_FULL: {
6333
7067
  readonly message: "Not enough free disk on the host";
@@ -6466,7 +7200,27 @@ declare const impContract: {
6466
7200
  sleeping: "sleeping";
6467
7201
  stopped: "stopped";
6468
7202
  }>>;
6469
- }, z.core.$strip>;
7203
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
7204
+ bootId: z.ZodString;
7205
+ cause: z.ZodEnum<{
7206
+ recovery: "recovery";
7207
+ restore: "restore";
7208
+ start: "start";
7209
+ unknown: "unknown";
7210
+ wake_fallback: "wake_fallback";
7211
+ watchdog: "watchdog";
7212
+ }>;
7213
+ at: z.ZodISODateTime;
7214
+ }, z.core.$strip>>>>>;
7215
+ }, z.core.$strip>;
7216
+ };
7217
+ INVALID_RESUME: {
7218
+ readonly message: "The resume offset is past the end of the output";
7219
+ readonly status: 409;
7220
+ readonly data: z.ZodReadonly<z.ZodObject<{
7221
+ end: z.ZodInt;
7222
+ bufferStart: z.ZodInt;
7223
+ }, z.core.$strip>>;
6470
7224
  };
6471
7225
  DISK_FULL: {
6472
7226
  readonly message: "Not enough free disk on the host";
@@ -6609,7 +7363,27 @@ declare const impContract: {
6609
7363
  sleeping: "sleeping";
6610
7364
  stopped: "stopped";
6611
7365
  }>>;
6612
- }, z.core.$strip>;
7366
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
7367
+ bootId: z.ZodString;
7368
+ cause: z.ZodEnum<{
7369
+ recovery: "recovery";
7370
+ restore: "restore";
7371
+ start: "start";
7372
+ unknown: "unknown";
7373
+ wake_fallback: "wake_fallback";
7374
+ watchdog: "watchdog";
7375
+ }>;
7376
+ at: z.ZodISODateTime;
7377
+ }, z.core.$strip>>>>>;
7378
+ }, z.core.$strip>;
7379
+ };
7380
+ INVALID_RESUME: {
7381
+ readonly message: "The resume offset is past the end of the output";
7382
+ readonly status: 409;
7383
+ readonly data: z.ZodReadonly<z.ZodObject<{
7384
+ end: z.ZodInt;
7385
+ bufferStart: z.ZodInt;
7386
+ }, z.core.$strip>>;
6613
7387
  };
6614
7388
  DISK_FULL: {
6615
7389
  readonly message: "Not enough free disk on the host";
@@ -6750,7 +7524,27 @@ declare const impContract: {
6750
7524
  sleeping: "sleeping";
6751
7525
  stopped: "stopped";
6752
7526
  }>>;
6753
- }, z.core.$strip>;
7527
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
7528
+ bootId: z.ZodString;
7529
+ cause: z.ZodEnum<{
7530
+ recovery: "recovery";
7531
+ restore: "restore";
7532
+ start: "start";
7533
+ unknown: "unknown";
7534
+ wake_fallback: "wake_fallback";
7535
+ watchdog: "watchdog";
7536
+ }>;
7537
+ at: z.ZodISODateTime;
7538
+ }, z.core.$strip>>>>>;
7539
+ }, z.core.$strip>;
7540
+ };
7541
+ INVALID_RESUME: {
7542
+ readonly message: "The resume offset is past the end of the output";
7543
+ readonly status: 409;
7544
+ readonly data: z.ZodReadonly<z.ZodObject<{
7545
+ end: z.ZodInt;
7546
+ bufferStart: z.ZodInt;
7547
+ }, z.core.$strip>>;
6754
7548
  };
6755
7549
  DISK_FULL: {
6756
7550
  readonly message: "Not enough free disk on the host";
@@ -6878,7 +7672,27 @@ declare const impContract: {
6878
7672
  sleeping: "sleeping";
6879
7673
  stopped: "stopped";
6880
7674
  }>>;
6881
- }, z.core.$strip>;
7675
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
7676
+ bootId: z.ZodString;
7677
+ cause: z.ZodEnum<{
7678
+ recovery: "recovery";
7679
+ restore: "restore";
7680
+ start: "start";
7681
+ unknown: "unknown";
7682
+ wake_fallback: "wake_fallback";
7683
+ watchdog: "watchdog";
7684
+ }>;
7685
+ at: z.ZodISODateTime;
7686
+ }, z.core.$strip>>>>>;
7687
+ }, z.core.$strip>;
7688
+ };
7689
+ INVALID_RESUME: {
7690
+ readonly message: "The resume offset is past the end of the output";
7691
+ readonly status: 409;
7692
+ readonly data: z.ZodReadonly<z.ZodObject<{
7693
+ end: z.ZodInt;
7694
+ bufferStart: z.ZodInt;
7695
+ }, z.core.$strip>>;
6882
7696
  };
6883
7697
  DISK_FULL: {
6884
7698
  readonly message: "Not enough free disk on the host";
@@ -7011,7 +7825,27 @@ declare const impContract: {
7011
7825
  sleeping: "sleeping";
7012
7826
  stopped: "stopped";
7013
7827
  }>>;
7014
- }, z.core.$strip>;
7828
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
7829
+ bootId: z.ZodString;
7830
+ cause: z.ZodEnum<{
7831
+ recovery: "recovery";
7832
+ restore: "restore";
7833
+ start: "start";
7834
+ unknown: "unknown";
7835
+ wake_fallback: "wake_fallback";
7836
+ watchdog: "watchdog";
7837
+ }>;
7838
+ at: z.ZodISODateTime;
7839
+ }, z.core.$strip>>>>>;
7840
+ }, z.core.$strip>;
7841
+ };
7842
+ INVALID_RESUME: {
7843
+ readonly message: "The resume offset is past the end of the output";
7844
+ readonly status: 409;
7845
+ readonly data: z.ZodReadonly<z.ZodObject<{
7846
+ end: z.ZodInt;
7847
+ bufferStart: z.ZodInt;
7848
+ }, z.core.$strip>>;
7015
7849
  };
7016
7850
  DISK_FULL: {
7017
7851
  readonly message: "Not enough free disk on the host";
@@ -7074,6 +7908,14 @@ declare const impContract: {
7074
7908
  code: z.ZodNullable<z.ZodInt>;
7075
7909
  signal: z.ZodNullable<z.ZodString>;
7076
7910
  }, z.core.$strip>>>;
7911
+ continuity: z.ZodOptional<z.ZodEnum<{
7912
+ none: "none";
7913
+ offsets: "offsets";
7914
+ }>>;
7915
+ executionGeneration: z.ZodOptional<z.ZodString>;
7916
+ bootId: z.ZodOptional<z.ZodString>;
7917
+ end: z.ZodOptional<z.ZodInt>;
7918
+ endObservedAt: z.ZodOptional<z.ZodDate>;
7077
7919
  }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
7078
7920
  NOT_FOUND: {
7079
7921
  readonly message: "Not found";
@@ -7157,7 +7999,27 @@ declare const impContract: {
7157
7999
  sleeping: "sleeping";
7158
8000
  stopped: "stopped";
7159
8001
  }>>;
7160
- }, z.core.$strip>;
8002
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8003
+ bootId: z.ZodString;
8004
+ cause: z.ZodEnum<{
8005
+ recovery: "recovery";
8006
+ restore: "restore";
8007
+ start: "start";
8008
+ unknown: "unknown";
8009
+ wake_fallback: "wake_fallback";
8010
+ watchdog: "watchdog";
8011
+ }>;
8012
+ at: z.ZodISODateTime;
8013
+ }, z.core.$strip>>>>>;
8014
+ }, z.core.$strip>;
8015
+ };
8016
+ INVALID_RESUME: {
8017
+ readonly message: "The resume offset is past the end of the output";
8018
+ readonly status: 409;
8019
+ readonly data: z.ZodReadonly<z.ZodObject<{
8020
+ end: z.ZodInt;
8021
+ bufferStart: z.ZodInt;
8022
+ }, z.core.$strip>>;
7161
8023
  };
7162
8024
  DISK_FULL: {
7163
8025
  readonly message: "Not enough free disk on the host";
@@ -7286,7 +8148,27 @@ declare const impContract: {
7286
8148
  sleeping: "sleeping";
7287
8149
  stopped: "stopped";
7288
8150
  }>>;
7289
- }, z.core.$strip>;
8151
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8152
+ bootId: z.ZodString;
8153
+ cause: z.ZodEnum<{
8154
+ recovery: "recovery";
8155
+ restore: "restore";
8156
+ start: "start";
8157
+ unknown: "unknown";
8158
+ wake_fallback: "wake_fallback";
8159
+ watchdog: "watchdog";
8160
+ }>;
8161
+ at: z.ZodISODateTime;
8162
+ }, z.core.$strip>>>>>;
8163
+ }, z.core.$strip>;
8164
+ };
8165
+ INVALID_RESUME: {
8166
+ readonly message: "The resume offset is past the end of the output";
8167
+ readonly status: 409;
8168
+ readonly data: z.ZodReadonly<z.ZodObject<{
8169
+ end: z.ZodInt;
8170
+ bufferStart: z.ZodInt;
8171
+ }, z.core.$strip>>;
7290
8172
  };
7291
8173
  DISK_FULL: {
7292
8174
  readonly message: "Not enough free disk on the host";
@@ -7448,7 +8330,27 @@ declare const impContract: {
7448
8330
  sleeping: "sleeping";
7449
8331
  stopped: "stopped";
7450
8332
  }>>;
7451
- }, z.core.$strip>;
8333
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8334
+ bootId: z.ZodString;
8335
+ cause: z.ZodEnum<{
8336
+ recovery: "recovery";
8337
+ restore: "restore";
8338
+ start: "start";
8339
+ unknown: "unknown";
8340
+ wake_fallback: "wake_fallback";
8341
+ watchdog: "watchdog";
8342
+ }>;
8343
+ at: z.ZodISODateTime;
8344
+ }, z.core.$strip>>>>>;
8345
+ }, z.core.$strip>;
8346
+ };
8347
+ INVALID_RESUME: {
8348
+ readonly message: "The resume offset is past the end of the output";
8349
+ readonly status: 409;
8350
+ readonly data: z.ZodReadonly<z.ZodObject<{
8351
+ end: z.ZodInt;
8352
+ bufferStart: z.ZodInt;
8353
+ }, z.core.$strip>>;
7452
8354
  };
7453
8355
  DISK_FULL: {
7454
8356
  readonly message: "Not enough free disk on the host";
@@ -7589,7 +8491,27 @@ declare const impContract: {
7589
8491
  sleeping: "sleeping";
7590
8492
  stopped: "stopped";
7591
8493
  }>>;
7592
- }, z.core.$strip>;
8494
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8495
+ bootId: z.ZodString;
8496
+ cause: z.ZodEnum<{
8497
+ recovery: "recovery";
8498
+ restore: "restore";
8499
+ start: "start";
8500
+ unknown: "unknown";
8501
+ wake_fallback: "wake_fallback";
8502
+ watchdog: "watchdog";
8503
+ }>;
8504
+ at: z.ZodISODateTime;
8505
+ }, z.core.$strip>>>>>;
8506
+ }, z.core.$strip>;
8507
+ };
8508
+ INVALID_RESUME: {
8509
+ readonly message: "The resume offset is past the end of the output";
8510
+ readonly status: 409;
8511
+ readonly data: z.ZodReadonly<z.ZodObject<{
8512
+ end: z.ZodInt;
8513
+ bufferStart: z.ZodInt;
8514
+ }, z.core.$strip>>;
7593
8515
  };
7594
8516
  DISK_FULL: {
7595
8517
  readonly message: "Not enough free disk on the host";
@@ -7718,7 +8640,27 @@ declare const impContract: {
7718
8640
  sleeping: "sleeping";
7719
8641
  stopped: "stopped";
7720
8642
  }>>;
7721
- }, z.core.$strip>;
8643
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8644
+ bootId: z.ZodString;
8645
+ cause: z.ZodEnum<{
8646
+ recovery: "recovery";
8647
+ restore: "restore";
8648
+ start: "start";
8649
+ unknown: "unknown";
8650
+ wake_fallback: "wake_fallback";
8651
+ watchdog: "watchdog";
8652
+ }>;
8653
+ at: z.ZodISODateTime;
8654
+ }, z.core.$strip>>>>>;
8655
+ }, z.core.$strip>;
8656
+ };
8657
+ INVALID_RESUME: {
8658
+ readonly message: "The resume offset is past the end of the output";
8659
+ readonly status: 409;
8660
+ readonly data: z.ZodReadonly<z.ZodObject<{
8661
+ end: z.ZodInt;
8662
+ bufferStart: z.ZodInt;
8663
+ }, z.core.$strip>>;
7722
8664
  };
7723
8665
  DISK_FULL: {
7724
8666
  readonly message: "Not enough free disk on the host";
@@ -7847,7 +8789,27 @@ declare const impContract: {
7847
8789
  sleeping: "sleeping";
7848
8790
  stopped: "stopped";
7849
8791
  }>>;
7850
- }, z.core.$strip>;
8792
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8793
+ bootId: z.ZodString;
8794
+ cause: z.ZodEnum<{
8795
+ recovery: "recovery";
8796
+ restore: "restore";
8797
+ start: "start";
8798
+ unknown: "unknown";
8799
+ wake_fallback: "wake_fallback";
8800
+ watchdog: "watchdog";
8801
+ }>;
8802
+ at: z.ZodISODateTime;
8803
+ }, z.core.$strip>>>>>;
8804
+ }, z.core.$strip>;
8805
+ };
8806
+ INVALID_RESUME: {
8807
+ readonly message: "The resume offset is past the end of the output";
8808
+ readonly status: 409;
8809
+ readonly data: z.ZodReadonly<z.ZodObject<{
8810
+ end: z.ZodInt;
8811
+ bufferStart: z.ZodInt;
8812
+ }, z.core.$strip>>;
7851
8813
  };
7852
8814
  DISK_FULL: {
7853
8815
  readonly message: "Not enough free disk on the host";
@@ -8000,7 +8962,27 @@ declare const impContract: {
8000
8962
  sleeping: "sleeping";
8001
8963
  stopped: "stopped";
8002
8964
  }>>;
8003
- }, z.core.$strip>;
8965
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
8966
+ bootId: z.ZodString;
8967
+ cause: z.ZodEnum<{
8968
+ recovery: "recovery";
8969
+ restore: "restore";
8970
+ start: "start";
8971
+ unknown: "unknown";
8972
+ wake_fallback: "wake_fallback";
8973
+ watchdog: "watchdog";
8974
+ }>;
8975
+ at: z.ZodISODateTime;
8976
+ }, z.core.$strip>>>>>;
8977
+ }, z.core.$strip>;
8978
+ };
8979
+ INVALID_RESUME: {
8980
+ readonly message: "The resume offset is past the end of the output";
8981
+ readonly status: 409;
8982
+ readonly data: z.ZodReadonly<z.ZodObject<{
8983
+ end: z.ZodInt;
8984
+ bufferStart: z.ZodInt;
8985
+ }, z.core.$strip>>;
8004
8986
  };
8005
8987
  DISK_FULL: {
8006
8988
  readonly message: "Not enough free disk on the host";
@@ -8168,7 +9150,27 @@ declare const impContract: {
8168
9150
  sleeping: "sleeping";
8169
9151
  stopped: "stopped";
8170
9152
  }>>;
8171
- }, z.core.$strip>;
9153
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
9154
+ bootId: z.ZodString;
9155
+ cause: z.ZodEnum<{
9156
+ recovery: "recovery";
9157
+ restore: "restore";
9158
+ start: "start";
9159
+ unknown: "unknown";
9160
+ wake_fallback: "wake_fallback";
9161
+ watchdog: "watchdog";
9162
+ }>;
9163
+ at: z.ZodISODateTime;
9164
+ }, z.core.$strip>>>>>;
9165
+ }, z.core.$strip>;
9166
+ };
9167
+ INVALID_RESUME: {
9168
+ readonly message: "The resume offset is past the end of the output";
9169
+ readonly status: 409;
9170
+ readonly data: z.ZodReadonly<z.ZodObject<{
9171
+ end: z.ZodInt;
9172
+ bufferStart: z.ZodInt;
9173
+ }, z.core.$strip>>;
8172
9174
  };
8173
9175
  DISK_FULL: {
8174
9176
  readonly message: "Not enough free disk on the host";
@@ -8314,7 +9316,27 @@ declare const impContract: {
8314
9316
  sleeping: "sleeping";
8315
9317
  stopped: "stopped";
8316
9318
  }>>;
8317
- }, z.core.$strip>;
9319
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
9320
+ bootId: z.ZodString;
9321
+ cause: z.ZodEnum<{
9322
+ recovery: "recovery";
9323
+ restore: "restore";
9324
+ start: "start";
9325
+ unknown: "unknown";
9326
+ wake_fallback: "wake_fallback";
9327
+ watchdog: "watchdog";
9328
+ }>;
9329
+ at: z.ZodISODateTime;
9330
+ }, z.core.$strip>>>>>;
9331
+ }, z.core.$strip>;
9332
+ };
9333
+ INVALID_RESUME: {
9334
+ readonly message: "The resume offset is past the end of the output";
9335
+ readonly status: 409;
9336
+ readonly data: z.ZodReadonly<z.ZodObject<{
9337
+ end: z.ZodInt;
9338
+ bufferStart: z.ZodInt;
9339
+ }, z.core.$strip>>;
8318
9340
  };
8319
9341
  DISK_FULL: {
8320
9342
  readonly message: "Not enough free disk on the host";
@@ -8442,7 +9464,27 @@ declare const impContract: {
8442
9464
  sleeping: "sleeping";
8443
9465
  stopped: "stopped";
8444
9466
  }>>;
8445
- }, z.core.$strip>;
9467
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
9468
+ bootId: z.ZodString;
9469
+ cause: z.ZodEnum<{
9470
+ recovery: "recovery";
9471
+ restore: "restore";
9472
+ start: "start";
9473
+ unknown: "unknown";
9474
+ wake_fallback: "wake_fallback";
9475
+ watchdog: "watchdog";
9476
+ }>;
9477
+ at: z.ZodISODateTime;
9478
+ }, z.core.$strip>>>>>;
9479
+ }, z.core.$strip>;
9480
+ };
9481
+ INVALID_RESUME: {
9482
+ readonly message: "The resume offset is past the end of the output";
9483
+ readonly status: 409;
9484
+ readonly data: z.ZodReadonly<z.ZodObject<{
9485
+ end: z.ZodInt;
9486
+ bufferStart: z.ZodInt;
9487
+ }, z.core.$strip>>;
8446
9488
  };
8447
9489
  DISK_FULL: {
8448
9490
  readonly message: "Not enough free disk on the host";
@@ -8574,7 +9616,27 @@ declare const impContract: {
8574
9616
  sleeping: "sleeping";
8575
9617
  stopped: "stopped";
8576
9618
  }>>;
8577
- }, z.core.$strip>;
9619
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
9620
+ bootId: z.ZodString;
9621
+ cause: z.ZodEnum<{
9622
+ recovery: "recovery";
9623
+ restore: "restore";
9624
+ start: "start";
9625
+ unknown: "unknown";
9626
+ wake_fallback: "wake_fallback";
9627
+ watchdog: "watchdog";
9628
+ }>;
9629
+ at: z.ZodISODateTime;
9630
+ }, z.core.$strip>>>>>;
9631
+ }, z.core.$strip>;
9632
+ };
9633
+ INVALID_RESUME: {
9634
+ readonly message: "The resume offset is past the end of the output";
9635
+ readonly status: 409;
9636
+ readonly data: z.ZodReadonly<z.ZodObject<{
9637
+ end: z.ZodInt;
9638
+ bufferStart: z.ZodInt;
9639
+ }, z.core.$strip>>;
8578
9640
  };
8579
9641
  DISK_FULL: {
8580
9642
  readonly message: "Not enough free disk on the host";
@@ -8706,7 +9768,27 @@ declare const impContract: {
8706
9768
  sleeping: "sleeping";
8707
9769
  stopped: "stopped";
8708
9770
  }>>;
8709
- }, z.core.$strip>;
9771
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
9772
+ bootId: z.ZodString;
9773
+ cause: z.ZodEnum<{
9774
+ recovery: "recovery";
9775
+ restore: "restore";
9776
+ start: "start";
9777
+ unknown: "unknown";
9778
+ wake_fallback: "wake_fallback";
9779
+ watchdog: "watchdog";
9780
+ }>;
9781
+ at: z.ZodISODateTime;
9782
+ }, z.core.$strip>>>>>;
9783
+ }, z.core.$strip>;
9784
+ };
9785
+ INVALID_RESUME: {
9786
+ readonly message: "The resume offset is past the end of the output";
9787
+ readonly status: 409;
9788
+ readonly data: z.ZodReadonly<z.ZodObject<{
9789
+ end: z.ZodInt;
9790
+ bufferStart: z.ZodInt;
9791
+ }, z.core.$strip>>;
8710
9792
  };
8711
9793
  DISK_FULL: {
8712
9794
  readonly message: "Not enough free disk on the host";
@@ -8834,7 +9916,27 @@ declare const impContract: {
8834
9916
  sleeping: "sleeping";
8835
9917
  stopped: "stopped";
8836
9918
  }>>;
8837
- }, z.core.$strip>;
9919
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
9920
+ bootId: z.ZodString;
9921
+ cause: z.ZodEnum<{
9922
+ recovery: "recovery";
9923
+ restore: "restore";
9924
+ start: "start";
9925
+ unknown: "unknown";
9926
+ wake_fallback: "wake_fallback";
9927
+ watchdog: "watchdog";
9928
+ }>;
9929
+ at: z.ZodISODateTime;
9930
+ }, z.core.$strip>>>>>;
9931
+ }, z.core.$strip>;
9932
+ };
9933
+ INVALID_RESUME: {
9934
+ readonly message: "The resume offset is past the end of the output";
9935
+ readonly status: 409;
9936
+ readonly data: z.ZodReadonly<z.ZodObject<{
9937
+ end: z.ZodInt;
9938
+ bufferStart: z.ZodInt;
9939
+ }, z.core.$strip>>;
8838
9940
  };
8839
9941
  DISK_FULL: {
8840
9942
  readonly message: "Not enough free disk on the host";
@@ -8968,7 +10070,27 @@ declare const impContract: {
8968
10070
  sleeping: "sleeping";
8969
10071
  stopped: "stopped";
8970
10072
  }>>;
8971
- }, z.core.$strip>;
10073
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
10074
+ bootId: z.ZodString;
10075
+ cause: z.ZodEnum<{
10076
+ recovery: "recovery";
10077
+ restore: "restore";
10078
+ start: "start";
10079
+ unknown: "unknown";
10080
+ wake_fallback: "wake_fallback";
10081
+ watchdog: "watchdog";
10082
+ }>;
10083
+ at: z.ZodISODateTime;
10084
+ }, z.core.$strip>>>>>;
10085
+ }, z.core.$strip>;
10086
+ };
10087
+ INVALID_RESUME: {
10088
+ readonly message: "The resume offset is past the end of the output";
10089
+ readonly status: 409;
10090
+ readonly data: z.ZodReadonly<z.ZodObject<{
10091
+ end: z.ZodInt;
10092
+ bufferStart: z.ZodInt;
10093
+ }, z.core.$strip>>;
8972
10094
  };
8973
10095
  DISK_FULL: {
8974
10096
  readonly message: "Not enough free disk on the host";
@@ -9096,7 +10218,27 @@ declare const impContract: {
9096
10218
  sleeping: "sleeping";
9097
10219
  stopped: "stopped";
9098
10220
  }>>;
9099
- }, z.core.$strip>;
10221
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
10222
+ bootId: z.ZodString;
10223
+ cause: z.ZodEnum<{
10224
+ recovery: "recovery";
10225
+ restore: "restore";
10226
+ start: "start";
10227
+ unknown: "unknown";
10228
+ wake_fallback: "wake_fallback";
10229
+ watchdog: "watchdog";
10230
+ }>;
10231
+ at: z.ZodISODateTime;
10232
+ }, z.core.$strip>>>>>;
10233
+ }, z.core.$strip>;
10234
+ };
10235
+ INVALID_RESUME: {
10236
+ readonly message: "The resume offset is past the end of the output";
10237
+ readonly status: 409;
10238
+ readonly data: z.ZodReadonly<z.ZodObject<{
10239
+ end: z.ZodInt;
10240
+ bufferStart: z.ZodInt;
10241
+ }, z.core.$strip>>;
9100
10242
  };
9101
10243
  DISK_FULL: {
9102
10244
  readonly message: "Not enough free disk on the host";
@@ -9229,7 +10371,27 @@ declare const impContract: {
9229
10371
  sleeping: "sleeping";
9230
10372
  stopped: "stopped";
9231
10373
  }>>;
9232
- }, z.core.$strip>;
10374
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
10375
+ bootId: z.ZodString;
10376
+ cause: z.ZodEnum<{
10377
+ recovery: "recovery";
10378
+ restore: "restore";
10379
+ start: "start";
10380
+ unknown: "unknown";
10381
+ wake_fallback: "wake_fallback";
10382
+ watchdog: "watchdog";
10383
+ }>;
10384
+ at: z.ZodISODateTime;
10385
+ }, z.core.$strip>>>>>;
10386
+ }, z.core.$strip>;
10387
+ };
10388
+ INVALID_RESUME: {
10389
+ readonly message: "The resume offset is past the end of the output";
10390
+ readonly status: 409;
10391
+ readonly data: z.ZodReadonly<z.ZodObject<{
10392
+ end: z.ZodInt;
10393
+ bufferStart: z.ZodInt;
10394
+ }, z.core.$strip>>;
9233
10395
  };
9234
10396
  DISK_FULL: {
9235
10397
  readonly message: "Not enough free disk on the host";
@@ -9360,7 +10522,27 @@ declare const impContract: {
9360
10522
  sleeping: "sleeping";
9361
10523
  stopped: "stopped";
9362
10524
  }>>;
9363
- }, z.core.$strip>;
10525
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
10526
+ bootId: z.ZodString;
10527
+ cause: z.ZodEnum<{
10528
+ recovery: "recovery";
10529
+ restore: "restore";
10530
+ start: "start";
10531
+ unknown: "unknown";
10532
+ wake_fallback: "wake_fallback";
10533
+ watchdog: "watchdog";
10534
+ }>;
10535
+ at: z.ZodISODateTime;
10536
+ }, z.core.$strip>>>>>;
10537
+ }, z.core.$strip>;
10538
+ };
10539
+ INVALID_RESUME: {
10540
+ readonly message: "The resume offset is past the end of the output";
10541
+ readonly status: 409;
10542
+ readonly data: z.ZodReadonly<z.ZodObject<{
10543
+ end: z.ZodInt;
10544
+ bufferStart: z.ZodInt;
10545
+ }, z.core.$strip>>;
9364
10546
  };
9365
10547
  DISK_FULL: {
9366
10548
  readonly message: "Not enough free disk on the host";
@@ -9489,7 +10671,27 @@ declare const impContract: {
9489
10671
  sleeping: "sleeping";
9490
10672
  stopped: "stopped";
9491
10673
  }>>;
9492
- }, z.core.$strip>;
10674
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
10675
+ bootId: z.ZodString;
10676
+ cause: z.ZodEnum<{
10677
+ recovery: "recovery";
10678
+ restore: "restore";
10679
+ start: "start";
10680
+ unknown: "unknown";
10681
+ wake_fallback: "wake_fallback";
10682
+ watchdog: "watchdog";
10683
+ }>;
10684
+ at: z.ZodISODateTime;
10685
+ }, z.core.$strip>>>>>;
10686
+ }, z.core.$strip>;
10687
+ };
10688
+ INVALID_RESUME: {
10689
+ readonly message: "The resume offset is past the end of the output";
10690
+ readonly status: 409;
10691
+ readonly data: z.ZodReadonly<z.ZodObject<{
10692
+ end: z.ZodInt;
10693
+ bufferStart: z.ZodInt;
10694
+ }, z.core.$strip>>;
9493
10695
  };
9494
10696
  DISK_FULL: {
9495
10697
  readonly message: "Not enough free disk on the host";
@@ -9617,7 +10819,27 @@ declare const impContract: {
9617
10819
  sleeping: "sleeping";
9618
10820
  stopped: "stopped";
9619
10821
  }>>;
9620
- }, z.core.$strip>;
10822
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
10823
+ bootId: z.ZodString;
10824
+ cause: z.ZodEnum<{
10825
+ recovery: "recovery";
10826
+ restore: "restore";
10827
+ start: "start";
10828
+ unknown: "unknown";
10829
+ wake_fallback: "wake_fallback";
10830
+ watchdog: "watchdog";
10831
+ }>;
10832
+ at: z.ZodISODateTime;
10833
+ }, z.core.$strip>>>>>;
10834
+ }, z.core.$strip>;
10835
+ };
10836
+ INVALID_RESUME: {
10837
+ readonly message: "The resume offset is past the end of the output";
10838
+ readonly status: 409;
10839
+ readonly data: z.ZodReadonly<z.ZodObject<{
10840
+ end: z.ZodInt;
10841
+ bufferStart: z.ZodInt;
10842
+ }, z.core.$strip>>;
9621
10843
  };
9622
10844
  DISK_FULL: {
9623
10845
  readonly message: "Not enough free disk on the host";
@@ -9759,7 +10981,27 @@ declare const impContract: {
9759
10981
  sleeping: "sleeping";
9760
10982
  stopped: "stopped";
9761
10983
  }>>;
9762
- }, z.core.$strip>;
10984
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
10985
+ bootId: z.ZodString;
10986
+ cause: z.ZodEnum<{
10987
+ recovery: "recovery";
10988
+ restore: "restore";
10989
+ start: "start";
10990
+ unknown: "unknown";
10991
+ wake_fallback: "wake_fallback";
10992
+ watchdog: "watchdog";
10993
+ }>;
10994
+ at: z.ZodISODateTime;
10995
+ }, z.core.$strip>>>>>;
10996
+ }, z.core.$strip>;
10997
+ };
10998
+ INVALID_RESUME: {
10999
+ readonly message: "The resume offset is past the end of the output";
11000
+ readonly status: 409;
11001
+ readonly data: z.ZodReadonly<z.ZodObject<{
11002
+ end: z.ZodInt;
11003
+ bufferStart: z.ZodInt;
11004
+ }, z.core.$strip>>;
9763
11005
  };
9764
11006
  DISK_FULL: {
9765
11007
  readonly message: "Not enough free disk on the host";
@@ -9901,7 +11143,27 @@ declare const impContract: {
9901
11143
  sleeping: "sleeping";
9902
11144
  stopped: "stopped";
9903
11145
  }>>;
9904
- }, z.core.$strip>;
11146
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
11147
+ bootId: z.ZodString;
11148
+ cause: z.ZodEnum<{
11149
+ recovery: "recovery";
11150
+ restore: "restore";
11151
+ start: "start";
11152
+ unknown: "unknown";
11153
+ wake_fallback: "wake_fallback";
11154
+ watchdog: "watchdog";
11155
+ }>;
11156
+ at: z.ZodISODateTime;
11157
+ }, z.core.$strip>>>>>;
11158
+ }, z.core.$strip>;
11159
+ };
11160
+ INVALID_RESUME: {
11161
+ readonly message: "The resume offset is past the end of the output";
11162
+ readonly status: 409;
11163
+ readonly data: z.ZodReadonly<z.ZodObject<{
11164
+ end: z.ZodInt;
11165
+ bufferStart: z.ZodInt;
11166
+ }, z.core.$strip>>;
9905
11167
  };
9906
11168
  DISK_FULL: {
9907
11169
  readonly message: "Not enough free disk on the host";
@@ -10195,6 +11457,15 @@ declare const impContract: {
10195
11457
  reserveMib?: number | undefined;
10196
11458
  neededMib?: number | undefined;
10197
11459
  protectedCount?: number | undefined;
11460
+ } | {
11461
+ v: 1;
11462
+ at: Date;
11463
+ ev: "AgentExec";
11464
+ name: string;
11465
+ actor: "dashboard" | "ssh" | "tailnet" | "token";
11466
+ actorName: string;
11467
+ tty: boolean;
11468
+ command: string;
10198
11469
  }, unknown, void>, import("@orpc/client").AsyncIteratorClass<{
10199
11470
  v: 1;
10200
11471
  at: Date;
@@ -10444,6 +11715,15 @@ declare const impContract: {
10444
11715
  reserveMib?: number | undefined;
10445
11716
  neededMib?: number | undefined;
10446
11717
  protectedCount?: number | undefined;
11718
+ } | {
11719
+ v: 1;
11720
+ at: Date;
11721
+ ev: "AgentExec";
11722
+ name: string;
11723
+ actor: "dashboard" | "ssh" | "tailnet" | "token";
11724
+ actorName: string;
11725
+ tty: boolean;
11726
+ command: string;
10447
11727
  }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
10448
11728
  NOT_FOUND: {
10449
11729
  readonly message: "Not found";
@@ -10527,7 +11807,27 @@ declare const impContract: {
10527
11807
  sleeping: "sleeping";
10528
11808
  stopped: "stopped";
10529
11809
  }>>;
10530
- }, z.core.$strip>;
11810
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
11811
+ bootId: z.ZodString;
11812
+ cause: z.ZodEnum<{
11813
+ recovery: "recovery";
11814
+ restore: "restore";
11815
+ start: "start";
11816
+ unknown: "unknown";
11817
+ wake_fallback: "wake_fallback";
11818
+ watchdog: "watchdog";
11819
+ }>;
11820
+ at: z.ZodISODateTime;
11821
+ }, z.core.$strip>>>>>;
11822
+ }, z.core.$strip>;
11823
+ };
11824
+ INVALID_RESUME: {
11825
+ readonly message: "The resume offset is past the end of the output";
11826
+ readonly status: 409;
11827
+ readonly data: z.ZodReadonly<z.ZodObject<{
11828
+ end: z.ZodInt;
11829
+ bufferStart: z.ZodInt;
11830
+ }, z.core.$strip>>;
10531
11831
  };
10532
11832
  DISK_FULL: {
10533
11833
  readonly message: "Not enough free disk on the host";
@@ -10723,7 +12023,27 @@ declare const impContract: {
10723
12023
  sleeping: "sleeping";
10724
12024
  stopped: "stopped";
10725
12025
  }>>;
10726
- }, z.core.$strip>;
12026
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
12027
+ bootId: z.ZodString;
12028
+ cause: z.ZodEnum<{
12029
+ recovery: "recovery";
12030
+ restore: "restore";
12031
+ start: "start";
12032
+ unknown: "unknown";
12033
+ wake_fallback: "wake_fallback";
12034
+ watchdog: "watchdog";
12035
+ }>;
12036
+ at: z.ZodISODateTime;
12037
+ }, z.core.$strip>>>>>;
12038
+ }, z.core.$strip>;
12039
+ };
12040
+ INVALID_RESUME: {
12041
+ readonly message: "The resume offset is past the end of the output";
12042
+ readonly status: 409;
12043
+ readonly data: z.ZodReadonly<z.ZodObject<{
12044
+ end: z.ZodInt;
12045
+ bufferStart: z.ZodInt;
12046
+ }, z.core.$strip>>;
10727
12047
  };
10728
12048
  DISK_FULL: {
10729
12049
  readonly message: "Not enough free disk on the host";
@@ -10877,7 +12197,27 @@ declare const impContract: {
10877
12197
  sleeping: "sleeping";
10878
12198
  stopped: "stopped";
10879
12199
  }>>;
10880
- }, z.core.$strip>;
12200
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
12201
+ bootId: z.ZodString;
12202
+ cause: z.ZodEnum<{
12203
+ recovery: "recovery";
12204
+ restore: "restore";
12205
+ start: "start";
12206
+ unknown: "unknown";
12207
+ wake_fallback: "wake_fallback";
12208
+ watchdog: "watchdog";
12209
+ }>;
12210
+ at: z.ZodISODateTime;
12211
+ }, z.core.$strip>>>>>;
12212
+ }, z.core.$strip>;
12213
+ };
12214
+ INVALID_RESUME: {
12215
+ readonly message: "The resume offset is past the end of the output";
12216
+ readonly status: 409;
12217
+ readonly data: z.ZodReadonly<z.ZodObject<{
12218
+ end: z.ZodInt;
12219
+ bufferStart: z.ZodInt;
12220
+ }, z.core.$strip>>;
10881
12221
  };
10882
12222
  DISK_FULL: {
10883
12223
  readonly message: "Not enough free disk on the host";
@@ -11019,7 +12359,27 @@ declare const impContract: {
11019
12359
  sleeping: "sleeping";
11020
12360
  stopped: "stopped";
11021
12361
  }>>;
11022
- }, z.core.$strip>;
12362
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
12363
+ bootId: z.ZodString;
12364
+ cause: z.ZodEnum<{
12365
+ recovery: "recovery";
12366
+ restore: "restore";
12367
+ start: "start";
12368
+ unknown: "unknown";
12369
+ wake_fallback: "wake_fallback";
12370
+ watchdog: "watchdog";
12371
+ }>;
12372
+ at: z.ZodISODateTime;
12373
+ }, z.core.$strip>>>>>;
12374
+ }, z.core.$strip>;
12375
+ };
12376
+ INVALID_RESUME: {
12377
+ readonly message: "The resume offset is past the end of the output";
12378
+ readonly status: 409;
12379
+ readonly data: z.ZodReadonly<z.ZodObject<{
12380
+ end: z.ZodInt;
12381
+ bufferStart: z.ZodInt;
12382
+ }, z.core.$strip>>;
11023
12383
  };
11024
12384
  DISK_FULL: {
11025
12385
  readonly message: "Not enough free disk on the host";
@@ -11171,7 +12531,27 @@ declare const impContract: {
11171
12531
  sleeping: "sleeping";
11172
12532
  stopped: "stopped";
11173
12533
  }>>;
11174
- }, z.core.$strip>;
12534
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
12535
+ bootId: z.ZodString;
12536
+ cause: z.ZodEnum<{
12537
+ recovery: "recovery";
12538
+ restore: "restore";
12539
+ start: "start";
12540
+ unknown: "unknown";
12541
+ wake_fallback: "wake_fallback";
12542
+ watchdog: "watchdog";
12543
+ }>;
12544
+ at: z.ZodISODateTime;
12545
+ }, z.core.$strip>>>>>;
12546
+ }, z.core.$strip>;
12547
+ };
12548
+ INVALID_RESUME: {
12549
+ readonly message: "The resume offset is past the end of the output";
12550
+ readonly status: 409;
12551
+ readonly data: z.ZodReadonly<z.ZodObject<{
12552
+ end: z.ZodInt;
12553
+ bufferStart: z.ZodInt;
12554
+ }, z.core.$strip>>;
11175
12555
  };
11176
12556
  DISK_FULL: {
11177
12557
  readonly message: "Not enough free disk on the host";
@@ -11299,7 +12679,27 @@ declare const impContract: {
11299
12679
  sleeping: "sleeping";
11300
12680
  stopped: "stopped";
11301
12681
  }>>;
11302
- }, z.core.$strip>;
12682
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
12683
+ bootId: z.ZodString;
12684
+ cause: z.ZodEnum<{
12685
+ recovery: "recovery";
12686
+ restore: "restore";
12687
+ start: "start";
12688
+ unknown: "unknown";
12689
+ wake_fallback: "wake_fallback";
12690
+ watchdog: "watchdog";
12691
+ }>;
12692
+ at: z.ZodISODateTime;
12693
+ }, z.core.$strip>>>>>;
12694
+ }, z.core.$strip>;
12695
+ };
12696
+ INVALID_RESUME: {
12697
+ readonly message: "The resume offset is past the end of the output";
12698
+ readonly status: 409;
12699
+ readonly data: z.ZodReadonly<z.ZodObject<{
12700
+ end: z.ZodInt;
12701
+ bufferStart: z.ZodInt;
12702
+ }, z.core.$strip>>;
11303
12703
  };
11304
12704
  DISK_FULL: {
11305
12705
  readonly message: "Not enough free disk on the host";
@@ -11432,7 +12832,27 @@ declare const impContract: {
11432
12832
  sleeping: "sleeping";
11433
12833
  stopped: "stopped";
11434
12834
  }>>;
11435
- }, z.core.$strip>;
12835
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
12836
+ bootId: z.ZodString;
12837
+ cause: z.ZodEnum<{
12838
+ recovery: "recovery";
12839
+ restore: "restore";
12840
+ start: "start";
12841
+ unknown: "unknown";
12842
+ wake_fallback: "wake_fallback";
12843
+ watchdog: "watchdog";
12844
+ }>;
12845
+ at: z.ZodISODateTime;
12846
+ }, z.core.$strip>>>>>;
12847
+ }, z.core.$strip>;
12848
+ };
12849
+ INVALID_RESUME: {
12850
+ readonly message: "The resume offset is past the end of the output";
12851
+ readonly status: 409;
12852
+ readonly data: z.ZodReadonly<z.ZodObject<{
12853
+ end: z.ZodInt;
12854
+ bufferStart: z.ZodInt;
12855
+ }, z.core.$strip>>;
11436
12856
  };
11437
12857
  DISK_FULL: {
11438
12858
  readonly message: "Not enough free disk on the host";
@@ -11561,7 +12981,27 @@ declare const impContract: {
11561
12981
  sleeping: "sleeping";
11562
12982
  stopped: "stopped";
11563
12983
  }>>;
11564
- }, z.core.$strip>;
12984
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
12985
+ bootId: z.ZodString;
12986
+ cause: z.ZodEnum<{
12987
+ recovery: "recovery";
12988
+ restore: "restore";
12989
+ start: "start";
12990
+ unknown: "unknown";
12991
+ wake_fallback: "wake_fallback";
12992
+ watchdog: "watchdog";
12993
+ }>;
12994
+ at: z.ZodISODateTime;
12995
+ }, z.core.$strip>>>>>;
12996
+ }, z.core.$strip>;
12997
+ };
12998
+ INVALID_RESUME: {
12999
+ readonly message: "The resume offset is past the end of the output";
13000
+ readonly status: 409;
13001
+ readonly data: z.ZodReadonly<z.ZodObject<{
13002
+ end: z.ZodInt;
13003
+ bufferStart: z.ZodInt;
13004
+ }, z.core.$strip>>;
11565
13005
  };
11566
13006
  DISK_FULL: {
11567
13007
  readonly message: "Not enough free disk on the host";
@@ -11701,7 +13141,27 @@ declare const impContract: {
11701
13141
  sleeping: "sleeping";
11702
13142
  stopped: "stopped";
11703
13143
  }>>;
11704
- }, z.core.$strip>;
13144
+ coldBoots: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
13145
+ bootId: z.ZodString;
13146
+ cause: z.ZodEnum<{
13147
+ recovery: "recovery";
13148
+ restore: "restore";
13149
+ start: "start";
13150
+ unknown: "unknown";
13151
+ wake_fallback: "wake_fallback";
13152
+ watchdog: "watchdog";
13153
+ }>;
13154
+ at: z.ZodISODateTime;
13155
+ }, z.core.$strip>>>>>;
13156
+ }, z.core.$strip>;
13157
+ };
13158
+ INVALID_RESUME: {
13159
+ readonly message: "The resume offset is past the end of the output";
13160
+ readonly status: 409;
13161
+ readonly data: z.ZodReadonly<z.ZodObject<{
13162
+ end: z.ZodInt;
13163
+ bufferStart: z.ZodInt;
13164
+ }, z.core.$strip>>;
11705
13165
  };
11706
13166
  DISK_FULL: {
11707
13167
  readonly message: "Not enough free disk on the host";
@@ -11863,9 +13323,130 @@ declare const SessionSchema: z.ZodObject<{
11863
13323
  code: z.ZodNullable<z.ZodInt>;
11864
13324
  signal: z.ZodNullable<z.ZodString>;
11865
13325
  }, z.core.$strip>>>;
13326
+ continuity: z.ZodOptional<z.ZodEnum<{
13327
+ none: "none";
13328
+ offsets: "offsets";
13329
+ }>>;
13330
+ executionGeneration: z.ZodOptional<z.ZodString>;
13331
+ bootId: z.ZodOptional<z.ZodString>;
13332
+ end: z.ZodOptional<z.ZodInt>;
13333
+ endObservedAt: z.ZodOptional<z.ZodDate>;
11866
13334
  }, z.core.$strip>;
11867
13335
  type Session = z.infer<typeof SessionSchema>;
11868
13336
  //#endregion
13337
+ //#region ../api/src/session-output-schema.d.ts
13338
+ declare const ColdBootCauseSchema: z.ZodEnum<{
13339
+ recovery: "recovery";
13340
+ restore: "restore";
13341
+ start: "start";
13342
+ unknown: "unknown";
13343
+ wake_fallback: "wake_fallback";
13344
+ watchdog: "watchdog";
13345
+ }>;
13346
+ type ColdBootCause = z.infer<typeof ColdBootCauseSchema>;
13347
+ declare const ColdBootSchema: z.ZodReadonly<z.ZodObject<{
13348
+ bootId: z.ZodString;
13349
+ cause: z.ZodEnum<{
13350
+ recovery: "recovery";
13351
+ restore: "restore";
13352
+ start: "start";
13353
+ unknown: "unknown";
13354
+ wake_fallback: "wake_fallback";
13355
+ watchdog: "watchdog";
13356
+ }>;
13357
+ at: z.ZodISODateTime;
13358
+ }, z.core.$strip>>;
13359
+ type ColdBoot = z.infer<typeof ColdBootSchema>;
13360
+ declare const PreviousGenerationSchema: z.ZodReadonly<z.ZodObject<{
13361
+ executionGeneration: z.ZodString;
13362
+ end: z.ZodInt;
13363
+ exitCode: z.ZodNullable<z.ZodInt>;
13364
+ }, z.core.$strip>>;
13365
+ type PreviousGeneration = z.infer<typeof PreviousGenerationSchema>;
13366
+ declare const ResumeFromSchema: z.ZodReadonly<z.ZodObject<{
13367
+ executionGeneration: z.ZodString;
13368
+ offset: z.ZodInt;
13369
+ }, z.core.$strip>>;
13370
+ type ResumeFrom = z.infer<typeof ResumeFromSchema>;
13371
+ declare const ResumeResultSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
13372
+ kind: z.ZodLiteral<"exact">;
13373
+ }, z.core.$strip>, z.ZodObject<{
13374
+ kind: z.ZodLiteral<"gap">;
13375
+ from: z.ZodInt;
13376
+ to: z.ZodInt;
13377
+ }, z.core.$strip>, z.ZodObject<{
13378
+ kind: z.ZodLiteral<"generation_changed">;
13379
+ executionGeneration: z.ZodString;
13380
+ firstOffset: z.ZodInt;
13381
+ }, z.core.$strip>], "kind">>;
13382
+ type ResumeResult = z.infer<typeof ResumeResultSchema>;
13383
+ declare const SessionOutputSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
13384
+ continuity: z.ZodLiteral<"none">;
13385
+ }, z.core.$strip>, z.ZodObject<{
13386
+ continuity: z.ZodLiteral<"offsets">;
13387
+ bootId: z.ZodString;
13388
+ executionGeneration: z.ZodString;
13389
+ bufferStart: z.ZodInt;
13390
+ end: z.ZodInt;
13391
+ offset: z.ZodInt;
13392
+ prelude: z.ZodInt;
13393
+ coldBoots: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
13394
+ bootId: z.ZodString;
13395
+ cause: z.ZodEnum<{
13396
+ recovery: "recovery";
13397
+ restore: "restore";
13398
+ start: "start";
13399
+ unknown: "unknown";
13400
+ wake_fallback: "wake_fallback";
13401
+ watchdog: "watchdog";
13402
+ }>;
13403
+ at: z.ZodISODateTime;
13404
+ }, z.core.$strip>>>>;
13405
+ previous: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
13406
+ executionGeneration: z.ZodString;
13407
+ end: z.ZodInt;
13408
+ exitCode: z.ZodNullable<z.ZodInt>;
13409
+ }, z.core.$strip>>>;
13410
+ resume: z.ZodOptional<z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
13411
+ kind: z.ZodLiteral<"exact">;
13412
+ }, z.core.$strip>, z.ZodObject<{
13413
+ kind: z.ZodLiteral<"gap">;
13414
+ from: z.ZodInt;
13415
+ to: z.ZodInt;
13416
+ }, z.core.$strip>, z.ZodObject<{
13417
+ kind: z.ZodLiteral<"generation_changed">;
13418
+ executionGeneration: z.ZodString;
13419
+ firstOffset: z.ZodInt;
13420
+ }, z.core.$strip>], "kind">>>;
13421
+ }, z.core.$strip>], "continuity">>;
13422
+ type SessionOutput = z.infer<typeof SessionOutputSchema>;
13423
+ declare const NoSessionDataSchema: z.ZodReadonly<z.ZodObject<{
13424
+ bootId: z.ZodString;
13425
+ coldBoots: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
13426
+ bootId: z.ZodString;
13427
+ cause: z.ZodEnum<{
13428
+ recovery: "recovery";
13429
+ restore: "restore";
13430
+ start: "start";
13431
+ unknown: "unknown";
13432
+ wake_fallback: "wake_fallback";
13433
+ watchdog: "watchdog";
13434
+ }>;
13435
+ at: z.ZodISODateTime;
13436
+ }, z.core.$strip>>>>;
13437
+ previous: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
13438
+ executionGeneration: z.ZodString;
13439
+ end: z.ZodInt;
13440
+ exitCode: z.ZodNullable<z.ZodInt>;
13441
+ }, z.core.$strip>>>;
13442
+ }, z.core.$strip>>;
13443
+ type NoSessionData = z.infer<typeof NoSessionDataSchema>;
13444
+ declare const InvalidResumeDataSchema: z.ZodReadonly<z.ZodObject<{
13445
+ end: z.ZodInt;
13446
+ bufferStart: z.ZodInt;
13447
+ }, z.core.$strip>>;
13448
+ type InvalidResumeData = z.infer<typeof InvalidResumeDataSchema>;
13449
+ //#endregion
11869
13450
  //#region ../api/src/system-info-schema.d.ts
11870
13451
  declare const SystemInfoSchema: z.ZodObject<{
11871
13452
  version: z.ZodString;
@@ -12011,23 +13592,28 @@ interface ExecStart {
12011
13592
  readonly rows?: number;
12012
13593
  readonly session?: string;
12013
13594
  readonly killGraceMs?: number;
13595
+ readonly resumeFrom?: ResumeFrom;
12014
13596
  }
12015
13597
  interface ExecAttach {
12016
13598
  readonly name: string;
12017
13599
  readonly session: string;
12018
13600
  readonly cols?: number;
12019
13601
  readonly rows?: number;
13602
+ readonly resumeFrom?: ResumeFrom;
13603
+ readonly wake?: boolean;
12020
13604
  }
12021
13605
  interface ExecStarted {
12022
13606
  readonly pid: number;
12023
13607
  readonly session: string | null;
12024
13608
  readonly created: boolean;
12025
13609
  readonly groupKill: boolean;
13610
+ readonly output: SessionOutput;
12026
13611
  }
12027
13612
  type ExecOutcome = {
12028
13613
  readonly kind: 'exit';
12029
13614
  readonly code: number | null;
12030
13615
  readonly signal: string | null;
13616
+ readonly offset?: number;
12031
13617
  } | {
12032
13618
  readonly kind: 'failed';
12033
13619
  readonly code: string | null;
@@ -12042,6 +13628,7 @@ type ExecOutcome = {
12042
13628
  } | {
12043
13629
  readonly kind: 'detached';
12044
13630
  readonly reason: DetachReason;
13631
+ readonly offset?: number;
12045
13632
  } | {
12046
13633
  readonly kind: 'closed';
12047
13634
  readonly reason: string;
@@ -12085,12 +13672,14 @@ interface ExecOptions {
12085
13672
  readonly rows?: number;
12086
13673
  readonly session?: string;
12087
13674
  readonly killGraceMs?: number;
13675
+ readonly resumeFrom?: ResumeFrom;
12088
13676
  readonly signal?: Readonly<AbortSignal>;
12089
13677
  readonly maxUnreadBytes?: number;
12090
13678
  }
12091
13679
  interface ExecExit {
12092
13680
  readonly code: number | null;
12093
13681
  readonly signal: string | null;
13682
+ readonly offset?: number;
12094
13683
  }
12095
13684
  interface ExecHandle {
12096
13685
  readonly started: Promise<ExecStarted>;
@@ -12103,7 +13692,9 @@ interface ExecHandle {
12103
13692
  readonly sendSignal: (signal: string) => void;
12104
13693
  readonly close: () => void;
12105
13694
  }
12106
- type AttachOptions = Pick<ExecOptions, 'cols' | 'rows' | 'signal' | 'maxUnreadBytes'>;
13695
+ interface AttachOptions extends Pick<ExecOptions, 'cols' | 'rows' | 'signal' | 'maxUnreadBytes' | 'resumeFrom'> {
13696
+ readonly wake?: boolean;
13697
+ }
12107
13698
  type ConsoleOptions = Omit<ExecOptions, 'tty'>;
12108
13699
  interface RunResult extends ExecExit {
12109
13700
  readonly stdout: Uint8Array;
@@ -12204,4 +13795,27 @@ export declare class ExecError extends Error {
12204
13795
  }>);
12205
13796
  }
12206
13797
  //#endregion
12207
- export { type ApiCall, type AttachOptions, type BuildContext, type BuildImageOptions, type Checkpoint, type ConsoleOptions, type DetachReason, type ExecClientErrorCode, type ExecExit, type ExecHandle, type ExecOptions, type ExecOutcome, type ExecSession, type ExecSessionOptions, type ExecSocket, type ExecStarted, type Identity, type Image, type Imp, type ImpClient, type ImpClientOptions, type ImpEvent, type ImpState, ORPCError, type RequireAwakeOptions, type ReverseForward, type ReverseForwardEnd, type ReverseForwardOptions, type ReverseGuest, type ReverseListening, type ReverseRelay, type ReverseRelayHandlers, type RunOptions, type RunResult, type Scope, type ServerCheck, type Session, type SshKey, type SystemInfo, type Token, isDefinedError, safe };
13798
+ //#region src/exec/invalid-resume-error.d.ts
13799
+ export declare class InvalidResumeError extends ExecError {
13800
+ readonly data: InvalidResumeData;
13801
+ constructor(message: string, data: InvalidResumeData);
13802
+ }
13803
+ //#endregion
13804
+ //#region src/exec/invalid-state-error.d.ts
13805
+ interface InvalidStateData {
13806
+ readonly state: ImpState;
13807
+ readonly allowed: readonly ImpState[];
13808
+ readonly coldBoots?: readonly ColdBoot[] | undefined;
13809
+ }
13810
+ export declare class InvalidStateError extends ExecError {
13811
+ readonly data: InvalidStateData;
13812
+ constructor(message: string, data: Readonly<InvalidStateData>);
13813
+ }
13814
+ //#endregion
13815
+ //#region src/exec/no-session-error.d.ts
13816
+ export declare class NoSessionError extends ExecError {
13817
+ readonly data: NoSessionData | undefined;
13818
+ constructor(message: string, data: NoSessionData | undefined);
13819
+ }
13820
+ //#endregion
13821
+ export { type ApiCall, type AttachOptions, type BuildContext, type BuildImageOptions, type Checkpoint, type ColdBoot, type ColdBootCause, type ConsoleOptions, type DetachReason, type ExecClientErrorCode, type ExecExit, type ExecHandle, type ExecOptions, type ExecOutcome, type ExecSession, type ExecSessionOptions, type ExecSocket, type ExecStarted, type Identity, type Image, type Imp, type ImpClient, type ImpClientOptions, type ImpEvent, type ImpState, type InvalidResumeData, type InvalidStateData, type NoSessionData, ORPCError, type PreviousGeneration, type RequireAwakeOptions, type ResumeFrom, type ResumeResult, type ReverseForward, type ReverseForwardEnd, type ReverseForwardOptions, type ReverseGuest, type ReverseListening, type ReverseRelay, type ReverseRelayHandlers, type RunOptions, type RunResult, type Scope, type ServerCheck, type Session, type SessionOutput, type SshKey, type SystemInfo, type Token, isDefinedError, safe };