
buguoshixc/deepseek-harness-external-migration
40最近提交 2026年8月14日
deepseek-harness-external-migration DSH 插件
该插件提供三个工具:external_migration_scan(只读扫描)、external_migration_preview(只读解析并预览片段)和 external_migration_import(确认后写入原生 Harness 会话)。源文件从不修改,凭据从不复制,MCP 密钥被替换为环境变量引用。
如何安装 deepseek-harness-external-migration DSH 插件
dsh plugin --profile web add /absolute/path/deepseek-harness-external-migration-0.1.0.tgz复制不会执行命令。安装 deepseek-harness-external-migration DSH 插件前请核对仓库和版本。
deepseek-harness-external-migration DSH 插件数据来源
deepseek-harness-external-migration DSH 插件快照日期:2026年8月16日
discovered
deepseek-harness-external-migration DSH 插件能做什么
- 扫描外部工具(Codex、Claude Code、Qoder、OpenCode)的配置信号和会话历史,不进行任何写入。
- 在提交导入前预览解析的会话片段。
- 仅当提供 confirm=true 标志时,才会导入会话至 Harness 原生格式。
- 将可审查的配置包导出到 $DSH_HOME/migrations/external-agents/。
- 将 MCP 密钥替换为环境变量引用,且不自动应用生成的 MCP 配置。
deepseek-harness-external-migration DSH 插件适合哪些场景
- 从 Claude Code 迁移到 DeepSeek Harness,并安全审查所有配置。
- 将 Codex 或 OpenCode 的会话历史转移到 Harness 以实现统一访问。
- 在导入前审计现有外部代理配置。
- 预览将要导入的内容,而不对系统做任何更改。
- 生成可手动审查和稍后应用的配置包。
deepseek-harness-external-migration DSH 插件适合谁
- 当前使用 Codex、Claude Code、Qoder 或 OpenCode,并希望切换到 DeepSeek Harness 的用户。
- 需要安全、可审计的代理配置和会话数据迁移路径的开发者。
deepseek-harness-external-migration DSH 插件的限制
- 需要 DeepSeek Harness 0.1.0-rc.5 或兼容的后续版本。
- 需要 Node.js 22.19+ 或 24+。
- 仅支持明确列出的外部工具:Codex、Claude Code、Qoder 和 OpenCode。
- MCP 配置不会自动应用;必须手动审查并启用。
- 插件必须通过 .tgz 文件的绝对路径安装,而非从注册表安装。
deepseek-harness-external-migration DSH 插件的仓库 README 摘录
以下文字摘自 deepseek-harness-external-migration DSH 插件的上游仓库 buguoshixc/deepseek-harness-external-migration 的 README,版权归原作者,仅作引用。
Safely migrate configuration signals and session history from Codex, Claude Code, Qoder (`qcoder` is accepted as an alias), and OpenCode into DeepSeek Harness. The plugin provides three model-facing tools: - `external_migration_scan`: read-only inventory; no transcript bodies, no returned credentials, and no writes. - `external_migration_preview`: read-only parsing with short transcript previews. - `external_migration_import`: requires `confirm=true`, writes native Harness sessions, and exports a reviewable configuration bundle. Source files are never modified. Credentials are never copied. MCP secrets are replaced with environment-variable references, and generated MCP configuration is not applied automatically. ## Install ```sh dsh plugin --profile web add /absolute/path/deepseek-harness-external-migration-0.1.0.tgz ``` The package declares a `dsh.bundle.patch`, so `dsh plugin` activates it as a profile layer. Restart the profile after installation. Then ask Harness to scan, preview, and finally import the desired sources. The default configuration review bundle is written below `$DSH_HOME/migrations/external-agents/`. See [README.zh-CN.md](./README.zh-CN.md) for the full
阅读完整 README仓库许可: MIT
deepseek-harness-external-migration DSH 插件常见问题
如何安装外部迁移插件?
运行 `dsh plugin --profile web add /absolute/path/deepseek-harness-external-migration-0.1.0.tgz`。该插件使用 bundle patch,安装后必须重启 profile。请确保 DeepSeek Harness 版本为 0.1.0-rc.5 或更高,且 Node.js 版本为 22.19+ 或 24+。
插件会修改我的原始源文件吗?
不会。源文件从不被修改。插件只读取外部工具的配置和会话历史。只有在您明确使用 `confirm=true` 确认后,才会写入新的 Harness 会话。
支持哪些外部工具的迁移?
当前支持的工具包括 Codex、Claude Code、Qoder(也接受别名 `qcoder`)和 OpenCode。插件不直接支持其他代理框架。
导入前如何预览数据?
使用 `external_migration_preview` 工具。它执行只读解析并返回简短的会话片段预览。预览期间不会写入任何数据。之后您可以决定是否继续执行 `external_migration_import`。
迁移过程中 MCP 密钥如何处理?
MCP 密钥会被替换为环境变量引用。生成的 MCP 配置不会自动应用,而是写入一个可审查的配置包。您需要手动审查并启用配置。