DeepSeek Harness 插件

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

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

dsh 插件树的启动前体检与修复——十条跟随启动器运行时解析的静态规则、启动失败后的故障归因、先在隔离实例复验再落地的白名单可逆修复、点名目标版本会跳过哪些插件的升级预演,以及带插件行管理面板与历次故障 RAG 知识库的设置界面。

安装

# 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_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

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

The dsh-ops health panel, embedded in DeepSeek Harness. This package installs the dsh-plugin-ops engine into a profile and adds a dsh-ops section to Settings: health cards, findings with their fixes, plugin-row management, an upgrade-preview card, a fault timeline, and a diagnosis chat.

The same engine is available as a terminal CLI — npm i -g dsh-plugin-ops gives you dsh-ops check / preview / gate / serve (and verify for plugin authors).

Install

You are Install
Desktop app Settings → Plugins → install dsh-plugin-ops-bundle (or just ask DSH to install it)
Web / CLI profile dsh plugin --profile web add dsh-plugin-ops-bundle

Restart the dsh process (desktop: reopen the app), then open Settings → dsh-ops.

What it shows

  • Health — one card per profile: fatal / warn / info counts from the 10 static rules.
  • Findings — each one with the fix it recommends; executable fixes write a backup first.
  • Upgrade preview — pick a target dsh release and see which installed plugins it would skip, each fix as a copy-ready command.
  • Plugin rows — health badges, severity filter, paging, official-row protection, enable/disable.
  • Fault timeline — what changed since the last successful boot (the attribution baseline).
  • Diagnosis chat — troubleshooting experience is deposited as Markdown and retrieved into the chat (BM25 + optional embedding re-rank), zh/en switch.

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 账号。