@zgeoff/imp-client 0.10.0 → 0.13.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
@@ -67,6 +67,13 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
67
  port: z.ZodInt;
68
68
  httpPort: z.ZodInt;
69
69
  url: z.ZodURL;
70
+ public: z.ZodOptional<z.ZodObject<{
71
+ auth: z.ZodEnum<{
72
+ basic: "basic";
73
+ none: "none";
74
+ token: "token";
75
+ }>;
76
+ }, z.core.$strip>>;
70
77
  createdAt: z.ZodDate;
71
78
  lastActiveAt: z.ZodDate;
72
79
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -76,10 +83,12 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
76
83
  error: z.ZodOptional<z.ZodString>;
77
84
  sessions: z.ZodOptional<z.ZodInt>;
78
85
  coldBootReason: z.ZodOptional<z.ZodString>;
86
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
79
87
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
80
88
  agent: "agent";
81
89
  firecracker: "firecracker";
82
90
  impd: "impd";
91
+ ipv6: "ipv6";
83
92
  kernel: "kernel";
84
93
  }>>>>;
85
94
  cpu: z.ZodOptional<z.ZodObject<{
@@ -106,6 +115,7 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
106
115
  reason: z.ZodEnum<{
107
116
  adopted: "adopted";
108
117
  booted: "booted";
118
+ exposed: "exposed";
109
119
  failed: "failed";
110
120
  held: "held";
111
121
  repaired: "repaired";
@@ -142,6 +152,13 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
142
152
  port: z.ZodInt;
143
153
  httpPort: z.ZodInt;
144
154
  url: z.ZodURL;
155
+ public: z.ZodOptional<z.ZodObject<{
156
+ auth: z.ZodEnum<{
157
+ basic: "basic";
158
+ none: "none";
159
+ token: "token";
160
+ }>;
161
+ }, z.core.$strip>>;
145
162
  createdAt: z.ZodDate;
146
163
  lastActiveAt: z.ZodDate;
147
164
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -151,10 +168,12 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
151
168
  error: z.ZodOptional<z.ZodString>;
152
169
  sessions: z.ZodOptional<z.ZodInt>;
153
170
  coldBootReason: z.ZodOptional<z.ZodString>;
171
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
154
172
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
155
173
  agent: "agent";
156
174
  firecracker: "firecracker";
157
175
  impd: "impd";
176
+ ipv6: "ipv6";
158
177
  kernel: "kernel";
159
178
  }>>>>;
160
179
  cpu: z.ZodOptional<z.ZodObject<{
@@ -210,6 +229,13 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
210
229
  port: z.ZodInt;
211
230
  httpPort: z.ZodInt;
212
231
  url: z.ZodURL;
232
+ public: z.ZodOptional<z.ZodObject<{
233
+ auth: z.ZodEnum<{
234
+ basic: "basic";
235
+ none: "none";
236
+ token: "token";
237
+ }>;
238
+ }, z.core.$strip>>;
213
239
  createdAt: z.ZodDate;
214
240
  lastActiveAt: z.ZodDate;
215
241
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -219,10 +245,12 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
219
245
  error: z.ZodOptional<z.ZodString>;
220
246
  sessions: z.ZodOptional<z.ZodInt>;
221
247
  coldBootReason: z.ZodOptional<z.ZodString>;
248
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
222
249
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
223
250
  agent: "agent";
224
251
  firecracker: "firecracker";
225
252
  impd: "impd";
253
+ ipv6: "ipv6";
226
254
  kernel: "kernel";
227
255
  }>>>>;
228
256
  cpu: z.ZodOptional<z.ZodObject<{
@@ -289,6 +317,10 @@ declare const ImageSchema: z.ZodObject<{
289
317
  name: z.ZodString;
290
318
  ref: z.ZodString;
291
319
  digest: z.ZodString;
320
+ source: z.ZodEnum<{
321
+ imp: "imp";
322
+ oci: "oci";
323
+ }>;
292
324
  createdAt: z.ZodDate;
293
325
  sizeBytes: z.ZodInt;
294
326
  }, z.core.$strip>;
@@ -314,6 +346,7 @@ declare const impContract: {
314
346
  }, z.core.$strip>>;
315
347
  cpuLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
316
348
  cpuWeight: z.ZodOptional<z.ZodInt>;
349
+ networks: z.ZodOptional<z.ZodArray<z.ZodString>>;
317
350
  }, z.core.$strip>, z.ZodObject<{
318
351
  id: z.ZodString;
319
352
  name: z.ZodString;
@@ -340,6 +373,13 @@ declare const impContract: {
340
373
  port: z.ZodInt;
341
374
  httpPort: z.ZodInt;
342
375
  url: z.ZodURL;
376
+ public: z.ZodOptional<z.ZodObject<{
377
+ auth: z.ZodEnum<{
378
+ basic: "basic";
379
+ none: "none";
380
+ token: "token";
381
+ }>;
382
+ }, z.core.$strip>>;
343
383
  createdAt: z.ZodDate;
344
384
  lastActiveAt: z.ZodDate;
345
385
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -349,10 +389,12 @@ declare const impContract: {
349
389
  error: z.ZodOptional<z.ZodString>;
350
390
  sessions: z.ZodOptional<z.ZodInt>;
351
391
  coldBootReason: z.ZodOptional<z.ZodString>;
392
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
352
393
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
353
394
  agent: "agent";
354
395
  firecracker: "firecracker";
355
396
  impd: "impd";
397
+ ipv6: "ipv6";
356
398
  kernel: "kernel";
357
399
  }>>>>;
358
400
  cpu: z.ZodOptional<z.ZodObject<{
@@ -381,6 +423,7 @@ declare const impContract: {
381
423
  grant: "grant";
382
424
  image: "image";
383
425
  imp: "imp";
426
+ network: "network";
384
427
  secret: "secret";
385
428
  service: "service";
386
429
  session: "session";
@@ -399,6 +442,7 @@ declare const impContract: {
399
442
  grant: "grant";
400
443
  image: "image";
401
444
  imp: "imp";
445
+ network: "network";
402
446
  secret: "secret";
403
447
  service: "service";
404
448
  session: "session";
@@ -486,6 +530,13 @@ declare const impContract: {
486
530
  port: z.ZodInt;
487
531
  httpPort: z.ZodInt;
488
532
  url: z.ZodURL;
533
+ public: z.ZodOptional<z.ZodObject<{
534
+ auth: z.ZodEnum<{
535
+ basic: "basic";
536
+ none: "none";
537
+ token: "token";
538
+ }>;
539
+ }, z.core.$strip>>;
489
540
  createdAt: z.ZodDate;
490
541
  lastActiveAt: z.ZodDate;
491
542
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -495,10 +546,12 @@ declare const impContract: {
495
546
  error: z.ZodOptional<z.ZodString>;
496
547
  sessions: z.ZodOptional<z.ZodInt>;
497
548
  coldBootReason: z.ZodOptional<z.ZodString>;
549
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
498
550
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
499
551
  agent: "agent";
500
552
  firecracker: "firecracker";
501
553
  impd: "impd";
554
+ ipv6: "ipv6";
502
555
  kernel: "kernel";
503
556
  }>>>>;
504
557
  cpu: z.ZodOptional<z.ZodObject<{
@@ -527,6 +580,7 @@ declare const impContract: {
527
580
  grant: "grant";
528
581
  image: "image";
529
582
  imp: "imp";
583
+ network: "network";
530
584
  secret: "secret";
531
585
  service: "service";
532
586
  session: "session";
@@ -545,6 +599,7 @@ declare const impContract: {
545
599
  grant: "grant";
546
600
  image: "image";
547
601
  imp: "imp";
602
+ network: "network";
548
603
  secret: "secret";
549
604
  service: "service";
550
605
  session: "session";
@@ -634,6 +689,13 @@ declare const impContract: {
634
689
  port: z.ZodInt;
635
690
  httpPort: z.ZodInt;
636
691
  url: z.ZodURL;
692
+ public: z.ZodOptional<z.ZodObject<{
693
+ auth: z.ZodEnum<{
694
+ basic: "basic";
695
+ none: "none";
696
+ token: "token";
697
+ }>;
698
+ }, z.core.$strip>>;
637
699
  createdAt: z.ZodDate;
638
700
  lastActiveAt: z.ZodDate;
639
701
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -643,10 +705,12 @@ declare const impContract: {
643
705
  error: z.ZodOptional<z.ZodString>;
644
706
  sessions: z.ZodOptional<z.ZodInt>;
645
707
  coldBootReason: z.ZodOptional<z.ZodString>;
708
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
646
709
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
647
710
  agent: "agent";
648
711
  firecracker: "firecracker";
649
712
  impd: "impd";
713
+ ipv6: "ipv6";
650
714
  kernel: "kernel";
651
715
  }>>>>;
652
716
  cpu: z.ZodOptional<z.ZodObject<{
@@ -675,6 +739,7 @@ declare const impContract: {
675
739
  grant: "grant";
676
740
  image: "image";
677
741
  imp: "imp";
742
+ network: "network";
678
743
  secret: "secret";
679
744
  service: "service";
680
745
  session: "session";
@@ -693,6 +758,7 @@ declare const impContract: {
693
758
  grant: "grant";
694
759
  image: "image";
695
760
  imp: "imp";
761
+ network: "network";
696
762
  secret: "secret";
697
763
  service: "service";
698
764
  session: "session";
@@ -766,6 +832,7 @@ declare const impContract: {
766
832
  grant: "grant";
767
833
  image: "image";
768
834
  imp: "imp";
835
+ network: "network";
769
836
  secret: "secret";
770
837
  service: "service";
771
838
  session: "session";
@@ -784,6 +851,7 @@ declare const impContract: {
784
851
  grant: "grant";
785
852
  image: "image";
786
853
  imp: "imp";
854
+ network: "network";
787
855
  secret: "secret";
788
856
  service: "service";
789
857
  session: "session";
@@ -873,6 +941,13 @@ declare const impContract: {
873
941
  port: z.ZodInt;
874
942
  httpPort: z.ZodInt;
875
943
  url: z.ZodURL;
944
+ public: z.ZodOptional<z.ZodObject<{
945
+ auth: z.ZodEnum<{
946
+ basic: "basic";
947
+ none: "none";
948
+ token: "token";
949
+ }>;
950
+ }, z.core.$strip>>;
876
951
  createdAt: z.ZodDate;
877
952
  lastActiveAt: z.ZodDate;
878
953
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -882,10 +957,12 @@ declare const impContract: {
882
957
  error: z.ZodOptional<z.ZodString>;
883
958
  sessions: z.ZodOptional<z.ZodInt>;
884
959
  coldBootReason: z.ZodOptional<z.ZodString>;
960
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
885
961
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
886
962
  agent: "agent";
887
963
  firecracker: "firecracker";
888
964
  impd: "impd";
965
+ ipv6: "ipv6";
889
966
  kernel: "kernel";
890
967
  }>>>>;
891
968
  cpu: z.ZodOptional<z.ZodObject<{
@@ -914,6 +991,7 @@ declare const impContract: {
914
991
  grant: "grant";
915
992
  image: "image";
916
993
  imp: "imp";
994
+ network: "network";
917
995
  secret: "secret";
918
996
  service: "service";
919
997
  session: "session";
@@ -932,6 +1010,7 @@ declare const impContract: {
932
1010
  grant: "grant";
933
1011
  image: "image";
934
1012
  imp: "imp";
1013
+ network: "network";
935
1014
  secret: "secret";
936
1015
  service: "service";
937
1016
  session: "session";
@@ -1021,6 +1100,13 @@ declare const impContract: {
1021
1100
  port: z.ZodInt;
1022
1101
  httpPort: z.ZodInt;
1023
1102
  url: z.ZodURL;
1103
+ public: z.ZodOptional<z.ZodObject<{
1104
+ auth: z.ZodEnum<{
1105
+ basic: "basic";
1106
+ none: "none";
1107
+ token: "token";
1108
+ }>;
1109
+ }, z.core.$strip>>;
1024
1110
  createdAt: z.ZodDate;
1025
1111
  lastActiveAt: z.ZodDate;
1026
1112
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -1030,10 +1116,12 @@ declare const impContract: {
1030
1116
  error: z.ZodOptional<z.ZodString>;
1031
1117
  sessions: z.ZodOptional<z.ZodInt>;
1032
1118
  coldBootReason: z.ZodOptional<z.ZodString>;
1119
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
1033
1120
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
1034
1121
  agent: "agent";
1035
1122
  firecracker: "firecracker";
1036
1123
  impd: "impd";
1124
+ ipv6: "ipv6";
1037
1125
  kernel: "kernel";
1038
1126
  }>>>>;
1039
1127
  cpu: z.ZodOptional<z.ZodObject<{
@@ -1062,6 +1150,7 @@ declare const impContract: {
1062
1150
  grant: "grant";
1063
1151
  image: "image";
1064
1152
  imp: "imp";
1153
+ network: "network";
1065
1154
  secret: "secret";
1066
1155
  service: "service";
1067
1156
  session: "session";
@@ -1080,6 +1169,7 @@ declare const impContract: {
1080
1169
  grant: "grant";
1081
1170
  image: "image";
1082
1171
  imp: "imp";
1172
+ network: "network";
1083
1173
  secret: "secret";
1084
1174
  service: "service";
1085
1175
  session: "session";
@@ -1169,6 +1259,13 @@ declare const impContract: {
1169
1259
  port: z.ZodInt;
1170
1260
  httpPort: z.ZodInt;
1171
1261
  url: z.ZodURL;
1262
+ public: z.ZodOptional<z.ZodObject<{
1263
+ auth: z.ZodEnum<{
1264
+ basic: "basic";
1265
+ none: "none";
1266
+ token: "token";
1267
+ }>;
1268
+ }, z.core.$strip>>;
1172
1269
  createdAt: z.ZodDate;
1173
1270
  lastActiveAt: z.ZodDate;
1174
1271
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -1178,10 +1275,12 @@ declare const impContract: {
1178
1275
  error: z.ZodOptional<z.ZodString>;
1179
1276
  sessions: z.ZodOptional<z.ZodInt>;
1180
1277
  coldBootReason: z.ZodOptional<z.ZodString>;
1278
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
1181
1279
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
1182
1280
  agent: "agent";
1183
1281
  firecracker: "firecracker";
1184
1282
  impd: "impd";
1283
+ ipv6: "ipv6";
1185
1284
  kernel: "kernel";
1186
1285
  }>>>>;
1187
1286
  cpu: z.ZodOptional<z.ZodObject<{
@@ -1210,6 +1309,7 @@ declare const impContract: {
1210
1309
  grant: "grant";
1211
1310
  image: "image";
1212
1311
  imp: "imp";
1312
+ network: "network";
1213
1313
  secret: "secret";
1214
1314
  service: "service";
1215
1315
  session: "session";
@@ -1228,6 +1328,7 @@ declare const impContract: {
1228
1328
  grant: "grant";
1229
1329
  image: "image";
1230
1330
  imp: "imp";
1331
+ network: "network";
1231
1332
  secret: "secret";
1232
1333
  service: "service";
1233
1334
  session: "session";
@@ -1318,6 +1419,13 @@ declare const impContract: {
1318
1419
  port: z.ZodInt;
1319
1420
  httpPort: z.ZodInt;
1320
1421
  url: z.ZodURL;
1422
+ public: z.ZodOptional<z.ZodObject<{
1423
+ auth: z.ZodEnum<{
1424
+ basic: "basic";
1425
+ none: "none";
1426
+ token: "token";
1427
+ }>;
1428
+ }, z.core.$strip>>;
1321
1429
  createdAt: z.ZodDate;
1322
1430
  lastActiveAt: z.ZodDate;
1323
1431
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -1327,10 +1435,12 @@ declare const impContract: {
1327
1435
  error: z.ZodOptional<z.ZodString>;
1328
1436
  sessions: z.ZodOptional<z.ZodInt>;
1329
1437
  coldBootReason: z.ZodOptional<z.ZodString>;
1438
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
1330
1439
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
1331
1440
  agent: "agent";
1332
1441
  firecracker: "firecracker";
1333
1442
  impd: "impd";
1443
+ ipv6: "ipv6";
1334
1444
  kernel: "kernel";
1335
1445
  }>>>>;
1336
1446
  cpu: z.ZodOptional<z.ZodObject<{
@@ -1359,6 +1469,7 @@ declare const impContract: {
1359
1469
  grant: "grant";
1360
1470
  image: "image";
1361
1471
  imp: "imp";
1472
+ network: "network";
1362
1473
  secret: "secret";
1363
1474
  service: "service";
1364
1475
  session: "session";
@@ -1377,6 +1488,7 @@ declare const impContract: {
1377
1488
  grant: "grant";
1378
1489
  image: "image";
1379
1490
  imp: "imp";
1491
+ network: "network";
1380
1492
  secret: "secret";
1381
1493
  service: "service";
1382
1494
  session: "session";
@@ -1467,6 +1579,13 @@ declare const impContract: {
1467
1579
  port: z.ZodInt;
1468
1580
  httpPort: z.ZodInt;
1469
1581
  url: z.ZodURL;
1582
+ public: z.ZodOptional<z.ZodObject<{
1583
+ auth: z.ZodEnum<{
1584
+ basic: "basic";
1585
+ none: "none";
1586
+ token: "token";
1587
+ }>;
1588
+ }, z.core.$strip>>;
1470
1589
  createdAt: z.ZodDate;
1471
1590
  lastActiveAt: z.ZodDate;
1472
1591
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -1476,10 +1595,12 @@ declare const impContract: {
1476
1595
  error: z.ZodOptional<z.ZodString>;
1477
1596
  sessions: z.ZodOptional<z.ZodInt>;
1478
1597
  coldBootReason: z.ZodOptional<z.ZodString>;
1598
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
1479
1599
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
1480
1600
  agent: "agent";
1481
1601
  firecracker: "firecracker";
1482
1602
  impd: "impd";
1603
+ ipv6: "ipv6";
1483
1604
  kernel: "kernel";
1484
1605
  }>>>>;
1485
1606
  cpu: z.ZodOptional<z.ZodObject<{
@@ -1508,6 +1629,7 @@ declare const impContract: {
1508
1629
  grant: "grant";
1509
1630
  image: "image";
1510
1631
  imp: "imp";
1632
+ network: "network";
1511
1633
  secret: "secret";
1512
1634
  service: "service";
1513
1635
  session: "session";
@@ -1526,6 +1648,7 @@ declare const impContract: {
1526
1648
  grant: "grant";
1527
1649
  image: "image";
1528
1650
  imp: "imp";
1651
+ network: "network";
1529
1652
  secret: "secret";
1530
1653
  service: "service";
1531
1654
  session: "session";
@@ -1616,6 +1739,13 @@ declare const impContract: {
1616
1739
  port: z.ZodInt;
1617
1740
  httpPort: z.ZodInt;
1618
1741
  url: z.ZodURL;
1742
+ public: z.ZodOptional<z.ZodObject<{
1743
+ auth: z.ZodEnum<{
1744
+ basic: "basic";
1745
+ none: "none";
1746
+ token: "token";
1747
+ }>;
1748
+ }, z.core.$strip>>;
1619
1749
  createdAt: z.ZodDate;
1620
1750
  lastActiveAt: z.ZodDate;
1621
1751
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -1625,10 +1755,12 @@ declare const impContract: {
1625
1755
  error: z.ZodOptional<z.ZodString>;
1626
1756
  sessions: z.ZodOptional<z.ZodInt>;
1627
1757
  coldBootReason: z.ZodOptional<z.ZodString>;
1758
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
1628
1759
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
1629
1760
  agent: "agent";
1630
1761
  firecracker: "firecracker";
1631
1762
  impd: "impd";
1763
+ ipv6: "ipv6";
1632
1764
  kernel: "kernel";
1633
1765
  }>>>>;
1634
1766
  cpu: z.ZodOptional<z.ZodObject<{
@@ -1657,6 +1789,7 @@ declare const impContract: {
1657
1789
  grant: "grant";
1658
1790
  image: "image";
1659
1791
  imp: "imp";
1792
+ network: "network";
1660
1793
  secret: "secret";
1661
1794
  service: "service";
1662
1795
  session: "session";
@@ -1675,6 +1808,7 @@ declare const impContract: {
1675
1808
  grant: "grant";
1676
1809
  image: "image";
1677
1810
  imp: "imp";
1811
+ network: "network";
1678
1812
  secret: "secret";
1679
1813
  service: "service";
1680
1814
  session: "session";
@@ -1741,6 +1875,7 @@ declare const impContract: {
1741
1875
  }, z.core.$strip>, z.ZodObject<{
1742
1876
  local: z.ZodURL;
1743
1877
  https: z.ZodNullable<z.ZodURL>;
1878
+ public: z.ZodNullable<z.ZodURL>;
1744
1879
  service: z.ZodNullable<z.ZodURL>;
1745
1880
  tailnet: z.ZodNullable<z.ZodURL>;
1746
1881
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
@@ -1753,6 +1888,7 @@ declare const impContract: {
1753
1888
  grant: "grant";
1754
1889
  image: "image";
1755
1890
  imp: "imp";
1891
+ network: "network";
1756
1892
  secret: "secret";
1757
1893
  service: "service";
1758
1894
  session: "session";
@@ -1771,6 +1907,7 @@ declare const impContract: {
1771
1907
  grant: "grant";
1772
1908
  image: "image";
1773
1909
  imp: "imp";
1910
+ network: "network";
1774
1911
  secret: "secret";
1775
1912
  service: "service";
1776
1913
  session: "session";
@@ -1851,6 +1988,7 @@ declare const impContract: {
1851
1988
  grant: "grant";
1852
1989
  image: "image";
1853
1990
  imp: "imp";
1991
+ network: "network";
1854
1992
  secret: "secret";
1855
1993
  service: "service";
1856
1994
  session: "session";
@@ -1869,6 +2007,7 @@ declare const impContract: {
1869
2007
  grant: "grant";
1870
2008
  image: "image";
1871
2009
  imp: "imp";
2010
+ network: "network";
1872
2011
  secret: "secret";
1873
2012
  service: "service";
1874
2013
  session: "session";
@@ -1957,6 +2096,7 @@ declare const impContract: {
1957
2096
  grant: "grant";
1958
2097
  image: "image";
1959
2098
  imp: "imp";
2099
+ network: "network";
1960
2100
  secret: "secret";
1961
2101
  service: "service";
1962
2102
  session: "session";
@@ -1975,6 +2115,7 @@ declare const impContract: {
1975
2115
  grant: "grant";
1976
2116
  image: "image";
1977
2117
  imp: "imp";
2118
+ network: "network";
1978
2119
  secret: "secret";
1979
2120
  service: "service";
1980
2121
  session: "session";
@@ -2036,10 +2177,117 @@ declare const impContract: {
2036
2177
  readonly status: 409;
2037
2178
  };
2038
2179
  }>, Record<never, never>>;
2039
- fork: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2040
- source: z.ZodString;
2180
+ expose: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2181
+ name: z.ZodString;
2182
+ auth: z.ZodDefault<z.ZodEnum<{
2183
+ basic: "basic";
2184
+ none: "none";
2185
+ token: "token";
2186
+ }>>;
2187
+ user: z.ZodOptional<z.ZodString>;
2188
+ }, z.core.$strip>, z.ZodObject<{
2189
+ url: z.ZodURL;
2190
+ auth: z.ZodEnum<{
2191
+ basic: "basic";
2192
+ none: "none";
2193
+ token: "token";
2194
+ }>;
2195
+ user: z.ZodNullable<z.ZodString>;
2196
+ credential: z.ZodNullable<z.ZodString>;
2197
+ warning: z.ZodOptional<z.ZodString>;
2198
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2199
+ NOT_FOUND: {
2200
+ readonly message: "Not found";
2201
+ readonly data: z.ZodObject<{
2202
+ kind: z.ZodEnum<{
2203
+ backup: "backup";
2204
+ checkpoint: "checkpoint";
2205
+ grant: "grant";
2206
+ image: "image";
2207
+ imp: "imp";
2208
+ network: "network";
2209
+ secret: "secret";
2210
+ service: "service";
2211
+ session: "session";
2212
+ "ssh-key": "ssh-key";
2213
+ token: "token";
2214
+ }>;
2215
+ name: z.ZodString;
2216
+ }, z.core.$strip>;
2217
+ };
2218
+ CONFLICT: {
2219
+ readonly message: "Already exists";
2220
+ readonly data: z.ZodObject<{
2221
+ kind: z.ZodEnum<{
2222
+ backup: "backup";
2223
+ checkpoint: "checkpoint";
2224
+ grant: "grant";
2225
+ image: "image";
2226
+ imp: "imp";
2227
+ network: "network";
2228
+ secret: "secret";
2229
+ service: "service";
2230
+ session: "session";
2231
+ "ssh-key": "ssh-key";
2232
+ token: "token";
2233
+ }>;
2234
+ name: z.ZodString;
2235
+ }, z.core.$strip>;
2236
+ };
2237
+ FORBIDDEN: {
2238
+ readonly message: "Not allowed";
2239
+ };
2240
+ PRECONDITION_FAILED: {
2241
+ readonly message: "Not possible on this host";
2242
+ };
2243
+ RAM_BUDGET_EXCEEDED: {
2244
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
2245
+ readonly status: 503;
2246
+ readonly data: z.ZodObject<{
2247
+ budgetMib: z.ZodInt;
2248
+ usedMib: z.ZodInt;
2249
+ requestedMib: z.ZodInt;
2250
+ }, z.core.$strip>;
2251
+ };
2252
+ SERVICE_UNAVAILABLE: {
2253
+ readonly message: "impd is stopping";
2254
+ };
2255
+ INVALID_STATE: {
2256
+ readonly message: "The imp is not in a state that allows this";
2257
+ readonly status: 409;
2258
+ readonly data: z.ZodObject<{
2259
+ state: z.ZodEnum<{
2260
+ creating: "creating";
2261
+ error: "error";
2262
+ running: "running";
2263
+ sleeping: "sleeping";
2264
+ stopped: "stopped";
2265
+ }>;
2266
+ allowed: z.ZodArray<z.ZodEnum<{
2267
+ creating: "creating";
2268
+ error: "error";
2269
+ running: "running";
2270
+ sleeping: "sleeping";
2271
+ stopped: "stopped";
2272
+ }>>;
2273
+ }, z.core.$strip>;
2274
+ };
2275
+ DISK_FULL: {
2276
+ readonly message: "Not enough free disk on the host";
2277
+ readonly status: 507;
2278
+ readonly data: z.ZodObject<{
2279
+ availableBytes: z.ZodInt;
2280
+ reserveBytes: z.ZodInt;
2281
+ requestedBytes: z.ZodInt;
2282
+ }, z.core.$strip>;
2283
+ };
2284
+ AGENT_OUTDATED: {
2285
+ readonly message: "The imp's agent is too old for this";
2286
+ readonly status: 409;
2287
+ };
2288
+ }>, Record<never, never>>;
2289
+ unexpose: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2041
2290
  name: z.ZodString;
2042
- checkpoint: z.ZodOptional<z.ZodString>;
2043
2291
  }, z.core.$strip>, z.ZodObject<{
2044
2292
  id: z.ZodString;
2045
2293
  name: z.ZodString;
@@ -2066,6 +2314,13 @@ declare const impContract: {
2066
2314
  port: z.ZodInt;
2067
2315
  httpPort: z.ZodInt;
2068
2316
  url: z.ZodURL;
2317
+ public: z.ZodOptional<z.ZodObject<{
2318
+ auth: z.ZodEnum<{
2319
+ basic: "basic";
2320
+ none: "none";
2321
+ token: "token";
2322
+ }>;
2323
+ }, z.core.$strip>>;
2069
2324
  createdAt: z.ZodDate;
2070
2325
  lastActiveAt: z.ZodDate;
2071
2326
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -2075,10 +2330,12 @@ declare const impContract: {
2075
2330
  error: z.ZodOptional<z.ZodString>;
2076
2331
  sessions: z.ZodOptional<z.ZodInt>;
2077
2332
  coldBootReason: z.ZodOptional<z.ZodString>;
2333
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
2078
2334
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
2079
2335
  agent: "agent";
2080
2336
  firecracker: "firecracker";
2081
2337
  impd: "impd";
2338
+ ipv6: "ipv6";
2082
2339
  kernel: "kernel";
2083
2340
  }>>>>;
2084
2341
  cpu: z.ZodOptional<z.ZodObject<{
@@ -2107,6 +2364,7 @@ declare const impContract: {
2107
2364
  grant: "grant";
2108
2365
  image: "image";
2109
2366
  imp: "imp";
2367
+ network: "network";
2110
2368
  secret: "secret";
2111
2369
  service: "service";
2112
2370
  session: "session";
@@ -2125,6 +2383,7 @@ declare const impContract: {
2125
2383
  grant: "grant";
2126
2384
  image: "image";
2127
2385
  imp: "imp";
2386
+ network: "network";
2128
2387
  secret: "secret";
2129
2388
  service: "service";
2130
2389
  session: "session";
@@ -2186,11 +2445,10 @@ declare const impContract: {
2186
2445
  readonly status: 409;
2187
2446
  };
2188
2447
  }>, Record<never, never>>;
2189
- update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2448
+ fork: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2449
+ source: z.ZodString;
2190
2450
  name: z.ZodString;
2191
- cpuLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2192
- cpuWeight: z.ZodOptional<z.ZodInt>;
2193
- vcpus: z.ZodOptional<z.ZodInt>;
2451
+ checkpoint: z.ZodOptional<z.ZodString>;
2194
2452
  }, z.core.$strip>, z.ZodObject<{
2195
2453
  id: z.ZodString;
2196
2454
  name: z.ZodString;
@@ -2217,6 +2475,13 @@ declare const impContract: {
2217
2475
  port: z.ZodInt;
2218
2476
  httpPort: z.ZodInt;
2219
2477
  url: z.ZodURL;
2478
+ public: z.ZodOptional<z.ZodObject<{
2479
+ auth: z.ZodEnum<{
2480
+ basic: "basic";
2481
+ none: "none";
2482
+ token: "token";
2483
+ }>;
2484
+ }, z.core.$strip>>;
2220
2485
  createdAt: z.ZodDate;
2221
2486
  lastActiveAt: z.ZodDate;
2222
2487
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -2226,10 +2491,12 @@ declare const impContract: {
2226
2491
  error: z.ZodOptional<z.ZodString>;
2227
2492
  sessions: z.ZodOptional<z.ZodInt>;
2228
2493
  coldBootReason: z.ZodOptional<z.ZodString>;
2494
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
2229
2495
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
2230
2496
  agent: "agent";
2231
2497
  firecracker: "firecracker";
2232
2498
  impd: "impd";
2499
+ ipv6: "ipv6";
2233
2500
  kernel: "kernel";
2234
2501
  }>>>>;
2235
2502
  cpu: z.ZodOptional<z.ZodObject<{
@@ -2258,6 +2525,7 @@ declare const impContract: {
2258
2525
  grant: "grant";
2259
2526
  image: "image";
2260
2527
  imp: "imp";
2528
+ network: "network";
2261
2529
  secret: "secret";
2262
2530
  service: "service";
2263
2531
  session: "session";
@@ -2276,6 +2544,7 @@ declare const impContract: {
2276
2544
  grant: "grant";
2277
2545
  image: "image";
2278
2546
  imp: "imp";
2547
+ network: "network";
2279
2548
  secret: "secret";
2280
2549
  service: "service";
2281
2550
  session: "session";
@@ -2337,17 +2606,78 @@ declare const impContract: {
2337
2606
  readonly status: 409;
2338
2607
  };
2339
2608
  }>, Record<never, never>>;
2340
- };
2341
- checkpoints: {
2342
- create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2609
+ update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2343
2610
  name: z.ZodString;
2344
- label: z.ZodOptional<z.ZodString>;
2611
+ cpuLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2612
+ cpuWeight: z.ZodOptional<z.ZodInt>;
2613
+ vcpus: z.ZodOptional<z.ZodInt>;
2614
+ httpPort: z.ZodOptional<z.ZodInt>;
2345
2615
  }, z.core.$strip>, z.ZodObject<{
2346
2616
  id: z.ZodString;
2347
- label: z.ZodOptional<z.ZodString>;
2348
- createdAt: z.ZodDate;
2349
- sizeBytes: z.ZodOptional<z.ZodInt>;
2617
+ name: z.ZodString;
2618
+ image: z.ZodString;
2619
+ state: z.ZodEnum<{
2620
+ creating: "creating";
2621
+ error: "error";
2622
+ running: "running";
2623
+ sleeping: "sleeping";
2624
+ stopped: "stopped";
2625
+ }>;
2626
+ vcpus: z.ZodInt;
2627
+ memoryMib: z.ZodInt;
2350
2628
  diskMib: z.ZodInt;
2629
+ diskUsage: z.ZodOptional<z.ZodObject<{
2630
+ exclusiveBytes: z.ZodInt;
2631
+ sharedBytes: z.ZodInt;
2632
+ measuredAt: z.ZodDate;
2633
+ isPartial: z.ZodBoolean;
2634
+ isUpperBound: z.ZodBoolean;
2635
+ }, z.core.$strip>>;
2636
+ ip: z.ZodIPv4;
2637
+ slot: z.ZodInt;
2638
+ port: z.ZodInt;
2639
+ httpPort: z.ZodInt;
2640
+ url: z.ZodURL;
2641
+ public: z.ZodOptional<z.ZodObject<{
2642
+ auth: z.ZodEnum<{
2643
+ basic: "basic";
2644
+ none: "none";
2645
+ token: "token";
2646
+ }>;
2647
+ }, z.core.$strip>>;
2648
+ createdAt: z.ZodDate;
2649
+ lastActiveAt: z.ZodDate;
2650
+ ramMib: z.ZodOptional<z.ZodInt>;
2651
+ rssMib: z.ZodOptional<z.ZodInt>;
2652
+ sleptAt: z.ZodOptional<z.ZodDate>;
2653
+ holdUntil: z.ZodOptional<z.ZodDate>;
2654
+ error: z.ZodOptional<z.ZodString>;
2655
+ sessions: z.ZodOptional<z.ZodInt>;
2656
+ coldBootReason: z.ZodOptional<z.ZodString>;
2657
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
2658
+ outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
2659
+ agent: "agent";
2660
+ firecracker: "firecracker";
2661
+ impd: "impd";
2662
+ ipv6: "ipv6";
2663
+ kernel: "kernel";
2664
+ }>>>>;
2665
+ cpu: z.ZodOptional<z.ZodObject<{
2666
+ limit: z.ZodNullable<z.ZodNumber>;
2667
+ weight: z.ZodInt;
2668
+ }, z.core.$strip>>;
2669
+ resources: z.ZodOptional<z.ZodObject<{
2670
+ wakeCount: z.ZodInt;
2671
+ awakeMs: z.ZodInt;
2672
+ sample: z.ZodOptional<z.ZodObject<{
2673
+ measuredAt: z.ZodDate;
2674
+ since: z.ZodDate;
2675
+ cpuPercent: z.ZodOptional<z.ZodNumber>;
2676
+ cpuThrottledMs: z.ZodInt;
2677
+ netRxBytes: z.ZodInt;
2678
+ netTxBytes: z.ZodInt;
2679
+ }, z.core.$strip>>;
2680
+ }, z.core.$strip>>;
2351
2681
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2352
2682
  NOT_FOUND: {
2353
2683
  readonly message: "Not found";
@@ -2358,6 +2688,7 @@ declare const impContract: {
2358
2688
  grant: "grant";
2359
2689
  image: "image";
2360
2690
  imp: "imp";
2691
+ network: "network";
2361
2692
  secret: "secret";
2362
2693
  service: "service";
2363
2694
  session: "session";
@@ -2376,6 +2707,7 @@ declare const impContract: {
2376
2707
  grant: "grant";
2377
2708
  image: "image";
2378
2709
  imp: "imp";
2710
+ network: "network";
2379
2711
  secret: "secret";
2380
2712
  service: "service";
2381
2713
  session: "session";
@@ -2437,15 +2769,18 @@ declare const impContract: {
2437
2769
  readonly status: 409;
2438
2770
  };
2439
2771
  }>, Record<never, never>>;
2440
- list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2772
+ };
2773
+ checkpoints: {
2774
+ create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2441
2775
  name: z.ZodString;
2442
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2776
+ label: z.ZodOptional<z.ZodString>;
2777
+ }, z.core.$strip>, z.ZodObject<{
2443
2778
  id: z.ZodString;
2444
2779
  label: z.ZodOptional<z.ZodString>;
2445
2780
  createdAt: z.ZodDate;
2446
2781
  sizeBytes: z.ZodOptional<z.ZodInt>;
2447
2782
  diskMib: z.ZodInt;
2448
- }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2783
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2449
2784
  NOT_FOUND: {
2450
2785
  readonly message: "Not found";
2451
2786
  readonly data: z.ZodObject<{
@@ -2455,6 +2790,7 @@ declare const impContract: {
2455
2790
  grant: "grant";
2456
2791
  image: "image";
2457
2792
  imp: "imp";
2793
+ network: "network";
2458
2794
  secret: "secret";
2459
2795
  service: "service";
2460
2796
  session: "session";
@@ -2473,6 +2809,7 @@ declare const impContract: {
2473
2809
  grant: "grant";
2474
2810
  image: "image";
2475
2811
  imp: "imp";
2812
+ network: "network";
2476
2813
  secret: "secret";
2477
2814
  service: "service";
2478
2815
  session: "session";
@@ -2534,18 +2871,117 @@ declare const impContract: {
2534
2871
  readonly status: 409;
2535
2872
  };
2536
2873
  }>, Record<never, never>>;
2537
- restore: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2874
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2538
2875
  name: z.ZodString;
2539
- checkpoint: z.ZodString;
2540
- }, z.core.$strip>, z.ZodObject<{
2876
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2541
2877
  id: z.ZodString;
2542
- name: z.ZodString;
2543
- image: z.ZodString;
2544
- state: z.ZodEnum<{
2545
- creating: "creating";
2546
- error: "error";
2547
- running: "running";
2548
- sleeping: "sleeping";
2878
+ label: z.ZodOptional<z.ZodString>;
2879
+ createdAt: z.ZodDate;
2880
+ sizeBytes: z.ZodOptional<z.ZodInt>;
2881
+ diskMib: z.ZodInt;
2882
+ }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2883
+ NOT_FOUND: {
2884
+ readonly message: "Not found";
2885
+ readonly data: z.ZodObject<{
2886
+ kind: z.ZodEnum<{
2887
+ backup: "backup";
2888
+ checkpoint: "checkpoint";
2889
+ grant: "grant";
2890
+ image: "image";
2891
+ imp: "imp";
2892
+ network: "network";
2893
+ secret: "secret";
2894
+ service: "service";
2895
+ session: "session";
2896
+ "ssh-key": "ssh-key";
2897
+ token: "token";
2898
+ }>;
2899
+ name: z.ZodString;
2900
+ }, z.core.$strip>;
2901
+ };
2902
+ CONFLICT: {
2903
+ readonly message: "Already exists";
2904
+ readonly data: z.ZodObject<{
2905
+ kind: z.ZodEnum<{
2906
+ backup: "backup";
2907
+ checkpoint: "checkpoint";
2908
+ grant: "grant";
2909
+ image: "image";
2910
+ imp: "imp";
2911
+ network: "network";
2912
+ secret: "secret";
2913
+ service: "service";
2914
+ session: "session";
2915
+ "ssh-key": "ssh-key";
2916
+ token: "token";
2917
+ }>;
2918
+ name: z.ZodString;
2919
+ }, z.core.$strip>;
2920
+ };
2921
+ FORBIDDEN: {
2922
+ readonly message: "Not allowed";
2923
+ };
2924
+ PRECONDITION_FAILED: {
2925
+ readonly message: "Not possible on this host";
2926
+ };
2927
+ RAM_BUDGET_EXCEEDED: {
2928
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
2929
+ readonly status: 503;
2930
+ readonly data: z.ZodObject<{
2931
+ budgetMib: z.ZodInt;
2932
+ usedMib: z.ZodInt;
2933
+ requestedMib: z.ZodInt;
2934
+ }, z.core.$strip>;
2935
+ };
2936
+ SERVICE_UNAVAILABLE: {
2937
+ readonly message: "impd is stopping";
2938
+ };
2939
+ INVALID_STATE: {
2940
+ readonly message: "The imp is not in a state that allows this";
2941
+ readonly status: 409;
2942
+ readonly data: z.ZodObject<{
2943
+ state: z.ZodEnum<{
2944
+ creating: "creating";
2945
+ error: "error";
2946
+ running: "running";
2947
+ sleeping: "sleeping";
2948
+ stopped: "stopped";
2949
+ }>;
2950
+ allowed: z.ZodArray<z.ZodEnum<{
2951
+ creating: "creating";
2952
+ error: "error";
2953
+ running: "running";
2954
+ sleeping: "sleeping";
2955
+ stopped: "stopped";
2956
+ }>>;
2957
+ }, z.core.$strip>;
2958
+ };
2959
+ DISK_FULL: {
2960
+ readonly message: "Not enough free disk on the host";
2961
+ readonly status: 507;
2962
+ readonly data: z.ZodObject<{
2963
+ availableBytes: z.ZodInt;
2964
+ reserveBytes: z.ZodInt;
2965
+ requestedBytes: z.ZodInt;
2966
+ }, z.core.$strip>;
2967
+ };
2968
+ AGENT_OUTDATED: {
2969
+ readonly message: "The imp's agent is too old for this";
2970
+ readonly status: 409;
2971
+ };
2972
+ }>, Record<never, never>>;
2973
+ restore: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2974
+ name: z.ZodString;
2975
+ checkpoint: z.ZodString;
2976
+ }, z.core.$strip>, z.ZodObject<{
2977
+ id: z.ZodString;
2978
+ name: z.ZodString;
2979
+ image: z.ZodString;
2980
+ state: z.ZodEnum<{
2981
+ creating: "creating";
2982
+ error: "error";
2983
+ running: "running";
2984
+ sleeping: "sleeping";
2549
2985
  stopped: "stopped";
2550
2986
  }>;
2551
2987
  vcpus: z.ZodInt;
@@ -2563,6 +2999,13 @@ declare const impContract: {
2563
2999
  port: z.ZodInt;
2564
3000
  httpPort: z.ZodInt;
2565
3001
  url: z.ZodURL;
3002
+ public: z.ZodOptional<z.ZodObject<{
3003
+ auth: z.ZodEnum<{
3004
+ basic: "basic";
3005
+ none: "none";
3006
+ token: "token";
3007
+ }>;
3008
+ }, z.core.$strip>>;
2566
3009
  createdAt: z.ZodDate;
2567
3010
  lastActiveAt: z.ZodDate;
2568
3011
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -2572,10 +3015,12 @@ declare const impContract: {
2572
3015
  error: z.ZodOptional<z.ZodString>;
2573
3016
  sessions: z.ZodOptional<z.ZodInt>;
2574
3017
  coldBootReason: z.ZodOptional<z.ZodString>;
3018
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
2575
3019
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
2576
3020
  agent: "agent";
2577
3021
  firecracker: "firecracker";
2578
3022
  impd: "impd";
3023
+ ipv6: "ipv6";
2579
3024
  kernel: "kernel";
2580
3025
  }>>>>;
2581
3026
  cpu: z.ZodOptional<z.ZodObject<{
@@ -2604,6 +3049,7 @@ declare const impContract: {
2604
3049
  grant: "grant";
2605
3050
  image: "image";
2606
3051
  imp: "imp";
3052
+ network: "network";
2607
3053
  secret: "secret";
2608
3054
  service: "service";
2609
3055
  session: "session";
@@ -2622,6 +3068,7 @@ declare const impContract: {
2622
3068
  grant: "grant";
2623
3069
  image: "image";
2624
3070
  imp: "imp";
3071
+ network: "network";
2625
3072
  secret: "secret";
2626
3073
  service: "service";
2627
3074
  session: "session";
@@ -2696,6 +3143,7 @@ declare const impContract: {
2696
3143
  grant: "grant";
2697
3144
  image: "image";
2698
3145
  imp: "imp";
3146
+ network: "network";
2699
3147
  secret: "secret";
2700
3148
  service: "service";
2701
3149
  session: "session";
@@ -2714,6 +3162,7 @@ declare const impContract: {
2714
3162
  grant: "grant";
2715
3163
  image: "image";
2716
3164
  imp: "imp";
3165
+ network: "network";
2717
3166
  secret: "secret";
2718
3167
  service: "service";
2719
3168
  session: "session";
@@ -2796,6 +3245,7 @@ declare const impContract: {
2796
3245
  grant: "grant";
2797
3246
  image: "image";
2798
3247
  imp: "imp";
3248
+ network: "network";
2799
3249
  secret: "secret";
2800
3250
  service: "service";
2801
3251
  session: "session";
@@ -2814,6 +3264,7 @@ declare const impContract: {
2814
3264
  grant: "grant";
2815
3265
  image: "image";
2816
3266
  imp: "imp";
3267
+ network: "network";
2817
3268
  secret: "secret";
2818
3269
  service: "service";
2819
3270
  session: "session";
@@ -2897,6 +3348,7 @@ declare const impContract: {
2897
3348
  grant: "grant";
2898
3349
  image: "image";
2899
3350
  imp: "imp";
3351
+ network: "network";
2900
3352
  secret: "secret";
2901
3353
  service: "service";
2902
3354
  session: "session";
@@ -2915,6 +3367,7 @@ declare const impContract: {
2915
3367
  grant: "grant";
2916
3368
  image: "image";
2917
3369
  imp: "imp";
3370
+ network: "network";
2918
3371
  secret: "secret";
2919
3372
  service: "service";
2920
3373
  session: "session";
@@ -3009,6 +3462,13 @@ declare const impContract: {
3009
3462
  port: z.ZodInt;
3010
3463
  httpPort: z.ZodInt;
3011
3464
  url: z.ZodURL;
3465
+ public: z.ZodOptional<z.ZodObject<{
3466
+ auth: z.ZodEnum<{
3467
+ basic: "basic";
3468
+ none: "none";
3469
+ token: "token";
3470
+ }>;
3471
+ }, z.core.$strip>>;
3012
3472
  createdAt: z.ZodDate;
3013
3473
  lastActiveAt: z.ZodDate;
3014
3474
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -3018,10 +3478,12 @@ declare const impContract: {
3018
3478
  error: z.ZodOptional<z.ZodString>;
3019
3479
  sessions: z.ZodOptional<z.ZodInt>;
3020
3480
  coldBootReason: z.ZodOptional<z.ZodString>;
3481
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
3021
3482
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
3022
3483
  agent: "agent";
3023
3484
  firecracker: "firecracker";
3024
3485
  impd: "impd";
3486
+ ipv6: "ipv6";
3025
3487
  kernel: "kernel";
3026
3488
  }>>>>;
3027
3489
  cpu: z.ZodOptional<z.ZodObject<{
@@ -3056,6 +3518,7 @@ declare const impContract: {
3056
3518
  grant: "grant";
3057
3519
  image: "image";
3058
3520
  imp: "imp";
3521
+ network: "network";
3059
3522
  secret: "secret";
3060
3523
  service: "service";
3061
3524
  session: "session";
@@ -3074,6 +3537,7 @@ declare const impContract: {
3074
3537
  grant: "grant";
3075
3538
  image: "image";
3076
3539
  imp: "imp";
3540
+ network: "network";
3077
3541
  secret: "secret";
3078
3542
  service: "service";
3079
3543
  session: "session";
@@ -3147,6 +3611,7 @@ declare const impContract: {
3147
3611
  grant: "grant";
3148
3612
  image: "image";
3149
3613
  imp: "imp";
3614
+ network: "network";
3150
3615
  secret: "secret";
3151
3616
  service: "service";
3152
3617
  session: "session";
@@ -3165,6 +3630,7 @@ declare const impContract: {
3165
3630
  grant: "grant";
3166
3631
  image: "image";
3167
3632
  imp: "imp";
3633
+ network: "network";
3168
3634
  secret: "secret";
3169
3635
  service: "service";
3170
3636
  session: "session";
@@ -3233,6 +3699,10 @@ declare const impContract: {
3233
3699
  name: z.ZodString;
3234
3700
  ref: z.ZodString;
3235
3701
  digest: z.ZodString;
3702
+ source: z.ZodEnum<{
3703
+ imp: "imp";
3704
+ oci: "oci";
3705
+ }>;
3236
3706
  createdAt: z.ZodDate;
3237
3707
  sizeBytes: z.ZodInt;
3238
3708
  }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
@@ -3245,6 +3715,7 @@ declare const impContract: {
3245
3715
  grant: "grant";
3246
3716
  image: "image";
3247
3717
  imp: "imp";
3718
+ network: "network";
3248
3719
  secret: "secret";
3249
3720
  service: "service";
3250
3721
  session: "session";
@@ -3263,6 +3734,7 @@ declare const impContract: {
3263
3734
  grant: "grant";
3264
3735
  image: "image";
3265
3736
  imp: "imp";
3737
+ network: "network";
3266
3738
  secret: "secret";
3267
3739
  service: "service";
3268
3740
  session: "session";
@@ -3324,14 +3796,21 @@ declare const impContract: {
3324
3796
  readonly status: 409;
3325
3797
  };
3326
3798
  }>, Record<never, never>>;
3327
- add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3799
+ add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [z.ZodObject<{
3328
3800
  ref: z.ZodString;
3329
3801
  name: z.ZodOptional<z.ZodString>;
3330
3802
  }, z.core.$strip>, z.ZodObject<{
3803
+ imp: z.ZodString;
3804
+ name: z.ZodString;
3805
+ }, z.core.$strip>]>, z.ZodObject<{
3331
3806
  id: z.ZodString;
3332
3807
  name: z.ZodString;
3333
3808
  ref: z.ZodString;
3334
3809
  digest: z.ZodString;
3810
+ source: z.ZodEnum<{
3811
+ imp: "imp";
3812
+ oci: "oci";
3813
+ }>;
3335
3814
  createdAt: z.ZodDate;
3336
3815
  sizeBytes: z.ZodInt;
3337
3816
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
@@ -3344,6 +3823,7 @@ declare const impContract: {
3344
3823
  grant: "grant";
3345
3824
  image: "image";
3346
3825
  imp: "imp";
3826
+ network: "network";
3347
3827
  secret: "secret";
3348
3828
  service: "service";
3349
3829
  session: "session";
@@ -3362,6 +3842,7 @@ declare const impContract: {
3362
3842
  grant: "grant";
3363
3843
  image: "image";
3364
3844
  imp: "imp";
3845
+ network: "network";
3365
3846
  secret: "secret";
3366
3847
  service: "service";
3367
3848
  session: "session";
@@ -3432,6 +3913,10 @@ declare const impContract: {
3432
3913
  name: z.ZodString;
3433
3914
  ref: z.ZodString;
3434
3915
  digest: z.ZodString;
3916
+ source: z.ZodEnum<{
3917
+ imp: "imp";
3918
+ oci: "oci";
3919
+ }>;
3435
3920
  createdAt: z.ZodDate;
3436
3921
  sizeBytes: z.ZodInt;
3437
3922
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
@@ -3444,6 +3929,7 @@ declare const impContract: {
3444
3929
  grant: "grant";
3445
3930
  image: "image";
3446
3931
  imp: "imp";
3932
+ network: "network";
3447
3933
  secret: "secret";
3448
3934
  service: "service";
3449
3935
  session: "session";
@@ -3462,6 +3948,7 @@ declare const impContract: {
3462
3948
  grant: "grant";
3463
3949
  image: "image";
3464
3950
  imp: "imp";
3951
+ network: "network";
3465
3952
  secret: "secret";
3466
3953
  service: "service";
3467
3954
  session: "session";
@@ -3535,6 +4022,7 @@ declare const impContract: {
3535
4022
  grant: "grant";
3536
4023
  image: "image";
3537
4024
  imp: "imp";
4025
+ network: "network";
3538
4026
  secret: "secret";
3539
4027
  service: "service";
3540
4028
  session: "session";
@@ -3553,6 +4041,7 @@ declare const impContract: {
3553
4041
  grant: "grant";
3554
4042
  image: "image";
3555
4043
  imp: "imp";
4044
+ network: "network";
3556
4045
  secret: "secret";
3557
4046
  service: "service";
3558
4047
  session: "session";
@@ -3631,6 +4120,7 @@ declare const impContract: {
3631
4120
  grant: "grant";
3632
4121
  image: "image";
3633
4122
  imp: "imp";
4123
+ network: "network";
3634
4124
  secret: "secret";
3635
4125
  service: "service";
3636
4126
  session: "session";
@@ -3649,6 +4139,7 @@ declare const impContract: {
3649
4139
  grant: "grant";
3650
4140
  image: "image";
3651
4141
  imp: "imp";
4142
+ network: "network";
3652
4143
  secret: "secret";
3653
4144
  service: "service";
3654
4145
  session: "session";
@@ -3740,6 +4231,640 @@ declare const impContract: {
3740
4231
  grant: "grant";
3741
4232
  image: "image";
3742
4233
  imp: "imp";
4234
+ network: "network";
4235
+ secret: "secret";
4236
+ service: "service";
4237
+ session: "session";
4238
+ "ssh-key": "ssh-key";
4239
+ token: "token";
4240
+ }>;
4241
+ name: z.ZodString;
4242
+ }, z.core.$strip>;
4243
+ };
4244
+ CONFLICT: {
4245
+ readonly message: "Already exists";
4246
+ readonly data: z.ZodObject<{
4247
+ kind: z.ZodEnum<{
4248
+ backup: "backup";
4249
+ checkpoint: "checkpoint";
4250
+ grant: "grant";
4251
+ image: "image";
4252
+ imp: "imp";
4253
+ network: "network";
4254
+ secret: "secret";
4255
+ service: "service";
4256
+ session: "session";
4257
+ "ssh-key": "ssh-key";
4258
+ token: "token";
4259
+ }>;
4260
+ name: z.ZodString;
4261
+ }, z.core.$strip>;
4262
+ };
4263
+ FORBIDDEN: {
4264
+ readonly message: "Not allowed";
4265
+ };
4266
+ PRECONDITION_FAILED: {
4267
+ readonly message: "Not possible on this host";
4268
+ };
4269
+ RAM_BUDGET_EXCEEDED: {
4270
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
4271
+ readonly status: 503;
4272
+ readonly data: z.ZodObject<{
4273
+ budgetMib: z.ZodInt;
4274
+ usedMib: z.ZodInt;
4275
+ requestedMib: z.ZodInt;
4276
+ }, z.core.$strip>;
4277
+ };
4278
+ SERVICE_UNAVAILABLE: {
4279
+ readonly message: "impd is stopping";
4280
+ };
4281
+ INVALID_STATE: {
4282
+ readonly message: "The imp is not in a state that allows this";
4283
+ readonly status: 409;
4284
+ readonly data: z.ZodObject<{
4285
+ state: z.ZodEnum<{
4286
+ creating: "creating";
4287
+ error: "error";
4288
+ running: "running";
4289
+ sleeping: "sleeping";
4290
+ stopped: "stopped";
4291
+ }>;
4292
+ allowed: z.ZodArray<z.ZodEnum<{
4293
+ creating: "creating";
4294
+ error: "error";
4295
+ running: "running";
4296
+ sleeping: "sleeping";
4297
+ stopped: "stopped";
4298
+ }>>;
4299
+ }, z.core.$strip>;
4300
+ };
4301
+ DISK_FULL: {
4302
+ readonly message: "Not enough free disk on the host";
4303
+ readonly status: 507;
4304
+ readonly data: z.ZodObject<{
4305
+ availableBytes: z.ZodInt;
4306
+ reserveBytes: z.ZodInt;
4307
+ requestedBytes: z.ZodInt;
4308
+ }, z.core.$strip>;
4309
+ };
4310
+ AGENT_OUTDATED: {
4311
+ readonly message: "The imp's agent is too old for this";
4312
+ readonly status: 409;
4313
+ };
4314
+ }>, Record<never, never>>;
4315
+ kill: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4316
+ name: z.ZodString;
4317
+ session: z.ZodString;
4318
+ }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4319
+ NOT_FOUND: {
4320
+ readonly message: "Not found";
4321
+ readonly data: z.ZodObject<{
4322
+ kind: z.ZodEnum<{
4323
+ backup: "backup";
4324
+ checkpoint: "checkpoint";
4325
+ grant: "grant";
4326
+ image: "image";
4327
+ imp: "imp";
4328
+ network: "network";
4329
+ secret: "secret";
4330
+ service: "service";
4331
+ session: "session";
4332
+ "ssh-key": "ssh-key";
4333
+ token: "token";
4334
+ }>;
4335
+ name: z.ZodString;
4336
+ }, z.core.$strip>;
4337
+ };
4338
+ CONFLICT: {
4339
+ readonly message: "Already exists";
4340
+ readonly data: z.ZodObject<{
4341
+ kind: z.ZodEnum<{
4342
+ backup: "backup";
4343
+ checkpoint: "checkpoint";
4344
+ grant: "grant";
4345
+ image: "image";
4346
+ imp: "imp";
4347
+ network: "network";
4348
+ secret: "secret";
4349
+ service: "service";
4350
+ session: "session";
4351
+ "ssh-key": "ssh-key";
4352
+ token: "token";
4353
+ }>;
4354
+ name: z.ZodString;
4355
+ }, z.core.$strip>;
4356
+ };
4357
+ FORBIDDEN: {
4358
+ readonly message: "Not allowed";
4359
+ };
4360
+ PRECONDITION_FAILED: {
4361
+ readonly message: "Not possible on this host";
4362
+ };
4363
+ RAM_BUDGET_EXCEEDED: {
4364
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
4365
+ readonly status: 503;
4366
+ readonly data: z.ZodObject<{
4367
+ budgetMib: z.ZodInt;
4368
+ usedMib: z.ZodInt;
4369
+ requestedMib: z.ZodInt;
4370
+ }, z.core.$strip>;
4371
+ };
4372
+ SERVICE_UNAVAILABLE: {
4373
+ readonly message: "impd is stopping";
4374
+ };
4375
+ INVALID_STATE: {
4376
+ readonly message: "The imp is not in a state that allows this";
4377
+ readonly status: 409;
4378
+ readonly data: z.ZodObject<{
4379
+ state: z.ZodEnum<{
4380
+ creating: "creating";
4381
+ error: "error";
4382
+ running: "running";
4383
+ sleeping: "sleeping";
4384
+ stopped: "stopped";
4385
+ }>;
4386
+ allowed: z.ZodArray<z.ZodEnum<{
4387
+ creating: "creating";
4388
+ error: "error";
4389
+ running: "running";
4390
+ sleeping: "sleeping";
4391
+ stopped: "stopped";
4392
+ }>>;
4393
+ }, z.core.$strip>;
4394
+ };
4395
+ DISK_FULL: {
4396
+ readonly message: "Not enough free disk on the host";
4397
+ readonly status: 507;
4398
+ readonly data: z.ZodObject<{
4399
+ availableBytes: z.ZodInt;
4400
+ reserveBytes: z.ZodInt;
4401
+ requestedBytes: z.ZodInt;
4402
+ }, z.core.$strip>;
4403
+ };
4404
+ AGENT_OUTDATED: {
4405
+ readonly message: "The imp's agent is too old for this";
4406
+ readonly status: 409;
4407
+ };
4408
+ }>, Record<never, never>>;
4409
+ };
4410
+ services: {
4411
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4412
+ name: z.ZodString;
4413
+ }, z.core.$strip>, z.ZodObject<{
4414
+ services: z.ZodReadonly<z.ZodArray<z.ZodObject<{
4415
+ name: z.ZodString;
4416
+ state: z.ZodEnum<{
4417
+ backoff: "backoff";
4418
+ exited: "exited";
4419
+ running: "running";
4420
+ starting: "starting";
4421
+ stopped: "stopped";
4422
+ }>;
4423
+ pid: z.ZodNullable<z.ZodInt>;
4424
+ restarts: z.ZodInt;
4425
+ lastExit: z.ZodNullable<z.ZodObject<{
4426
+ code: z.ZodInt;
4427
+ signal: z.ZodNullable<z.ZodString>;
4428
+ }, z.core.$strip>>;
4429
+ argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
4430
+ envKeys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
4431
+ cwd: z.ZodNullable<z.ZodString>;
4432
+ user: z.ZodNullable<z.ZodString>;
4433
+ restart: z.ZodEnum<{
4434
+ always: "always";
4435
+ never: "never";
4436
+ "on-failure": "on-failure";
4437
+ }>;
4438
+ source: z.ZodEnum<{
4439
+ api: "api";
4440
+ image: "image";
4441
+ }>;
4442
+ root: z.ZodBoolean;
4443
+ }, z.core.$strip>>>;
4444
+ recorded: z.ZodBoolean;
4445
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4446
+ NOT_FOUND: {
4447
+ readonly message: "Not found";
4448
+ readonly data: z.ZodObject<{
4449
+ kind: z.ZodEnum<{
4450
+ backup: "backup";
4451
+ checkpoint: "checkpoint";
4452
+ grant: "grant";
4453
+ image: "image";
4454
+ imp: "imp";
4455
+ network: "network";
4456
+ secret: "secret";
4457
+ service: "service";
4458
+ session: "session";
4459
+ "ssh-key": "ssh-key";
4460
+ token: "token";
4461
+ }>;
4462
+ name: z.ZodString;
4463
+ }, z.core.$strip>;
4464
+ };
4465
+ CONFLICT: {
4466
+ readonly message: "Already exists";
4467
+ readonly data: z.ZodObject<{
4468
+ kind: z.ZodEnum<{
4469
+ backup: "backup";
4470
+ checkpoint: "checkpoint";
4471
+ grant: "grant";
4472
+ image: "image";
4473
+ imp: "imp";
4474
+ network: "network";
4475
+ secret: "secret";
4476
+ service: "service";
4477
+ session: "session";
4478
+ "ssh-key": "ssh-key";
4479
+ token: "token";
4480
+ }>;
4481
+ name: z.ZodString;
4482
+ }, z.core.$strip>;
4483
+ };
4484
+ FORBIDDEN: {
4485
+ readonly message: "Not allowed";
4486
+ };
4487
+ PRECONDITION_FAILED: {
4488
+ readonly message: "Not possible on this host";
4489
+ };
4490
+ RAM_BUDGET_EXCEEDED: {
4491
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
4492
+ readonly status: 503;
4493
+ readonly data: z.ZodObject<{
4494
+ budgetMib: z.ZodInt;
4495
+ usedMib: z.ZodInt;
4496
+ requestedMib: z.ZodInt;
4497
+ }, z.core.$strip>;
4498
+ };
4499
+ SERVICE_UNAVAILABLE: {
4500
+ readonly message: "impd is stopping";
4501
+ };
4502
+ INVALID_STATE: {
4503
+ readonly message: "The imp is not in a state that allows this";
4504
+ readonly status: 409;
4505
+ readonly data: z.ZodObject<{
4506
+ state: z.ZodEnum<{
4507
+ creating: "creating";
4508
+ error: "error";
4509
+ running: "running";
4510
+ sleeping: "sleeping";
4511
+ stopped: "stopped";
4512
+ }>;
4513
+ allowed: z.ZodArray<z.ZodEnum<{
4514
+ creating: "creating";
4515
+ error: "error";
4516
+ running: "running";
4517
+ sleeping: "sleeping";
4518
+ stopped: "stopped";
4519
+ }>>;
4520
+ }, z.core.$strip>;
4521
+ };
4522
+ DISK_FULL: {
4523
+ readonly message: "Not enough free disk on the host";
4524
+ readonly status: 507;
4525
+ readonly data: z.ZodObject<{
4526
+ availableBytes: z.ZodInt;
4527
+ reserveBytes: z.ZodInt;
4528
+ requestedBytes: z.ZodInt;
4529
+ }, z.core.$strip>;
4530
+ };
4531
+ AGENT_OUTDATED: {
4532
+ readonly message: "The imp's agent is too old for this";
4533
+ readonly status: 409;
4534
+ };
4535
+ }>, Record<never, never>>;
4536
+ add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4537
+ name: z.ZodString;
4538
+ service: z.ZodObject<{
4539
+ name: z.ZodString;
4540
+ argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
4541
+ env: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
4542
+ cwd: z.ZodOptional<z.ZodString>;
4543
+ user: z.ZodOptional<z.ZodString>;
4544
+ restart: z.ZodOptional<z.ZodEnum<{
4545
+ always: "always";
4546
+ never: "never";
4547
+ "on-failure": "on-failure";
4548
+ }>>;
4549
+ }, z.core.$strip>;
4550
+ replace: z.ZodOptional<z.ZodBoolean>;
4551
+ }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4552
+ NOT_FOUND: {
4553
+ readonly message: "Not found";
4554
+ readonly data: z.ZodObject<{
4555
+ kind: z.ZodEnum<{
4556
+ backup: "backup";
4557
+ checkpoint: "checkpoint";
4558
+ grant: "grant";
4559
+ image: "image";
4560
+ imp: "imp";
4561
+ network: "network";
4562
+ secret: "secret";
4563
+ service: "service";
4564
+ session: "session";
4565
+ "ssh-key": "ssh-key";
4566
+ token: "token";
4567
+ }>;
4568
+ name: z.ZodString;
4569
+ }, z.core.$strip>;
4570
+ };
4571
+ CONFLICT: {
4572
+ readonly message: "Already exists";
4573
+ readonly data: z.ZodObject<{
4574
+ kind: z.ZodEnum<{
4575
+ backup: "backup";
4576
+ checkpoint: "checkpoint";
4577
+ grant: "grant";
4578
+ image: "image";
4579
+ imp: "imp";
4580
+ network: "network";
4581
+ secret: "secret";
4582
+ service: "service";
4583
+ session: "session";
4584
+ "ssh-key": "ssh-key";
4585
+ token: "token";
4586
+ }>;
4587
+ name: z.ZodString;
4588
+ }, z.core.$strip>;
4589
+ };
4590
+ FORBIDDEN: {
4591
+ readonly message: "Not allowed";
4592
+ };
4593
+ PRECONDITION_FAILED: {
4594
+ readonly message: "Not possible on this host";
4595
+ };
4596
+ RAM_BUDGET_EXCEEDED: {
4597
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
4598
+ readonly status: 503;
4599
+ readonly data: z.ZodObject<{
4600
+ budgetMib: z.ZodInt;
4601
+ usedMib: z.ZodInt;
4602
+ requestedMib: z.ZodInt;
4603
+ }, z.core.$strip>;
4604
+ };
4605
+ SERVICE_UNAVAILABLE: {
4606
+ readonly message: "impd is stopping";
4607
+ };
4608
+ INVALID_STATE: {
4609
+ readonly message: "The imp is not in a state that allows this";
4610
+ readonly status: 409;
4611
+ readonly data: z.ZodObject<{
4612
+ state: z.ZodEnum<{
4613
+ creating: "creating";
4614
+ error: "error";
4615
+ running: "running";
4616
+ sleeping: "sleeping";
4617
+ stopped: "stopped";
4618
+ }>;
4619
+ allowed: z.ZodArray<z.ZodEnum<{
4620
+ creating: "creating";
4621
+ error: "error";
4622
+ running: "running";
4623
+ sleeping: "sleeping";
4624
+ stopped: "stopped";
4625
+ }>>;
4626
+ }, z.core.$strip>;
4627
+ };
4628
+ DISK_FULL: {
4629
+ readonly message: "Not enough free disk on the host";
4630
+ readonly status: 507;
4631
+ readonly data: z.ZodObject<{
4632
+ availableBytes: z.ZodInt;
4633
+ reserveBytes: z.ZodInt;
4634
+ requestedBytes: z.ZodInt;
4635
+ }, z.core.$strip>;
4636
+ };
4637
+ AGENT_OUTDATED: {
4638
+ readonly message: "The imp's agent is too old for this";
4639
+ readonly status: 409;
4640
+ };
4641
+ }>, Record<never, never>>;
4642
+ remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4643
+ name: z.ZodString;
4644
+ service: z.ZodString;
4645
+ }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4646
+ NOT_FOUND: {
4647
+ readonly message: "Not found";
4648
+ readonly data: z.ZodObject<{
4649
+ kind: z.ZodEnum<{
4650
+ backup: "backup";
4651
+ checkpoint: "checkpoint";
4652
+ grant: "grant";
4653
+ image: "image";
4654
+ imp: "imp";
4655
+ network: "network";
4656
+ secret: "secret";
4657
+ service: "service";
4658
+ session: "session";
4659
+ "ssh-key": "ssh-key";
4660
+ token: "token";
4661
+ }>;
4662
+ name: z.ZodString;
4663
+ }, z.core.$strip>;
4664
+ };
4665
+ CONFLICT: {
4666
+ readonly message: "Already exists";
4667
+ readonly data: z.ZodObject<{
4668
+ kind: z.ZodEnum<{
4669
+ backup: "backup";
4670
+ checkpoint: "checkpoint";
4671
+ grant: "grant";
4672
+ image: "image";
4673
+ imp: "imp";
4674
+ network: "network";
4675
+ secret: "secret";
4676
+ service: "service";
4677
+ session: "session";
4678
+ "ssh-key": "ssh-key";
4679
+ token: "token";
4680
+ }>;
4681
+ name: z.ZodString;
4682
+ }, z.core.$strip>;
4683
+ };
4684
+ FORBIDDEN: {
4685
+ readonly message: "Not allowed";
4686
+ };
4687
+ PRECONDITION_FAILED: {
4688
+ readonly message: "Not possible on this host";
4689
+ };
4690
+ RAM_BUDGET_EXCEEDED: {
4691
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
4692
+ readonly status: 503;
4693
+ readonly data: z.ZodObject<{
4694
+ budgetMib: z.ZodInt;
4695
+ usedMib: z.ZodInt;
4696
+ requestedMib: z.ZodInt;
4697
+ }, z.core.$strip>;
4698
+ };
4699
+ SERVICE_UNAVAILABLE: {
4700
+ readonly message: "impd is stopping";
4701
+ };
4702
+ INVALID_STATE: {
4703
+ readonly message: "The imp is not in a state that allows this";
4704
+ readonly status: 409;
4705
+ readonly data: z.ZodObject<{
4706
+ state: z.ZodEnum<{
4707
+ creating: "creating";
4708
+ error: "error";
4709
+ running: "running";
4710
+ sleeping: "sleeping";
4711
+ stopped: "stopped";
4712
+ }>;
4713
+ allowed: z.ZodArray<z.ZodEnum<{
4714
+ creating: "creating";
4715
+ error: "error";
4716
+ running: "running";
4717
+ sleeping: "sleeping";
4718
+ stopped: "stopped";
4719
+ }>>;
4720
+ }, z.core.$strip>;
4721
+ };
4722
+ DISK_FULL: {
4723
+ readonly message: "Not enough free disk on the host";
4724
+ readonly status: 507;
4725
+ readonly data: z.ZodObject<{
4726
+ availableBytes: z.ZodInt;
4727
+ reserveBytes: z.ZodInt;
4728
+ requestedBytes: z.ZodInt;
4729
+ }, z.core.$strip>;
4730
+ };
4731
+ AGENT_OUTDATED: {
4732
+ readonly message: "The imp's agent is too old for this";
4733
+ readonly status: 409;
4734
+ };
4735
+ }>, Record<never, never>>;
4736
+ restart: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4737
+ name: z.ZodString;
4738
+ service: z.ZodString;
4739
+ }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4740
+ NOT_FOUND: {
4741
+ readonly message: "Not found";
4742
+ readonly data: z.ZodObject<{
4743
+ kind: z.ZodEnum<{
4744
+ backup: "backup";
4745
+ checkpoint: "checkpoint";
4746
+ grant: "grant";
4747
+ image: "image";
4748
+ imp: "imp";
4749
+ network: "network";
4750
+ secret: "secret";
4751
+ service: "service";
4752
+ session: "session";
4753
+ "ssh-key": "ssh-key";
4754
+ token: "token";
4755
+ }>;
4756
+ name: z.ZodString;
4757
+ }, z.core.$strip>;
4758
+ };
4759
+ CONFLICT: {
4760
+ readonly message: "Already exists";
4761
+ readonly data: z.ZodObject<{
4762
+ kind: z.ZodEnum<{
4763
+ backup: "backup";
4764
+ checkpoint: "checkpoint";
4765
+ grant: "grant";
4766
+ image: "image";
4767
+ imp: "imp";
4768
+ network: "network";
4769
+ secret: "secret";
4770
+ service: "service";
4771
+ session: "session";
4772
+ "ssh-key": "ssh-key";
4773
+ token: "token";
4774
+ }>;
4775
+ name: z.ZodString;
4776
+ }, z.core.$strip>;
4777
+ };
4778
+ FORBIDDEN: {
4779
+ readonly message: "Not allowed";
4780
+ };
4781
+ PRECONDITION_FAILED: {
4782
+ readonly message: "Not possible on this host";
4783
+ };
4784
+ RAM_BUDGET_EXCEEDED: {
4785
+ readonly message: "Not enough RAM budget, even after sleeping idle imps";
4786
+ readonly status: 503;
4787
+ readonly data: z.ZodObject<{
4788
+ budgetMib: z.ZodInt;
4789
+ usedMib: z.ZodInt;
4790
+ requestedMib: z.ZodInt;
4791
+ }, z.core.$strip>;
4792
+ };
4793
+ SERVICE_UNAVAILABLE: {
4794
+ readonly message: "impd is stopping";
4795
+ };
4796
+ INVALID_STATE: {
4797
+ readonly message: "The imp is not in a state that allows this";
4798
+ readonly status: 409;
4799
+ readonly data: z.ZodObject<{
4800
+ state: z.ZodEnum<{
4801
+ creating: "creating";
4802
+ error: "error";
4803
+ running: "running";
4804
+ sleeping: "sleeping";
4805
+ stopped: "stopped";
4806
+ }>;
4807
+ allowed: z.ZodArray<z.ZodEnum<{
4808
+ creating: "creating";
4809
+ error: "error";
4810
+ running: "running";
4811
+ sleeping: "sleeping";
4812
+ stopped: "stopped";
4813
+ }>>;
4814
+ }, z.core.$strip>;
4815
+ };
4816
+ DISK_FULL: {
4817
+ readonly message: "Not enough free disk on the host";
4818
+ readonly status: 507;
4819
+ readonly data: z.ZodObject<{
4820
+ availableBytes: z.ZodInt;
4821
+ reserveBytes: z.ZodInt;
4822
+ requestedBytes: z.ZodInt;
4823
+ }, z.core.$strip>;
4824
+ };
4825
+ AGENT_OUTDATED: {
4826
+ readonly message: "The imp's agent is too old for this";
4827
+ readonly status: 409;
4828
+ };
4829
+ }>, Record<never, never>>;
4830
+ logs: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4831
+ name: z.ZodString;
4832
+ service: z.ZodOptional<z.ZodString>;
4833
+ lines: z.ZodOptional<z.ZodInt>;
4834
+ follow: z.ZodOptional<z.ZodBoolean>;
4835
+ }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
4836
+ type: "log";
4837
+ service: string;
4838
+ text: string;
4839
+ } | {
4840
+ type: "sleeping";
4841
+ state: "creating" | "error" | "running" | "sleeping" | "stopped";
4842
+ } | {
4843
+ type: "awake";
4844
+ } | {
4845
+ type: "restarting";
4846
+ }, unknown, void>, import("@orpc/client").AsyncIteratorClass<{
4847
+ type: "log";
4848
+ service: string;
4849
+ text: string;
4850
+ } | {
4851
+ type: "sleeping";
4852
+ state: "creating" | "error" | "running" | "sleeping" | "stopped";
4853
+ } | {
4854
+ type: "awake";
4855
+ } | {
4856
+ type: "restarting";
4857
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4858
+ NOT_FOUND: {
4859
+ readonly message: "Not found";
4860
+ readonly data: z.ZodObject<{
4861
+ kind: z.ZodEnum<{
4862
+ backup: "backup";
4863
+ checkpoint: "checkpoint";
4864
+ grant: "grant";
4865
+ image: "image";
4866
+ imp: "imp";
4867
+ network: "network";
3743
4868
  secret: "secret";
3744
4869
  service: "service";
3745
4870
  session: "session";
@@ -3758,6 +4883,7 @@ declare const impContract: {
3758
4883
  grant: "grant";
3759
4884
  image: "image";
3760
4885
  imp: "imp";
4886
+ network: "network";
3761
4887
  secret: "secret";
3762
4888
  service: "service";
3763
4889
  session: "session";
@@ -3819,10 +4945,49 @@ declare const impContract: {
3819
4945
  readonly status: 409;
3820
4946
  };
3821
4947
  }>, Record<never, never>>;
3822
- kill: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4948
+ };
4949
+ secrets: {
4950
+ add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3823
4951
  name: z.ZodString;
3824
- session: z.ZodString;
3825
- }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4952
+ kind: z.ZodEnum<{
4953
+ anthropic: "anthropic";
4954
+ custom: "custom";
4955
+ github: "github";
4956
+ npm: "npm";
4957
+ }>;
4958
+ value: z.ZodString;
4959
+ rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4960
+ host: z.ZodString;
4961
+ header: z.ZodString;
4962
+ scheme: z.ZodEnum<{
4963
+ basic: "basic";
4964
+ bearer: "bearer";
4965
+ raw: "raw";
4966
+ }>;
4967
+ user: z.ZodOptional<z.ZodString>;
4968
+ }, z.core.$strip>>>;
4969
+ replace: z.ZodOptional<z.ZodBoolean>;
4970
+ }, z.core.$strip>, z.ZodObject<{
4971
+ name: z.ZodString;
4972
+ kind: z.ZodEnum<{
4973
+ anthropic: "anthropic";
4974
+ custom: "custom";
4975
+ github: "github";
4976
+ npm: "npm";
4977
+ }>;
4978
+ rules: z.ZodReadonly<z.ZodArray<z.ZodObject<{
4979
+ host: z.ZodString;
4980
+ header: z.ZodString;
4981
+ scheme: z.ZodEnum<{
4982
+ basic: "basic";
4983
+ bearer: "bearer";
4984
+ raw: "raw";
4985
+ }>;
4986
+ user: z.ZodOptional<z.ZodString>;
4987
+ }, z.core.$strip>>>;
4988
+ imps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
4989
+ createdAt: z.ZodDate;
4990
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
3826
4991
  NOT_FOUND: {
3827
4992
  readonly message: "Not found";
3828
4993
  readonly data: z.ZodObject<{
@@ -3832,6 +4997,7 @@ declare const impContract: {
3832
4997
  grant: "grant";
3833
4998
  image: "image";
3834
4999
  imp: "imp";
5000
+ network: "network";
3835
5001
  secret: "secret";
3836
5002
  service: "service";
3837
5003
  session: "session";
@@ -3850,6 +5016,7 @@ declare const impContract: {
3850
5016
  grant: "grant";
3851
5017
  image: "image";
3852
5018
  imp: "imp";
5019
+ network: "network";
3853
5020
  secret: "secret";
3854
5021
  service: "service";
3855
5022
  session: "session";
@@ -3911,39 +5078,26 @@ declare const impContract: {
3911
5078
  readonly status: 409;
3912
5079
  };
3913
5080
  }>, Record<never, never>>;
3914
- };
3915
- services: {
3916
- list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3917
- name: z.ZodString;
3918
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
5081
+ list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
3919
5082
  name: z.ZodString;
3920
- state: z.ZodEnum<{
3921
- backoff: "backoff";
3922
- exited: "exited";
3923
- running: "running";
3924
- starting: "starting";
3925
- stopped: "stopped";
3926
- }>;
3927
- pid: z.ZodNullable<z.ZodInt>;
3928
- restarts: z.ZodInt;
3929
- lastExit: z.ZodNullable<z.ZodObject<{
3930
- code: z.ZodInt;
3931
- signal: z.ZodNullable<z.ZodString>;
3932
- }, z.core.$strip>>;
3933
- argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
3934
- envKeys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
3935
- cwd: z.ZodNullable<z.ZodString>;
3936
- user: z.ZodNullable<z.ZodString>;
3937
- restart: z.ZodEnum<{
3938
- always: "always";
3939
- never: "never";
3940
- "on-failure": "on-failure";
3941
- }>;
3942
- source: z.ZodEnum<{
3943
- api: "api";
3944
- image: "image";
5083
+ kind: z.ZodEnum<{
5084
+ anthropic: "anthropic";
5085
+ custom: "custom";
5086
+ github: "github";
5087
+ npm: "npm";
3945
5088
  }>;
3946
- root: z.ZodBoolean;
5089
+ rules: z.ZodReadonly<z.ZodArray<z.ZodObject<{
5090
+ host: z.ZodString;
5091
+ header: z.ZodString;
5092
+ scheme: z.ZodEnum<{
5093
+ basic: "basic";
5094
+ bearer: "bearer";
5095
+ raw: "raw";
5096
+ }>;
5097
+ user: z.ZodOptional<z.ZodString>;
5098
+ }, z.core.$strip>>>;
5099
+ imps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
5100
+ createdAt: z.ZodDate;
3947
5101
  }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
3948
5102
  NOT_FOUND: {
3949
5103
  readonly message: "Not found";
@@ -3954,6 +5108,7 @@ declare const impContract: {
3954
5108
  grant: "grant";
3955
5109
  image: "image";
3956
5110
  imp: "imp";
5111
+ network: "network";
3957
5112
  secret: "secret";
3958
5113
  service: "service";
3959
5114
  session: "session";
@@ -3972,6 +5127,7 @@ declare const impContract: {
3972
5127
  grant: "grant";
3973
5128
  image: "image";
3974
5129
  imp: "imp";
5130
+ network: "network";
3975
5131
  secret: "secret";
3976
5132
  service: "service";
3977
5133
  session: "session";
@@ -4033,21 +5189,8 @@ declare const impContract: {
4033
5189
  readonly status: 409;
4034
5190
  };
4035
5191
  }>, Record<never, never>>;
4036
- add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5192
+ delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4037
5193
  name: z.ZodString;
4038
- service: z.ZodObject<{
4039
- name: z.ZodString;
4040
- argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
4041
- env: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
4042
- cwd: z.ZodOptional<z.ZodString>;
4043
- user: z.ZodOptional<z.ZodString>;
4044
- restart: z.ZodOptional<z.ZodEnum<{
4045
- always: "always";
4046
- never: "never";
4047
- "on-failure": "on-failure";
4048
- }>>;
4049
- }, z.core.$strip>;
4050
- replace: z.ZodOptional<z.ZodBoolean>;
4051
5194
  }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4052
5195
  NOT_FOUND: {
4053
5196
  readonly message: "Not found";
@@ -4058,6 +5201,7 @@ declare const impContract: {
4058
5201
  grant: "grant";
4059
5202
  image: "image";
4060
5203
  imp: "imp";
5204
+ network: "network";
4061
5205
  secret: "secret";
4062
5206
  service: "service";
4063
5207
  session: "session";
@@ -4076,6 +5220,7 @@ declare const impContract: {
4076
5220
  grant: "grant";
4077
5221
  image: "image";
4078
5222
  imp: "imp";
5223
+ network: "network";
4079
5224
  secret: "secret";
4080
5225
  service: "service";
4081
5226
  session: "session";
@@ -4137,10 +5282,13 @@ declare const impContract: {
4137
5282
  readonly status: 409;
4138
5283
  };
4139
5284
  }>, Record<never, never>>;
4140
- remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5285
+ };
5286
+ networks: {
5287
+ list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
4141
5288
  name: z.ZodString;
4142
- service: z.ZodString;
4143
- }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
5289
+ imps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
5290
+ createdAt: z.ZodDate;
5291
+ }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4144
5292
  NOT_FOUND: {
4145
5293
  readonly message: "Not found";
4146
5294
  readonly data: z.ZodObject<{
@@ -4150,6 +5298,7 @@ declare const impContract: {
4150
5298
  grant: "grant";
4151
5299
  image: "image";
4152
5300
  imp: "imp";
5301
+ network: "network";
4153
5302
  secret: "secret";
4154
5303
  service: "service";
4155
5304
  session: "session";
@@ -4168,6 +5317,7 @@ declare const impContract: {
4168
5317
  grant: "grant";
4169
5318
  image: "image";
4170
5319
  imp: "imp";
5320
+ network: "network";
4171
5321
  secret: "secret";
4172
5322
  service: "service";
4173
5323
  session: "session";
@@ -4229,10 +5379,13 @@ declare const impContract: {
4229
5379
  readonly status: 409;
4230
5380
  };
4231
5381
  }>, Record<never, never>>;
4232
- restart: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5382
+ create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4233
5383
  name: z.ZodString;
4234
- service: z.ZodString;
4235
- }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
5384
+ }, z.core.$strip>, z.ZodObject<{
5385
+ name: z.ZodString;
5386
+ imps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
5387
+ createdAt: z.ZodDate;
5388
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4236
5389
  NOT_FOUND: {
4237
5390
  readonly message: "Not found";
4238
5391
  readonly data: z.ZodObject<{
@@ -4242,6 +5395,7 @@ declare const impContract: {
4242
5395
  grant: "grant";
4243
5396
  image: "image";
4244
5397
  imp: "imp";
5398
+ network: "network";
4245
5399
  secret: "secret";
4246
5400
  service: "service";
4247
5401
  session: "session";
@@ -4260,6 +5414,7 @@ declare const impContract: {
4260
5414
  grant: "grant";
4261
5415
  image: "image";
4262
5416
  imp: "imp";
5417
+ network: "network";
4263
5418
  secret: "secret";
4264
5419
  service: "service";
4265
5420
  session: "session";
@@ -4321,34 +5476,9 @@ declare const impContract: {
4321
5476
  readonly status: 409;
4322
5477
  };
4323
5478
  }>, Record<never, never>>;
4324
- logs: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5479
+ delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4325
5480
  name: z.ZodString;
4326
- service: z.ZodOptional<z.ZodString>;
4327
- lines: z.ZodOptional<z.ZodInt>;
4328
- follow: z.ZodOptional<z.ZodBoolean>;
4329
- }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
4330
- type: "log";
4331
- service: string;
4332
- text: string;
4333
- } | {
4334
- type: "sleeping";
4335
- state: "creating" | "error" | "running" | "sleeping" | "stopped";
4336
- } | {
4337
- type: "awake";
4338
- } | {
4339
- type: "restarting";
4340
- }, unknown, void>, import("@orpc/client").AsyncIteratorClass<{
4341
- type: "log";
4342
- service: string;
4343
- text: string;
4344
- } | {
4345
- type: "sleeping";
4346
- state: "creating" | "error" | "running" | "sleeping" | "stopped";
4347
- } | {
4348
- type: "awake";
4349
- } | {
4350
- type: "restarting";
4351
- }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
5481
+ }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4352
5482
  NOT_FOUND: {
4353
5483
  readonly message: "Not found";
4354
5484
  readonly data: z.ZodObject<{
@@ -4358,6 +5488,7 @@ declare const impContract: {
4358
5488
  grant: "grant";
4359
5489
  image: "image";
4360
5490
  imp: "imp";
5491
+ network: "network";
4361
5492
  secret: "secret";
4362
5493
  service: "service";
4363
5494
  session: "session";
@@ -4376,6 +5507,7 @@ declare const impContract: {
4376
5507
  grant: "grant";
4377
5508
  image: "image";
4378
5509
  imp: "imp";
5510
+ network: "network";
4379
5511
  secret: "secret";
4380
5512
  service: "service";
4381
5513
  session: "session";
@@ -4437,48 +5569,14 @@ declare const impContract: {
4437
5569
  readonly status: 409;
4438
5570
  };
4439
5571
  }>, Record<never, never>>;
4440
- };
4441
- secrets: {
4442
- add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5572
+ join: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5573
+ network: z.ZodString;
4443
5574
  name: z.ZodString;
4444
- kind: z.ZodEnum<{
4445
- anthropic: "anthropic";
4446
- custom: "custom";
4447
- github: "github";
4448
- npm: "npm";
4449
- }>;
4450
- value: z.ZodString;
4451
- rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4452
- host: z.ZodString;
4453
- header: z.ZodString;
4454
- scheme: z.ZodEnum<{
4455
- basic: "basic";
4456
- bearer: "bearer";
4457
- raw: "raw";
4458
- }>;
4459
- user: z.ZodOptional<z.ZodString>;
4460
- }, z.core.$strip>>>;
4461
- replace: z.ZodOptional<z.ZodBoolean>;
4462
5575
  }, z.core.$strip>, z.ZodObject<{
4463
5576
  name: z.ZodString;
4464
- kind: z.ZodEnum<{
4465
- anthropic: "anthropic";
4466
- custom: "custom";
4467
- github: "github";
4468
- npm: "npm";
4469
- }>;
4470
- rules: z.ZodReadonly<z.ZodArray<z.ZodObject<{
4471
- host: z.ZodString;
4472
- header: z.ZodString;
4473
- scheme: z.ZodEnum<{
4474
- basic: "basic";
4475
- bearer: "bearer";
4476
- raw: "raw";
4477
- }>;
4478
- user: z.ZodOptional<z.ZodString>;
4479
- }, z.core.$strip>>>;
4480
5577
  imps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
4481
5578
  createdAt: z.ZodDate;
5579
+ warning: z.ZodNullable<z.ZodString>;
4482
5580
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4483
5581
  NOT_FOUND: {
4484
5582
  readonly message: "Not found";
@@ -4489,6 +5587,7 @@ declare const impContract: {
4489
5587
  grant: "grant";
4490
5588
  image: "image";
4491
5589
  imp: "imp";
5590
+ network: "network";
4492
5591
  secret: "secret";
4493
5592
  service: "service";
4494
5593
  session: "session";
@@ -4507,6 +5606,7 @@ declare const impContract: {
4507
5606
  grant: "grant";
4508
5607
  image: "image";
4509
5608
  imp: "imp";
5609
+ network: "network";
4510
5610
  secret: "secret";
4511
5611
  service: "service";
4512
5612
  session: "session";
@@ -4568,27 +5668,9 @@ declare const impContract: {
4568
5668
  readonly status: 409;
4569
5669
  };
4570
5670
  }>, Record<never, never>>;
4571
- list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
5671
+ warnings: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4572
5672
  name: z.ZodString;
4573
- kind: z.ZodEnum<{
4574
- anthropic: "anthropic";
4575
- custom: "custom";
4576
- github: "github";
4577
- npm: "npm";
4578
- }>;
4579
- rules: z.ZodReadonly<z.ZodArray<z.ZodObject<{
4580
- host: z.ZodString;
4581
- header: z.ZodString;
4582
- scheme: z.ZodEnum<{
4583
- basic: "basic";
4584
- bearer: "bearer";
4585
- raw: "raw";
4586
- }>;
4587
- user: z.ZodOptional<z.ZodString>;
4588
- }, z.core.$strip>>>;
4589
- imps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
4590
- createdAt: z.ZodDate;
4591
- }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
5673
+ }, z.core.$strip>, z.ZodArray<z.ZodString>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4592
5674
  NOT_FOUND: {
4593
5675
  readonly message: "Not found";
4594
5676
  readonly data: z.ZodObject<{
@@ -4598,6 +5680,7 @@ declare const impContract: {
4598
5680
  grant: "grant";
4599
5681
  image: "image";
4600
5682
  imp: "imp";
5683
+ network: "network";
4601
5684
  secret: "secret";
4602
5685
  service: "service";
4603
5686
  session: "session";
@@ -4616,6 +5699,7 @@ declare const impContract: {
4616
5699
  grant: "grant";
4617
5700
  image: "image";
4618
5701
  imp: "imp";
5702
+ network: "network";
4619
5703
  secret: "secret";
4620
5704
  service: "service";
4621
5705
  session: "session";
@@ -4677,9 +5761,14 @@ declare const impContract: {
4677
5761
  readonly status: 409;
4678
5762
  };
4679
5763
  }>, Record<never, never>>;
4680
- delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5764
+ leave: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5765
+ network: z.ZodString;
4681
5766
  name: z.ZodString;
4682
- }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
5767
+ }, z.core.$strip>, z.ZodObject<{
5768
+ name: z.ZodString;
5769
+ imps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
5770
+ createdAt: z.ZodDate;
5771
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4683
5772
  NOT_FOUND: {
4684
5773
  readonly message: "Not found";
4685
5774
  readonly data: z.ZodObject<{
@@ -4689,6 +5778,7 @@ declare const impContract: {
4689
5778
  grant: "grant";
4690
5779
  image: "image";
4691
5780
  imp: "imp";
5781
+ network: "network";
4692
5782
  secret: "secret";
4693
5783
  service: "service";
4694
5784
  session: "session";
@@ -4707,6 +5797,7 @@ declare const impContract: {
4707
5797
  grant: "grant";
4708
5798
  image: "image";
4709
5799
  imp: "imp";
5800
+ network: "network";
4710
5801
  secret: "secret";
4711
5802
  service: "service";
4712
5803
  session: "session";
@@ -4783,6 +5874,7 @@ declare const impContract: {
4783
5874
  grant: "grant";
4784
5875
  image: "image";
4785
5876
  imp: "imp";
5877
+ network: "network";
4786
5878
  secret: "secret";
4787
5879
  service: "service";
4788
5880
  session: "session";
@@ -4801,6 +5893,7 @@ declare const impContract: {
4801
5893
  grant: "grant";
4802
5894
  image: "image";
4803
5895
  imp: "imp";
5896
+ network: "network";
4804
5897
  secret: "secret";
4805
5898
  service: "service";
4806
5899
  session: "session";
@@ -4875,6 +5968,7 @@ declare const impContract: {
4875
5968
  grant: "grant";
4876
5969
  image: "image";
4877
5970
  imp: "imp";
5971
+ network: "network";
4878
5972
  secret: "secret";
4879
5973
  service: "service";
4880
5974
  session: "session";
@@ -4893,6 +5987,7 @@ declare const impContract: {
4893
5987
  grant: "grant";
4894
5988
  image: "image";
4895
5989
  imp: "imp";
5990
+ network: "network";
4896
5991
  secret: "secret";
4897
5992
  service: "service";
4898
5993
  session: "session";
@@ -4966,6 +6061,7 @@ declare const impContract: {
4966
6061
  grant: "grant";
4967
6062
  image: "image";
4968
6063
  imp: "imp";
6064
+ network: "network";
4969
6065
  secret: "secret";
4970
6066
  service: "service";
4971
6067
  session: "session";
@@ -4984,6 +6080,7 @@ declare const impContract: {
4984
6080
  grant: "grant";
4985
6081
  image: "image";
4986
6082
  imp: "imp";
6083
+ network: "network";
4987
6084
  secret: "secret";
4988
6085
  service: "service";
4989
6086
  session: "session";
@@ -5071,6 +6168,7 @@ declare const impContract: {
5071
6168
  grant: "grant";
5072
6169
  image: "image";
5073
6170
  imp: "imp";
6171
+ network: "network";
5074
6172
  secret: "secret";
5075
6173
  service: "service";
5076
6174
  session: "session";
@@ -5089,6 +6187,7 @@ declare const impContract: {
5089
6187
  grant: "grant";
5090
6188
  image: "image";
5091
6189
  imp: "imp";
6190
+ network: "network";
5092
6191
  secret: "secret";
5093
6192
  service: "service";
5094
6193
  session: "session";
@@ -5176,6 +6275,7 @@ declare const impContract: {
5176
6275
  grant: "grant";
5177
6276
  image: "image";
5178
6277
  imp: "imp";
6278
+ network: "network";
5179
6279
  secret: "secret";
5180
6280
  service: "service";
5181
6281
  session: "session";
@@ -5194,6 +6294,7 @@ declare const impContract: {
5194
6294
  grant: "grant";
5195
6295
  image: "image";
5196
6296
  imp: "imp";
6297
+ network: "network";
5197
6298
  secret: "secret";
5198
6299
  service: "service";
5199
6300
  session: "session";
@@ -5282,6 +6383,9 @@ declare const impContract: {
5282
6383
  port: number;
5283
6384
  httpPort: number;
5284
6385
  url: string;
6386
+ public?: {
6387
+ auth: "basic" | "none" | "token";
6388
+ } | undefined;
5285
6389
  createdAt: Date;
5286
6390
  lastActiveAt: Date;
5287
6391
  ramMib?: number | undefined;
@@ -5291,7 +6395,8 @@ declare const impContract: {
5291
6395
  error?: string | undefined;
5292
6396
  sessions?: number | undefined;
5293
6397
  coldBootReason?: string | undefined;
5294
- outdated?: readonly ("agent" | "firecracker" | "impd" | "kernel")[] | undefined;
6398
+ agentSilentSince?: Date | undefined;
6399
+ outdated?: readonly ("agent" | "firecracker" | "impd" | "ipv6" | "kernel")[] | undefined;
5295
6400
  cpu?: {
5296
6401
  limit: number | null;
5297
6402
  weight: number;
@@ -5313,7 +6418,7 @@ declare const impContract: {
5313
6418
  v: 1;
5314
6419
  at: Date;
5315
6420
  ev: "ImpChanged";
5316
- reason: "adopted" | "booted" | "failed" | "held" | "repaired" | "resized" | "restored" | "slept" | "stopped" | "updated" | "woke";
6421
+ reason: "adopted" | "booted" | "exposed" | "failed" | "held" | "repaired" | "resized" | "restored" | "slept" | "stopped" | "updated" | "woke";
5317
6422
  imp: {
5318
6423
  id: string;
5319
6424
  name: string;
@@ -5334,6 +6439,9 @@ declare const impContract: {
5334
6439
  port: number;
5335
6440
  httpPort: number;
5336
6441
  url: string;
6442
+ public?: {
6443
+ auth: "basic" | "none" | "token";
6444
+ } | undefined;
5337
6445
  createdAt: Date;
5338
6446
  lastActiveAt: Date;
5339
6447
  ramMib?: number | undefined;
@@ -5343,7 +6451,8 @@ declare const impContract: {
5343
6451
  error?: string | undefined;
5344
6452
  sessions?: number | undefined;
5345
6453
  coldBootReason?: string | undefined;
5346
- outdated?: readonly ("agent" | "firecracker" | "impd" | "kernel")[] | undefined;
6454
+ agentSilentSince?: Date | undefined;
6455
+ outdated?: readonly ("agent" | "firecracker" | "impd" | "ipv6" | "kernel")[] | undefined;
5347
6456
  cpu?: {
5348
6457
  limit: number | null;
5349
6458
  weight: number;
@@ -5391,6 +6500,9 @@ declare const impContract: {
5391
6500
  port: number;
5392
6501
  httpPort: number;
5393
6502
  url: string;
6503
+ public?: {
6504
+ auth: "basic" | "none" | "token";
6505
+ } | undefined;
5394
6506
  createdAt: Date;
5395
6507
  lastActiveAt: Date;
5396
6508
  ramMib?: number | undefined;
@@ -5400,7 +6512,8 @@ declare const impContract: {
5400
6512
  error?: string | undefined;
5401
6513
  sessions?: number | undefined;
5402
6514
  coldBootReason?: string | undefined;
5403
- outdated?: readonly ("agent" | "firecracker" | "impd" | "kernel")[] | undefined;
6515
+ agentSilentSince?: Date | undefined;
6516
+ outdated?: readonly ("agent" | "firecracker" | "impd" | "ipv6" | "kernel")[] | undefined;
5404
6517
  cpu?: {
5405
6518
  limit: number | null;
5406
6519
  weight: number;
@@ -5477,6 +6590,9 @@ declare const impContract: {
5477
6590
  port: number;
5478
6591
  httpPort: number;
5479
6592
  url: string;
6593
+ public?: {
6594
+ auth: "basic" | "none" | "token";
6595
+ } | undefined;
5480
6596
  createdAt: Date;
5481
6597
  lastActiveAt: Date;
5482
6598
  ramMib?: number | undefined;
@@ -5486,7 +6602,8 @@ declare const impContract: {
5486
6602
  error?: string | undefined;
5487
6603
  sessions?: number | undefined;
5488
6604
  coldBootReason?: string | undefined;
5489
- outdated?: readonly ("agent" | "firecracker" | "impd" | "kernel")[] | undefined;
6605
+ agentSilentSince?: Date | undefined;
6606
+ outdated?: readonly ("agent" | "firecracker" | "impd" | "ipv6" | "kernel")[] | undefined;
5490
6607
  cpu?: {
5491
6608
  limit: number | null;
5492
6609
  weight: number;
@@ -5508,7 +6625,7 @@ declare const impContract: {
5508
6625
  v: 1;
5509
6626
  at: Date;
5510
6627
  ev: "ImpChanged";
5511
- reason: "adopted" | "booted" | "failed" | "held" | "repaired" | "resized" | "restored" | "slept" | "stopped" | "updated" | "woke";
6628
+ reason: "adopted" | "booted" | "exposed" | "failed" | "held" | "repaired" | "resized" | "restored" | "slept" | "stopped" | "updated" | "woke";
5512
6629
  imp: {
5513
6630
  id: string;
5514
6631
  name: string;
@@ -5529,6 +6646,9 @@ declare const impContract: {
5529
6646
  port: number;
5530
6647
  httpPort: number;
5531
6648
  url: string;
6649
+ public?: {
6650
+ auth: "basic" | "none" | "token";
6651
+ } | undefined;
5532
6652
  createdAt: Date;
5533
6653
  lastActiveAt: Date;
5534
6654
  ramMib?: number | undefined;
@@ -5538,7 +6658,8 @@ declare const impContract: {
5538
6658
  error?: string | undefined;
5539
6659
  sessions?: number | undefined;
5540
6660
  coldBootReason?: string | undefined;
5541
- outdated?: readonly ("agent" | "firecracker" | "impd" | "kernel")[] | undefined;
6661
+ agentSilentSince?: Date | undefined;
6662
+ outdated?: readonly ("agent" | "firecracker" | "impd" | "ipv6" | "kernel")[] | undefined;
5542
6663
  cpu?: {
5543
6664
  limit: number | null;
5544
6665
  weight: number;
@@ -5586,6 +6707,9 @@ declare const impContract: {
5586
6707
  port: number;
5587
6708
  httpPort: number;
5588
6709
  url: string;
6710
+ public?: {
6711
+ auth: "basic" | "none" | "token";
6712
+ } | undefined;
5589
6713
  createdAt: Date;
5590
6714
  lastActiveAt: Date;
5591
6715
  ramMib?: number | undefined;
@@ -5595,7 +6719,8 @@ declare const impContract: {
5595
6719
  error?: string | undefined;
5596
6720
  sessions?: number | undefined;
5597
6721
  coldBootReason?: string | undefined;
5598
- outdated?: readonly ("agent" | "firecracker" | "impd" | "kernel")[] | undefined;
6722
+ agentSilentSince?: Date | undefined;
6723
+ outdated?: readonly ("agent" | "firecracker" | "impd" | "ipv6" | "kernel")[] | undefined;
5599
6724
  cpu?: {
5600
6725
  limit: number | null;
5601
6726
  weight: number;
@@ -5657,6 +6782,7 @@ declare const impContract: {
5657
6782
  grant: "grant";
5658
6783
  image: "image";
5659
6784
  imp: "imp";
6785
+ network: "network";
5660
6786
  secret: "secret";
5661
6787
  service: "service";
5662
6788
  session: "session";
@@ -5675,6 +6801,7 @@ declare const impContract: {
5675
6801
  grant: "grant";
5676
6802
  image: "image";
5677
6803
  imp: "imp";
6804
+ network: "network";
5678
6805
  secret: "secret";
5679
6806
  service: "service";
5680
6807
  session: "session";
@@ -5753,6 +6880,7 @@ declare const impContract: {
5753
6880
  firecracker: z.ZodInt;
5754
6881
  kernel: z.ZodInt;
5755
6882
  agent: z.ZodInt;
6883
+ ipv6: z.ZodOptional<z.ZodInt>;
5756
6884
  }, z.core.$strip>;
5757
6885
  }, z.core.$strip>;
5758
6886
  firecrackerVersion: z.ZodNullable<z.ZodString>;
@@ -5792,6 +6920,15 @@ declare const impContract: {
5792
6920
  hostCpus: z.ZodInt;
5793
6921
  limitsEnforced: z.ZodBoolean;
5794
6922
  }, z.core.$strip>>;
6923
+ public: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6924
+ ip: z.ZodIPv4;
6925
+ imps: z.ZodInt;
6926
+ records: z.ZodNullable<z.ZodObject<{
6927
+ isOk: z.ZodBoolean;
6928
+ error: z.ZodNullable<z.ZodString>;
6929
+ at: z.ZodDate;
6930
+ }, z.core.$strip>>;
6931
+ }, z.core.$strip>>>;
5795
6932
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
5796
6933
  NOT_FOUND: {
5797
6934
  readonly message: "Not found";
@@ -5802,6 +6939,7 @@ declare const impContract: {
5802
6939
  grant: "grant";
5803
6940
  image: "image";
5804
6941
  imp: "imp";
6942
+ network: "network";
5805
6943
  secret: "secret";
5806
6944
  service: "service";
5807
6945
  session: "session";
@@ -5820,6 +6958,7 @@ declare const impContract: {
5820
6958
  grant: "grant";
5821
6959
  image: "image";
5822
6960
  imp: "imp";
6961
+ network: "network";
5823
6962
  secret: "secret";
5824
6963
  service: "service";
5825
6964
  session: "session";
@@ -5905,6 +7044,7 @@ declare const impContract: {
5905
7044
  grant: "grant";
5906
7045
  image: "image";
5907
7046
  imp: "imp";
7047
+ network: "network";
5908
7048
  secret: "secret";
5909
7049
  service: "service";
5910
7050
  session: "session";
@@ -5923,6 +7063,7 @@ declare const impContract: {
5923
7063
  grant: "grant";
5924
7064
  image: "image";
5925
7065
  imp: "imp";
7066
+ network: "network";
5926
7067
  secret: "secret";
5927
7068
  service: "service";
5928
7069
  session: "session";
@@ -6010,6 +7151,7 @@ declare const impContract: {
6010
7151
  grant: "grant";
6011
7152
  image: "image";
6012
7153
  imp: "imp";
7154
+ network: "network";
6013
7155
  secret: "secret";
6014
7156
  service: "service";
6015
7157
  session: "session";
@@ -6028,6 +7170,7 @@ declare const impContract: {
6028
7170
  grant: "grant";
6029
7171
  image: "image";
6030
7172
  imp: "imp";
7173
+ network: "network";
6031
7174
  secret: "secret";
6032
7175
  service: "service";
6033
7176
  session: "session";
@@ -6125,6 +7268,7 @@ declare const impContract: {
6125
7268
  grant: "grant";
6126
7269
  image: "image";
6127
7270
  imp: "imp";
7271
+ network: "network";
6128
7272
  secret: "secret";
6129
7273
  service: "service";
6130
7274
  session: "session";
@@ -6143,6 +7287,7 @@ declare const impContract: {
6143
7287
  grant: "grant";
6144
7288
  image: "image";
6145
7289
  imp: "imp";
7290
+ network: "network";
6146
7291
  secret: "secret";
6147
7292
  service: "service";
6148
7293
  session: "session";
@@ -6216,6 +7361,7 @@ declare const impContract: {
6216
7361
  grant: "grant";
6217
7362
  image: "image";
6218
7363
  imp: "imp";
7364
+ network: "network";
6219
7365
  secret: "secret";
6220
7366
  service: "service";
6221
7367
  session: "session";
@@ -6234,6 +7380,7 @@ declare const impContract: {
6234
7380
  grant: "grant";
6235
7381
  image: "image";
6236
7382
  imp: "imp";
7383
+ network: "network";
6237
7384
  secret: "secret";
6238
7385
  service: "service";
6239
7386
  session: "session";
@@ -6312,6 +7459,7 @@ declare const impContract: {
6312
7459
  grant: "grant";
6313
7460
  image: "image";
6314
7461
  imp: "imp";
7462
+ network: "network";
6315
7463
  secret: "secret";
6316
7464
  service: "service";
6317
7465
  session: "session";
@@ -6330,6 +7478,7 @@ declare const impContract: {
6330
7478
  grant: "grant";
6331
7479
  image: "image";
6332
7480
  imp: "imp";
7481
+ network: "network";
6333
7482
  secret: "secret";
6334
7483
  service: "service";
6335
7484
  session: "session";
@@ -6404,6 +7553,7 @@ declare const impContract: {
6404
7553
  grant: "grant";
6405
7554
  image: "image";
6406
7555
  imp: "imp";
7556
+ network: "network";
6407
7557
  secret: "secret";
6408
7558
  service: "service";
6409
7559
  session: "session";
@@ -6422,6 +7572,7 @@ declare const impContract: {
6422
7572
  grant: "grant";
6423
7573
  image: "image";
6424
7574
  imp: "imp";
7575
+ network: "network";
6425
7576
  secret: "secret";
6426
7577
  service: "service";
6427
7578
  session: "session";
@@ -6507,6 +7658,7 @@ declare const impContract: {
6507
7658
  grant: "grant";
6508
7659
  image: "image";
6509
7660
  imp: "imp";
7661
+ network: "network";
6510
7662
  secret: "secret";
6511
7663
  service: "service";
6512
7664
  session: "session";
@@ -6525,6 +7677,7 @@ declare const impContract: {
6525
7677
  grant: "grant";
6526
7678
  image: "image";
6527
7679
  imp: "imp";
7680
+ network: "network";
6528
7681
  secret: "secret";
6529
7682
  service: "service";
6530
7683
  session: "session";
@@ -6625,6 +7778,13 @@ declare const ImpSchema: z.ZodObject<{
6625
7778
  port: z.ZodInt;
6626
7779
  httpPort: z.ZodInt;
6627
7780
  url: z.ZodURL;
7781
+ public: z.ZodOptional<z.ZodObject<{
7782
+ auth: z.ZodEnum<{
7783
+ basic: "basic";
7784
+ none: "none";
7785
+ token: "token";
7786
+ }>;
7787
+ }, z.core.$strip>>;
6628
7788
  createdAt: z.ZodDate;
6629
7789
  lastActiveAt: z.ZodDate;
6630
7790
  ramMib: z.ZodOptional<z.ZodInt>;
@@ -6634,10 +7794,12 @@ declare const ImpSchema: z.ZodObject<{
6634
7794
  error: z.ZodOptional<z.ZodString>;
6635
7795
  sessions: z.ZodOptional<z.ZodInt>;
6636
7796
  coldBootReason: z.ZodOptional<z.ZodString>;
7797
+ agentSilentSince: z.ZodOptional<z.ZodDate>;
6637
7798
  outdated: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
6638
7799
  agent: "agent";
6639
7800
  firecracker: "firecracker";
6640
7801
  impd: "impd";
7802
+ ipv6: "ipv6";
6641
7803
  kernel: "kernel";
6642
7804
  }>>>>;
6643
7805
  cpu: z.ZodOptional<z.ZodObject<{
@@ -6698,6 +7860,7 @@ declare const SystemInfoSchema: z.ZodObject<{
6698
7860
  firecracker: z.ZodInt;
6699
7861
  kernel: z.ZodInt;
6700
7862
  agent: z.ZodInt;
7863
+ ipv6: z.ZodOptional<z.ZodInt>;
6701
7864
  }, z.core.$strip>;
6702
7865
  }, z.core.$strip>;
6703
7866
  firecrackerVersion: z.ZodNullable<z.ZodString>;
@@ -6737,6 +7900,15 @@ declare const SystemInfoSchema: z.ZodObject<{
6737
7900
  hostCpus: z.ZodInt;
6738
7901
  limitsEnforced: z.ZodBoolean;
6739
7902
  }, z.core.$strip>>;
7903
+ public: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7904
+ ip: z.ZodIPv4;
7905
+ imps: z.ZodInt;
7906
+ records: z.ZodNullable<z.ZodObject<{
7907
+ isOk: z.ZodBoolean;
7908
+ error: z.ZodNullable<z.ZodString>;
7909
+ at: z.ZodDate;
7910
+ }, z.core.$strip>>;
7911
+ }, z.core.$strip>>>;
6740
7912
  }, z.core.$strip>;
6741
7913
  type SystemInfo = z.infer<typeof SystemInfoSchema>;
6742
7914
  //#endregion