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 记忆功能处于测试阶段,所有记忆都存储在本地,不会上传到第三方服务。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-codex-migrate(polarskicpl/dsh-codex-migrate)
仓库:https://github.com/polarskicpl/dsh-codex-migrate
本站详情页:https://www.yhbd.top/plugins/polarskicpl-dsh-codex-migrate/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 6 · 最近提交 2026-09-23 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 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
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
SessionHandleAPI, 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-dshSkill 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-unprojectedworkspace. - MCP memory Beta:
remember_memory,search_memory, andforget_memoryprovide 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 →

LivXue/dsh-plugin-shop
Hilbert-beinghappy/seektty
xiajiajun516/dsh-config-manager
Renzic-Stone/DSH-EasyRewrite
xiaoyuyu6420/dsh-backup
better-er/dsh-edit-diff
gezi-wen/sage-mem