Alian-Prot0s5/dsh-screenshot ↗★ 1
@alian-prot0s5/dsh-screenshot
Screenshot-to-input for DeepSeek Harness: composer camera button + global hotkey (Alt+A) + listener bound to the app lifecycle, configurable in settings. 截图自动粘贴到 DSH 输入框:相机按钮 + 全局快捷键 + 生命周期绑定 + 设置页配置。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Alian-Prot0s5/dsh-screenshot说明文档
阅读完整 README ↗Requirements / 使用环境
- Windows 10(1809+)/ Windows 11 — uses the built-in system Snipping Tool
(
ms-screenclip:) and Win32 APIs(hotkey registration, clipboard, foreground switching); PowerShell 5.1 ships with both OSes. Windows 10(1809+)与 Windows 11 均支持:依赖系统自带截图工具 (ms-screenclip:)与 Win32 API(热键注册、剪贴板、前台切换), PowerShell 5.1 两者均自带,无需额外安装。 - DeepSeek Harness Desktop(
desktopprofile)— requires the client/host plugin mechanism(详见上方「DSH Desktop 绑定」)。 DSH Desktop 应用(desktopprofile):需要客户端/宿主插件机制(绑定关系见上)。 - Not supported / 不支持:macOS / Linux(PowerShell + Win32 + 系统截图工具
均为 Windows 专属);Windows 7/8(无
ms-screenclip:,且未自带 PowerShell 5.1)。
Settings / 设置项(设置 → 插件 → 可配置插件 → dsh-screenshot)
| Setting / 设置 | Default / 默认 | Description / 说明 |
|---|---|---|
| Global hotkey / 全局快捷键 | Alt+A | Modifier + key (A–Z); listener restarts automatically / 修饰键 + 键(A–Z),修改后自动生效 |
| Auto-paste to input / 自动粘贴到输入框 | On / 开 | Off = snip only, image stays in clipboard / 关 = 只截图,图片留在剪贴板 |
| Switch to foreground & paste when DSH is in background / 后台跳转粘贴 | Off / 关 | On = always bring DSH to front and paste / 开 = 后台触发时也切到前台并粘贴 |