Commit Graph
311 Commits
Author SHA1 Message Date
NwflowerandClaude Opus 5.5 8fd5e0287c fix: load VM details when a VM is resolved by name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:00:59 -07:00
NwflowerandClaude Opus 5.5 4f30967af1 refactor: download runtimes from reims-go/reims-vgpu
The old repository name only worked through a GitHub redirect. One variable
also moved both the runtime and the app update source; the runtime now has
its own, REIMS_GO_RUNTIME_RELEASES_REPO.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:22:02 -07:00
NwflowerandClaude Opus 5.5 8f7d62d0cc refactor(plugin): drop the theme sounds field
The host never played these files. A theme with an interactive script can
play its own sounds, so a second way is not needed. Old manifests still load
and get the usual notice about a field the host does not know.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:22:02 -07:00
NwflowerandClaude Opus 5.5 5b31ade958 refactor(frontend): split the VM page by feature
VMPage was one 1587-line component. Restore points, SSH access, host DNS,
endpoints, the install card, notices, the summary and the technical details
now have their own files, and both ellipsis menus share one ActionMenu.

Remove the borderless toggle and the runtime-kind listing, which no part of
the window used. The binding test no longer counts a binding's type
declaration in wails.ts as a caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:54:18 -07:00
NwflowerandClaude Opus 5.5 848089c2b2 refactor(plugin): share language pack merging and split the package scan
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>
2026-12-03 21:34:47 -07:00
NwflowerandClaude Opus 5.5 ab93899f45 style: drop unused variables and parameters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:31:11 -07:00
NwflowerandClaude Opus 5.5 0ed522656d fix(app): log every VM line under the VM's key
Some lines used the bare VM name as their source, so the log lines reported
with a failed command-line start left them out. Disk tasks also kept the
VM name in their step text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:27:52 -07:00
NwflowerandClaude Opus 5.5 165f26351d refactor(app): split the VM poll loop into steps
The poll loop was one 290-line function that did everything that follows the
VM list. Its steps are now separate and recording a listing has a test. The
install guide part moved next to the rest of the guide code. Running process
IDs and capabilities are read through one method each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:26:54 -07:00
NwflowerandClaude Opus 5.5 a4e2ecc3ce refactor(cli): split the plugin and vm commands by subcommand
Each subcommand is its own function. Opening the lifecycle service, parsing
a VM target, printing JSON and reading the UI contract had many copies and
now have one. The vm usage line also lists delete, resize and compact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:23:00 -07:00
NwflowerandClaude Opus 5.5 5c1a280271 refactor(plugin): share the registry and localization boilerplate
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>
2026-12-03 21:20:53 -07:00
NwflowerandClaude Opus 5.5 565577589a refactor: give each VM action one window binding
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>
2026-12-03 21:16:28 -07:00
NwflowerandClaude Opus 5.5 b203bde650 refactor: merge duplicated helpers and the window event contract
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>
2026-12-03 21:09:19 -07:00
NwflowerandClaude Opus 5.5 90fbce8b47 refactor: write small files through one atomic writer
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>
2026-12-03 20:59:56 -07:00
NwflowerandClaude Opus 5.5 c639682a88 refactor: remove unused functions and keep the codebase free of them
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>
2026-12-03 20:55:03 -07:00
NwflowerandClaude Opus 5.5 caceeefb78 fix: keep typed text inside the VM it was sent to
Look up Guest Tools by driver and name, so a same-name macOS VM cannot
receive it, and stop agents from typing while Computer Use is disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 09:30:02 -07:00
NwflowerandClaude Opus 5.5 857137426b fix: report VM stop timeouts and confirm closing during installer downloads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 09:19:43 -07:00
NwflowerandClaude Opus 5.5 a32cd8afad fix: track the whole VM process tree and open hosted endpoints
- 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>
2026-12-03 09:15:38 -07:00
NwflowerandClaude Opus 5.5 44e2174fff fix: harden guest driver host APIs
- 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>
2026-12-03 09:07:46 -07:00
NwflowerandClaude Opus 5.5 58cf86d5eb Merge branch 'main' into feat/host-guest-prereqs-a1-a2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 09:07:46 -07:00
千川白浪 7b57703424 Merge pull request #80 from reiasu2/feat/fullscreen-hotkey
feat(display,input,ui): add opt-in custom borderless fullscreen toggle hotkey
2026-12-03 23:47:17 +08:00
NwflowerandClaude Opus 5.5 f0ad59aedf style: align fullscreen shortcut fields
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 08:40:52 -07:00
NwflowerandClaude Opus 5.5 b39c240677 fix(input): keep the fullscreen shortcut working in captured VM windows
Put the hook back above key mapping and SDL3 whenever either reinstalls
its own hook, and stop treating modifiers swallowed by SDL3 as released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 08:40:30 -07:00
NwflowerandClaude Opus 5.5 5bb9b4160a Merge branch 'main' into feat/fullscreen-hotkey
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 08:40:29 -07:00
Nwflower e5b22836f5 fix(mcp): repair temporary VM names and expose lifecycle controls 2026-12-03 08:36:21 -07:00
NwflowerandClaude Opus 5.5 085891961f fix(guesttools): avoid truncated overwrites and blocking share probes
- Record the uploaded revision when a file changes mid-upload, so the next
  round sends the finished copy instead of restoring the truncated one.
- Keep both copies when sizes differ but timestamps are equal.
- Probe the WebDAV mount in the background with a time limit, and keep the
  mount while the host is unreachable.
- Mount over a non-empty directory as before. A stray .DS_Store no longer
  forces sync mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 08:27:36 -07:00
NwflowerandClaude Opus 5.5 f1ef3e2769 Merge branch 'main' into fix/shared-folder-sync-webdav
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 08:27:05 -07:00
ssdsl0126androot d0511e58db fix(network): 修复 Hyper-V 外部交换机绑定后的 Npcap 桥接 (#126)
* fix(network): resolve Hyper-V switch uplinks through interface stacks

* test: extend package timeout for expanded Guest Tools coverage

---------

Co-authored-by: root <root@localhost>
2026-12-03 21:54:41 +08:00
ShroapandShroap 4d47638b7f fix(guesttools): skip unreadable deferred flavors when backing up clipboard for file sync (#147)
Co-authored-by: Shroap <184123002+YinLiaoCo@users.noreply.github.com>
2026-12-03 21:53:10 +08:00
Xiaochi You 159313ac7a Merge pull request #144 from reiasu2/fix/keymap-status-starvation
Keep confirmed keymap mappings active during slow file sharing while Guest Tools remains connected. Require a fresh acknowledgement after disconnecting. Existing Guest Tools installations can use this client fix.
2026-12-03 17:18:16 +08:00
Nwflower 46feebf71f fix: preserve form validation and task cancellation 2026-12-03 02:12:31 -07:00
Nwflower 36486a0850 fix: tighten plugin file grants and view handling 2026-12-03 02:03:50 -07:00
YXC0915 fc76f5f51e fix(guesttools): scope keymap readiness to the live guest connection 2026-12-03 17:01:12 +08:00
Nwflower e8c278e58b fix: address plugin view review findings 2026-12-03 01:27:56 -07:00
Nwflower a3c804118c Merge main into feat/plugin-view-capabilities 2026-12-03 01:27:56 -07:00
棠渚听潮 d63ec48140 fix: keep guest keymap active during slow file sharing 2026-12-03 16:26:04 +08:00
NwflowerandClaude Opus 5.5 fa3e1e2889 feat: add plugin views and expand the sandboxed page bridge
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>
2026-12-02 23:11:23 -07:00
Dnyo666 ff99d8d702 feat(host,ui): add opt-in Hyper-V boot switch and hypervisor launch detection (#122)
- Distinguish hypervisor launch disabled (hypervisor_off) from BIOS/UEFI
  virtualization disabled (no_hypervisor) via unprivileged Win32 & DeviceGuard
  probes without spawning background PowerShell/BCD processes
- Add default-off `enable_hypervisor_switch` preference in Settings -> General
  with confirmation modal, active VM/task guards, HVCI notice, same-boot undo,
  and single-UAC System32 execution without auto-restarting Windows
- Update Engine page, first-run Setup, `reims-go doctor`, and VM startprep
  diagnostics for `hypervisor_off` and pending boot states
2026-12-03 13:39:08 +08:00
IcarusZezen acd045f7c2 fix(app,ui): dismiss elevation modal when host cancels or times out 2026-12-03 11:40:21 +08:00
IcarusZezen 78711e9e49 fix(plugin,drivertest): wait for VM job exit on stop and wire sidecar console suite 2026-12-03 09:58:55 +08:00
IcarusZezen dced8db0e4 Merge upstream main (2a9e5f0) into feat/host-guest-prereqs-a1-a2 2026-12-03 09:52:50 +08:00
YXC0915 cb9ee87d33 fix(guesttools): verify Windows clipboard files before publishing 2026-12-03 08:34:47 +08:00
YXC0915 b21a353b28 feat: offer macOS app windows as an optional built-in plugin 2026-12-03 08:20:01 +08:00
YXC0915 619ac88297 fix: dispose plugin consumers before required providers 2026-12-03 08:19:38 +08:00
YXC0915 ce866ca749 feat: remove the Windows frame from macOS app windows 2026-12-03 08:14:13 +08:00
YXC0915 8334170917 test: include window reporter cleanup in folder fixtures 2026-12-03 08:14:13 +08:00
YXC0915 a9b2553727 fix: synchronize clipboard for macOS app windows 2026-12-03 08:01:01 +08:00
YXC0915 3bfbc3604d test: resolve registered VM key in freshness check 2026-12-03 07:35:09 +08:00
YXC0915 d36d3ed0d6 test: make app window freshness check deterministic 2026-12-03 07:34:27 +08:00
YXC0915 e281e43d07 fix: release app window input on close 2026-12-03 07:33:21 +08:00
YXC0915 9f6c9aa90e feat: open a macOS app in a separate Windows window 2026-12-03 07:32:27 +08:00