omdsh-dev/dsh-shuttle

Migrate conversation histories bidirectionally between DeepSeek Harness and Codex, Claude Code, Pi, Reasonix, and OpenCode, with support for both CLI and Web UI.

Project Overview项目介绍

dsh-shuttle is a native DSH plugin that includes an offline CLI tool for bidirectional conversation migration between DSH and five other major AI agent platforms: Codex, Claude Code, Pi, Reasonix, and OpenCode. It converts source conversations to a provider-neutral intermediate model before outputting to the target platform’s native import format, preserving as much metadata as possible including text, reasoning traces, tool calls, timestamps, working directories, and model provider identity. You can install it through the standard DSH plugin workflow, which automatically mounts the migration service and registers the migrate-conversations skill to your DSH instance. The bundled cordis.patch.yml sets up all required integration points automatically during installation.

The tool offers three interfaces for migration: a graphical settings UI built into DSH, a DSH slash command, and the standalone offline CLI. The graphical UI walks you through import or export step by step, requiring a successful preview before you can run the actual migration operation. All operations default to dry run preview mode, so no changes are made to your existing conversations or files unless you explicitly add the --apply flag to the command. It never recurses through symlink directories, and reads are bounded by configured limits for file size and session count to prevent unintended large operations. This safety feature prevents accidental overwrites of existing data, keeping your original conversation history intact.

dsh-shuttle is released under the open source MIT license, and uses pnpm for dependency management and building. There are a few known limitations users should be aware of before running migrations. Codex and Claude Code do not guarantee a stable on-disk transcript schema, so you should re-preview migrations after any client upgrade to confirm compatibility. Binary and image attachments become text placeholders if their referenced bytes cannot be safely copied, and platform-private state, UI-only data, and internal indexes are not portable between platforms. Developers can run the full test suite with pnpm test after installing dependencies.

dsh-shuttle 是专为 DeepSeek Harness 开发的原生插件,同时提供离线 CLI 工具,核心功能是支持在 DSH 与 Codex、Claude Code、Pi、Reasonix、OpenCode 这些AI代理平台之间双向迁移对话会话,支持从其他平台导入对话到DSH,也支持将DSH现有会话导出到其他平台使用。它会先将源对话转换为平台无关的中立模型,再输出为目标平台支持的格式,尽可能保留文本、推理过程、工具调用、时间戳、工作目录和模型信息。

用户既可以通过 DSH 设置界面的图形化入口完成导入导出,也可以使用 DSH 斜杠命令或离线 CLI 执行迁移操作。所有操作默认都是预览模式,只有添加 --apply 参数才会实际写入数据,工具默认不会覆盖已有ID和目标文件,最大限度保障原有数据安全。面向开发者还提供了专用插件API,可以在其他 DSH 插件中调用迁移能力,灵活扩展迁移功能。

本项目采用 MIT 许可证开源,可通过 DSH 标准插件工作流安装,依赖 pnpm 进行构建和开发。它存在一些局限性:不保证兼容 Codex 和 Claude Code 未来变化的磁盘会话结构,二进制附件无法完整保留,平台私有状态和UI数据不可迁移,用户使用前需要注意这些限制条件。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:omdsh-dev/dsh-shuttle

把 omdsh-dev/dsh-shuttle 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Shuttle

DSH Shuttle is a DeepSeek Harness plugin and offline CLI for bidirectional conversation migration between DSH and Codex, Claude Code, Pi, Reasonix, or OpenCode.

Every source is projected into a provider-neutral model before conversion to DSH events or the target's native import format. Text, reasoning, tool calls/results, timestamps, working directory, and provider/model identity are preserved where the target supports them.

Safety

  • Operations are dry runs unless --apply is present.
  • Existing DSH IDs and destination files are skipped, never overwritten.
  • Reads are size/count bounded and do not recurse through symlink directories.
  • DSH writes use ctx.sessionPersistence, so JSONL and SQLite backends work.
  • OpenCode's database is never edited directly; Shuttle uses its official export/import JSON envelope.

Install

Install this package through the normal DSH plugin workflow. The bundled cordis.patch.yml mounts ctx.shuttle and the migrate-conversations skill. The plugin exports the standard name, inject, Config, and apply symbols.

DSH interface

Settings UI

Open Settings → Conversation migration to use two independent import and export units without composing a command manually:

  1. In Import to DSH, choose a source platform and optionally set a source path and limit.
  2. In Export from DSH, choose a target platform, DSH task, destination, and scope.
  3. Preview each unit independently. Settings previews use a dedicated Remote API and never create DSH conversations or write destination files.
  4. Review that unit's report, check its confirmation, and run the import or export.

The execution button is only available after a successful preview of the current form. Changing any migration input invalidates that preview.

Slash command

When the interactive DSH command service is present, type /shuttle in the conversation input to see help. The command result is shown directly in the UI and is not sent to the model.

/shuttle import codex
/shuttle import codex --source "~/.codex/sessions" --apply
/shuttle export pi --destination "~/.pi/agent/sessions"
/shuttle export opencode --session <id> --destination /tmp/opencode --apply

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev DHS-multi-agent-plugin 下一个 Next dsh-plugin-message-edit →