dsh-chat-import
Manifest valid★ 263Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable se
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.
Intro
DSH Chat Import imports conversation history with full context from other agents, turning it into a seamlessly resumable DeepSeek Harness session.
26 agents plus any local JSONL are covered today — the full list is under Supported Agents. Export back to: Claude Code, Codex, Kimi Code.
Supported Agents
Every source below becomes an independent DSH session, with tool calls, tool results and reasoning kept intact.
Terminal agents
Claude Code | Codex | Gemini CLI | Goose | Crush |
Qoder CLI | Kimi CLI | Kimi Code | Reasonix | OpenCode |
MiMo Code | ZCode | Grok Build | OpenClaw | Kilo Code |
Pi Coding Agent | Hermes |
IDE & editor agents
Cursor | Cline | Continue | Zed | Antigravity CLI |
Chat, office tools & harness
ChatGPT | WorkBuddy | Qwen Work CN | DSH | Local JSONL |
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
- 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.
-
Resume — refresh the session list, open the imported session, and keep chatting from where the source left off.
-
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.
-
Tool injection (optional) — the "Session Import" settings section exposes three
injectToolslevels: Minimal (default, keeps only theimport_chatentry 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 (Chinese) 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 (25 formats) · scan_discover · sidebar panel | Import 24+ 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
startfor the same id), swallowing the whole trajectory after the first duplicate. See thedroppedRetryStepscounter 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
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.1 | — | — |
| 0.2.0 | — | — |
| 0.3.0 | — | — |
| 0.3.1 | — | — |
| 0.4.0 | — | — |
| 0.5.0 | — | — |
| 0.5.1 | — | — |
| 0.6.0 | — | — |
| 0.6.1 | — | — |
| 0.6.2 | — | — |
| 0.7.0 | — | — |
| 0.8.0 | — | — |
| 0.8.1 | — | — |
| 0.8.2 | — | — |
| 0.10.0 | — | — |
| 0.10.1 | — | — |
| 0.11.0 | — | — |
| 0.11.1 | — | — |
| 0.23.2 | — | — |
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by kkkkkkkkki
Import chat history & memory from other AI agents (Claude Code, Codex, Gemini CLI, Aider, Cline, OpenCode, Hermes, OpenClaw) into DeepSeek Harness
★ 0
MIT
TypeScript
Aug 16, 2026
dsh plugin --profile web add @ersss/dsh-migrateby Chang-Tong
Import pi / opencode / codex / claude-code sessions, chat history, and agents into DeepSeek Harness — one-click Sync button, slash commands, session-start migration prompt
★ 20
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-import-agentsby vit-cerny
Import the models, providers, API keys and OAuth logins that other agent harnesses keep on your machine (opencode, Codex/ChatGPT, Claude Code, Gemini, Qwen, .env) into DeepSeek Harness, with a clean S
★ 0
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-import-modelsby Shiye-10Pages
Brings your existing Claude / ChatGPT history into DSH: instant zero-token import of the memories.json inside a Claude export, local Claude Code transcripts with no export needed, and conversations di
★ 1
↓ 183/wk
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-memory-porterby chameleonn4
DSH 插件:自动读取本地 Codex 会话历史,让 DeepSeek Harness 与 Codex 无缝衔接
★ 2
MIT
JavaScript
Oct 27, 2026
dsh plugin --profile web add dsh-codex-historyby MJorgin
⚡ DSH 指挥家 / Conductor for DeepSeek Harness — in-session dispatch to 11 external agent CLIs (Codex, Claude Code, TraeCode, OpenCode, Gemini, Cursor, Kimi, Qwen, Copilot, WorkBuddy, Grok). Zero-dep skil
★ 14
MIT
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-agent-conductor