DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Screen Eye — DeepSeek Harness 插件(DSH Plugin)
← Plugins
S

dsh-screen-eye

Screen Eye

适用于 macOS 上 DeepSeek Harness 的自主屏幕视觉:代理在一次调用中捕获屏幕并接收屏幕图像本身。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:davidekingsss/dsh-screen-eye#6c6acdc25c4ca239fa4c7ba56313aae659e417fb
README兼容性版本

兼容性与来源证明

Screen Eye 以 dsh-screen-eye 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/15

版本

0.1.0stable
2026/9/15

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/19
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Deepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio,以及 27 个可编辑视频模板,以原生 DeepSeek Harness 对话视图呈现。Imagegen@dickpy/dsh-imagegendsh Web GUI 的 AI 图像生成插件:通过可配置的提供商渠道实现文生图和图生图(gpt-image-2 / grok-imagine-image / nanobanana series / seedream-5.0-pro / dall-e-3,支持原生 xAI Grok Imagine、Google Nano Banana a

README

dsh-screen-eye

An autonomous eye for DeepSeek Harness on macOS: the agent captures the screen and receives the picture in the same tool call, so it can look at a running app, a dialog, an error or its own UI work without asking you for a screenshot.

macOS only. No native build step, no bundled binary, no dependencies.

What it adds

Two model-callable tools:

ToolWhat it does
screenshotCaptures the screen and returns the image itself, as an image content block the model can see.
screen_permissionReports whether macOS currently allows this process to capture, and opens the exact System Settings pane when it does not.

mode selects what is captured: screen (default, whole desktop), display (one display), region (a rectangle), or the interactive window / select, which wait for the user to click a window or drag a rectangle.

Why this plugin exists

Most screenshot tooling assumes the hard part is capturing pixels. On macOS the hard part is permission, and it fails in a way that looks like a bug:

screencapture: could not create image from display

macOS gates screen capture behind the Screen Recording permission, keyed to the responsible process — the application macOS holds accountable for a whole process tree. A DeepSeek Harness host is often not a normal GUI application. The in-app plugin market restarts the host through a detached helper, so the host is reparented to launchd and has no application anywhere above it. When such a process asks for the screen, macOS cannot attribute the request to anything the user could grant, so it denies it without ever showing a prompt.

The permission cannot be granted programmatically: the TCC databases are SIP-protected, tccutil only resets, and CGRequestScreenCaptureAccess refuses to prompt for a process that is not an app bundle. So this plugin does what is actually possible:

  • it detects the denial by attempting a real capture and classifying the result, rather than guessing;
  • it computes the exact executable that must be granted, from the running host, instead of describing it generically;
  • it opens the exact settings pane on request;
  • and it returns those steps as the tool result, so the agent can hand you a fix rather than a stack trace.

Install

dsh plugin --profile web add github:davidekingsss/dsh-screen-eye
# then restart dsh

From a local checkout, instead of a published source:

dsh plugin --profile web add link:/path/to/dsh-screen-eye

The plugin has no build step and no dependencies, so nothing is compiled at install time.

Grant Screen Recording (once)

Call screenshot once. If permission is missing, the result tells you exactly what to do, and screen_permission with action: "open_settings" opens the pane for you. In short:

  1. Open System Settings → Privacy & Security → Screen & System Audio Recording.
  2. Click +, press ⌘⇧G, paste the path the tool reported (normally the node binary running the harness), and select it.
  3. Turn its switch on.

No restart is needed — the grant applies to the next capture.

If you start the harness from a terminal, granting that terminal application instead has the same effect.

macOS may periodically ask you to re-confirm this permission. Re-enabling the same switch is enough.

Configuration

All keys are optional.

KeyDefaultMeaning
outputDir<DSH home>/screen-eyeWhere captured PNGs are written.
localeenLanguage of the onboarding text: en or zh.
timeoutMs120000Cooperative budget for one capture.
requireImageCapableModeltrueRefuse a capture when the calling model declares no image input, instead of returning a picture it cannot see.
deleteAfterCommitfalseDelete the PNG once it is committed to the attachment store. Off by default, so the returned path stays re-readable.
# cordis.patch.yml
- insert:
    - id: screen-eye
      name: dsh-screen-eye
      config:
        locale: zh
        outputDir: /Users/me/Pictures/agent-shots

How it works

screenshot tool ──▶ lib/capture.mjs ──▶ /usr/sbin/screencapture ──▶ PNG
                       │
                       └──▶ attachments.saveImage() ──▶ image content block ──▶ model

The capture shells out to the system screencapture(1) rather than shipping a private helper. That choice is deliberate: screencapture needs no compiled artefact, is Apple-signed, and already uses ScreenCaptureKit internally on current macOS. A private helper would instead require per-architecture builds and an ad-hoc signature whose hash changes on every rebuild — and a changed hash silently invalidates the user's Screen Recording grant.

The image reaches the model through the same attachment path the built-in read_image tool uses, so the value is validated, downscaled and replayed exactly like any other image in the session.

Platform support

macOS only, enforced in two places: the bundle patch carries disabled: !!js process.platform !== 'darwin', so on another platform the module is never imported, and apply() re-checks so a direct mount cannot register capture tools that have no engine.

Windows has no equivalent permission gate — any process may capture the screen, so a Windows engine would need no onboarding flow at all. It is not included because it cannot be tested from this repository's development environment, and claiming untested platform support would be worse than declaring the limit.

Requirements

  • macOS with the harness's Node runtime (the capture path needs no extra package).
  • A model route that declares image input. With requireImageCapableModel left at its default, a text-only route is refused up front with a message naming the model, instead of silently capturing something the model cannot see.

Development

npm install
node test/selftest.mjs

The suite runs without a harness: the logic modules are imported directly and the tool definitions are exercised through a stubbed context, so it works on a machine that has never seen the harness — which is also what CI does. Cases that capture for real run only when the machine already has Screen Recording permission, so the suite stays green before the grant too.

The three @deepseek-ai/* packages the plugin imports are pinned exactly in devDependencies, and that is deliberate: they publish the current line under the next dist-tag while their latest tag still points at a much older release, so an unpinned install resolves to the old one and the import fails.

docs/verification.md records what has actually been run — the self-test, loader acceptance in an isolated profile, and one end-to-end agent turn — and what each result does and does not prove.

License

MIT