DeepSeek Harness Plugin

Nwflower/dsh-chat-import

Stars ★ 209 Downloads (30d) 19,467 Category Sessions & Messages Added 2026-08-13 npm dsh-chat-import

Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-chat-import

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Nwflower/dsh-chat-import

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

DSH Chat Import

A session import plugin built on DeepSeek Harness: import conversation history from external agents with one click and continue chatting in DeepSeek Harness.

All sessions, continued in DSH.

Supported Data Sources

Install

Requires dsh ≥ 0.1.5-rc.1 — verified on the 0.1.x line and on 0.2.0-rc.1 (dsh-tools must satisfy >=0.1.0-rc.6 <0.3.0)

  1. Install via terminal
dsh plugin --profile web add dsh-chat-import                    # npm package
  1. Install via Plugin Marketplace

Usage

  1. Import conversations via GUI Open the import window from the "Import sessions" button at the bottom of the left sidebar (with the DSH Claude Style theme, that button sits in the account menu at the bottom left), select the conversations you want to import, and import with one click. When the file in hand comes from somewhere else (a web-app export, your own script, a tool this plugin does not list), use Import from file at the top of the same window: type a local path and press Enter, or press Choose… to pick files; when the path is a directory it asks whether to search subfolders. Confirm in the preview, then import (a failed detection lists every candidate parser's reason and points at the skill that converts the format).

These screenshots also use the DeepSeek palette of the author's other theme plugin, DSH Claude Style: it recreates the look and feel of Claude Code Desktop inside DSH, in a Claude palette and a DeepSeek one. If the default theme is not quite your taste, give it a try. The workspaces and sessions in the screenshots are sample data.

  1. Import via Agent tool calls
# Example call formats
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" })

Configuration

For TUI compatibility, plugin-provided tools are injected into context by default. You can configure the import tools in Settings to not inject into context or inject partially, which saves a significant amount of tokens.

For full tool / command usage, see docs/USAGE.md.

Features

Capability Entry Point Description
Import Sidebar panel "Import" tab Import conversations from other agents, preserving reasoning, tool call results, and system prompts (optional)
Import from file Panel "Import from file" / /import auto <path> Any local file or directory: three-level detection (explicit format > content marker > parser trial), preview first, an optional "search subfolders?" prompt for directories, and — when every parser fails — a ready-to-send agent task brief plus a registered dsh-chat-import-convert skill
Retract Import Sidebar panel "History" tab View import history and delete sessions created by this plugin with one click
Export Context tool Serialize DSH sessions back to external agents
Ignore Automatic + /ignores commands Archive / delete / workspace-removal auto-registers the source so rescans skip it; /ignore, /unignore manage the table

Docs

Document Description
Usage Reference Full parameters, examples, and edge cases for every tool / command
Interchange Protocol Interchange v1 protocol and bundle format
Conversion Guide Agent-facing skill instructions: convert any transcript into an importable interchange v1 document
Settings Migration DSH 0.1.5 → 0.1.7 plugin settings-page migration (measured errors, compatibility recipe)
Changelog Version history
Roadmap Shipped / planned
Contributing Development setup, commit rules, security & privacy

Related Links

Only need to migrate configuration (skills, hooks, global settings, etc.) rather than conversation history? Recommended: dsh-movein

Star History

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.