Commit Graph
203 Commits
Author SHA1 Message Date
千川白浪 0ba805754e Merge pull request #135 from icaruszezen/fix/vm-delete-cleanup-and-dir-check
fix(vm,ui): retry deleted VM directory cleanup and validate non-empty target dirs
2026-12-04 18:43:04 +08:00
NwflowerandClaude Opus 5.5 cc1daf32d8 Merge branch 'main' into fix/vm-delete-cleanup-and-dir-check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 03:36:45 -07:00
ELDment e9dc282fb0 Merge upstream/main into feat/auto-apply-qemu-aslr 2026-12-04 18:27:09 +08:00
Nwflower e79c190cfe docs(suspend): record the older start path refusing a resumed snapshot
The older start path cannot resume a snapshot, so it now refuses to start a
VM that still holds a recoverable one instead of cold-starting over it. Say
so in the change entry and at the guard, where the reason stays next to the
code.
2026-12-04 03:15:30 -07:00
ELDment c665f32627 Merge upstream/main into feat/auto-apply-qemu-aslr 2026-12-04 18:07:22 +08:00
Nwflower 65553e48f7 Merge remote-tracking branch 'pr-review/109' into HEAD
# Conflicts:
#	internal/app/macos_lifecycle_native.go
2026-12-04 02:53:29 -07:00
Shroap a37e7fed6f fix(guesttools,ui): handle macOS Network Volumes access for drops 2026-12-04 17:10:33 +08:00
千川白浪 7b76330d28 Merge pull request #163 from Nwflower/refactor/entropy-convergence
架构降熵:合并重复实现、拆分过大的文件、删除不再使用的代码,并用测试守护这些规则。
2026-12-04 16:10:06 +08:00
YXC0915 01ec599088 Merge main and resolve plugin runtime compatibility
Preserve plugin navigation and generate the runtime warning messages. Read startup overrides using the canonical VM settings key and keep set_env action order.
2026-12-04 15:52:08 +08:00
hanyewei a853460fc3 fix(plugins): show active runtime compatibility in plugin settings 2026-12-04 15:44:03 +08: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 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 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
IcarusZezen 1752f03df8 fix(vm): harden delete cleanup, target dir validation, and monitor timeouts 2026-12-04 09:38:41 +08:00
IcarusZezen fce4de7b82 Merge branch 'main' into fix/vm-delete-cleanup-and-dir-check 2026-12-04 09:23:08 +08:00
ELDment 77cb246c66 Merge upstream/main into feat/auto-apply-qemu-aslr 2026-12-04 08:37:47 +08:00
ELDment a8b7894208 fix(runtime): keep QEMU ASLR in sync across runtime and data folder changes 2026-12-04 08:11:39 +08: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 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
ELDment 7049f3e388 fix(runtime): separate ASLR repair from VM start and retry activation 2026-12-03 23:37:43 +08: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 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
ELDment f1eeff2ee3 fix(runtime): keep ASLR updates responsive and follow runtime switches 2026-12-03 23:23:55 +08:00
ELDment b43cd9e16e feat(host,ui): add a switch to auto-apply ASLR to the selected QEMU runtime 2026-12-03 22:56:16 +08:00
千川白浪 a7f6d6a4b7 fix(vm): reconcile partial deletes and check all driver directories
model: magpie-responses/codex/gpt-6.2-sol
agent: Codex
2026-12-03 22:18:02 +08:00
千川白浪 e2cb665bee fix(vm): protect registered VM data during directory cleanup
model: magpie-responses/codex/gpt-6.2-sol
agent: Codex
2026-12-03 22:10:43 +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
IcarusZezen d09990709e fix(vm,ui): retry deleted VM directory cleanup and validate non-empty target dirs 2026-12-03 14:18:26 +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 dced8db0e4 Merge upstream main (2a9e5f0) into feat/host-guest-prereqs-a1-a2 2026-12-03 09:52:50 +08:00
棠渚听潮 423637896b fix(macos): protect suspend artifacts during cold start and seal 2026-12-03 09:47:20 +08:00
YXC0915 b21a353b28 feat: offer macOS app windows as an optional built-in plugin 2026-12-03 08:20:01 +08:00