@agent-vm/agent-vm 0.0.82 → 0.0.84

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.
Files changed (69) hide show
  1. package/dist/cli/commands/create-app.d.ts +333 -331
  2. package/dist/cli/commands/create-app.d.ts.map +1 -1
  3. package/dist/cli/commands/doctor-definition.d.ts +2 -0
  4. package/dist/cli/commands/doctor-definition.d.ts.map +1 -1
  5. package/dist/cli/commands/doctor-definition.js +7 -3
  6. package/dist/cli/commands/doctor-definition.js.map +1 -1
  7. package/dist/cli/controller-operation-commands.d.ts.map +1 -1
  8. package/dist/cli/controller-operation-commands.js +39 -2
  9. package/dist/cli/controller-operation-commands.js.map +1 -1
  10. package/dist/cli/manual-templates.d.ts.map +1 -1
  11. package/dist/cli/manual-templates.js +23 -5
  12. package/dist/cli/manual-templates.js.map +1 -1
  13. package/dist/config/system-config.d.ts +18 -1
  14. package/dist/config/system-config.d.ts.map +1 -1
  15. package/dist/config/system-config.js +53 -0
  16. package/dist/config/system-config.js.map +1 -1
  17. package/dist/controller/controller-runtime-operations.d.ts +3 -0
  18. package/dist/controller/controller-runtime-operations.d.ts.map +1 -1
  19. package/dist/controller/controller-runtime-operations.js.map +1 -1
  20. package/dist/controller/controller-runtime-types.d.ts +5 -1
  21. package/dist/controller/controller-runtime-types.d.ts.map +1 -1
  22. package/dist/controller/controller-runtime.d.ts.map +1 -1
  23. package/dist/controller/controller-runtime.js +61 -1
  24. package/dist/controller/controller-runtime.js.map +1 -1
  25. package/dist/controller/health/gateway-service-health-monitor.d.ts +24 -0
  26. package/dist/controller/health/gateway-service-health-monitor.d.ts.map +1 -0
  27. package/dist/controller/health/gateway-service-health-monitor.js +68 -0
  28. package/dist/controller/health/gateway-service-health-monitor.js.map +1 -0
  29. package/dist/controller/health/health-event-store.d.ts +19 -0
  30. package/dist/controller/health/health-event-store.d.ts.map +1 -0
  31. package/dist/controller/health/health-event-store.js +54 -0
  32. package/dist/controller/health/health-event-store.js.map +1 -0
  33. package/dist/controller/http/controller-health-event-routes.d.ts +9 -0
  34. package/dist/controller/http/controller-health-event-routes.d.ts.map +1 -0
  35. package/dist/controller/http/controller-health-event-routes.js +47 -0
  36. package/dist/controller/http/controller-health-event-routes.js.map +1 -0
  37. package/dist/controller/http/controller-http-routes.d.ts +15 -1
  38. package/dist/controller/http/controller-http-routes.d.ts.map +1 -1
  39. package/dist/controller/http/controller-http-routes.js +118 -5
  40. package/dist/controller/http/controller-http-routes.js.map +1 -1
  41. package/dist/controller/http/controller-request-schemas.d.ts +5 -5
  42. package/dist/controller/http/controller-zone-operation-routes.d.ts +3 -0
  43. package/dist/controller/http/controller-zone-operation-routes.d.ts.map +1 -1
  44. package/dist/controller/http/controller-zone-operation-routes.js +13 -0
  45. package/dist/controller/http/controller-zone-operation-routes.js.map +1 -1
  46. package/dist/controller/leases/lease-work-mount-paths.d.ts +1 -0
  47. package/dist/controller/leases/lease-work-mount-paths.d.ts.map +1 -1
  48. package/dist/controller/leases/lease-work-mount-paths.js +21 -12
  49. package/dist/controller/leases/lease-work-mount-paths.js.map +1 -1
  50. package/dist/controller/leases/openclaw-gateway-lease-path-mapping.d.ts.map +1 -1
  51. package/dist/controller/leases/openclaw-gateway-lease-path-mapping.js +31 -6
  52. package/dist/controller/leases/openclaw-gateway-lease-path-mapping.js.map +1 -1
  53. package/dist/controller/zone-runtimes/openclaw-zone-runtime.d.ts.map +1 -1
  54. package/dist/controller/zone-runtimes/openclaw-zone-runtime.js +3 -0
  55. package/dist/controller/zone-runtimes/openclaw-zone-runtime.js.map +1 -1
  56. package/dist/controller/zone-runtimes/zone-runtime-types.d.ts +3 -0
  57. package/dist/controller/zone-runtimes/zone-runtime-types.d.ts.map +1 -1
  58. package/dist/gateway/gateway-health-check.d.ts +3 -0
  59. package/dist/gateway/gateway-health-check.d.ts.map +1 -1
  60. package/dist/gateway/gateway-health-check.js +10 -0
  61. package/dist/gateway/gateway-health-check.js.map +1 -1
  62. package/dist/integration-tests/smoke-harness.d.ts +1 -0
  63. package/dist/integration-tests/smoke-harness.d.ts.map +1 -1
  64. package/dist/integration-tests/smoke-harness.js +5 -0
  65. package/dist/integration-tests/smoke-harness.js.map +1 -1
  66. package/dist/operations/openclaw-deployment-doctor.d.ts.map +1 -1
  67. package/dist/operations/openclaw-deployment-doctor.js +12 -3
  68. package/dist/operations/openclaw-deployment-doctor.js.map +1 -1
  69. package/package.json +12 -11
@@ -28,6 +28,93 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
28
28
  phase: string;
29
29
  };
30
30
  };
31
+ } | {
32
+ command: "controller";
33
+ args: {
34
+ command: "ssh";
35
+ args: {
36
+ allSecrets: boolean;
37
+ config: string | undefined;
38
+ zone: string | undefined;
39
+ };
40
+ } | {
41
+ command: "upgrade";
42
+ args: {
43
+ purge?: boolean;
44
+ zone?: string | undefined;
45
+ config: string | undefined;
46
+ };
47
+ } | {
48
+ command: "lease";
49
+ args: {
50
+ command: "peek";
51
+ args: {
52
+ config: string | undefined;
53
+ leaseId: string;
54
+ };
55
+ } | {
56
+ command: "release";
57
+ args: {
58
+ config: string | undefined;
59
+ leaseId: string;
60
+ };
61
+ } | {
62
+ command: "list";
63
+ args: {
64
+ config: string | undefined;
65
+ };
66
+ };
67
+ } | {
68
+ command: "logs";
69
+ args: {
70
+ purge?: boolean;
71
+ zone?: string | undefined;
72
+ config: string | undefined;
73
+ };
74
+ } | {
75
+ command: "status";
76
+ args: {
77
+ purge?: boolean;
78
+ zone?: string | undefined;
79
+ config: string | undefined;
80
+ };
81
+ } | {
82
+ command: "credentials";
83
+ args: {
84
+ command: "refresh";
85
+ args: {
86
+ config: string | undefined;
87
+ zone: string | undefined;
88
+ };
89
+ };
90
+ } | {
91
+ command: "destroy";
92
+ args: {
93
+ purge?: boolean;
94
+ zone?: string | undefined;
95
+ config: string | undefined;
96
+ };
97
+ } | {
98
+ command: "start";
99
+ args: {
100
+ config: string | undefined;
101
+ zone: string | undefined;
102
+ };
103
+ } | {
104
+ command: "stop";
105
+ args: {
106
+ purge?: boolean;
107
+ zone?: string | undefined;
108
+ config: string | undefined;
109
+ };
110
+ } | {
111
+ command: "cleanup";
112
+ args: {
113
+ config: string | undefined;
114
+ force: boolean;
115
+ zone: string | undefined;
116
+ };
117
+ };
31
118
  } | {
32
119
  command: "zone-git";
33
120
  args: {
@@ -66,6 +153,28 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
66
153
  confirm: boolean;
67
154
  };
68
155
  };
156
+ } | {
157
+ command: "backup";
158
+ args: {
159
+ command: "list";
160
+ args: {
161
+ config: string | undefined;
162
+ zone: string | undefined;
163
+ };
164
+ } | {
165
+ command: "create";
166
+ args: {
167
+ config: string | undefined;
168
+ zone: string | undefined;
169
+ };
170
+ } | {
171
+ command: "restore";
172
+ args: {
173
+ backupPath: string;
174
+ config: string | undefined;
175
+ zone: string | undefined;
176
+ };
177
+ };
69
178
  } | {
70
179
  command: "auth";
71
180
  args: {
@@ -113,119 +222,11 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
113
222
  config: string | undefined;
114
223
  force: boolean;
115
224
  };
116
- } | {
117
- command: "backup";
118
- args: {
119
- command: "list";
120
- args: {
121
- config: string | undefined;
122
- zone: string | undefined;
123
- };
124
- } | {
125
- command: "create";
126
- args: {
127
- config: string | undefined;
128
- zone: string | undefined;
129
- };
130
- } | {
131
- command: "restore";
132
- args: {
133
- backupPath: string;
134
- config: string | undefined;
135
- zone: string | undefined;
136
- };
137
- };
138
225
  } | {
139
226
  command: "doctor";
140
227
  args: {
141
228
  config: string | undefined;
142
- };
143
- } | {
144
- command: "controller";
145
- args: {
146
- command: "ssh";
147
- args: {
148
- allSecrets: boolean;
149
- config: string | undefined;
150
- zone: string | undefined;
151
- };
152
- } | {
153
- command: "upgrade";
154
- args: {
155
- purge?: boolean;
156
- zone?: string | undefined;
157
- config: string | undefined;
158
- };
159
- } | {
160
- command: "lease";
161
- args: {
162
- command: "peek";
163
- args: {
164
- config: string | undefined;
165
- leaseId: string;
166
- };
167
- } | {
168
- command: "release";
169
- args: {
170
- config: string | undefined;
171
- leaseId: string;
172
- };
173
- } | {
174
- command: "list";
175
- args: {
176
- config: string | undefined;
177
- };
178
- };
179
- } | {
180
- command: "logs";
181
- args: {
182
- purge?: boolean;
183
- zone?: string | undefined;
184
- config: string | undefined;
185
- };
186
- } | {
187
- command: "status";
188
- args: {
189
- purge?: boolean;
190
- zone?: string | undefined;
191
- config: string | undefined;
192
- };
193
- } | {
194
- command: "credentials";
195
- args: {
196
- command: "refresh";
197
- args: {
198
- config: string | undefined;
199
- zone: string | undefined;
200
- };
201
- };
202
- } | {
203
- command: "destroy";
204
- args: {
205
- purge?: boolean;
206
- zone?: string | undefined;
207
- config: string | undefined;
208
- };
209
- } | {
210
- command: "start";
211
- args: {
212
- config: string | undefined;
213
- zone: string | undefined;
214
- };
215
- } | {
216
- command: "stop";
217
- args: {
218
- purge?: boolean;
219
- zone?: string | undefined;
220
- config: string | undefined;
221
- };
222
- } | {
223
- command: "cleanup";
224
- args: {
225
- config: string | undefined;
226
- force: boolean;
227
- zone: string | undefined;
228
- };
229
+ json: boolean;
229
230
  };
230
231
  } | {
231
232
  command: "paths";
@@ -285,118 +286,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
285
286
  phase: string;
286
287
  };
287
288
  };
288
- } | {
289
- command: "zone-git";
290
- args: {
291
- command: "push";
292
- args: {
293
- config: string | undefined;
294
- json: boolean;
295
- zone: string | undefined;
296
- };
297
- } | {
298
- command: "status";
299
- args: {
300
- config: string | undefined;
301
- json: boolean;
302
- zone: string | undefined;
303
- };
304
- } | {
305
- command: "init";
306
- args: {
307
- config: string | undefined;
308
- json: boolean;
309
- zone: string | undefined;
310
- };
311
- };
312
- } | {
313
- command: "cache";
314
- args: {
315
- command: "list";
316
- args: {
317
- config: string | undefined;
318
- };
319
- } | {
320
- command: "clean";
321
- args: {
322
- config: string | undefined;
323
- confirm: boolean;
324
- };
325
- };
326
- } | {
327
- command: "auth";
328
- args: {
329
- command: "openclaw";
330
- args: {
331
- agent: string | undefined;
332
- allAgents: boolean;
333
- config: string | undefined;
334
- deviceCode: boolean;
335
- provider: string;
336
- setDefault: boolean;
337
- zone: string | undefined;
338
- };
339
- } | {
340
- command: "codex-harness";
341
- args: {
342
- agent: string | undefined;
343
- allAgents: boolean;
344
- config: string | undefined;
345
- zone: string | undefined;
346
- };
347
- };
348
- } | {
349
- command: "init";
350
- args: {
351
- zoneId: string | undefined;
352
- type: string;
353
- preset: import("./init-definition.js").InitPresetDefaults | undefined;
354
- secrets: "1password" | "environment" | undefined;
355
- arch: "aarch64" | "x86_64" | undefined;
356
- paths: "local" | "pod" | "user-dir" | undefined;
357
- namespace: string | undefined;
358
- overwrite: boolean;
359
- agents: string | undefined;
360
- };
361
- } | {
362
- command: "validate";
363
- args: {
364
- config: string | undefined;
365
- mcpLive: boolean;
366
- };
367
- } | {
368
- command: "build";
369
- args: {
370
- config: string | undefined;
371
- force: boolean;
372
- };
373
- } | {
374
- command: "backup";
375
- args: {
376
- command: "list";
377
- args: {
378
- config: string | undefined;
379
- zone: string | undefined;
380
- };
381
- } | {
382
- command: "create";
383
- args: {
384
- config: string | undefined;
385
- zone: string | undefined;
386
- };
387
- } | {
388
- command: "restore";
389
- args: {
390
- backupPath: string;
391
- config: string | undefined;
392
- zone: string | undefined;
393
- };
394
- };
395
- } | {
396
- command: "doctor";
397
- args: {
398
- config: string | undefined;
399
- };
400
289
  } | {
401
290
  command: "controller";
402
291
  args: {
@@ -477,13 +366,126 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
477
366
  config: string | undefined;
478
367
  };
479
368
  } | {
480
- command: "cleanup";
369
+ command: "cleanup";
370
+ args: {
371
+ config: string | undefined;
372
+ force: boolean;
373
+ zone: string | undefined;
374
+ };
375
+ };
376
+ } | {
377
+ command: "zone-git";
378
+ args: {
379
+ command: "push";
380
+ args: {
381
+ config: string | undefined;
382
+ json: boolean;
383
+ zone: string | undefined;
384
+ };
385
+ } | {
386
+ command: "status";
387
+ args: {
388
+ config: string | undefined;
389
+ json: boolean;
390
+ zone: string | undefined;
391
+ };
392
+ } | {
393
+ command: "init";
394
+ args: {
395
+ config: string | undefined;
396
+ json: boolean;
397
+ zone: string | undefined;
398
+ };
399
+ };
400
+ } | {
401
+ command: "cache";
402
+ args: {
403
+ command: "list";
404
+ args: {
405
+ config: string | undefined;
406
+ };
407
+ } | {
408
+ command: "clean";
409
+ args: {
410
+ config: string | undefined;
411
+ confirm: boolean;
412
+ };
413
+ };
414
+ } | {
415
+ command: "backup";
416
+ args: {
417
+ command: "list";
418
+ args: {
419
+ config: string | undefined;
420
+ zone: string | undefined;
421
+ };
422
+ } | {
423
+ command: "create";
424
+ args: {
425
+ config: string | undefined;
426
+ zone: string | undefined;
427
+ };
428
+ } | {
429
+ command: "restore";
430
+ args: {
431
+ backupPath: string;
432
+ config: string | undefined;
433
+ zone: string | undefined;
434
+ };
435
+ };
436
+ } | {
437
+ command: "auth";
438
+ args: {
439
+ command: "openclaw";
440
+ args: {
441
+ agent: string | undefined;
442
+ allAgents: boolean;
443
+ config: string | undefined;
444
+ deviceCode: boolean;
445
+ provider: string;
446
+ setDefault: boolean;
447
+ zone: string | undefined;
448
+ };
449
+ } | {
450
+ command: "codex-harness";
481
451
  args: {
452
+ agent: string | undefined;
453
+ allAgents: boolean;
482
454
  config: string | undefined;
483
- force: boolean;
484
455
  zone: string | undefined;
485
456
  };
486
457
  };
458
+ } | {
459
+ command: "init";
460
+ args: {
461
+ zoneId: string | undefined;
462
+ type: string;
463
+ preset: import("./init-definition.js").InitPresetDefaults | undefined;
464
+ secrets: "1password" | "environment" | undefined;
465
+ arch: "aarch64" | "x86_64" | undefined;
466
+ paths: "local" | "pod" | "user-dir" | undefined;
467
+ namespace: string | undefined;
468
+ overwrite: boolean;
469
+ agents: string | undefined;
470
+ };
471
+ } | {
472
+ command: "validate";
473
+ args: {
474
+ config: string | undefined;
475
+ mcpLive: boolean;
476
+ };
477
+ } | {
478
+ command: "build";
479
+ args: {
480
+ config: string | undefined;
481
+ force: boolean;
482
+ };
483
+ } | {
484
+ command: "doctor";
485
+ args: {
486
+ config: string | undefined;
487
+ json: boolean;
488
+ };
487
489
  } | {
488
490
  command: "paths";
489
491
  args: {
@@ -531,60 +533,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
531
533
  command: "reset-instructions";
532
534
  value: Promise<void>;
533
535
  };
534
- } | {
535
- command: "zone-git";
536
- value: {
537
- command: "push";
538
- value: Promise<void>;
539
- } | {
540
- command: "status";
541
- value: Promise<void>;
542
- } | {
543
- command: "init";
544
- value: Promise<void>;
545
- };
546
- } | {
547
- command: "cache";
548
- value: {
549
- command: "list";
550
- value: Promise<void>;
551
- } | {
552
- command: "clean";
553
- value: Promise<void>;
554
- };
555
- } | {
556
- command: "auth";
557
- value: {
558
- command: "openclaw";
559
- value: Promise<void>;
560
- } | {
561
- command: "codex-harness";
562
- value: Promise<void>;
563
- };
564
- } | {
565
- command: "init";
566
- value: Promise<void>;
567
- } | {
568
- command: "validate";
569
- value: Promise<void>;
570
- } | {
571
- command: "build";
572
- value: Promise<void>;
573
- } | {
574
- command: "backup";
575
- value: {
576
- command: "list";
577
- value: Promise<void>;
578
- } | {
579
- command: "create";
580
- value: Promise<void>;
581
- } | {
582
- command: "restore";
583
- value: Promise<void>;
584
- };
585
- } | {
586
- command: "doctor";
587
- value: Promise<void>;
588
536
  } | {
589
537
  command: "controller";
590
538
  value: {
@@ -630,6 +578,60 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
630
578
  command: "cleanup";
631
579
  value: Promise<void>;
632
580
  };
581
+ } | {
582
+ command: "zone-git";
583
+ value: {
584
+ command: "push";
585
+ value: Promise<void>;
586
+ } | {
587
+ command: "status";
588
+ value: Promise<void>;
589
+ } | {
590
+ command: "init";
591
+ value: Promise<void>;
592
+ };
593
+ } | {
594
+ command: "cache";
595
+ value: {
596
+ command: "list";
597
+ value: Promise<void>;
598
+ } | {
599
+ command: "clean";
600
+ value: Promise<void>;
601
+ };
602
+ } | {
603
+ command: "backup";
604
+ value: {
605
+ command: "list";
606
+ value: Promise<void>;
607
+ } | {
608
+ command: "create";
609
+ value: Promise<void>;
610
+ } | {
611
+ command: "restore";
612
+ value: Promise<void>;
613
+ };
614
+ } | {
615
+ command: "auth";
616
+ value: {
617
+ command: "openclaw";
618
+ value: Promise<void>;
619
+ } | {
620
+ command: "codex-harness";
621
+ value: Promise<void>;
622
+ };
623
+ } | {
624
+ command: "init";
625
+ value: Promise<void>;
626
+ } | {
627
+ command: "validate";
628
+ value: Promise<void>;
629
+ } | {
630
+ command: "build";
631
+ value: Promise<void>;
632
+ } | {
633
+ command: "doctor";
634
+ value: Promise<void>;
633
635
  } | {
634
636
  command: "paths";
635
637
  value: {
@@ -667,60 +669,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
667
669
  command: "reset-instructions";
668
670
  value: Promise<void>;
669
671
  };
670
- } | {
671
- command: "zone-git";
672
- value: {
673
- command: "push";
674
- value: Promise<void>;
675
- } | {
676
- command: "status";
677
- value: Promise<void>;
678
- } | {
679
- command: "init";
680
- value: Promise<void>;
681
- };
682
- } | {
683
- command: "cache";
684
- value: {
685
- command: "list";
686
- value: Promise<void>;
687
- } | {
688
- command: "clean";
689
- value: Promise<void>;
690
- };
691
- } | {
692
- command: "auth";
693
- value: {
694
- command: "openclaw";
695
- value: Promise<void>;
696
- } | {
697
- command: "codex-harness";
698
- value: Promise<void>;
699
- };
700
- } | {
701
- command: "init";
702
- value: Promise<void>;
703
- } | {
704
- command: "validate";
705
- value: Promise<void>;
706
- } | {
707
- command: "build";
708
- value: Promise<void>;
709
- } | {
710
- command: "backup";
711
- value: {
712
- command: "list";
713
- value: Promise<void>;
714
- } | {
715
- command: "create";
716
- value: Promise<void>;
717
- } | {
718
- command: "restore";
719
- value: Promise<void>;
720
- };
721
- } | {
722
- command: "doctor";
723
- value: Promise<void>;
724
672
  } | {
725
673
  command: "controller";
726
674
  value: {
@@ -766,6 +714,60 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
766
714
  command: "cleanup";
767
715
  value: Promise<void>;
768
716
  };
717
+ } | {
718
+ command: "zone-git";
719
+ value: {
720
+ command: "push";
721
+ value: Promise<void>;
722
+ } | {
723
+ command: "status";
724
+ value: Promise<void>;
725
+ } | {
726
+ command: "init";
727
+ value: Promise<void>;
728
+ };
729
+ } | {
730
+ command: "cache";
731
+ value: {
732
+ command: "list";
733
+ value: Promise<void>;
734
+ } | {
735
+ command: "clean";
736
+ value: Promise<void>;
737
+ };
738
+ } | {
739
+ command: "backup";
740
+ value: {
741
+ command: "list";
742
+ value: Promise<void>;
743
+ } | {
744
+ command: "create";
745
+ value: Promise<void>;
746
+ } | {
747
+ command: "restore";
748
+ value: Promise<void>;
749
+ };
750
+ } | {
751
+ command: "auth";
752
+ value: {
753
+ command: "openclaw";
754
+ value: Promise<void>;
755
+ } | {
756
+ command: "codex-harness";
757
+ value: Promise<void>;
758
+ };
759
+ } | {
760
+ command: "init";
761
+ value: Promise<void>;
762
+ } | {
763
+ command: "validate";
764
+ value: Promise<void>;
765
+ } | {
766
+ command: "build";
767
+ value: Promise<void>;
768
+ } | {
769
+ command: "doctor";
770
+ value: Promise<void>;
769
771
  } | {
770
772
  command: "paths";
771
773
  value: {