DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-subagent-effort

Subagent Effort

DeepSeek Harness 插件:通过 subagent_effort 工具,为每次调用选择子代理的推理强度(low | high | max)。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:tietoumiao/dsh-subagent-effort#3dbe57ab220bbab94f57e89db0d67a23360f3ef2
README兼容性版本

兼容性与来源证明

Subagent Effort 以 dsh-subagent-effort 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/18

版本

0.1.0stable
2026/10/18

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/18
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
Subagent Effort — DeepSeek Harness 插件(DSH Plugin)

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Profile@deepseek-ai/dsh-experimental-agent-team-profile在一个实验性捆绑包中提供 Agent Teams 协作、工具和 Web UIExperimental Ralph Bundle@deepseek-ai/dsh-experimental-ralph-bundle使用全新代理执行明确请求的重复工作。Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序

README

dsh-subagent-effort

A DeepSeek Harness plugin that gives you per-call control over a subagent's thinking intensity.

The stock subagent / subagent_fork tools make the child inherit the session's reasoningEffort. This plugin adds one tool — subagent_effort(prompt, effort, cwd?, model?) — that runs a one-shot child with effort = low | high | max for that call only. The child otherwise joins your preset like a stock subagent: same persona, prompt sections, skill catalog and tools.

subagent_effort(prompt="List the files under src/", effort="low")      # mechanical work, cheap
subagent_effort(prompt="Refactor this module and explain the risks", effort="max")

Why it works

reasoningEffort is a first-class per-request field of the subagent seam, not a profile or preset setting:

  • SubagentStartRequest.agentOptions documents provider / model / reasoning-effort / output-token overrides and requires the provider's agentOptions capability.
  • The host's resolveChildAgentOptions(parent, requested, depth) spreads the requested options over the parent's route; an explicit effort survives both inheritance and a model switch.
  • The LLM layer validates the effort against the model's advertised reasoning.efforts before any request and rejects unsupported values (UNSUPPORTED_REASONING_EFFORT) — no clamping, no silent fallback.

The plugin therefore registers one small provider implementing the 0.2.1 local activation contract (prepareContinuable) and advertises agentOptions: true. The host materializes the child, mounts the parent's preset composition and applies the requested effort. The plugin also pre-checks the model/effort pair through the llm service so a bad combination fails with a readable message instead of an opaque child error.

Requirements

  • DeepSeek Harness 0.2.1 or newer (the activation API ctx.subagents.startActivation is mandatory).
  • Node.js 22+ (the host ships its own runtime; this is only for node --check).
  • A model that advertises reasoning efforts. With the DeepSeek account provider, deepseek-flash advertises low / high / max.

Install

From your DSH profile directory (for the desktop app: %USERPROFILE%\.dsh\profiles\desktop):

  1. Add the dependency to package.json:

    "dependencies": {
      "dsh-subagent-effort": "file:C:/path/to/dsh-subagent-effort"
    }
    

    A published tarball or git URL works the same way (npm: / git+https: specifier).

  2. Append the bundle so the plugin is mounted with the profile:

    "dsh": { "profile": { "bundles": [ "...", "dsh-subagent-effort" ] } }
    
  3. Install and restart the app:

    pnpm install
    

Plugins are loaded at host startup — a restart is required after installing or updating. If you edit the plugin source in place, remember that a file: dependency is copied into node_modules, so re-run pnpm install (or copy the files) before restarting.

Configuration

The plugin reads its settings from the bundle row (all optional):

optiondefaultmeaning
providerNamesubagent-effortprovider name registered on ctx.subagents
toolNamesubagent_effortname of the model-facing tool
- id: dsh-subagent-effort
  name: dsh-subagent-effort
  config:
    toolName: subagent_effort

Tool

parameterrequireddescription
promptyesSelf-contained task for the child. It does not see this conversation.
effortyeslow | high | max, validated against the model's advertised efforts.
modelnoModel id for the child (same provider as this session). Omit to inherit.
cwdnoAbsolute working directory for the child. Omit to inherit the session's.

The call is foreground: it waits for the child and returns its final text. Use low for mechanical, deterministic work (run a command, read files, apply a template), high for judgment without long reasoning chains, and max for cross-file reasoning, source-level diagnosis or design trade-offs.

How it works (implementation notes)

  • apply() registers a provider implementing prepareContinuable — the host's local backend. No child agent is created by the plugin; the host materializes it and applies request.agentOptions.
  • The tool builds { provider, label, signal, delivery: 'caller', request: { maxDepth, parent, prompt, agentOptions, cwd? } } and awaits ctx.subagents.startActivation(spec).
  • delivery: 'caller' keeps the host from pushing a settlement notice into the parent's inbox — the tool result is the only delivery channel for a one-shot call.
  • maxDepth is parentDepth + 1, so the child may not delegate further while a nested caller still works.
  • Result first, dispose second: detaching the child before settling the result would cancel the turn.

Verified vs. not verified

Verified on DSH 0.2.1-rc.1 / 0.2.1-rc.2 (Windows desktop, 2026-10-17/18):

  • the tool registers and appears in the tool surface;
  • subagent_effort(effort="low") returns completed with the child's text;
  • the child session records config.reasoningEffort: "low" (effort="max" likewise); the ids are 48d6d4fe-… (low) and 02d17f6e-… (max);
  • an unsupported effort or an unknown model fails before delegation with the supported list.

Not verified:

  • high was not separately recorded in a child session log (the value is accepted and goes through the same validation path).
  • Only the Windows desktop host was exercised; other shells/hosts are untested.
  • The tool is foreground-only; there is no background/job mode (use your host's background delegation for that).

License

MIT © 2026 tietoumiao