rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dippingOrange/dsh-conductor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Multi-model task dispatch for DeepSeek Harness (DSH): keep the flagship model on decomposition, review, and integration, and route implementation work to user-configured executor roles. Each task runs as a real DSH child agent with the full toolset, so it can read code, edit files, run tests, and report back.
The project ships two DSH bundles:
dsh-conductor — Host plugin: dispatch_tasks, wait_tasks, task_result, task_followup,
cancel_task, list_executors; role persistence; same-origin HTTP bridge for the UI.dsh-conductor-ui — Web UI: a composer-toolbar launcher, a right-sidebar task-board tab, a
full native task-board page, and an Executors & publisher editor.Manually copying work between a strong planning model and cheaper execution models is slow and error-prone. Conductor keeps the lead in the conversation while executors do the work, and it lets the user — not the model — decide which model each role uses.
wait_tasks), reviewed against acceptance criteria, and
corrected through task_followup — the executor keeps its prior conversation.id + name + provider + model + description, editable in the Web UI.$DSH_HOME/conductor/roles.json (no API keys in this file).inherit: true and ad-hoc provider/model routes are rejected unless the
user explicitly enables ad-hoc routes. Role changes are audited to
$DSH_HOME/conductor/role-audit.jsonl and exposed by GET /conductor/roles/audit.GET /conductor/export and POST /conductor/import preserve terminal
tasks and reports across a plugin reload.max-tokens or an empty closing report are surfaced as task errors.AUTH/QUOTA/RATE_LIMIT/SERVER/
TIMEOUT/NETWORK code, retryability, retry count, and whether tools already ran. The plugin does
not auto-retry; it tells the publisher what is safe to do.context; long documents and code belong
in files the executor can read.conductor agent preset. Sessions on ptc keep their
native subagent / subagent_fork tools; only conductor sessions see dispatch_tasks.
list_agents remains available for diagnostics, and the maxActiveSubagents: 5 safety cap is
unchanged.prefers-reduced-motion.0.2.1-rc.2).Install both bundles from npm, using DSH's Plugin Manager (Settings → Plugins → install bundle) or the CLI:
dsh plugin install @dippingorange/dsh-conductor
dsh plugin install @dippingorange/dsh-conductor-ui
For local development, install the checkout instead:
git clone https://github.com/dippingOrange/dsh-conductor.git
dsh plugin install /path/to/dsh-conductor/dsh-conductor
dsh plugin install /path/to/dsh-conductor/dsh-conductor-ui
Refresh the Web UI once after installing. Both plugins can be enabled or disabled independently.
Executor tasks remain isolated: every dispatch_tasks call starts a new child, so a new task never
inherits another task's context. The only reused context is task_followup.
After a task settles (including a follow-up), Conductor reads the child's last request usage and
model context window. If usage is at least 40% (the default tuned for DeepSeek's observed
quality drop), it resumes the child session, calls the Host
compaction service (the same backend as /compact), records the post-compaction usage, and
releases the session. The next follow-up cold-resumes the compacted history. A new task starts from
a fresh child and therefore has no context to compact.
Each executor's latest task reports its context percentage and turns since the last compaction in Executors & publisher and on the task card. A successful compaction sets a green unread dot on the left Tasks icon and on the Executors & publisher tab; opening those views clears it.
Config keys:
| Key | Default | Meaning |
|---|---|---|
contextCompactionPercent |
40 |
Compact when the last request used this percentage of the window; a role can override it |
contextWindowTokens |
128000 |
Fallback when the provider reports no context window |
contextWindowMax |
0 |
Optional cap for percentage calculations; 0 uses the reported window |
compactionTimeoutMs |
30000 |
Abort a compaction attempt after this long |
The bundle re-enables the host compaction backend (compaction-basic / command-compact), because
the Web app leaves it to presets by default. That also makes /compact available for normal chat.
Settings → Models — add the providers you want to use (OpenAI-compatible relay, Anthropic-compatible relay, OpenCode Zen, Command Code, or a self-hosted vLLM/Ollama endpoint).
Open the Tasks panel from the left sidebar, or click the ▦ button at the left of the
composer toolbar.
Switch to Executors & publisher:
Ask the flagship to dispatch work by role, for example:
Split this feature by module. Implement with
coder, review withreviewer, and give every task acceptance criteria and a return format. Collect the reports and check them.
user ──chat──▶ flagship (publisher)
│ dispatch_tasks(role + task + acceptance + return format)
▼
┌────────┴────────┐
│ executor role A │ real DSH child agent (tools, cwd, permissions)
│ executor role B │ fixed provider/model chosen by the user
└────────┬────────┘
│ report
▼
flagship reviews and may task_followup
delivery: 'caller', so the lead owns result aggregation instead of
receiving one chat notice per child.task_followup cold-resumes the same session./conductor/* endpoints./conductor/* endpoints are same-origin and unauthenticated, like the rest of the local DSH
Web UI. Do not expose the DSH Web port to an untrusted network.roles.json contains only provider/model
choices and display names.dsh-conductor/ Host plugin: tools, role store, HTTP bridge
dsh-conductor-ui/ Client bundle: toolbar launcher, right-sidebar board, full page, roles editor
No build step is required. Node.js 20+ is enough for the checks:
npm run check # syntax-check Host and Client bundles
npm test # Host plugin smoke test with a fake context
Guidelines are in CONTRIBUTING.md. The detailed Chinese documentation lives in
dsh-conductor/README.md and
dsh-conductor-ui/README.md.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。