DSH Chat Import
A session import plugin built on DeepSeek Harness: import conversation history from other agents with one click, then keep talking in DeepSeek Harness.
All sessions, continued in DSH.
接入你的智能体
发布者自己的命令。不是 PlugMCP 端点。
用我们的密钥与日志托管一份副本。
npx -y @chatcode/[email protected]Claude Code 没有针对本地命令的安装链接。复制下方命令并在终端中运行。
claude mcp add chatcode-cco-chat-import -- npx -y @chatcode/cco-chat-import@0.17.4在终端中运行。
{ "mcpServers": { "chatcode-cco-chat-import": { "command": "npx", "args": [ "-y", "@chatcode/[email protected]" ] } }}claude_desktop_config.json
远程 URL 还是本机命令? 两种安装方式的区别
来自发布者
A session import plugin built on DeepSeek Harness: import conversation history from other agents with one click, then keep talking in DeepSeek Harness.
All sessions, continued in DSH.
Import Claude Code / Codex / ChatGPT / Cursor / Gemini / Reasonix / Pi Coding Agent / opencode / ZCode / Grok Build / OpenClaw / Hermes / Kimi CLI / Qoder CLI / WorkBuddy conversation histories as resumable ChatCode CLI sessions, plus movein asset migrati
Requires dsh 0.1.5-rc.1 or newer. Verified on the 0.1.x line and on the 0.2.x line; dsh-tools must satisfy
>=0.1.0-rc.6 <0.3.0.
dsh plugin --profile web add dsh-chat-import # npm package
Click the Import sessions button at the bottom of the left sidebar to open the import window. With the DSH Claude Style theme, that button lives in the account menu at the bottom left. Pick the conversations you want and import them in one click.
Rows carry their own tools: double-click a row to preview the conversation (a read-only dry-run — plugin injections skipped, tool calls folded into one line), switch the search box to In content to search message bodies instead of titles, hide a row reversibly, move a single-session source file to the Recycle Bin, or drag the row onto a workspace in the left sidebar to import it there with its timestamps shifted so it sorts to the top. The exact rules are in docs/USAGE.md.
If the file came from somewhere else — a web-app export, a script you wrote, 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. Check the preview, then import. If detection fails, it lists why each candidate parser gave up and points you at the skill that converts the format.
These screenshots also use the DeepSeek palette from DSH Claude Style, another theme plugin by the same author. It recreates the look and feel of Claude Code Desktop inside DSH and ships two palettes, one for Claude and one for DeepSeek. If the default theme is not quite your taste, give it a try. The workspaces and sessions in the screenshots are sample data.
# 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" })
Cursor workspace grouping and imports prefer the local Cursor workspace registry by conversation id, accepting only existing directories. Imports always read fresh; discovery caches successful reads and invalidates on DB/WAL changes. Malformed JSON and filesystem failures are counted in diagnostic warnings. When no usable entry exists, they fall back to decoding the transcript's project directory name.
To accommodate TUI users, the tools this plugin provides start out injected into context. In Settings you can switch them to not injected, or to a partial injection, which saves a fair number of tokens.
Full tool and command usage is in docs/USAGE.md.
Third-party plugins can call scanDiscover(), importPath(), importAll(), and resumeSummary() on the optional chatImport host service. These reuse the same discovery, import, batch-import, and handoff-summary pipelines as the built-in tools and commands. A single-session import result includes sessionId. When the service is absent, callers should degrade gracefully.
Codex discovery prefers the session title saved in session_index.jsonl (thread_name), so a rename made in Codex still shows up. Only when no indexed title exists does it fall back to the first real user prompt, extracted the same way import does it, with injected page context excluded. The title index is streamed line by line, and the last valid title record wins for each session.
For activity time, Codex discovery takes the latest valid timestamp found within bounded head and tail windows of the transcript and combines the results across rollout pages. File modification time is the fallback when the transcript carries no timestamp at all, so activity times still come back when the host file service does not expose modification times. A timestamp inside a truncated record can be missed.
Claude Code fork sessions (from the newer desktop session menu and from --fork-session) are discovered and imported too. A fork transcript opens with a verbatim copy of the parent's records and appends its own from the fork point, so the main-transcript test looks at both ends of the file: if the file name's stem appears at either end, the file owns that session. Session identity is the last sessionId in the transcript. Before this rule, such files were classified as subagent auxiliary transcripts and skipped wholesale. The copied prefix, which is the parent's history, stays in the log, because a fork's context really does contain it; the parent and the fork therefore overlap by one stretch of history.
On Windows, Hermes discovery scans %LOCALAPPDATA%\hermes and ~/.hermes, falling back to ~/AppData/Local/hermes when LOCALAPPDATA is unset. On macOS and Linux it scans ~/.hermes.
Need to migrate configuration (skills, hooks, global settings) rather than conversation history? Try dsh-movein.
Import Claude Code / Codex / ChatGPT / Cursor / Gemini / Reasonix / Pi Coding Agent / opencode / ZCode / Grok Build / OpenClaw / Hermes / Kimi CLI / Qoder CLI / WorkBuddy conversation histories as res
{ "mcpServers": { "chatcode-cco-chat-import": { "command": "npx", "args": [ "-y", "@chatcode/[email protected]" ] } }}概览
Import Claude Code / Codex / ChatGPT / Cursor / Gemini / Reasonix / Pi Coding Agent / opencode / ZCode / Grok Build / OpenClaw / Hermes / Kimi CLI / Qoder CLI / WorkBuddy conversation histories as resumable ChatCode CLI sessions, plus movein asset migrati
工具
暂无工具列表。远程服务器在首次健康检查后会获得工具列表。
常见问题
在本页复制适用于 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 配置。它使用发布者的安装方式,而不是 PlugMCP 代理。
此记录未列出必需的环境变量。
@chatcode/cco Chat Import 通过 stdio 在本地运行。
上次检查时间:2026-11-14。 Import Claude Code / Codex / ChatGPT / Cursor / Gemini / Reasonix / Pi Coding Agent / opencode / ZCode / Grok Build / OpenClaw / Hermes / Kimi CLI / Qoder CLI / WorkBuddy conversation histories as resumable ChatCode CLI sessions, plus movein asset migrati