From 69e6ce2bf7272797cf08ee4fbe0ff9fe0fc3b1f4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 13 Nov 2026 20:34:47 +0100 Subject: feat(vm): a VMs tab for libvirt power, snapshots and ssh virsh domstats each poll for state, CPU and memory; managed save, snapshots and the guest agent's IP in a thread every 10s. Actions are the drawer's power set plus snapshot take/revert/delete, names checked against the last state. SSH opens a tab in a running kitty over its remote-control socket and focuses it, else spawns kitty. Destructive buttons are press and hold. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 1ad334d..22ce6f5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -69,6 +69,12 @@ Keep the server dependency-free apart from that one package. is the emergency stop, a press-and-hold button on the tab. While the printer is off it backs off 10s between tries. The camera snapshot and the slicer thumbnail are loaded by the tablet straight from the printer. +- `vm` drives libvirt's default connection (qemu:///system) through `virsh`: + `domstats` each poll, `dominfo`/`snapshot-list`/agent `domifaddr` in a + thread every 10s and after an action. A vm or snapshot name must be one + the last state listed. `ssh` opens `ssh ` as a tab in the first + `$XDG_RUNTIME_DIR/kitty-` that answers `kitty @` and focuses it, + else spawns kitty. Destructive buttons are press and hold. - `sbbuilder` has no tab, only a running slot. It reads `sbb-remote jobs --active` (sb-builder 0.13.1+); a running build's `progress` (done of total with dependencies, the package building, its ETA, the estimated end, -- cgit v1.2.3