polarskicpl/dsh-codex-migrate 预览 preview

polarskicpl/dsh-codex-migrate

将Codex CLI的对话、MCP服务器和记忆迁移到DeepSeek Harness

Project Overview项目介绍

dsh-codex-migrate is a native DSH plugin built specifically to handle structured one-shot migration between OpenAI Codex and DeepSeek Harness. It supports two-way migration, allowing users to import full Codex tasks into DSH, or export a single DSH conversation or all active unarchived conversations in a DSH project to Codex. Unlike tools that run constant background sync, every migration here is an explicit one-time operation, and the original source conversation is never modified after import. To access the full feature set, including importing from Codex and using MCP memory, you need to install both the DSH plugin and the companion Codex MCP server and skill.

This plugin is targeted at developers who regularly switch between Codex and DSH for their coding workflow and want to move their conversation history between the two tools. In daily use, DSH users can click the Codex icon next to native DSH actions to quickly export the current conversation and open it directly in Codex. They can also navigate to DSH’s Settings > Codex Migration to run a bulk export of all unarchived conversations in their current DSH project. For Codex users, triggering a migration is as simple as sending the “Continue in DSH” command to import the current task and open it in DSH.

To run the plugin correctly, you need a working installation of both DeepSeek Harness and Codex, which can be Codex desktop, Codex CLI, or the Codex IDE extension. You also need Node.js 18 or newer available in your system’s terminal path. The plugin is released under the permissive MIT license, and it intentionally does not include shared background sync, conflict merging, or inline Codex monitoring. All migrations are inspectable and repeatable, and beta MCP memory stores all data locally on your machine, never uploading it to third-party services.

dsh-codex-migrate 是专为 DeepSeek Harness (DSH) 开发的原生插件,用于实现 Codex 与 DSH 之间的结构化单次迁移。它支持双向迁移操作,既可以将 Codex 任务导入到 DSH 中,也可以将单个 DSH 对话或是项目中全部活跃对话批量迁移到 Codex。所有迁移都是显式的一次性操作,不会通过后台同步修改源对话数据,保障用户对对话数据的完全控制。

该插件适合需要在 Codex 和 DSH 之间切换开发流程、希望迁移已有对话历史的开发者使用。日常使用中,用户可以在 DSH 界面点击 Codex 图标快速导出当前对话到 Codex,也可以在 DSH 设置页面找到批量迁移选项,一次性导出整个项目的未归档对话。在 Codex 中,用户只需发送“Continue in DSH”指令,即可将当前 Codex 任务导入并打开到 DSH 中。

使用该插件需要先安装好可用的 DSH 和 Codex(桌面版、CLI 或 IDE 插件均可),同时要求环境中装有 Node.js 18 或更高版本。插件采用 MIT 许可证开源,完全免费使用,不提供双向后台同步、冲突合并等功能,所有迁移操作都是可检查、可重复的,不会静默修改双方的历史对话。本地 MCP 记忆功能处于测试阶段,所有记忆都存储在本地,不会上传到第三方服务。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
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 dsh-codex-migrate

把 polarskicpl/dsh-codex-migrate 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-codex-migrate

dsh-codex-migrate banner

Predictable one-way structured migration between Codex and DeepSeek Harness

English · 中文

Version 2.0 turns the plugin into a two-sided migration bridge. Import Codex tasks into DSH, or move one DSH conversation—or every active conversation in a project—into Codex. Every action is an explicit one-time import; the source conversation is never modified later by background synchronization.

v2.0.4 compatibility update

dsh-codex-migrate@2.0.4 carries the compatibility fixes introduced in v2.0.3 and is verified with the public npm @deepseek-ai/dsh@0.1.5-rc.2 (latest as checked on 2026-09-23). Those fixes address DSH's newer session persistence and Web client modules:

  • Codex → DSH: write valid Session V3 events through the lifecycle-scoped SessionHandle API, including flush/close, with a fallback for older persistence services.
  • DSH Web UI: update the client injection graph, use the active conversation's session ID for “Continue in Codex,” and keep large-history scans responsive with bounded metadata reads and asynchronous transcript reads.
  • DSH → Codex: open the imported task through the host operating system when a browser blocks codex:// navigation, while retaining browser navigation as a fallback.

The npm next and alpha DSH channels are not claimed as supported by this release. See the changelog for the release history.

What's new in v2.0

  • Two-way one-shot imports: Codex → DSH and DSH → Codex both convert history into the target's structured conversation format instead of flattening everything into plain text.
  • Continue in Codex: a native Codex action below DSH assistant replies imports the current conversation and opens the new Codex task.
  • Continue in DSH: the bundled MCP server and continue-in-dsh Skill let a Codex user say “Continue in DSH” to import and open the current task in DSH.
  • Batch migration by project: import every unarchived conversation in a DSH project in one operation while preserving the original workspace path.
  • Project-less Codex tasks: conversations without a Codex project are imported into the canonical (no project) / codex-unprojected workspace.
  • MCP memory Beta: remember_memory, search_memory, and forget_memory provide local persistent memories with global, project, and conversation scopes.
  • Three memory sources: independently import Codex Markdown memory, bridge MCP memory, and Memory Skill storage.
  • Faster inventory refreshes: an incremental cache reparses only new or changed files and isolates corrupted sessions.
  • Refined UI: simplified cards and lists, fixed live language switching, and consistent actions, badges, spacing, and dark/light styling.

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

← 上一个 Prev DSH-JI-Plugins 下一个 Next dsh-pet-ronaldo →