返回目录
开发工具 插件

dsh-chat-import

Nwflower/dsh-chat-import

Import conversation history from 25+ AI coding agents into DeepSeek Harness as resumable sessions — tool calls, reasoning and results kept intact, with reverse export and sync. | 把 25+ AI 编程 Agent 的聊天记录导入 DeepSeek Harness 继续对话,保留工具调用、推理与结果,支持反向导出与同步。

Stars
210
Forks
29
Issues
2
更新
3 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

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

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

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
Trae Work
Trae Work
Mistral Vibe
Mistral Vibe
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. 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).
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

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

Star History Chart

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类开发工具
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: automation、chatgpt、claude-code、developer-tools、jsonl、migration、sessions。