すべてのプラグイン

win-pilot

win-pilot · バージョン 0.1.11 · 2026/11/29 更新

Win-Pilot は Windows のコンピューター操作に対応するエージェント用プラグインです。Windows 上のエージェントは、統一されたツールでデスクトップアプリと分離された Chromium セッションを操作できます。プラグイン、MCP、CLI、スキル、ネイティブホスト連携で、操作、復旧ルール、結果が共通です。

  • バージョンごとに審査
  • ツール
  • MIT
  • 0回ダウンロード

説明

以下はプラグイン作者による原文です。

win-pilot

English | 中文

License Platform Node

Win-Pilot is an Agent Plugin for Windows Computer Use. It gives Windows agents one consistent computer tool for desktop applications and isolated Chromium sessions, with the same actions, recovery rules, and results across plugin, MCP, CLI, skill, and native-host integrations.

Features

FeatureConcrete behavior
Agent Plugin package.codex-plugin/plugin.json bundles the MCP server and operating skill
Native Windows controlUI Automation, Win32 input/window management, and window-scoped screenshots
Background-first actionsSupported capture and input paths avoid unnecessary focus stealing
Isolated browser controlLaunches Edge sessions and controls them through CDP-bound targets and tokens
Recoverable protocolStable ok, outcome, error_code, post-action observations, and unknown-outcome handling
Universal fallbacksLocal stdio MCP for tool-aware agents; JSON CLI plus skill for shell-capable agents
Schema portabilityTool schema is validated for OpenAI- and Gemini-family consumers
DSH provider lifecycleRequires DSH 0.2.0-rc.2+ for Config forms; claims the exclusive computerUse provider slot

Requirements

  • Windows 10/11 x64
  • Node.js 22.12 or newer
  • Windows PowerShell 5.1
  • Optional .NET 8 runtime for WGC capture
  • An Agent Plugin host, stdio MCP client, or shell-capable agent

Quick Start

Install with your Agent (recommended)

Send this single instruction to an agent on the Windows machine:

Install and verify Win-Pilot by following https://raw.githubusercontent.com/JeremyWangCY/win-pilot/main/AGENT_INSTALL.md

The agent will prefer the complete plugin, then fall back to MCP or CLI only when its host lacks plugin support.

Manual installation

Plugin-capable hosts can install JeremyWangCY/win-pilot. The package contains both .mcp.json and skills/win-pilot.

For other hosts:

npm install -g win-pilot@latest
win-pilot doctor --probe

Register this local MCP server through the host's normal plugin/tool settings:

{
  "mcpServers": {
    "win-pilot": { "command": "win-pilot", "args": ["mcp"] }
  }
}

Convenience installers are provided for known hosts, while generic modes remain available for every other agent:

win-pilot install --agent codex
win-pilot install --agent claude
win-pilot install --agent qoder
win-pilot install --agent pi
win-pilot install --agent dsh
win-pilot install --agent mcp
win-pilot install --agent cli

Verify with:

win-pilot --version
win-pilot status --json
win-pilot doctor --probe --json

Expected: version 0.1.11, platform win32, and every required doctor check marked ok.

Settings

In DeepSeek Harness 0.2.0-rc.2 or later, open Settings → Win-Pilot or the plugin detail page. The current host projects the plugin's Config and applies changes immediately through live boolean references.

PreferenceDefaultEffect
overlaytrueShow the operation cursor
statusPilltrueShow the running status pill
browserHeadlessDefaultfalseRun browsers without a visible window

These are the only user settings. Numeric limits and input policy use internal defaults; old settings cannot change them. Required Windows/Meta system keys stay enabled internally. Confirmed Codex behavior guides background input, lock checks, user-interruption cancellation, focus yielding, and window text reads. CLI/MCP installs without a harness use the built-in defaults.

Updating

Finish active UI tasks, update the runtime, and restart or reload the host's plugin/MCP process:

npm install -g win-pilot@latest
win-pilot doctor --probe

DSH profiles must be restarted separately. Re-run win-pilot install when you want its managed skill copy refreshed; user-maintained custom skills are not updated in the background.

Sandboxed agents

When a sandbox reaps children after every command, configure win-pilot mcp in the host's persistent plugin or MCP supervisor. Do not detach a process from an ephemeral command. Shell-only agents can use one-shot win-pilot request calls.

Usage

MCP and plugin hosts expose computer. Shell-only hosts use the identical JSON interface:

win-pilot request --payload '{"action":"list_apps"}' --json
win-pilot request --payload '{"action":"get_window_state","hwnd":12345,"include_text":true}' --json
win-pilot request --payload '{"action":"click","hwnd":12345,"element_index":7,"snapshot_id":"<snapshot>"}' --json
FamilyActionsMain inputs
Discoverylist_apps, list_windows, get_app_identityapp, hwnd
Observationget_window_state, get_window, screenshotinclude_text, include_screenshot
Pointerclick, double_click, mouse_move, drag, scrollx, y, element_index, snapshot_id
Keyboardtype_text, press_key, hold_key, set_valuetext, key, keys, duration_ms
Windowslaunch_app, activate_window, minimize_window, close_windowname, hwnd, foreground
Browserbrowser_state, browser_observe, browser_open, browser_click, browser_click_text, browser_click_point, browser_type, browser_replace, browser_key, browser_uploadbrowser, tab_id, browser_element, screenshot_id, url
Sequencingwait, batched actionsseconds, when, expect

The live MCP tools/list result is authoritative for the complete parameter schema and defaults.

How it works

Windows Agent
  ├─ Agent Plugin ─┐
  ├─ stdio MCP ────┼─> Win-Pilot runtime ─> PowerShell helper ─> UIA / Win32 / WGC
  ├─ CLI + Skill ──┤          └────────────> CDP provider ─────> isolated Edge
  └─ Native Adapter┘

The runtime is the deep module: it owns action semantics and results. Adapters only register and render its interface, so fixes remain local and every host receives the same behavior.

Security and privacy

Win-Pilot runs with the Windows user's permissions. It contains no telemetry and does not upload screenshots. Browser navigation makes ordinary network requests to requested sites. Installing the plugin does not bypass host approvals, sandbox rules, or task authorization.

Troubleshooting

SymptomLikely causeFix
computer is absentPlugin/MCP added after session startRestart the agent or reload MCP servers
MCP exits immediatelyStarted inside an ephemeral sandbox commandMove it to the persistent host supervisor
browser_endpoint requiredNo owned browser existsLaunch Edge with headless: true first
Token is staleTarget state changed or token expiredObserve the same target again
Doctor failsRuntime prerequisite missingInspect win-pilot doctor --probe --json
computer use provider ... already registeredAnother DSH computer-use provider is enabledKeep only one desktop provider enabled

Compatibility-build diagnostics currently use %TEMP%\win-pilot-diag.log.

Development

git clone https://github.com/JeremyWangCY/win-pilot.git
cd win-pilot
npm test
npm pack --dry-run

Tests exercise the public CLI protocol, MCP discovery/calls, plugin manifest, installation plans, and owned Windows/browser fixtures.

License

MIT

バージョン履歴

  • 0.1.112026/11/29 · 7.8 MB
win-pilot · SoleAPI Agent プラグイン | SoleAPI