DeepSeek Harness Plugin

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

Stars ★ 0 Downloads (30d) 5,674 Category Plugin Markets & Managers Added 2026-09-10 npm dsh-plugin-ops-bundle

Pre-boot health checks and repair for dsh plugin trees — ten static scan rules that follow the launcher runtime resolution, fault attribution after a failed boot, whitelisted reversible fixes verified in an isolated instance first, an upgrade preview naming the plugins a target release would skip, and a panel with plugin-row management plus a RAG knowledge base of past failures.

Install

# from npm (prebuilt)

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

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.