dsh-quick-chat: One-Click Slide-Out Manufacturer Web Chat in the DSH Session Header

Introduction

When running a main session in DeepSeek Harness (DSH) and needing to compare against the web versions of DeepSeek, Doubao, or Gemini, the common approach is to switch to the built-in browser tab or open a separate system browser. Built-in tabs carry the host’s default UA for some sites (including Electron/…), causing chat.deepseek.com to prompt “Abnormal Environment”; switching between multiple windows also disrupts the flow. dsh-quick-chat gathers the three web chats into a row of avatars in the session header: clicking one slides out a drawer from the right, narrowing the main interface to make room; inside the drawer is the site’s original interface, without a separate input box or a “multi-vendor same question” feature.

Below, the plugin is explained based on its positioning, capabilities, installation, and usage; facts are based on the lrhero/dsh-quick-chat README.

What is it

  • Name: dsh-quick-chat (maintainer lrhero)
  • Category: Client-side plugin (Community entry in the DeepSeek Harness plugin ecosystem, see SkillHub Plugins Page for directory)
  • Version: 1.27.0 (MIT)
  • Environment: engines.dsh is >=0.2.2-0 <0.3.0 (README states tested on 0.2.2-rc.3); below this version, the seat required by the plugin may not exist, and the interface will have no response.

The plugin registers vendor avatars in the session header, loads each site’s chat page via a self-built webview, and truly narrows the main content area to make room (rather than simply masking over it).

Differences from Built-in Tabs

The guest for built-in tabs is created by the host using the default UA, and the plugin cannot change the Electron identifier inside it. The main process only validates the lease and partition during will-attach-webview and does not rewrite params.useragent. Therefore, the webview built by the plugin can use a desktop Chrome UA, avoiding DeepSeek’s “Abnormal Environment” prompt. Google login still cannot be completed in the embedded page, and Gemini is configured as external: true by default, handled by the system browser.

Core Features

Capability Description
One-click trigger Click avatar to slide out drawer, click again to close; Esc, × to close
Three sites always available DeepSeek / Doubao / Gemini, each uses a separate guest, switching does not reload or lose scroll position
Main interface concession Main content narrows when opened; drag left edge to adjust width (approx. 360px to window width - 90px), width is saved locally
Icons and color scheme proper vector icons / fun illustrated avatars; colors support gradients, white, light blue, dark black, follow theme, etc., and converge options based on background color
Click sound effects Exclusive audio for each vendor, can be muted via speaker icon; coin control to switch between A/B icon styles
Header self-healing Seats may become invisible after the host rearranges the header; the guard detects based on visibility and, if necessary, fills the spot in the top-right corner of the header via shell.overlay
Chinese/English interface Copy follows system language: zh* for Chinese, rest for English

Login state, history, upload, voice, etc. are all provided by the websites themselves; the plugin does not collect or upload data, only storing style/width, etc., in localStorage.

Installation and Activation

The plugin runs with the permissions of the current DSH process; it is advisable to browse the repository source code and LICENSE before installing. Do not use the npm package dsh-quick-chat (not this project).

Method A: Command Line (Recommended)

Pre-built packages require no git or local build:

dsh plugin --profile desktop add https://github.com/lrhero/dsh-quick-chat/releases/latest/download/dsh-quick-chat.tgz

Or install from GitHub:

dsh plugin --profile desktop add github:lrhero/dsh-quick-chat

Replace desktop with your profile name. After installation, restart Harness and enable it in Settings → Plugins. If DSH Desktop has its profile hosted by the application, you can also install it directly in Settings → Plugins to avoid installing into an unused profile directory.

Method B: Plugin Marketplace

Search for Quick Chat in the Discover tab to install; if the index isn’t updated, you can try https://cdn.jsdelivr.net/npm/dsh-plugin-catalog/index.json.

Uninstallation

Disable or remove in Settings → Plugins; to clear interface memory:

for (const key of ['icon-style', 'icon-color', 'voice-on', 'drawer-width', 'diag', 'debug']) {
  localStorage.removeItem(`dsh-quick-chat:${key}`);
}

Optional Configuration

The bundle comes with cordis.patch.yml which has the default three sites inserted. When customizing, override them in the profile’s cordis.patch.yml by id; do not repeat the insert:

- id: quick-chat
  name: dsh-quick-chat
  config:
    iconStyle: proper
    iconColor: auto
    sources:
      - id: deepseek
        label: DeepSeek
        url: https://chat.deepseek.com/
        icon: deepseek
      - id: doubao
        label: 豆包
        url: https://www.doubao.com/chat/
        icon: doubao
      - id: gemini
        label: Gemini
        url: https://gemini.google.com/app
        icon: gemini
        external: true

Common fields include: sources (list of sites), sources[].external (open in system browser), sources[].userAgent, iconStyle / iconColor, pushMain (whether to narrow the main interface), voiceEnabled / voiceVolume. Icon styles and color schemes changed in the interface are prioritized saved in localStorage; the configuration is just the initial value.

Typical Usage

  1. Enable the plugin and open any session; you will see three avatars on the right side of the session header.
  2. Click one of the avatars; the web chat for that site slides out from the right. The main window is still operable, there is no full-screen mask, and clicking outside does not close the drawer.
  3. The drawer top bar allows switching vendors, flipping a coin to switch icon styles, changing colors with a color dot, muting via speaker icon; ↗ opens the current site in the system browser, ⟳ refreshes, × closes.
  4. Drag the left edge of the drawer to adjust width; click the same avatar again or press Esc to close.

Gemini often requires a system proxy in China; whether the guest goes through the proxy depends on the host. If DeepSeek shows a CloudFront 403 when going through a proxy, you can add chat.deepseek.com to the proxy direct connection rules and refresh the drawer.

Applicable Scenarios and Notes

Suitable for: Writing agents or orchestrating sessions in DSH where you need to reference the official web chats of DeepSeek / Doubao / Gemini side-by-side, and want the main interface to remain visible and clickable.

Limitations (listed in README):

  • Guest partition names are random, login does not persist across app restarts.
  • One guest per vendor, memory usage increases when all three are open simultaneously.
  • Gemini may fail to load due to network issues; Google login can only be external: true.
  • When the proxy exit IP is blocked by the DeepSeek CDN, the panel will show 403; you can use curl to distinguish between direct connection and going through a proxy as per the README’s “Troubleshooting”.

For debugging, read localStorage.getItem('dsh-quick-chat:diag'); to get a full geometric snapshot, set dsh-quick-chat:debug to 1 and refresh, then delete the key after use.

Conclusion

dsh-quick-chat gathers the three official web chats into the session header and a right-side drawer, using an independent webview and desktop Chrome UA to bypass Electron detection on some sites, and using seat and overlay guards to ensure header buttons remain usable after layout changes. For more information and installation:

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

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

Xiaoye