deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English · 中文
Subagent routing convention for the DeepSeek Harness, as a profile-mounted static plugin. Two focused contributions:
systemPrompt.context section telling every session: analysis and implementation are delegated to subagents on the cheap/fast worker model; design decisions and final acceptance stay with the main model. Without it, the native tools' generic descriptions leave this discipline to chance.subagent_run — the only delegation tool that can pin a provider/model per call (the native subagent / subagent_fork expose no model parameters). Defaults to the worker route; explicit provider/model overrides it per task (e.g. send one job to glm-5.3 or deepseek-v4-pro).Deliberately NOT included (covered elsewhere): the default model routes for the native tools live in the profile's cordis.patch.yml (tool-subagent / tool-subagent-fork rows); listing children is covered by the native list_agents.
Edit CONFIG at the top of src/index.js and restart dsh web:
const CONFIG = {
workerProvider: 'deepseek-official', // cheap/fast route for analysis + implementation
workerModel: 'deepseek-v4-flash',
mainProvider: 'deepseek-official', // fallback label; live value follows agentDefaultModel
mainModel: 'deepseek-v4-pro',
}
link: dependency in ~/.dsh/profiles/web/package.json, then pnpm install there.cordis.patch.yml:- insert:
- id: subagent-manager
name: dsh-plugin-subagent-manager
dsh web. Verify with dsh web --dump-config.subagents, agentDefaultModel, systemPrompt) are read lazily at use time — boot ordering can never strand them as undefined.src/index.js Static host plugin — routing prompt + subagent_run (per-call model override)
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。