Commit Graph
153 Commits
Author SHA1 Message Date
YXC0915 7f07999a3b Merge GitHub upstream main into Gitea 2026-12-06 00:36:02 +08:00
YXC0915 ea6390e8ca feat: download ARM restore images and isolate runtime selection 2026-12-06 00:09:59 +08:00
YXC0915 92573ce550 feat: support the QEMU Stambha ARM64 preview runtime 2026-12-06 00:03:06 +08:00
千川白浪 aac3979373 refactor: 收敛根目录布局并统一资源与脚本归属 (#203)
* refactor: 收敛根目录布局并统一资源与脚本归属

* fix: 停止监视器时等待显示定位协程退出
2026-12-05 06:34:01 -07:00
千川白浪 96ea9928e0 fix: 按提交标题触发滚动开发版构建(#199) 2026-12-05 20:14:50 +08:00
千川白浪 08409a1fa3 fix: 移除虚拟机修饰键重映射和宿主机全局热键拦截(#198) 2026-12-05 19:48:11 +08: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
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
Nwflower 7529171600 docs(repo): fold the AI doc index and issue automation into existing docs
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.
2026-12-04 23:24:36 -07:00
Nwflower 87e7ac8774 refactor(ci): move GitHub automation scripts under scripts/ci
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.
2026-12-04 23:24:36 -07: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
Nwflower 8b467563c7 Merge branch 'ci/review-code-only' 2026-12-04 05:16:10 -07:00
千川白浪 7b76330d28 Merge pull request #163 from Nwflower/refactor/entropy-convergence
架构降熵:合并重复实现、拆分过大的文件、删除不再使用的代码,并用测试守护这些规则。
2026-12-04 16:10:06 +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
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
千川白浪 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
千川白浪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
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
Nwflower 164ea7f7ba ci: keep PR reviews focused on code findings 2026-12-03 04:50:41 -07:00
Nwflower d5ed496ba2 ci: require evidence before publishing review findings 2026-12-03 02:33:40 -07:00
Nwflower 7f555a7a75 ci: make automated PR reviews easier to read 2026-12-03 02:29:47 -07:00
Nwflower 36486a0850 fix: tighten plugin file grants and view handling 2026-12-03 02:03:50 -07:00
Nwflower e8c278e58b fix: address plugin view review findings 2026-12-03 01:27:56 -07:00
Nwflower a3c804118c Merge main into feat/plugin-view-capabilities 2026-12-03 01:27:56 -07:00
Nwflower 331dd6576d fix: respect OpenCodeReview background limit 2026-12-03 00:32:08 -07:00
Nwflower 82938f4b3d ci: migrate PR reviews to OpenCodeReview 2026-12-03 00:19:54 -07:00
NwflowerandClaude Opus 5.5 fa3e1e2889 feat: add plugin views and expand the sandboxed page bridge
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>
2026-12-02 23:11:23 -07:00
Dnyo666 ff99d8d702 feat(host,ui): add opt-in Hyper-V boot switch and hypervisor launch detection (#122)
- 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
2026-12-03 13:39:08 +08:00
YXC0915 2a153b42d7 docs: require upgrade compatibility checks in PR review 2026-12-03 10:40:12 +08:00
IcarusZezen dced8db0e4 Merge upstream main (2a9e5f0) into feat/host-guest-prereqs-a1-a2 2026-12-03 09:52:50 +08:00
YXC0915 b21a353b28 feat: offer macOS app windows as an optional built-in plugin 2026-12-03 08:20:01 +08:00
YXC0915 9f6c9aa90e feat: open a macOS app in a separate Windows window 2026-12-03 07:32:27 +08:00
bvzrays 33fde6b5cb fix: harden computer-use lifecycle and control channel 2026-12-02 16:58:49 +00:00
icaruszezen 0fe63f20bd docs: document pluginApi 1.2 host guest-driver capabilities and update #74 changelog 2026-12-03 00:28:13 +08:00
icaruszezen 844e4472af chore(plugin): bump pluginApi to 1.2.0 2026-12-03 00:28:13 +08:00
icaruszezen c083bded68 feat(driver,plugin,ui): add hosted VM, endpoint, and process-tree prerequisites (Stage A1+A2) 2026-12-03 00:28:13 +08:00
Xiaochi You 4bb197d683 Merge pull request #54 from ssdsl0126/codex/npcap-networking
feat(network): add Npcap bridging, uplink switching and host access
2026-12-03 00:24:38 +08:00
千川白浪andClaude Opus 5.5 34b1569e59 ci: publish a daily alpha from the newest fix commit (#106)
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>
2026-12-02 08:57:03 -07:00
root 6d5f269deb Merge upstream main 61c358b: retain bridge setup with native display presets 2026-12-02 23:54:54 +08:00
root cd5dcfd80b Merge upstream main de97025: preserve blank screenshot frames 2026-12-02 23:54:39 +08:00
root d2c877772e Merge upstream main 9b7d5b8: retain Npcap lifecycle with computer-use 2026-12-02 23:54:14 +08:00
root 06f41139ff Merge upstream main 7938f4d: evidence-based PR review checks 2026-12-02 23:53:10 +08:00
root 738396bb1f Merge upstream main c9a7bff: plugin architecture documentation 2026-12-02 23:53:02 +08:00
Nwflower 61c358bd9f Merge remote-tracking branch 'origin/main' 2026-12-02 07:59:53 -07:00
Nwflower de97025327 feat(computer-use): return blank flag for solid-color screenshots instead of error 2026-12-02 07:59:51 -07:00