Simidas/dsh-compat1

dsh-compat

检查并将 Claude Code 和 Codex 插件编译为可审计的 DeepSeek Harness 插件包。

AI 分析

核心用途是跨平台插件迁移。适合希望将 Claude Code 或 Codex 生态中的插件转换并运行在 DSH 环境中的开发者。提供静态验证 CLI 工具,需要 Node.js 22+。

套件
dsh-compat
版本
0.1.0
授權
Apache-2.0
最近更新
2026年8月14日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Usage

Inspect a local plugin without executing it:

node dist/cli.js inspect ./path/to/plugin
node dist/cli.js inspect ./path/to/plugin --format json
node dist/cli.js inspect ./path/to/plugin --strict

Generate a DSH bundle:

node dist/cli.js convert ./path/to/plugin --out ./generated-plugin
node dist/cli.js test ./generated-plugin

test currently performs deterministic static validation. It does not start source MCP/LSP servers or run source hooks.

Review the generated files before installing:

generated-plugin/
├── package.json
├── cordis.patch.yml
├── index.js
├── skills/
├── resources/
├── dsh-compat.env.example.json
├── dsh-compat.report.json
├── dsh-compat.report.md
├── dsh-compat.source-map.json
└── dsh-compat.lock.json

Then, at your discretion:

dsh plugin --profile 
 add -w ./generated-plugin
dsh --profile 
 --dump-config

MCP environment variables and HTTP headers are never copied with their values. Bind the names listed in dsh-compat.env.example.json through your reviewed DSH profile or generated patch before starting the MCP server.