feat: finish the fleets plugin, add ctx.hosts and host-commands SDK (B4)

This commit is contained in:
LukeGus committed 2026-09-23 13:10:18 -05:00
1 parent 37c015a760
commit c381955ed0
43 files changed
+835 -1999

No files matched your search

+14 -6
View File
@@ -375,10 +375,14 @@ describe("Proxmox / Proxmox Stats independent toggles", () => {
it("seeds both configs independently from an existing host", () => {
const host = {
enableProxmox: true,
proxmoxConfig: { windowsPatterns: "win", dockerPatterns: "docker" },
enableProxmoxStats: true,
proxmoxStatsConfig: { pollInterval: 30, nodeName: "pve-custom" },
pluginSettings: {
proxmox: {
enableProxmox: true,
proxmoxConfig: { windowsPatterns: "win", dockerPatterns: "docker" },
enableProxmoxStats: true,
proxmoxStatsConfig: { pollInterval: 30, nodeName: "pve-custom" },
},
},
} as unknown as Host;
const form = createHostEditorForm(host);
@@ -446,8 +450,12 @@ describe("Proxmox / Proxmox Stats independent toggles", () => {
};
const form = {
...createHostEditorForm({
enableProxmox: false,
proxmoxConfig: { source },
pluginSettings: {
proxmox: {
enableProxmox: false,
proxmoxConfig: { source },
},
},
} as unknown as Host),
name: "Edited guest",
};
@@ -51,8 +51,6 @@ function sshHost(
enableTunnel: false,
enableFileManager: false,
enableDocker: false,
enableProxmox: false,
enableProxmoxStats: false,
enableTmuxMonitor: false,
enableTerminalToolbar: true,
enableAiAssistant: false,