@calltelemetry/ct-lab-mcp 0.3.2 → 0.4.1
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/README.md +30 -7
- package/dist/src/tools/claim-lifecycle.d.ts +107 -0
- package/dist/src/tools/claim-lifecycle.d.ts.map +1 -0
- package/dist/src/tools/claim-lifecycle.js +106 -0
- package/dist/src/tools/claim-lifecycle.js.map +1 -0
- package/dist/src/tools/index.d.ts +1 -0
- package/dist/src/tools/index.d.ts.map +1 -1
- package/dist/src/tools/index.js +4 -8
- package/dist/src/tools/index.js.map +1 -1
- package/dist/src/tools/list-hosts.d.ts.map +1 -1
- package/dist/src/tools/list-hosts.js +7 -0
- package/dist/src/tools/list-hosts.js.map +1 -1
- package/dist/src/tools/provision-tools.d.ts +324 -0
- package/dist/src/tools/provision-tools.d.ts.map +1 -1
- package/dist/src/tools/provision-tools.js +327 -9
- package/dist/src/tools/provision-tools.js.map +1 -1
- package/dist/src/tools/purge-slots.d.ts +20 -0
- package/dist/src/tools/purge-slots.d.ts.map +1 -1
- package/dist/src/tools/purge-slots.js +44 -3
- package/dist/src/tools/purge-slots.js.map +1 -1
- package/dist/src/tools/slot-tools.d.ts +90 -0
- package/dist/src/tools/slot-tools.d.ts.map +1 -1
- package/dist/src/tools/slot-tools.js +143 -9
- package/dist/src/tools/slot-tools.js.map +1 -1
- package/dist/src/tools/vm-action.d.ts +72 -0
- package/dist/src/tools/vm-action.d.ts.map +1 -1
- package/dist/src/tools/vm-action.js +89 -3
- package/dist/src/tools/vm-action.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,32 @@ import { z } from "zod";
|
|
|
8
8
|
import { CallToolResult } from "../types/mcp.js";
|
|
9
9
|
import { ToolContext } from "./list-hosts.js";
|
|
10
10
|
export declare const ProvisionVmInputShape: {
|
|
11
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
hostAssetId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
templateAssetId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<["template", "alma97-cloud", "alma97-iso"]>>>;
|
|
15
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
16
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
ttlHours: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
version: z.ZodOptional<z.ZodString>;
|
|
19
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
apply: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
+
confirmAssetId: z.ZodOptional<z.ZodString>;
|
|
22
|
+
outputFile: z.ZodOptional<z.ZodString>;
|
|
23
|
+
receiptFile: z.ZodOptional<z.ZodString>;
|
|
24
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
25
|
+
nativeCliDir: z.ZodOptional<z.ZodString>;
|
|
26
|
+
importStorage: z.ZodOptional<z.ZodString>;
|
|
27
|
+
releaseSha256: z.ZodOptional<z.ZodString>;
|
|
28
|
+
cloudImageUrl: z.ZodOptional<z.ZodString>;
|
|
29
|
+
cloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
30
|
+
requiredFreeGb: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
confirmVmPrefix: z.ZodOptional<z.ZodString>;
|
|
32
|
+
confirmVmid: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
confirmCloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
34
|
+
confirmReleaseSha256: z.ZodOptional<z.ZodString>;
|
|
35
|
+
confirmExistingSmbiosUuid: z.ZodOptional<z.ZodString>;
|
|
36
|
+
recoverIncomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11
37
|
sourceVmIdOrName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
12
38
|
template: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
13
39
|
newVmName: z.ZodOptional<z.ZodString>;
|
|
@@ -36,6 +62,32 @@ export declare const ProvisionVmInputShape: {
|
|
|
36
62
|
description: z.ZodOptional<z.ZodString>;
|
|
37
63
|
};
|
|
38
64
|
export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
65
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
hostAssetId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
templateAssetId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<["template", "alma97-cloud", "alma97-iso"]>>>;
|
|
69
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
70
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
71
|
+
ttlHours: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
version: z.ZodOptional<z.ZodString>;
|
|
73
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
apply: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
75
|
+
confirmAssetId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
outputFile: z.ZodOptional<z.ZodString>;
|
|
77
|
+
receiptFile: z.ZodOptional<z.ZodString>;
|
|
78
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
79
|
+
nativeCliDir: z.ZodOptional<z.ZodString>;
|
|
80
|
+
importStorage: z.ZodOptional<z.ZodString>;
|
|
81
|
+
releaseSha256: z.ZodOptional<z.ZodString>;
|
|
82
|
+
cloudImageUrl: z.ZodOptional<z.ZodString>;
|
|
83
|
+
cloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
84
|
+
requiredFreeGb: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
confirmVmPrefix: z.ZodOptional<z.ZodString>;
|
|
86
|
+
confirmVmid: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
confirmCloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
88
|
+
confirmReleaseSha256: z.ZodOptional<z.ZodString>;
|
|
89
|
+
confirmExistingSmbiosUuid: z.ZodOptional<z.ZodString>;
|
|
90
|
+
recoverIncomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
39
91
|
sourceVmIdOrName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
40
92
|
template: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
41
93
|
newVmName: z.ZodOptional<z.ZodString>;
|
|
@@ -64,6 +116,9 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
64
116
|
description: z.ZodOptional<z.ZodString>;
|
|
65
117
|
}, "strip", z.ZodTypeAny, {
|
|
66
118
|
hypervisorType: "proxmox" | "esxi" | "any";
|
|
119
|
+
apply: boolean;
|
|
120
|
+
source: "template" | "alma97-cloud" | "alma97-iso";
|
|
121
|
+
recoverIncomplete: boolean;
|
|
67
122
|
startOnDeploy: boolean;
|
|
68
123
|
fullClone: boolean;
|
|
69
124
|
storage?: string | undefined;
|
|
@@ -72,6 +127,7 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
72
127
|
tags?: string | string[] | undefined;
|
|
73
128
|
template?: string | number | undefined;
|
|
74
129
|
description?: string | undefined;
|
|
130
|
+
version?: string | undefined;
|
|
75
131
|
start?: boolean | undefined;
|
|
76
132
|
memoryMb?: number | undefined;
|
|
77
133
|
host?: string | undefined;
|
|
@@ -82,7 +138,29 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
82
138
|
slotClaimId?: string | undefined;
|
|
83
139
|
cpuCores?: number | undefined;
|
|
84
140
|
requester?: string | undefined;
|
|
141
|
+
purpose?: string | undefined;
|
|
142
|
+
assetId?: string | undefined;
|
|
143
|
+
operationId?: string | undefined;
|
|
144
|
+
receiptFile?: string | undefined;
|
|
145
|
+
ttlHours?: number | undefined;
|
|
146
|
+
confirmAssetId?: string | undefined;
|
|
85
147
|
targetHost?: string | undefined;
|
|
148
|
+
hostAssetId?: string | undefined;
|
|
149
|
+
templateAssetId?: string | undefined;
|
|
150
|
+
diskGb?: number | undefined;
|
|
151
|
+
outputFile?: string | undefined;
|
|
152
|
+
workspaceRoot?: string | undefined;
|
|
153
|
+
nativeCliDir?: string | undefined;
|
|
154
|
+
importStorage?: string | undefined;
|
|
155
|
+
releaseSha256?: string | undefined;
|
|
156
|
+
cloudImageUrl?: string | undefined;
|
|
157
|
+
cloudImageSha256?: string | undefined;
|
|
158
|
+
requiredFreeGb?: number | undefined;
|
|
159
|
+
confirmVmPrefix?: string | undefined;
|
|
160
|
+
confirmVmid?: number | undefined;
|
|
161
|
+
confirmCloudImageSha256?: string | undefined;
|
|
162
|
+
confirmReleaseSha256?: string | undefined;
|
|
163
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
86
164
|
sourceVmIdOrName?: string | number | undefined;
|
|
87
165
|
newVmName?: string | undefined;
|
|
88
166
|
newVmId?: string | number | undefined;
|
|
@@ -96,6 +174,7 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
96
174
|
tags?: string | string[] | undefined;
|
|
97
175
|
template?: string | number | undefined;
|
|
98
176
|
description?: string | undefined;
|
|
177
|
+
version?: string | undefined;
|
|
99
178
|
start?: boolean | undefined;
|
|
100
179
|
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
101
180
|
memoryMb?: number | undefined;
|
|
@@ -107,7 +186,32 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
107
186
|
slotClaimId?: string | undefined;
|
|
108
187
|
cpuCores?: number | undefined;
|
|
109
188
|
requester?: string | undefined;
|
|
189
|
+
purpose?: string | undefined;
|
|
190
|
+
assetId?: string | undefined;
|
|
191
|
+
operationId?: string | undefined;
|
|
192
|
+
apply?: boolean | undefined;
|
|
193
|
+
receiptFile?: string | undefined;
|
|
194
|
+
ttlHours?: number | undefined;
|
|
195
|
+
confirmAssetId?: string | undefined;
|
|
110
196
|
targetHost?: string | undefined;
|
|
197
|
+
hostAssetId?: string | undefined;
|
|
198
|
+
templateAssetId?: string | undefined;
|
|
199
|
+
source?: "template" | "alma97-cloud" | "alma97-iso" | undefined;
|
|
200
|
+
diskGb?: number | undefined;
|
|
201
|
+
outputFile?: string | undefined;
|
|
202
|
+
workspaceRoot?: string | undefined;
|
|
203
|
+
nativeCliDir?: string | undefined;
|
|
204
|
+
importStorage?: string | undefined;
|
|
205
|
+
releaseSha256?: string | undefined;
|
|
206
|
+
cloudImageUrl?: string | undefined;
|
|
207
|
+
cloudImageSha256?: string | undefined;
|
|
208
|
+
requiredFreeGb?: number | undefined;
|
|
209
|
+
confirmVmPrefix?: string | undefined;
|
|
210
|
+
confirmVmid?: number | undefined;
|
|
211
|
+
confirmCloudImageSha256?: string | undefined;
|
|
212
|
+
confirmReleaseSha256?: string | undefined;
|
|
213
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
214
|
+
recoverIncomplete?: boolean | undefined;
|
|
111
215
|
sourceVmIdOrName?: string | number | undefined;
|
|
112
216
|
newVmName?: string | undefined;
|
|
113
217
|
newVmId?: string | number | undefined;
|
|
@@ -118,6 +222,9 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
118
222
|
fullClone?: boolean | undefined;
|
|
119
223
|
}>, {
|
|
120
224
|
hypervisorType: "proxmox" | "esxi" | "any";
|
|
225
|
+
apply: boolean;
|
|
226
|
+
source: "template" | "alma97-cloud" | "alma97-iso";
|
|
227
|
+
recoverIncomplete: boolean;
|
|
121
228
|
startOnDeploy: boolean;
|
|
122
229
|
fullClone: boolean;
|
|
123
230
|
storage?: string | undefined;
|
|
@@ -126,6 +233,7 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
126
233
|
tags?: string | string[] | undefined;
|
|
127
234
|
template?: string | number | undefined;
|
|
128
235
|
description?: string | undefined;
|
|
236
|
+
version?: string | undefined;
|
|
129
237
|
start?: boolean | undefined;
|
|
130
238
|
memoryMb?: number | undefined;
|
|
131
239
|
host?: string | undefined;
|
|
@@ -136,7 +244,29 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
136
244
|
slotClaimId?: string | undefined;
|
|
137
245
|
cpuCores?: number | undefined;
|
|
138
246
|
requester?: string | undefined;
|
|
247
|
+
purpose?: string | undefined;
|
|
248
|
+
assetId?: string | undefined;
|
|
249
|
+
operationId?: string | undefined;
|
|
250
|
+
receiptFile?: string | undefined;
|
|
251
|
+
ttlHours?: number | undefined;
|
|
252
|
+
confirmAssetId?: string | undefined;
|
|
139
253
|
targetHost?: string | undefined;
|
|
254
|
+
hostAssetId?: string | undefined;
|
|
255
|
+
templateAssetId?: string | undefined;
|
|
256
|
+
diskGb?: number | undefined;
|
|
257
|
+
outputFile?: string | undefined;
|
|
258
|
+
workspaceRoot?: string | undefined;
|
|
259
|
+
nativeCliDir?: string | undefined;
|
|
260
|
+
importStorage?: string | undefined;
|
|
261
|
+
releaseSha256?: string | undefined;
|
|
262
|
+
cloudImageUrl?: string | undefined;
|
|
263
|
+
cloudImageSha256?: string | undefined;
|
|
264
|
+
requiredFreeGb?: number | undefined;
|
|
265
|
+
confirmVmPrefix?: string | undefined;
|
|
266
|
+
confirmVmid?: number | undefined;
|
|
267
|
+
confirmCloudImageSha256?: string | undefined;
|
|
268
|
+
confirmReleaseSha256?: string | undefined;
|
|
269
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
140
270
|
sourceVmIdOrName?: string | number | undefined;
|
|
141
271
|
newVmName?: string | undefined;
|
|
142
272
|
newVmId?: string | number | undefined;
|
|
@@ -150,6 +280,7 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
150
280
|
tags?: string | string[] | undefined;
|
|
151
281
|
template?: string | number | undefined;
|
|
152
282
|
description?: string | undefined;
|
|
283
|
+
version?: string | undefined;
|
|
153
284
|
start?: boolean | undefined;
|
|
154
285
|
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
155
286
|
memoryMb?: number | undefined;
|
|
@@ -161,7 +292,32 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
161
292
|
slotClaimId?: string | undefined;
|
|
162
293
|
cpuCores?: number | undefined;
|
|
163
294
|
requester?: string | undefined;
|
|
295
|
+
purpose?: string | undefined;
|
|
296
|
+
assetId?: string | undefined;
|
|
297
|
+
operationId?: string | undefined;
|
|
298
|
+
apply?: boolean | undefined;
|
|
299
|
+
receiptFile?: string | undefined;
|
|
300
|
+
ttlHours?: number | undefined;
|
|
301
|
+
confirmAssetId?: string | undefined;
|
|
164
302
|
targetHost?: string | undefined;
|
|
303
|
+
hostAssetId?: string | undefined;
|
|
304
|
+
templateAssetId?: string | undefined;
|
|
305
|
+
source?: "template" | "alma97-cloud" | "alma97-iso" | undefined;
|
|
306
|
+
diskGb?: number | undefined;
|
|
307
|
+
outputFile?: string | undefined;
|
|
308
|
+
workspaceRoot?: string | undefined;
|
|
309
|
+
nativeCliDir?: string | undefined;
|
|
310
|
+
importStorage?: string | undefined;
|
|
311
|
+
releaseSha256?: string | undefined;
|
|
312
|
+
cloudImageUrl?: string | undefined;
|
|
313
|
+
cloudImageSha256?: string | undefined;
|
|
314
|
+
requiredFreeGb?: number | undefined;
|
|
315
|
+
confirmVmPrefix?: string | undefined;
|
|
316
|
+
confirmVmid?: number | undefined;
|
|
317
|
+
confirmCloudImageSha256?: string | undefined;
|
|
318
|
+
confirmReleaseSha256?: string | undefined;
|
|
319
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
320
|
+
recoverIncomplete?: boolean | undefined;
|
|
165
321
|
sourceVmIdOrName?: string | number | undefined;
|
|
166
322
|
newVmName?: string | undefined;
|
|
167
323
|
newVmId?: string | number | undefined;
|
|
@@ -172,6 +328,9 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
172
328
|
fullClone?: boolean | undefined;
|
|
173
329
|
}>, {
|
|
174
330
|
hypervisorType: "proxmox" | "esxi" | "any";
|
|
331
|
+
apply: boolean;
|
|
332
|
+
source: "template" | "alma97-cloud" | "alma97-iso";
|
|
333
|
+
recoverIncomplete: boolean;
|
|
175
334
|
startOnDeploy: boolean;
|
|
176
335
|
fullClone: boolean;
|
|
177
336
|
storage?: string | undefined;
|
|
@@ -180,6 +339,7 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
180
339
|
tags?: string | string[] | undefined;
|
|
181
340
|
template?: string | number | undefined;
|
|
182
341
|
description?: string | undefined;
|
|
342
|
+
version?: string | undefined;
|
|
183
343
|
start?: boolean | undefined;
|
|
184
344
|
memoryMb?: number | undefined;
|
|
185
345
|
host?: string | undefined;
|
|
@@ -190,7 +350,29 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
190
350
|
slotClaimId?: string | undefined;
|
|
191
351
|
cpuCores?: number | undefined;
|
|
192
352
|
requester?: string | undefined;
|
|
353
|
+
purpose?: string | undefined;
|
|
354
|
+
assetId?: string | undefined;
|
|
355
|
+
operationId?: string | undefined;
|
|
356
|
+
receiptFile?: string | undefined;
|
|
357
|
+
ttlHours?: number | undefined;
|
|
358
|
+
confirmAssetId?: string | undefined;
|
|
193
359
|
targetHost?: string | undefined;
|
|
360
|
+
hostAssetId?: string | undefined;
|
|
361
|
+
templateAssetId?: string | undefined;
|
|
362
|
+
diskGb?: number | undefined;
|
|
363
|
+
outputFile?: string | undefined;
|
|
364
|
+
workspaceRoot?: string | undefined;
|
|
365
|
+
nativeCliDir?: string | undefined;
|
|
366
|
+
importStorage?: string | undefined;
|
|
367
|
+
releaseSha256?: string | undefined;
|
|
368
|
+
cloudImageUrl?: string | undefined;
|
|
369
|
+
cloudImageSha256?: string | undefined;
|
|
370
|
+
requiredFreeGb?: number | undefined;
|
|
371
|
+
confirmVmPrefix?: string | undefined;
|
|
372
|
+
confirmVmid?: number | undefined;
|
|
373
|
+
confirmCloudImageSha256?: string | undefined;
|
|
374
|
+
confirmReleaseSha256?: string | undefined;
|
|
375
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
194
376
|
sourceVmIdOrName?: string | number | undefined;
|
|
195
377
|
newVmName?: string | undefined;
|
|
196
378
|
newVmId?: string | number | undefined;
|
|
@@ -204,6 +386,7 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
204
386
|
tags?: string | string[] | undefined;
|
|
205
387
|
template?: string | number | undefined;
|
|
206
388
|
description?: string | undefined;
|
|
389
|
+
version?: string | undefined;
|
|
207
390
|
start?: boolean | undefined;
|
|
208
391
|
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
209
392
|
memoryMb?: number | undefined;
|
|
@@ -215,7 +398,32 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
215
398
|
slotClaimId?: string | undefined;
|
|
216
399
|
cpuCores?: number | undefined;
|
|
217
400
|
requester?: string | undefined;
|
|
401
|
+
purpose?: string | undefined;
|
|
402
|
+
assetId?: string | undefined;
|
|
403
|
+
operationId?: string | undefined;
|
|
404
|
+
apply?: boolean | undefined;
|
|
405
|
+
receiptFile?: string | undefined;
|
|
406
|
+
ttlHours?: number | undefined;
|
|
407
|
+
confirmAssetId?: string | undefined;
|
|
218
408
|
targetHost?: string | undefined;
|
|
409
|
+
hostAssetId?: string | undefined;
|
|
410
|
+
templateAssetId?: string | undefined;
|
|
411
|
+
source?: "template" | "alma97-cloud" | "alma97-iso" | undefined;
|
|
412
|
+
diskGb?: number | undefined;
|
|
413
|
+
outputFile?: string | undefined;
|
|
414
|
+
workspaceRoot?: string | undefined;
|
|
415
|
+
nativeCliDir?: string | undefined;
|
|
416
|
+
importStorage?: string | undefined;
|
|
417
|
+
releaseSha256?: string | undefined;
|
|
418
|
+
cloudImageUrl?: string | undefined;
|
|
419
|
+
cloudImageSha256?: string | undefined;
|
|
420
|
+
requiredFreeGb?: number | undefined;
|
|
421
|
+
confirmVmPrefix?: string | undefined;
|
|
422
|
+
confirmVmid?: number | undefined;
|
|
423
|
+
confirmCloudImageSha256?: string | undefined;
|
|
424
|
+
confirmReleaseSha256?: string | undefined;
|
|
425
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
426
|
+
recoverIncomplete?: boolean | undefined;
|
|
219
427
|
sourceVmIdOrName?: string | number | undefined;
|
|
220
428
|
newVmName?: string | undefined;
|
|
221
429
|
newVmId?: string | number | undefined;
|
|
@@ -229,6 +437,35 @@ export type ProvisionVmInput = z.infer<typeof ProvisionVmInputSchema>;
|
|
|
229
437
|
export type ProvisionVmRawInput = z.input<typeof ProvisionVmInputSchema>;
|
|
230
438
|
export declare function handleProvisionVm(rawArgs: ProvisionVmRawInput, context: ToolContext): Promise<CallToolResult>;
|
|
231
439
|
export declare const AutoProvisionVmInputShape: {
|
|
440
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
441
|
+
hostAssetId: z.ZodOptional<z.ZodString>;
|
|
442
|
+
templateAssetId: z.ZodOptional<z.ZodString>;
|
|
443
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<["template", "alma97-cloud", "alma97-iso"]>>>;
|
|
444
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
445
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
446
|
+
ttlHours: z.ZodOptional<z.ZodNumber>;
|
|
447
|
+
apply: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
448
|
+
confirmAssetId: z.ZodOptional<z.ZodString>;
|
|
449
|
+
outputFile: z.ZodOptional<z.ZodString>;
|
|
450
|
+
receiptFile: z.ZodOptional<z.ZodString>;
|
|
451
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
452
|
+
nativeCliDir: z.ZodOptional<z.ZodString>;
|
|
453
|
+
importStorage: z.ZodOptional<z.ZodString>;
|
|
454
|
+
releaseSha256: z.ZodOptional<z.ZodString>;
|
|
455
|
+
cloudImageUrl: z.ZodOptional<z.ZodString>;
|
|
456
|
+
cloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
457
|
+
requiredFreeGb: z.ZodOptional<z.ZodNumber>;
|
|
458
|
+
confirmVmPrefix: z.ZodOptional<z.ZodString>;
|
|
459
|
+
confirmVmid: z.ZodOptional<z.ZodNumber>;
|
|
460
|
+
confirmCloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
461
|
+
confirmReleaseSha256: z.ZodOptional<z.ZodString>;
|
|
462
|
+
confirmExistingSmbiosUuid: z.ZodOptional<z.ZodString>;
|
|
463
|
+
recoverIncomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
464
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
465
|
+
memoryMb: z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
467
|
+
newVmId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
468
|
+
vmid: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
232
469
|
template: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
233
470
|
sourceVmIdOrName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
234
471
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -254,6 +491,35 @@ export declare const AutoProvisionVmInputShape: {
|
|
|
254
491
|
readyTimeoutSeconds: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
255
492
|
};
|
|
256
493
|
export declare const AutoProvisionVmInputSchema: z.ZodObject<{
|
|
494
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
495
|
+
hostAssetId: z.ZodOptional<z.ZodString>;
|
|
496
|
+
templateAssetId: z.ZodOptional<z.ZodString>;
|
|
497
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<["template", "alma97-cloud", "alma97-iso"]>>>;
|
|
498
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
499
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
500
|
+
ttlHours: z.ZodOptional<z.ZodNumber>;
|
|
501
|
+
apply: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
502
|
+
confirmAssetId: z.ZodOptional<z.ZodString>;
|
|
503
|
+
outputFile: z.ZodOptional<z.ZodString>;
|
|
504
|
+
receiptFile: z.ZodOptional<z.ZodString>;
|
|
505
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
506
|
+
nativeCliDir: z.ZodOptional<z.ZodString>;
|
|
507
|
+
importStorage: z.ZodOptional<z.ZodString>;
|
|
508
|
+
releaseSha256: z.ZodOptional<z.ZodString>;
|
|
509
|
+
cloudImageUrl: z.ZodOptional<z.ZodString>;
|
|
510
|
+
cloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
511
|
+
requiredFreeGb: z.ZodOptional<z.ZodNumber>;
|
|
512
|
+
confirmVmPrefix: z.ZodOptional<z.ZodString>;
|
|
513
|
+
confirmVmid: z.ZodOptional<z.ZodNumber>;
|
|
514
|
+
confirmCloudImageSha256: z.ZodOptional<z.ZodString>;
|
|
515
|
+
confirmReleaseSha256: z.ZodOptional<z.ZodString>;
|
|
516
|
+
confirmExistingSmbiosUuid: z.ZodOptional<z.ZodString>;
|
|
517
|
+
recoverIncomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
518
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
519
|
+
memoryMb: z.ZodOptional<z.ZodNumber>;
|
|
520
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
521
|
+
newVmId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
522
|
+
vmid: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
257
523
|
template: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
258
524
|
sourceVmIdOrName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
259
525
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -280,6 +546,9 @@ export declare const AutoProvisionVmInputSchema: z.ZodObject<{
|
|
|
280
546
|
}, "strip", z.ZodTypeAny, {
|
|
281
547
|
hypervisorType: "proxmox" | "esxi" | "any";
|
|
282
548
|
ttlMinutes: number;
|
|
549
|
+
apply: boolean;
|
|
550
|
+
source: "template" | "alma97-cloud" | "alma97-iso";
|
|
551
|
+
recoverIncomplete: boolean;
|
|
283
552
|
waitForReady: boolean;
|
|
284
553
|
readyTimeoutSeconds: number;
|
|
285
554
|
storage?: string | undefined;
|
|
@@ -287,8 +556,10 @@ export declare const AutoProvisionVmInputSchema: z.ZodObject<{
|
|
|
287
556
|
tags?: string | string[] | undefined;
|
|
288
557
|
template?: string | number | undefined;
|
|
289
558
|
version?: string | undefined;
|
|
559
|
+
memoryMb?: number | undefined;
|
|
290
560
|
durationMinutes?: number | undefined;
|
|
291
561
|
host?: string | undefined;
|
|
562
|
+
vmid?: string | number | undefined;
|
|
292
563
|
ipAddress?: string | undefined;
|
|
293
564
|
targetVersion?: string | undefined;
|
|
294
565
|
workloadType?: "uat" | "perf" | "soak" | "dev" | "regression" | "reproduction" | "demo" | undefined;
|
|
@@ -296,10 +567,34 @@ export declare const AutoProvisionVmInputSchema: z.ZodObject<{
|
|
|
296
567
|
linearIssue?: string | undefined;
|
|
297
568
|
branch?: string | undefined;
|
|
298
569
|
vlan?: number | undefined;
|
|
570
|
+
cpuCores?: number | undefined;
|
|
299
571
|
requester?: string | undefined;
|
|
572
|
+
purpose?: string | undefined;
|
|
573
|
+
assetId?: string | undefined;
|
|
574
|
+
operationId?: string | undefined;
|
|
575
|
+
receiptFile?: string | undefined;
|
|
576
|
+
ttlHours?: number | undefined;
|
|
577
|
+
confirmAssetId?: string | undefined;
|
|
300
578
|
targetHost?: string | undefined;
|
|
579
|
+
hostAssetId?: string | undefined;
|
|
580
|
+
templateAssetId?: string | undefined;
|
|
581
|
+
diskGb?: number | undefined;
|
|
582
|
+
outputFile?: string | undefined;
|
|
583
|
+
workspaceRoot?: string | undefined;
|
|
584
|
+
nativeCliDir?: string | undefined;
|
|
585
|
+
importStorage?: string | undefined;
|
|
586
|
+
releaseSha256?: string | undefined;
|
|
587
|
+
cloudImageUrl?: string | undefined;
|
|
588
|
+
cloudImageSha256?: string | undefined;
|
|
589
|
+
requiredFreeGb?: number | undefined;
|
|
590
|
+
confirmVmPrefix?: string | undefined;
|
|
591
|
+
confirmVmid?: number | undefined;
|
|
592
|
+
confirmCloudImageSha256?: string | undefined;
|
|
593
|
+
confirmReleaseSha256?: string | undefined;
|
|
594
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
301
595
|
sourceVmIdOrName?: string | number | undefined;
|
|
302
596
|
newVmName?: string | undefined;
|
|
597
|
+
newVmId?: string | number | undefined;
|
|
303
598
|
networkBridge?: string | undefined;
|
|
304
599
|
}, {
|
|
305
600
|
storage?: string | undefined;
|
|
@@ -308,9 +603,11 @@ export declare const AutoProvisionVmInputSchema: z.ZodObject<{
|
|
|
308
603
|
template?: string | number | undefined;
|
|
309
604
|
version?: string | undefined;
|
|
310
605
|
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
606
|
+
memoryMb?: number | undefined;
|
|
311
607
|
durationMinutes?: number | undefined;
|
|
312
608
|
ttlMinutes?: number | undefined;
|
|
313
609
|
host?: string | undefined;
|
|
610
|
+
vmid?: string | number | undefined;
|
|
314
611
|
ipAddress?: string | undefined;
|
|
315
612
|
targetVersion?: string | undefined;
|
|
316
613
|
workloadType?: "uat" | "perf" | "soak" | "dev" | "regression" | "reproduction" | "demo" | undefined;
|
|
@@ -318,10 +615,37 @@ export declare const AutoProvisionVmInputSchema: z.ZodObject<{
|
|
|
318
615
|
linearIssue?: string | undefined;
|
|
319
616
|
branch?: string | undefined;
|
|
320
617
|
vlan?: number | undefined;
|
|
618
|
+
cpuCores?: number | undefined;
|
|
321
619
|
requester?: string | undefined;
|
|
620
|
+
purpose?: string | undefined;
|
|
621
|
+
assetId?: string | undefined;
|
|
622
|
+
operationId?: string | undefined;
|
|
623
|
+
apply?: boolean | undefined;
|
|
624
|
+
receiptFile?: string | undefined;
|
|
625
|
+
ttlHours?: number | undefined;
|
|
626
|
+
confirmAssetId?: string | undefined;
|
|
322
627
|
targetHost?: string | undefined;
|
|
628
|
+
hostAssetId?: string | undefined;
|
|
629
|
+
templateAssetId?: string | undefined;
|
|
630
|
+
source?: "template" | "alma97-cloud" | "alma97-iso" | undefined;
|
|
631
|
+
diskGb?: number | undefined;
|
|
632
|
+
outputFile?: string | undefined;
|
|
633
|
+
workspaceRoot?: string | undefined;
|
|
634
|
+
nativeCliDir?: string | undefined;
|
|
635
|
+
importStorage?: string | undefined;
|
|
636
|
+
releaseSha256?: string | undefined;
|
|
637
|
+
cloudImageUrl?: string | undefined;
|
|
638
|
+
cloudImageSha256?: string | undefined;
|
|
639
|
+
requiredFreeGb?: number | undefined;
|
|
640
|
+
confirmVmPrefix?: string | undefined;
|
|
641
|
+
confirmVmid?: number | undefined;
|
|
642
|
+
confirmCloudImageSha256?: string | undefined;
|
|
643
|
+
confirmReleaseSha256?: string | undefined;
|
|
644
|
+
confirmExistingSmbiosUuid?: string | undefined;
|
|
645
|
+
recoverIncomplete?: boolean | undefined;
|
|
323
646
|
sourceVmIdOrName?: string | number | undefined;
|
|
324
647
|
newVmName?: string | undefined;
|
|
648
|
+
newVmId?: string | number | undefined;
|
|
325
649
|
networkBridge?: string | undefined;
|
|
326
650
|
waitForReady?: boolean | undefined;
|
|
327
651
|
readyTimeoutSeconds?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provision-tools.d.ts","sourceRoot":"","sources":["../../../src/tools/provision-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAA2C,MAAM,iBAAiB,CAAC;AAM1F,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAa9C,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"provision-tools.d.ts","sourceRoot":"","sources":["../../../src/tools/provision-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAA2C,MAAM,iBAAiB,CAAC;AAM1F,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAa9C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkNjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAShC,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEzE,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,cAAc,CAAC,CA6QzB;AAMD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0IrC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsC,CAAC;AAC9E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEjF,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,cAAc,CAAC,CA+YzB"}
|