Adapt Intel VM suspend/resume to driver.SuspendDriver and lifecycle.Service, move native VM close confirmation into internal/host, migrate vm-suspend legacy capability detection, drop moved runtime build tooling, and regenerate i18n and Wails bindings.
Route generic App and CLI code through lifecycle and driver models. Move native macOS detail, create, settings and legacy flows into explicit files, share progress and redaction through host, and enforce the boundary with a file-scoped architecture ratchet.
Share redaction and GPU log diagnosis outside the macOS client, move snapshot validation to the driver contract, and delete superseded App storage implementations.
Add typed snapshot, CoW clone, resize and compaction contracts. Move macOS disk mechanics behind the driver, preserve progress and pending UI behavior, and pass driver identity through App, CLI and frontend entry points.
Support the released unstamped and v1 layouts without migrating unreleased plugin IDs. Combine guest and VMRef transformations into one v3 state save, preserve the original backup, and abort on backup failures. Rescan owner markers during v3 and record ownership on every macOS create path.
Add ActionDriver/LogDriver dispatch for insert, eject, NVMe upgrades and serial/QEMU logs across lifecycle, App and CLI.
Pass driver IDs through frontend media and log calls and extend second-driver action/log coverage.
Resolve details through driver.Show with a generic GetVMInfo binding, and validate/apply changes through lifecycle.Set in App and CLI.
Move guest language and OpenCore replay into ReimsMacOSDriver.Set, preserving legacy fallbacks and adding second-driver detail/settings acceptance.
Add lifecycle Delete and driver-qualified App Restart/Delete methods, CLI vm delete --driver/--keep-files, and frontend driver-aware actions.
Extend the second-driver App acceptance to restart and delete while preserving legacy macOS restart fallback and cleanup.
Move Prep, recovery markers, offline helper and OpenCore language handling into internal/macos/startprep while retaining memory, affinity and line-writer helpers in vmstart.
Remove the host-to-macOS vmstart architecture exception and preserve preparation and commit-memory tests on both sides.
Change Driver.Start to StartRequest/StartResult with a compile-time macOS adapter assertion and registry-to-router coverage. Keep legacy Sidecar name alongside VMRef and grant argument privileges by driver ownership.
Move macOS preparation into ReimsMacOSDriver after hook veto, fail preparation errors before launch, and verify veto leaves OpenCore, recovery markers and ledgers unchanged.
Unify GUI, CLI and window list/start/stop through internal/lifecycle, select frontend VMs by VMRef, lazily initialize reims only in legacy CLI branches, and cover a second driver through App user entry points.
The data folder had no record of which layout wrote it, so a new release
could not tell old data from current data. <DataRoot>\.reims-go-data.json
now records data_version and the app version that last raised it. It is
kept out of reims-go.json, which is rewritten whole on every save and
would drop the field under an older build.
Each build carries every step from older layouts to its own; the GUI and
CLI run them in order before reading the folder, so users can jump
straight from any old version. A failed step leaves the version at the
last success and resumes next launch; a folder from a newer build is left
untouched.
Step v1 writes the driver ownership marker into every reims-ctl VM.
driver.RenamedDriverIDs maps old driver IDs to new ones for when a driver
moves to another plugin; markers are not rewritten, so downgrades still
resolve.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve merge conflicts with main in frontend/src/i18n.ts and internal/i18n/i18n.go, migrate the 12 i18n keys added on main since branching (CoW backing chain diagnostics and About open-source license viewer) into locales/{zh-CN,en-US}/*.json, and regenerate catalogs via cmd/i18ngen.
Only reims-go.exe ships now; reims-go-cli.exe is gone. Without
arguments it opens the window, with a command it runs command-line mode
(cmd/reims-go moved to internal/cli). Missing standard handles are
attached to the parent console; handles the caller passes in (pipes,
files) are kept, so scripts and agents get output and exit codes.
`vm start` hands the VM to the window process so it gets Guest Tools
and the Win10 cold-reboot watcher, which a command that exits could not
run:
- a running window gets the request through Wails' single-instance
protocol and stays hidden;
- otherwise the command launches the window tray-only (--background),
detached from the caller's console and handles;
- the window writes the outcome, with the VM's last log lines on
failure, to <DataRoot>\tmp\cli-start-*.json (it accepts no other
path) and the command reports it.
With --data-root the VM still starts in the command itself.
The window now takes a single-instance lock: a second double-click
brings the running window forward. `wails dev` builds use their own
lock name.
Tested on Win10 19045 with macos-tahoe: start from the command line
with no window running (4 s, exit 0) and with one running (3 s, exit 0,
same process); the cold-reboot monitor was held by the window.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>