DeepSeek Web Relay Plugin: Direct Access from the Left Menu and Bidirectional Selected-Text Transfer

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 Alt and drag to highlight (or use the Ctrl+Shift+S shortcut), 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_modules required; 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 Alt or 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 Alt key 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.com and click the floating bubble; the text will go directly into the DSH input box.
  • Shortcut Send: Select text and press Ctrl+Shift+S to 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.3 or higher and has only been tested on the Windows platform with Chrome or Edge browsers.
  • Reason for Independent Window: Since chat.deepseek.com prohibits 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 Alt or 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.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye