跳过主要内容
N

dsh-chat-import

nwflower/dsh-chat-import

把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。

安装

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

README

DSH Chat Import

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.

English 简体中文

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

Supported Data Sources

Claude Code
Claude Code
Codex
Codex
Gemini CLI
Gemini CLI
Goose
Goose
Crush
Crush
Qoder CLI
Qoder CLI
Kimi CLI
Kimi CLI
Kimi Code
Kimi Code
Reasonix
Reasonix
OpenCode
OpenCode
MiMo Code
MiMo Code
ZCode
ZCode
Grok Build
Grok Build
OpenClaw
OpenClaw
Kilo Code
Kilo Code
Pi Coding Agent
Pi Coding Agent
Hermes
Hermes
Cursor
Cursor
Cline
Cline
Continue
Continue
Zed
Zed
Antigravity
Antigravity
ChatGPT
ChatGPT
WorkBuddy
WorkBuddy
Qwen
Qwen
DSH
DSH
TeleAgent
TeleAgent
Local JSONL
Local JSONL

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.
Import panel — light Import panel — dark

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

CapabilityEntry PointDescription
ImportSidebar panel "Import" tabImport conversations from other agents, preserving reasoning, tool call results, and system prompts (optional)
Retract ImportSidebar panel "History" tabView import history and delete sessions created by this plugin with one click
ExportContext toolSerialize DSH sessions back to external agents
IgnoreAutomatic + /ignores commandsArchive / delete / workspace-removal auto-registers the source so rescans skip it; /ignore, /unignore manage the table

Docs

DocumentDescription
Usage ReferenceFull parameters, examples, and edge cases for every tool / command
Interchange ProtocolInterchange v1 protocol and bundle format
Settings MigrationDSH 0.1.5 → 0.1.7 plugin settings-page migration (measured errors, compatibility recipe)
ChangelogVersion history
RoadmapShipped / planned
ContributingDevelopment setup, commit rules, security & privacy

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

Star History

Star History Chart

相关插件