23 Commits
Author SHA1 Message Date
千川白浪 ec273afc3b Merge pull request #8 from reims-go/ci/release-dispatch
CI / test (push) Canceled after 0s
ci(release): allow dispatching the package build for an existing tag
2026-12-05 17:11:32 +08:00
千川白浪 f408f94e66 ci(release): allow dispatching the package build for an existing tag
A tag push occasionally fails to start this workflow, which leaves the release with no package. Dispatching with an existing tag rebuilds the same package from that tag instead of waiting for another push.
2026-12-05 02:10:20 -07:00
千川白浪 f6bea08c2c Merge pull request #7 from reims-go/feat/mcp-v2
Release plugin package / package (push) Canceled after 0s
refactor(sidecar): serve the MCP channels through pkg/pluginsdk
v0.2.0
2026-12-05 17:02:46 +08:00
千川白浪 1b1f02739f refactor(sidecar): serve the MCP channels through pkg/pluginsdk
The transport, the handshake and the Host API calls now come from the shared SDK, so this package only routes channel messages and the host's JSON-RPC error codes reach the MCP tools.
2026-12-05 02:01:04 -07:00
千川白浪 f19eef7946 feat(mcp)!: require pluginApi 1.3 for held input, region capture and force stop
The host serves held key transitions, host/console.release, region screenshots and force on host/vm.shutdown, and the plugin relies on all of them, so it declares pluginApi 1.3.
2026-12-05 02:01:04 -07:00
千川白浪andClaude Opus 5.5 d682620fe5 feat(mcp)!: 工具设计范式更新到 0.2.0 (#6)
Serve six computer-use tools on the mcp channel and add the guest,
restore point, clone and test tools on a new mcp-dev channel.

- vm_power replaces vm_start, vm_shutdown, vm_suspend and vm_resume and adds
  force_stop.
- screen replaces the screenshot and zoom actions and wait_for_screen: it can
  wait for a change or a stable frame (up to 180 s while booting) and return
  one region at up to source resolution.
- computer_input replaces computer and computer_batch: it checks every step
  before sending input, holds modifiers around pointer actions, stops on a
  wait_screen timeout, and releases held keys and buttons on success, error
  or cancellation.
- Coordinates follow the last full image returned, so scaled screenshots no
  longer misplace clicks; results report the image size and a short sha256
  as compact JSON and structuredContent.
- Calls on one VM run in order instead of all tools sharing one lock;
  request ids and cancellation are scoped per client connection, and a
  closed connection cancels its calls.
- guest_wait_ready returns the plugin public key; logs_read pages guest and
  test logs; test_wait returns the result once finished; sessions and test
  runs always use a clone. Removed the screen resource.
- Tools carry annotations and one-sentence descriptions, and arguments the
  schema does not name are refused.

Requires a Reims-Go host with region screenshots, held-key input,
host/console.release and forced shutdown.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 23:52:45 -07:00
千川白浪 030fc246a5 Merge pull request #5 from reims-go/fix/mcp-vm-lifecycle
feat(mcp): expose virtual machine suspend and resume
2026-12-04 21:20:56 +08:00
千川白浪 0ad3692acb fix(mcp): retry guest SSH readiness until boot timeout 2026-12-04 06:20:36 -07:00
千川白浪 23d0271c93 fix(mcp): explain a missing login password in vm_unlock
vm_unlock returned the host's raw "secret setting is empty" when a VM had no
saved password, which reads like an internal fault and hides what the user has
to do. Wrap the typeSecret failure with the step that failed and keep the
host's readable explanation, and say in the tool description that the VM (or
an MCP clone's source VM) must have a saved login password.

model: deepseek/deepseek-v4.1-flash
agent: lead (DeepSeek Harness)
2026-12-04 06:16:46 -07:00
千川白浪 6b6a7ff81b feat(mcp): expose virtual machine suspend and resume 2026-12-03 08:32:04 -07:00
bvz rays 1b9e2ad1ec Merge pull request #4 from reims-go/feat/mcp-review-fixes
fix: enforce MCP operation boundaries
2026-12-03 11:41:14 +08:00
bvz rays 40740f7cd0 fix: keep MCP test controls responsive 2026-12-03 02:11:17 +08:00
bvzrays 4c7b4bb052 fix: enforce MCP operation boundaries 2026-12-02 16:58:49 +00:00
千川白浪 ce65fe386e ci(release): run on windows-latest and build plugin CLI outside workspace
Release plugin package / package (push) Canceled after 0s
v0.1.0
2026-12-02 08:06:37 -07:00
千川白浪 98aea3bd14 feat(mcp): add cursor-tolerant wait_for_screen, computer_batch, and round-trip optimizations 2026-12-02 07:59:14 -07:00
bvz rays 58b7e1d8d8 Merge pull request #3 from reims-go/feat/mcp-runtime-hardening
feat(mcp): add isolated sessions and keep test runs alive
2026-12-02 20:42:16 +08:00
bvzrays 650f4bc1fd fix: keep asynchronous test runs alive 2026-12-02 19:54:31 +08:00
bvzrays 1b887b5eaf feat: add isolated MCP VM test sessions 2026-12-02 18:39:44 +08:00
bvz rays 7998d283a5 Merge pull request #2 from reims-go/feat/mcp-runtime-hardening
feat(mcp): harden cancellation and guest operations
2026-12-02 16:42:18 +08:00
bvz rays eb66ac036f Merge pull request #1 from reims-go/fix/gofmt-ci
ci: normalize Go source line endings for Windows
2026-12-02 16:42:04 +08:00
bvzrays b188e4adf5 feat(mcp): harden cancellation and guest operations 2026-12-02 15:20:50 +08:00
bvzrays ccd034ec9e ci: normalize Go source line endings for Windows 2026-12-02 13:54:40 +08:00
bvzrays bdbd8f7701 feat: add official MCP service plugin 2026-12-02 13:18:10 +08:00