Preface¶
When developing agents in DeepSeek Harness (DSH), a common practice is to connect the model to an API or a self-built gateway, sending requests and receiving stream results via code. If you only have a DeepSeek web account and want to embed the chat interface into the DSH Web sidebar, side-by-side with the functional development window, you need a “Browser Session + Host UI” plugin, rather than wrapping another layer of an OpenAI-compatible Provider.
DSH Chat Buddy (repository name still dsh-deepseek-companion, npm package name dsh-chat-buddy) takes this path: using Playwright-driven Chromium to maintain a DeepSeek web session in the background, providing three window types in DSH: Dock, Float, and independent Pop-out, sharing messages and login status. It does not consume API quota, but is subject to web account and risk control constraints; DSH login and DeepSeek web login are two separate states.
The following sections cover positioning, capabilities, installation, daily usage, and boundary descriptions to facilitate alignment with the official README’s compatibility scope on macOS.
What is this¶
- Maintainer: Community developer mycherish, source code and issue tracking on GitHub.
- Category: Model Inference (classified in community directory); essentially a DeepSeek Web Chat Companion, not an API Provider or OpenAI-compatible Gateway.
- Current Release Version:
dsh-chat-buddy@0.1.3(Check npm for downloadable versions before installing). - Host: Local DSH Web
0.1.5-rc.2,0.2.1-rc.2,0.2.2-rc.1; macOS; requires Node.js ≥ 22, and meets the host’s own Node requirements. Official Desktop, other host versions, other systems, and remote headless deployments are not within the compatibility declaration. - Original Name: DeepSeek Companion; the old package
dsh-deepseek-companion@0.1.0is retained but only compatible with the original two fixed Web versions, cannot be enabled simultaneously withdsh-chat-buddyin the same profile.
Core Features¶
The capabilities already written in the README and consistent with this plugin’s positioning are listed below.
Chat and Web Capability Mapping¶
- Text streaming output, supports Markdown / code blocks; supports Deep Think, Search; supports “Stop” generation across windows.
- New chat and history session switching; three windows share Host message and service status (unsent content in each window’s input box is a local draft).
- PNG / JPEG / WebP / GIF image/text or pure image sending; history images retain filenames even when they become invalid.
- Search only turns accurately mapped sources into links; unmapped numbers remain as plain text.
Window and Experience¶
- Dock: Default embedded in DSH sidebar (entry point like “Quick Chat”).
- Float: Draggable and resizable within the page; themes and available fonts follow DSH.
- Pop-out: Independent window popup.
- SSE stream disconnection reconnection, page / Chromium recovery, and strict identity in-place completion; when unsure, messages are preserved and sending is blocked, no automatic re-send.
- Keyboard focus, combined input protection, no scrolling theft when reading history; supports reduced motion for light animations.
Explicitly Not Doing (First Edition Boundaries)¶
- No document attachments, Proxy, multi-account, Handoff, Host message persistence.
- Do not equate Host restart with automatic browser session recovery.
- Extremely fast consecutive sending with empty parent anchor, tree history, etc., will be safely rejected; SSE silent half-open without active heartbeat detection.
Installation and First Login¶
1. Confirm Host Version¶
First check if DSH Web is in the support list:
dsh --version
Replace web with your actual Web profile name. The README requires the host to be one of the three fixed rc versions mentioned above.
2. Install Plugin and Chromium¶
Install the published exact version via the official bundle command (do not splice github:owner/repo based on repository name):
dsh plugin --profile web add dsh-chat-buddy@0.1.3
dsh plugin --profile web exec playwright --version
dsh plugin --profile web exec playwright install chromium --no-shell
dsh --profile web --no-open
Playwright should display 1.62.0; do not use playwright@latest to override the matching version inside the profile. 0.1.3 uses full Chromium: runs in headless mode daily, only displaying a working browser window during manual login. Installation and running must be under the same user; if you customize PLAYWRIGHT_BROWSERS_PATH, it must be consistent in both places.
Local candidates can point to tgz, for example:
dsh plugin --profile web add /path/to/dsh-chat-buddy-0.1.3.tgz
3. Migrate from Old Package¶
If dsh-deepseek-companion was previously installed on the profile, stop DSH first, then:
dsh plugin --profile web remove dsh-deepseek-companion
dsh plugin --profile web add dsh-chat-buddy@0.1.3
Migration preserves the original login directory, see the repository Rename Plan.
4. First DeepSeek Web Login (0.1.3)¶
After starting DSH, complete the host preview guide, no need to configure DSH API Key for Chat Buddy.
- Starting DSH will not immediately create a working browser; the background web session is only prepared after clicking “Quick Chat” in the sidebar.
- When not logged in, click “Login DeepSeek” to manually complete the web login in a separate window.
- Return to Chat Buddy and click “Finish Login, Return to Chat”; after the login window closes, the background instance takes over the chat. Closing the login window directly also returns to the background; if not logged in, it will still prompt for login and will not automatically pop up repeatedly.
- In the future, re-login via “Manage Login”; complete current operations before sending, restoring, or having image drafts. If Chromium is missing for the first time, install as prompted by the interface and restart DSH.
Typical Usage¶
After the above installation and login steps, you can operate according to the daily flow in the README.
- The background instance persists with the host after the panel is opened for the first time; closing the Chat panel does not terminate it, and the working browser is released when exiting the host.
- Switch to Float or open Pop-out in the Dock title bar; the service status of the three windows is consistent, drafts are saved locally respectively.
- Add attachments using “Image”, wait until ready before sending; failed attachments need to be removed or retried. If the Companion draft is inconsistent with the web page, sending will be rejected, you need to first check if the image has been sent on the web side.
- Use “Stop” during streaming generation; history menu supports arrow keys and Esc; new chat or switching history updates the message list after confirmation by the Host.
- Try to preserve messages and drafts when connection or browser fails; when the session cannot be confirmed, sending is disabled, you can create or switch history as prompted, recovery will not automatically resend original messages.
To install in Discover, enable Custom plugin markets and add the index; the official index is:
https://mycherish.github.io/dsh-deepseek-companion/index.json
You can also install using the CLI path mentioned above; the README notes that discovery, installation, and actual chatting for 0.2.1-rc.2 have been verified.
Applicable Scenarios and Notes¶
Who is it for
- Already using DSH Web (supported versions) on macOS, wishing to chat with a personal DeepSeek web account in an IDE-like environment, side-by-side with Agent / tool development windows.
- Need Deep Think, Search, image/text, and history sessions, and can accept the background maintenance cost of Playwright + Chromium.
Must Note
- Permissions and Trust: The plugin runs with the current DSH process permissions and drives the local browser profile to access the DeepSeek site. Before installing, you should read the source code and the MIT license (
package.json), and evaluate for yourself whether it fits your workspace strategy. - Two Sets of Logins: Logging into DSH ≠ Logging into DeepSeek; API quota is unrelated to this plugin, and web-side restrictions and risk controls still apply.
- Narrow Compatibility Scope: Does not support Desktop and other unlisted hosts / systems; check README
engines.dshand compatibility records before upgrading host rc. - Upgrades and Drafts: Stop DSH and keep the previous verified archive before updating; sent drafts and Host in-memory messages do not guarantee cross-process upgrade persistence.
Upgrades, Rollbacks, and Uninstalling
dsh plugin --profile web remove dsh-chat-buddy
Restart DSH after uninstalling; normal uninstallation does not delete the DeepSeek login directory. 0.1.3 can roll back to 0.1.2 compatible with the same host; 0.2.2-rc.1 cannot install 0.1.1 (only supports old hosts) or the old name 0.1.0, do not use version exemptions to bypass engines checks.
For issue feedback, please use GitHub Issues, attach plugin, host, OS, browser versions, and reproduction steps; do not submit Cookie, token, or full login directories.
Conclusion¶
DSH Chat Buddy embeds DeepSeek Web Chat into Harness Web: streaming dialogue, deep thinking, search, images, and history sessions, paired with Dock / Float / Pop-out, suitable for side-by-side development scenarios on macOS using fixed rc version DSH Web. It aligns with the community plugin ecosystem — everything is a plugin; SkillHub directory page and GitHub repository can view introduction and latest notes, specific versions and commands follow the README and npm.