DeepSHPlugins
dsh-computer-use 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-computer-use

工具與整合SwiftApache-2.0

DSH 電腦控制:Playwright/CDP 後臺操作 Chromium,Accessibility 優先控制 macOS;動作鎖定到正確程序與視窗,不搶前臺、不移動滑鼠,提供已簽名公證的 Universal 2 DMG 安裝包。

24 StarsZRui-C 更新時間 2026-08-14
訪問 GitHub 倉庫
dsh-computer-use 專案預覽
dsh-computer-use 介面截圖dsh-computer-use 介面截圖

專案介紹

中文

DSH 電腦控制:Playwright/CDP 後臺操作 Chromium,Accessibility 優先控制 macOS;動作鎖定到正確程序與視窗,不搶前臺、不移動滑鼠,提供已簽名公證的 Universal 2 DMG 安裝包。

English

Text-first computer use for DSH: background Chromium control via Playwright/CDP plus accessibility-first macOS control; actions stay pinned to the right process and window without taking the user's pointer, ships a Developer ID signed, notarized Universal 2 DMG.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
ZRui-C
倉庫
ZRui-C/dsh-computer-use
GitHub Stars
24
Forks
2
開發語言
Swift
許可證
Apache-2.0
最近推送
2026-08-14
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

76/ 100
維護活躍
81
文件與實用資訊
85
生態關注度
43
安裝便捷訊號
100
專案宣告訊號
100

README 含完整安裝與使用說明;標準命令一鍵安裝。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add github:ZRui-C/dsh-computer-use

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

DSH Computer Use icon

DSH Computer Use

Text-first browser and background macOS control for DSH.
Target the right process and window without taking over the user's pointer.

简体中文 ·

Architecture ·

Distribution ·

Security

macOS 14+

Universal 2

Apache 2.0

GitHub stars

GitHub release

Install

Homebrew

brew tap zrui-c/tap
brew trust zrui-c/tap
brew install --cask dsh-computer-use
open -a "DSH Computer Use"

DMG

  1. Download the latest DSH-Computer-Use-*-universal.dmg from Releases.
  2. Drag DSH Computer Use into Applications and open it.

With either method, authorize Accessibility and Screen Recording, select Install under DSH Plugin, then restart the running DSH Host.

The Homebrew Cask and official DMG install the same Universal 2, Developer ID signed, Apple-notarized app. Users do not need Xcode, Swift, or this source checkout. DSH and Google Chrome must already be installed.

DSH Computer Use setup center

What it does

SurfacePerceptionInput
ChromiumPlaywright, CDP accessibility/DOM, frames, tabs, optional OCRRef-pinned navigation, pointer, keyboard, forms, scroll, drag, upload
macOSAccessibility tree first, Vision OCR for semantic gaps, independent window captureAX actions, targeted SkyLight/CoreGraphics, global HID only without a target

Every action returns a fresh bounded text observation. The model works with roles, names, values, state, geometry, and stable snapshot refs instead of assuming it can inspect screenshots. UI and OCR strings are explicitly untrusted data.

Background macOS control

  • Carries PID, WindowServer window ID, AX window frame, and element identity through every action.
  • Prefers semantic AX actions before coordinate input.
  • Routes supported pointer and keyboard events directly to the target process/window.
  • Uses a click-through software cursor; targeted actions do not move the physical pointer.
  • Keeps post-action observation pinned to the previous target, even while another app stays active.
  • Falls back to public CoreGraphics or fails closed when a private capability is unavailable.

Platform boundary

ScreenCaptureKit is public API. The optional background input path dynamically loads private SkyLight symbols and is intended for Developer ID distribution, not the Mac App Store. Private APIs are unsupported by Apple and can change between macOS releases.

On macOS 26, Stage Manager may expose a shelved window only as a small WindowServer thumbnail. Constructing a capture filter for that representation can abort inside SkyLight. DSH Computer Use detects the geometry mismatch first, preserves AX observation, returns an explicit warning, and never stretches a thumbnail into a fake full-window screenshot.

DSH integration

The embedded package declares a DSH bundle in package.json. The setup center runs the official equivalent of:

dsh plugin --profile web add --save-exact file:/path/to/DSH\ Computer\ Use.app/Contents/Resources/Plugin

cordis.patch.yml installs the Host runtime and registers computer_observe / computer_action in DSH's global tool layer, inherited by every agent preset. No manual edits to user profile YAML or preset copies are required. The setup center detects an older dependency-only installation and repairs the missing bundle registration. A running DSH Host must be restarted after install, repair, or upgrade.

Build from source

Requirements: macOS 14+, Xcode/Swift 5.9+, Node.js 22+, pnpm 11+, DSH, and Google Chrome.

pnpm install
pnpm run typecheck
pnpm run test
pnpm run test:native
pnpm run build

pnpm run build creates:

native/macos-helper/dist/DSH Computer Use.app

The default build is Universal 2. For faster local iteration:

COMPUTER_USE_ARCHS=arm64 pnpm run build

Create a local drag-to-Applications DMG:

pnpm run package:dmg

Public releases require a Developer ID Application identity and notarization. See documentation/distribution.md for the exact local and GitHub Actions flows.

Tool contract

computer_observe returns interactive, full, or changes snapshots for browser and desktop, with optional query filtering and auto | always | never OCR.

computer_action performs exactly one browser or desktop action and returns the post-action semantic state. Ref and coordinate actions require the latest snapshot_id; stale targets fail closed and require another observation. File uploads are fenced to the DSH session workspace.

Project

Community

Licensed under Apache-2.0. This independent project is not endorsed by Apple. “DeepSeek” and related marks belong to their respective owners; the name is used only to describe compatibility with DeepSeek Harness/DSH.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案