DeepSeek Harness 插件

OrderG-X/dsh-mac-computer-use#plugin

Star 数 ★ 12 下载量(近 30 天) 1,897 分类 工具与能力 收录于 2026-10-18 npm dsh-mac-computer-use

Mac 的视觉优先 computer use:无障碍树不可用时照样能干活。11 个 desktop_* 工具——窗口枚举、截图、OCR 找文字、元素编号、坐标点击、输入、滚动、拖拽,外加 Codex 风格的浮层光标(带弹簧动效)。点击投递给目标进程,不移动真实鼠标、不抢前台。DSH 插件页里显示为「Mac 桌面操作」,设置页会逐项检查命令行引擎和屏幕录制 / 辅助功能权限,缺哪个直接给按钮。装上就能用:安装包自带 dsh-cu 引擎和浮层的通用二进制(Apple 芯片 + Intel,macOS 11 起,本地签名),由发版工作流从仓库里的 Swift 源码编译——不用 clone、不用 Xcode、不用 install.sh。唯一的设置是给 DeepSeek Harness 开一次屏幕录制和辅助功能权限。仅支持 macOS;在 Windows / Linux 上插件照常加载,只是不注册桌面工具。

安装

# npm 包(预构建)

dsh plugin --profile web add dsh-mac-computer-use

# Release 预构建包

dsh plugin --profile web add -w "https://github.com/OrderG-X/dsh-mac-computer-use/releases/latest/download/dsh-mac-computer-use.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:OrderG-X/dsh-mac-computer-use#path:/plugin

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

DeepSeek Harness(DSH)插件:让模型看屏幕、点按钮、打字,直接操作你 Mac 上的应用。它提供 11 个 desktop_* 工具,包括窗口列表、截图、按文字找(OCR)、给元素编号、点击、输入、按键、滚动、拖拽和启动应用。

点击和输入直接发给目标程序,不移动你的鼠标,也不抢前台。

只支持 macOS 11 及以上,Apple 芯片和 Intel 都能用。安装包里带着编好的程序,不用编译。

安装

在 DSH「插件」页点「添加插件」,填 dsh-mac-computer-use,然后重启 DSH。DSH 连不上 npm 时会自动换国内镜像。

第一次用,要在系统设置里给 DeepSeek Harness 开「屏幕录制」和「辅助功能」权限。插件设置页有直达按钮。

更新

DSH 0.2.2 起,在「插件」页点开它,点「更新到 …」;更老的 DSH 先卸载,再添加一次。DSH 用 pnpm 安装插件,而 pnpm 默认不装刚发布的版本,所以新版大约发布一天后才装得到。

English

A DSH plugin that lets the model see the screen and control the Mac through 11 desktop_* tools:

  • window list, screenshots, OCR text search and numbered elements
  • click, type, keys, scroll, drag and app launch

Clicks and typing go straight to the target app. Your real pointer never moves, and the app is not brought to the front.

It needs macOS 11 or later and runs on Apple silicon and Intel. The package ships prebuilt binaries.

Install: in DSH, open the Plugins page, click Add plugin and enter dsh-mac-computer-use, then restart DSH. On first use, grant DeepSeek Harness the Screen Recording and Accessibility permissions.

Update: on DSH 0.2.2 or later, open the plugin on the Plugins page and click "Update to …". On older DSH, uninstall it and add it again. A new version can be installed about a day after it is released, because the pnpm that DSH uses skips brand-new versions by default.

完整说明 / Full docs: https://github.com/OrderG-X/dsh-mac-computer-use

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。