dsh-chat-import
Agent 与工作流Nwflower/dsh-chat-import
将 15 种以上外部 Agent 对话历史导入 DeepSeek Harness 作为可恢复会话,并支持导出与同步。
- agent
- ai-agents
- automation
- chatgpt
- claude-code
- codex
- cursor
- deepseek
- deepseek-harness
- developer-tools
- dsh
- dsh-plugin
- gemini
- import
- jsonl
- migration
- openai
- plugin
- sessions
- transcript
验证与兼容性
这里展示目录实际采集到的证据;未声明的信息会明确标为未知。
- 当前版本兼容性
- 已在当前目录版本验证
- 声明的 Harness 范围
- 未声明
- 声明的平台
- 未声明
- 适用 Profile
- web
- 构建授权
- 未知
- 权限声明
- 未声明
- 外部服务
- 未声明
- 遥测声明
- 未知
这不是安全背书;安装前仍应查看源码、权限和配置。
查看证据与判定范围
验证仅覆盖标出的来源、版本和 Harness 环境,不代表未来版本仍然兼容。
dsh-chat-import@0.6.2- 插件通过清单与静态结构检查,尚未完成运行时加载检查。
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)
- Install via terminal
dsh plugin --profile web add dsh-chat-import # npm package
- Install via Plugin Marketplace
Usage
- 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.
- 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