TaurusWood/dsh-plugin-appshot 预览 preview

TaurusWood/dsh-plugin-appshot

Plugin插件 Native原生 ⭐ 5 MIT Prompts & Skills提示词与技能

dsh-plugin-appshot — 一个 DeepSeek Harness 插件(工具模板)。

Project Overview项目介绍

dsh-plugin-appshot is a native plugin built exclusively for DeepSeek Harness (DSH), adding one-click current window screenshot functionality that automatically mounts captured images to DSH's Composer as context for the agent. It is pre-built for two major desktop platforms, supporting macOS 14+ (Apple Silicon arm64) and Windows 10 19041+ (x64). Installation only requires a single command dsh plugin --profile web add dsh-plugin-appshot, and no local compilation or extra build permissions are needed for end users. After installation, users only need to restart DSH to load the plugin successfully, and will see a success message in the startup log.

The core workflow is designed to reduce friction when asking agents for help. Whenever you run into an issue while working in any application, regardless of whether it is a browser, IDE, or terminal, you can just trigger the global shortcut to capture your current working window. Unlike full-screen screenshots, this plugin only captures the active foreground window you are interacting with, ignoring other background windows, desktop elements, and the DSH window itself to avoid incorrect captures. After capturing, the image is automatically added to your current Composer draft, so you only need to add your question and send it to the agent.

This plugin is released under the open-source MIT license, and has specific first-run requirements for macOS users. On first capture attempt, macOS will automatically prompt you to grant screen recording and accessibility permissions, which are required for global shortcut listening and window capturing. Windows users do not need any extra permissions to use the plugin. Currently, the plugin only supports DSH desktop clients, and does not work on DSH Web due to browser sandbox limitations. It also does not include extra features like full-screen capture, region selection, or OCR processing.

这是一款专为 DeepSeek Harness (DSH) 开发的原生插件,提供全局快捷键一键截取当前活动窗口的功能,截取的图片会自动作为上下文挂入 DSH 的 Composer 会话,让用户可以快速将当前工作窗口内容提交给 Agent 处理。插件支持 macOS 14+ (Apple Silicon arm64) 和 Windows 10 19041+ (x64),仅需一条命令即可完成安装,预构建产物无需本地编译,安装后重启 DSH 即可使用。

当用户在任意应用中遇到问题需要求助 DSH Agent 时,只需按下预设的全局快捷键(macOS 默认同时按左右 Command,Windows 默认同时按左右 Ctrl,均可自定义修改),插件就会精准截取当前正在操作的前台窗口,不会截取整个屏幕或其他后台内容。截取完成后,图片会自动挂入当前 DSH Composer 的会话草稿,用户只需补充问题描述即可提交提问,彻底省去手动截图、切换窗口、粘贴上传的繁琐流程。

插件遵循 MIT 开源协议,macOS 首次触发截图时需要授予屏幕录制和辅助功能权限,系统会自动弹出引导完成授权,Windows 无需额外授权。目前插件仅支持桌面端 DSH,WebUI 暂不支持,也不提供区域框选、全屏截图、OCR 等额外功能。开发依赖仅在开发期提供类型声明,插件本身无运行时依赖,不会出现安装权限错误。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:TaurusWood/dsh-plugin-appshot

把 TaurusWood/dsh-plugin-appshot 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-plugin-appshot

macOS / Windows 全局快捷键「一键截图当前窗口」,自动作为图片上下文挂入 DeepSeek Harness (DSH) 的 Composer —— 把当前工作窗口零摩擦交给 Agent。

项目主页(GitHub Pages): https://appshot.twoodbyte.top/

English · 中文 · Changelog · 更新日志

macOS Windows DSH npm License

安装

在 DeepSeek Harness 0.1.7 开发预览版 Desktop 中:

  1. 打开「插件」→「添加插件」
  2. 输入 dsh-plugin-appshot
  3. 安装后重启

在添加插件对话框中输入 dsh-plugin-appshot

npm 包为预构建产物,无需本地编译。重启后日志出现 plugin applied successfully 和 native agent ready 即加载成功。macOS 首次截图需授予屏幕录制与辅助功能(见权限);Windows 无需额外授权。

命令行:dsh plugin add dsh-plugin-appshot

从源码安装(开发/贡献者):在插件目录 pnpm install && pnpm build && pnpm build:native,然后在插件父目录执行 dsh plugin --profile <name> add ./dsh-plugin-appshot(dsh plugin add 的相对路径锚定调用目录)。

这是什么

DSH 版的「Codex Appshots」:为 DeepSeek Harness 带来全局快捷截屏上下文体验。

典型场景:无论你是在浏览器中查阅文档、在 IDE 中调试代码,还是在终端中排查报错——在任何应用的任何窗口中遇到疑问,只需按下 左 ⌘ + 右 ⌘,当前窗口截图便会瞬间自动传递到 DSH 客户端并挂入 Composer;附上你的问题即可直接向 Agent 提问,彻底告别「手动截图 → 切换窗口 → 粘贴上传」的繁琐流程。

截的是「当前窗口」,不是「整个屏幕」——与 Codex 官方对 Appshots 的描述一致("An appshot captures the frontmost window only.",Appshot 只截取最前面的那个窗口):

✅ 截取 ❌ 不截取
触发瞬间正在操作的那一个前台窗口(Chrome / VS Code / Finder / Terminal…) 整个屏幕、桌面壁纸、菜单栏/Dock、其他窗口、后台应用
按下 左⌘+右⌘  →  截取当前前台窗口  →  截图挂入 Composer  →  输入描述并 Send

目前支持 macOS 14+(Apple Silicon / arm64)(默认左右 ⌘ Command,可在设置面板切换为双击 ⌘ 等)与 Windows 10 19041+(x64)(默认双 Ctrl,可在设置面板自定义修饰键组合)。

使用

  1. 在任意应用(Chrome、VS Code、Finder / 记事本、Terminal…)中按下全局快捷键——macOS 同时按左 ⌘ 与右 ⌘,Windows 同时按左 Ctrl 与右 Ctrl(可在设置面板自定义)——截的就是你眼前正在看的这一个窗口,不是整屏;

    接下来两个平台的表现不同:

    • macOS:截图完成落盘后 DSH 窗口自动唤起并聚焦(先截后唤,不会截到 DSH 自身;窗口唤起仅对 DSH 桌面端生效,dsh web 下截图仍会挂入 Composer,只是不唤起窗口);
    • Windows:DSH 保持原样、不会被激活——截图静默进入当前会话输入框,不打断你手头的工作;成功时以快门音与缩略图飞入动画反馈(可在设置中关闭),失败时弹出不抢焦点的轻量浮层提示原因。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev hermes-dsh-bridge 下一个 Next dsh-branch-workspace-folders →