Introduction¶
In agent development, conversation content is often a valuable source of accumulated knowledge. However, web-based conversations are typically stored in scattered JSON or plain-text formats, making them difficult to search and reuse. DeepSeek Harness (DSH) follows an “everything is a plugin” architecture, extending its capabilities through plugins to bring the toolchain closer to real-world workflows.
Below is an introduction to DSH’s “Memory” category plugin, dsh-deepseek-hub. It controls a browser to sync DeepSeek web conversations, transforms them into a local Markdown knowledge base, and provides a scheduled publishing feature for GitHub DIY projects.
Plugin Overview¶
dsh-deepseek-hub is a plugin for DeepSeek Harness, developed by maintainer YYY-DXS. Its core responsibility is to convert conversation records from the official DeepSeek web interface into structured Markdown files, save them in a local directory, and support scheduled publishing to GitHub.
This repository serves as a publishing mirror. The source code and development take place under the plugins/deepseek-hub/ directory in DIY-code. The two copies are kept in sync via tools/publish-plugin.ps1.
Core Features¶
- Conversation Sync: Controls a browser to access the DeepSeek web interface, reads conversation content, and converts it into Markdown.
- Local Knowledge Base: Synchronized Markdown files are saved in a specified local directory (
knowledgeDir), making them easy to open and edit directly. - Scheduled Publishing: By configuring
dailyPublishAt, the knowledge base content can be published to the GitHub DIY project at a designated time each day.
Installation and Enabling¶
- Open DeepSeek Harness and navigate to the Settings → Plugins page.
- Run the following command to install the plugin:
dsh plugin add github:YYY-DXS/dsh-deepseek-hub
- After installation, confirm that the entry is enabled in the plugin list.
Configuration¶
Locate dsh-deepseek-hub in Settings and fill in the configuration items. Here is a sample configuration:
- insert:
- id: deepseek-hub
name: 'dsh-deepseek-hub'
config:
# Change to your own paths; you can also leave them blank and override via environment variables like DEEPSEEK_HUB_KNOWLEDGE
knowledgeDir: 'C:\path\to\knowledge\deepseek-web'
profileDir: 'C:\path\to\deepseek-hub-profile'
edgePath: 'C:\Program Files (x86)\Microsoft Edge\Application\msedge.exe'
repoDir: 'C:\path\to\DIY-code'
pythonPath: ''
port: 9390
autoSyncMinutes: 60
dailyPublishAt: '20:00'
knowledgeDir: The save path for synchronized Markdown files.profileDir: The browser profile directory path, used for login and session persistence.edgePath: The path to the Edge browser executable, used for browser automation to access DeepSeek.repoDir: The local path to the GitHub DIY project, used for publishing content.port: The internal service port for the plugin (9390).autoSyncMinutes: The automatic sync interval, in minutes.dailyPublishAt: The daily publishing time, inHH:mmformat.
Configuration items can also be overridden via environment variables, e.g., DEEPSEEK_HUB_KNOWLEDGE.
Compatibility¶
- DeepSeek Harness: >=0.1.0-rc.6 <0.3.0-0
- Node.js: >=18
- Platform: Windows only
Use Cases and Notes¶
This plugin is suitable for developers who need to preserve DeepSeek web conversations as a searchable knowledge base, especially those who need to publish content to GitHub DIY projects.
Note: The plugin runs with the current DSH process permissions. Before installing, it is recommended to review the plugin’s source code and license (MIT) to ensure they align with your use case.
Summary¶
dsh-deepseek-hub leverages browser automation and the local file system to transform DeepSeek web conversations into a manageable Markdown knowledge base, with built-in scheduled publishing capability. It embodies DSH’s “everything is a plugin” philosophy, bringing the toolchain closer to specific workflows.
For more details and source code, visit the plugin directory page and the GitHub repository.