DeepSeek Harness 插件

beartackler/dsh-bridge

Star 数 ★ 1 分类 插件市场与管理 收录于 2026-08-30

从其他编码 Agent 移植过来的斜杠命令(setup、connect、install、trust、browse、doctor、status、model、memory、compact、resume、review、mcp、init、suggest、improve、refactor),一个零依赖的插件源码静态扫描器,以及一份内置的插件评级报告卡目录,每条结论都给出文件与行号级别的证据。

安装

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

dsh plugin --profile web add github:beartackler/dsh-bridge

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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 只有英文版本。

██████╗ ███████╗██╗  ██╗  ██████╗ ██████╗ ██╗██████╗  ██████╗ ███████╗
██╔══██╗██╔════╝██║  ██║  ██╔══██╗██╔══██╗██║██╔══██╗██╔════╝ ██╔════╝
██║  ██║███████╗███████║  ██████╔╝██████╔╝██║██║  ██║██║  ███╗█████╗
██║  ██║╚════██║██╔══██║  ██╔══██╗██╔══██╗██║██║  ██║██║   ██║██╔══╝
██████╔╝███████║██║  ██║  ██████╔╝██║  ██║██║██████╔╝╚██████╔╝███████╗
╚═════╝ ╚══════╝╚═╝  ╚═╝  ╚═════╝ ╚═╝  ╚═╝╚═╝╚═════╝  ╚═════╝ ╚══════╝

Familiar harness commands for DeepSeek Harness, with every plugin audited first.

CI

dsh-bridge connectors flow: credential detection resolves into a masked detection matrix, then a trust report card for @liustack/modlens showing grade B with file-and-line evidence.

Rendered from the specs rather than a running build. Stills: detection matrix (light) · trust card (light).

What

dsh-bridge is a DeepSeek Harness plugin for people arriving from Claude Code, Codex CLI, OpenCode, or Jcode. It ports the slash commands you already know onto DSH-native seams, adds a guided connectors flow, and refuses to recommend a community plugin until an adversarial review has graded it.

Why

  • Language. The DSH plugin ecosystem skews non-English. The catalog and command surface here are English-first.
  • Trust. Plugins are arbitrary code. Every recommendation ships a report card citing file-and-line evidence you can re-check.
  • Muscle memory. /model, /resume, /memory, /mcp, /review behave the way your previous harness taught you.

Install

npx create-dsh-bridge

That is the whole thing. It checks Node and pnpm with a concrete fix for each failure, installs the DSH runtime if none is on your PATH, creates an isolated DSH_HOME so your real ~/.dsh is untouched, installs dsh-bridge into the web profile, wires the profile config, and prints the command to boot.

Re-running is safe: every step checks for its own result first and reports "already done" instead of repeating work, and it never overwrites a file it did not create.

See exactly what it will do before it does anything:

npx create-dsh-bridge --dry-run     # prints every command and file write, changes nothing

Useful flags: --ref <sha> pins both the installer and the plugin so a later push cannot change what runs, --profile <name> picks a different profile, --no-isolate uses your real ~/.dsh instead of a scratch home.

Prefer not to pipe from npm? The installer is a single readable file:

curl -fsSLO https://raw.githubusercontent.com/beartackler/dsh-bridge/main/scripts/install.mjs
less install.mjs && node install.mjs --dry-run
node install.mjs

What you still have to do yourself

DSH ships no model, and the installer connects none. When it finishes you have a harness that boots and a bridge that answers /bridge-help, and nothing that answers a prompt. Bring a provider endpoint and an API key, then run /bridge-setup in the UI. The full walkthrough, including a working custom OpenAI-compatible provider block, is in docs/getting-started.md.

Prerequisite Needed by Check
Node 22 or newer The harness runtime node --version
pnpm 10 or newer dsh plugin, which manages profile dependencies through it pnpm --version
A provider endpoint and API key Any prompt you type you supply it

The installer verifies the first two and stops with the command that fixes them. It cannot supply the third.

Manual install

If DSH is already installed, a model route is already connected, and you only want the plugin:

dsh plugin --profile web add github:beartackler/dsh-bridge
dsh --profile web        # serves http://127.0.0.1:3080

Both of those conditions matter. Without a connected route the harness boots and nothing answers; without .credentials.yaml at mode 600 it refuses to boot at all. docs/getting-started.md covers each step by hand.

Pin a commit so a later push cannot silently change what runs:

dsh plugin --profile web add "github:beartackler/dsh-bridge#<commit-sha>"

The repository ships its compiled dist/ output, so nothing builds on your machine at install time and dsh asks for no build-script permission.

Then use /bridge-help inside DSH.

Verified against @deepseek-ai/dsh 0.1.1-rc.2: a fresh install from a git checkout activates the bundle with no warnings and all 17 commands register (how this was verified).

Verified catalog

docs/catalog/INDEX.md lists every plugin that has completed a trust review, with the audited commit and a linked report card.

Grades: A verified-clean · B safe with documented behavior · C use with awareness · D risky · F do not install. A grade is an evidence-backed opinion over one pinned commit, not a safety guarantee.

Commands

All seventeen commands are implemented and verified end-to-end against @deepseek-ai/dsh 0.1.1-rc.2 (42 live invocations, see the verification report).

Command Does
/help Lists the bridge surface and the DSH-native equivalent of each command.
/init Onboards a repository and generates its instruction file.
/connect Detects existing provider credentials, configures routes, smoke-tests them.
/model Switches the active model or route without editing profile YAML.
/status Reports session, profile, and route state already known. Probes nothing.
/doctor Runs environment health checks and prints only what it actually observed.
/memory Reads and edits persistent user and project memory.
/compact Compacts conversation context on demand.
/resume Picks a recent session to resume or fork.
/review Reviews working-tree or pull-request changes.
/improve Proposes and applies targeted improvements to selected code.
/mcp Adds, inspects, and removes MCP servers.
/browse Browses the verified catalog with grade and trust filters.
/trust Prints a plugin's trust report card with its evidence.
/install Installs a plugin, preferring verified builds and requiring explicit risk consent.
/suggest Handles the dead end: scaffolds the plugin that does not exist yet.
/refactor Plans and applies behavior-preserving restructuring, tests-green gated.

Naming caveat: shipped names will be either /bridge:<name> or /bridge-<name>, pending an open DSH parser question.

Docs

Status

Under active development. Research and audit artifacts land in docs/ as they are produced.

Milestone State
Capability research in progress
Adversarial audit of DSH built-ins in progress
MVP plugin (commands, connectors) shipped - 17 commands e2e-verified in dsh 0.1.1-rc.2
Trust report card pipeline shipped - 24 plugins graded (7 B, 16 C, 1 D)
Onboarding wizard UI planned

Principles

  1. Trust over speed. Every security claim cites evidence.
  2. English-first, i18n-ready.
  3. Minimal code. Shortest correct implementation, no speculative features.
  4. You own your machine. No telemetry without opt-in.

Provenance

Cross-reviewed by design: adversarial reviews are performed by models that did not write the artifact under review. Quality gates are documented in CONTRIBUTING.md.

Not affiliated with DeepSeek. Built on their MIT-licensed groundwork with gratitude.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

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