@agent-vm/agent-vm 0.0.71 → 0.0.73
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/cli/agent-vm-cli-support.d.ts +4 -13
- package/dist/cli/agent-vm-cli-support.d.ts.map +1 -1
- package/dist/cli/agent-vm-cli-support.js +2 -0
- package/dist/cli/agent-vm-cli-support.js.map +1 -1
- package/dist/cli/commands/controller-definition.d.ts +22 -0
- package/dist/cli/commands/controller-definition.d.ts.map +1 -1
- package/dist/cli/commands/controller-definition.js +43 -5
- package/dist/cli/commands/controller-definition.js.map +1 -1
- package/dist/cli/commands/create-app.d.ts +260 -238
- package/dist/cli/commands/create-app.d.ts.map +1 -1
- package/dist/cli/init-command.d.ts.map +1 -1
- package/dist/cli/init-command.js +4 -2
- package/dist/cli/init-command.js.map +1 -1
- package/dist/cli/manual-templates.d.ts.map +1 -1
- package/dist/cli/manual-templates.js +55 -11
- package/dist/cli/manual-templates.js.map +1 -1
- package/dist/cli/openclaw-shell-prefix.d.ts +5 -2
- package/dist/cli/openclaw-shell-prefix.d.ts.map +1 -1
- package/dist/cli/openclaw-shell-prefix.js +10 -3
- package/dist/cli/openclaw-shell-prefix.js.map +1 -1
- package/dist/cli/ssh-commands.d.ts.map +1 -1
- package/dist/cli/ssh-commands.js +22 -8
- package/dist/cli/ssh-commands.js.map +1 -1
- package/dist/config/system-config.d.ts +46 -0
- package/dist/config/system-config.d.ts.map +1 -1
- package/dist/config/system-config.js +69 -23
- package/dist/config/system-config.js.map +1 -1
- package/dist/controller/controller-runtime-operations.d.ts +4 -2
- package/dist/controller/controller-runtime-operations.d.ts.map +1 -1
- package/dist/controller/controller-runtime-operations.js +29 -5
- package/dist/controller/controller-runtime-operations.js.map +1 -1
- package/dist/controller/controller-runtime-support.d.ts.map +1 -1
- package/dist/controller/controller-runtime-support.js +20 -8
- package/dist/controller/controller-runtime-support.js.map +1 -1
- package/dist/controller/controller-runtime-types.d.ts +4 -9
- package/dist/controller/controller-runtime-types.d.ts.map +1 -1
- package/dist/controller/controller-runtime.d.ts.map +1 -1
- package/dist/controller/controller-runtime.js +19 -13
- package/dist/controller/controller-runtime.js.map +1 -1
- package/dist/controller/http/controller-client.d.ts +1 -1
- package/dist/controller/http/controller-client.d.ts.map +1 -1
- package/dist/controller/http/controller-http-route-support.d.ts +3 -2
- package/dist/controller/http/controller-http-route-support.d.ts.map +1 -1
- package/dist/controller/http/controller-http-route-support.js +11 -3
- package/dist/controller/http/controller-http-route-support.js.map +1 -1
- package/dist/controller/http/controller-http-routes.d.ts +4 -0
- package/dist/controller/http/controller-http-routes.d.ts.map +1 -1
- package/dist/controller/http/controller-http-routes.js +136 -4
- package/dist/controller/http/controller-http-routes.js.map +1 -1
- package/dist/controller/http/controller-lease-response-types.d.ts +2 -0
- package/dist/controller/http/controller-lease-response-types.d.ts.map +1 -1
- package/dist/controller/http/controller-lease-response-types.js +2 -0
- package/dist/controller/http/controller-lease-response-types.js.map +1 -1
- package/dist/controller/http/controller-request-schemas.d.ts +22 -1
- package/dist/controller/http/controller-request-schemas.d.ts.map +1 -1
- package/dist/controller/http/controller-request-schemas.js +20 -1
- package/dist/controller/http/controller-request-schemas.js.map +1 -1
- package/dist/controller/leases/agent-sandbox-seeding.d.ts.map +1 -1
- package/dist/controller/leases/agent-sandbox-seeding.js +20 -8
- package/dist/controller/leases/agent-sandbox-seeding.js.map +1 -1
- package/dist/controller/leases/idle-reaper.d.ts +2 -3
- package/dist/controller/leases/idle-reaper.d.ts.map +1 -1
- package/dist/controller/leases/idle-reaper.js +4 -1
- package/dist/controller/leases/idle-reaper.js.map +1 -1
- package/dist/controller/leases/lease-idle-policy.d.ts +2 -0
- package/dist/controller/leases/lease-idle-policy.d.ts.map +1 -1
- package/dist/controller/leases/lease-idle-policy.js.map +1 -1
- package/dist/controller/leases/lease-manager.d.ts +22 -1
- package/dist/controller/leases/lease-manager.d.ts.map +1 -1
- package/dist/controller/leases/lease-manager.js +159 -1
- package/dist/controller/leases/lease-manager.js.map +1 -1
- package/dist/controller/zone-runtimes/openclaw-zone-runtime.d.ts.map +1 -1
- package/dist/controller/zone-runtimes/openclaw-zone-runtime.js +6 -2
- package/dist/controller/zone-runtimes/openclaw-zone-runtime.js.map +1 -1
- package/dist/controller/zone-runtimes/zone-runtime-types.d.ts +1 -1
- package/dist/controller/zone-runtimes/zone-runtime-types.d.ts.map +1 -1
- package/dist/gateway/credential-manager.d.ts.map +1 -1
- package/dist/gateway/credential-manager.js +6 -0
- package/dist/gateway/credential-manager.js.map +1 -1
- package/dist/gateway/gateway-recovery.d.ts +6 -1
- package/dist/gateway/gateway-recovery.d.ts.map +1 -1
- package/dist/gateway/gateway-recovery.js +54 -2
- package/dist/gateway/gateway-recovery.js.map +1 -1
- package/dist/gateway/gateway-runtime-record.d.ts +13 -0
- package/dist/gateway/gateway-runtime-record.d.ts.map +1 -1
- package/dist/gateway/gateway-runtime-record.js +46 -25
- package/dist/gateway/gateway-runtime-record.js.map +1 -1
- package/dist/gateway/gateway-zone-orchestrator.d.ts.map +1 -1
- package/dist/gateway/gateway-zone-orchestrator.js +16 -0
- package/dist/gateway/gateway-zone-orchestrator.js.map +1 -1
- package/dist/gateway/gateway-zone-support.d.ts +1 -0
- package/dist/gateway/gateway-zone-support.d.ts.map +1 -1
- package/dist/gateway/gateway-zone-support.js +19 -0
- package/dist/gateway/gateway-zone-support.js.map +1 -1
- package/dist/integration-tests/smoke-harness.d.ts.map +1 -1
- package/dist/integration-tests/smoke-harness.js +47 -0
- package/dist/integration-tests/smoke-harness.js.map +1 -1
- package/dist/operations/controller-offline-cleanup.d.ts +22 -0
- package/dist/operations/controller-offline-cleanup.d.ts.map +1 -0
- package/dist/operations/controller-offline-cleanup.js +66 -0
- package/dist/operations/controller-offline-cleanup.js.map +1 -0
- package/dist/operations/controller-status.d.ts +1 -0
- package/dist/operations/controller-status.d.ts.map +1 -1
- package/dist/operations/controller-status.js.map +1 -1
- package/dist/operations/openclaw-deployment-requirements.d.ts +11 -0
- package/dist/operations/openclaw-deployment-requirements.d.ts.map +1 -1
- package/dist/operations/openclaw-deployment-requirements.js +87 -0
- package/dist/operations/openclaw-deployment-requirements.js.map +1 -1
- package/dist/tool-vm/tool-vm-lifecycle.d.ts.map +1 -1
- package/dist/tool-vm/tool-vm-lifecycle.js +3 -0
- package/dist/tool-vm/tool-vm-lifecycle.js.map +1 -1
- package/package.json +11 -11
|
@@ -52,85 +52,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
52
52
|
zone: string | undefined;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
} | {
|
|
56
|
-
command: "controller";
|
|
57
|
-
args: {
|
|
58
|
-
command: "ssh";
|
|
59
|
-
args: {
|
|
60
|
-
config: string | undefined;
|
|
61
|
-
zone: string | undefined;
|
|
62
|
-
};
|
|
63
|
-
} | {
|
|
64
|
-
command: "upgrade";
|
|
65
|
-
args: {
|
|
66
|
-
purge?: boolean;
|
|
67
|
-
zone?: string | undefined;
|
|
68
|
-
config: string | undefined;
|
|
69
|
-
};
|
|
70
|
-
} | {
|
|
71
|
-
command: "lease";
|
|
72
|
-
args: {
|
|
73
|
-
command: "peek";
|
|
74
|
-
args: {
|
|
75
|
-
config: string | undefined;
|
|
76
|
-
leaseId: string;
|
|
77
|
-
};
|
|
78
|
-
} | {
|
|
79
|
-
command: "release";
|
|
80
|
-
args: {
|
|
81
|
-
config: string | undefined;
|
|
82
|
-
leaseId: string;
|
|
83
|
-
};
|
|
84
|
-
} | {
|
|
85
|
-
command: "list";
|
|
86
|
-
args: {
|
|
87
|
-
config: string | undefined;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
} | {
|
|
91
|
-
command: "logs";
|
|
92
|
-
args: {
|
|
93
|
-
purge?: boolean;
|
|
94
|
-
zone?: string | undefined;
|
|
95
|
-
config: string | undefined;
|
|
96
|
-
};
|
|
97
|
-
} | {
|
|
98
|
-
command: "status";
|
|
99
|
-
args: {
|
|
100
|
-
purge?: boolean;
|
|
101
|
-
zone?: string | undefined;
|
|
102
|
-
config: string | undefined;
|
|
103
|
-
};
|
|
104
|
-
} | {
|
|
105
|
-
command: "credentials";
|
|
106
|
-
args: {
|
|
107
|
-
command: "refresh";
|
|
108
|
-
args: {
|
|
109
|
-
config: string | undefined;
|
|
110
|
-
zone: string | undefined;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
} | {
|
|
114
|
-
command: "destroy";
|
|
115
|
-
args: {
|
|
116
|
-
purge?: boolean;
|
|
117
|
-
zone?: string | undefined;
|
|
118
|
-
config: string | undefined;
|
|
119
|
-
};
|
|
120
|
-
} | {
|
|
121
|
-
command: "start";
|
|
122
|
-
args: {
|
|
123
|
-
config: string | undefined;
|
|
124
|
-
zone: string | undefined;
|
|
125
|
-
};
|
|
126
|
-
} | {
|
|
127
|
-
command: "stop";
|
|
128
|
-
args: {
|
|
129
|
-
purge?: boolean;
|
|
130
|
-
zone?: string | undefined;
|
|
131
|
-
config: string | undefined;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
55
|
} | {
|
|
135
56
|
command: "auth";
|
|
136
57
|
args: {
|
|
@@ -218,6 +139,93 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
218
139
|
args: {
|
|
219
140
|
config: string | undefined;
|
|
220
141
|
};
|
|
142
|
+
} | {
|
|
143
|
+
command: "controller";
|
|
144
|
+
args: {
|
|
145
|
+
command: "ssh";
|
|
146
|
+
args: {
|
|
147
|
+
allSecrets: boolean;
|
|
148
|
+
config: string | undefined;
|
|
149
|
+
zone: string | undefined;
|
|
150
|
+
};
|
|
151
|
+
} | {
|
|
152
|
+
command: "upgrade";
|
|
153
|
+
args: {
|
|
154
|
+
purge?: boolean;
|
|
155
|
+
zone?: string | undefined;
|
|
156
|
+
config: string | undefined;
|
|
157
|
+
};
|
|
158
|
+
} | {
|
|
159
|
+
command: "lease";
|
|
160
|
+
args: {
|
|
161
|
+
command: "peek";
|
|
162
|
+
args: {
|
|
163
|
+
config: string | undefined;
|
|
164
|
+
leaseId: string;
|
|
165
|
+
};
|
|
166
|
+
} | {
|
|
167
|
+
command: "release";
|
|
168
|
+
args: {
|
|
169
|
+
config: string | undefined;
|
|
170
|
+
leaseId: string;
|
|
171
|
+
};
|
|
172
|
+
} | {
|
|
173
|
+
command: "list";
|
|
174
|
+
args: {
|
|
175
|
+
config: string | undefined;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
} | {
|
|
179
|
+
command: "logs";
|
|
180
|
+
args: {
|
|
181
|
+
purge?: boolean;
|
|
182
|
+
zone?: string | undefined;
|
|
183
|
+
config: string | undefined;
|
|
184
|
+
};
|
|
185
|
+
} | {
|
|
186
|
+
command: "status";
|
|
187
|
+
args: {
|
|
188
|
+
purge?: boolean;
|
|
189
|
+
zone?: string | undefined;
|
|
190
|
+
config: string | undefined;
|
|
191
|
+
};
|
|
192
|
+
} | {
|
|
193
|
+
command: "credentials";
|
|
194
|
+
args: {
|
|
195
|
+
command: "refresh";
|
|
196
|
+
args: {
|
|
197
|
+
config: string | undefined;
|
|
198
|
+
zone: string | undefined;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
} | {
|
|
202
|
+
command: "destroy";
|
|
203
|
+
args: {
|
|
204
|
+
purge?: boolean;
|
|
205
|
+
zone?: string | undefined;
|
|
206
|
+
config: string | undefined;
|
|
207
|
+
};
|
|
208
|
+
} | {
|
|
209
|
+
command: "start";
|
|
210
|
+
args: {
|
|
211
|
+
config: string | undefined;
|
|
212
|
+
zone: string | undefined;
|
|
213
|
+
};
|
|
214
|
+
} | {
|
|
215
|
+
command: "stop";
|
|
216
|
+
args: {
|
|
217
|
+
purge?: boolean;
|
|
218
|
+
zone?: string | undefined;
|
|
219
|
+
config: string | undefined;
|
|
220
|
+
};
|
|
221
|
+
} | {
|
|
222
|
+
command: "cleanup";
|
|
223
|
+
args: {
|
|
224
|
+
config: string | undefined;
|
|
225
|
+
force: boolean;
|
|
226
|
+
zone: string | undefined;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
221
229
|
} | {
|
|
222
230
|
command: "paths";
|
|
223
231
|
args: {
|
|
@@ -300,85 +308,6 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
300
308
|
zone: string | undefined;
|
|
301
309
|
};
|
|
302
310
|
};
|
|
303
|
-
} | {
|
|
304
|
-
command: "controller";
|
|
305
|
-
args: {
|
|
306
|
-
command: "ssh";
|
|
307
|
-
args: {
|
|
308
|
-
config: string | undefined;
|
|
309
|
-
zone: string | undefined;
|
|
310
|
-
};
|
|
311
|
-
} | {
|
|
312
|
-
command: "upgrade";
|
|
313
|
-
args: {
|
|
314
|
-
purge?: boolean;
|
|
315
|
-
zone?: string | undefined;
|
|
316
|
-
config: string | undefined;
|
|
317
|
-
};
|
|
318
|
-
} | {
|
|
319
|
-
command: "lease";
|
|
320
|
-
args: {
|
|
321
|
-
command: "peek";
|
|
322
|
-
args: {
|
|
323
|
-
config: string | undefined;
|
|
324
|
-
leaseId: string;
|
|
325
|
-
};
|
|
326
|
-
} | {
|
|
327
|
-
command: "release";
|
|
328
|
-
args: {
|
|
329
|
-
config: string | undefined;
|
|
330
|
-
leaseId: string;
|
|
331
|
-
};
|
|
332
|
-
} | {
|
|
333
|
-
command: "list";
|
|
334
|
-
args: {
|
|
335
|
-
config: string | undefined;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
} | {
|
|
339
|
-
command: "logs";
|
|
340
|
-
args: {
|
|
341
|
-
purge?: boolean;
|
|
342
|
-
zone?: string | undefined;
|
|
343
|
-
config: string | undefined;
|
|
344
|
-
};
|
|
345
|
-
} | {
|
|
346
|
-
command: "status";
|
|
347
|
-
args: {
|
|
348
|
-
purge?: boolean;
|
|
349
|
-
zone?: string | undefined;
|
|
350
|
-
config: string | undefined;
|
|
351
|
-
};
|
|
352
|
-
} | {
|
|
353
|
-
command: "credentials";
|
|
354
|
-
args: {
|
|
355
|
-
command: "refresh";
|
|
356
|
-
args: {
|
|
357
|
-
config: string | undefined;
|
|
358
|
-
zone: string | undefined;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
} | {
|
|
362
|
-
command: "destroy";
|
|
363
|
-
args: {
|
|
364
|
-
purge?: boolean;
|
|
365
|
-
zone?: string | undefined;
|
|
366
|
-
config: string | undefined;
|
|
367
|
-
};
|
|
368
|
-
} | {
|
|
369
|
-
command: "start";
|
|
370
|
-
args: {
|
|
371
|
-
config: string | undefined;
|
|
372
|
-
zone: string | undefined;
|
|
373
|
-
};
|
|
374
|
-
} | {
|
|
375
|
-
command: "stop";
|
|
376
|
-
args: {
|
|
377
|
-
purge?: boolean;
|
|
378
|
-
zone?: string | undefined;
|
|
379
|
-
config: string | undefined;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
311
|
} | {
|
|
383
312
|
command: "auth";
|
|
384
313
|
args: {
|
|
@@ -466,6 +395,93 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
466
395
|
args: {
|
|
467
396
|
config: string | undefined;
|
|
468
397
|
};
|
|
398
|
+
} | {
|
|
399
|
+
command: "controller";
|
|
400
|
+
args: {
|
|
401
|
+
command: "ssh";
|
|
402
|
+
args: {
|
|
403
|
+
allSecrets: boolean;
|
|
404
|
+
config: string | undefined;
|
|
405
|
+
zone: string | undefined;
|
|
406
|
+
};
|
|
407
|
+
} | {
|
|
408
|
+
command: "upgrade";
|
|
409
|
+
args: {
|
|
410
|
+
purge?: boolean;
|
|
411
|
+
zone?: string | undefined;
|
|
412
|
+
config: string | undefined;
|
|
413
|
+
};
|
|
414
|
+
} | {
|
|
415
|
+
command: "lease";
|
|
416
|
+
args: {
|
|
417
|
+
command: "peek";
|
|
418
|
+
args: {
|
|
419
|
+
config: string | undefined;
|
|
420
|
+
leaseId: string;
|
|
421
|
+
};
|
|
422
|
+
} | {
|
|
423
|
+
command: "release";
|
|
424
|
+
args: {
|
|
425
|
+
config: string | undefined;
|
|
426
|
+
leaseId: string;
|
|
427
|
+
};
|
|
428
|
+
} | {
|
|
429
|
+
command: "list";
|
|
430
|
+
args: {
|
|
431
|
+
config: string | undefined;
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
} | {
|
|
435
|
+
command: "logs";
|
|
436
|
+
args: {
|
|
437
|
+
purge?: boolean;
|
|
438
|
+
zone?: string | undefined;
|
|
439
|
+
config: string | undefined;
|
|
440
|
+
};
|
|
441
|
+
} | {
|
|
442
|
+
command: "status";
|
|
443
|
+
args: {
|
|
444
|
+
purge?: boolean;
|
|
445
|
+
zone?: string | undefined;
|
|
446
|
+
config: string | undefined;
|
|
447
|
+
};
|
|
448
|
+
} | {
|
|
449
|
+
command: "credentials";
|
|
450
|
+
args: {
|
|
451
|
+
command: "refresh";
|
|
452
|
+
args: {
|
|
453
|
+
config: string | undefined;
|
|
454
|
+
zone: string | undefined;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
} | {
|
|
458
|
+
command: "destroy";
|
|
459
|
+
args: {
|
|
460
|
+
purge?: boolean;
|
|
461
|
+
zone?: string | undefined;
|
|
462
|
+
config: string | undefined;
|
|
463
|
+
};
|
|
464
|
+
} | {
|
|
465
|
+
command: "start";
|
|
466
|
+
args: {
|
|
467
|
+
config: string | undefined;
|
|
468
|
+
zone: string | undefined;
|
|
469
|
+
};
|
|
470
|
+
} | {
|
|
471
|
+
command: "stop";
|
|
472
|
+
args: {
|
|
473
|
+
purge?: boolean;
|
|
474
|
+
zone?: string | undefined;
|
|
475
|
+
config: string | undefined;
|
|
476
|
+
};
|
|
477
|
+
} | {
|
|
478
|
+
command: "cleanup";
|
|
479
|
+
args: {
|
|
480
|
+
config: string | undefined;
|
|
481
|
+
force: boolean;
|
|
482
|
+
zone: string | undefined;
|
|
483
|
+
};
|
|
484
|
+
};
|
|
469
485
|
} | {
|
|
470
486
|
command: "paths";
|
|
471
487
|
args: {
|
|
@@ -525,6 +541,48 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
525
541
|
command: "init";
|
|
526
542
|
value: Promise<void>;
|
|
527
543
|
};
|
|
544
|
+
} | {
|
|
545
|
+
command: "auth";
|
|
546
|
+
value: {
|
|
547
|
+
command: "openclaw";
|
|
548
|
+
value: Promise<void>;
|
|
549
|
+
} | {
|
|
550
|
+
command: "codex-harness";
|
|
551
|
+
value: Promise<void>;
|
|
552
|
+
};
|
|
553
|
+
} | {
|
|
554
|
+
command: "cache";
|
|
555
|
+
value: {
|
|
556
|
+
command: "list";
|
|
557
|
+
value: Promise<void>;
|
|
558
|
+
} | {
|
|
559
|
+
command: "clean";
|
|
560
|
+
value: Promise<void>;
|
|
561
|
+
};
|
|
562
|
+
} | {
|
|
563
|
+
command: "init";
|
|
564
|
+
value: Promise<void>;
|
|
565
|
+
} | {
|
|
566
|
+
command: "validate";
|
|
567
|
+
value: Promise<void>;
|
|
568
|
+
} | {
|
|
569
|
+
command: "build";
|
|
570
|
+
value: Promise<void>;
|
|
571
|
+
} | {
|
|
572
|
+
command: "backup";
|
|
573
|
+
value: {
|
|
574
|
+
command: "list";
|
|
575
|
+
value: Promise<void>;
|
|
576
|
+
} | {
|
|
577
|
+
command: "create";
|
|
578
|
+
value: Promise<void>;
|
|
579
|
+
} | {
|
|
580
|
+
command: "restore";
|
|
581
|
+
value: Promise<void>;
|
|
582
|
+
};
|
|
583
|
+
} | {
|
|
584
|
+
command: "doctor";
|
|
585
|
+
value: Promise<void>;
|
|
528
586
|
} | {
|
|
529
587
|
command: "controller";
|
|
530
588
|
value: {
|
|
@@ -566,49 +624,10 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
566
624
|
} | {
|
|
567
625
|
command: "stop";
|
|
568
626
|
value: Promise<void>;
|
|
569
|
-
};
|
|
570
|
-
} | {
|
|
571
|
-
command: "auth";
|
|
572
|
-
value: {
|
|
573
|
-
command: "openclaw";
|
|
574
|
-
value: Promise<void>;
|
|
575
|
-
} | {
|
|
576
|
-
command: "codex-harness";
|
|
577
|
-
value: Promise<void>;
|
|
578
|
-
};
|
|
579
|
-
} | {
|
|
580
|
-
command: "cache";
|
|
581
|
-
value: {
|
|
582
|
-
command: "list";
|
|
583
|
-
value: Promise<void>;
|
|
584
627
|
} | {
|
|
585
|
-
command: "
|
|
628
|
+
command: "cleanup";
|
|
586
629
|
value: Promise<void>;
|
|
587
630
|
};
|
|
588
|
-
} | {
|
|
589
|
-
command: "init";
|
|
590
|
-
value: Promise<void>;
|
|
591
|
-
} | {
|
|
592
|
-
command: "validate";
|
|
593
|
-
value: Promise<void>;
|
|
594
|
-
} | {
|
|
595
|
-
command: "build";
|
|
596
|
-
value: Promise<void>;
|
|
597
|
-
} | {
|
|
598
|
-
command: "backup";
|
|
599
|
-
value: {
|
|
600
|
-
command: "list";
|
|
601
|
-
value: Promise<void>;
|
|
602
|
-
} | {
|
|
603
|
-
command: "create";
|
|
604
|
-
value: Promise<void>;
|
|
605
|
-
} | {
|
|
606
|
-
command: "restore";
|
|
607
|
-
value: Promise<void>;
|
|
608
|
-
};
|
|
609
|
-
} | {
|
|
610
|
-
command: "doctor";
|
|
611
|
-
value: Promise<void>;
|
|
612
631
|
} | {
|
|
613
632
|
command: "paths";
|
|
614
633
|
value: {
|
|
@@ -658,6 +677,48 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
658
677
|
command: "init";
|
|
659
678
|
value: Promise<void>;
|
|
660
679
|
};
|
|
680
|
+
} | {
|
|
681
|
+
command: "auth";
|
|
682
|
+
value: {
|
|
683
|
+
command: "openclaw";
|
|
684
|
+
value: Promise<void>;
|
|
685
|
+
} | {
|
|
686
|
+
command: "codex-harness";
|
|
687
|
+
value: Promise<void>;
|
|
688
|
+
};
|
|
689
|
+
} | {
|
|
690
|
+
command: "cache";
|
|
691
|
+
value: {
|
|
692
|
+
command: "list";
|
|
693
|
+
value: Promise<void>;
|
|
694
|
+
} | {
|
|
695
|
+
command: "clean";
|
|
696
|
+
value: Promise<void>;
|
|
697
|
+
};
|
|
698
|
+
} | {
|
|
699
|
+
command: "init";
|
|
700
|
+
value: Promise<void>;
|
|
701
|
+
} | {
|
|
702
|
+
command: "validate";
|
|
703
|
+
value: Promise<void>;
|
|
704
|
+
} | {
|
|
705
|
+
command: "build";
|
|
706
|
+
value: Promise<void>;
|
|
707
|
+
} | {
|
|
708
|
+
command: "backup";
|
|
709
|
+
value: {
|
|
710
|
+
command: "list";
|
|
711
|
+
value: Promise<void>;
|
|
712
|
+
} | {
|
|
713
|
+
command: "create";
|
|
714
|
+
value: Promise<void>;
|
|
715
|
+
} | {
|
|
716
|
+
command: "restore";
|
|
717
|
+
value: Promise<void>;
|
|
718
|
+
};
|
|
719
|
+
} | {
|
|
720
|
+
command: "doctor";
|
|
721
|
+
value: Promise<void>;
|
|
661
722
|
} | {
|
|
662
723
|
command: "controller";
|
|
663
724
|
value: {
|
|
@@ -699,49 +760,10 @@ export declare function createAgentVmApp(io: CliIo, dependencies: CliDependencie
|
|
|
699
760
|
} | {
|
|
700
761
|
command: "stop";
|
|
701
762
|
value: Promise<void>;
|
|
702
|
-
};
|
|
703
|
-
} | {
|
|
704
|
-
command: "auth";
|
|
705
|
-
value: {
|
|
706
|
-
command: "openclaw";
|
|
707
|
-
value: Promise<void>;
|
|
708
763
|
} | {
|
|
709
|
-
command: "
|
|
764
|
+
command: "cleanup";
|
|
710
765
|
value: Promise<void>;
|
|
711
766
|
};
|
|
712
|
-
} | {
|
|
713
|
-
command: "cache";
|
|
714
|
-
value: {
|
|
715
|
-
command: "list";
|
|
716
|
-
value: Promise<void>;
|
|
717
|
-
} | {
|
|
718
|
-
command: "clean";
|
|
719
|
-
value: Promise<void>;
|
|
720
|
-
};
|
|
721
|
-
} | {
|
|
722
|
-
command: "init";
|
|
723
|
-
value: Promise<void>;
|
|
724
|
-
} | {
|
|
725
|
-
command: "validate";
|
|
726
|
-
value: Promise<void>;
|
|
727
|
-
} | {
|
|
728
|
-
command: "build";
|
|
729
|
-
value: Promise<void>;
|
|
730
|
-
} | {
|
|
731
|
-
command: "backup";
|
|
732
|
-
value: {
|
|
733
|
-
command: "list";
|
|
734
|
-
value: Promise<void>;
|
|
735
|
-
} | {
|
|
736
|
-
command: "create";
|
|
737
|
-
value: Promise<void>;
|
|
738
|
-
} | {
|
|
739
|
-
command: "restore";
|
|
740
|
-
value: Promise<void>;
|
|
741
|
-
};
|
|
742
|
-
} | {
|
|
743
|
-
command: "doctor";
|
|
744
|
-
value: Promise<void>;
|
|
745
767
|
} | {
|
|
746
768
|
command: "paths";
|
|
747
769
|
value: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/create-app.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAgBzE,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"create-app.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/create-app.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAgBzE,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
145
145
|
memory: '1G',
|
|
146
146
|
cpus: 1,
|
|
147
147
|
imageProfile: 'default',
|
|
148
|
+
runtimeRootfsSize: '16G',
|
|
148
149
|
},
|
|
149
150
|
};
|
|
150
151
|
}
|
|
@@ -194,6 +195,7 @@ const defaultSystemConfig = (zoneId, gatewayType, projectNamespace, secretsProvi
|
|
|
194
195
|
port: defaultGatewayIngressPort,
|
|
195
196
|
config: pathProfile.gatewayConfig(zoneId, gatewayType),
|
|
196
197
|
imageProfile: gatewayType,
|
|
198
|
+
runtimeRootfsSize: gatewayType === 'openclaw' ? '12G' : '8G',
|
|
197
199
|
stateDir: pathProfile.gatewayStateDir(zoneId),
|
|
198
200
|
ssh: { secretEnv: 'explicit' },
|
|
199
201
|
...(gatewayType === 'openclaw'
|
|
@@ -440,7 +442,7 @@ const defaultToolBuildConfig = (architecture) => ({
|
|
|
440
442
|
},
|
|
441
443
|
rootfs: {
|
|
442
444
|
label: 'tool-root',
|
|
443
|
-
sizeMb:
|
|
445
|
+
sizeMb: 4096,
|
|
444
446
|
},
|
|
445
447
|
});
|
|
446
448
|
function formatAgentIdentityName(agentId) {
|
|
@@ -537,7 +539,7 @@ const defaultOpenClawConfig = (zoneId, gatewayIngressPort, agentIds) => ({
|
|
|
537
539
|
elevated: { enabled: false },
|
|
538
540
|
sandbox: {
|
|
539
541
|
tools: {
|
|
540
|
-
alsoAllow: ['web_search', 'web_fetch', 'message'],
|
|
542
|
+
alsoAllow: ['web_search', 'web_fetch', 'message', 'group:plugins'],
|
|
541
543
|
},
|
|
542
544
|
},
|
|
543
545
|
web: {
|