DeepSeek Harness 插件

f-infinite-z/dsh-plugin-ops#dsh-plugin-ops-bundle

Star 数 ★ 0 下载量(近 30 天) 1,153 分类 插件市场与管理 收录于 2026-09-10 npm dsh-plugin-ops-bundle

Pre-boot health gate and repair for dsh plugin trees: seven static scan rules, fault attribution after failed boots, whitelisted reversible fixes, and a panel with plugin-row management plus a RAG knowledge base of past failures.

安装

# npm 包(预构建)

dsh plugin --profile web add dsh-plugin-ops-bundle

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:f-infinite-z/dsh-plugin-ops#path:/packages/bundle

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWEDERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yamlallowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Embedded dsh-plugin-ops bundle for DeepSeek Harness: installs a dsh-ops health-check section into the harness Web settings page (scan, findings, plugin-row enable/disable, fault timeline, diagnosis chat).

Install

dsh plugin --profile web add dsh-plugin-ops-bundle

Then restart the dsh web process. The section appears in Settings.

How it works

  • Host half (lib/index.js): a cordis plugin that waits for the optional webServer service and serves the panel API under the /dsh-ops prefix, reusing the shared engine (dsh-plugin-ops-core). The diagnosis chat prefers the harness ctx.llm seam with the configured default model and falls back to a direct OpenAI-compatible channel when the tree exposes no llm service.
  • Browser half (lib/client.js): registers a settings.section through dsh.client and fetches the same-origin /dsh-ops/api/* routes.
  • Profiles without a Web server are unaffected: the host half activates but registers nothing.

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。