dsh-wsl-winshot
其他 活跃维护

dsh-wsl-winshot

173787247/dsh-wsl-winshot

支持按进程ID或前台窗口精准捕获Windows窗口画面,直接写入WSL文件系统。自动解析窗口句柄与WSL路径映射,无需额外脚本即可快速完成窗口截图与跨系统文件归档。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
16 KB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:173787247/dsh-wsl-winshot
git clone https://github.com/173787247/dsh-wsl-winshot.git
git clone git@github.com:173787247/dsh-wsl-winshot.git
README.md master

dsh-wsl-winshot

DeepSeek Harness plugin: Capture a specific Windows window to a WSL file, by process id or window handle.

Part of dsh-wsl-kit.

中文说明 → README.zh.md

Install

dsh plugin --profile web add github:173787247/dsh-wsl-winshot

Usage

win_shot_window                                        # foreground window
win_shot_window pid=1234 name="build-output"           # a specific process

Notes

Use this when you need the picture. Use dsh-wsl-shot when the image is
already on the clipboard. A minimized window is restored before measuring, because a
minimized window reports an empty rectangle.

Requirements

  • Windows with WSL, and DeepSeek Harness running inside it.
  • PowerShell reachable at the standard path (the plugin finds it itself).

Tests

npm test

The unit tests run anywhere. The live tests are skipped outside WSL.

Compatibility

Field Value
Plugin dsh-wsl-winshot 0.1.0
Minimum dsh ≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081)
Latest verified See dsh-wsl-kit Compatibility (currently 0.2.0-rc.2) — single source of truth for the suite
Kit set full or install alone

License

MIT