Commit Graph
467 Commits
Author SHA1 Message Date
千川白浪 7b76330d28 Merge pull request #163 from Nwflower/refactor/entropy-convergence
架构降熵:合并重复实现、拆分过大的文件、删除不再使用的代码,并用测试守护这些规则。
2026-12-04 16:10:06 +08:00
Xiaochi You a05e788392 Merge pull request #123 from cosimawei/feat/plugin-settings-start-env
Allow plugin settings in VM startup environment rules.
2026-12-04 16:02:20 +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
hanyewei d8355b8656 Merge commit '588d0c2' into feat/plugin-runtime-compatibility 2026-12-04 15:38:21 +08:00
Xiaochi You 2337cccff1 Modify the comment model from glm5.4 to glm5.3-flash 2026-12-04 15:33:26 +08:00
NwflowerandClaude Opus 5.5 a6ec5bfbe9 test(frontend): count script uses of an export only with its module
A test script that happened to contain the same word used to hide an unused
export.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:31:05 -07:00
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 f6cbd5d650 docs: name the single entry points and the tests that guard them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:06:47 -07:00
NwflowerandClaude Opus 5.5 5df61df5b9 test(frontend): reject import cycles
The theme engine and the interactive UI SDK imported each other's types; the
SDK now owns the types of its own interface.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:02:53 -07:00
NwflowerandClaude Opus 5.5 7cb6d5f910 refactor(frontend): move self-contained state out of App
Appearance, VM busy state, the in-app update, file drops and the theme event
stream are now hooks in lib/. VMAction moved to types.ts, so the VM page and
its parts no longer import each other, and error toasts have one builder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:02:05 -07:00
NwflowerandClaude Opus 5.5 55e70f3218 fix(frontend): keep the segmented highlight while options are disabled
A resize while the options were disabled cleared the highlight, and enabling
them again did not bring it back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:02:04 -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 8beaaa3d6b refactor(frontend): move the VM settings features out of SettingsModal
The modal held the state of seven independent features next to the staged
settings form. Each feature now has its own file with a hook for its state
and the rows that show it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:45:13 -07:00
NwflowerandClaude Opus 5.5 50c03a0835 perf(frontend): load the settings and plugin texts on demand again
App.tsx imported a one-line helper from SchemaForm, which pulled both text
domains into the startup bundle. The i18n test now follows the real import
graph instead of a hand-kept file list, so it catches this. npm test runs
every test file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:38:17 -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 128ffa94ad style: remove CSS classes no component uses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:17:04 -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
千川白浪 150269c2cd Merge pull request #94 from icaruszezen/feat/host-guest-prereqs-a1-a2
实现 #74 非 macOS 客体宿主前置支持(阶段 A1 + A2 + A3)
2026-12-04 00:36:13 +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
千川白浪andClaude Opus 5.5 94a7d4f5b7 ci: retry issue triage when the model is rate limited (#157)
* ci: retry issue triage when the model is rate limited

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: suggest the upstream tracker only for complete bug reports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: fix the triage comment test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:20:27 +08: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
千川白浪andClaude Opus 5.5 ddd9be14c7 ci: triage new issues and diagnose the code regularly (#156)
* ci: triage new issues and diagnose the code regularly

Guide reporters to missing details, possible duplicates, and the right
repository. The triage model has no tools and can only pick fixed values.
Scan one area of the client twice a week and open verified issues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: read every page of past diagnosis issues

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:08:22 +08: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
千川白浪andClaude Opus 5.5 8d1c566814 ci: raise PR review token budgets (#155)
* ci: raise PR review token budgets

Most medium and large reviews stopped on the token budget before covering
the whole diff. Raise the budgets and time limits, keep partial results when
some review tasks fail, and log actual token usage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: report why OCR review items failed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:48:37 +08: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
千川白浪 979ad92f9f Merge pull request #154 from Nwflower/fix/mcp-vm-lifecycle
fix(mcp): repair temporary clone names and expose suspend/resume
2026-12-03 23:45:23 +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
千川白浪 85c9b485f8 Merge pull request #79 from reiasu2/fix/shared-folder-sync-webdav
fix(guesttools,app): fix default WebDAV share mount, fallback sync, and shared dir drift
2026-12-03 23:33:31 +08: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
bvz rays dfb0c9aa46 fix: preserve plugin secret settings (#132) 2026-12-03 21:53:47 +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
Nwflower 5e9621b7dd ci: require PR model and agent declarations 2026-12-03 02:54:13 -07:00