dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
给 DSH Desktop 用的窗口截图,支持 macOS 和 Windows:macOS 按两边 Command、Windows 按两边 Ctrl(或点输入框旁相机)捕获当前前台窗口并附加到会话,同时把 VoiceOver 风格的辅助功能树注入为隐藏上下文。
简体中文 | English
给 DSH Desktop 用的窗口截图,支持 macOS 和 Windows。
macOS 同时按两边 Command,Windows 同时按两边 Ctrl,或点输入框旁的相机,捕获当前前台窗口,附加到会话草稿,并读取窗口文字作为隐藏上下文。
dsh plugin --profile desktop add dsh-appshots
安装后重启 DSH Desktop。
从源码安装:
git clone https://github.com/WongYuYe/dsh-appshots.git
cd dsh-appshots
dsh plugin --profile desktop add .
Windows 会在第一次截图时用系统自带的 csc.exe(.NET Framework 4.x)编译助手,不需要安装 Visual Studio。
发布:把 package.json 版本改成 X.Y.Z 后推 vX.Y.Z tag。GitHub Actions 会打 GitHub Release 并用 Trusted Publisher(OIDC)发到 npm。
系统设置 → 隐私与安全性:
把这两项授予 DSH Desktop。如果热键不触发,同时允许 appshot-capture。
CopyFromScreen,系统可能弹一次屏幕访问授权hotkeyMode: win-hotkey如果当前有打开的会话,Appshot 会附加到那里;如果没有,会新建一个会话。连续截图会进入同一个会话。
命名空间 dsh-appshots,位于 ~/.dsh/settings.yaml:
| 字段 | 默认值 | 含义 |
|---|---|---|
skipSelf | true | 跳过 DSH Desktop 自身 |
attachText | true | 发送时把辅助功能树作为隐藏模型上下文注入 |
recentWindowMs | 60000 | 没有打开会话时,复用这个时间窗口内截图过的会话 |
hotkeyMode | auto | auto / both-command / both-control / carbon / win-hotkey / off |
carbonKeyCode | 0 | hotkeyMode 为 carbon 时的 Carbon 键码 |
carbonModifiers | 256 | Carbon 修饰键;256 是 Command |
winVk | 44 | hotkeyMode 为 win-hotkey 时的虚拟键码(44 是 PrintScreen) |
winModifiers | 3 | win-hotkey 的 Win32 修饰键;3 是 Ctrl+Alt |
auto 在 macOS 上是两边 Command,在 Windows 上是两边 Ctrl。
MIT