@calltelemetry/ct-lab-mcp 0.1.2 → 0.1.3
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/src/appliance/commands.d.ts +4 -0
- package/dist/src/appliance/commands.d.ts.map +1 -1
- package/dist/src/appliance/commands.js +32 -0
- package/dist/src/appliance/commands.js.map +1 -1
- package/dist/src/appliance/mock.d.ts.map +1 -1
- package/dist/src/appliance/mock.js +42 -0
- package/dist/src/appliance/mock.js.map +1 -1
- package/dist/src/appliance/types.d.ts +8 -1
- package/dist/src/appliance/types.d.ts.map +1 -1
- package/dist/src/appliance/types.js.map +1 -1
- package/dist/src/server.d.ts +3 -1
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +14 -4
- package/dist/src/server.js.map +1 -1
- package/dist/src/slot/gc.d.ts +11 -2
- package/dist/src/slot/gc.d.ts.map +1 -1
- package/dist/src/slot/gc.js +20 -2
- package/dist/src/slot/gc.js.map +1 -1
- package/dist/src/slot/manager.d.ts +34 -3
- package/dist/src/slot/manager.d.ts.map +1 -1
- package/dist/src/slot/manager.js +572 -3
- package/dist/src/slot/manager.js.map +1 -1
- package/dist/src/slot/types.d.ts +96 -1
- package/dist/src/slot/types.d.ts.map +1 -1
- package/dist/src/slot/types.js.map +1 -1
- package/dist/src/telemetry/index.d.ts +3 -0
- package/dist/src/telemetry/index.d.ts.map +1 -0
- package/dist/src/telemetry/index.js +3 -0
- package/dist/src/telemetry/index.js.map +1 -0
- package/dist/src/telemetry/registry.d.ts +43 -0
- package/dist/src/telemetry/registry.d.ts.map +1 -0
- package/dist/src/telemetry/registry.js +146 -0
- package/dist/src/telemetry/registry.js.map +1 -0
- package/dist/src/telemetry/types.d.ts +37 -0
- package/dist/src/telemetry/types.d.ts.map +1 -0
- package/dist/src/telemetry/types.js +6 -0
- package/dist/src/telemetry/types.js.map +1 -0
- package/dist/src/tools/appliance-exec.js +1 -1
- package/dist/src/tools/appliance-exec.js.map +1 -1
- package/dist/src/tools/index.d.ts +3 -1
- package/dist/src/tools/index.d.ts.map +1 -1
- package/dist/src/tools/index.js +19 -8
- package/dist/src/tools/index.js.map +1 -1
- package/dist/src/tools/list-hosts.d.ts +2 -2
- package/dist/src/tools/list-inventory.d.ts +3 -3
- package/dist/src/tools/provision-tools.d.ts +122 -21
- package/dist/src/tools/provision-tools.d.ts.map +1 -1
- package/dist/src/tools/provision-tools.js +384 -1
- package/dist/src/tools/provision-tools.js.map +1 -1
- package/dist/src/tools/purge-slots.d.ts +52 -0
- package/dist/src/tools/purge-slots.d.ts.map +1 -0
- package/dist/src/tools/purge-slots.js +107 -0
- package/dist/src/tools/purge-slots.js.map +1 -0
- package/dist/src/tools/slot-tools.d.ts +92 -30
- package/dist/src/tools/slot-tools.d.ts.map +1 -1
- package/dist/src/tools/slot-tools.js +67 -5
- package/dist/src/tools/slot-tools.js.map +1 -1
- package/dist/src/tools/vm-action.d.ts +22 -22
- package/dist/src/utils/formatters.d.ts +38 -4
- package/dist/src/utils/formatters.d.ts.map +1 -1
- package/dist/src/utils/formatters.js +179 -23
- package/dist/src/utils/formatters.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appliance-exec.js","sourceRoot":"","sources":["../../../src/tools/appliance-exec.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAEL,cAAc,EACd,4BAA4B,EAC5B,wBAAwB,EACxB,4BAA4B,EAC5B,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,MAAM,CAAC,MAAM,uBAAu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AC,QAAQ,KAAK,KAAK,CAAC,OAAO,EAAE,EAC7E;gBACE,QAAQ,EAAE,KAAK,CAAC,QAAQ;gBACxB,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,MAAM,EAAE,KAAK,CAAC,MAAM;aACrB,CACF,CAAC;QACJ,CAAC;QAED,IAAI,KAAK,YAAY,cAAc,EAAE,CAAC;YACpC,OAAO,qBAAqB,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACnF,CAAC;QAED,IAAI,KAAK,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC;YAChC,OAAO,qBAAqB,CAC1B,gBAAgB,CAAC,gBAAgB,EACjC,qBAAqB,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC/F,CAAC;QACJ,CAAC;QAED,MAAM,GAAG,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACnE,OAAO,qBAAqB,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC;IACzE,CAAC;AACH,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Call Telemetry Lab MCP Tools Registry and Dispatcher
|
|
3
3
|
*
|
|
4
|
-
* Registers the
|
|
4
|
+
* Registers the primary MCP tools:
|
|
5
5
|
* 1. list_hosts
|
|
6
6
|
* 2. list_inventory
|
|
7
7
|
* 3. claim_slot
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* 5. provision_vm
|
|
10
10
|
* 6. vm_action
|
|
11
11
|
* 7. appliance_exec
|
|
12
|
+
* 8. purge_slots
|
|
12
13
|
* (Plus list_slots for backwards compatibility)
|
|
13
14
|
*/
|
|
14
15
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -16,6 +17,7 @@ import { ToolContext } from "./list-hosts.js";
|
|
|
16
17
|
export * from "./list-hosts.js";
|
|
17
18
|
export * from "./list-inventory.js";
|
|
18
19
|
export * from "./slot-tools.js";
|
|
20
|
+
export * from "./purge-slots.js";
|
|
19
21
|
export * from "./provision-tools.js";
|
|
20
22
|
export * from "./vm-action.js";
|
|
21
23
|
export * from "./appliance-exec.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAIL,WAAW,EACZ,MAAM,iBAAiB,CAAC;AAyCzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAEpC;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CAoG9E"}
|
package/dist/src/tools/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Call Telemetry Lab MCP Tools Registry and Dispatcher
|
|
3
3
|
*
|
|
4
|
-
* Registers the
|
|
4
|
+
* Registers the primary MCP tools:
|
|
5
5
|
* 1. list_hosts
|
|
6
6
|
* 2. list_inventory
|
|
7
7
|
* 3. claim_slot
|
|
@@ -9,17 +9,20 @@
|
|
|
9
9
|
* 5. provision_vm
|
|
10
10
|
* 6. vm_action
|
|
11
11
|
* 7. appliance_exec
|
|
12
|
+
* 8. purge_slots
|
|
12
13
|
* (Plus list_slots for backwards compatibility)
|
|
13
14
|
*/
|
|
14
15
|
import { ListHostsInputShape, handleListHosts, } from "./list-hosts.js";
|
|
15
16
|
import { ListInventoryInputShape, handleListInventory, } from "./list-inventory.js";
|
|
16
17
|
import { ClaimSlotInputShape, handleClaimSlot, ReleaseSlotInputShape, handleReleaseSlot, ListSlotsInputShape, handleListSlots, } from "./slot-tools.js";
|
|
17
|
-
import {
|
|
18
|
+
import { PurgeSlotsInputShape, handlePurgeSlots, } from "./purge-slots.js";
|
|
19
|
+
import { ProvisionVmInputShape, handleProvisionVm, AutoProvisionVmInputShape, handleAutoProvisionVm, } from "./provision-tools.js";
|
|
18
20
|
import { VmActionInputShape, handleVmAction, } from "./vm-action.js";
|
|
19
21
|
import { ApplianceExecInputShape, handleApplianceExec, } from "./appliance-exec.js";
|
|
20
22
|
export * from "./list-hosts.js";
|
|
21
23
|
export * from "./list-inventory.js";
|
|
22
24
|
export * from "./slot-tools.js";
|
|
25
|
+
export * from "./purge-slots.js";
|
|
23
26
|
export * from "./provision-tools.js";
|
|
24
27
|
export * from "./vm-action.js";
|
|
25
28
|
export * from "./appliance-exec.js";
|
|
@@ -36,27 +39,35 @@ export function registerAllTools(server, context) {
|
|
|
36
39
|
return handleListInventory(args, context);
|
|
37
40
|
});
|
|
38
41
|
// 3. claim_slot
|
|
39
|
-
server.tool("claim_slot", "Lease an 8GB appliance slot on a specified or auto-selected hypervisor host with lease TTL and Linear issue tracking. Enforces strict capacity limits (2 slots on proxmox-lab, 4 on proxmox-mini, 2 on ESXi).", ClaimSlotInputShape, async (args) => {
|
|
42
|
+
server.tool("claim_slot", "Lease an 8GB appliance slot on a specified or auto-selected hypervisor host with structured labeling, workload types, lease TTL, and Linear issue tracking. Enforces strict capacity limits (2 slots on proxmox-lab, 4 on proxmox-mini, 2 on ESXi).", ClaimSlotInputShape, async (args) => {
|
|
40
43
|
return handleClaimSlot(args, context);
|
|
41
44
|
});
|
|
42
45
|
// 4. release_slot
|
|
43
46
|
server.tool("release_slot", "Release an active 8GB slot claim by claimId, tag, requester, or Linear issue, with optional automatic destruction of attached test VMs.", ReleaseSlotInputShape, async (args) => {
|
|
44
47
|
return handleReleaseSlot(args, context);
|
|
45
48
|
});
|
|
46
|
-
// 5.
|
|
49
|
+
// 5. purge_slots
|
|
50
|
+
server.tool("purge_slots", "Automated and on-demand expired slot purge & reclamation engine. Identifies expired or threshold-exceeded slot leases, reclaims hypervisor memory, and destroys attached disposable VMs with non-bypassable guardrails protecting core infrastructure (CUCM, CUBE, templates).", PurgeSlotsInputShape, async (args) => {
|
|
51
|
+
return handlePurgeSlots(args, context);
|
|
52
|
+
});
|
|
53
|
+
// 6. provision_vm
|
|
47
54
|
server.tool("provision_vm", "Provision a new disposable Call Telemetry appliance VM on Proxmox VE or VMware ESXi from a base template with IP/VLAN networking and auto-attached 8GB slot lease.", ProvisionVmInputShape, async (args) => {
|
|
48
55
|
return handleProvisionVm(args, context);
|
|
49
56
|
});
|
|
50
|
-
//
|
|
57
|
+
// 7. auto_provision_vm
|
|
58
|
+
server.tool("auto_provision_vm", "Automated end-to-end VM provisioning workflow: auto-select least-loaded host, claim 8GB slot lease with rich metadata, clone VM from template, boot & configure network, poll SSH (port 2222) / API health readiness, deploy/pin requested release version, and return verified endpoints with atomic rollback on failure.", AutoProvisionVmInputShape, async (args) => {
|
|
59
|
+
return handleAutoProvisionVm(args, context);
|
|
60
|
+
});
|
|
61
|
+
// 8. vm_action
|
|
51
62
|
server.tool("vm_action", "Execute VM power lifecycle operations (start, stop, reboot, shutdown, reset, status, clone, destroy) across Proxmox and ESXi with non-bypassable safety guardrails protecting core infrastructure (CUCM, CUBE, templates).", VmActionInputShape, async (args) => {
|
|
52
63
|
return handleVmAction(args, context);
|
|
53
64
|
});
|
|
54
|
-
//
|
|
65
|
+
// 8. appliance_exec
|
|
55
66
|
server.tool("appliance_exec", "Execute mediated Call Telemetry appliance CLI operations (status, health, diag, db_vacuum, migrate, docker, logs, version) over secure SSH on Port 2222 with output sanitization and secret redaction.", ApplianceExecInputShape, async (args) => {
|
|
56
67
|
return handleApplianceExec(args, context);
|
|
57
68
|
});
|
|
58
|
-
//
|
|
59
|
-
server.tool("list_slots", "Query all 8GB appliance slot claims, lease TTLs, expiration timestamps,
|
|
69
|
+
// 9. list_slots (backwards compatibility / slot inventory inspection)
|
|
70
|
+
server.tool("list_slots", "Query all 8GB appliance slot claims, lease TTLs, expiration timestamps, structured metadata (labels, workload types, versions, branches, tags), and cluster capacity breakdown.", ListSlotsInputShape, async (args) => {
|
|
60
71
|
return handleListSlots(args, context);
|
|
61
72
|
});
|
|
62
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EACL,mBAAmB,EAEnB,eAAe,GAEhB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,uBAAuB,EAEvB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EAEnB,eAAe,EACf,qBAAqB,EAErB,iBAAiB,EACjB,mBAAmB,EAEnB,eAAe,GAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EAEpB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,qBAAqB,EAErB,iBAAiB,EACjB,yBAAyB,EAEzB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAElB,cAAc,GACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,uBAAuB,EAEvB,mBAAmB,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,CACF,CAAC;IAEF,kBAAkB;IAClB,MAAM,CAAC,IAAI,CACT,cAAc,EACd,oKAAoK,EACpK,qBAAqB,EACrB,KAAK,EAAE,IAAI,EAAE,EAAE;QACb,OAAO,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC,CACF,CAAC;IAEF,uBAAuB;IACvB,MAAM,CAAC,IAAI,CACT,mBAAmB,EACnB,4TAA4T,EAC5T,yBAAyB,EACzB,KAAK,EAAE,IAAI,EAAE,EAAE;QACb,OAAO,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC,CACF,CAAC;IAEF,eAAe;IACf,MAAM,CAAC,IAAI,CACT,WAAW,EACX,4NAA4N,EAC5N,kBAAkB,EAClB,KAAK,EAAE,IAAI,EAAE,EAAE;QACb,OAAO,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC,CACF,CAAC;IAEF,oBAAoB;IACpB,MAAM,CAAC,IAAI,CACT,gBAAgB,EAChB,wMAAwM,EACxM,uBAAuB,EACvB,KAAK,EAAE,IAAI,EAAE,EAAE;QACb,OAAO,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC,CACF,CAAC;IAEF,sEAAsE;IACtE,MAAM,CAAC,IAAI,CACT,YAAY,EACZ,iLAAiL,EACjL,mBAAmB,EACnB,KAAK,EAAE,IAAI,EAAE,EAAE;QACb,OAAO,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -27,12 +27,12 @@ export declare const ListHostsInputSchema: z.ZodObject<{
|
|
|
27
27
|
hypervisorType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["proxmox", "esxi", "all"]>>>;
|
|
28
28
|
refresh: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
host: "proxmox-lab" | "proxmox-mini" | "proxmox-minis-lab" | "all" | "esxi-intel-192-168-123-176";
|
|
31
30
|
hypervisorType: "proxmox" | "esxi" | "all";
|
|
31
|
+
host: "proxmox-lab" | "proxmox-mini" | "proxmox-minis-lab" | "all" | "esxi-intel-192-168-123-176";
|
|
32
32
|
refresh: boolean;
|
|
33
33
|
}, {
|
|
34
|
-
host?: "proxmox-lab" | "proxmox-mini" | "proxmox-minis-lab" | "all" | "esxi-intel-192-168-123-176" | undefined;
|
|
35
34
|
hypervisorType?: "proxmox" | "esxi" | "all" | undefined;
|
|
35
|
+
host?: "proxmox-lab" | "proxmox-mini" | "proxmox-minis-lab" | "all" | "esxi-intel-192-168-123-176" | undefined;
|
|
36
36
|
refresh?: boolean | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export type ListHostsInput = z.infer<typeof ListHostsInputSchema>;
|
|
@@ -31,17 +31,17 @@ export declare const ListInventoryInputSchema: z.ZodObject<{
|
|
|
31
31
|
includeTemplates: boolean;
|
|
32
32
|
tags?: string | string[] | undefined;
|
|
33
33
|
filter?: string | undefined;
|
|
34
|
-
host?: string | undefined;
|
|
35
34
|
hostName?: string | undefined;
|
|
36
35
|
hypervisorType?: "proxmox" | "esxi" | "all" | undefined;
|
|
36
|
+
host?: string | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
tags?: string | string[] | undefined;
|
|
39
39
|
filter?: string | undefined;
|
|
40
40
|
status?: "running" | "stopped" | "all" | "claimed" | "disposable" | undefined;
|
|
41
|
-
host?: string | undefined;
|
|
42
|
-
hypervisor?: "proxmox" | "esxi" | "all" | undefined;
|
|
43
41
|
hostName?: string | undefined;
|
|
44
42
|
hypervisorType?: "proxmox" | "esxi" | "all" | undefined;
|
|
43
|
+
host?: string | undefined;
|
|
44
|
+
hypervisor?: "proxmox" | "esxi" | "all" | undefined;
|
|
45
45
|
includeTemplates?: boolean | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
export type ListInventoryInput = z.infer<typeof ListInventoryInputSchema>;
|
|
@@ -73,14 +73,14 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
73
73
|
template?: string | number | undefined;
|
|
74
74
|
description?: string | undefined;
|
|
75
75
|
start?: boolean | undefined;
|
|
76
|
+
memoryMb?: number | undefined;
|
|
76
77
|
host?: string | undefined;
|
|
77
78
|
vmid?: string | number | undefined;
|
|
78
|
-
|
|
79
|
+
ipAddress?: string | undefined;
|
|
79
80
|
linearIssue?: string | undefined;
|
|
81
|
+
vlan?: number | undefined;
|
|
80
82
|
slotClaimId?: string | undefined;
|
|
81
83
|
cpuCores?: number | undefined;
|
|
82
|
-
ipAddress?: string | undefined;
|
|
83
|
-
memoryMb?: number | undefined;
|
|
84
84
|
requester?: string | undefined;
|
|
85
85
|
targetHost?: string | undefined;
|
|
86
86
|
sourceVmIdOrName?: string | number | undefined;
|
|
@@ -97,15 +97,15 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
97
97
|
template?: string | number | undefined;
|
|
98
98
|
description?: string | undefined;
|
|
99
99
|
start?: boolean | undefined;
|
|
100
|
+
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
101
|
+
memoryMb?: number | undefined;
|
|
100
102
|
host?: string | undefined;
|
|
101
103
|
vmid?: string | number | undefined;
|
|
102
|
-
|
|
104
|
+
ipAddress?: string | undefined;
|
|
103
105
|
linearIssue?: string | undefined;
|
|
106
|
+
vlan?: number | undefined;
|
|
104
107
|
slotClaimId?: string | undefined;
|
|
105
108
|
cpuCores?: number | undefined;
|
|
106
|
-
ipAddress?: string | undefined;
|
|
107
|
-
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
108
|
-
memoryMb?: number | undefined;
|
|
109
109
|
requester?: string | undefined;
|
|
110
110
|
targetHost?: string | undefined;
|
|
111
111
|
sourceVmIdOrName?: string | number | undefined;
|
|
@@ -127,14 +127,14 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
127
127
|
template?: string | number | undefined;
|
|
128
128
|
description?: string | undefined;
|
|
129
129
|
start?: boolean | undefined;
|
|
130
|
+
memoryMb?: number | undefined;
|
|
130
131
|
host?: string | undefined;
|
|
131
132
|
vmid?: string | number | undefined;
|
|
132
|
-
|
|
133
|
+
ipAddress?: string | undefined;
|
|
133
134
|
linearIssue?: string | undefined;
|
|
135
|
+
vlan?: number | undefined;
|
|
134
136
|
slotClaimId?: string | undefined;
|
|
135
137
|
cpuCores?: number | undefined;
|
|
136
|
-
ipAddress?: string | undefined;
|
|
137
|
-
memoryMb?: number | undefined;
|
|
138
138
|
requester?: string | undefined;
|
|
139
139
|
targetHost?: string | undefined;
|
|
140
140
|
sourceVmIdOrName?: string | number | undefined;
|
|
@@ -151,15 +151,15 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
151
151
|
template?: string | number | undefined;
|
|
152
152
|
description?: string | undefined;
|
|
153
153
|
start?: boolean | undefined;
|
|
154
|
+
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
155
|
+
memoryMb?: number | undefined;
|
|
154
156
|
host?: string | undefined;
|
|
155
157
|
vmid?: string | number | undefined;
|
|
156
|
-
|
|
158
|
+
ipAddress?: string | undefined;
|
|
157
159
|
linearIssue?: string | undefined;
|
|
160
|
+
vlan?: number | undefined;
|
|
158
161
|
slotClaimId?: string | undefined;
|
|
159
162
|
cpuCores?: number | undefined;
|
|
160
|
-
ipAddress?: string | undefined;
|
|
161
|
-
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
162
|
-
memoryMb?: number | undefined;
|
|
163
163
|
requester?: string | undefined;
|
|
164
164
|
targetHost?: string | undefined;
|
|
165
165
|
sourceVmIdOrName?: string | number | undefined;
|
|
@@ -181,14 +181,14 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
181
181
|
template?: string | number | undefined;
|
|
182
182
|
description?: string | undefined;
|
|
183
183
|
start?: boolean | undefined;
|
|
184
|
+
memoryMb?: number | undefined;
|
|
184
185
|
host?: string | undefined;
|
|
185
186
|
vmid?: string | number | undefined;
|
|
186
|
-
|
|
187
|
+
ipAddress?: string | undefined;
|
|
187
188
|
linearIssue?: string | undefined;
|
|
189
|
+
vlan?: number | undefined;
|
|
188
190
|
slotClaimId?: string | undefined;
|
|
189
191
|
cpuCores?: number | undefined;
|
|
190
|
-
ipAddress?: string | undefined;
|
|
191
|
-
memoryMb?: number | undefined;
|
|
192
192
|
requester?: string | undefined;
|
|
193
193
|
targetHost?: string | undefined;
|
|
194
194
|
sourceVmIdOrName?: string | number | undefined;
|
|
@@ -205,15 +205,15 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
205
205
|
template?: string | number | undefined;
|
|
206
206
|
description?: string | undefined;
|
|
207
207
|
start?: boolean | undefined;
|
|
208
|
+
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
209
|
+
memoryMb?: number | undefined;
|
|
208
210
|
host?: string | undefined;
|
|
209
211
|
vmid?: string | number | undefined;
|
|
210
|
-
|
|
212
|
+
ipAddress?: string | undefined;
|
|
211
213
|
linearIssue?: string | undefined;
|
|
214
|
+
vlan?: number | undefined;
|
|
212
215
|
slotClaimId?: string | undefined;
|
|
213
216
|
cpuCores?: number | undefined;
|
|
214
|
-
ipAddress?: string | undefined;
|
|
215
|
-
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
216
|
-
memoryMb?: number | undefined;
|
|
217
217
|
requester?: string | undefined;
|
|
218
218
|
targetHost?: string | undefined;
|
|
219
219
|
sourceVmIdOrName?: string | number | undefined;
|
|
@@ -228,4 +228,105 @@ export declare const ProvisionVmInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
228
228
|
export type ProvisionVmInput = z.infer<typeof ProvisionVmInputSchema>;
|
|
229
229
|
export type ProvisionVmRawInput = z.input<typeof ProvisionVmInputSchema>;
|
|
230
230
|
export declare function handleProvisionVm(rawArgs: ProvisionVmRawInput, context: ToolContext): Promise<CallToolResult>;
|
|
231
|
+
export declare const AutoProvisionVmInputShape: {
|
|
232
|
+
template: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
233
|
+
sourceVmIdOrName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
234
|
+
name: z.ZodOptional<z.ZodString>;
|
|
235
|
+
newVmName: z.ZodOptional<z.ZodString>;
|
|
236
|
+
host: z.ZodOptional<z.ZodString>;
|
|
237
|
+
targetHost: z.ZodOptional<z.ZodString>;
|
|
238
|
+
hypervisorType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["proxmox", "esxi", "any"]>>>;
|
|
239
|
+
targetVersion: z.ZodOptional<z.ZodString>;
|
|
240
|
+
version: z.ZodOptional<z.ZodString>;
|
|
241
|
+
workloadType: z.ZodOptional<z.ZodEnum<["uat", "perf", "soak", "dev", "regression", "reproduction", "demo"]>>;
|
|
242
|
+
label: z.ZodOptional<z.ZodString>;
|
|
243
|
+
linearIssue: z.ZodOptional<z.ZodString>;
|
|
244
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
245
|
+
tags: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
246
|
+
requester: z.ZodOptional<z.ZodString>;
|
|
247
|
+
ttlMinutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
248
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
249
|
+
vlan: z.ZodOptional<z.ZodNumber>;
|
|
250
|
+
ipAddress: z.ZodOptional<z.ZodString>;
|
|
251
|
+
networkBridge: z.ZodOptional<z.ZodString>;
|
|
252
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
253
|
+
waitForReady: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
254
|
+
readyTimeoutSeconds: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
255
|
+
};
|
|
256
|
+
export declare const AutoProvisionVmInputSchema: z.ZodObject<{
|
|
257
|
+
template: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
258
|
+
sourceVmIdOrName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
259
|
+
name: z.ZodOptional<z.ZodString>;
|
|
260
|
+
newVmName: z.ZodOptional<z.ZodString>;
|
|
261
|
+
host: z.ZodOptional<z.ZodString>;
|
|
262
|
+
targetHost: z.ZodOptional<z.ZodString>;
|
|
263
|
+
hypervisorType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["proxmox", "esxi", "any"]>>>;
|
|
264
|
+
targetVersion: z.ZodOptional<z.ZodString>;
|
|
265
|
+
version: z.ZodOptional<z.ZodString>;
|
|
266
|
+
workloadType: z.ZodOptional<z.ZodEnum<["uat", "perf", "soak", "dev", "regression", "reproduction", "demo"]>>;
|
|
267
|
+
label: z.ZodOptional<z.ZodString>;
|
|
268
|
+
linearIssue: z.ZodOptional<z.ZodString>;
|
|
269
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
270
|
+
tags: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
271
|
+
requester: z.ZodOptional<z.ZodString>;
|
|
272
|
+
ttlMinutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
273
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
vlan: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
ipAddress: z.ZodOptional<z.ZodString>;
|
|
276
|
+
networkBridge: z.ZodOptional<z.ZodString>;
|
|
277
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
278
|
+
waitForReady: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
279
|
+
readyTimeoutSeconds: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
hypervisorType: "proxmox" | "esxi" | "any";
|
|
282
|
+
ttlMinutes: number;
|
|
283
|
+
waitForReady: boolean;
|
|
284
|
+
readyTimeoutSeconds: number;
|
|
285
|
+
storage?: string | undefined;
|
|
286
|
+
name?: string | undefined;
|
|
287
|
+
tags?: string | string[] | undefined;
|
|
288
|
+
template?: string | number | undefined;
|
|
289
|
+
version?: string | undefined;
|
|
290
|
+
durationMinutes?: number | undefined;
|
|
291
|
+
host?: string | undefined;
|
|
292
|
+
ipAddress?: string | undefined;
|
|
293
|
+
targetVersion?: string | undefined;
|
|
294
|
+
workloadType?: "uat" | "perf" | "soak" | "dev" | "regression" | "reproduction" | "demo" | undefined;
|
|
295
|
+
label?: string | undefined;
|
|
296
|
+
linearIssue?: string | undefined;
|
|
297
|
+
branch?: string | undefined;
|
|
298
|
+
vlan?: number | undefined;
|
|
299
|
+
requester?: string | undefined;
|
|
300
|
+
targetHost?: string | undefined;
|
|
301
|
+
sourceVmIdOrName?: string | number | undefined;
|
|
302
|
+
newVmName?: string | undefined;
|
|
303
|
+
networkBridge?: string | undefined;
|
|
304
|
+
}, {
|
|
305
|
+
storage?: string | undefined;
|
|
306
|
+
name?: string | undefined;
|
|
307
|
+
tags?: string | string[] | undefined;
|
|
308
|
+
template?: string | number | undefined;
|
|
309
|
+
version?: string | undefined;
|
|
310
|
+
hypervisorType?: "proxmox" | "esxi" | "any" | undefined;
|
|
311
|
+
durationMinutes?: number | undefined;
|
|
312
|
+
ttlMinutes?: number | undefined;
|
|
313
|
+
host?: string | undefined;
|
|
314
|
+
ipAddress?: string | undefined;
|
|
315
|
+
targetVersion?: string | undefined;
|
|
316
|
+
workloadType?: "uat" | "perf" | "soak" | "dev" | "regression" | "reproduction" | "demo" | undefined;
|
|
317
|
+
label?: string | undefined;
|
|
318
|
+
linearIssue?: string | undefined;
|
|
319
|
+
branch?: string | undefined;
|
|
320
|
+
vlan?: number | undefined;
|
|
321
|
+
requester?: string | undefined;
|
|
322
|
+
targetHost?: string | undefined;
|
|
323
|
+
sourceVmIdOrName?: string | number | undefined;
|
|
324
|
+
newVmName?: string | undefined;
|
|
325
|
+
networkBridge?: string | undefined;
|
|
326
|
+
waitForReady?: boolean | undefined;
|
|
327
|
+
readyTimeoutSeconds?: number | undefined;
|
|
328
|
+
}>;
|
|
329
|
+
export type AutoProvisionVmInput = z.infer<typeof AutoProvisionVmInputSchema>;
|
|
330
|
+
export type AutoProvisionVmRawInput = z.input<typeof AutoProvisionVmInputSchema>;
|
|
331
|
+
export declare function handleAutoProvisionVm(rawArgs: AutoProvisionVmRawInput, context: ToolContext): Promise<CallToolResult>;
|
|
231
332
|
//# sourceMappingURL=provision-tools.d.ts.map
|
|
@@ -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;
|
|
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;AAW9C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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