Introduction¶
DeepSeek Harness (DSH) adopts a plugin-based architecture, and developers often need to switch between the local client and the web version of chat.deepseek.com. Simply switching windows not only interrupts the workflow but may also lose the login state. The DeepSeek Web Relay plugin adds a native menu item to the left sidebar of DSH, enabling direct access to an independent window with persistent login state. It also implements bidirectional text relay between DSH and the web version based on the Chrome DevTools Protocol (CDP).
Plugin Overview¶
This is a client-side plugin that provides web integration capabilities for DSH, maintained by developer acdsh4869 under the MIT license. It does not depend on Node.js for building, and its core purpose is to solve the problem of “how to seamlessly use chat.deepseek.com while maintaining context flow.”
Core Features¶
- Native Sidebar Menu: Adds a “DeepSeek Relay” menu item to the left sidebar of DSH. Clicking it directly opens an independent window for
chat.deepseek.com. - Persistent Login State: After logging in via the popup window for the first time, the window state is preserved, eliminating the need to log in again.
- Bidirectional Text Relay:
- DSH Side: Select text, hold
Altand drag to highlight (or use theCtrl+Shift+Sshortcut), and the content is directly sent to the web input box. - Web Side: Select text and click the floating bubble, and the content is relayed back to the DSH input box.
- Branch New Conversation: Click “Branch to DSH” at the end of an AI reply on the web side to automatically create a new session and populate the context.
- Zero Dependencies and No Build: No
node_modulesrequired; simply restart after installation to use it. - Non-Intrusive Text Selection Experience: By default, selecting text does not trigger the bubble (normal copy/search operations are unaffected). Holding
Altor right-clicking is required to trigger the relay feature.
Installation and Activation¶
Environment requirements: DSH ≥ 0.1.5-rc.3, with Chrome or Edge installed on the system. Only Windows is supported.
Installation command:
dsh plugin --profile <profile> install acdsh4869/dsh-deepseek-web-relay
After installation, the DSH instance must be restarted. Configuration changes also require a restart to take effect.
If you have installed an older version of the plugin (dsh-deepseek-chat or dsh-deepseek-web), you must uninstall it first, as configuration conflicts may cause loading failures.
Typical Usage¶
- Open Window: Click the “DeepSeek Relay” menu item in the left sidebar. On first use, log in to DeepSeek in the popup window.
- Send Text from DSH to Web: Select text in DSH, hold the
Altkey and drag to highlight (or right-click the selection), then click the “Send to Chat” bubble that appears. - Send Text from Web to DSH: Select text in
chat.deepseek.comand click the floating bubble; the text will go directly into the DSH input box. - Shortcut Send: Select text and press
Ctrl+Shift+Sto send the content to the web input box. - Branch Conversation: Click “Branch to DSH” at the end of an AI reply on the web side; DSH will automatically create a new session and populate the context.
Use Cases and Notes¶
- Environment Limitations: The plugin requires DSH version
0.1.5-rc.3or higher and has only been tested on the Windows platform with Chrome or Edge browsers. - Reason for Independent Window: Since
chat.deepseek.comprohibits iframe embedding, the plugin adopts an independent window approach rather than inline embedding. - Text Selection Behavior Change: Starting from version v1.6.0, the default text selection no longer automatically triggers the bubble to avoid interfering with daily copy and search operations. To trigger relay, hold
Altor use the right-click button. - Configuration Activation: After modifying the configuration in
cordis.patch.yml, the DSH instance must be restarted.
Conclusion¶
This plugin provides DSH users with a web integration experience close to native applications. Through independent windows and bidirectional text relay, it reduces the switching cost between the local client and the web version. For more technical details and configuration options, please refer to the plugin directory page or the GitHub repository.