← 返回列表
D

dsh-publish-plugin

v0.1.4 · 1 天前发布

Publish a DeepSeek Harness plugin to npm and GitHub in one flow: /publish-dsh-plugin command + publish_plugin tool. 一键把 DSH 插件发布到 npm 与 GitHub(双平台必发)。

deepseek-harnessdshdsh-pluginpublishnpmgithub

README

dsh-publish-plugin

English | 简体中文

把 DeepSeek Harness 插件一键发布到 npm + GitHub(双平台必发)的 DSH 插件:/publish-dsh-plugin 命令(人在 Web GUI / TUI 里直接操作)+ publish_plugin 工具(模型驱动)。两者共享同一个发布域,且都是 fail-closed:没有显式确认绝不执行。

安装

sh

从 npm(推荐——已发布的包)


dsh plugin --profile web add dsh-publish-plugin

或从 git


dsh plugin --profile web add github:liulei237136/dsh-publish-plugin

安装后 /publish-dsh-plugin 命令与 publish_plugin 工具同时可用(组合里有命令注册表时命令才注册,有工具注册表时工具才注册)。

命令面用法


① /publish-dsh-plugin → 发现当前会话目录(及向上/直接子目录)的插件候选
② /publish-dsh-plugin <插件名> → 校验 manifest + 冲突检查 + 动作汇总
③ /publish-dsh-plugin <插件名> yes → 执行(npm publish + GitHub 建仓/推送 + tag + topic)
  • 不带 yes 永远只汇总不执行(fail-closed);

  • 版本冲突(npm 上该版本已存在)时报错提示提升版本;包名/仓库已存在视为升级发布(发新版本、推已有仓库
  • 版本兼容矩阵

    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-publish-plugin
    Repo
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}