dsh-mac-cua
Computer Use for macOS desktop applications: reads any app's accessibility tree as text with element indices, then clicks, types, pastes, scrolls, drags, selects text and sets values through it, plus screenshots read back as images. Driven by a persistent JavaScript REPL — the agent gets two tools (`js`, `js_reset`) and calls an `sky` API inside them, so state survives between calls and the tool schema stays fixed as capabilities grow. Accessibility trees come back as diffs after the first read; actions address elements by index and indices from a stale read are refused rather than misapplied; typing waits for keyboard focus and reads the field back; paste restores the clipboard. Requires macOS 14.4+, Accessibility permission (Screen Recording only for screenshots) and Node 20+; ships a prebuilt native module, so nothing compiles at install time.
macOS 桌面应用 Computer Use 插件:以文本读取任意应用的无障碍树与元素索引,并据此点击、输入、粘贴、滚动、拖拽、选择文本与赋值,截图可回传为图片。由常驻 JavaScript REPL 驱动——智能体只拿到两个工具(`js`、`js_reset`),在其中调用 `sky` API,因此状态跨调用保持、能力增长时工具 schema 保持稳定。无障碍树在首次读取后以 diff 返回;动作按索引寻址,过期索引会被拒绝而非错用;输入前等待键盘焦点并回读输入框;粘贴会恢复剪贴板。需 macOS 14.4+、辅助功能权限(截图另需屏幕录制)与 Node 20+;随包提供预编译原生模块,安装时不需编译。
How to install
dsh plugin add github:Saunato/dsh-mac-cua About
dsh-cua **Computer Use for DeepSeek Harness.** Control macOS desktop applications from a DSH agent through a persistent JavaScript REPL, backed by the macOS Accessibility API. The model gets two tools — js and js_reset — and drives everything through them. There is no tool per action; the tool surface stays fixed while capability lives in the sky API. What it can do **Read** any application's accessibility tree as text, optionally with a screenshot **Act** — click elements or coordinates, type, paste, press key chords, scroll, drag, select text, set values, invoke accessibility actions **Work …
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-16
- Created
- 2026-09-16
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- accessibility, automation, computer-use, deepseek-harness, dsh-plugin, macos
Related plugins
openclaw
openclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)