DeepSeek Harness 插件

dh-workspace

Out-of-tree dsh plugin bundle: philosophy skills plus workspace, delegation, subagent-preset, and worktree plugins (naming contract in DESIGN.md)(英文原文)

跳到安装方式

来源信息

GitHub 仓库
atesahmet0/dh-workspace
最近更新
2026年8月17日
分类
自动化与任务
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/atesahmet0/dh-workspace
插件名:dh-workspace
作者:atesahmet0

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dh-multiagents

Multi-agent orchestration for the DeepSeek Harness (dsh). A team of role-bound agents — plan, build, explore, researcher, coder, scribe, reviewer — with tools enforced by a runtime capability matrix.

Why dh-multiagents?

  • Plan-first — read-only orchestrators delegate, never write code themselves.
  • Enforced, not suggested — each preset's tool allow-list is applied via tools.restrict, so a plan agent physically can't run bash.
  • Auditable delegation — every delegate call persists an id (e.g. daring-pearl-elk) with a result file on disk.
  • Zero-config install — one command, presets + skills wired automatically.

Installation

Requires Node ≥ 22.19 and a dsh install (@deepseek-ai/dsh@0.1.0-rc.6).

dsh plugin --profile <name> init
dsh plugin --profile <name> add @dh-multiagents/bundle

> Presets are mirrored automatically at every boot (the plugin copies them > into $DSH_HOME/.agent-presets/), so there is no install-time step.

> Fresh dsh CLI (npm 11): npm 11 blocks dependency install scripts by > default — the harness's own native deps (node-pty, dsh-subprocess-local, > koffi, protobufjs) are gated too. Run npm install-scripts approve for > them before headless mode will boot.

Quick Start

> [!IMPORTANT] > Select Plan or Build at the start of your session: > In the Web or TUI interface, select either the plan or build preset in the preset picker at the beginning of your session: > - plan: Use when starting a task to research the codebase and write an implementation plan (delegates to explore and researcher). > - build: Use to execute an approved plan (delegates to coder, scribe, and reviewer with worktrees). > > Only plan and build act as orchestrators. The subagent presets (explore, researcher, coder, scribe, reviewer) are spawned automatically via delegate and should not be selected as top-level sessions.

# headless mode needs the headless bundle (add once)
dsh plugin --profile <name> add @deepseek-ai/dsh-headless

DEEPSEEK_API_KEY=... dsh --profile <name> headless \
  "Use plan_save to save a plan titled '# P' for project 'demo'. Then delegate '1+1?' to the researcher and report its answer."

For full orchestration (delegate/build), use the tui or web profile — headless sessions are preset-less by design, so delegate is rejected there (only plan/build presets may delegate).

What you get

PresetRoleNotable tools
planRead-only orchestratorplan_save/read, delegate → explore/researcher
buildRead-only orchestratordelegate → coder/scribe/reviewer, worktrees
exploreCodebase explorerread, glob, grep
researcherWeb researcherweb_search, read
coderImplementerbash, edit, write, worktrees
scribeDocs writeredit, write, read
reviewerRead-only reviewerread, glob, grep

Plus 5 philosophy skills (code-philosophy, code-review, plan-review, plan-protocol, frontend-philosophy) loaded into every session.

Runtime behavior

  • Delegations persist as $DSH_HOME/workspace/<project>/delegations/<id>.md + <id>.result.txt — auditable after the fact.
  • Only plan/build may delegate; plan → explore/researcher, build → +coder/scribe/reviewer. No delegation from inside a subagent (anti-recursion).
  • Children inherit the parent's model selection.

Development

pnpm install && pnpm -r build
  • Naming contract: identifiers are locked in DESIGN.md — change it there first, never in code alone.
  • Presets/skills: add presets/<name>/ + a CAPABILITY_MATRIX entry (dh-common), or skills/<name>/SKILL.md (dh-philosophy).
  • Publishing: bump versions, then pnpm pack and publish the tarballs — plain npm publish leaves workspace:* unresolved (broke 0.1.0).

License

MIT