DeepSeek Shared Conversation Import Plugin

Introduction

The plugin ecosystem of DeepSeek Harness (DSH) supports extensible functionality, but the official toolset does not yet provide the ability to import publicly shared conversations as local sessions. When you need to continue a conversation, reuse thinking snippets, or reuse code snippets in DSH, the current workaround is manual copy-and-paste, which is tedious and prone to missing content. This article introduces a plugin that converts public share links into local DSH sessions, after which you can continue chatting within DSH.

Plugin Overview

The plugin is named dsh-plugin-deepseek-share-import, maintained by user Q3yp, and categorized as a web tool. It reads the public share API to convert conversations into local sessions, which are then managed by DSH’s native session system. This supports follow-up questions, viewing thinking snippets, searching records, and browsing code blocks.

Installation & Enablement

In DSH, go to Plugins → Add Plugin, enter the release package URL, and enable it:

https://github.com/Q3yp/dsh-plugin-deepseek-share-import/releases/download/v0.1.0/dsh-plugin-deepseek-share-import-0.1.0.tgz

Install a headless browser on the machine running DSH:

dsh plugin --profile desktop exec playwright install chromium

To add it via Discovery, you can register the plugin in Plugins → Experimental Plugins → Custom Plugin Index:

https://raw.githubusercontent.com/Q3yp/dsh-plugin-deepseek-share-import/main/market/index.json

Usage Steps

  1. In the DSH sidebar, click the import button next to New Session.
  2. Paste the public share link. The format is https://chat.deepseek.com/share/….
  3. Select the target workspace and click Import as Local Session.
  4. Once the import is complete, open the session from the sidebar and continue chatting.

Each import creates a standalone session, after which DSH manages the message tree. User questions, responses, public thinking snippets, search records, and code blocks all go into the native session. Files and images are displayed as reference cards; no binary attachments are downloaded.

Implementation Notes

The plugin consists of the following modules:

  • src/share.ts: Anonymously reads the public share API in a one-shot headless Chromium instance, then closes the browser upon completion.
  • src/source.ts: Validates the web data and adapts it to the official message conversion format.
  • src/import.ts: Reuses the official convertConversation function and creates the local session through native session validation, persistence, and workspace services.
  • src/index.ts: Cordis Host plugin and owner-only import route.
  • src/client.tsx: Sidebar import dialog, supporting Web Fetch and Desktop __DSH_TRANSPORT__.

The import process does not read account tokens, does not save browser profiles, and does not create additional archives or sync state. Sessions use the existing storage backend of the DSH Host. The plugin only reads share content from DeepSeek.

Technical Details

The message converter is pinned to the pure conversion module of @deepseek-ai/dsh-deepseek-chat-import version 0.2.2-rc.3, compiled into the plugin at build time. If the web API changes, the share expires, or rate limiting is triggered, the panel will display an error.

Use Cases & Cautions

This plugin is suitable for developers or users who need to reuse publicly shared conversations in their local DSH environment. The plugin runs with the current DSH process privileges. Review the source code and license before installation.

Conclusion

This plugin imports publicly shared conversations as local sessions, making it convenient to continue conversations and reuse content in DSH. Links to the directory page and the GitHub repository are as follows:
- https://www.skillhub.cn/plugins/Q3yp/dsh-plugin-deepseek-share-import
- https://github.com/Q3yp/dsh-plugin-deepseek-share-import

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

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

Xiaoye