NexusWindows for Antigravity

io.github.pironjulien由 GitHub 帳號 pironjulien 發布v3.6.0更新於 Nov 6, 2026

Windows computer use in the background for Antigravity: UI Automation, Win32 messages, read back.

概覽

AI 產生的概覽

讓助手透過 UI Automation 與 Win32 訊息在背景檢視並操作 Windows 桌面應用程式,不搶佔使用者目前的畫面。

可以做什麼
  • 列出已開啟的視窗,包含代碼、標題、行程、位置與是否在前景,並可依應用程式分組
  • 在不把視窗帶到前景的情況下檢視指定視窗,回傳帶標籤的元素樹與可選截圖
  • 對指定視窗一次批次操作:點擊、輸入、設定值、勾選、選取、展開、選單、按鍵、捲動與拖曳
  • 啟動應用程式、資料夾、文件或系統設定頁面,並回讀開啟結果
  • 乾淨地關閉指定視窗,遇到儲存提示只回報而不代為回答
適用情境
適合讓助手在使用者繼續工作的同時操作 Windows 桌面應用程式,例如填寫表單、瀏覽選單或讀取某個視窗的介面狀態。它是僅限桌面的本地方案,而非網頁自動化工具。
執行需求
在 Windows 上以本機 stdio 行程執行,從 PyPI 安裝並以 uvx 啟動。未宣告任何身分驗證。建議設定 PYTHONUTF8 以便在 Windows 上正確處理 UTF-8。
安裝前請注意
它幾乎可以操作任何應用程式,包括銀行應用程式與密碼欄位,僅排除密碼管理員。付款、購買、轉帳、傳送、發佈、永久刪除、解除安裝、重設等動作,除非該步驟帶有 confirm: true,否則會被拒絕;使用者的明確指示即視為該確認。foreground=true 時會退回使用真實滑鼠鍵盤,使用者可用快速鍵緊急停止。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 NexusWindows for Antigravity,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

該儲存庫沒有 README。

工具

5

windows

List windows

List open windows: hwnd, title, process (the real application for UWP), position, foreground. by_app=true: grouped by application. Example: {"by_app": false}

輸入參數by_appvisible_only

look

Look at a window

GOLDEN RULE: look → act in one batch, targets by label; never resend a batch without looking. See a NAMED window (hwnd: number, title or process) WITHOUT bringing it to the front (covered ones too): one line per element "[N] role "name" = "value" states @x,y"; image (WebP ≤ 2000 px) only if the tree is too thin, or with capture_screenshot=true, annotate (numbers drawn) or zoom=box_2d (area enlarged); query filters; format="json": compact JSON (box_2d 0-1000 per element). Same screen as the last image sent: not attached again. Unlocks a batch. Example: {"hwnd": "Notepad", "query": "save"}

輸入參數hwndzoomqueryformatannotatemax_depthoutput_pathmax_elementscapture_screenshot

act

Act in a window (verified batch)

Act in ONE batch, in the background, on a NAMED window (hwnd), without reading the code: shared token, emergency stop and the user's pause are handled here. Actions: click, double_click, right_click, type, set, clear, check, uncheck, select (option), expand, collapse, menu (path), key, scroll, drag, hover, wait (seconds, text), focus. Target: target="Exact label", "#N", box_2d or x/y; ambiguous label refused. Steps ✓ = ~ ✗, status = the worst; follow `next`. Batch stopped on ~ or ✗, nothing more sent and no replay; look before resuming after an unknown outcome. Outward actions (paying, sending, publishing, transferring, and the Enter key that would trigger them): `confirm: true` AND `accord: "<token>"` (on the step or as a parameter), returned by the first refusal that describes the exact action. Local destruction (permanent deletion, uninstalling, formatting, resetting): `confirm: true` alone. The user's explicit order = confirmation; your own initiative = ask first. Same batch without a look: refused. foreground=True: real mouse/keyboard as a fallback only. Example: {"hwnd": "Order", "steps": [{"action": "set", "target": "Name", "text": "Alice"}, {"action": "check", "target": "Accept"}, {"action": "click", "target": "Submit"}]}

輸入參數hwndthensteps必填accordrepeatforegroundtime_budget

launch

Launch an app, folder or document

Open an application (name such as "notepad.exe", or path), a folder or a document, like a double-click; the opening is read back. Settings page: app="ms-settings:display" (opened behind the user's window, read back). Refused: web addresses http, https, ftp (web pages: nexus-browser). args: arguments of a .exe program (a file to open…), never for a document, a folder or an address; also accepted after the program in `app`, a path with spaces is never split. Chromium/Electron apps: files only, never a switch. Example: {"app": "notepad.exe", "args": "C:\\Dev\\notes.txt"}

輸入參數app必填args

window

Manage a window

Manage a NAMED window (hwnd: number, title or process). action="close": close it cleanly (UI Automation, then WM_CLOSE), the closing is read back; a "Save?" prompt, if any, is reported, never answered. Example: {"action": "close", "hwnd": 123456}

輸入參數hwnd必填action必填

版本歷史

6
  1. v3.6.0最新Oct 29, 2026
  2. v3.2.7Oct 26, 2026
  3. v3.2.3Oct 26, 2026
  4. v3.2.2Oct 26, 2026
  5. v3.1.2Oct 24, 2026
  6. v3.0.1Oct 23, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分