一个 dsh 插件:把 16+ 种外部 Agent 的聊天历史以可续接会话导入 DeepSeek Harness,并支持导出 / 同步回去——来源只读、完整保真、MIT 协议。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-08-25
许可证
MIT
01它能帮你完成什么?
把外部 Agent 的过往对话带进 DeepSeek Harness
完整保真、可续接的 DeepSeek Harness 会话——保留工具调用、推理、标题、模型与时间戳——并按来源工作区分组
从 Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix 等 16+ 种 CLI 迁过来、希望继续在 DeepSeek Harness 里聊天的开发者与 Agent
把 DeepSeek Harness 会话送回 Claude Code、Codex 或 Kimi
可由 `--resume` 加载的 Claude Code JSONL、Codex rollout、Kimi wire 文件,或带 SHA-256 指纹、可跨机恢复的便携交换包
在 DeepSeek Harness 与其他 Agent 之间来回搬运工作、需要备份 / 交接 / 互通的团队
一次性批量导入整个本地 Agent 历史
每个会话生成一条全新 DSH 会话,可用 `scan_discover()` 只读预览、在侧边栏面板多选导入;`/import-all` 导入全部
希望把某个目录或数据库(Claude / OpenCode / Pi / Hermes)里的全部会话汇总到 DeepSeek Harness 的用户
02如何接入 DeepSeek Harness?
前置条件
- Node.js ≥ 22.13
- DeepSeek Harness (dsh) CLI, targeting dsh 0.1.x (tested on 0.1.0-rc.6 / 0.1.0-rc.7)
安装步骤
- 01
Install from npm: `dsh plugin --profile web add dsh-chat-import`
$ dsh plugin --profile web add dsh-chat-import
- 02
Or link a local checkout: `dsh plugin --profile web add -w link:/path/to/dsh-chat-import`
$ dsh plugin --profile web add -w link:/path/to/dsh-chat-import
- 03
Then call any `import_*` tool in a DSH session, e.g. `import_claude({ path: "~/.claude/projects" })`
验证接入成功
作者未说明
回滚
- Uninstall: remove the `import-claude` insert line from your profile's bundles and restart dsh; imported sessions stay untouched and the plugin never auto-deletes.
03DSH 适配与能力边界
通过 `dsh plugin --profile web add dsh-chat-import` 以 dsh 插件形式接入;在 DeepSeek Harness 会话内注册 `import_*` / `export_*` / `sync_to_*` 工具,并以只读方式读取来源记录。
从 16+ 种来源批量导入
外部 Agent 的单个文件 / 目录 / 数据库(Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix、opencode、Kimi、DSH 日志等)→每次会话生成一条完整保真、可续接的 DeepSeek Harness 会话,按来源工作区分组
矩阵导出与同步
一条 DeepSeek Harness 会话→Claude Code JSONL(`--resume` 可续接)、Codex rollout、Kimi wire 文件,或带 SHA-256 指纹、可跨机恢复的便携交换包
Agent 资产迁移
pi / opencode / Claude / Codex 的 agents、prompts、skills、instructions→持久化的 DSH skills
只读审计 / 体检
已导入或已迁移的会话→结构审计与迁移健康检查
04适合谁?何时不该用?
适合
- 从 Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix 等 16+ 种 CLI 迁过来、希望继续在 DeepSeek Harness 里聊天的开发者与 Agent
- 在 DeepSeek Harness 与其他 Agent 之间来回搬运工作、需要备份 / 交接 / 互通的团队
- 希望把某个目录或数据库(Claude / OpenCode / Pi / Hermes)里的全部会话汇总到 DeepSeek Harness 的用户
不适合
- 在工作区之外读取来源或写出导出文件,需要会话沙箱允许该路径。
05兼容性、维护与安全提示
- 在工作区之外读取来源或写出导出文件,需要会话沙箱允许该路径。
- Claude Code 的记录不会持久化 system prompt,因此「导入 system prompt」开关对该来源无效(no-op)。
- 来源格式无法保留的内容会在导入报告中明确标注,而不是被静默丢弃。
MIT · 活跃维护中(最新发布 v0.7.0,2026-08-23)
06常见问题
怎么安装 dsh-chat-import?
运行 `dsh plugin --profile web add dsh-chat-import` 安装 npm 包,或用 `dsh plugin --profile web add -w link:/path/to/dsh-chat-import` 链接本地目录。需要 Node.js ≥ 22.13,目标 dsh 0.1.x。
支持从哪些 Agent 导入?
Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix、opencode、MiMo Code、ZCode、Grok Build、OpenClaw、Pi、Hermes、Kimi CLI / Kimi Code、Qoder CLI、DSH 会话日志以及任意本地 JSONL——共 16+ 种来源。
导入会修改我原来的记录吗?
不会。来源记录与数据库以只读方式读取、绝不改写;DSH 引擎不被触碰,导入后的历史为追加式。每次导入都会成为一条全新会话。
可以把 DeepSeek Harness 会话送回其他 Agent 吗?
可以。`export_claude` 把 DSH 会话序列化为可由 Claude Code 通过 `--resume` 加载的 JSONL;`export_codex` 面向 Codex,`export_kimi` 面向 Kimi;`export_bundle` / `restore_bundle` 生成带 SHA-256 指纹的便携交换包。
怎么卸载?
从你 profile 的 bundles 中删除 `import-claude` 插入行并重启 dsh。已导入的会话保持不变,插件不会自动删除任何内容。
07相关的 DSH 工作流
weknora
作者 tencent
开源的 LLM 知识库平台:把原始文档转化为可检索的 RAG 知识库、自主推理智能体和自动维护的 Wiki 系统,支持多租户部署。
honcho
作者 plastic-labs
用于构建有状态 AI 智能体的记忆库,支持跨会话连续学习与上下文工程。
mirage
作者 strukto-ai
全球首个面向 AI 智能体的统一虚拟文件系统。
reme
作者 agentscope-ai
ReMe:面向 AI Agent 的记忆管理套件——帮 Agent「记住我、优化我」,支持 RAG 与长期记忆。
08数据与来源
Import 15+ external agent conversation histories into DeepSeek Harness as full-fidelity, resumable sessions — and export…
as **full-fidelity, resumable DeepSeek Harness sessions**
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-25。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
