Back to directory

dsh-chat-import

Curated pickMaintenance: Active

nwflower/dsh-chat-import

从 Claude Code/Codex/ChatGPT/Cursor/Gemini/Reasonix/opencode/ZCode/Grok Build/OpenClaw/Pi/Hermes/Kimi 13 源导入历史会话为 DSH 可续接会话(import_claude 等 13 工具 + 目录批量导入)

View on GitHubHomepage
$ dsh plugin --profile web add dsh-chat-import

141

stars

18

forks

JavaScript

Language

MIT

License

2026-08-13

Created

2026-09-08

Last push

A dsh plugin that imports 16+ external agent chat histories into DeepSeek Harness as resumable sessions and exports / syncs them back out — read-only on sources, full-fidelity, MIT-licensed.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-08-25

License

MIT

01What can it help you accomplish?

  • Bring an external agent's past conversations into DeepSeek Harness

    Full-fidelity, resumable DeepSeek Harness sessions — tool calls, reasoning, titles, models and timestamps carried over — grouped into the source workspace

    Developers and agents moving from Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix and 16+ other CLIs who want to keep chatting inside DeepSeek Harness

  • Send a DeepSeek Harness session back out to Claude Code, Codex or Kimi

    A Claude Code JSONL transcript (loadable with `--resume`), a Codex rollout, a Kimi wire file, or a portable interchange bundle with SHA-256 fingerprints and cross-machine restore

    Teams that move work back and forth between DeepSeek Harness and other agents and need backup, handoff or interop

  • Batch-import a whole local agent history at once

    One fresh DSH session per conversation, with read-only preview via `scan_discover()` and multi-select import in the sidebar panel; `/import-all` imports everything

    Users consolidating every session from a directory or database (Claude / OpenCode / Pi / Hermes) into DeepSeek Harness

02How to install into DeepSeek Harness

Prerequisites

  • Node.js ≥ 22.13
  • DeepSeek Harness (dsh) CLI, targeting dsh 0.1.x (tested on 0.1.0-rc.6 / 0.1.0-rc.7)

Installation steps

  1. 01

    Install from npm: `dsh plugin --profile web add dsh-chat-import`

    $ dsh plugin --profile web add dsh-chat-import

  2. 02

    Or link a local checkout: `dsh plugin --profile web add -w link:/path/to/dsh-chat-import`

    $ dsh plugin --profile web add -w link:/path/to/dsh-chat-import

  3. 03

    Then call any `import_*` tool in a DSH session, e.g. `import_claude({ path: "~/.claude/projects" })`

Verify the integration

Not specified by the author

Rollback

  • Uninstall: remove the `import-claude` insert line from your profile's bundles and restart dsh; imported sessions stay untouched and the plugin never auto-deletes.

03DSH integration and capability boundaries

DSH integrationNative runtime

Installed as a dsh plugin via `dsh plugin --profile web add dsh-chat-import`; registers `import_*` / `export_*` / `sync_to_*` tools that run inside a DeepSeek Harness session and read source transcripts read-only.

  • Batch import from 16+ sources

    a file, directory or database of an external agent (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, Kimi, DSH logs, etc.)one full-fidelity, resumable DeepSeek Harness session per conversation, grouped by source workspace

  • Matrix export & sync

    a DeepSeek Harness sessionClaude Code JSONL (`--resume`), Codex rollout, Kimi wire file, or portable interchange bundle (SHA-256 fingerprints, cross-machine restore)

  • Agent asset migration

    pi / opencode / Claude / Codex agents, prompts, skills, instructionspersistent DSH skills

  • Read-only audit / checkup

    an imported or migrated sessionstructural audit and migration health check

04Who is it for? When not to use it?

Good for

  • Developers and agents moving from Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix and 16+ other CLIs who want to keep chatting inside DeepSeek Harness
  • Teams that move work back and forth between DeepSeek Harness and other agents and need backup, handoff or interop
  • Users consolidating every session from a directory or database (Claude / OpenCode / Pi / Hermes) into DeepSeek Harness

Not for

  • Reading sources or writing exports outside the workspace requires the session sandbox to allow that path.

05Compatibility, maintenance and safety notes

  • Reading sources or writing exports outside the workspace requires the session sandbox to allow that path.
  • Claude Code transcripts do not persist a system prompt, so the import system-prompt toggle is a no-op for that source.
  • Anything a source format cannot preserve is explicitly flagged in the import report rather than silently dropped.
2026-08-132026-08-23v0.7.0

MIT · actively maintained (latest release v0.7.0, 2026-08-23)

06Frequently asked questions

How do I install dsh-chat-import?

Run `dsh plugin --profile web add dsh-chat-import` to install the npm package, or `dsh plugin --profile web add -w link:/path/to/dsh-chat-import` to link a local checkout. It needs Node.js ≥ 22.13 and targets dsh 0.1.x.

Which agents can it import from?

Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, MiMo Code, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI / Kimi Code, Qoder CLI, DSH session logs and any local JSONL — 16+ sources in total.

Does importing modify my original transcripts?

No. Source transcripts and databases are read read-only and never rewritten; the DSH engine is never touched, and imported DSH history is append-only. Every import becomes a fresh session.

Can I send a DeepSeek Harness session back to another agent?

Yes. `export_claude` serializes a DSH session into a Claude Code JSONL transcript loadable with `--resume`, `export_codex` targets Codex, `export_kimi` targets Kimi, and `export_bundle` / `restore_bundle` produce a portable interchange bundle with SHA-256 fingerprints.

How do I uninstall it?

Remove the `import-claude` insert line from your profile's bundles and restart dsh. Imported sessions stay untouched and the plugin never auto-deletes anything.

08Data and sources

  • Author-claimedgithub.com57f476b574b3…

    Import 15+ external agent conversation histories into DeepSeek Harness as full-fidelity, resumable sessions — and export…

  • Author-claimedgithub.com57f476b574b3…

    as **full-fidelity, resumable DeepSeek Harness sessions**

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-25. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.