Introduction¶
The chat input area in DeepSeek Harness (DSH) currently lacks a built-in screenshot capability. When encountering issues related to UI, error messages, or charts, you typically need to switch to a screenshot tool, save the file, and then navigate through a file picker to locate it. This workflow introduces frequent interruptions in the conversation flow and makes it easy to miss details. Below is an introduction to a plugin that adds a screenshot button to the DSH macOS client, providing area selection directly at the bottom-left of the input box. The captured image is inserted into the draft as an attachment.
What Is This¶
This is a DSH client plugin running on macOS, maintained by zhaoyanbo1. It adds a screenshot button to the chat input area in DSH and supports two modes: after selecting a screen region, the image is attached to the draft and can be sent together with your text. The plugin does not depend on any external applications. On first use, it compiles a native region selector based on ScreenCaptureKit locally, and subsequent runs load it directly from the cache directory.
Core Features¶
Two Screenshot Modes¶
- Hide window before capture (default): Captures the screen content beneath the DSH window, so the DSH window does not appear in the image.
- Keep window in capture: Captures the current screen as-is, including the DSH window.
Keyboard Shortcuts¶
⌃⌥⌘1: Hide-window mode.⌃⌥⌘2: Keep-window mode.
Interaction¶
Click the main button to capture directly in the current mode. Click the small arrow on the right or right-click the main button to switch modes. During region selection, the entire screen is frozen and dimmed. After dragging to select a region, press Return to confirm. Esc, a right-click, or a 5-minute timeout will cancel the operation. A drag smaller than 8×8 points is treated as an accidental touch. The image is only inserted into the draft and will not be sent automatically.
Installation and Activation¶
Prerequisites¶
- macOS 14 or later.
- DeepSeek Harness 0.2.2-rc.3 or later.
- Xcode Command Line Tools (or full Xcode) for the initial compilation of the region selector:
xcode-select --install
Install from the Plugin Page (Recommended)¶
- Open Plugins in the sidebar.
- Select Add Plugin → Install Third-Party Plugin.
- Enter
dsh-screenshot-macosand click Install. - If prompted to restart, restart DeepSeek Harness.
- On the first screenshot, grant DeepSeek Harness the Screen Recording permission as prompted by macOS.
After installation, the bundle is enabled by default. If the button does not appear, first verify that it is toggled on under Plugins → Installed, then restart once.
Install from the Command Line¶
dsh plugin --profile desktop add dsh-screenshot-macos
dsh plugin simply forwards the arguments to pnpm within the profile. After installation, you still need to enable the bundle on the Plugins page and then restart.
Install from GitHub¶
dsh plugin --profile desktop add git+https://github.com/zhaoyanbo1/dsh-screenshot-macos.git
You can also directly enter the path to a locally cloned directory under Add Plugin → Install Third-Party Plugin (this is the most convenient approach during development—changes take effect after a restart).
Typical Usage¶
After installing and enabling the plugin, the screenshot button appears in the toolbar row at the bottom-left of the input box, to the right of +.
- Click the main button to capture in the current mode.
- To switch modes, click the small arrow on the right or right-click the main button.
- Drag to select a region, then press
Returnto confirm. - The image appears as an attachment in the draft area and can be sent along with your text.
Use Cases and Caveats¶
Use Cases¶
- Reviewing UI layouts and control states within DSH.
- Capturing error messages and log snippets.
- Capturing charts and data visualization results.
- Quickly providing screen content as context to the Agent.
Caveats¶
- The plugin runs with the permissions of the current DSH process. Screen Recording permission must be granted before capturing.
- The first screenshot requires 10–30 seconds to compile the region selector; subsequent launches typically take less than 1 second.
- Some protected windows (e.g., DRM-protected videos and certain secured applications) may not be capturable by ScreenCaptureKit, resulting in a fully black capture area.
- To clear old images or logs, delete
~/Library/Caches/dsh-screenshot-macos/. The next screenshot will regenerate them. - To uninstall, remove the plugin from the Plugins page, then delete the cache directory above if needed.
Ecosystem Context¶
The DSH philosophy is “everything is a plugin.” This plugin is published as a community-maintained third-party plugin. The plugin marketplace has no official affiliation with DeepSeek / High-Flyer. Source code and license are available through the plugin marketplace or the GitHub repository.
Closing¶
This plugin brings system-level region selection directly into the DSH input box, reducing the back-and-forth between screenshot tools and file operations. Once installed, you can quickly capture screen content in the chat and send it as an attachment. Directory page: https://www.skillhub.cn/plugins/zhaoyanbo1/dsh-screenshot-macos; GitHub: https://github.com/zhaoyanbo1/dsh-screenshot-macos.