DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Deepseek Web Import — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
D

deepseek-web-import

Deepseek Web Import

通过设置页面 UI 将 chat.deepseek.com 对话导入 DeepSeek Harness,作为可恢复的会话。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:wpc0323/deepseek-web-import#7727f18e3996713dec1b7046d07897c19efed5ae
README兼容性版本

兼容性与来源证明

Deepseek Web Import 以 deepseek-web-import 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/14

版本

0.2.0stable
2026/10/14
0.1.0stable
2026/9/29

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 5
周下载
0
最近提交
2026/10/14
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)

README

DeepSeek Web Chat Import (DeepSeek Harness plugin)

English | 中文

Import your chat.deepseek.com conversation history as real DeepSeek Harness (DSH) sessions: each import appears in the sidebar workspace list, opens with its full history, and can be continued with any model.

This is an installable DSH plugin bundle (dsh.bundle manifest: a host half plus a web client half), installed with dsh plugin add. See Install below.


✨ Features

  • A "DeepSeek Chat Import" page inside the settings panel
  • Paste a userToken and fetch the conversation directory in one click (titles + dates only; transcripts are fetched on import)
  • Pick a target workspace per conversation and import it as a DSH session in one click
  • Imported sessions:
    • keep the original DeepSeek title
    • can be continued with a model of your choice (they take DSH's normal resume path, so they never hit cannot prepare session while it is live)
    • are persisted under ~/.dsh/sessions/<workspace>/ and survive a DSH restart
  • Extracts the value field from a userToken automatically (accepts the {"value":"...","__version":"0"} form)
  • A built-in Diagnostics section for requesting raw responses when the upstream API changes
  • Localized UI (English/Chinese) that follows the DSH/browser language and falls back to English

⚠️ Important

Refresh the page (F5) after importing a conversation so the sidebar shows the new session immediately.

Without a refresh the new session may only appear after the next session-list refresh or reconnect.


Install

The plugin declares dsh.bundle (see package.json), so it installs with dsh plugin add:

dsh plugin add wpc0323/deepseek-web-import

After installing, restart DSH; Settings → DeepSeek Chat Import then appears. In this repository lib/index.js is the host half (same-origin JSON routes) and lib/client.js is the web client half (the settings-page UI); they talk over the webServer routes and fetch.


Usage

  1. Open Settings → DeepSeek Chat Import.
  2. ① Sign-in: paste the userToken → Save.
    • How to get it: sign in to chat.deepseek.com in your browser → F12 → Application → Local Storage → copy the userToken value.
    • The plugin extracts the value field itself, so pasting the whole entry is fine.
  3. ② Conversation directory: click "Load conversations" → the most recent 100 conversations appear (title + date).
  4. For each conversation: pick a workspace, then click "Import as session".
  5. Refresh the page after importing, then open the new session from the sidebar → choose a model → keep chatting.

Example

1. Open Settings → DeepSeek Chat Import
2. Paste the userToken → Save (the status turns "configured")
3. Click "Load conversations" → your DeepSeek conversations appear (title + date)
4. On the "sharp load failure fix" row, pick the workspace dsh-work → click "Import as session"
5. Refresh the page → "sharp load failure fix" appears in the sidebar → open it and continue the conversation

An import writes to persistence only (sessionPersistence) and never enters the live store, which is why an imported session can be opened and continued normally (it never reports cannot prepare session while it is live).


Corrupt session log: diagnosis and repair

That failure is a DSH recovery-cursor bug of its own (session/end-seed is appended separately by a live session, and the post-restart cursor misses it, so a seq gets reused); it is unrelated to this plugin, whose bulk write happens to avoid the trigger. Symptoms, root cause, and the repair are in docs/TROUBLESHOOTING.md (Chinese).


Compatibility (DSH Session format v0–v4)

Every DSH release writes one session format (v0…v4). The plugin adapts to the running build. Measured matrix:

DSH versionSession formatStatus
0.1.0-rc.7 – 0.1.2-rc.1v0✅ verified against the real backend
(unreleased)v1✅ modeled as v0 + runtime dialect evidence
0.1.3-alpha.2v2✅ verified against the real backend
0.1.5-alpha.1 – 0.1.6-alpha.2v3✅ verified against the real backend
0.1.7-alpha.1+ (including desktop 0.2.0-rc.2)v4✅ verified against the real backend

How each row was verified, and where the evidence comes from, is in docs/COMPATIBILITY.md (Chinese). npm test runs the unit tests; sh test/matrix.sh runs the full matrix.

How it works (briefly)

  • Architecture: lib/index.js (host half) registers same-origin JSON routes (/__deepseek-web-import/*) on DSH's webServer; lib/client.js (web client half) calls them with fetch from the settings page. No dynamic-plugin machinery is involved, so the plugin stays installed across restarts.
  • Endpoints (unofficial DeepSeek web internals, confirmed by reverse-engineering their own JS bundle):
    • conversation directory: GET /api/v0/chat_session/fetch_page?count=100
    • conversation history: GET /api/v0/chat/history_messages?chat_session_id=<uuid>
  • Import as session: history messages are translated into valid DSH session events (turn/start → user/message → step/start → assistant/message → step/end → turn/end, surface events carrying surfaceOp: "append", plus session/title and session/end-seed), written to persistence only (v0/v1 through create(meta) + append(id, events), v2+ through the write handle returned by create(header)), and then attached to the chosen workspace with workspace.attachSession — the session never enters the live store, which is what makes it openable and continuable. A history that ends with an unanswered user question keeps its unclosed turn; DSH closes it with interrupted when the session is opened.
  • Body and reasoning: DeepSeek keeps the text in fragments (REQUEST/RESPONSE/THINK). A user question comes from REQUEST; an answer uses RESPONSE as the text and THINK as a reasoning block. Event times come from the message's inserted_at.
  • Network layer: web.fetch cannot carry custom headers, so the plugin runs Node through the subprocess service and sends the request with Authorization: Bearer. The request spec (including that header) travels on the child's stdin, so it never shows up in ps//proc. Certificates are verified first; only a certificate-class failure (an environment whose TLS is intercepted by a proxy or antivirus) retries once without verification and reports insecureTls (one line in the DSH log, visible in Diagnostics) instead of degrading silently. The child bounds the streamed response by characters (~2M) and by bytes (6MB) and reports instead of buffering a huge response into memory.

Known limitations

  • It depends on DeepSeek's unofficial internal API, which can break when the web app is redesigned (use Diagnostics to see the raw response when it does).
  • Password sign-in is blocked by DeepSeek's bot protection (AWS WAF), so the userToken route is the only one.
  • The directory fetches at most 100 conversations: the measured fetch_page response carries only chat_sessions + has_more, with no usable cursor field (cursor/lte_cursor have no effect), so beyond 100 you get the latest 100.
  • userToken expires after some hours to days; copy and save a fresh one when it does.
  • The plugin installs as a bundle through dsh plugin add and stays installed across DSH restarts.
  • Web-search steps (TOOL_SEARCH/TOOL_OPEN fragments) and message status (an INCOMPLETE answer cut off while generating) are not preserved: web search has no DSH event to map onto, so only the text and reasoning are imported; an interrupted answer keeps whatever text/reasoning it had.
  • Importing the same DeepSeek conversation twice creates two DSH sessions (the plugin keeps no "DeepSeek conversation id → DSH session id" mapping) and DSH's persistence offers no delete, so archive the duplicate yourself.

  • The response cap for one import is about 2M characters (a conversation over it returns too_large rather than being silently truncated).
  • An attachment-only message imports as one explicit note; non-conversation roles (SYSTEM/TOOL, …) are ignored.
  • An import follows the single main line returned by history_messages (it does not resolve parent_id branches): if DeepSeek returns sibling branches for an edit/regenerate, they are imported as two consecutive turns.

Security

  • Never leak your account password or userToken in a conversation, issue, or repository.
  • If you have pasted your password into a chat, change your DeepSeek password now.

License

MIT

too_large
  • Interface language: settings-page copy is registered into the host locale namespace (ctx.locale), so it follows the DSH/browser language and falls back to English for unregistered languages (German, say). Without a locale service the module resolves the browser language itself.
  • Token storage: through DSH's credentials service ($DSH_HOME/.credentials.yaml); it is never written into a session or the settings document.