DSH Chat Import plugin
A DeepSeek Harness plugin that imports chat history from Claude Code, Codex, Cursor and other agents to continue in DSH.
- 309 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- The plugin reads local session directories of other agents and can move a source file to the Recycle Bin when the user asks.
Install
Manual install
dsh plugin --profile web add dsh-chat-importThe first README Install command installs the plugin npm package. The alternative is the Plugin Marketplace.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The plugin reads local session directories of other agents and can move a source file to the Recycle Bin when the user asks.
This is third-party code. Review the repository files before installing.
What it does
DSH Chat Import, a plugin for DeepSeek Harness (DSH), discovers local sessions of other agents and turns them into DSH sessions. The README lists the sources: Claude Code, Codex, Gemini CLI, Goose, Cursor, Cline, Copilot, ChatGPT and many more. A file from an unknown source goes through the `local-jsonl` format. Import starts from the Import sessions button in the sidebar or from an agent calling `import_chat`. A list row opens as a read-only preview, rows can be searched by title or message text, and unwanted sessions can be hidden. The reverse direction exists too: DSH sessions serialize into other agents' formats.
Who it is for. DeepSeek Harness users moving over from Claude Code, Codex or Cursor who do not want to lose the context built up in earlier conversations.
Good fit when
- Old Claude Code conversations need to open in DSH and continue from the same point.
- You want to inspect a session in preview mode before importing it.
- A ChatGPT export sits in `conversations.json` and the conversation must go on in DSH.
- One session has to land in a specific workspace of the left sidebar.
Not a fit when
- You work without DeepSeek Harness: the plugin installs only into it.
- You need to migrate skills, hooks and global settings. The README names a separate `dsh-movein` for that.
- The history holds private data that must not be copied into other sessions.
Example request
List the discovered Claude Code sessions and import the selected one into the current project workspace.Limitations
It needs dsh 0.1.5-rc.1 or newer. Verification covered the 0.1.x and 0.2.x lines, and dsh-tools must satisfy `>=0.1.0-rc.6 <0.3.0`. The plugin reads local session files of other agents, for example from `~/.claude/projects`, and sees the full text of conversations. A timestamp inside a truncated Codex transcript record can be missed. A Claude Code fork session opens with a copy of its parent's history, so the parent and the fork overlap on one stretch.
How to disable. Remove the plugin with DSH tooling. Imported sessions stay: delete them from the History tab or manually. The plugin tools can also be switched off in settings without removing it.
FAQ
Which sources does import understand?
The README list is long: Claude Code, Codex, Gemini CLI, Goose, Cursor, Cline, Copilot, ChatGPT, Qwen and more. A file from another source goes through Import from file; if no parser fits, the plugin shows why and points to a conversion skill.
How do I start an import from an agent?
Call `import_chat` with a format and a path, for example `import_chat({ format: "claude", path: "~/.claude/projects" })`.
Can an import be undone?
Yes. The History tab lists the sessions the plugin created, and they can be deleted.
How many tokens do the plugin tools take?
By default their descriptions are injected into context. Settings switch them to not injected or to partial injection, which saves a fair number of tokens.
What if I need settings rather than history?
Use `dsh-movein`: the README names it for migrating skills, hooks and global settings.
Discussion
No questions or reviews yet.
Related
Pluginsdsh-baton hands tasks from Claude Code or Codex to a local DeepSeek Harness and brings the result back with checks.
A DeepSeek Harness plugin for a standing team of agents with memory, projects, task owners and verification by a second member
A DeepSeek Harness plugin: Claude Code, Codex, Antigravity and Grok dispatch work to DSH agents, progress in the native task panel
A DeepSeek Harness plugin: recent talks stay detailed, older ones compress, and key facts live as events with sources.
GigaChat plugin for DeepSeek Harness: an OAuth2 proxy
dsh-llm-gigachat
A DeepSeek Harness plugin that adds Sber GigaChat models to the regular model picker with a built-in OAuth2 proxy and automatic provider setup
DeepSeek Harness is an open-source AI agent from DeepSeek where every feature is a plugin. It runs in the browser, on macOS and on Windows.
README in short
The plugin reads sessions of other agents, previews, imports and exports conversations, and import history can be retracted.