DeepSeek Web Chat: Synchronize and Continue chat.deepseek.com Conversations in DSH

Preface

When developing Agents in DSH, the center area is usually the “work mode”: tool calls, files, terminal. If you’re also using chat.deepseek.com in your browser to discuss questions, your history lives on the webpage while your work lives in DSH—switching back and forth is costly, and context is easily broken.

Below we introduce the community plugin dsh-Deepseek-web-chat (repository HAN-050917/dsh-plugin-dsweb-harness). It syncs your web chat list into the DSH Web interface and lets you continue chatting in the same window; the left column gains a “Chat” entry, and a Chat / Work switch appears next to the title bar, with semantics similar to ChatGPT Desktop’s chat and work switching. Maintained by HAN-050917, it is categorized as a client in the plugin directory.

What Is This

In one sentence: using your own chat.deepseek.com account token, it reads web conversations, views history, and sends messages inside DSH, coexisting with DSH’s native Agent sessions without overwriting them.

  • Chat mode: This plugin’s panel; history matches the web version.
  • Work mode: DSH’s original Agent sessions (tools, files, terminal, etc.).
  • Switching only changes which column is displayed in the center; it does not create or destroy sessions; switching back and forth is instant.

Core Features

The following capabilities come from the plugin README and implementation notes; use as needed.

Feature Description
Conversation sync Fetches the web conversation list (up to 500 entries), including titles and timestamps
History review Opens any conversation and reads the complete Q&A
Local cache The latest 200 conversations are stored locally; cache is viewable offline
Continue chatting Sends messages in an existing conversation; remains the same conversation after the web version refreshes
New conversation “+ New chat” creates a conversation on the DeepSeek side before sending a message
Deep thinking / Web search Corresponds to the two switches on the web version
Model selection default / expert / vision
Streaming output Returns character by character; thinking content is collapsed above the answer
Auto-continuation Automatically calls /chat/continue when the upstream is truncated, up to 8 rounds
Interruptible Clicking “Stop” during generation aborts the upstream
Attachments Up to 10 files, 100 MB per file; drag-and-drop supported; subsequent turns can continue to query file contents
Sidebar “Chat” tab The conversation list appears on the “Chat” page in the far-left column, alongside “Tasks” and “Channels”; the list is no longer repeated in the center panel

The main text removes search bookkeeping and disclaimers, and strips [reference:N] / [citation:N] citation markers.

Installation and Activation

After installation, you must restart DSH: the host half is ESM, and only a new process will load new code.

① Plugin Market (recommended) — Install the market first, then search for this plugin in DSH “Settings → Plugin Market” and install:

dsh plugin --profile web add dshmarket   # requires dsh web 0.1.0-rc.6 or above
# Then restart dsh web

② Command line / Plugin page — Package name or Git address:

dsh plugin --profile desktop add dsh-deepseek-web-chat
# Or if not published to npm:
dsh plugin --profile desktop add github:HAN-050917/dsh-plugin-dsweb-harness

The desktop version requires initializing the profile first, and you must fully quit before running dsh plugin --profile desktop ….

Environment requirements (package.json): Node ^22.19.0 || >=24.0.0, DSH >=0.2.0-rc.2 <0.3.0-0.

Configuring the Token (One-time)

The plugin uses your local web login token to make requests to chat.deepseek.com; the token is stored only locally.

  1. Log in to https://chat.deepseek.com in your browser.
  2. Press F12 → Console, execute the following and copy the output:
JSON.parse(localStorage.getItem('userToken')).value
  1. Paste it into the DSH “Chat” panel and click Save and Verify.

It also accepts the full Authorization: Bearer …, or the entire userToken JSON. When expired, the panel will show a red alert; follow the steps above to re-obtain. Clearing the token deletes ~/.dsh/dsh-deepseek-web-chat/vault.json (readable only by the current user).

Typical Usage

Syncing and Chatting

  1. Configure and verify the token.
  2. Enter the “Chat” page in the left column to view the conversation list; click ⟳ Sync if needed (conversations newly created purely on the web version need to be synced before entering the local cache).
  3. Open a conversation to read history, or continue asking questions in the input area.
  4. Use the title bar Chat | Work switch or shortcuts Alt+1 (chat) / Alt+2 (work); macOS uses Ctrl+1/2.

Attachments

Click the “+” to the left of the composer or drag files into the window; sending is blocked if parsing is incomplete. Attachment IDs remain in the conversation, so the model can still read the document contents in subsequent turns.

Architecture side (for troubleshooting)

The host provides routes under /dsh-deepseek-web-chat for state, tokens, conversations, messages, chat SSE, uploads, etc.; the client mounts the sidebar icon, main panel, and title bar switch via dsh.bundle.patch and dsh.client. After modifying lib/index.js or lib/deepseek.js, you must restart DSH; changes to lib/client.js are hot-updated by HMR.

Use Cases and Notes

Who it’s for

  • People who have already built up conversations on chat.deepseek.com and want to continue chatting in a single DSH window day-to-day.
  • People who need to switch quickly between DSH Agent and DeepSeek web chat without losing web history.

Important to know

  • The plugin runs with the permissions of the current DSH process; before installing, review the repository source code and MIT license, and make your own judgment about trusting local token storage and network behavior.
  • It can only read and write your own account’s conversations; DeepSeek’s web interface has no public documentation, so if fields change, the panel may display raw upstream text.
  • The local cache keeps the most recent 200 conversations; older entries are evicted locally (they still exist on the web version).
  • The sidebar “Chat” tab relies on feature detection of an unpublished registry from @michengai/dsh-im-connect; after that dependency upgrades, the tab may disappear, but the panel and chat/work switch remain available.
  • The community directory skillhub.cn has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem philosophy is “everything is a plugin”.

Conclusion

dsh-deepseek-web-chat brings chat.deepseek.com’s list and history into DSH, pairs them with the Agent workspace via a chat/work switch, and covers commonly used web features such as streaming responses, thinking, web search, uploads, and continued chatting.

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

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

Xiaoye