wpc0323/deepseek-web-import
DeepSeek Web 对话导入
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that imports conversation history from the official DeepSeek web chat (chat.deepseek.com) into DSH as persistent, resumable sessions. To install the plugin, you just run the command dsh plugin add wpc0323/deepseek-web-import in your terminal, then restart DSH to activate it. Once installed, you will see a new entry labeled "DeepSeek Conversation Import" in the DSH settings sidebar, where you can paste your DeepSeek userToken to get started. To get your userToken, you open chat.deepseek.com in your browser, open the developer tools with F12, navigate to Local Storage under the Application tab, and copy the full value of the userToken entry. The plugin will automatically extract the value field from the copied content, so you do not need to edit it before pasting.
This plugin is designed for users who switch between DeepSeek's web chat and DSH, or want to move existing web conversations to DSH to continue working on them. After pulling your conversation list, you can select any conversation, choose a target DSH workspace, and import it as a new session in one click. Imported sessions are stored persistently in DSH's ~/.dsh/sessions/<workspace>/ directory, so they remain available after you restart DSH. Unlike manual imports that can cause active session errors, this plugin writes directly to persistent storage, so you can open and resume any imported session immediately. After you finish importing, you will need to refresh the DSH web page for the new session to appear right away in your workspace list.
This plugin is released under the open source MIT license, so it is free to use and modify. It relies on non-public internal APIs from DeepSeek's web chat, which means the plugin can stop working if DeepSeek changes their website structure. When that happens, you can use the built-in diagnostic area to view the raw API response and troubleshoot the issue. There are several known limitations: you can only pull up to 100 conversations at a time, userTokens expire after a few hours to days, and password login is often blocked by DeepSeek's AWS WAF human verification. You should never share your userToken or DeepSeek account credentials publicly in issues, chat messages, or anywhere else online.
这是一款专为 DeepSeek Harness (DSH) 开发的原生插件,功能是将 chat.deepseek.com 网页端的历史对话导入为 DSH 的正式会话。项目自带符合规范的 dsh.bundle 清单,可通过 DSH 内置的 dsh plugin add wpc0323/deepseek-web-import 命令直接安装。安装完成并重启 DSH 后,设置面板侧边会新增「DeepSeek 对话导入」入口,粘贴 DeepSeek 的 userToken 即可一键拉取对话列表,还能为每条对话选择目标工作区完成导入。
如果你经常同时使用 DeepSeek 网页端和 DSH,或是需要将网页端已有的对话迁移到 DSH 中继续会话,这个插件可以帮你省去手动复制粘贴对话的麻烦。导入后的会话会正常显示在 DSH 左侧工作区列表中,保留原对话标题,可直接打开查看完整历史,还能选择模型继续对话,不会出现 DSH 常见的「无法在会话活跃时准备会话」报错。插件支持自动提取 userToken 中的 value 字段,用户直接复制整段内容粘贴即可,无需手动提取处理。
本插件采用 MIT 许可开源免费使用,它依赖 DeepSeek 网页端的非官方内部接口,功能可能随 DeepSeek 网页改版而失效,出现问题可通过插件内置的诊断区查看原始响应排查。目前已知限制包括:一次最多拉取 100 条对话,userToken 存在时效性,有效期从数小时到数天不等,失效后需要重新复制粘贴。导入完成后需要手动刷新 DSH 网页,新导入的会话才会立刻显示在左侧工作区列表中。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:deepseek-web-import(wpc0323/deepseek-web-import)
仓库:https://github.com/wpc0323/deepseek-web-import
本站详情页:https://www.yhbd.top/plugins/wpc0323-deepseek-web-import/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-09-29 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin add wpc0323/deepseek-web-import
把 wpc0323/deepseek-web-import 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DeepSeek Web 对话导入(DeepSeek Harness 插件)
将 chat.deepseek.com 网页端的历史对话导入为 DeepSeek Harness (DSH) 的正式会话:导入后会话出现在左侧工作区列表中,可以打开、查看完整历史,并选择模型继续对话。
本项目是一个可安装的 DSH 插件包(
dsh.bundlemanifest:host 半部 + web client 半部),可通过dsh plugin add安装。安装方式见下文「安装」。
✨ 功能
- 设置面板新增 「DeepSeek 对话导入」 页面
- 粘贴
userToken后一键拉取对话目录(仅显示标题 + 日期,不展开正文) - 每条对话可选目标工作区,一键导入为 DSH 会话
- 导入的会话:
- 显示 DeepSeek 里的原标题
- 可在其中选模型继续对话(走 DSH 正常 resume 路径,不会报
cannot prepare session while it is live) - 持久化在
~/.dsh/sessions/<工作区>/下,重启 DSH 后仍在
- 自动提取
userToken中的value字段(兼容{"value":"...","__version":"0"}格式) - 内置「诊断」区,接口变更时可直接 GET 原始响应排查
⚠️ 重要提示
导入对话后请刷新网页(F5),左侧工作区才会立即显示新导入的会话。
若不刷新,新会话可能要到下次会话列表刷新/重连后才出现。
安装
插件声明了 dsh.bundle(见 package.json),可通过 dsh plugin add 安装:
dsh plugin add wpc0323/deepseek-web-import
说明:安装后重启 DSH,设置 → 左侧会出现 「DeepSeek 对话导入」 页面。仓库中的
lib/index.js是 host 半部(提供同源 JSON 路由),lib/client.js是 web client 半部(设置页 UI);二者通过webServer路由 +fetch通信。
使用
- 打开 设置 → DeepSeek 对话导入。
- ① 登录态:粘贴
userToken→ 保存。- 获取:浏览器登录 chat.deepseek.com →
F12→Application→Local Storage→ 复制userToken的值。 - 插件会自动提取其中的
value字段,直接复制整段即可。
- 获取:浏览器登录 chat.deepseek.com →
- ② 对话目录:点「获取对话目录」→ 显示最近 100 条对话(标题 + 日期)。
- 每条对话旁:选择工作区 → 点「导入为会话」。
- 导入对话后请刷新网页,然后在左侧工作区点开新会话 → 选模型 → 继续对话。
示例
1. 打开设置 → DeepSeek 对话导入
2. 粘贴 userToken → 保存(状态变为「已配置」)
3. 点「获取对话目录」→ 看到你的 DeepSeek 对话列表(标题 + 日期)
4. 在「sharp加载失败解决」那一行选工作区 dsh-work → 点「导入为会话」
5. 刷新网页 → 左侧工作区出现「sharp加载失败解决」→ 点开即可继续对话
导入只写持久化(
sessionPersistence),不进入 live store,因此导入的会话可以被正常打开、续聊(不会报cannot prepare session while it is live)。
会话日志损坏(corrupt session log)排查与修复
这是 DSH 自身的恢复游标问题(session/end-seed 由活动会话单独 append、重启后游标漏算导致 seq 复用),与本插件无关;插件的导入方式(整批写入)恰好避开了触发。现象、根因、修复方法见 docs/TROUBLESHOOTING.md。
兼容性(DSH Session 格式 v0–v4)
DSH 每个版本写入一种会话格式(v0…v4),插件按运行中的版本自适应,实测矩阵:
| DSH 版本 | Session 格式 | 状态 |
|---|---|---|
| 0.1.1-rc.2 – 0.1.2-rc.1 | v0 | ✅ 真实后端实测 |
| (未发布) | v1 | ✅ 按 v0 建模 + 运行时方言证据 |
| 0.1.3-alpha.2 | v2 | ✅ 真实后端实测 |
| 0.1.5-rc.2 – 0.1.6-alpha.2 | v3 | ✅ 真实后端实测 |
| 0.1.7-rc.2+ | v4 | ✅ 真实后端实测 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
Tyan66666/billion-context-dsh
qkycir-123/dsh-run2skill