@agent-vm/agent-vm 0.0.82 → 0.0.85

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 +335 -331
  2. package/dist/cli/commands/create-app.d.ts.map +1 -1
  3. package/dist/cli/commands/doctor-definition.d.ts +4 -0
  4. package/dist/cli/commands/doctor-definition.d.ts.map +1 -1
  5. package/dist/cli/commands/doctor-definition.js +14 -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 +58 -1
  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 +61 -37
  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,12 @@ 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;
230
+ showPassed: boolean;
229
231
  };
230
232
  } | {
231
233
  command: "paths";
@@ -285,118 +287,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
285
287
  phase: string;
286
288
  };
287
289
  };
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
290
  } | {
401
291
  command: "controller";
402
292
  args: {
@@ -477,13 +367,127 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
477
367
  config: string | undefined;
478
368
  };
479
369
  } | {
480
- command: "cleanup";
370
+ command: "cleanup";
371
+ args: {
372
+ config: string | undefined;
373
+ force: boolean;
374
+ zone: string | undefined;
375
+ };
376
+ };
377
+ } | {
378
+ command: "zone-git";
379
+ args: {
380
+ command: "push";
381
+ args: {
382
+ config: string | undefined;
383
+ json: boolean;
384
+ zone: string | undefined;
385
+ };
386
+ } | {
387
+ command: "status";
388
+ args: {
389
+ config: string | undefined;
390
+ json: boolean;
391
+ zone: string | undefined;
392
+ };
393
+ } | {
394
+ command: "init";
395
+ args: {
396
+ config: string | undefined;
397
+ json: boolean;
398
+ zone: string | undefined;
399
+ };
400
+ };
401
+ } | {
402
+ command: "cache";
403
+ args: {
404
+ command: "list";
405
+ args: {
406
+ config: string | undefined;
407
+ };
408
+ } | {
409
+ command: "clean";
410
+ args: {
411
+ config: string | undefined;
412
+ confirm: boolean;
413
+ };
414
+ };
415
+ } | {
416
+ command: "backup";
417
+ args: {
418
+ command: "list";
419
+ args: {
420
+ config: string | undefined;
421
+ zone: string | undefined;
422
+ };
423
+ } | {
424
+ command: "create";
425
+ args: {
426
+ config: string | undefined;
427
+ zone: string | undefined;
428
+ };
429
+ } | {
430
+ command: "restore";
431
+ args: {
432
+ backupPath: string;
433
+ config: string | undefined;
434
+ zone: string | undefined;
435
+ };
436
+ };
437
+ } | {
438
+ command: "auth";
439
+ args: {
440
+ command: "openclaw";
441
+ args: {
442
+ agent: string | undefined;
443
+ allAgents: boolean;
444
+ config: string | undefined;
445
+ deviceCode: boolean;
446
+ provider: string;
447
+ setDefault: boolean;
448
+ zone: string | undefined;
449
+ };
450
+ } | {
451
+ command: "codex-harness";
481
452
  args: {
453
+ agent: string | undefined;
454
+ allAgents: boolean;
482
455
  config: string | undefined;
483
- force: boolean;
484
456
  zone: string | undefined;
485
457
  };
486
458
  };
459
+ } | {
460
+ command: "init";
461
+ args: {
462
+ zoneId: string | undefined;
463
+ type: string;
464
+ preset: import("./init-definition.js").InitPresetDefaults | undefined;
465
+ secrets: "1password" | "environment" | undefined;
466
+ arch: "aarch64" | "x86_64" | undefined;
467
+ paths: "local" | "pod" | "user-dir" | undefined;
468
+ namespace: string | undefined;
469
+ overwrite: boolean;
470
+ agents: string | undefined;
471
+ };
472
+ } | {
473
+ command: "validate";
474
+ args: {
475
+ config: string | undefined;
476
+ mcpLive: boolean;
477
+ };
478
+ } | {
479
+ command: "build";
480
+ args: {
481
+ config: string | undefined;
482
+ force: boolean;
483
+ };
484
+ } | {
485
+ command: "doctor";
486
+ args: {
487
+ config: string | undefined;
488
+ json: boolean;
489
+ showPassed: boolean;
490
+ };
487
491
  } | {
488
492
  command: "paths";
489
493
  args: {
@@ -531,60 +535,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
531
535
  command: "reset-instructions";
532
536
  value: Promise<void>;
533
537
  };
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
538
  } | {
589
539
  command: "controller";
590
540
  value: {
@@ -630,6 +580,60 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
630
580
  command: "cleanup";
631
581
  value: Promise<void>;
632
582
  };
583
+ } | {
584
+ command: "zone-git";
585
+ value: {
586
+ command: "push";
587
+ value: Promise<void>;
588
+ } | {
589
+ command: "status";
590
+ value: Promise<void>;
591
+ } | {
592
+ command: "init";
593
+ value: Promise<void>;
594
+ };
595
+ } | {
596
+ command: "cache";
597
+ value: {
598
+ command: "list";
599
+ value: Promise<void>;
600
+ } | {
601
+ command: "clean";
602
+ value: Promise<void>;
603
+ };
604
+ } | {
605
+ command: "backup";
606
+ value: {
607
+ command: "list";
608
+ value: Promise<void>;
609
+ } | {
610
+ command: "create";
611
+ value: Promise<void>;
612
+ } | {
613
+ command: "restore";
614
+ value: Promise<void>;
615
+ };
616
+ } | {
617
+ command: "auth";
618
+ value: {
619
+ command: "openclaw";
620
+ value: Promise<void>;
621
+ } | {
622
+ command: "codex-harness";
623
+ value: Promise<void>;
624
+ };
625
+ } | {
626
+ command: "init";
627
+ value: Promise<void>;
628
+ } | {
629
+ command: "validate";
630
+ value: Promise<void>;
631
+ } | {
632
+ command: "build";
633
+ value: Promise<void>;
634
+ } | {
635
+ command: "doctor";
636
+ value: Promise<void>;
633
637
  } | {
634
638
  command: "paths";
635
639
  value: {
@@ -667,60 +671,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
667
671
  command: "reset-instructions";
668
672
  value: Promise<void>;
669
673
  };
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
674
  } | {
725
675
  command: "controller";
726
676
  value: {
@@ -766,6 +716,60 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
766
716
  command: "cleanup";
767
717
  value: Promise<void>;
768
718
  };
719
+ } | {
720
+ command: "zone-git";
721
+ value: {
722
+ command: "push";
723
+ value: Promise<void>;
724
+ } | {
725
+ command: "status";
726
+ value: Promise<void>;
727
+ } | {
728
+ command: "init";
729
+ value: Promise<void>;
730
+ };
731
+ } | {
732
+ command: "cache";
733
+ value: {
734
+ command: "list";
735
+ value: Promise<void>;
736
+ } | {
737
+ command: "clean";
738
+ value: Promise<void>;
739
+ };
740
+ } | {
741
+ command: "backup";
742
+ value: {
743
+ command: "list";
744
+ value: Promise<void>;
745
+ } | {
746
+ command: "create";
747
+ value: Promise<void>;
748
+ } | {
749
+ command: "restore";
750
+ value: Promise<void>;
751
+ };
752
+ } | {
753
+ command: "auth";
754
+ value: {
755
+ command: "openclaw";
756
+ value: Promise<void>;
757
+ } | {
758
+ command: "codex-harness";
759
+ value: Promise<void>;
760
+ };
761
+ } | {
762
+ command: "init";
763
+ value: Promise<void>;
764
+ } | {
765
+ command: "validate";
766
+ value: Promise<void>;
767
+ } | {
768
+ command: "build";
769
+ value: Promise<void>;
770
+ } | {
771
+ command: "doctor";
772
+ value: Promise<void>;
769
773
  } | {
770
774
  command: "paths";
771
775
  value: {