43 Commits
Author SHA1 Message Date
Nwflower 892d67644b fix(runtime): fall back to Reims-Go releases 2026-12-05 02:19:03 -07:00
Nwflower 43291667a6 feat(ui,host): default host memory specs, dedupe Vulkan GPUs
Sync the host's SMBIOS Type 17 memory spec by default and drop the toggle:
the frontend switch, the App.SetSyncHostMemorySMBIOS binding and the
sync_host_memory_smbios config field are gone, so macOS About This Mac always
reports the host's real RAM speed and generation. A manual -smbios type=17
argument still wins, and a host without a readable speed keeps the default.

Deduplicate repeated Vulkan physical devices on the Runtime page when several
ICD manifests enumerate the same GPU, preferring the healthiest/newest probe
while keeping genuinely distinct adapters. Move Appearance & language to the
top of Settings.

model: deepseek/deepseek-v4.1-flash
agent: lead (DeepSeek Harness)
2026-12-04 06:32:51 -07:00
ELDment c665f32627 Merge upstream/main into feat/auto-apply-qemu-aslr 2026-12-04 18:07:22 +08: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
ELDment a8b7894208 fix(runtime): keep QEMU ASLR in sync across runtime and data folder changes 2026-12-04 08:11:39 +08:00
ELDment 7049f3e388 fix(runtime): separate ASLR repair from VM start and retry activation 2026-12-03 23:37:43 +08: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
Admilkk 6aacd1bfc5 fix: complete CoW backing protection and clone deletion 2026-12-02 19:48:27 +08:00
Admilkk 51b96e0501 fix: protect CoW backing disks and roll back runtime reinstall 2026-12-02 18:33:17 +08:00
YXC0915 b78f4b3028 feat(runtime): accept suspend-compatible Alpha revisions
Read the verified compatibility ID while preserving legacy and media checks.
2026-12-02 03:15:54 +08:00
Nwflower 08b3089569 chore: clean up stale and redundant comments across backend and frontend 2026-12-01 09:24:19 -07:00
Nwflower d573104072 fix(vm): honor plugin state and report inventory failures 2026-12-01 05:53:47 -07:00
Nwflower 49659193fa Merge pull request #57 from Dnyo666/fix/ui-perf-community-hardening
fix(ui,runtime,guesttools,docs): fix menu flash & modal lag, harden security/a11y/RTL, add community & plugin docs
2026-12-01 04:13:50 -07:00
Nwflower 3c75181fbc Merge pull request #46 from ChenRuoT/fix/vulkan-probe-diagnostics
fix(host): 自动发现 Windows 驱动包中的 Vulkan ICD 并报告探测错误
2026-12-01 04:12:50 -07:00
Dnyo666 3ab04c3627 fix(runtime,guesttools,app): harden fallback channel isolation, guest config escaping, and OpenURL validation
Fail closed in listRemoteWeb when release tag HTML cannot be verified and sort entries with sortRemotesNewestFirst; bump Guest Tools agent_version and DriveShareAgentVersion to 8, single-quote escape config values with 0600 permissions, harden mount_drive_readonly (fd 3 read-only at offset 0, parent symlink/VM/byte-length checks, ENVIRON in awk); validate external HTTPS URLs via net/url in OpenURL; add regression unit tests for all three.
2026-12-01 18:53:40 +08:00
Nwflower aacaec535d Merge origin/main into feat/vmref-driver-start
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.
2026-12-01 03:47:20 -07:00
NwflowerandClaude Opus 5.5 b1eec6050b fix(runtime): keep capabilities of manifests without the field
Packages published before manifest.json carried "capabilities" (up to
runtime-3731afd-p4) lost every capability once inference was removed, so
Win10 hosts got kernel-irqchip=off and rule hooks saw no runtime caps.
When a built-in reims-vgpu manifest has no "capabilities" key, declare the
patch-derived set at load time with the same mapping as pack-runtime.ps1.
A declared list, including an empty one, still wins; other kinds must
declare their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 03:05:54 -07:00
ChenRuoT 6628da21ff fix(host): discover missing Vulkan ICDs in active display driver packages 2026-12-01 13:17:18 +08:00
YXC0915 5f96f4ab08 runtime: use the fork catalog for stable and preview releases 2026-12-01 11:05:44 +08:00
YXC0915 43d793ec36 runtime: show promoted previews only once 2026-12-01 10:57:38 +08:00
YXC0915 4a2bffd5d2 ci: publish runtime previews from the runtime fork 2026-12-01 10:55:06 +08:00
YXC0915 2596728789 feat: integrate Intel VM suspend and instant resume across backend, CLI, and UI 2026-12-01 08:05:05 +08:00
Nwflower 8270597fe2 refactor(runtime): declare kind paths and capabilities
Move control and utility executable names plus the QEMU environment key into runtime kind specs. Read capabilities only from manifest.json and declare them when packing reims runtimes.
2026-11-30 11:28:14 -07:00
Nwflower 9baa1e341c feat(display,patches): decouple fullscreen from guest resolution for 1.5x HiDPI scaling 2026-11-30 03:41:47 -07:00
Nwflower 9bd4ac67ef fix(input,runtime): prevent physical keystroke duplication on Win32 unicode bridge 2026-11-30 02:28:09 -07:00
Dnyo666 ceeec602be feat(i18n,plugin): implement end-to-end i18n & L10n v2 architecture and language pack protocol
- Build single-source-of-truth 7-domain locale catalog (`locales/{zh-CN,en-US}/*.json`, 1,100+ keys) and `cmd/i18ngen` generator emitting Go catalogs and eager/lazy-split TypeScript domain modules (`core`/`vm` eager; `wizard`/`settings`/`plugins` lazy)
- Add zero-dependency ICU MessageFormat subset (`{var}`, `{n, number}`, CLDR `plural`, `select`), 8-hop cycle-free regional fallback (`zh-HK/zh-MO -> zh-Hant -> zh-TW -> zh-CN`), `auto` OS display-language preference, and `en-XA` pseudo-localization across Go and TypeScript
- Introduce `CodedError` supportability with `[E_CODE]` badges, collapsible `[detail]` diagnostics, and automatic SMC OSK / SMBIOS serial / MAC / token redaction
- Add Host × Guest macOS dual-terminology annotation (`FormatGuestTerm`) across 6 official Apple guest UI locales and localize Win32 system tray, file pickers, and DPI-adaptive `installguide` overlays with CJK font fallback probing
- Upgrade L1–L4 plugin localization to dual-track v2: Track A full language packs (`files`, WOFF2 `fonts`, cross-plugin `pluginOverrides`), Track B plugin-scoped `l10n` bundles (`HasUIMessages` isolation), live `plugin/localeChanged` notifications, `< 2ms` static CLI pack loading, and `reims-go plugin locale init|check` translator toolchain with `zh-TW` and `ja-JP` reference packs
- Harden security, WCAG 2.1 AA token contrast, `< 768px` responsive drawer & form layouts, and RTL logical properties; add backend security/locale regression tests and frontend `node --test` static/runtime guard suite in CI

# Conflicts:
#	frontend/src/i18n.ts
#	internal/cli/cli.go
#	internal/i18n/i18n.go
2026-11-30 14:56:19 +08:00
Nwflower 21eef18f7b refactor(runtime,ci): remove GitCode mirror sync and download source 2026-11-29 23:10:27 -07:00
Nwflower 1eb7ac949a feat(runtime,cli,ui): support removing inactive runtimes 2026-11-29 20:22:26 -07:00
Nwflower 5096d162cc fix(runtime): extract .tar.zst archives in pure Go 2026-11-29 18:08:19 -07:00
Nwflower f0b69c252c feat(update,plugin,ui): add in-app self-update, plugin locale packs, and About page
- Add shared resumable + SHA256SUMS-verified downloader (internal/fetch) and Windows executable swap/relaunch flow (internal/selfupdate, internal/app/appupdate_flow.go, --wait-pid in main.go/cli).
- Add dedicated About page and sidebar update capsule with background release checks, download progress, and restart confirmation when VMs are running.
- Implement plugin-contributed UI and backend/CLI locale packs (contributes.locales, LocalizedText extra tags, validation, runtime overlay, and PopupSelect language picker).
- Move kernel-irqchip and Windows processor scheduling controls into VM Compute > Performance settings, hide Plugins settings gear for VM-only schemas, and align locked system plugin switches.
2026-11-29 10:32:11 -07:00
Nwflower 86d2da4a04 fix(stability,plugin): fix Windows callback leaks, add WebView2 watchdog, and harden plugin/runtime internals 2026-11-29 09:21:33 -07:00
Nwflower f30d901b7f feat(plugin): implement plugin architecture, driver router, theme engine, and CLI/GUI management 2026-11-29 08:48:00 -07:00
Nwflower 9c8a75448d feat(ui,runtime): split Engine/Settings tabs, add footer telemetry, and fix GitCode alpha detection 2026-11-29 03:00:26 -07:00
Nwflower a7921e998b feat(runtime): add GitCode mirror source with automatic failover 2026-11-29 02:00:59 -07:00
Nwflower 33ac322bb2 fix(net): honor Windows system proxy, fall back on GitHub rate limit, and add UI retry 2026-11-29 01:43:08 -07:00
Nwflower 5000e00780 feat(runtime): support same-commit patch-revision alpha rebuilds 2026-11-29 00:54:19 -07:00
NwflowerandClaude Opus 5.5 ce2a0ed813 feat(runtime): rename candidate channel to alpha and build it daily from upstream
- Runtime channel "candidate" is now "alpha"; configs, the --candidate flag
  and SetRuntimeChannel("candidate") still map to alpha.
- ListRemote follows GitHub's Link pagination so stable runtimes are not
  pushed off the first page by daily alphas.
- patches/series.txt is the single patch queue for CI and pack-runtime.ps1;
  pack-runtime takes -Patches and derives allowed changed files from the
  patches (fixes a false "undeclared change" with the coroutine patch).
- build-runtime.yml runs daily: resolves upstream HEAD, skips commits already
  released, applies the queue via apply-patch-series.ps1 (skips patches
  already upstream, stops on conflicts), gates with check-runtime-alpha.ps1,
  publishes an alpha prerelease, keeps the 7 newest alphas, and files issues
  on failure or merged patches. Stable promotion stays manual.
- AGENTS.md and runtime docs updated for the alpha channel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:42:53 -07:00
Nwflower f601236f74 fix(runtime): redirect child TEMP/TMP/TMPDIR into DataRoot/tmp 2026-11-28 06:50:49 -07:00
NwflowerandClaude Opus 5.5 36c937d718 fix: runtime install deadlock, manifest raw_bytes, CLI flag order
- extractTarZst uses Windows' System32 tar.exe (reads .tar.zst and D:\
  paths); a bare "tar" could resolve to GNU tar, whose failure left the
  zstd | tar pipe deadlocked. The fallback now decompresses to a temp file.
- pack-runtime.ps1 casts raw_bytes to an integer (PowerShell 7 summed to a
  double, "962466926.0", which the Go reader rejected); the reader now also
  accepts whole-number floats.
- `runtime fetch latest --candidate` honours flags after the positional arg.
- Docs: release layout, source package contents and the open MSYS2 source
  question (portable-runtime-spec.md §4, §7); roadmap M1.2 and M2.1 progress.

Verified: a fresh `reims-go runtime fetch latest --candidate` downloads the
published runtime-3731afd from GitHub, checks SHA256SUMS.txt, unpacks and
activates it (75 s for 169 MB); reims-ctl and QEMU run from the result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:28:30 -07:00
NwflowerandClaude Opus 5.5 f6f6bfce34 feat: online runtime install, first-launch data folder picker, source packages
- Runtime: list and fetch runtimes from this repo's GitHub Releases
  (stable by default, candidate on request), with SHA256 check and resume.
  CLI gains `runtime available` and `runtime fetch`; the host page gets an
  online install row and a "receive candidates" switch.
- First launch: pick a data folder (non-system drives first, USB never
  recommended); the choice is recorded in %APPDATA%\reims-go\location.json.
  Existing installs in the default folder are adopted without asking.
- pack-runtime.ps1: also builds the matching source package, records every
  patch with its SHA256 and the channel, and refuses undeclared changes in
  the build trees.
- patches: declare reims-vgpu-cargo-lock.patch (Cargo.lock source lines).
- UI: sidebar and VM page restyle, new design tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:11:37 -07:00
NwflowerandClaude Opus 5.5 4bea654736 feat: add Wails desktop GUI and stage-0 UI redesign
Wails shell over the existing Go core (app.go, main.go, wails.json,
build/), with a React frontend for the VM list, VM detail, host page,
create wizard and settings, plus process helpers for the driver and
runtime packages.

UI redesign stage 0 (docs/ui-redesign.md):
- VM actions live in the page header: one primary action per state,
  icon-only secondary actions with tooltips, the rest in a "..." menu
- install guide is a single card with the only "eject installer" button
- summary is an icon + value row; paths, ICD, CPU model and runtime hash
  moved to a collapsed "technical details" section
- logs no longer auto-open; a status bar shows merged download progress
  and an error count; the log view sticks to the bottom
- busy states on actions, toasts for results, custom delete dialog with
  "keep disk files"
- design tokens, Windows font stack, integer type scale, no inline styles
- keyboard: sidebar listbox navigation, focus rings, Ctrl+N / Ctrl+, / Ctrl+L
- copy rewritten per the restraint rules in §4.5
- Radix primitives and lucide icons replace hand-rolled widgets

Backend: OpenVMFolder binding to show a VM's directory in Explorer.
Docs: shell-design.md revised for decisions D1 and D4.
Vite dev server pinned to 127.0.0.1 so `wails dev` can reach it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:09:39 -07:00
Nwflower 46f274be09 feat: initialize reims-go portable runtime spec, packager, and M1 bilingual Go CLI 2026-11-28 02:04:27 -07:00