dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
LangGraph-style adaptive Planner→Executor→Reviewer pipeline for DSH (DeepSeek Harness)
English | 中文
An Agent Preset for DSH (DeepSeek Harness): a Planner → Executor → Reviewer multi-subagent pipeline implemented as a LangGraph-style adaptive conditional graph, running on DSH's native workflow engine.
Preset vs Plugin: This is an agent preset (YAML composition + bundled skill), not an npm plugin package. DSH presets are shared by sharing a directory — copy it into the user preset root and you're done. No build step, no dependencies.
args.language; plan, execution, review, and issues are all written in that language."We need.." — decoupled from output language.workflow engine; model routing works out of the box.| Obstacle | Explanation |
|---|---|
| Dependency install | Presets are YAML compositions — can't npm install. Running LangGraph.js requires building a Host plugin into the Profile/deployment. |
| Model routing | LangGraph ships its own ChatModel interface; adapting it to DSH's internal dsh-llm is a significant integration effort. |
| Persistence | LangGraph's checkpointer requires its own store layer. |
| Overkill | The target is a single 3-node conditional loop — not worth importing an entire framework. |
DSH's workflow tool is a mature graph/pipeline orchestrator (nodes = agent(), parallel = parallel(), join = result merge, conditional edges = rework loop) — semantics match LangGraph one-to-one. Take the architecture; reuse the native engine.
pipeline-mode/
├── README.md # Chinese version
├── README.en.md # This file
├── LICENSE # MIT
├── .gitignore
├── docs/
│ └── design.md # Full design & implementation document
├── preset/ # ← Installable content
│ ├── preset.yml # Display metadata (name / description)
│ ├── agent.cordis.yml # Composition: persona + full toolset + bundled skill
│ └── skills/pipeline-runner/
│ └── SKILL.md # Validated workflow script template + role briefs
└── install.sh # One-click installer
This release is a DSH agent preset. Install it by copying the preset/ directory into DSH's user preset root. No build step, no dependencies (the preset itself needs no npm packages at runtime).
Default preset root: $HOME/.dsh/.agent-presets/
(Override with the DSH_HOME environment variable: $DSH_HOME/.agent-presets/)
cd pipeline-mode/
chmod +x install.sh # first time only
./install.sh # detects root, prompts if id already exists
cd pipeline-mode/
mkdir -p ~/.dsh/.agent-presets/
cp -R preset/ ~/.dsh/.agent-presets/pipeline/
After restarting DSH, the mode picker in the GUI should show 「流水线模式 / Pipeline Mode」. Select it, open a new session, and give it a task to start the pipeline.
Note: The directory name
pipeline/is the preset id. If a directory with that id already exists, the installer will prompt before overwriting.
pipeline-runner skill → calls the workflow tool → reports the result in your language: status / rounds / adaptive shape (total / parallel / dependent step counts, reviewer count) / review summary; on FAIL also unresolved issues and suggestions. ┌── Executor(step 1) ──┐ ┌── Reviewer A (compliance) ──┐
Planner ──┬─(≥2 indep.)─┤── Executor(step 2) ─├─ join ─┤ ├─ join → PASS
│ └── Executor(step N) ─┘ └── Reviewer B (quality) ─────┘ │
│ └── Executor(dependent) ──┘ │ FAIL(issues)──┐
└─(else)─▶ single batch executor, all steps ─▶ single combined Reviewer ───────┘ │
▲ │
└── next Planner (max 3) ─┘
independent: true only when it produces a self-contained, dependency-free deliverable.independentSteps.length ≥ 2; otherwise the compact path runs.| Scenario | Execution shape | Agents | Result |
|---|---|---|---|
| Slogan (no parallelism) | compact: 1 batch executor + 1 Reviewer | 3 | PASS (1 round) |
| 3 independent modules + README | fan-out (3 parallel + 1 dependent) + 2 Reviewers | 7 | PASS (1 round) |
| Forced FAIL → rework | serial + loop | 9 | PASS after rework (≤ 3 rounds) |
| Chinese task + language passthrough | 4 steps + dual Reviewer | 19 | PASS after real rework; output all Chinese |