返回目錄

dsh-chat-import

編輯精選維護狀態: 活躍

nwflower/dsh-chat-import

Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable sessions — full-fidelity, reverse export/sync, bundle backup. | 從 Claude Code、Codex、Reasonix 等 Agent 工具匯入歷史訊息到 DeepSeek Harness 並繼續對話。

前往 GitHub專案首頁
$ dsh plugin --profile web add dsh-chat-import

144

星數

18

Fork

JavaScript

語言

MIT

授權條款

2026-08-13

建立於

2026-09-08

最近推送

一個 dsh 外掛程式:把 16+ 種外部 Agent 的聊天歷史以可續接工作階段匯入 DeepSeek Harness,並支援匯出 / 同步回去——來源唯讀、完整保真、MIT 授權。

DSH 整合

原生執行環境

作者聲明

安全稽核

未稽核

最後核實

2026-08-25

授權條款

MIT

01它能幫你完成什麼?

  • 把外部 Agent 的過往對話帶進 DeepSeek Harness

    完整保真、可續接的 DeepSeek Harness 工作階段——保留工具呼叫、推理、標題、模型與時間戳——並依來源工作區分組

    從 Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix 等 16+ 種 CLI 遷過來、希望繼續在 DeepSeek Harness 裡聊天的開發者與 Agent

  • 把 DeepSeek Harness 工作階段送回 Claude Code、Codex 或 Kimi

    可由 `--resume` 載入的 Claude Code JSONL、Codex rollout、Kimi wire 檔案,或帶 SHA-256 指紋、可跨機還原的便攜交換包

    在 DeepSeek Harness 與其他 Agent 之間來回搬運工作、需要備份 / 交接 / 互通的團隊

  • 一次性批次匯入整個本機 Agent 歷史

    每筆對話產生一條全新 DSH 工作階段,可用 `scan_discover()` 唯讀預覽、在側邊欄面板多選匯入;`/import-all` 匯入全部

    希望把某個目錄或資料庫(Claude / OpenCode / Pi / Hermes)裡的全部工作階段彙總到 DeepSeek Harness 的使用者

02如何將外掛接入 DeepSeek Harness?

先決條件

  • 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)

安裝步驟

  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" })`

驗證整合成功

作者未說明

復原

  • 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 整合程度與能力邊界

DSH 整合原生執行環境

透過 `dsh plugin --profile web add dsh-chat-import` 以 dsh 外掛程式形式整合;在 DeepSeek Harness 工作階段內註冊 `import_*` / `export_*` / `sync_to_*` 工具,並以唯讀方式讀取來源記錄。

  • 從 16+ 種來源批次匯入

    外部 Agent 的單一檔案 / 目錄 / 資料庫(Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix、opencode、Kimi、DSH 日誌等)每筆對話產生一條完整保真、可續接的 DeepSeek Harness 工作階段,依來源工作區分組

  • 矩陣匯出與同步

    一條 DeepSeek Harness 工作階段Claude Code JSONL(`--resume` 可續接)、Codex rollout、Kimi wire 檔案,或帶 SHA-256 指紋、可跨機還原的便攜交換包

  • Agent 資產遷移

    pi / opencode / Claude / Codex 的 agents、prompts、skills、instructions持久化的 DSH skills

  • 唯讀稽核 / 體檢

    已匯入或已遷移的工作階段結構稽核與遷移健康檢查

04適合誰?何時不該用?

適合

  • 從 Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix 等 16+ 種 CLI 遷過來、希望繼續在 DeepSeek Harness 裡聊天的開發者與 Agent
  • 在 DeepSeek Harness 與其他 Agent 之間來回搬運工作、需要備份 / 交接 / 互通的團隊
  • 希望把某個目錄或資料庫(Claude / OpenCode / Pi / Hermes)裡的全部工作階段彙總到 DeepSeek Harness 的使用者

不適合

  • 在工作區之外讀取來源或寫出匯出檔案,需要工作階段沙箱允許該路徑。

05相容性、維護與安全提醒

  • 在工作區之外讀取來源或寫出匯出檔案,需要工作階段沙箱允許該路徑。
  • Claude Code 的記錄不會持久化 system prompt,因此「匯入 system prompt」開關對該來源無效(no-op)。
  • 來源格式無法保留的內容會在匯入報告中明確標註,而非被靜默捨棄。
2026-08-132026-08-23v0.7.0

MIT · 活躍維護中(最新版本 v0.7.0,2026-08-23)

06常見問題

要怎麼安裝 dsh-chat-import?

執行 `dsh plugin --profile web add dsh-chat-import` 安裝 npm 套件,或用 `dsh plugin --profile web add -w link:/path/to/dsh-chat-import` 連結本機目錄。需要 Node.js ≥ 22.13,目標 dsh 0.1.x。

支援從哪些 Agent 匯入?

Claude Code、Codex、ChatGPT、Cursor、Gemini、Reasonix、opencode、MiMo Code、ZCode、Grok Build、OpenClaw、Pi、Hermes、Kimi CLI / Kimi Code、Qoder CLI、DSH 工作階段日誌以及任意本機 JSONL——共 16+ 種來源。

匯入會修改我原本的記錄嗎?

不會。來源記錄與資料庫以唯讀方式讀取、絕不改寫;DSH 引擎不被觸碰,匯入後的歷史為附加式。每次匯入都會成為一條全新工作階段。

可以把 DeepSeek Harness 工作階段送回其他 Agent 嗎?

可以。`export_claude` 把 DSH 工作階段序列化為可由 Claude Code 透過 `--resume` 載入的 JSONL;`export_codex` 對應 Codex,`export_kimi` 對應 Kimi;`export_bundle` / `restore_bundle` 產生帶 SHA-256 指紋的便攜交換包。

要怎麼解除安裝?

從你 profile 的 bundles 中刪除 `import-claude` 插入行並重啟 dsh。已匯入的工作階段保持不變,外掛程式不會自動刪除任何內容。

08資料與來源

  • 作者聲明github.com57f476b574b3…

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

  • 作者聲明github.com57f476b574b3…

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

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-25。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。