Preface¶
The core design philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” In this plugin-based ecosystem, dsh-flow, as a flow-first plugin, primarily addresses the action friction in DSH where “things that should be easy always require an extra step.” By adjusting interaction details, it restores intuitive action direction and helps users minimize interruptions during conversations and development workflows.
Core Features¶
This plugin is maintained by developer d0ublecl1ck and is released under the MIT license. By modifying interaction logic, it provides the following features:
1. Locate Current Session¶
When the sidebar has too many sessions and it’s difficult to locate the right one, you can quickly return to the current session you’re chatting in using a keyboard shortcut.
* Trigger: Click the “crosshair” button on the sidebar header row, or use the shortcut ⇧⌘D (macOS).
* Behavior: The plugin automatically expands the parent group, handles overflow scrolling, positions the current session in the viewport, and briefly highlights it.
2. Copy Session ID¶
Quickly obtain the ID of the current conversation for subsequent operations or debugging.
* Trigger: Right-click on a session row in the sidebar and select “Copy Session ID”; or use the shortcut ⇧⌘C (macOS) / Ctrl+Shift+C (Windows/Linux).
* Tip: After successful copying, the top banner will display the current ID.
3. Inline Code Right-Click Menu¶
For inline code in conversation body text, right-click actions are provided to avoid accidentally opening files.
* Trigger: Right-click on inline code within the conversation body.
* Function: A popup menu offers “Open” and “Copy.” The “Open” option supports the system default application or installed IDEs. Note: Only inline code within the conversation body is valid; multi-line code blocks, code in the input box, or link text do not trigger this menu.
4. Open Links with System Default Program¶
Solves the problem of links being trapped in the built-in window and unusable; supports localhost.
* Trigger: Click the link directly.
* Behavior: The link is handed off to the system default program to open (including http://localhost), rather than DSH’s built-in window.
* Limitation: Do not install the dsh-external-link plugin simultaneously, otherwise links will be opened twice.
5. Swap Newline and Send¶
Adjusts input habits: Enter becomes newline, and ⌘/Ctrl+Enter becomes send.
* Trigger: In the input box, press Enter for a new line, press ⌘/Ctrl+Enter to send.
* Settings: This feature is disabled by default and must be enabled in Settings → Flow → “⌘+Enter to send.”
6. Navigate Sent Messages¶
In the empty draft state, quickly recall previously sent messages.
* Trigger: When the input box is empty, press ↑ to go forward, press ↓ to go backward.
* Behavior: Pressing ↑ fills the most recent message into the input box, and images are re-pasted. Continuing to press ↑ loads earlier historical messages.
7. Workspace Name Display and Otty¶
Optimizes workspace-related open operations.
* Display Workspace Name: Directly shows the current workspace name to the left of the “Open” button icon in the header row.
* Add Otty: Adds an Otty option at the end of the “Open” button’s dropdown menu (macOS only). Clicking this option invokes otty-cli open to open the current workspace directory in a new window.
Installation¶
This plugin has no npm package and must be installed via the repository directory.
dsh plugin --profile web add /absolute/path/to/dsh-flow
After installation, refresh the page to take effect.
Usage Examples¶
- Locate and Copy: In the sidebar, press
⇧⌘Dto quickly locate the current session, and press⇧⌘Cto copy its ID. - Handle Code and Links: When you see an inline code path in the conversation, right-click to choose “Open” or “Copy.” Click links directly to open them in the system default browser (or terminal).
- Adjust Input Habits: After enabling the “⌘+Enter to send” setting, press
Enterfor a new line in the input box, and press⌘Enterto send. - Use Message History: When the input box is empty, press
↑to pull back the last sent message, edit it, and send it again. - Workspace Operations: Click the “Open” button in the header row, and select Otty from the menu to open the current directory.
Notes and Security Boundaries¶
- Dependency Conflict: Never install
dsh-external-linksimultaneously, otherwise link handling logic will conflict. - Platform Limitations: The Otty feature only supports macOS. The inline code right-click menu only supports inline code within the conversation body.
- Security Limitations: Opening external links is implemented through the host route
POST /flow/open-external, with a URL length limit of 8192 and a request body limit of 16KB.
References¶
- Plugin Directory: dsh-flow - skillhub.cn
- Repository: dsh-flow - GitHub