buguoshixc/deepseek-harness-external-migration

插件Plugin 原生Native ⭐ 4 MIT 编程Coding

**DeepSeek-Harness 迁移插件**是一款专为 [DeepSeek-Harness](https://github.com/deepseek-ai/deepseek-harness) 设计的插件,旨在帮助开发者无缝迁移其他主流 AI 编程助手(Codex、Claude Code、Qcoder、OpenCode)的个性化配置及历史会话记录。无需手动复制粘贴,即可在 DeepSeek-Harness 中继续之前的工作流,大幅降低切换成本。

项目介绍Project Overview

DeepSeek Harness External Migration 是一个用于将 Codex、Claude Code、Qoder 及 OpenCode 的配置信号与会话历史安全迁入 DeepSeek Harness 的插件。它提供三个模型工具:只读扫描的 external_migration_scan、带摘要的只读解析 external_migration_preview,以及需 confirm=true 的写入工具 external_migration_import。适用场景:从外部 AI 编码工具迁入历史与配置。需注意:源文件不被修改,凭据不被复制,MCP 密钥被替换为环境变量引用。

DeepSeek Harness External Migration is a plugin that safely migrates configuration signals and session history from Codex, Claude Code, Qoder, and OpenCode into DeepSeek Harness. It exposes three model-facing tools: external_migration_scan for read-only inventory, external_migration_preview for read-only parsing with short transcript snippets, and external_migration_import, which requires confirm=true and writes native Harness sessions plus a reviewable configuration bundle. Use it when porting history and configuration from supported external coding tools. Note that source files are never modified, credentials are never copied, and MCP secrets are replaced with environment-variable references rather than applied automatically.

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

命令行安装CLI Install

dsh plugin --profile web add github:buguoshixc/deepseek-harness-external-migration

buguoshixc/deepseek-harness-external-migration 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeek Harness External Migration

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

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 for the full support matrix, security behavior, root overrides, limitations, and examples.

Validate

npm install
npm test
npm pack --dry-run

Requires DeepSeek Harness 0.1.0-rc.5 or a compatible later release and Node.js 22.19+ or 24+.

上一个 Prev dsh-quota-panel 下一个 Next dsh-session-audit