Plugins that need their own UI and richer themes should not force breaking
contract changes later, so the full shape is published now (uiApi 2.0,
bridgeApi 1.0) and every entry is marked stable or experimental:
- docs/plugin-architecture.md: plugin-owned views (sidebar, vm.tab,
settings, dialog) and the bridge methods (§5.6), the finer theme
contract with slot catalogue, layers, layout and icons (§5.1), and the
contract evolution rules (§6.3).
- ui-contract.ts and the new bridgeContract.ts list stable and
experimental entries; the build fails if a stable entry is not emitted
or an emitted entry is still experimental, and writes
bridge-contract.json next to ui-contract.json.
- internal/plugin/contract.go mirrors them as catalogs (contribution
points, slots with accepted content, view locations, layers, layout,
icons, bridge methods and events) and derives HostFeatures; tests keep
Go and TypeScript identical and require every contributes field to be
catalogued.
- Manifests gain views, theme layout and engines.bridgeApi. Unknown
slots, locations, layout values and icon names are rejected;
experimental use, unknown fields and missing engines ranges are doctor
warnings. Declared-but-unrendered entries (vmCards, statusItems,
settingsPages, vmTemplates, runtimeSources, runtimes, uiScripts,
diagnostics, theme icons and brandMark, panels outside
settings.plugin) are now marked experimental.
- The panel bridge resolves methods through the catalog, adds hello and
refuses experimental methods; panels get theme.changed and
locale.changed events; the Sidecar handshake and the Go SDK carry
uiApi, bridgeApi and features.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
builtin.core only contributes the default theme and cannot be turned off,
so listing it as a plugin was noise. The plugins page, plugin list and
the plugin doctor fallback now use Registry.ListVisible; Info and
market comparisons still see every plugin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Route generic App and CLI code through lifecycle and driver models. Move native macOS detail, create, settings and legacy flows into explicit files, share progress and redaction through host, and enforce the boundary with a file-scoped architecture ratchet.
Share redaction and GPU log diagnosis outside the macOS client, move snapshot validation to the driver contract, and delete superseded App storage implementations.
Build Guest Tools images in the macOS driver after all start hooks pass, through a host callback rather than a new macOS-to-guesttools dependency.
Add driver.OptimizationAdvisor, keep generic hardware evaluation in host, and move WHPX recommendations and tests into macosdriver for both the UI and diagnostics.
Change Driver.Start to StartRequest/StartResult with a compile-time macOS adapter assertion and registry-to-router coverage. Keep legacy Sidecar name alongside VMRef and grant argument privileges by driver ownership.
Move macOS preparation into ReimsMacOSDriver after hook veto, fail preparation errors before launch, and verify veto leaves OpenCore, recovery markers and ledgers unchanged.
Unify GUI, CLI and window list/start/stop through internal/lifecycle, select frontend VMs by VMRef, lazily initialize reims only in legacy CLI branches, and cover a second driver through App user entry points.
Key Guest Tools registrations, connection state, clipboard policies, text queues, and WebDAV handlers by driver-qualified VM references while preserving existing guest URLs and token authentication.
Pass VMRef through host-text callbacks and removal cleanup, with same-name coverage for authentication, policies, handlers, and independent unregister.
Keep same-named VMs from different drivers, reject ambiguous bare-name resolution, and add exact ResolveRef routing with driver-qualified keys.
Declare DataRoot-relative VM roots in guest driver manifests, validate traversal and absolute paths, and scan declarations for unavailable drivers.
Add data layout v3 for driver-qualified per-VM plugin settings, preserve explicit values during migration, and pass VMRef keys from the settings UI.
Declare the reims guest driver statically, merge the install guide into the optional macOS plugin, and keep compatibility settings under the new owner.
Add data layout v2 with atomic state migration, ledger backups, targeted argument ownership moves, and idempotent v1 upgrade coverage. Reduce builtin.core to the default theme.
Add a reverse import ratchet for internal/macos and document the transition. The macOS plugin remains enabled by default during migration; that default and the future privilege/trust rules remain subject to review.
Market page
- Card grid that fills the width; cards show only icon, name,
publisher (trust mark by color and icon), version and the action.
- Paints from cache via the new PeekPluginMarket binding, then revalidates;
cards reveal 24 at a time as the feed scrolls.
- Category chips come from the index (MarketBrowseResult.kinds) instead of
a fixed list; the alpha toggle and source badge are gone.
- Installed/Market is a segmented control; refresh now shows feedback.
- WordmarkLoader writes the Reims-Go wordmark stroke by stroke while the
market loads (static pulse under reduced motion).
Install and enable
- reims:plugin-install events drive a progress bar on the card.
- After install, a dialog offers to enable the plugin and lists what it can
do in plain words (PluginInfo.risks / MarketCatalogItem.risks, derived
from tier, permissions and contributions in risks.go).
- Enabling a plugin that provides UI languages switches to the first one
unless the current language is among them (PluginInfo.locales).
Trust
- A package installed from the project's own index, fetched over HTTPS in
this session, inherits the index's trust level when its SHA-256 matches.
Third-party indexes (REIMS_GO_PLUGIN_MARKET_URL) cannot vouch and show
every entry as community.
- Trust no longer waives review: official packages get the same scan,
high-risk approval and L3 hash check as any other; only builtin and
bundled plugins are pre-approved.
First launch
- When the OS language is not covered by zh-CN/en-US, the folder screen
looks up a matching pack once (SuggestLanguagePack) and offers to install
it; Continue installs and enables it so the UI follows the OS language.
Before setup the market keeps its index in memory only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The data folder had no record of which layout wrote it, so a new release
could not tell old data from current data. <DataRoot>\.reims-go-data.json
now records data_version and the app version that last raised it. It is
kept out of reims-go.json, which is rewritten whole on every save and
would drop the field under an older build.
Each build carries every step from older layouts to its own; the GUI and
CLI run them in order before reading the folder, so users can jump
straight from any old version. A failed step leaves the version at the
last success and resumes next launch; a folder from a newer build is left
untouched.
Step v1 writes the driver ownership marker into every reims-ctl VM.
driver.RenamedDriverIDs maps old driver IDs to new ones for when a driver
moves to another plugin; markers are not rewritten, so downgrades still
resolve.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Integrate the VM-window macOS installation and recovery guide from #3
as an optional built-in plugin (builtin.install-guide):
- Register builtin.install-guide providing ui.install-guide with
zero-residue lifecycle disposal and live toggle support
- Keep VMPage's in-page recovery guide as automatic fallback when
the plugin is disabled
- Preserve VM-window guide UX, DPI layout, and restart resume from #3
- 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.
- Merge essential builtins (driver, default theme, start prep, host workarounds) into always-on system plugin builtin.core, with state.json and arg-ledger migration plus app-scoped workaround settings honored by both GUI and CLI.
- Ensure disabling builtin.bridge.guest-tools stops the localhost bridge without being restarted by feature callers, fix guesttools.Server Start/Close race, and reflect the disabled state in VMPage and SettingsModal.
- Add QQ community group entry in About settings with Windows tencent:// protocol detection, cached invite redirect resolution, and copy-ID fallback.
- Update docs/plugin-architecture.md, Wails bindings, and i18n strings.