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.
- 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>
AI-DOCS.md only pointed back at AGENTS.md and sat outside the durable-document link check, so its twenty links were never validated. Its two tables now live in the AGENTS.md navigation section and are checked by scripts/debug/check.mjs.
docs/issue-automation.md joins docs/pr-review-guidelines.md as section 5. The PR description structure has one source, the pull request template: the guideline no longer asks for a second set of field names, and AGENTS.md keeps only the policy sentence about the model and tool declaration.
The repository had three script roots with three test entry points. The automation scripts now live in scripts/ci and run through scripts/test.mjs, which gained a quick automation profile and includes them in the ci and release profiles.
The workflows keep checking the scripts out from the workflow commit, never from the PR branch. stateKey now returns its fallback explicitly, because the file is inside the empty-catch guard once it sits under scripts/. The review and diagnosis exclude lists also skip the generated frontend wordmark module.
- 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>
Preserve plugin navigation and generate the runtime warning messages. Read startup overrides using the canonical VM settings key and keep set_env action order.
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>
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>
* 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>
- 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>
* 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>
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>
- 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
Alpha releases were rare because each one needed a manual tag. A scheduled
workflow now runs at 00:00 Beijing time (16:00 UTC), picks the newest
fix:/fix(scope):/fix!: commit on main, tags it vX.Y.Z-alpha.N and calls
release.yml, so release tests, smoke and artifact checks still apply.
It skips commits already in the latest stable tag or already released as
an alpha, and retries the same tag when an earlier run pushed it but failed
to publish. release.yml gains a workflow_call entry and reads the tag from
env instead of interpolating it into the script.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Require AF_UNIX for bridge and management channels and reject legacy TCP restore paths before opening resources. Add per-adapter host delivery, Npcap receive injection, and checksum and segmentation handling for Ethernet and WLAN IPv4/IPv6 traffic.
Validation: full CI, targeted packetbridge/app tests, two live macOS VMs over Ethernet and WLAN, and Windows Firewall allow/block/default-deny checks with SMB 3.02 negotiation. Authenticated SMB file access and physical-display suspend/resume remain unverified.