证据快照复核于 2026-09-16GitHub 数据核对日期: 2026-08-21
证据已验证Plugin Bundle记忆与上下文Web Profile

DSH Chat Import

将受支持 AI Agent 的历史对话导入 DeepSeek Harness,并作为可继续的会话使用。

快速了解

它能做什么

将受支持 AI Agent 的历史对话导入 DeepSeek Harness,并作为可继续的会话使用。

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

使用场景
记忆与上下文上下文会话管理自动化
适配技术
deepseek-harnessWeb
兼容性

Web Profile
Not declared in supplied evidence

可信度与状态

证据已验证
核对日期 2026/9/13 UTC 13:49

有代码证据的贡献

它为 DSH 增加什么

会话导入与导出工具

将受支持 Agent 的对话记录导入为可继续的 DSH 会话;可将 DSH 会话导出为 Claude、Codex 或 Kimi 格式。

机制证据
导入会话面板

提供图形界面面板,用于选择导入内容、查看导入历史和按需配置同步。

机制证据

选择前先看

这是一个 DeepSeek Harness Web 插件,可从列出的 21 种 AI 工具导入历史对话,包括 Claude Code、Codex、ChatGPT、Cursor 和 Gemini CLI。项目文档称会保留工具调用与结果、推理、标题、模型和时间戳等对话元素,并可在 DSH 中重新打开会话继续交流。它还说明支持导出为 Claude、Codex 和 Kimi 格式,以及默认关闭的可选双向增量同步。

适合谁

希望把进行中的编码 Agent 对话迁移到 DSH,或在 DSH 中集中管理会话历史的用户。

常见任务

  • 将选定的本地 Claude Code、Codex、ChatGPT、Cursor 或其他受支持 Agent 对话记录导入 DSH。
  • 打开导入后的会话,并带着已有上下文继续对话。
  • 将 DSH 会话导出为文档说明的 Claude、Codex 或 Kimi 格式。
  • 查看插件导入历史,并在确认后移除由插件创建的会话。

权限与数据

插件处理你选定的本地会话历史路径,并将导入的会话写入 DSH。

权限
  • 读取选定的本地对话记录文件和目录。
  • 根据导入对话创建 DSH 会话。
  • 仅在启用相关功能时,写入导出或同步后的会话数据。
数据处理
  • 导入的对话可能包含原始工具调用、结果、推理、标题、模型和时间戳。
  • 文档说明双向同步默认关闭。
  • 移除插件创建的会话需要确认。
外部服务
  • 提供的证据未声明需要外部服务。
凭据
  • 提供的证据未声明需要凭证。

局限

  • 仅支持项目文档列出的 Agent 格式。
  • 导入时会按文档规则丢弃某些失败且重复的重试工具调用步骤。
  • 同步时默认会过滤子 Agent 对话。
  • 与独立 dsh-movein 项目的组合流程尚未经过联合验证。

DSHub 已核对

  • 包清单标识版本 0.11.3、DSH bundle patch、Web 客户端平台、Node.js >=22.13 及所列 peer dependencies。
  • 提供的 README 说明了安装、图形导入面板、import_chat 用法、导出目标和可选同步。
  • 源代码固定到不可变 Git commit,且 bundle 结构检查已通过。

DSHub 未核对

  • 本次整理未实际执行安装或运行时测试。
  • npm 包内容未经过审计。
  • 提供的证据未声明兼容的 DeepSeek Harness 版本范围。

固定版本安装

安装 DSH Chat Import

这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目

维护者原文

项目 README

查看 commit 1e7a290 对应的 README
维护者编写的上游内容原文于 2026/9/13README.md 获取,正文和仓库相对媒体固定到 commit 1e7a2906bf40,内容哈希为 8c317d4108a8。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。
<div align="center"><img src="./assets/dci-promo.png" alt="DSH Chat Import" width="100%" />

DSH Chat Import

A DeepSeek Harness plugin that imports conversation history from 18+ AI coding tools, so you can continue right where you left off.

All sessions, continued in DSH.

English 简体中文

version downloads GitHub stars GitCode license Awesome DSH Plugin dsh.so install

</div>

Intro

DSH Chat Import imports conversation history with full context from other agents, turning it into a seamlessly resumable DeepSeek Harness session.

Now covers import from 21 agents: Claude Code, Codex, ChatGPT, Cursor, Gemini, Antigravity CLI, Reasonix, opencode, MiMo Code, ZCode, Grok Build, OpenClaw, Pi Coding Agent, Hermes, Kimi CLI / Kimi Code, Kilo Code, Qoder CLI, WorkBuddy, Qwen Work CN (千问办公) and DSH session logs.

Export back to: Claude Code, Codex, Kimi Code.

Supported Agents

Claude Code<br>Claude Code Codex<br>Codex ChatGPT<br>ChatGPT Cursor<br>Cursor Gemini<br>Gemini CLI Antigravity<br>Antigravity CLI
Reasonix<br>Reasonix OpenCode<br>OpenCode MiMo Code<br>MiMo Code Kilo Code<br>Kilo Code ZCode<br>ZCode
Grok Build<br>Grok Build OpenClaw<br>OpenClaw Pi Coding Agent<br>Pi Coding Agent Hermes<br>Hermes Kimi CLI<br>Kimi CLI
Qoder CLI<br>Qoder CLI WorkBuddy<br>WorkBuddy Qwen Work CN<br>Qwen Work CN DSH<br>DSH

Install

dsh plugin --profile web add dsh-chat-import                    # npm package
dsh plugin --profile web add -w link:/path/to/dsh-chat-import   # local checkout (symlink)

Usage

  1. Import — pick the conversations to import from the "Import sessions" panel in the bottom-right of the GUI and import with one click, or have your agent call the context tool:
import_chat({ format: "claude", path: "~/.claude/projects" })
import_chat({ format: "chatgpt", path: "~/Downloads/chatgpt-export/conversations.json" })
import_chat({ format: "local-jsonl", path: "D:\downloads\session.jsonl" })

Reasonix directory imports conservatively collapse only recovery ancestors proven by both a strict semantic prefix and an explicit parent_id lineage. Ambiguous or divergent files remain separate; use lineageMode: "physical" for one session per JSONL.

  1. Resume — refresh the session list, open the imported session, and keep chatting from where the source left off.

  2. Sync (optional) — the panel's "Sync" tab offers bidirectional incremental sync, off by default. Sub-agent conversations are filtered out by default in both directions.

  3. Tool injection (optional) — the "Session Import" settings section exposes three injectTools levels: Minimal (default, keeps only the import_chat entry tool resident; low-frequency management tools stay out of context), Full (all 13 tools), and Off (invisible to the agent; the GUI panel still works). Tool descriptions are slimmed down to selection-time essentials; behavioral details ride along in execution results and error text, only when needed.

Full tool / command usage (parameters, examples, edge cases) lives in docs/USAGE.md.

Companion tool: config migration

Only need to migrate configuration (skills, hooks, global settings) rather than conversation history? dsh-movein handles config migration and complements this plugin -- DSH Chat Import only handles conversation history, and each tool works standalone. Its first-migration guide (中文) walks through a preview-first, apply-second, verify-each-step flow.

The combined flow of the two tools has not been jointly validated, and cross-linking is not a mutual endorsement; check sources, targets, duplicate-import and retraction boundaries for each tool separately.

This plugin's import_agents is a lightweight asset mover (it persists pi/opencode/Claude/Codex agents, prompts and skills as DSH skills); for full config migration (hooks, permission rules, settings), use dsh-movein.

Features

Capability Entry points Description
Batch import import_chat (20 formats) · scan_discover · sidebar panel Import 19+ sources with one tool; each conversation becomes its own session
Import history & purge sidebar panel History tab View imports.json records; remove plugin-created sessions (with confirmation)
Full-fidelity resume Imported sessions Tool calls & results, reasoning, titles, models and timestamps carry over
Export back export_chat (format: claude / codex / kimi) Serialize DSH sessions back to Claude / Codex / Kimi
Bidirectional sync panel "Sync" tab Incremental sync in both directions (external ↔ DSH), off by default

One documented exception to full fidelity: failed ghost retry steps. When a tool call never received its result and the very next step re-emits the same call id verbatim, the dead step is dropped at import — the result already pairs with the re-emitted call. Duplicate call ids in the imported log would hard-fail DSH's conversation folding (a second start for the same id), swallowing the whole trajectory after the first duplicate. See the droppedRetrySteps counter on the converter result.

Docs

Document Description
Usage Reference Full parameters, examples and edge cases for every tool / command
Interchange protocol Interchange v1 protocol and bundle format
Changelog Version history
Roadmap Shipped / planned
Contributing Development setup, commit rules, security & privacy

Star History

Star History Chart

有意识地管理

安装与管理

前置条件与目标 Profile

目标 Web Profile

交付方式 Git Bundle — Nwflower/dsh-chat-import#1e7a2906bf4094d1af43edbe1a6878c44af78442

验证、更新与移除

显示生命周期命令
验证
dsh plugin --profile web list

兼容性与访问范围

DeepSeek Harness web bundle; Node.js 22.13+ declared Not declared in supplied evidence

检查兼容性证据

风险事实

local-data-access

Reads conversation-history files and directories you choose for import.

证据
data-write

Creates DSH sessions; optional export and bidirectional sync can write conversation data to selected external formats or locations.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

AI 已审查

导入敏感对话前请检查本地路径和目标会话数据;除非确实希望传播变更,否则保持同步关闭。

AI 审查于 2026/9/13 UTC 13:49GitHub 事实核对日期: 2026/9/13 UTC 13:49

自当前证据基线以来,没有记录到重要源码变化。

下一步

按 Plugin 安装流程操作

订阅重要变化: DSH Chat Import