Nwflower/dsh-chat-import ↗★ 155
dsh-chat-import
将多种AI工具的历史对话导入为DSH会话
AI 分析
适合需要将Claude、ChatGPT、Cursor等工具的历史记录迁移并继续在DSH中对话的用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Nwflower/dsh-chat-import說明文件
閱讀完整 README ↗Usage
- Import — pick the conversations to import from the "Import sessions" panel in the bottom-right of the GUI and import with one click, or have your agent call the context tool:
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" })
Reasonix directory imports conservatively collapse only recovery ancestors proven by both a strict semantic prefix and an explicit parent_id lineage. Ambiguous or divergent files remain separate; use lineageMode: "physical" for one session per JSONL.
-
Resume — refresh the session list, open the imported session, and keep chatting from where the source left off.
-
Sync (optional) — the panel's "Sync" tab offers bidirectional incremental sync, off by default. Sub-agent conversations are filtered out by default in both directions.
-
Tool injection (optional) — the "Session Import" settings section exposes three
injectToolslevels: Minimal (default, keeps only theimport_chatentry tool resident; low-frequency management tools stay out of context), Full (all 13 tools), and Off (invisible to the agent; the GUI panel still works). Tool descriptions are slimmed down to selection-time essentials; behavioral details ride along in execution results and error text, only when needed.
Full tool / command usage (parameters, examples, edge cases) lives in docs/USAGE.md.