Commit Graph
385 Commits
Author SHA1 Message Date
Nwflower 60c810e35d refactor: 抽离 HostAPIService 并将 internal/plugin 拆分为四层无环子包 2026-12-05 05:58:03 -07:00
千川白浪 107a8d73e0 refactor: 收拢核心管线、强化错误处理、优化热路径与更新体积 (#200)
* refactor: 收拢核心管线、强化错误处理、优化热路径与更新体积

* fix: preserve download recovery and bound PBZX decoding

Keep VM diagnostics available during plugin initialization failures and verify settings through the unified driver lifecycle.
2026-12-05 20:54:41 +08:00
千川白浪 08409a1fa3 fix: 移除虚拟机修饰键重映射和宿主机全局热键拦截(#198) 2026-12-05 19:48:11 +08:00
千川白浪 bff26d8fe1 fix: 恢复移动硬盘更换盘符后的虚拟机注册路径(#197) 2026-12-05 19:45:17 +08:00
千川白浪 1e1649ed03 Merge pull request #189 from reiasu2/feat/auto-resolution
feat(display): add automatic per-display HiDPI resolution mode
2026-12-05 18:20:17 +08:00
Nwflower 6388865cbb fix(display): honor runtime VM screen environment 2026-12-05 03:13:28 -07:00
Nwflower e180b55a7b fix(vm): fall back to automatic GPU selection for stale Vulkan manifests 2026-12-05 02:34:20 -07:00
Nwflower 24da891365 release: prepare v0.2.15
Release Reims-Go / release (push) Canceled after 0s
Archive the bilingual changelog and synchronize the app and frontend release versions.
2026-12-05 02:23:14 -07:00
千川白浪 8ea7e3141e Merge pull request #192 from Nwflower/fix/held-input-retry-and-generation
fix(plugin): retry a failed held-input release and keep presses made during it
2026-12-05 17:20:29 +08:00
Nwflower 892d67644b fix(runtime): fall back to Reims-Go releases 2026-12-05 02:19:03 -07:00
Nwflower 6501fe2000 fix(plugin): retry a failed held-input release and keep presses made during it
A fallback release that fails while the VM is still running left the record without any retry: its timer had already fired and a plugin that exited never makes the next call, so a modifier stayed pressed in the guest. The record now rearms with a retry timeout, and a VM that stopped while the release was in flight drops the record instead of retrying it.

A release that finishes after the plugin pressed something new lifted that press and then deleted it from the record, so a later fallback no longer knew to lift it. Each record now carries a generation, and a release only clears what it lifted when nothing changed since its snapshot.
2026-12-05 02:07:11 -07:00
Nwflower ddc7f61b06 release: prepare v0.2.14
Release Reims-Go / release (push) Canceled after 0s
Archive the bilingual changelog and synchronize the app and frontend release versions.
2026-12-05 01:57:34 -07:00
Nwflower d55241cba2 feat(plugin): catalog the Host API, open secret typing and extend the SDK
Give the Sidecar Host API one authoritative catalog in pkg/pluginproto: every
host/* method's status, required permissions, handshake feature and request and
result shapes. The host, pkg/pluginsdk and plugins share those types, so a field
can no longer exist on one side only, and permissions come from the catalog
instead of from each handler. Tests gate that every served method is
catalogued, every stable catalogued method is served, and every catalogued
permission is one the host recognizes.

Open the interface up instead of adding consent gates. Typing a secret setting
is no longer reserved for reims.agent: any plugin that holds qmp:write and that
the user authorized for the VM can have the host type the plugin's own setting,
which the plugin never reads back. Restoring a snapshot works on any authorized
VM, a plugin names its own clones, a held key may carry modifiers, and a
screenshot width outside the supported range is brought into range rather than
refused. Deleting a VM stays limited to the temporary VMs a plugin created.

Record the keys and pointer buttons each plugin holds per VM and lift them when
the plugin's process exits, its scope is disposed, the VM stops or it stops
calling, so a guest never stays stuck with a modifier down. Requests from
plugins that declare pluginApi 1.3 or newer are decoded strictly and answer an
undefined field with JSON-RPC -32602, while older plugins keep tolerant
decoding.

Add typed VM and console methods to pkg/pluginsdk so a plugin no longer needs
its own JSON-RPC client. A method the contract does not catalog, or one the
host did not advertise in the handshake, is refused before it is sent, and the
host's JSON-RPC error code reaches the caller.
2026-12-05 01:43:28 -07:00
棠渚听潮 e0a25bb243 fix(display): address PR #189 review feedback on guest_lang order and pending change merge 2026-12-05 16:19:43 +08:00
棠渚听潮 e25c7952ca feat(display): add automatic per-display HiDPI resolution mode 2026-12-05 16:02:42 +08:00
千川白浪 2f7f33b53f Merge pull request #188 from reiasu2/fix/plugin-install-rename-retry
fix(plugin): retry Windows directory rename on transient antivirus locks
2026-12-05 15:40:19 +08:00
棠渚听潮 33253318c4 test(archtest): update renameOwners for plugin package rename helpers 2026-12-05 15:06:06 +08:00
NwflowerandClaude Opus 5.5 bd4e85af1a feat(plugin): scope MCP connections and add held input, region capture and force stop
- Each plugin connect connection gets a session id that is forwarded with
  channel/<id>/message; when the connection ends the host notifies the
  sidecar with channel/<id>/closed so it can cancel calls and release input.
- host/console.screenshot crops a region from the full-resolution frame,
  optionally measured in a reference image size, and full frames now honor
  max_width up to 2560.
- host/console.key can hold or release one key, and host/console.release
  lifts keys and pointer buttons in one call. Driver consoles stay press-only.
- host/vm.shutdown accepts force, and host/vm.snapshot.list needs only vm:read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 23:55:43 -07:00
棠渚听潮 668b93f493 fix(plugin): retry Windows directory rename on transient antivirus locks 2026-12-05 14:49:16 +08:00
千川白浪 bd7c9abaa3 Merge pull request #183 from reiasu2/fix/capture-compat-input-ui
fix(input): adapt to runtimes without --capture and clarify modifier key settings
2026-12-05 14:12:23 +08:00
Nwflower 3d5c6cb826 fix(input): preserve legacy capture when the probe fails 2026-12-04 23:01:43 -07:00
Xiaochi You 7e1afcfd9b Merge pull request #185 from yxc0915/feat/win32-raw-partition-aio
feat(storage): Windows raw disk/partition in-place mode and disk cache policy
2026-12-05 12:35:33 +08:00
YXC0915 a4fb1c6db6 fix(storage): close create flow capability gate, raw disk stats/CoW guards, and UI recovery path 2026-12-05 12:29:06 +08:00
YXC0915 04f0d8d096 fix(storage): address PR review findings on raw disk enumeration, CoW guard, and capability gating 2026-12-05 12:20:33 +08:00
YXC0915 3837e72644 feat(storage): add Windows raw disk/partition in-place mode and disk cache policy 2026-12-05 12:04:54 +08:00
千川白浪andClaude Opus 5.5 3e5b0d7e6c feat(plugin): open settings panels from the settings button, merge plugin logs into the app log (#182)
- The settings button now also appears for plugins that only contribute a
  settings.plugin panel; the panel opens in the settings dialog beside the
  declarative form instead of the bottom of the Plugins page.
- Plugin stderr and non-routine audit entries are mirrored to the app log as
  plugin:<id>, rate limited per plugin; the per-plugin log window is removed.
- The installed-plugin security scan button is removed; the scan verdict shows
  in the permissions tooltip. The pre-install archive scan is unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 12:01:51 +08:00
棠渚听潮 ed1a0ba254 fix(reims): drop uncalled PostCreateSetOpts and PreviewCreateCommand wrappers 2026-12-05 12:01:30 +08:00
棠渚听潮 d40327e724 fix(input): adapt to runtimes without --capture and clarify modifier key settings 2026-12-05 11:50:51 +08:00
YXC0915 3020137a9e fix(appwindow): handle slow reports and guide Guest Tools upgrades 2026-12-05 03:42:41 +08:00
YXC0915 2658949f05 fix(appwindow): keep macOS app windows visible during dragging 2026-12-05 03:30:26 +08:00
千川白浪 b3b66c9306 fix(host): dedupe repeated Vulkan GPUs by DeviceUUID and integrated PCI ID (#177) 2026-12-04 23:25:36 +08:00
Xiaochi You fc3f35f6af Merge pull request #175 from yxc0915/codex/client-version-takeover
fix(update): 手动打开新版 Windows 客户端时接管旧版
2026-12-04 23:14:37 +08:00
千川白浪 0830bf5856 feat(market): show all channels with Alpha tag, version picker, sorting, and title links (#176)
* feat(market): show all channels with Alpha tag, version picker, sorting, and title links

* fix(market): merge multi-channel releases and default picker to card version
2026-12-04 23:12:24 +08:00
千川白浪 5aca93a862 Merge pull request #174 from Nwflower/feat/clipboard-plugin-settings
feat(plugin): move clipboard sync settings to plugin configuration
2026-12-04 23:09:18 +08:00
YXC0915 717b324cf2 fix(update): let legacy clients complete tray shutdown before replacing them 2026-12-04 23:07:08 +08:00
Nwflower fcff64669f fix(datamigrate): migrate legacy per-VM clipboard settings to plugin scope 2026-12-04 08:02:27 -07:00
YXC0915 d41b29e345 fix(update): let newer Windows clients take over the running instance 2026-12-04 22:56:37 +08:00
Nwflower 2031a27627 feat(plugin): move clipboard sync settings to plugin configuration 2026-12-04 07:56:21 -07:00
Nwflower 6fa1b5853b feat(update): verify app updates with GitHub assets[].digest 2026-12-04 07:49:31 -07:00
千川白浪 781f129fc1 feat(plugin): custom SVG icons, market stats, submit link, and native locale scaffold (#170)
* feat(plugin): custom SVG icons, market stats, submit link, and native locale scaffold

* chore(ci): allow spaces in PR model names and rename agent declaration to tool

* fix(plugin): validate icon.svg size and markup during static scan
2026-12-04 22:34:12 +08:00
千川白浪 4053ffb60c Merge pull request #169 from Nwflower/feat/ui-polish
feat(ui,app,host): polish update UX, relocate moved VM registry, dedupe GPUs, and fix clone MCP flow
2026-12-04 22:06:21 +08:00
Nwflower 69ec8e1cbf fix(app,host,macos): address PR #169 round-2 review findings 2026-12-04 07:01:33 -07:00
YXC0915 975889078f release: prepare v0.2.13
Release Reims-Go / release (push) Canceled after 0s
Archive the bilingual changelog and synchronize the app and frontend release versions.
2026-12-04 21:57:55 +08:00
Nwflower 8d7bcd8fbd fix(app,host,macos): resolve archtest boundary and PR #169 review issues 2026-12-04 06:53:02 -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
Nwflower 33e28520b7 fix(mcp): read clone secrets and SSH user from the source VM
A temporary clone made by session_create keeps no vm settings of its own, so
vm_unlock on a clone always failed with "secret setting is empty" even though
the source VM had a saved login password and AI access enabled. The SSH user
was empty for the same reason: the clone has no settings and no copied
.reims-go-ssh-user file, while access is granted through the owns-clone path.

Record the source VM key in the temporary VM ownership marker and fall back to
it when a clone has no value of its own. The fallback reads the single stored
secret instead of copying it, so the password never multiplies across clones,
nothing is left behind when a clone is disposed, and revoking AI access on the
source removes the fallback immediately. Surface a clear localized error when
no VM has a saved password.

model: deepseek/deepseek-v4.1-flash
agent: lead (DeepSeek Harness)
2026-12-04 06:02:10 -07:00
Nwflower d5841f0f70 feat(ui,app): polish update UX, speed units, and relocate moved VM registry 2026-12-04 05:54:38 -07:00
Nwflower d74868589d fix(macos): give CoW clones their own SSH port forward
CloneCoW built reims.CreateOpts without SSHPort even though the field and
the --ssh-port argument both exist, so every CoW clone came up with no host
SSH forward. MCP temporary sessions and any other clone then failed every
SSH-based guest tool (guest_exec, guest_wait_ready, test_run) with a port
that nothing listened on.

Pick the next free port after the source VM's forward and pass it to create;
a source without forwarding still yields a clone without one. Add
TestCloneSSHPort for the selection logic.

model: deepseek/deepseek-v4.1-flash
agent: lead (DeepSeek Harness)
2026-12-04 05:39:40 -07:00
千川白浪 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 c7db42ac03 fix(vm): keep the directory of a running create when cloning
A running reims-ctl create looks the same as a killed one: it is unregistered and has no vm.toml until it ends. Cloning or creating through the driver no longer deletes such a directory. Also drop a wrapper only tests called.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 03:36:45 -07:00