返回目录
模型与 MCP 插件

dsh-plugins

mimajiushi/dsh-plugins

DeepSeek Harness (dsh) community plugins: AgentTeams approval switch and limits card, compaction model picker, gateway-wide LLM retry, plan-card sidebar, subagent model guard and toggle, web_fetch fake-ip allowance, and an IDE-style git changes panel.

Stars
1
Forks
0
Issues
0
更新
1 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:mimajiushi/dsh-plugins

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-plugins

Community plugins for DeepSeek Harness (dsh).

Every plugin here is a normal DSH bundle: it declares a dsh.bundle manifest in its package.json and installs with dsh plugin add. They were written for, and are verified against, dsh 0.1.5-rc.1 on Windows; each one is a host-plane plugin unless its README says otherwise.

Plugins

Plugin What it does
dsh-agent-teams-approval A Settings → General switch that lets AgentTeams create and start teams immediately, without the Web plan-approval click.
dsh-agent-teams-limits A settings card for the AgentTeams roster cap and a per-team concurrency cap. The roster cap works by config injection alone; the concurrency cap additionally needs the patch shipped in plugins/dsh-agent-teams-limits/scripts/ for @nanmicoder/dsh-agent-teams 0.1.20.
dsh-compact-model Lets /compact run on a provider/model you choose in Settings instead of the session's chat model.
dsh-llm-retry-all Retries every model-gateway error (429, quota, auth, network, empty response) with a linear 5s-step backoff capped at 5 minutes — for agent-loop requests and for direct ctx.llm.stream() calls such as compaction and session titles.
dsh-plan-card-sidebar Gives the plan-review card a second home in the right sidebar, with a per-card switch that moves the same card and its decision buttons between the sidebar and the main conversation.
dsh-subagent-model-guard Enforces the subagent-model-selection whitelist at every child-Agent creation, so subagent, AgentTeams and workflow children can only run on an allowed provider/model.
dsh-subagent-toggle A settings switch that denies every tool call able to create or wake a subagent (subagent, subagent_fork, workflow, ralph) and tells the model to use Agent Teams instead.
dsh-web-fetch-fakeip-allow Lets web_fetch accept the placeholder addresses a local TUN + fake-ip proxy (Clash/mihomo, sing-box, Surge) returns for ordinary public domains, while every other non-public address stays blocked.
dsh-workspace-changes An IDE-style Changes panel in the right sidebar: grouped working-tree changes, a unified/side-by-side diff viewer with line numbers and file navigation, copy-diff and open-in-IDE — read-only against the repository.

Install

From npm:

dsh plugin --profile <profile> add dsh-compact-model

From this repository (no npm package needed):

dsh plugin --profile <profile> add github:mimajiushi/dsh-plugins#path:/plugins/dsh-compact-model

<profile> is the profile you run (web for dsh web, desktop for DSH Desktop). Restart DSH afterwards — the loader resolves the new bundle at composition time.

Each plugin's README documents what it changes, how to verify it, how to roll it back, and the boundaries it deliberately keeps. Most of them surface their own settings card under Settings → Plugins → Plugin configuration.

Layout

plugins/<name>/          one installable package per plugin
  package.json           `dsh.bundle` manifest (+ `dsh.client` for browser halves)
  cordis.patch.yml       the bundle patch layer that mounts the plugin row
  lib/                   host half (exports ".") and, where present, browser half (exports "./client")
  scripts/install.mjs    local install into a profile from a source checkout
  test/                  node:test suites (`npm test` inside the directory)

Development

cd plugins/dsh-compact-model
npm test                       # the plugin's own suites, no DSH needed
node scripts/install.mjs --profile desktop --dry-run

The suites are offline by design: they drive the host and browser halves against stand-ins for the harness services, and assert the bundle contracts (declared client injects, module exports, patch anchors) that a broken plugin would fail at boot rather than at test time.

License

MIT — see LICENSE.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。