The app and the command line each had their own copy of the language pack
merge order. The locale code now has its own file. The package scan is split
by what it checks, and a new test limits how long one function may get.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Registering, listing and counting contributions each had one copy per
contribution kind, and so did overriding their text from language packs.
One generic helper now covers each.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Events to the frontend go through App.emit, and a test keeps their names
in step with wails.ts. QEMU argument splitting, hidden console processes,
the macOS release record, the running check and a few smaller helpers
now exist once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fifteen call sites each had their own temp-file-and-rename code. Some
used a fixed temporary name, so two writers could mix their content, and
most did not flush before the rename. They now share atomicfile.Write.
An architecture test keeps new os.Rename calls out of other packages.
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>
- start VM processes suspended so children cannot escape the VM's job
- read Hyper-V Administrators from the member list, not the sign-in token
- accept the "open" action the app sends for Remote Desktop and VMConnect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- run elevated actions as fixed System32 tools instead of a hidden subcommand
- require a SHA-256 for plugin downloads
- keep records of secret files that could not be deleted, and never overwrite
files the host did not create
- stop two concurrent requests from starting the same VM
- drop invalid endpoints instead of failing the whole VM list, and reject ssh
users and IPv6 zones that could inject command-line text
- accept driver screenshots only at the requested path
- do not treat an unreadable guest phase as normal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plugins can add pages to the sidebar, VM tabs, Settings and dialogs. Their
pages can now use host forms and navigation, VM and settings access,
authorized file I/O, task progress, controlled HTTP requests, events and
private storage.
Plugin pages cannot change allow_ai_access, which stays the user's per-VM
consent. Closing a page cancels its unfinished tasks, and running plugin
tasks no longer block changing the data folder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>