← 返回列表
D

dsh-plugin-sync

v1.0.0 · 2 天前发布

DSH 插件同步:将 DeepSeek Harness 已安装插件清单同步到 GitHub Gist(OAuth 快捷登录,导出/导入,导入后自动安装依赖)。

deepseekharnessdshdsh-plugingistsyncplugin-manager

README

dsh-plugin-sync

把 DeepSeek Harness 已安装的插件清单同步到 GitHub Gist 的 DSH 插件。

  • GitHub OAuth 设备流快捷登录(无需手动粘贴 token)

  • 导出:将 profiles/<profile>/package.jsondependencies + dsh.profile.bundles + cordis.patch.yml 打包为 dsh-plugins.json 上传到 Gist

  • 导入:从 Gist 读取插件清单,写回 package.json / cordis.patch.yml自动执行 pnpm install,提示重启 Harness 生效

  • 未指定 Gist 地址时,自动创建名为 dsh_plugin_sync_XXXX(4 位随机字符)的私有 Gist
  • 安装

    在 profile 的 package.json 中:

    json
    {
    "dependencies": {
    "dsh-plugin-sync": "github:AngLi1997/dsh-plugin-sync"
    },
    "dsh": {
    "profile": {
    "bundles": ["dsh-plugin-sync"]
    }
    }
    }

    然后 pnpm install 并重启 Harness。或通过 dsh-market 一键安装。

    使用

    1. 打开设置 →「插件同步」
    2. 点「登录 GitHub」,按提示跳转 GitHub 授权(仅需 gist 权限)
    3. 点「导出到 Gist」上传插件清单;「从 Gist 导入」填写 Gist 地址后自动安装

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-plugin-sync
    Repo
    git+https://github.com/AngLi1997/dsh-plugin-sync.git
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-settings"]}}