Every VM action had two bindings: one by name and one by driver and name.
The window used only the second, so the first is gone and the WithDriver
suffix with it. Unused bindings and frontend exports are removed too.
Tests now reject bindings the window never calls, stale generated
bindings and unused frontend exports. TypeScript rejects unused locals.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Delete functions that no product code calls, and fold "simple plus
WithOptions" pairs into the one signature callers actually use. Rename
the live macOS lifecycle functions that were labelled Legacy.
The architecture tests now share one source loader and reject functions
without a product caller and catalog messages nobody reads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve stats, thumbnails, window actions, SSH, affinity and diagnostic bundles through VMRef-aware VM information. Isolate caches, SSH aliases and frontend pollers for same-name VMs while preserving macOS defaults.
Backend
- Per-VM CPU affinity (vmstart/affinity.go, affinity_flow.go): modes auto /
all / P-cores / non-LP-E / custom, saved in the VM folder, applied to the
QEMU process on start (GUI and CLI) and live via SetVMAffinity; copied on
clone. Start summary logs the resolved mapping. Host report gains CPU
topology helpers (mask <-> CPU list).
- Offline qcow2 restore points via qemu-img (driver/reims/snapshot.go,
snapshot_flow.go): list / create / restore / delete.
- SSH helpers (ssh_flow.go): remembered user, open a terminal, write an
~/.ssh/config entry, open VS Code Remote-SSH.
- FocusVMWindow brings the QEMU window forward (restoring it if minimized);
CopyVMScreenshot copies a full-resolution frame to the clipboard.
- DeliverPathsToGuest copies dropped host files into the shared folder;
main.go enables Wails file drop on elements marked --wails-drop-target.
- VM note (.reims-go-note) and a storage breakdown (extras_flow.go).
Frontend
- VM page: running state's "Show Window" and the screen preview use
FocusVMWindow; camera button and More-menu item copy a screenshot;
editable note under the name; SSH row shows the saved user with
Terminal / config / VS Code actions; restore-point list; install guide
steps can be ticked off; drop files onto the page to send them.
- Sidebar right-click menu per VM (start, show window, screenshot, stop,
restart, settings, folders, clone, delete); double-click and Ctrl+Enter
still run the main action.
- AffinityDialog opened from the VM menu and VM settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>