buguoshixc/deepseek-harness-external-migration3

deepseek-harness-external-migration

外部配置与会话迁移插件:支持将 Codex、Claude Code、Qoder 和 OpenCode 的配置及历史会话安全导入 DSH。

AI 分析

核心用途是帮助用户无缝过渡到 DSH 生态。适合此前使用其他 AI 命令行工具、希望保留历史对话和配置的用户。提供只读扫描、预览及安全导入工具,不修改源文件。

套件
deepseek-harness-external-migration
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:buguoshixc/deepseek-harness-external-migration

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+.