DeepSeek Web Sidebar · Sync: Permanent chat.deepseek.com on the right side of Harness

Preface

Using the API for conversations within DeepSeek Harness is suitable for integrating tools and running tasks; however, for full conversation history and web-based interaction, one often needs to open chat.deepseek.com. The common practice involves switching windows, copy-pasting questions, manually aligning dark modes, dealing with iframe restrictions, and logging into the web page again after every restart.

Below is an introduction to the community plugin dsh-Deepseek-web-sync (Repository: S-anZZz/dsh-deepseek-web-sync). It embeds the official web version into the right sidebar of the Desktop, using Electron’s isolated webview to load the real site, while linking the theme, login state, and query text with the Harness side as closely as possible. The design and implementation are attributed to ZCFE327; the directory maintainer is S-anZZz, and it is categorized as a client-side plugin.

What is this

In short: Continue using the Harness DeepSeek API for the main conversation on the left, while keeping the DeepSeek web version resident on the right within the same window. It does not create a replica UI, does not use iframes, and does not proxy the entire chat content.

The plugin registers a native Right Sidebar Tab (Type ID deepseek-web) via Cordis. The Host half (index.js) merely exports an empty apply(), with capabilities concentrated in the Client half (client.js). The version in package.json is 3.0.0, licensed under MIT.

Core Features

The behaviors listed in the documentation are as follows. Before installation, you can refer to the “Feature List” table in the README as needed.

Capability Description
Right Sidebar Resident Registered as a Right Sidebar Tab, not occupying the main conversation area
Auto-open Automatically opens the first time you enter a session; if manually closed, it will not repeatedly launch during the current run, but will auto-open again on the next start
Real Web Version Uses isolated webview to load chat.deepseek.com
No External Pop-ups Does not request guest pop-ups; new window requests are ignored
Theme Sync Reads current Harness --dsw-* tokens, writes them to the guest page; listens for theme/change
Beautification Plugin Sync Tokens written via theme.overrideTokens are included in the sync scope
Wallpaper Transition Harness page wallpaper appears on the web page as a light watermark, with a matching textured strip at the top
Login Persistence Captures the web version’s versioned localStorage login wrapper and writes the locally saved token back on the next startup
Prompt Import Captures plain text from selection, input boxes, or “Recent Questions”, and fills it into the left Harness input box via preview (without auto-sending)

Regarding security boundaries: the guest uses nodeIntegration: false, contextIsolation: true, and sandbox: true; plain text only crosses the guest boundary when the user actively captures it; Harness API credentials are not written to the web page; login tokens are stored locally only and used solely for restoring web login.

Environment & Limitations

  1. DeepSeek Harness Desktop (Electron) only. The Right Sidebar and Web Client must be enabled. Harness Web in a standard browser lacks the isolated webview; the plugin will display “Desktop Only” in the panel.
  2. Harness API authorization and chat.deepseek.com web login are two separate systems; the plugin does not forward Harness account credentials. The experience is “keep the same DeepSeek account logged in on the web as much as possible after one login”.
  3. If the web DOM or login storage format changes, “Recent Questions” may fail; Selection capture is relatively the most stable.
  4. Visual sync stays at the token / wallpaper level and does not copy Harness React components or third-party theme illustrations.

Installation & Activation

The plugin has no build step and no npm runtime dependencies. The local installation process provided in the official README is as follows.

  1. Place the repository in a local directory (the README example clones it locally; you can also download the source package and extract it to get the absolute path of the repository root).
  2. In Harness Plugin Management, select to install from a local directory, or execute:
plugin_manager install_bundle <absolute_path_to_repo>
  1. After installation, the plugin is automatically enabled; on the first open of each session, DeepSeek Web will appear in the Right Sidebar.
  2. If the tab was manually closed, you can click Web on the right side of the conversation title bar, or select DeepSeek Web from the + in the Right Sidebar.

Installing a plugin runs extension code with the permissions of the current DSH process; before installing, it is recommended to read the repository source code and MIT license to confirm acceptance of the local login token storage method (see README “Security Boundaries” and “Known Limitations”).

Typical Usage

According to the “Usage” section of the README, the reproducible workflow is as follows.

  1. First Login: Log in once with your usual DeepSeek account in the right-side webview.
  2. Parallel Usage: Use the web version like a browser on the right; continue API conversations in Harness on the left.
  3. Capture Questions:
    • Select text in the web page → top Selection;
    • Or Input Box to capture the current input box content;
    • Or Recent Questions to attempt to read the last user message.
  4. Fill into Main Conversation: The result enters an editable preview. After confirming, click Fill into Current Conversation. The text enters the left input box and will not be sent automatically.
  5. Re-open: After closing the tab, use the title bar Web or Right Sidebar + → DeepSeek Web.

For trigger timings regarding themes, wallpapers, and login, see the README “Sync Mechanism”: the web page re-syncs tokens when Harness switches themes or light/dark modes; login感知 logouts via storage hooks and polling to clear locally saved tokens.

Architecture & Integration Points (Developer Reference)

Harness Desktop
  Conversation (API)  ←── Plain Text ──  capture preview
  Right Sidebar Tab (deepseek-web) ── isolated <webview> ──► chat.deepseek.com
  Theme service ── theme/change + tokens ──► guest
  local auth store ── token restore ──► guest

The Client side mainly uses: sidebarRightTabs.register, sidebarRight.openTab('deepseek-web'), the sidebar.right.pane.tab slot, conversation.session.header.utilities, window.dshDesktop.browser.acquire/release, and inputActions.captureInsertion() / insertText(). After modifying client.js, you can run node --check client.js for syntax checking, then reload the bundle via plugin management.

For more detailed implementation notes, see docs/ARTICLE.md and QUICKSTART.md in the repository.

Conclusion

dsh-deepseek-web-sync combines “API Conversation + Official Web Version” into a single Desktop window: themes and wallpapers are aligned with Harness, web login generally only requires one attempt, and selected content can be edited and sent to the main conversation input box, while explicitly stating it does not proxy chat or expose Node capabilities to chat.deepseek.com.

The DSH ecosystem emphasizes “Everything is a Plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / Hithink RoyalFlush. When choosing third-party client plugins, refer to the repository README and source code.

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

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

Xiaoye