dsh-chat-import: A Session Migration DSH plugin for DeepSeek Harness, Importing Histories from 14 Agents
nwflower/dsh-chat-import
Import 14 external agent chat histories into DeepSeek Harness as resumable sessions, with export/sync back.
Import full-fidelity conversation histories from Claude Code, Codex, ChatGPT and more into DeepSeek Harness, with reverse export back to Claude Code.
dsh plugin --profile web add github:nwflower/dsh-chat-import- Category
- Sessions & Messages
- Platform
- DSH-Plugin
- Author
- nwflower
- Distribution
- Plugin
dsh-chat-import Key Features
dsh-chat-import Repository

dsh-chat-import Repo Summary
dsh-chat-import is a session migration plugin (DSH plugin) for DeepSeek Harness, maintained by Nwflower under the MIT license. It imports conversation histories from 14 external agent tools—including Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi Coding Agent, Hermes, Kimi CLI, and DSH's own session logs—into DeepSeek Harness as full-fidelity, resumable sessions. It solves the pain point of losing historical context when switching between multiple agent tools, letting you seamlessly continue the reasoning process of other agents within DSH. Core capabilities include one-click import, batch import, full fidelity (tool calls, reasoning blocks, titles, models, timestamps), resumable sessions, and reverse export/sync back to Claude Code.
What import sources does the dsh-chat-import DSH plugin support?
The plugin provides a dedicated tool for each source, covering 14 mainstream agent tools, including Claude Code's JSONL transcripts, Codex rollout files, ChatGPT and Cursor session data, Gemini conversation records, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi Coding Agent, Hermes, Kimi CLI, and local JSONL files. Source files are read in a read-only manner, never rewritten, and the DSH engine itself is untouched. Each import becomes a fresh session grouped under the workspace of its source cwd for easy management.
How do I install and configure dsh-chat-import?
Use the following command to add the plugin via DSH's plugin management:
dsh plugin --profile web add github:nwflower/dsh-chat-import
After installation, the plugin registers in DSH's session sidebar, where you can select the import source and execute the import. The plugin requires Node.js 22.13 or higher and depends on official packages like @deepseek-ai/dsh-tools and @deepseek-ai/dsh-client-locale, ensuring deep integration with DeepSeek Harness.
How does dsh-chat-import achieve full-fidelity session import?
The plugin preserves as much as possible from the source records—tool calls and results, thinking blocks, titles, model info, and timestamps—for "full fidelity." In batch import mode, you can point to a directory or an entire database, and each file or conversation becomes its own session with a per-file summary. Imported sessions can be seamlessly resumed in DSH, continuing the conversation without losing context.
Does dsh-chat-import support reverse export and sync to Claude Code?
Yes. The plugin provides an export_claude command that serializes a DSH session into a Claude Code JSONL transcript that Claude Code can load with --resume (read-only, never modifying DSH logs). Additionally, sync_to_claude incrementally appends a session's new turns back to a Claude Code file, guarded to never silently overwrite. This enables bidirectional migration, making it easy to switch back and forth between tools.
What is the compatibility and project status of dsh-chat-import?
The plugin is maintained by Nwflower, licensed under MIT, created on 2026-08-13, and last updated on 2026-08-16. It currently has 42 stars, 8 forks, and 0 open issues. It is listed in Awesome DeepSeek Harness and Awesome DSH Plugins, indicating an actively maintained community plugin.